kcsv2

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 = "kcs"       // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "kcs"       // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Kcsv2

type Kcsv2 struct {
	*client.Client
}

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

Kcsv2 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) *Kcsv2

extraNew create int can support ssl or region locate set

func New

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

New creates a new instance of the Kcsv2 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 Kcsv2 client from just a session.
svc := kcsv2.New(mySession)

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

func SdkNew

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

SdkNew create int can support ssl or region locate set

func (*Kcsv2) AddCacheSlaveNode

func (c *Kcsv2) AddCacheSlaveNode(input *map[string]interface{}) (*map[string]interface{}, error)

AddCacheSlaveNode API operation for kcsv2.

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 kcsv2's API operation AddCacheSlaveNode for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/kcs-2017-04-01/AddCacheSlaveNode

func (*Kcsv2) AddCacheSlaveNodeRequest

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

AddCacheSlaveNodeRequest generates a "ksc/request.Request" representing the client's request for the AddCacheSlaveNode 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 AddCacheSlaveNode for more information on using the AddCacheSlaveNode 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 AddCacheSlaveNodeRequest method.
req, resp := client.AddCacheSlaveNodeRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/kcs-2017-04-01/AddCacheSlaveNode

func (*Kcsv2) AddCacheSlaveNodeWithContext

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

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

See AddCacheSlaveNode 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 (*Kcsv2) DeleteCacheSlaveNode

func (c *Kcsv2) DeleteCacheSlaveNode(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteCacheSlaveNode API operation for kcsv2.

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 kcsv2's API operation DeleteCacheSlaveNode for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/kcs-2017-04-01/DeleteCacheSlaveNode

func (*Kcsv2) DeleteCacheSlaveNodeRequest

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

DeleteCacheSlaveNodeRequest generates a "ksc/request.Request" representing the client's request for the DeleteCacheSlaveNode 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 DeleteCacheSlaveNode for more information on using the DeleteCacheSlaveNode 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 DeleteCacheSlaveNodeRequest method.
req, resp := client.DeleteCacheSlaveNodeRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/kcs-2017-04-01/DeleteCacheSlaveNode

func (*Kcsv2) DeleteCacheSlaveNodeWithContext

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

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

See DeleteCacheSlaveNode 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 (*Kcsv2) DescribeCacheReadonlyNode

func (c *Kcsv2) DescribeCacheReadonlyNode(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeCacheReadonlyNode API operation for kcsv2.

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 kcsv2's API operation DescribeCacheReadonlyNode for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/kcs-2017-04-01/DescribeCacheReadonlyNode

func (*Kcsv2) DescribeCacheReadonlyNodeRequest

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

DescribeCacheReadonlyNodeRequest generates a "ksc/request.Request" representing the client's request for the DescribeCacheReadonlyNode 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 DescribeCacheReadonlyNode for more information on using the DescribeCacheReadonlyNode 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 DescribeCacheReadonlyNodeRequest method.
req, resp := client.DescribeCacheReadonlyNodeRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/kcs-2017-04-01/DescribeCacheReadonlyNode

func (*Kcsv2) DescribeCacheReadonlyNodeWithContext

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

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

See DescribeCacheReadonlyNode 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 kcsv2iface provides an interface to enable mocking the kcsv2 service client for testing your code.
Package kcsv2iface provides an interface to enable mocking the kcsv2 service client for testing your code.

Jump to

Keyboard shortcuts

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