kis

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0, Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

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

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Kis

type Kis struct {
	*client.Client
}

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

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

extraNew create int can support ssl or region locate set

func New

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

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

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

func SdkNew

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

SdkNew create int can support ssl or region locate set

func (*Kis) QueryPortLineInfos

func (c *Kis) QueryPortLineInfos(input *map[string]interface{}) (*map[string]interface{}, error)

QueryPortLineInfos API operation for kis.

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 kis's API operation QueryPortLineInfos for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/kis-2021-08-04/QueryPortLineInfos

func (*Kis) QueryPortLineInfosRequest

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/kis-2021-08-04/QueryPortLineInfos

func (*Kis) QueryPortLineInfosWithContext

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

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

See QueryPortLineInfos 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 (*Kis) QueryServerBatchIds

func (c *Kis) QueryServerBatchIds(input *map[string]interface{}) (*map[string]interface{}, error)

QueryServerBatchIds API operation for kis.

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 kis's API operation QueryServerBatchIds for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/kis-2021-08-04/QueryServerBatchIds

func (*Kis) QueryServerBatchIdsRequest

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/kis-2021-08-04/QueryServerBatchIds

func (*Kis) QueryServerBatchIdsWithContext

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

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

See QueryServerBatchIds 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 (*Kis) QueryServerOrderInfos

func (c *Kis) QueryServerOrderInfos(input *map[string]interface{}) (*map[string]interface{}, error)

QueryServerOrderInfos API operation for kis.

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 kis's API operation QueryServerOrderInfos for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/kis-2021-08-04/QueryServerOrderInfos

func (*Kis) QueryServerOrderInfosRequest

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/kis-2021-08-04/QueryServerOrderInfos

func (*Kis) QueryServerOrderInfosWithContext

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

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

See QueryServerOrderInfos 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 (*Kis) QuerySwitchBatchIds

func (c *Kis) QuerySwitchBatchIds(input *map[string]interface{}) (*map[string]interface{}, error)

QuerySwitchBatchIds API operation for kis.

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 kis's API operation QuerySwitchBatchIds for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/kis-2021-08-04/QuerySwitchBatchIds

func (*Kis) QuerySwitchBatchIdsRequest

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/kis-2021-08-04/QuerySwitchBatchIds

func (*Kis) QuerySwitchBatchIdsWithContext

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

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

See QuerySwitchBatchIds 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 (*Kis) QuerySwitchOrderInfos

func (c *Kis) QuerySwitchOrderInfos(input *map[string]interface{}) (*map[string]interface{}, error)

QuerySwitchOrderInfos API operation for kis.

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 kis's API operation QuerySwitchOrderInfos for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/kis-2021-08-04/QuerySwitchOrderInfos

func (*Kis) QuerySwitchOrderInfosRequest

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/kis-2021-08-04/QuerySwitchOrderInfos

func (*Kis) QuerySwitchOrderInfosWithContext

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

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

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

Jump to

Keyboard shortcuts

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