restxmlservice

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 restxmlservice provides the client and types for making API requests to RESTXMLService.

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

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

Using the Client

To use RESTXMLService 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 RESTXMLService client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/restxmlservice/#New

Index

Constants

View Source
const (
	ServiceName = "RESTXMLService" // Service's name
	ServiceID   = "RESTXMLService" // Service's identifier
	EndpointsID = "restxmlservice" // 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 RESTXMLService. 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 := restxmlservice.New(myConfig)

func (*Client) OtherOperationRequest

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

OtherOperationRequest returns a request value for making API operation for REST XML 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/RESTXMLService-0000-00-00/OtherOperation

type OtherOperationInput

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

func (OtherOperationInput) MarshalFields

func (s OtherOperationInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s OtherOperationOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 restxmlserviceiface provides an interface to enable mocking the REST XML Service service client for testing your code.
Package restxmlserviceiface provides an interface to enable mocking the REST XML 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