tag

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package tagiface provides an interface to enable mocking the TAG service client for testing your code.

It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.

Index

Constants

View Source
const (
	// EnumOfMatchTypeForGetTagKeysInputPrefix is a EnumOfMatchTypeForGetTagKeysInput enum value
	EnumOfMatchTypeForGetTagKeysInputPrefix = "prefix"

	// EnumOfMatchTypeForGetTagKeysInputEquals is a EnumOfMatchTypeForGetTagKeysInput enum value
	EnumOfMatchTypeForGetTagKeysInputEquals = "equals"

	// EnumOfMatchTypeForGetTagKeysInputContain is a EnumOfMatchTypeForGetTagKeysInput enum value
	EnumOfMatchTypeForGetTagKeysInputContain = "contain"
)
View Source
const (
	// EnumOfMatchTypeForGetTagValuesInputPrefix is a EnumOfMatchTypeForGetTagValuesInput enum value
	EnumOfMatchTypeForGetTagValuesInputPrefix = "prefix"

	// EnumOfMatchTypeForGetTagValuesInputEquals is a EnumOfMatchTypeForGetTagValuesInput enum value
	EnumOfMatchTypeForGetTagValuesInputEquals = "equals"

	// EnumOfMatchTypeForGetTagValuesInputContain is a EnumOfMatchTypeForGetTagValuesInput enum value
	EnumOfMatchTypeForGetTagValuesInputContain = "contain"
)
View Source
const (
	// EnumOfMatchTypeForGetTagsInputPrefix is a EnumOfMatchTypeForGetTagsInput enum value
	EnumOfMatchTypeForGetTagsInputPrefix = "prefix"

	// EnumOfMatchTypeForGetTagsInputEquals is a EnumOfMatchTypeForGetTagsInput enum value
	EnumOfMatchTypeForGetTagsInputEquals = "equals"

	// EnumOfMatchTypeForGetTagsInputContain is a EnumOfMatchTypeForGetTagsInput enum value
	EnumOfMatchTypeForGetTagsInputContain = "contain"
)
View Source
const (
	ServiceName = "tag"       // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "tag"       // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateTagsInput

type CreateTagsInput struct {
	Tags []*TagForCreateTagsInput `type:"list"`
	// contains filtered or unexported fields
}

func (CreateTagsInput) GoString

func (s CreateTagsInput) GoString() string

GoString returns the string representation

func (*CreateTagsInput) SetTags

SetTags sets the Tags field's value.

func (CreateTagsInput) String

func (s CreateTagsInput) String() string

String returns the string representation

func (*CreateTagsInput) Validate

func (s *CreateTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateTagsOutput

type CreateTagsOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (CreateTagsOutput) GoString

func (s CreateTagsOutput) GoString() string

GoString returns the string representation

func (CreateTagsOutput) String

func (s CreateTagsOutput) String() string

String returns the string representation

type DeleteTagsInput

type DeleteTagsInput struct {
	Tags []*TagForDeleteTagsInput `type:"list"`
	// contains filtered or unexported fields
}

func (DeleteTagsInput) GoString

func (s DeleteTagsInput) GoString() string

GoString returns the string representation

func (*DeleteTagsInput) SetTags

SetTags sets the Tags field's value.

func (DeleteTagsInput) String

func (s DeleteTagsInput) String() string

String returns the string representation

func (*DeleteTagsInput) Validate

func (s *DeleteTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteTagsOutput

type DeleteTagsOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (DeleteTagsOutput) GoString

func (s DeleteTagsOutput) GoString() string

GoString returns the string representation

func (DeleteTagsOutput) String

func (s DeleteTagsOutput) String() string

String returns the string representation

type FailedResourceForTagResourcesOutput

type FailedResourceForTagResourcesOutput struct {
	Code *string `type:"string"`

	Message *string `type:"string"`

	ResourceTrn *string `type:"string"`
	// contains filtered or unexported fields
}

func (FailedResourceForTagResourcesOutput) GoString

GoString returns the string representation

func (*FailedResourceForTagResourcesOutput) SetCode

SetCode sets the Code field's value.

func (*FailedResourceForTagResourcesOutput) SetMessage

SetMessage sets the Message field's value.

func (*FailedResourceForTagResourcesOutput) SetResourceTrn

SetResourceTrn sets the ResourceTrn field's value.

func (FailedResourceForTagResourcesOutput) String

String returns the string representation

type FailedResourceForUntagResourcesOutput

type FailedResourceForUntagResourcesOutput struct {
	Code *string `type:"string"`

	Message *string `type:"string"`

	ResourceTrn *string `type:"string"`
	// contains filtered or unexported fields
}

func (FailedResourceForUntagResourcesOutput) GoString

GoString returns the string representation

func (*FailedResourceForUntagResourcesOutput) SetCode

SetCode sets the Code field's value.

func (*FailedResourceForUntagResourcesOutput) SetMessage

SetMessage sets the Message field's value.

func (*FailedResourceForUntagResourcesOutput) SetResourceTrn

SetResourceTrn sets the ResourceTrn field's value.

func (FailedResourceForUntagResourcesOutput) String

String returns the string representation

type GetResourcesInput

type GetResourcesInput struct {
	MaxResults *int32 `type:"int32"`

	NextToken *string `type:"string"`

	ResourceTrnList []*string `type:"list"`

	ResourceTypeFilters []*string `type:"list"`

	TagFilters []*TagFilterForGetResourcesInput `type:"list"`
	// contains filtered or unexported fields
}

func (GetResourcesInput) GoString

func (s GetResourcesInput) GoString() string

GoString returns the string representation

func (*GetResourcesInput) SetMaxResults

func (s *GetResourcesInput) SetMaxResults(v int32) *GetResourcesInput

SetMaxResults sets the MaxResults field's value.

func (*GetResourcesInput) SetNextToken

func (s *GetResourcesInput) SetNextToken(v string) *GetResourcesInput

SetNextToken sets the NextToken field's value.

func (*GetResourcesInput) SetResourceTrnList

func (s *GetResourcesInput) SetResourceTrnList(v []*string) *GetResourcesInput

SetResourceTrnList sets the ResourceTrnList field's value.

func (*GetResourcesInput) SetResourceTypeFilters

func (s *GetResourcesInput) SetResourceTypeFilters(v []*string) *GetResourcesInput

SetResourceTypeFilters sets the ResourceTypeFilters field's value.

func (*GetResourcesInput) SetTagFilters

SetTagFilters sets the TagFilters field's value.

func (GetResourcesInput) String

func (s GetResourcesInput) String() string

String returns the string representation

type GetResourcesOutput

type GetResourcesOutput struct {
	Metadata *response.ResponseMetadata

	NextToken *string `type:"string"`

	ResourceTagMappingList []*ResourceTagMappingListForGetResourcesOutput `type:"list"`
	// contains filtered or unexported fields
}

func (GetResourcesOutput) GoString

func (s GetResourcesOutput) GoString() string

GoString returns the string representation

func (*GetResourcesOutput) SetNextToken

func (s *GetResourcesOutput) SetNextToken(v string) *GetResourcesOutput

SetNextToken sets the NextToken field's value.

func (*GetResourcesOutput) SetResourceTagMappingList

SetResourceTagMappingList sets the ResourceTagMappingList field's value.

func (GetResourcesOutput) String

func (s GetResourcesOutput) String() string

String returns the string representation

type GetTagKeysInput

type GetTagKeysInput struct {
	MatchType *string `type:"string" enum:"EnumOfMatchTypeForGetTagKeysInput"`

	MaxResults *int32 `type:"int32"`

	NextToken *string `type:"string"`

	TagKey *string `type:"string"`

	TagType *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetTagKeysInput) GoString

func (s GetTagKeysInput) GoString() string

GoString returns the string representation

func (*GetTagKeysInput) SetMatchType added in v1.1.37

func (s *GetTagKeysInput) SetMatchType(v string) *GetTagKeysInput

SetMatchType sets the MatchType field's value.

func (*GetTagKeysInput) SetMaxResults

func (s *GetTagKeysInput) SetMaxResults(v int32) *GetTagKeysInput

SetMaxResults sets the MaxResults field's value.

func (*GetTagKeysInput) SetNextToken

func (s *GetTagKeysInput) SetNextToken(v string) *GetTagKeysInput

SetNextToken sets the NextToken field's value.

func (*GetTagKeysInput) SetTagKey added in v1.1.37

func (s *GetTagKeysInput) SetTagKey(v string) *GetTagKeysInput

SetTagKey sets the TagKey field's value.

func (*GetTagKeysInput) SetTagType

func (s *GetTagKeysInput) SetTagType(v string) *GetTagKeysInput

SetTagType sets the TagType field's value.

func (GetTagKeysInput) String

func (s GetTagKeysInput) String() string

String returns the string representation

type GetTagKeysOutput

type GetTagKeysOutput struct {
	Metadata *response.ResponseMetadata

	NextToken *string `type:"string"`

	TagKeys []*TagKeyForGetTagKeysOutput `type:"list"`
	// contains filtered or unexported fields
}

func (GetTagKeysOutput) GoString

func (s GetTagKeysOutput) GoString() string

GoString returns the string representation

func (*GetTagKeysOutput) SetNextToken

func (s *GetTagKeysOutput) SetNextToken(v string) *GetTagKeysOutput

SetNextToken sets the NextToken field's value.

func (*GetTagKeysOutput) SetTagKeys

SetTagKeys sets the TagKeys field's value.

func (GetTagKeysOutput) String

func (s GetTagKeysOutput) String() string

String returns the string representation

type GetTagValuesInput

type GetTagValuesInput struct {
	MatchType *string `type:"string" enum:"EnumOfMatchTypeForGetTagValuesInput"`

	MaxResults *int32 `type:"int32"`

	NextToken *string `type:"string"`

	// TagKeys is a required field
	TagKeys []*string `type:"list" required:"true"`

	TagValue *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetTagValuesInput) GoString

func (s GetTagValuesInput) GoString() string

GoString returns the string representation

func (*GetTagValuesInput) SetMatchType added in v1.1.37

func (s *GetTagValuesInput) SetMatchType(v string) *GetTagValuesInput

SetMatchType sets the MatchType field's value.

func (*GetTagValuesInput) SetMaxResults

func (s *GetTagValuesInput) SetMaxResults(v int32) *GetTagValuesInput

SetMaxResults sets the MaxResults field's value.

func (*GetTagValuesInput) SetNextToken

func (s *GetTagValuesInput) SetNextToken(v string) *GetTagValuesInput

SetNextToken sets the NextToken field's value.

func (*GetTagValuesInput) SetTagKeys

func (s *GetTagValuesInput) SetTagKeys(v []*string) *GetTagValuesInput

SetTagKeys sets the TagKeys field's value.

func (*GetTagValuesInput) SetTagValue added in v1.1.37

func (s *GetTagValuesInput) SetTagValue(v string) *GetTagValuesInput

SetTagValue sets the TagValue field's value.

func (GetTagValuesInput) String

func (s GetTagValuesInput) String() string

String returns the string representation

func (*GetTagValuesInput) Validate

func (s *GetTagValuesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetTagValuesOutput

type GetTagValuesOutput struct {
	Metadata *response.ResponseMetadata

	NextToken *string `type:"string"`

	Tags []*TagForGetTagValuesOutput `type:"list"`
	// contains filtered or unexported fields
}

func (GetTagValuesOutput) GoString

func (s GetTagValuesOutput) GoString() string

GoString returns the string representation

func (*GetTagValuesOutput) SetNextToken

func (s *GetTagValuesOutput) SetNextToken(v string) *GetTagValuesOutput

SetNextToken sets the NextToken field's value.

func (*GetTagValuesOutput) SetTags

SetTags sets the Tags field's value.

func (GetTagValuesOutput) String

func (s GetTagValuesOutput) String() string

String returns the string representation

type GetTagsInput

type GetTagsInput struct {
	CountResources *bool `type:"boolean"`

	MatchType *string `type:"string" enum:"EnumOfMatchTypeForGetTagsInput"`

	MaxResults *int32 `type:"int32"`

	NextToken *string `type:"string"`

	TagKeys []*string `type:"list"`

	TagType *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetTagsInput) GoString

func (s GetTagsInput) GoString() string

GoString returns the string representation

func (*GetTagsInput) SetCountResources

func (s *GetTagsInput) SetCountResources(v bool) *GetTagsInput

SetCountResources sets the CountResources field's value.

func (*GetTagsInput) SetMatchType added in v1.1.37

func (s *GetTagsInput) SetMatchType(v string) *GetTagsInput

SetMatchType sets the MatchType field's value.

func (*GetTagsInput) SetMaxResults

func (s *GetTagsInput) SetMaxResults(v int32) *GetTagsInput

SetMaxResults sets the MaxResults field's value.

func (*GetTagsInput) SetNextToken

func (s *GetTagsInput) SetNextToken(v string) *GetTagsInput

SetNextToken sets the NextToken field's value.

func (*GetTagsInput) SetTagKeys

func (s *GetTagsInput) SetTagKeys(v []*string) *GetTagsInput

SetTagKeys sets the TagKeys field's value.

func (*GetTagsInput) SetTagType

func (s *GetTagsInput) SetTagType(v string) *GetTagsInput

SetTagType sets the TagType field's value.

func (GetTagsInput) String

func (s GetTagsInput) String() string

String returns the string representation

type GetTagsOutput

type GetTagsOutput struct {
	Metadata *response.ResponseMetadata

	NextToken *string `type:"string"`

	Tags []*TagForGetTagsOutput `type:"list"`
	// contains filtered or unexported fields
}

func (GetTagsOutput) GoString

func (s GetTagsOutput) GoString() string

GoString returns the string representation

func (*GetTagsOutput) SetNextToken

func (s *GetTagsOutput) SetNextToken(v string) *GetTagsOutput

SetNextToken sets the NextToken field's value.

func (*GetTagsOutput) SetTags

SetTags sets the Tags field's value.

func (GetTagsOutput) String

func (s GetTagsOutput) String() string

String returns the string representation

type ListResourceTypesInput

type ListResourceTypesInput struct {
	// contains filtered or unexported fields
}

func (ListResourceTypesInput) GoString

func (s ListResourceTypesInput) GoString() string

GoString returns the string representation

func (ListResourceTypesInput) String

func (s ListResourceTypesInput) String() string

String returns the string representation

type ListResourceTypesOutput

type ListResourceTypesOutput struct {
	Metadata *response.ResponseMetadata

	ResourceTypes []*ResourceTypeForListResourceTypesOutput `type:"list"`
	// contains filtered or unexported fields
}

func (ListResourceTypesOutput) GoString

func (s ListResourceTypesOutput) GoString() string

GoString returns the string representation

func (*ListResourceTypesOutput) SetResourceTypes

SetResourceTypes sets the ResourceTypes field's value.

func (ListResourceTypesOutput) String

func (s ListResourceTypesOutput) String() string

String returns the string representation

type ResourceTagMappingListForGetResourcesOutput

type ResourceTagMappingListForGetResourcesOutput struct {
	Region *string `type:"string"`

	ResourceID *string `type:"string"`

	ResourceTrn *string `type:"string"`

	ResourceType *string `type:"string"`

	ServiceName *string `type:"string"`

	Tags []*TagForGetResourcesOutput `type:"list"`
	// contains filtered or unexported fields
}

func (ResourceTagMappingListForGetResourcesOutput) GoString

GoString returns the string representation

func (*ResourceTagMappingListForGetResourcesOutput) SetRegion

SetRegion sets the Region field's value.

func (*ResourceTagMappingListForGetResourcesOutput) SetResourceID

SetResourceID sets the ResourceID field's value.

func (*ResourceTagMappingListForGetResourcesOutput) SetResourceTrn

SetResourceTrn sets the ResourceTrn field's value.

func (*ResourceTagMappingListForGetResourcesOutput) SetResourceType

SetResourceType sets the ResourceType field's value.

func (*ResourceTagMappingListForGetResourcesOutput) SetServiceName

SetServiceName sets the ServiceName field's value.

func (*ResourceTagMappingListForGetResourcesOutput) SetTags

SetTags sets the Tags field's value.

func (ResourceTagMappingListForGetResourcesOutput) String

String returns the string representation

type ResourceTypeForListResourceTypesOutput

type ResourceTypeForListResourceTypesOutput struct {
	ResourceType *string `type:"string"`

	ResourceTypeName *string `type:"string"`

	Service *string `type:"string"`

	ServiceName *string `type:"string"`
	// contains filtered or unexported fields
}

func (ResourceTypeForListResourceTypesOutput) GoString

GoString returns the string representation

func (*ResourceTypeForListResourceTypesOutput) SetResourceType

SetResourceType sets the ResourceType field's value.

func (*ResourceTypeForListResourceTypesOutput) SetResourceTypeName

SetResourceTypeName sets the ResourceTypeName field's value.

func (*ResourceTypeForListResourceTypesOutput) SetService

SetService sets the Service field's value.

func (*ResourceTypeForListResourceTypesOutput) SetServiceName

SetServiceName sets the ServiceName field's value.

func (ResourceTypeForListResourceTypesOutput) String

String returns the string representation

type TAG

type TAG struct {
	*client.Client
}

TAG provides the API operation methods for making requests to TAG. See this package's package overview docs for details on the service.

TAG methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*volcengine.Config) *TAG

New create int can support ssl or region locate set

func (*TAG) CreateTags

func (c *TAG) CreateTags(input *CreateTagsInput) (*CreateTagsOutput, error)

CreateTags API operation for TAG.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TAG's API operation CreateTags for usage and error information.

func (*TAG) CreateTagsCommon

func (c *TAG) CreateTagsCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateTagsCommon API operation for TAG.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TAG's API operation CreateTagsCommon for usage and error information.

func (*TAG) CreateTagsCommonRequest

func (c *TAG) CreateTagsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreateTagsCommonRequest generates a "volcengine/request.Request" representing the client's request for the CreateTagsCommon operation. The "output" return value will be populated with the CreateTagsCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateTagsCommon Request to send the API call to the service. the "output" return value is not valid until after CreateTagsCommon Send returns without error.

See CreateTagsCommon for more information on using the CreateTagsCommon API call, and error handling.

// Example sending a request using the CreateTagsCommonRequest method.
req, resp := client.CreateTagsCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TAG) CreateTagsCommonWithContext

func (c *TAG) CreateTagsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreateTagsCommonWithContext is the same as CreateTagsCommon with the addition of the ability to pass a context and additional request options.

See CreateTagsCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TAG) CreateTagsRequest

func (c *TAG) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, output *CreateTagsOutput)

