eip

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

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Eip

type Eip struct {
	*client.Client
}

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

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

extraNew create int can support ssl or region locate set

func New

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

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

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

func SdkNew

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

SdkNew create int can support ssl or region locate set

func (*Eip) AllocateAddress

func (c *Eip) AllocateAddress(input *map[string]interface{}) (*map[string]interface{}, error)

AllocateAddress API operation for eip.

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

func (*Eip) AllocateAddressRequest

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

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

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

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

func (*Eip) AllocateAddressWithContext

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

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

See AllocateAddress 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 (*Eip) AssociateAddress

func (c *Eip) AssociateAddress(input *map[string]interface{}) (*map[string]interface{}, error)

AssociateAddress API operation for eip.

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

func (*Eip) AssociateAddressRequest

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

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

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

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

func (*Eip) AssociateAddressWithContext

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

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

See AssociateAddress 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 (*Eip) DescribeAddresses

func (c *Eip) DescribeAddresses(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeAddresses API operation for eip.

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

func (*Eip) DescribeAddressesRequest

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

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

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

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

func (*Eip) DescribeAddressesWithContext

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

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

See DescribeAddresses 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 (*Eip) DisassociateAddress

func (c *Eip) DisassociateAddress(input *map[string]interface{}) (*map[string]interface{}, error)

DisassociateAddress API operation for eip.

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

func (*Eip) DisassociateAddressRequest

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

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

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

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

func (*Eip) DisassociateAddressWithContext

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

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

See DisassociateAddress 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 (*Eip) GetLines

func (c *Eip) GetLines(input *map[string]interface{}) (*map[string]interface{}, error)

GetLines API operation for eip.

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

func (*Eip) GetLinesRequest

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

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

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

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

func (*Eip) GetLinesWithContext

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

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

See GetLines 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 (*Eip) ModifyAddress

func (c *Eip) ModifyAddress(input *map[string]interface{}) (*map[string]interface{}, error)

ModifyAddress API operation for eip.

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

func (*Eip) ModifyAddressRequest

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

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

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

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

func (*Eip) ModifyAddressWithContext

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

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

See ModifyAddress 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 (*Eip) RegionList

func (c *Eip) RegionList(input *map[string]interface{}) (*map[string]interface{}, error)

RegionList API operation for eip.

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

func (*Eip) RegionListRequest

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

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

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

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

func (*Eip) RegionListWithContext

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

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

See RegionList 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 (*Eip) ReleaseAddress

func (c *Eip) ReleaseAddress(input *map[string]interface{}) (*map[string]interface{}, error)

ReleaseAddress API operation for eip.

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

func (*Eip) ReleaseAddressRequest

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

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

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

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

func (*Eip) ReleaseAddressWithContext

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

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

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

Jump to

Keyboard shortcuts

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