rabbitmq

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

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

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Rabbitmq

type Rabbitmq struct {
	*client.Client
}

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

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

extraNew create int can support ssl or region locate set

func New

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

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

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

func SdkNew

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

SdkNew create int can support ssl or region locate set

func (*Rabbitmq) CreateInstance

func (c *Rabbitmq) CreateInstance(input *map[string]interface{}) (*map[string]interface{}, error)

CreateInstance API operation for rabbitmq.

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 rabbitmq's API operation CreateInstance for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/rabbitmq-2019-10-17/CreateInstance

func (*Rabbitmq) CreateInstanceRequest

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rabbitmq-2019-10-17/CreateInstance

func (*Rabbitmq) CreateInstanceWithContext

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

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

See CreateInstance 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 (*Rabbitmq) DeleteInstance

func (c *Rabbitmq) DeleteInstance(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteInstance API operation for rabbitmq.

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 rabbitmq's API operation DeleteInstance for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/rabbitmq-2019-10-17/DeleteInstance

func (*Rabbitmq) DeleteInstanceRequest

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rabbitmq-2019-10-17/DeleteInstance

func (*Rabbitmq) DeleteInstanceWithContext

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

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

See DeleteInstance 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 (*Rabbitmq) DescribeInstance

func (c *Rabbitmq) DescribeInstance(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeInstance API operation for rabbitmq.

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 rabbitmq's API operation DescribeInstance for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/rabbitmq-2019-10-17/DescribeInstance

func (*Rabbitmq) DescribeInstanceRequest

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rabbitmq-2019-10-17/DescribeInstance

func (*Rabbitmq) DescribeInstanceWithContext

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

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

See DescribeInstance 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 (*Rabbitmq) DescribeInstances

func (c *Rabbitmq) DescribeInstances(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeInstances API operation for rabbitmq.

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 rabbitmq's API operation DescribeInstances for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/rabbitmq-2019-10-17/DescribeInstances

func (*Rabbitmq) DescribeInstancesRequest

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rabbitmq-2019-10-17/DescribeInstances

func (*Rabbitmq) DescribeInstancesWithContext

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

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

See DescribeInstances 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 (*Rabbitmq) UpgradeInstance

func (c *Rabbitmq) UpgradeInstance(input *map[string]interface{}) (*map[string]interface{}, error)

UpgradeInstance API operation for rabbitmq.

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 rabbitmq's API operation UpgradeInstance for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/rabbitmq-2019-10-17/UpgradeInstance

func (*Rabbitmq) UpgradeInstanceRequest

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rabbitmq-2019-10-17/UpgradeInstance

func (*Rabbitmq) UpgradeInstanceWithContext

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

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

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

Jump to

Keyboard shortcuts

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