CreateTagsRequest generates a "volcengine/request.Request" representing the client's request for the CreateTags operation. The "output" return value will be populated with the CreateTagsCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateTagsCommon Request to send the API call to the service. the "output" return value is not valid until after CreateTagsCommon Send returns without error.

See CreateTags for more information on using the CreateTags API call, and error handling.

// Example sending a request using the CreateTagsRequest method.
req, resp := client.CreateTagsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TAG) CreateTagsWithContext

func (c *TAG) CreateTagsWithContext(ctx volcengine.Context, input *CreateTagsInput, opts ...request.Option) (*CreateTagsOutput, error)

CreateTagsWithContext is the same as CreateTags with the addition of the ability to pass a context and additional request options.

See CreateTags for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TAG) DeleteTags

func (c *TAG) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error)

DeleteTags API operation for TAG.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TAG's API operation DeleteTags for usage and error information.

func (*TAG) DeleteTagsCommon

func (c *TAG) DeleteTagsCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteTagsCommon API operation for TAG.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TAG's API operation DeleteTagsCommon for usage and error information.

func (*TAG) DeleteTagsCommonRequest

func (c *TAG) DeleteTagsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DeleteTagsCommonRequest generates a "volcengine/request.Request" representing the client's request for the DeleteTagsCommon operation. The "output" return value will be populated with the DeleteTagsCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteTagsCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteTagsCommon Send returns without error.

