rpcservice

package
v0.22.0 Latest Latest
Warning

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

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

Documentation

Overview

Package rpcservice provides the client and types for making API requests to RPCService.

See https://docs.aws.amazon.com/goto/WebAPI/RPCService-0000-00-00 for more information on this service.

See rpcservice package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/rpcservice/

Using the Client

To use RPCService with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the RPCService client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/rpcservice/#New

Index

Constants

View Source
const (
	ServiceName = "RPCService" // Service's name
	ServiceID   = "RPCService" // Service's identifier
	EndpointsID = "rpcservice" // Service's Endpoint identifier
)
View Source
const (

	// ErrCodeExceptionEvent2 for service response error code
	// "ExceptionEvent2".
	ErrCodeExceptionEvent2 = "ExceptionEvent2"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*aws.Client
}

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

The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := rpcservice.New(myConfig)

func (*Client) OtherOperationRequest

func (c *Client) OtherOperationRequest(input *OtherOperationInput) OtherOperationRequest

OtherOperationRequest returns a request value for making API operation for RPC Service.

// Example sending a request using OtherOperationRequest.
req := client.OtherOperationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/RPCService-0000-00-00/OtherOperation

type OtherOperationInput

type OtherOperationInput struct {
	// contains filtered or unexported fields
}

func (OtherOperationInput) String

func (s OtherOperationInput) String() string

String returns the string representation

type OtherOperationOutput

type OtherOperationOutput struct {
	// contains filtered or unexported fields
}

func (OtherOperationOutput) String

func (s OtherOperationOutput) String() string

String returns the string representation

type OtherOperationRequest

type OtherOperationRequest struct {
	*aws.Request
	Input *OtherOperationInput
	Copy  func(*OtherOperationInput) OtherOperationRequest
}

OtherOperationRequest is the request type for the OtherOperation API operation.

func (OtherOperationRequest) Send

Send marshals and sends the OtherOperation API request.

type OtherOperationResponse

type OtherOperationResponse struct {
	*OtherOperationOutput
	// contains filtered or unexported fields
}

OtherOperationResponse is the response type for the OtherOperation API operation.

func (*OtherOperationResponse) SDKResponseMetdata

func (r *OtherOperationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the OtherOperation request.

Directories

Path Synopsis
Package rpcserviceiface provides an interface to enable mocking the RPC Service service client for testing your code.
Package rpcserviceiface provides an interface to enable mocking the RPC Service service client for testing your code.

Jump to

Keyboard shortcuts

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