ebs

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

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Ebs

type Ebs struct {
	*client.Client
}

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

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

extraNew create int can support ssl or region locate set

func New

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

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

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

func SdkNew

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

SdkNew create int can support ssl or region locate set

func (*Ebs) AttachVolume

func (c *Ebs) AttachVolume(input *map[string]interface{}) (*map[string]interface{}, error)

AttachVolume API operation for ebs.

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

func (*Ebs) AttachVolumeRequest

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

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

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

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

func (*Ebs) AttachVolumeWithContext

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

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

See AttachVolume 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 (*Ebs) CreateSnapshot

func (c *Ebs) CreateSnapshot(input *map[string]interface{}) (*map[string]interface{}, error)

CreateSnapshot API operation for ebs.

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

func (*Ebs) CreateSnapshotRequest

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

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

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

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

func (*Ebs) CreateSnapshotWithContext

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

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

See CreateSnapshot 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 (*Ebs) CreateVolume

func (c *Ebs) CreateVolume(input *map[string]interface{}) (*map[string]interface{}, error)

CreateVolume API operation for ebs.

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

func (*Ebs) CreateVolumeRequest

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

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

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

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

func (*Ebs) CreateVolumeWithContext

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

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

See CreateVolume 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 (*Ebs) DeleteSnapshot

func (c *Ebs) DeleteSnapshot(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteSnapshot API operation for ebs.

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

func (*Ebs) DeleteSnapshotRequest

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

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

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

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

func (*Ebs) DeleteSnapshotWithContext

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

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

See DeleteSnapshot 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 (*Ebs) DeleteVolume

func (c *Ebs) DeleteVolume(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteVolume API operation for ebs.

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

func (*Ebs) DeleteVolumeRequest

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

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

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

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

func (*Ebs) DeleteVolumeWithContext

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

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

See DeleteVolume 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 (*Ebs) DescribeEbsInstances

func (c *Ebs) DescribeEbsInstances(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeEbsInstances API operation for ebs.

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

func (*Ebs) DescribeEbsInstancesRequest

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

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

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

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

func (*Ebs) DescribeEbsInstancesWithContext

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

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

See DescribeEbsInstances 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 (*Ebs) DescribeInstanceVolumes

func (c *Ebs) DescribeInstanceVolumes(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeInstanceVolumes API operation for ebs.

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

func (*Ebs) DescribeInstanceVolumesRequest

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

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

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

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

func (*Ebs) DescribeInstanceVolumesWithContext

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

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

See DescribeInstanceVolumes 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 (*Ebs) DescribeSnapshots

func (c *Ebs) DescribeSnapshots(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeSnapshots API operation for ebs.

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

func (*Ebs) DescribeSnapshotsRequest

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

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

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

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

func (*Ebs) DescribeSnapshotsWithContext

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

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

See DescribeSnapshots 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 (*Ebs) DescribeVolumes

func (c *Ebs) DescribeVolumes(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeVolumes API operation for ebs.

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

func (*Ebs) DescribeVolumesRequest

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

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

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

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

func (*Ebs) DescribeVolumesWithContext

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

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

See DescribeVolumes 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 (*Ebs) DetachVolume

func (c *Ebs) DetachVolume(input *map[string]interface{}) (*map[string]interface{}, error)

DetachVolume API operation for ebs.

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

func (*Ebs) DetachVolumeRequest

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

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

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

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

func (*Ebs) DetachVolumeWithContext

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

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

See DetachVolume 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 (*Ebs) ModifySnapshot

func (c *Ebs) ModifySnapshot(input *map[string]interface{}) (*map[string]interface{}, error)

ModifySnapshot API operation for ebs.

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

func (*Ebs) ModifySnapshotRequest

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

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

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

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

func (*Ebs) ModifySnapshotWithContext

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

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

See ModifySnapshot 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 (*Ebs) ModifyVolume

func (c *Ebs) ModifyVolume(input *map[string]interface{}) (*map[string]interface{}, error)

ModifyVolume API operation for ebs.

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

func (*Ebs) ModifyVolumeRequest

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

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

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

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

func (*Ebs) ModifyVolumeWithContext

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

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

See ModifyVolume 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 (*Ebs) RecoveryVolume

func (c *Ebs) RecoveryVolume(input *map[string]interface{}) (*map[string]interface{}, error)

RecoveryVolume API operation for ebs.

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

func (*Ebs) RecoveryVolumeRequest

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

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

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

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

func (*Ebs) RecoveryVolumeWithContext

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

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

See RecoveryVolume 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 (*Ebs) ResizeVolume

func (c *Ebs) ResizeVolume(input *map[string]interface{}) (*map[string]interface{}, error)

ResizeVolume API operation for ebs.

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

func (*Ebs) ResizeVolumeRequest

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

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

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

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

func (*Ebs) ResizeVolumeWithContext

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

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

See ResizeVolume 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 (*Ebs) RollbackSnapshot

func (c *Ebs) RollbackSnapshot(input *map[string]interface{}) (*map[string]interface{}, error)

RollbackSnapshot API operation for ebs.

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

func (*Ebs) RollbackSnapshotRequest

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

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

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

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

func (*Ebs) RollbackSnapshotWithContext

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

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

See RollbackSnapshot 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 (*Ebs) UpdateVolumeProject

func (c *Ebs) UpdateVolumeProject(input *map[string]interface{}) (*map[string]interface{}, error)

UpdateVolumeProject API operation for ebs.

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

func (*Ebs) UpdateVolumeProjectRequest

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

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

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

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

func (*Ebs) UpdateVolumeProjectWithContext

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

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

See UpdateVolumeProject 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 (*Ebs) ValidateAttachInstance

func (c *Ebs) ValidateAttachInstance(input *map[string]interface{}) (*map[string]interface{}, error)

ValidateAttachInstance API operation for ebs.

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

func (*Ebs) ValidateAttachInstanceRequest

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

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

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

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

func (*Ebs) ValidateAttachInstanceWithContext

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

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

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

Jump to

Keyboard shortcuts

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