See DeleteTagsCommon for more information on using the DeleteTagsCommon API call, and error handling.

// Example sending a request using the DeleteTagsCommonRequest method.
req, resp := client.DeleteTagsCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TAG) DeleteTagsCommonWithContext

func (c *TAG) DeleteTagsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DeleteTagsCommonWithContext is the same as DeleteTagsCommon with the addition of the ability to pass a context and additional request options.

See DeleteTagsCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TAG) DeleteTagsRequest

func (c *TAG) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput)

DeleteTagsRequest generates a "volcengine/request.Request" representing the client's request for the DeleteTags operation. The "output" return value will be populated with the DeleteTagsCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteTagsCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteTagsCommon Send returns without error.

See DeleteTags for more information on using the DeleteTags API call, and error handling.

// Example sending a request using the DeleteTagsRequest method.
req, resp := client.DeleteTagsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TAG) DeleteTagsWithContext

func (c *TAG) DeleteTagsWithContext(ctx volcengine.Context, input *DeleteTagsInput, opts ...request.Option) (*DeleteTagsOutput, error)

DeleteTagsWithContext is the same as DeleteTags with the addition of the ability to pass a context and additional request options.

See DeleteTags for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TAG) GetResources

func (c *TAG) GetResources(input *GetResourcesInput) (*GetResourcesOutput, error)

