Documentation ¶
Index ¶
- Constants
- type Tag
- func (c *Tag) CreateTags(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Tag) CreateTagsRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Tag) CreateTagsWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Tag) DeleteTags(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Tag) DeleteTagsRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Tag) DeleteTagsWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Tag) DescribeTagKeys(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Tag) DescribeTagKeysRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Tag) DescribeTagKeysWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Tag) DescribeTagValues(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Tag) DescribeTagValuesRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Tag) DescribeTagValuesWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Tag) DescribeTags(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Tag) DescribeTagsRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Tag) DescribeTagsWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
Constants ¶
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 Tag ¶
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 ...*aws.Config) *Tag
New creates a new instance of the Tag 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 Tag client from just a session. svc := tag.New(mySession) // Create a Tag client with additional configuration svc := tag.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*Tag) CreateTags ¶
CreateTags API operation for tag.
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 tag's API operation CreateTags for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/tag-2016-03-04/CreateTags
func (*Tag) CreateTagsRequest ¶
func (c *Tag) CreateTagsRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
CreateTagsRequest generates a "ksc/request.Request" representing the client's request for the CreateTags 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 CreateTags for more information on using the CreateTags 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 CreateTagsRequest method. req, resp := client.CreateTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/tag-2016-03-04/CreateTags
func (*Tag) CreateTagsWithContext ¶
func (c *Tag) CreateTagsWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, 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. 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) DeleteTags ¶
DeleteTags API operation for tag.
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 tag's API operation DeleteTags for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/tag-2016-03-04/DeleteTags
func (*Tag) DeleteTagsRequest ¶
func (c *Tag) DeleteTagsRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DeleteTagsRequest generates a "ksc/request.Request" representing the client's request for the DeleteTags 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 DeleteTags for more information on using the DeleteTags 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 DeleteTagsRequest method. req, resp := client.DeleteTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/tag-2016-03-04/DeleteTags
func (*Tag) DeleteTagsWithContext ¶
func (c *Tag) DeleteTagsWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, 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. 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) DescribeTagKeys ¶
DescribeTagKeys API operation for tag.
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 tag's API operation DescribeTagKeys for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/tag-2016-03-04/DescribeTagKeys
func (*Tag) DescribeTagKeysRequest ¶
func (c *Tag) DescribeTagKeysRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DescribeTagKeysRequest generates a "ksc/request.Request" representing the client's request for the DescribeTagKeys 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 DescribeTagKeys for more information on using the DescribeTagKeys 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 DescribeTagKeysRequest method. req, resp := client.DescribeTagKeysRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/tag-2016-03-04/DescribeTagKeys
func (*Tag) DescribeTagKeysWithContext ¶
func (c *Tag) DescribeTagKeysWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DescribeTagKeysWithContext is the same as DescribeTagKeys with the addition of the ability to pass a context and additional request options.
See DescribeTagKeys 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) DescribeTagValues ¶
DescribeTagValues API operation for tag.
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 tag's API operation DescribeTagValues for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/tag-2016-03-04/DescribeTagValues
func (*Tag) DescribeTagValuesRequest ¶
func (c *Tag) DescribeTagValuesRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DescribeTagValuesRequest generates a "ksc/request.Request" representing the client's request for the DescribeTagValues 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 DescribeTagValues for more information on using the DescribeTagValues 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 DescribeTagValuesRequest method. req, resp := client.DescribeTagValuesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/tag-2016-03-04/DescribeTagValues
func (*Tag) DescribeTagValuesWithContext ¶
func (c *Tag) DescribeTagValuesWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DescribeTagValuesWithContext is the same as DescribeTagValues with the addition of the ability to pass a context and additional request options.
See DescribeTagValues 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) DescribeTags ¶
DescribeTags API operation for tag.
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 tag's API operation DescribeTags for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/tag-2016-03-04/DescribeTags
func (*Tag) DescribeTagsRequest ¶
func (c *Tag) DescribeTagsRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DescribeTagsRequest generates a "ksc/request.Request" representing the client's request for the DescribeTags 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 DescribeTags for more information on using the DescribeTags 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 DescribeTagsRequest method. req, resp := client.DescribeTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/tag-2016-03-04/DescribeTags
func (*Tag) DescribeTagsWithContext ¶
func (c *Tag) DescribeTagsWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DescribeTagsWithContext is the same as DescribeTags with the addition of the ability to pass a context and additional request options.
See DescribeTags 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.