tagv2

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ServiceName = "tagv2"     // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "tagv2"     // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Tagv2

type Tagv2 struct {
	*client.Client
}

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

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

func ExtraNew

func ExtraNew(info *utils.UrlInfo, p client.ConfigProvider, cfgs ...*aws.Config) *Tagv2

extraNew create int can support ssl or region locate set

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *Tagv2

New creates a new instance of the Tagv2 client with a session. If additional configuration is needed for the client instance use the optional ksc.Config parameter to add your extra config.

Example:

// Create a Tagv2 client from just a session.
svc := tagv2.New(mySession)

// Create a Tagv2 client with additional configuration
svc := tagv2.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func SdkNew

func SdkNew(p client.ConfigProvider, cfgs *ksc.Config, info ...*utils.UrlInfo) *Tagv2

SdkNew create int can support ssl or region locate set

func (*Tagv2) CreateTag

func (c *Tagv2) CreateTag(input *map[string]interface{}) (*map[string]interface{}, error)

CreateTag API operation for tagv2.

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

See the KSC API reference guide for tagv2's API operation CreateTag for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/tagv2-2020-09-01/CreateTag

func (*Tagv2) CreateTagRequest

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

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

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

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

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/tagv2-2020-09-01/CreateTag

func (*Tagv2) CreateTagWithContext

func (c *Tagv2) CreateTagWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See CreateTag 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 (*Tagv2) DeleteTag

func (c *Tagv2) DeleteTag(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteTag API operation for tagv2.

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

See the KSC API reference guide for tagv2's API operation DeleteTag for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/tagv2-2020-09-01/DeleteTag

func (*Tagv2) DeleteTagRequest

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

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

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

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

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/tagv2-2020-09-01/DeleteTag

func (*Tagv2) DeleteTagWithContext

func (c *Tagv2) DeleteTagWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See DeleteTag 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 (*Tagv2) DetachResourceTags

func (c *Tagv2) DetachResourceTags(input *map[string]interface{}) (*map[string]interface{}, error)

DetachResourceTags API operation for tagv2.

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

See the KSC API reference guide for tagv2's API operation DetachResourceTags for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/tagv2-2020-09-01/DetachResourceTags

func (*Tagv2) DetachResourceTagsRequest

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

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

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

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

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/tagv2-2020-09-01/DetachResourceTags

func (*Tagv2) DetachResourceTagsWithContext

func (c *Tagv2) DetachResourceTagsWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See DetachResourceTags 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 (*Tagv2) ListResources

func (c *Tagv2) ListResources(input *map[string]interface{}) (*map[string]interface{}, error)

ListResources API operation for tagv2.

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

See the KSC API reference guide for tagv2's API operation ListResources for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/tagv2-2020-09-01/ListResources

func (*Tagv2) ListResourcesRequest

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

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

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

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

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/tagv2-2020-09-01/ListResources

func (*Tagv2) ListResourcesWithContext

func (c *Tagv2) ListResourcesWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See ListResources 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 (*Tagv2) ListTagKeys

func (c *Tagv2) ListTagKeys(input *map[string]interface{}) (*map[string]interface{}, error)

ListTagKeys API operation for tagv2.

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

See the KSC API reference guide for tagv2's API operation ListTagKeys for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/tagv2-2020-09-01/ListTagKeys

func (*Tagv2) ListTagKeysRequest

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

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

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

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

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/tagv2-2020-09-01/ListTagKeys

func (*Tagv2) ListTagKeysWithContext

func (c *Tagv2) ListTagKeysWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See ListTagKeys 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 (*Tagv2) ListTagValues

func (c *Tagv2) ListTagValues(input *map[string]interface{}) (*map[string]interface{}, error)

ListTagValues API operation for tagv2.

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

See the KSC API reference guide for tagv2's API operation ListTagValues for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/tagv2-2020-09-01/ListTagValues

func (*Tagv2) ListTagValuesRequest

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

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

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

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

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/tagv2-2020-09-01/ListTagValues

func (*Tagv2) ListTagValuesWithContext

func (c *Tagv2) ListTagValuesWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See ListTagValues 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 (*Tagv2) ListTags

func (c *Tagv2) ListTags(input *map[string]interface{}) (*map[string]interface{}, error)

ListTags API operation for tagv2.

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

See the KSC API reference guide for tagv2's API operation ListTags for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/tagv2-2020-09-01/ListTags

func (*Tagv2) ListTagsByResourceIds

func (c *Tagv2) ListTagsByResourceIds(input *map[string]interface{}) (*map[string]interface{}, error)

ListTagsByResourceIds API operation for tagv2.

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

See the KSC API reference guide for tagv2's API operation ListTagsByResourceIds for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/tagv2-2020-09-01/ListTagsByResourceIds

func (*Tagv2) ListTagsByResourceIdsRequest

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

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

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

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

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/tagv2-2020-09-01/ListTagsByResourceIds

func (*Tagv2) ListTagsByResourceIdsWithContext

func (c *Tagv2) ListTagsByResourceIdsWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See ListTagsByResourceIds 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 (*Tagv2) ListTagsRequest

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

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

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

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

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/tagv2-2020-09-01/ListTags

func (*Tagv2) ListTagsWithContext

func (c *Tagv2) ListTagsWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See ListTags 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 (*Tagv2) ReplaceResourcesTags

func (c *Tagv2) ReplaceResourcesTags(input *map[string]interface{}) (*map[string]interface{}, error)

ReplaceResourcesTags API operation for tagv2.

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

See the KSC API reference guide for tagv2's API operation ReplaceResourcesTags for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/tagv2-2020-09-01/ReplaceResourcesTags

func (*Tagv2) ReplaceResourcesTagsRequest

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

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

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

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

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/tagv2-2020-09-01/ReplaceResourcesTags

func (*Tagv2) ReplaceResourcesTagsWithContext

func (c *Tagv2) ReplaceResourcesTagsWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

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

See ReplaceResourcesTags 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.

Directories

Path Synopsis
Package tagv2iface provides an interface to enable mocking the tagv2 service client for testing your code.
Package tagv2iface provides an interface to enable mocking the tagv2 service client for testing your code.

Jump to

Keyboard shortcuts

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