GetResources API operation for TAG.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TAG's API operation GetResources for usage and error information.

func (*TAG) GetResourcesCommon

func (c *TAG) GetResourcesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

GetResourcesCommon API operation for TAG.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TAG's API operation GetResourcesCommon for usage and error information.

func (*TAG) GetResourcesCommonRequest

func (c *TAG) GetResourcesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

GetResourcesCommonRequest generates a "volcengine/request.Request" representing the client's request for the GetResourcesCommon operation. The "output" return value will be populated with the GetResourcesCommon request's response once the request completes successfully.

Use "Send" method on the returned GetResourcesCommon Request to send the API call to the service. the "output" return value is not valid until after GetResourcesCommon Send returns without error.

See GetResourcesCommon for more information on using the GetResourcesCommon API call, and error handling.

// Example sending a request using the GetResourcesCommonRequest method.
req, resp := client.GetResourcesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TAG) GetResourcesCommonWithContext

func (c *TAG) GetResourcesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

GetResourcesCommonWithContext is the same as GetResourcesCommon with the addition of the ability to pass a context and additional request options.

See GetResourcesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TAG) GetResourcesRequest

func (c *TAG) GetResourcesRequest(input *GetResourcesInput) (req *request.Request, output *GetResourcesOutput)

GetResourcesRequest generates a "volcengine/request.Request" representing the client's request for the GetResources operation. The "output" return value will be populated with the GetResourcesCommon request's response once the request completes successfully.

Use "Send" method on the returned GetResourcesCommon Request to send the API call to the service. the "output" return value is not valid until after GetResourcesCommon Send returns without error.

See GetResources for more information on using the GetResources API call, and error handling.

// Example sending a request using the GetResourcesRequest method.
req, resp := client.GetResourcesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TAG) GetResourcesWithContext

func (c *TAG) GetResourcesWithContext(ctx volcengine.Context, input *GetResourcesInput, opts ...request.Option) (*GetResourcesOutput, error)

GetResourcesWithContext is the same as GetResources with the addition of the ability to pass a context and additional request options.

See GetResources for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TAG) GetTagKeys

func (c *TAG) GetTagKeys(input *GetTagKeysInput) (*GetTagKeysOutput, error)

GetTagKeys API operation for TAG.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TAG's API operation GetTagKeys for usage and error information.

func (*TAG) GetTagKeysCommon

func (c *TAG) GetTagKeysCommon(input *map[string]interface{}) (*map[string]interface{}, error)

GetTagKeysCommon API operation for TAG.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TAG's API operation GetTagKeysCommon for usage and error information.

func (*TAG) GetTagKeysCommonRequest

func (c *TAG) GetTagKeysCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

GetTagKeysCommonRequest generates a "volcengine/request.Request" representing the client's request for the GetTagKeysCommon operation. The "output" return value will be populated with the GetTagKeysCommon request's response once the request completes successfully.

Use "Send" method on the returned GetTagKeysCommon Request to send the API call to the service. the "output" return value is not valid until after GetTagKeysCommon Send returns without error.

See GetTagKeysCommon for more information on using the GetTagKeysCommon API call, and error handling.

// Example sending a request using the GetTagKeysCommonRequest method.
req, resp := client.GetTagKeysCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TAG) GetTagKeysCommonWithContext

