bws

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

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Bws

type Bws struct {
	*client.Client
}

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

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

extraNew create int can support ssl or region locate set

func New

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

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

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

func SdkNew

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

SdkNew create int can support ssl or region locate set

func (*Bws) AssociateBandWidthShare

func (c *Bws) AssociateBandWidthShare(input *map[string]interface{}) (*map[string]interface{}, error)

AssociateBandWidthShare API operation for bws.

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 bws's API operation AssociateBandWidthShare for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/bws-2016-03-04/AssociateBandWidthShare

func (*Bws) AssociateBandWidthShareRequest

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/bws-2016-03-04/AssociateBandWidthShare

func (*Bws) AssociateBandWidthShareWithContext

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

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

See AssociateBandWidthShare 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 (*Bws) CreateBandWidthShare

func (c *Bws) CreateBandWidthShare(input *map[string]interface{}) (*map[string]interface{}, error)

CreateBandWidthShare API operation for bws.

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 bws's API operation CreateBandWidthShare for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/bws-2016-03-04/CreateBandWidthShare

func (*Bws) CreateBandWidthShareRequest

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/bws-2016-03-04/CreateBandWidthShare

func (*Bws) CreateBandWidthShareWithContext

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

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

See CreateBandWidthShare 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 (*Bws) DeleteBandWidthShare

func (c *Bws) DeleteBandWidthShare(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteBandWidthShare API operation for bws.

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 bws's API operation DeleteBandWidthShare for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/bws-2016-03-04/DeleteBandWidthShare

func (*Bws) DeleteBandWidthShareRequest

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/bws-2016-03-04/DeleteBandWidthShare

func (*Bws) DeleteBandWidthShareWithContext

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

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

See DeleteBandWidthShare 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 (*Bws) DescribeBandWidthShares

func (c *Bws) DescribeBandWidthShares(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeBandWidthShares API operation for bws.

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 bws's API operation DescribeBandWidthShares for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/bws-2016-03-04/DescribeBandWidthShares

func (*Bws) DescribeBandWidthSharesRequest

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/bws-2016-03-04/DescribeBandWidthShares

func (*Bws) DescribeBandWidthSharesWithContext

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

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

See DescribeBandWidthShares 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 (*Bws) DisassociateBandWidthShare

func (c *Bws) DisassociateBandWidthShare(input *map[string]interface{}) (*map[string]interface{}, error)

DisassociateBandWidthShare API operation for bws.

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 bws's API operation DisassociateBandWidthShare for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/bws-2016-03-04/DisassociateBandWidthShare

func (*Bws) DisassociateBandWidthShareRequest

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/bws-2016-03-04/DisassociateBandWidthShare

func (*Bws) DisassociateBandWidthShareWithContext

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

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

See DisassociateBandWidthShare 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 (*Bws) ModifyBandWidthShare

func (c *Bws) ModifyBandWidthShare(input *map[string]interface{}) (*map[string]interface{}, error)

ModifyBandWidthShare API operation for bws.

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 bws's API operation ModifyBandWidthShare for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/bws-2016-03-04/ModifyBandWidthShare

func (*Bws) ModifyBandWidthShareRequest

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/bws-2016-03-04/ModifyBandWidthShare

func (*Bws) ModifyBandWidthShareWithContext

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

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

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

Jump to

Keyboard shortcuts

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