func (c *TAG) GetTagKeysCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

GetTagKeysCommonWithContext is the same as GetTagKeysCommon with the addition of the ability to pass a context and additional request options.

See GetTagKeysCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TAG) GetTagKeysRequest

func (c *TAG) GetTagKeysRequest(input *GetTagKeysInput) (req *request.Request, output *GetTagKeysOutput)

GetTagKeysRequest generates a "volcengine/request.Request" representing the client's request for the GetTagKeys operation. The "output" return value will be populated with the GetTagKeysCommon request's response once the request completes successfully.

Use "Send" method on the returned GetTagKeysCommon Request to send the API call to the service. the "output" return value is not valid until after GetTagKeysCommon Send returns without error.

See GetTagKeys for more information on using the GetTagKeys API call, and error handling.

// Example sending a request using the GetTagKeysRequest method.
req, resp := client.GetTagKeysRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TAG) GetTagKeysWithContext

func (c *TAG) GetTagKeysWithContext(ctx volcengine.Context, input *GetTagKeysInput, opts ...request.Option) (*GetTagKeysOutput, error)

GetTagKeysWithContext is the same as GetTagKeys with the addition of the ability to pass a context and additional request options.

See GetTagKeys for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TAG) GetTagValues

func (c *TAG) GetTagValues(input *GetTagValuesInput) (*GetTagValuesOutput, error)

GetTagValues API operation for TAG.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TAG's API operation GetTagValues for usage and error information.

func (*TAG) GetTagValuesCommon

func (c *TAG) GetTagValuesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

GetTagValuesCommon API operation for TAG.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TAG's API operation GetTagValuesCommon for usage and error information.

func (*TAG) GetTagValuesCommonRequest

func (c *TAG) GetTagValuesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

GetTagValuesCommonRequest generates a "volcengine/request.Request" representing the client's request for the GetTagValuesCommon operation. The "output" return value will be populated with the GetTagValuesCommon request's response once the request completes successfully.

Use "Send" method on the returned GetTagValuesCommon Request to send the API call to the service. the "output" return value is not valid until after GetTagValuesCommon Send returns without error.

See GetTagValuesCommon for more information on using the GetTagValuesCommon API call, and error handling.

// Example sending a request using the GetTagValuesCommonRequest method.
req, resp := client.GetTagValuesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TAG) GetTagValuesCommonWithContext

func (c *TAG) GetTagValuesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

GetTagValuesCommonWithContext is the same as GetTagValuesCommon with the addition of the ability to pass a context and additional request options.

See GetTagValuesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TAG) GetTagValuesRequest

func (c *TAG) GetTagValuesRequest(input *GetTagValuesInput) (req *request.Request, output *GetTagValuesOutput)

GetTagValuesRequest generates a "volcengine/request.Request" representing the client's request for the GetTagValues operation. The "output" return value will be populated with the GetTagValuesCommon request's response once the request completes successfully.

Use "Send" method on the returned GetTagValuesCommon Request to send the API call to the service. the "output" return value is not valid until after GetTagValuesCommon Send returns without error.

See GetTagValues for more information on using the GetTagValues API call, and error handling.

// Example sending a request using the GetTagValuesRequest method.
req, resp := client.GetTagValuesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TAG) GetTagValuesWithContext

func (c *TAG) GetTagValuesWithContext(ctx volcengine.Context, input *GetTagValuesInput, opts ...request.Option) (*GetTagValuesOutput, error)

GetTagValuesWithContext is the same as GetTagValues with the addition of the ability to pass a context and additional request options.

See GetTagValues for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TAG) GetTags

func (c *TAG) GetTags(input *GetTagsInput) (*GetTagsOutput, error)

GetTags API operation for TAG.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TAG's API operation GetTags for usage and error information.

func (*TAG) GetTagsCommon

func (c *TAG) GetTagsCommon(input *map[string]interface{}) (*map[string]interface{}, error)

GetTagsCommon API operation for TAG.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TAG's API operation GetTagsCommon for usage and error information.

func (*TAG) GetTagsCommonRequest

func (c *TAG) GetTagsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

GetTagsCommonRequest generates a "volcengine/request.Request" representing the client's request for the GetTagsCommon operation. The "output" return value will be populated with the GetTagsCommon request's response once the request completes successfully.

Use "Send" method on the returned GetTagsCommon Request to send the API call to the service. the "output" return value is not valid until after GetTagsCommon Send returns without error.

See GetTagsCommon for more information on using the GetTagsCommon API call, and error handling.

// Example sending a request using the GetTagsCommonRequest method.
req, resp := client.GetTagsCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TAG) GetTagsCommonWithContext

func (c *TAG) GetTagsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

GetTagsCommonWithContext is the same as GetTagsCommon with the addition of the ability to pass a context and additional request options.

See GetTagsCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TAG) GetTagsRequest

func (c *TAG) GetTagsRequest(input *GetTagsInput) (req *request.Request, output *GetTagsOutput)

GetTagsRequest generates a "volcengine/request.Request" representing the client's request for the GetTags operation. The "output" return value will be populated with the GetTagsCommon request's response once the request completes successfully.

Use "Send" method on the returned GetTagsCommon Request to send the API call to the service. the "output" return value is not valid until after GetTagsCommon Send returns without error.

See GetTags for more information on using the GetTags API call, and error handling.

// Example sending a request using the GetTagsRequest method.
req, resp := client.GetTagsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TAG) GetTagsWithContext

func (c *TAG) GetTagsWithContext(ctx volcengine.Context, input *GetTagsInput, opts ...request.Option) (*GetTagsOutput, error)

GetTagsWithContext is the same as GetTags with the addition of the ability to pass a context and additional request options.

See GetTags for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TAG) ListResourceTypes

func (c *TAG) ListResourceTypes(input *ListResourceTypesInput) (*ListResourceTypesOutput, error)

ListResourceTypes API operation for TAG.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TAG's API operation ListResourceTypes for usage and error information.

func (*TAG) ListResourceTypesCommon

func (c *TAG) ListResourceTypesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ListResourceTypesCommon API operation for TAG.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TAG's API operation ListResourceTypesCommon for usage and error information.

func (*TAG) ListResourceTypesCommonRequest

func (c *TAG) ListResourceTypesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ListResourceTypesCommonRequest generates a "volcengine/request.Request" representing the client's request for the ListResourceTypesCommon operation. The "output" return value will be populated with the ListResourceTypesCommon request's response once the request completes successfully.

Use "Send" method on the returned ListResourceTypesCommon Request to send the API call to the service. the "output" return value is not valid until after ListResourceTypesCommon Send returns without error.

See ListResourceTypesCommon for more information on using the ListResourceTypesCommon API call, and error handling.

// Example sending a request using the ListResourceTypesCommonRequest method.
req, resp := client.ListResourceTypesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TAG) ListResourceTypesCommonWithContext

func (c *TAG) ListResourceTypesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ListResourceTypesCommonWithContext is the same as ListResourceTypesCommon with the addition of the ability to pass a context and additional request options.

See ListResourceTypesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TAG) ListResourceTypesRequest

func (c *TAG) ListResourceTypesRequest(input *ListResourceTypesInput) (req *request.Request, output *ListResourceTypesOutput)

ListResourceTypesRequest generates a "volcengine/request.Request" representing the client's request for the ListResourceTypes operation. The "output" return value will be populated with the ListResourceTypesCommon request's response once the request completes successfully.

Use "Send" method on the returned ListResourceTypesCommon Request to send the API call to the service. the "output" return value is not valid until after ListResourceTypesCommon Send returns without error.

See ListResourceTypes for more information on using the ListResourceTypes API call, and error handling.

// Example sending a request using the ListResourceTypesRequest method.
req, resp := client.ListResourceTypesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TAG) ListResourceTypesWithContext

func (c *TAG) ListResourceTypesWithContext(ctx volcengine.Context, input *ListResourceTypesInput, opts ...request.Option) (*ListResourceTypesOutput, error)

ListResourceTypesWithContext is the same as ListResourceTypes with the addition of the ability to pass a context and additional request options.

See ListResourceTypes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TAG) TagResources

func (c *TAG) TagResources(input *TagResourcesInput) (*TagResourcesOutput, error)

TagResources API operation for TAG.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TAG's API operation TagResources for usage and error information.

func (*TAG) TagResourcesCommon

func (c *TAG) TagResourcesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

TagResourcesCommon API operation for TAG.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TAG's API operation TagResourcesCommon for usage and error information.

func (*TAG) TagResourcesCommonRequest

func (c *TAG) TagResourcesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

TagResourcesCommonRequest generates a "volcengine/request.Request" representing the client's request for the TagResourcesCommon operation. The "output" return value will be populated with the TagResourcesCommon request's response once the request completes successfully.

Use "Send" method on the returned TagResourcesCommon Request to send the API call to the service. the "output" return value is not valid until after TagResourcesCommon Send returns without error.

See TagResourcesCommon for more information on using the TagResourcesCommon API call, and error handling.

// Example sending a request using the TagResourcesCommonRequest method.
req, resp := client.TagResourcesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TAG) TagResourcesCommonWithContext

func (c *TAG) TagResourcesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

TagResourcesCommonWithContext is the same as TagResourcesCommon with the addition of the ability to pass a context and additional request options.

See TagResourcesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TAG) TagResourcesRequest

func (c *TAG) TagResourcesRequest(input *TagResourcesInput) (req *request.Request, output *TagResourcesOutput)

TagResourcesRequest generates a "volcengine/request.Request" representing the client's request for the TagResources operation. The "output" return value will be populated with the TagResourcesCommon request's response once the request completes successfully.

Use "Send" method on the returned TagResourcesCommon Request to send the API call to the service. the "output" return value is not valid until after TagResourcesCommon Send returns without error.

See TagResources for more information on using the TagResources API call, and error handling.

// Example sending a request using the TagResourcesRequest method.
req, resp := client.TagResourcesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TAG) TagResourcesWithContext

func (c *TAG) TagResourcesWithContext(ctx volcengine.Context, input *TagResourcesInput, opts ...request.Option) (*TagResourcesOutput, error)

TagResourcesWithContext is the same as TagResources with the addition of the ability to pass a context and additional request options.

See TagResources for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TAG) UntagResources

func (c *TAG) UntagResources(input *UntagResourcesInput) (*UntagResourcesOutput, error)

UntagResources API operation for TAG.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TAG's API operation UntagResources for usage and error information.

func (*TAG) UntagResourcesCommon

func (c *TAG) UntagResourcesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

UntagResourcesCommon API operation for TAG.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TAG's API operation UntagResourcesCommon for usage and error information.

func (*TAG) UntagResourcesCommonRequest

func (c *TAG) UntagResourcesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

UntagResourcesCommonRequest generates a "volcengine/request.Request" representing the client's request for the UntagResourcesCommon operation. The "output" return value will be populated with the UntagResourcesCommon request's response once the request completes successfully.

Use "Send" method on the returned UntagResourcesCommon Request to send the API call to the service. the "output" return value is not valid until after UntagResourcesCommon Send returns without error.

See UntagResourcesCommon for more information on using the UntagResourcesCommon API call, and error handling.

// Example sending a request using the UntagResourcesCommonRequest method.
req, resp := client.UntagResourcesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TAG) UntagResourcesCommonWithContext

func (c *TAG) UntagResourcesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

UntagResourcesCommonWithContext is the same as UntagResourcesCommon with the addition of the ability to pass a context and additional request options.

See UntagResourcesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TAG) UntagResourcesRequest

func (c *TAG) UntagResourcesRequest(input *UntagResourcesInput) (req *request.Request, output *UntagResourcesOutput)

UntagResourcesRequest generates a "volcengine/request.Request" representing the client's request for the UntagResources operation. The "output" return value will be populated with the UntagResourcesCommon request's response once the request completes successfully.

Use "Send" method on the returned UntagResourcesCommon Request to send the API call to the service. the "output" return value is not valid until after UntagResourcesCommon Send returns without error.

See UntagResources for more information on using the UntagResources API call, and error handling.

// Example sending a request using the UntagResourcesRequest method.
req, resp := client.UntagResourcesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TAG) UntagResourcesWithContext

func (c *TAG) UntagResourcesWithContext(ctx volcengine.Context, input *UntagResourcesInput, opts ...request.Option) (*UntagResourcesOutput, error)

UntagResourcesWithContext is the same as UntagResources with the addition of the ability to pass a context and additional request options.

See UntagResources for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type TAGAPI

type TAGAPI interface {
	CreateTagsCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateTagsCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateTagsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateTags(*CreateTagsInput) (*CreateTagsOutput, error)
	CreateTagsWithContext(volcengine.Context, *CreateTagsInput, ...request.Option) (*CreateTagsOutput, error)
	CreateTagsRequest(*CreateTagsInput) (*request.Request, *CreateTagsOutput)

	DeleteTagsCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DeleteTagsCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DeleteTagsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DeleteTags(*DeleteTagsInput) (*DeleteTagsOutput, error)
	DeleteTagsWithContext(volcengine.Context, *DeleteTagsInput, ...request.Option) (*DeleteTagsOutput, error)
	DeleteTagsRequest(*DeleteTagsInput) (*request.Request, *DeleteTagsOutput)

	GetResourcesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	GetResourcesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	GetResourcesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	GetResources(*GetResourcesInput) (*GetResourcesOutput, error)
	GetResourcesWithContext(volcengine.Context, *GetResourcesInput, ...request.Option) (*GetResourcesOutput, error)
	GetResourcesRequest(*GetResourcesInput) (*request.Request, *GetResourcesOutput)

	GetTagKeysCommon(*map[string]interface{}) (*map[string]interface{}, error)
	GetTagKeysCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	GetTagKeysCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	GetTagKeys(*GetTagKeysInput) (*GetTagKeysOutput, error)
	GetTagKeysWithContext(volcengine.Context, *GetTagKeysInput, ...request.Option) (*GetTagKeysOutput, error)
	GetTagKeysRequest(*GetTagKeysInput) (*request.Request, *GetTagKeysOutput)

	GetTagValuesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	GetTagValuesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	GetTagValuesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	GetTagValues(*GetTagValuesInput) (*GetTagValuesOutput, error)
	GetTagValuesWithContext(volcengine.Context, *GetTagValuesInput, ...request.Option) (*GetTagValuesOutput, error)
	GetTagValuesRequest(*GetTagValuesInput) (*request.Request, *GetTagValuesOutput)

	GetTagsCommon(*map[string]interface{}) (*map[string]interface{}, error)
	GetTagsCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	GetTagsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	GetTags(*GetTagsInput) (*GetTagsOutput, error)
	GetTagsWithContext(volcengine.Context, *GetTagsInput, ...request.Option) (*GetTagsOutput, error)
	GetTagsRequest(*GetTagsInput) (*request.Request, *GetTagsOutput)

	ListResourceTypesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ListResourceTypesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ListResourceTypesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ListResourceTypes(*ListResourceTypesInput) (*ListResourceTypesOutput, error)
	ListResourceTypesWithContext(volcengine.Context, *ListResourceTypesInput, ...request.Option) (*ListResourceTypesOutput, error)
	ListResourceTypesRequest(*ListResourceTypesInput) (*request.Request, *ListResourceTypesOutput)

	TagResourcesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	TagResourcesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	TagResourcesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	TagResources(*TagResourcesInput) (*TagResourcesOutput, error)
	TagResourcesWithContext(volcengine.Context, *TagResourcesInput, ...request.Option) (*TagResourcesOutput, error)
	TagResourcesRequest(*TagResourcesInput) (*request.Request, *TagResourcesOutput)

	UntagResourcesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	UntagResourcesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	UntagResourcesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	UntagResources(*UntagResourcesInput) (*UntagResourcesOutput, error)
	UntagResourcesWithContext(volcengine.Context, *UntagResourcesInput, ...request.Option) (*UntagResourcesOutput, error)
	UntagResourcesRequest(*UntagResourcesInput) (*request.Request, *UntagResourcesOutput)
}

TAGAPI provides an interface to enable mocking the tag.TAG service client's API operation,

// volcengine sdk func uses an SDK service client to make a request to
// TAG.
func myFunc(svc TAGAPI) bool {
    // Make svc.CreateTags request
}

func main() {
    sess := session.New()
    svc := tag.New(sess)

    myFunc(svc)
}

type TagFilterForGetResourcesInput

type TagFilterForGetResourcesInput struct {
	Key *string `type:"string"`

	Values []*string `type:"list"`
	// contains filtered or unexported fields
}

func (TagFilterForGetResourcesInput) GoString

GoString returns the string representation

func (*TagFilterForGetResourcesInput) SetKey

SetKey sets the Key field's value.

func (*TagFilterForGetResourcesInput) SetValues

SetValues sets the Values field's value.

func (TagFilterForGetResourcesInput) String

String returns the string representation

type TagForCreateTagsInput

type TagForCreateTagsInput struct {

	// Key is a required field
	Key *string `type:"string" required:"true"`

	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (TagForCreateTagsInput) GoString

func (s TagForCreateTagsInput) GoString() string

GoString returns the string representation

func (*TagForCreateTagsInput) SetKey

SetKey sets the Key field's value.

func (*TagForCreateTagsInput) SetValue

SetValue sets the Value field's value.

func (TagForCreateTagsInput) String

func (s TagForCreateTagsInput) String() string

String returns the string representation

func (*TagForCreateTagsInput) Validate

func (s *TagForCreateTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagForDeleteTagsInput

type TagForDeleteTagsInput struct {

	// Key is a required field
	Key *string `type:"string" required:"true"`

	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (TagForDeleteTagsInput) GoString

func (s TagForDeleteTagsInput) GoString() string

GoString returns the string representation

func (*TagForDeleteTagsInput) SetKey

SetKey sets the Key field's value.

func (*TagForDeleteTagsInput) SetValue

SetValue sets the Value field's value.

func (TagForDeleteTagsInput) String

func (s TagForDeleteTagsInput) String() string

String returns the string representation

func (*TagForDeleteTagsInput) Validate

func (s *TagForDeleteTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagForGetResourcesOutput

type TagForGetResourcesOutput struct {
	Key *string `type:"string"`

	Type *string `type:"string"`

	Value *string `type:"string"`
	// contains filtered or unexported fields
}

func (TagForGetResourcesOutput) GoString

func (s TagForGetResourcesOutput) GoString() string

GoString returns the string representation

func (*TagForGetResourcesOutput) SetKey

SetKey sets the Key field's value.

func (*TagForGetResourcesOutput) SetType

SetType sets the Type field's value.

func (*TagForGetResourcesOutput) SetValue

SetValue sets the Value field's value.

func (TagForGetResourcesOutput) String

func (s TagForGetResourcesOutput) String() string

String returns the string representation

type TagForGetTagValuesOutput

type TagForGetTagValuesOutput struct {
	Key *string `type:"string"`

	Type *string `type:"string"`

	Value *string `type:"string"`
	// contains filtered or unexported fields
}

func (TagForGetTagValuesOutput) GoString

func (s TagForGetTagValuesOutput) GoString() string

GoString returns the string representation

func (*TagForGetTagValuesOutput) SetKey

SetKey sets the Key field's value.

func (*TagForGetTagValuesOutput) SetType

SetType sets the Type field's value.

func (*TagForGetTagValuesOutput) SetValue

SetValue sets the Value field's value.

func (TagForGetTagValuesOutput) String

func (s TagForGetTagValuesOutput) String() string

String returns the string representation

type TagForGetTagsOutput

type TagForGetTagsOutput struct {
	Key *string `type:"string"`

	ResourcesNum *int32 `type:"int32"`

	Type *string `type:"string"`

	Value *string `type:"string"`
	// contains filtered or unexported fields
}

func (TagForGetTagsOutput) GoString

func (s TagForGetTagsOutput) GoString() string

GoString returns the string representation

func (*TagForGetTagsOutput) SetKey

SetKey sets the Key field's value.

func (*TagForGetTagsOutput) SetResourcesNum

func (s *TagForGetTagsOutput) SetResourcesNum(v int32) *TagForGetTagsOutput

SetResourcesNum sets the ResourcesNum field's value.

func (*TagForGetTagsOutput) SetType

SetType sets the Type field's value.

func (*TagForGetTagsOutput) SetValue

SetValue sets the Value field's value.

func (TagForGetTagsOutput) String

func (s TagForGetTagsOutput) String() string

String returns the string representation

type TagForTagResourcesInput

type TagForTagResourcesInput struct {

	// Key is a required field
	Key *string `type:"string" required:"true"`

	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (TagForTagResourcesInput) GoString

func (s TagForTagResourcesInput) GoString() string

GoString returns the string representation

func (*TagForTagResourcesInput) SetKey

SetKey sets the Key field's value.

func (*TagForTagResourcesInput) SetValue

SetValue sets the Value field's value.

func (TagForTagResourcesInput) String

func (s TagForTagResourcesInput) String() string

String returns the string representation

func (*TagForTagResourcesInput) Validate

func (s *TagForTagResourcesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagKeyForGetTagKeysOutput

type TagKeyForGetTagKeysOutput struct {
	Category *string `type:"string"`

	TagKey *string `type:"string"`
	// contains filtered or unexported fields
}

func (TagKeyForGetTagKeysOutput) GoString

func (s TagKeyForGetTagKeysOutput) GoString() string

GoString returns the string representation

func (*TagKeyForGetTagKeysOutput) SetCategory

SetCategory sets the Category field's value.

func (*TagKeyForGetTagKeysOutput) SetTagKey

SetTagKey sets the TagKey field's value.

func (TagKeyForGetTagKeysOutput) String

func (s TagKeyForGetTagKeysOutput) String() string

String returns the string representation

type TagResourcesInput

type TagResourcesInput struct {

	// ResourceTrnList is a required field
	ResourceTrnList []*string `type:"list" required:"true"`

	Tags []*TagForTagResourcesInput `type:"list"`
	// contains filtered or unexported fields
}

func (TagResourcesInput) GoString

func (s TagResourcesInput) GoString() string

GoString returns the string representation

func (*TagResourcesInput) SetResourceTrnList

func (s *TagResourcesInput) SetResourceTrnList(v []*string) *TagResourcesInput

SetResourceTrnList sets the ResourceTrnList field's value.

func (*TagResourcesInput) SetTags

SetTags sets the Tags field's value.

func (TagResourcesInput) String

func (s TagResourcesInput) String() string

String returns the string representation

func (*TagResourcesInput) Validate

func (s *TagResourcesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourcesOutput

type TagResourcesOutput struct {
	Metadata *response.ResponseMetadata

	FailedResources []*FailedResourceForTagResourcesOutput `type:"list"`
	// contains filtered or unexported fields
}

func (TagResourcesOutput) GoString

func (s TagResourcesOutput) GoString() string

GoString returns the string representation

func (*TagResourcesOutput) SetFailedResources

SetFailedResources sets the FailedResources field's value.

func (TagResourcesOutput) String

func (s TagResourcesOutput) String() string

String returns the string representation

type UntagResourcesInput

type UntagResourcesInput struct {

	// ResourceTrnList is a required field
	ResourceTrnList []*string `type:"list" required:"true"`

	// TagKeys is a required field
	TagKeys []*string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourcesInput) GoString

func (s UntagResourcesInput) GoString() string

GoString returns the string representation

func (*UntagResourcesInput) SetResourceTrnList

func (s *UntagResourcesInput) SetResourceTrnList(v []*string) *UntagResourcesInput

SetResourceTrnList sets the ResourceTrnList field's value.

func (*UntagResourcesInput) SetTagKeys

func (s *UntagResourcesInput) SetTagKeys(v []*string) *UntagResourcesInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourcesInput) String

func (s UntagResourcesInput) String() string

String returns the string representation

func (*UntagResourcesInput) Validate

func (s *UntagResourcesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourcesOutput

type UntagResourcesOutput struct {
	Metadata *response.ResponseMetadata

	FailedResources []*FailedResourceForUntagResourcesOutput `type:"list"`
	// contains filtered or unexported fields
}

func (UntagResourcesOutput) GoString

func (s UntagResourcesOutput) GoString() string

GoString returns the string representation

func (*UntagResourcesOutput) SetFailedResources

SetFailedResources sets the FailedResources field's value.

func (UntagResourcesOutput) String

func (s UntagResourcesOutput) String() string

String returns the string representation

Jump to

Keyboard shortcuts

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