backupgateway

package
v1.44.66 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 10 Imported by: 9

Documentation

Overview

Package backupgateway provides the client and types for making API requests to AWS Backup Gateway.

Backup gateway connects Backup to your hypervisor, so you can create, store, and restore backups of your virtual machines (VMs) anywhere, whether on-premises or in the VMware Cloud (VMC) on Amazon Web Services.

Add on-premises resources by connecting to a hypervisor through a gateway. Backup will automatically discover the resources in your hypervisor.

Use Backup to assign virtual or on-premises resources to a backup plan, or run on-demand backups. Once you have backed up your resources, you can view them and restore them like any resource supported by Backup.

To download the Amazon Web Services software to get started, navigate to the Backup console, choose Gateways, then choose Create gateway.

See https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01 for more information on this service.

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

Using the Client

To contact AWS Backup Gateway 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 AWS Backup Gateway client BackupGateway for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/backupgateway/#New

Index

Constants

View Source
const (
	// HypervisorStatePending is a HypervisorState enum value
	HypervisorStatePending = "PENDING"

	// HypervisorStateOnline is a HypervisorState enum value
	HypervisorStateOnline = "ONLINE"

	// HypervisorStateOffline is a HypervisorState enum value
	HypervisorStateOffline = "OFFLINE"

	// HypervisorStateError is a HypervisorState enum value
	HypervisorStateError = "ERROR"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// The operation cannot proceed because you have insufficient permissions.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// The operation cannot proceed because it is not supported.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// The operation did not succeed because an internal error occurred. Try again
	// later.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// A resource that is required for the action wasn't found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The operation did not succeed because a validation error occurred.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "Backup Gateway" // Name of service.
	EndpointsID = "backup-gateway" // ID to lookup a service endpoint with.
	ServiceID   = "Backup Gateway" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// GatewayTypeBackupVm is a GatewayType enum value
	GatewayTypeBackupVm = "BACKUP_VM"
)

Variables

This section is empty.

Functions

func GatewayType_Values

func GatewayType_Values() []string

GatewayType_Values returns all elements of the GatewayType enum

func HypervisorState_Values

func HypervisorState_Values() []string

HypervisorState_Values returns all elements of the HypervisorState enum

Types

type AccessDeniedException

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// A description of why you have insufficient permissions.
	//
	// ErrorCode is a required field
	ErrorCode *string `type:"string" required:"true"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The operation cannot proceed because you have insufficient permissions.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssociateGatewayToServerInput

type AssociateGatewayToServerInput struct {

	// The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation
	// to return a list of gateways for your account and Amazon Web Services Region.
	//
	// GatewayArn is a required field
	GatewayArn *string `min:"50" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the server that hosts your virtual machines.
	//
	// ServerArn is a required field
	ServerArn *string `min:"50" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateGatewayToServerInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateGatewayToServerInput) SetGatewayArn

SetGatewayArn sets the GatewayArn field's value.

func (*AssociateGatewayToServerInput) SetServerArn

SetServerArn sets the ServerArn field's value.

func (AssociateGatewayToServerInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateGatewayToServerInput) Validate

func (s *AssociateGatewayToServerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AssociateGatewayToServerOutput

type AssociateGatewayToServerOutput struct {

	// The Amazon Resource Name (ARN) of a gateway.
	GatewayArn *string `min:"50" type:"string"`
	// contains filtered or unexported fields
}

func (AssociateGatewayToServerOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateGatewayToServerOutput) SetGatewayArn

SetGatewayArn sets the GatewayArn field's value.

func (AssociateGatewayToServerOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BackupGateway

type BackupGateway struct {
	*client.Client
}

BackupGateway provides the API operation methods for making requests to AWS Backup Gateway. See this package's package overview docs for details on the service.

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

func New

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

New creates a new instance of the BackupGateway client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a BackupGateway client from just a session.
svc := backupgateway.New(mySession)

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

func (*BackupGateway) AssociateGatewayToServer

func (c *BackupGateway) AssociateGatewayToServer(input *AssociateGatewayToServerInput) (*AssociateGatewayToServerOutput, error)

AssociateGatewayToServer API operation for AWS Backup Gateway.

Associates a backup gateway with your server. After you complete the association process, you can back up and restore your VMs through the gateway.

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 AWS API reference guide for AWS Backup Gateway's API operation AssociateGatewayToServer for usage and error information.

Returned Error Types:

  • ValidationException The operation did not succeed because a validation error occurred.

  • ConflictException The operation cannot proceed because it is not supported.

  • InternalServerException The operation did not succeed because an internal error occurred. Try again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/AssociateGatewayToServer

func (*BackupGateway) AssociateGatewayToServerRequest

func (c *BackupGateway) AssociateGatewayToServerRequest(input *AssociateGatewayToServerInput) (req *request.Request, output *AssociateGatewayToServerOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/AssociateGatewayToServer

func (*BackupGateway) AssociateGatewayToServerWithContext

func (c *BackupGateway) AssociateGatewayToServerWithContext(ctx aws.Context, input *AssociateGatewayToServerInput, opts ...request.Option) (*AssociateGatewayToServerOutput, error)

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

See AssociateGatewayToServer 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 (*BackupGateway) CreateGateway

func (c *BackupGateway) CreateGateway(input *CreateGatewayInput) (*CreateGatewayOutput, error)

CreateGateway API operation for AWS Backup Gateway.

Creates a backup gateway. After you create a gateway, you can associate it with a server using the AssociateGatewayToServer operation.

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 AWS API reference guide for AWS Backup Gateway's API operation CreateGateway for usage and error information.

Returned Error Types:

  • ValidationException The operation did not succeed because a validation error occurred.

  • InternalServerException The operation did not succeed because an internal error occurred. Try again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/CreateGateway

func (*BackupGateway) CreateGatewayRequest

func (c *BackupGateway) CreateGatewayRequest(input *CreateGatewayInput) (req *request.Request, output *CreateGatewayOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/CreateGateway

func (*BackupGateway) CreateGatewayWithContext

func (c *BackupGateway) CreateGatewayWithContext(ctx aws.Context, input *CreateGatewayInput, opts ...request.Option) (*CreateGatewayOutput, error)

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

See CreateGateway 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 (*BackupGateway) DeleteGateway

func (c *BackupGateway) DeleteGateway(input *DeleteGatewayInput) (*DeleteGatewayOutput, error)

DeleteGateway API operation for AWS Backup Gateway.

Deletes a backup gateway.

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 AWS API reference guide for AWS Backup Gateway's API operation DeleteGateway for usage and error information.

Returned Error Types:

  • ValidationException The operation did not succeed because a validation error occurred.

  • InternalServerException The operation did not succeed because an internal error occurred. Try again later.

  • ResourceNotFoundException A resource that is required for the action wasn't found.

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/DeleteGateway

func (*BackupGateway) DeleteGatewayRequest

func (c *BackupGateway) DeleteGatewayRequest(input *DeleteGatewayInput) (req *request.Request, output *DeleteGatewayOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/DeleteGateway

func (*BackupGateway) DeleteGatewayWithContext

func (c *BackupGateway) DeleteGatewayWithContext(ctx aws.Context, input *DeleteGatewayInput, opts ...request.Option) (*DeleteGatewayOutput, error)

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

See DeleteGateway 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 (*BackupGateway) DeleteHypervisor

func (c *BackupGateway) DeleteHypervisor(input *DeleteHypervisorInput) (*DeleteHypervisorOutput, error)

DeleteHypervisor API operation for AWS Backup Gateway.

Deletes a hypervisor.

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 AWS API reference guide for AWS Backup Gateway's API operation DeleteHypervisor for usage and error information.

Returned Error Types:

  • ValidationException The operation did not succeed because a validation error occurred.

  • InternalServerException The operation did not succeed because an internal error occurred. Try again later.

  • AccessDeniedException The operation cannot proceed because you have insufficient permissions.

  • ResourceNotFoundException A resource that is required for the action wasn't found.

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/DeleteHypervisor

func (*BackupGateway) DeleteHypervisorRequest

func (c *BackupGateway) DeleteHypervisorRequest(input *DeleteHypervisorInput) (req *request.Request, output *DeleteHypervisorOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/DeleteHypervisor

func (*BackupGateway) DeleteHypervisorWithContext

func (c *BackupGateway) DeleteHypervisorWithContext(ctx aws.Context, input *DeleteHypervisorInput, opts ...request.Option) (*DeleteHypervisorOutput, error)

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

See DeleteHypervisor 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 (*BackupGateway) DisassociateGatewayFromServer

DisassociateGatewayFromServer API operation for AWS Backup Gateway.

Disassociates a backup gateway from the specified server. After the disassociation process finishes, the gateway can no longer access the virtual machines on the server.

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 AWS API reference guide for AWS Backup Gateway's API operation DisassociateGatewayFromServer for usage and error information.

Returned Error Types:

  • ValidationException The operation did not succeed because a validation error occurred.

  • ConflictException The operation cannot proceed because it is not supported.

  • InternalServerException The operation did not succeed because an internal error occurred. Try again later.

  • ResourceNotFoundException A resource that is required for the action wasn't found.

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/DisassociateGatewayFromServer

func (*BackupGateway) DisassociateGatewayFromServerRequest

func (c *BackupGateway) DisassociateGatewayFromServerRequest(input *DisassociateGatewayFromServerInput) (req *request.Request, output *DisassociateGatewayFromServerOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/DisassociateGatewayFromServer

func (*BackupGateway) DisassociateGatewayFromServerWithContext

func (c *BackupGateway) DisassociateGatewayFromServerWithContext(ctx aws.Context, input *DisassociateGatewayFromServerInput, opts ...request.Option) (*DisassociateGatewayFromServerOutput, error)

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

See DisassociateGatewayFromServer 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 (*BackupGateway) GetGateway added in v1.44.26

func (c *BackupGateway) GetGateway(input *GetGatewayInput) (*GetGatewayOutput, error)

GetGateway API operation for AWS Backup Gateway.

By providing the ARN (Amazon Resource Name), this API returns the gateway.

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 AWS API reference guide for AWS Backup Gateway's API operation GetGateway for usage and error information.

Returned Error Types:

  • ValidationException The operation did not succeed because a validation error occurred.

  • InternalServerException The operation did not succeed because an internal error occurred. Try again later.

  • ResourceNotFoundException A resource that is required for the action wasn't found.

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/GetGateway

func (*BackupGateway) GetGatewayRequest added in v1.44.26

func (c *BackupGateway) GetGatewayRequest(input *GetGatewayInput) (req *request.Request, output *GetGatewayOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/GetGateway

func (*BackupGateway) GetGatewayWithContext added in v1.44.26

func (c *BackupGateway) GetGatewayWithContext(ctx aws.Context, input *GetGatewayInput, opts ...request.Option) (*GetGatewayOutput, error)

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

See GetGateway 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 (*BackupGateway) ImportHypervisorConfiguration

ImportHypervisorConfiguration API operation for AWS Backup Gateway.

Connect to a hypervisor by importing its configuration.

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 AWS API reference guide for AWS Backup Gateway's API operation ImportHypervisorConfiguration for usage and error information.

Returned Error Types:

  • ValidationException The operation did not succeed because a validation error occurred.

  • InternalServerException The operation did not succeed because an internal error occurred. Try again later.

  • AccessDeniedException The operation cannot proceed because you have insufficient permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ImportHypervisorConfiguration

func (*BackupGateway) ImportHypervisorConfigurationRequest

func (c *BackupGateway) ImportHypervisorConfigurationRequest(input *ImportHypervisorConfigurationInput) (req *request.Request, output *ImportHypervisorConfigurationOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ImportHypervisorConfiguration

func (*BackupGateway) ImportHypervisorConfigurationWithContext

func (c *BackupGateway) ImportHypervisorConfigurationWithContext(ctx aws.Context, input *ImportHypervisorConfigurationInput, opts ...request.Option) (*ImportHypervisorConfigurationOutput, error)

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

See ImportHypervisorConfiguration 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 (*BackupGateway) ListGateways

func (c *BackupGateway) ListGateways(input *ListGatewaysInput) (*ListGatewaysOutput, error)

ListGateways API operation for AWS Backup Gateway.

Lists backup gateways owned by an Amazon Web Services account in an Amazon Web Services Region. The returned list is ordered by gateway Amazon Resource Name (ARN).

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 AWS API reference guide for AWS Backup Gateway's API operation ListGateways for usage and error information.

Returned Error Types:

  • ValidationException The operation did not succeed because a validation error occurred.

  • InternalServerException The operation did not succeed because an internal error occurred. Try again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ListGateways

func (*BackupGateway) ListGatewaysPages

func (c *BackupGateway) ListGatewaysPages(input *ListGatewaysInput, fn func(*ListGatewaysOutput, bool) bool) error

ListGatewaysPages iterates over the pages of a ListGateways operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListGateways method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListGateways operation.
pageNum := 0
err := client.ListGatewaysPages(params,
    func(page *backupgateway.ListGatewaysOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*BackupGateway) ListGatewaysPagesWithContext

func (c *BackupGateway) ListGatewaysPagesWithContext(ctx aws.Context, input *ListGatewaysInput, fn func(*ListGatewaysOutput, bool) bool, opts ...request.Option) error

ListGatewaysPagesWithContext same as ListGatewaysPages except it takes a Context and allows setting request options on the pages.

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 (*BackupGateway) ListGatewaysRequest

func (c *BackupGateway) ListGatewaysRequest(input *ListGatewaysInput) (req *request.Request, output *ListGatewaysOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ListGateways

func (*BackupGateway) ListGatewaysWithContext

func (c *BackupGateway) ListGatewaysWithContext(ctx aws.Context, input *ListGatewaysInput, opts ...request.Option) (*ListGatewaysOutput, error)

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

See ListGateways 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 (*BackupGateway) ListHypervisors

func (c *BackupGateway) ListHypervisors(input *ListHypervisorsInput) (*ListHypervisorsOutput, error)

ListHypervisors API operation for AWS Backup Gateway.

Lists your hypervisors.

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 AWS API reference guide for AWS Backup Gateway's API operation ListHypervisors for usage and error information.

Returned Error Types:

  • ValidationException The operation did not succeed because a validation error occurred.

  • InternalServerException The operation did not succeed because an internal error occurred. Try again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ListHypervisors

func (*BackupGateway) ListHypervisorsPages

func (c *BackupGateway) ListHypervisorsPages(input *ListHypervisorsInput, fn func(*ListHypervisorsOutput, bool) bool) error

ListHypervisorsPages iterates over the pages of a ListHypervisors operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListHypervisors method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListHypervisors operation.
pageNum := 0
err := client.ListHypervisorsPages(params,
    func(page *backupgateway.ListHypervisorsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*BackupGateway) ListHypervisorsPagesWithContext

func (c *BackupGateway) ListHypervisorsPagesWithContext(ctx aws.Context, input *ListHypervisorsInput, fn func(*ListHypervisorsOutput, bool) bool, opts ...request.Option) error

ListHypervisorsPagesWithContext same as ListHypervisorsPages except it takes a Context and allows setting request options on the pages.

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 (*BackupGateway) ListHypervisorsRequest

func (c *BackupGateway) ListHypervisorsRequest(input *ListHypervisorsInput) (req *request.Request, output *ListHypervisorsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ListHypervisors

func (*BackupGateway) ListHypervisorsWithContext

func (c *BackupGateway) ListHypervisorsWithContext(ctx aws.Context, input *ListHypervisorsInput, opts ...request.Option) (*ListHypervisorsOutput, error)

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

See ListHypervisors 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 (*BackupGateway) ListTagsForResource

func (c *BackupGateway) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS Backup Gateway.

Lists the tags applied to the resource identified by its Amazon Resource Name (ARN).

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 AWS API reference guide for AWS Backup Gateway's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • ValidationException The operation did not succeed because a validation error occurred.

  • InternalServerException The operation did not succeed because an internal error occurred. Try again later.

  • ResourceNotFoundException A resource that is required for the action wasn't found.

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ListTagsForResource

func (*BackupGateway) ListTagsForResourceRequest

func (c *BackupGateway) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ListTagsForResource

func (*BackupGateway) ListTagsForResourceWithContext

func (c *BackupGateway) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

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

See ListTagsForResource 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 (*BackupGateway) ListVirtualMachines

func (c *BackupGateway) ListVirtualMachines(input *ListVirtualMachinesInput) (*ListVirtualMachinesOutput, error)

ListVirtualMachines API operation for AWS Backup Gateway.

Lists your virtual machines.

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 AWS API reference guide for AWS Backup Gateway's API operation ListVirtualMachines for usage and error information.

Returned Error Types:

  • ValidationException The operation did not succeed because a validation error occurred.

  • InternalServerException The operation did not succeed because an internal error occurred. Try again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ListVirtualMachines

func (*BackupGateway) ListVirtualMachinesPages

func (c *BackupGateway) ListVirtualMachinesPages(input *ListVirtualMachinesInput, fn func(*ListVirtualMachinesOutput, bool) bool) error

ListVirtualMachinesPages iterates over the pages of a ListVirtualMachines operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListVirtualMachines method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListVirtualMachines operation.
pageNum := 0
err := client.ListVirtualMachinesPages(params,
    func(page *backupgateway.ListVirtualMachinesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*BackupGateway) ListVirtualMachinesPagesWithContext

func (c *BackupGateway) ListVirtualMachinesPagesWithContext(ctx aws.Context, input *ListVirtualMachinesInput, fn func(*ListVirtualMachinesOutput, bool) bool, opts ...request.Option) error

ListVirtualMachinesPagesWithContext same as ListVirtualMachinesPages except it takes a Context and allows setting request options on the pages.

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 (*BackupGateway) ListVirtualMachinesRequest

func (c *BackupGateway) ListVirtualMachinesRequest(input *ListVirtualMachinesInput) (req *request.Request, output *ListVirtualMachinesOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ListVirtualMachines

func (*BackupGateway) ListVirtualMachinesWithContext

func (c *BackupGateway) ListVirtualMachinesWithContext(ctx aws.Context, input *ListVirtualMachinesInput, opts ...request.Option) (*ListVirtualMachinesOutput, error)

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

See ListVirtualMachines 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 (*BackupGateway) PutMaintenanceStartTime

func (c *BackupGateway) PutMaintenanceStartTime(input *PutMaintenanceStartTimeInput) (*PutMaintenanceStartTimeOutput, error)

PutMaintenanceStartTime API operation for AWS Backup Gateway.

Set the maintenance start time for a gateway.

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 AWS API reference guide for AWS Backup Gateway's API operation PutMaintenanceStartTime for usage and error information.

Returned Error Types:

  • ValidationException The operation did not succeed because a validation error occurred.

  • ConflictException The operation cannot proceed because it is not supported.

  • InternalServerException The operation did not succeed because an internal error occurred. Try again later.

  • ResourceNotFoundException A resource that is required for the action wasn't found.

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/PutMaintenanceStartTime

func (*BackupGateway) PutMaintenanceStartTimeRequest

func (c *BackupGateway) PutMaintenanceStartTimeRequest(input *PutMaintenanceStartTimeInput) (req *request.Request, output *PutMaintenanceStartTimeOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/PutMaintenanceStartTime

func (*BackupGateway) PutMaintenanceStartTimeWithContext

func (c *BackupGateway) PutMaintenanceStartTimeWithContext(ctx aws.Context, input *PutMaintenanceStartTimeInput, opts ...request.Option) (*PutMaintenanceStartTimeOutput, error)

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

See PutMaintenanceStartTime 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 (*BackupGateway) TagResource

func (c *BackupGateway) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS Backup Gateway.

Tag the resource.

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 AWS API reference guide for AWS Backup Gateway's API operation TagResource for usage and error information.

Returned Error Types:

  • ValidationException The operation did not succeed because a validation error occurred.

  • InternalServerException The operation did not succeed because an internal error occurred. Try again later.

  • ResourceNotFoundException A resource that is required for the action wasn't found.

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/TagResource

func (*BackupGateway) TagResourceRequest

func (c *BackupGateway) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/TagResource

func (*BackupGateway) TagResourceWithContext

func (c *BackupGateway) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

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

See TagResource 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 (*BackupGateway) TestHypervisorConfiguration

TestHypervisorConfiguration API operation for AWS Backup Gateway.

Tests your hypervisor configuration to validate that backup gateway can connect with the hypervisor and its resources.

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 AWS API reference guide for AWS Backup Gateway's API operation TestHypervisorConfiguration for usage and error information.

Returned Error Types:

  • ValidationException The operation did not succeed because a validation error occurred.

  • ConflictException The operation cannot proceed because it is not supported.

  • InternalServerException The operation did not succeed because an internal error occurred. Try again later.

  • ResourceNotFoundException A resource that is required for the action wasn't found.

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/TestHypervisorConfiguration

func (*BackupGateway) TestHypervisorConfigurationRequest

func (c *BackupGateway) TestHypervisorConfigurationRequest(input *TestHypervisorConfigurationInput) (req *request.Request, output *TestHypervisorConfigurationOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/TestHypervisorConfiguration

func (*BackupGateway) TestHypervisorConfigurationWithContext

func (c *BackupGateway) TestHypervisorConfigurationWithContext(ctx aws.Context, input *TestHypervisorConfigurationInput, opts ...request.Option) (*TestHypervisorConfigurationOutput, error)

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

See TestHypervisorConfiguration 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 (*BackupGateway) UntagResource

func (c *BackupGateway) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS Backup Gateway.

Removes tags from the resource.

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 AWS API reference guide for AWS Backup Gateway's API operation UntagResource for usage and error information.

Returned Error Types:

  • ValidationException The operation did not succeed because a validation error occurred.

  • InternalServerException The operation did not succeed because an internal error occurred. Try again later.

  • ResourceNotFoundException A resource that is required for the action wasn't found.

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UntagResource

func (*BackupGateway) UntagResourceRequest

func (c *BackupGateway) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UntagResource

func (*BackupGateway) UntagResourceWithContext

func (c *BackupGateway) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

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

See UntagResource 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 (*BackupGateway) UpdateGatewayInformation

func (c *BackupGateway) UpdateGatewayInformation(input *UpdateGatewayInformationInput) (*UpdateGatewayInformationOutput, error)

UpdateGatewayInformation API operation for AWS Backup Gateway.

Updates a gateway's name. Specify which gateway to update using the Amazon Resource Name (ARN) of the gateway in your request.

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 AWS API reference guide for AWS Backup Gateway's API operation UpdateGatewayInformation for usage and error information.

Returned Error Types:

  • ValidationException The operation did not succeed because a validation error occurred.

  • ConflictException The operation cannot proceed because it is not supported.

  • InternalServerException The operation did not succeed because an internal error occurred. Try again later.

  • ResourceNotFoundException A resource that is required for the action wasn't found.

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UpdateGatewayInformation

func (*BackupGateway) UpdateGatewayInformationRequest

func (c *BackupGateway) UpdateGatewayInformationRequest(input *UpdateGatewayInformationInput) (req *request.Request, output *UpdateGatewayInformationOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UpdateGatewayInformation

func (*BackupGateway) UpdateGatewayInformationWithContext

func (c *BackupGateway) UpdateGatewayInformationWithContext(ctx aws.Context, input *UpdateGatewayInformationInput, opts ...request.Option) (*UpdateGatewayInformationOutput, error)

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

See UpdateGatewayInformation 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 (*BackupGateway) UpdateGatewaySoftwareNow added in v1.44.26

func (c *BackupGateway) UpdateGatewaySoftwareNow(input *UpdateGatewaySoftwareNowInput) (*UpdateGatewaySoftwareNowOutput, error)

UpdateGatewaySoftwareNow API operation for AWS Backup Gateway.

Updates the gateway virtual machine (VM) software. The request immediately triggers the software update.

When you make this request, you get a 200 OK success response immediately. However, it might take some time for the update to complete.

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 AWS API reference guide for AWS Backup Gateway's API operation UpdateGatewaySoftwareNow for usage and error information.

Returned Error Types:

  • ValidationException The operation did not succeed because a validation error occurred.

  • InternalServerException The operation did not succeed because an internal error occurred. Try again later.

  • ResourceNotFoundException A resource that is required for the action wasn't found.

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UpdateGatewaySoftwareNow

func (*BackupGateway) UpdateGatewaySoftwareNowRequest added in v1.44.26

func (c *BackupGateway) UpdateGatewaySoftwareNowRequest(input *UpdateGatewaySoftwareNowInput) (req *request.Request, output *UpdateGatewaySoftwareNowOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UpdateGatewaySoftwareNow

func (*BackupGateway) UpdateGatewaySoftwareNowWithContext added in v1.44.26

func (c *BackupGateway) UpdateGatewaySoftwareNowWithContext(ctx aws.Context, input *UpdateGatewaySoftwareNowInput, opts ...request.Option) (*UpdateGatewaySoftwareNowOutput, error)

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

See UpdateGatewaySoftwareNow 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 (*BackupGateway) UpdateHypervisor

func (c *BackupGateway) UpdateHypervisor(input *UpdateHypervisorInput) (*UpdateHypervisorOutput, error)

UpdateHypervisor API operation for AWS Backup Gateway.

Updates a hypervisor metadata, including its host, username, and password. Specify which hypervisor to update using the Amazon Resource Name (ARN) of the hypervisor in your request.

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 AWS API reference guide for AWS Backup Gateway's API operation UpdateHypervisor for usage and error information.

Returned Error Types:

  • ValidationException The operation did not succeed because a validation error occurred.

  • InternalServerException The operation did not succeed because an internal error occurred. Try again later.

  • AccessDeniedException The operation cannot proceed because you have insufficient permissions.

  • ResourceNotFoundException A resource that is required for the action wasn't found.

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UpdateHypervisor

func (*BackupGateway) UpdateHypervisorRequest

func (c *BackupGateway) UpdateHypervisorRequest(input *UpdateHypervisorInput) (req *request.Request, output *UpdateHypervisorOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UpdateHypervisor

func (*BackupGateway) UpdateHypervisorWithContext

func (c *BackupGateway) UpdateHypervisorWithContext(ctx aws.Context, input *UpdateHypervisorInput, opts ...request.Option) (*UpdateHypervisorOutput, error)

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

See UpdateHypervisor 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.

type ConflictException

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// A description of why the operation is not supported.
	//
	// ErrorCode is a required field
	ErrorCode *string `type:"string" required:"true"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The operation cannot proceed because it is not supported.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateGatewayInput

type CreateGatewayInput struct {

	// The activation key of the created gateway.
	//
	// ActivationKey is a required field
	ActivationKey *string `min:"1" type:"string" required:"true"`

	// The display name of the created gateway.
	//
	// GatewayDisplayName is a required field
	GatewayDisplayName *string `min:"1" type:"string" required:"true"`

	// The type of created gateway.
	//
	// GatewayType is a required field
	GatewayType *string `type:"string" required:"true" enum:"GatewayType"`

	// A list of up to 50 tags to assign to the gateway. Each tag is a key-value
	// pair.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateGatewayInput) GoString

func (s CreateGatewayInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateGatewayInput) SetActivationKey

func (s *CreateGatewayInput) SetActivationKey(v string) *CreateGatewayInput

SetActivationKey sets the ActivationKey field's value.

func (*CreateGatewayInput) SetGatewayDisplayName

func (s *CreateGatewayInput) SetGatewayDisplayName(v string) *CreateGatewayInput

SetGatewayDisplayName sets the GatewayDisplayName field's value.

func (*CreateGatewayInput) SetGatewayType

func (s *CreateGatewayInput) SetGatewayType(v string) *CreateGatewayInput

SetGatewayType sets the GatewayType field's value.

func (*CreateGatewayInput) SetTags

func (s *CreateGatewayInput) SetTags(v []*Tag) *CreateGatewayInput

SetTags sets the Tags field's value.

func (CreateGatewayInput) String

func (s CreateGatewayInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateGatewayInput) Validate

func (s *CreateGatewayInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateGatewayOutput

type CreateGatewayOutput struct {

	// The Amazon Resource Name (ARN) of the gateway you create.
	GatewayArn *string `min:"50" type:"string"`
	// contains filtered or unexported fields
}

func (CreateGatewayOutput) GoString

func (s CreateGatewayOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateGatewayOutput) SetGatewayArn

func (s *CreateGatewayOutput) SetGatewayArn(v string) *CreateGatewayOutput

SetGatewayArn sets the GatewayArn field's value.

func (CreateGatewayOutput) String

func (s CreateGatewayOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteGatewayInput

type DeleteGatewayInput struct {

	// The Amazon Resource Name (ARN) of the gateway to delete.
	//
	// GatewayArn is a required field
	GatewayArn *string `min:"50" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteGatewayInput) GoString

func (s DeleteGatewayInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteGatewayInput) SetGatewayArn

func (s *DeleteGatewayInput) SetGatewayArn(v string) *DeleteGatewayInput

SetGatewayArn sets the GatewayArn field's value.

func (DeleteGatewayInput) String

func (s DeleteGatewayInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteGatewayInput) Validate

func (s *DeleteGatewayInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteGatewayOutput

type DeleteGatewayOutput struct {

	// The Amazon Resource Name (ARN) of the gateway you deleted.
	GatewayArn *string `min:"50" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteGatewayOutput) GoString

func (s DeleteGatewayOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteGatewayOutput) SetGatewayArn

func (s *DeleteGatewayOutput) SetGatewayArn(v string) *DeleteGatewayOutput

SetGatewayArn sets the GatewayArn field's value.

func (DeleteGatewayOutput) String

func (s DeleteGatewayOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteHypervisorInput

type DeleteHypervisorInput struct {

	// The Amazon Resource Name (ARN) of the hypervisor to delete.
	//
	// HypervisorArn is a required field
	HypervisorArn *string `min:"50" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteHypervisorInput) GoString

func (s DeleteHypervisorInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteHypervisorInput) SetHypervisorArn

func (s *DeleteHypervisorInput) SetHypervisorArn(v string) *DeleteHypervisorInput

SetHypervisorArn sets the HypervisorArn field's value.

func (DeleteHypervisorInput) String

func (s DeleteHypervisorInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteHypervisorInput) Validate

func (s *DeleteHypervisorInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteHypervisorOutput

type DeleteHypervisorOutput struct {

	// The Amazon Resource Name (ARN) of the hypervisor you deleted.
	HypervisorArn *string `min:"50" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteHypervisorOutput) GoString

func (s DeleteHypervisorOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteHypervisorOutput) SetHypervisorArn

func (s *DeleteHypervisorOutput) SetHypervisorArn(v string) *DeleteHypervisorOutput

SetHypervisorArn sets the HypervisorArn field's value.

func (DeleteHypervisorOutput) String

func (s DeleteHypervisorOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisassociateGatewayFromServerInput

type DisassociateGatewayFromServerInput struct {

	// The Amazon Resource Name (ARN) of the gateway to disassociate.
	//
	// GatewayArn is a required field
	GatewayArn *string `min:"50" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateGatewayFromServerInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateGatewayFromServerInput) SetGatewayArn

SetGatewayArn sets the GatewayArn field's value.

func (DisassociateGatewayFromServerInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateGatewayFromServerInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DisassociateGatewayFromServerOutput

type DisassociateGatewayFromServerOutput struct {

	// The Amazon Resource Name (ARN) of the gateway you disassociated.
	GatewayArn *string `min:"50" type:"string"`
	// contains filtered or unexported fields
}

func (DisassociateGatewayFromServerOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateGatewayFromServerOutput) SetGatewayArn

SetGatewayArn sets the GatewayArn field's value.

func (DisassociateGatewayFromServerOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Gateway

type Gateway struct {

	// The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation
	// to return a list of gateways for your account and Amazon Web Services Region.
	GatewayArn *string `min:"50" type:"string"`

	// The display name of the gateway.
	GatewayDisplayName *string `min:"1" type:"string"`

	// The type of the gateway.
	GatewayType *string `type:"string" enum:"GatewayType"`

	// The hypervisor ID of the gateway.
	HypervisorId *string `min:"1" type:"string"`

	// The last time Backup gateway communicated with the gateway, in Unix format
	// and UTC time.
	LastSeenTime *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

A gateway is an Backup Gateway appliance that runs on the customer's network to provide seamless connectivity to backup storage in the Amazon Web Services Cloud.

func (Gateway) GoString

func (s Gateway) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Gateway) SetGatewayArn

func (s *Gateway) SetGatewayArn(v string) *Gateway

SetGatewayArn sets the GatewayArn field's value.

func (*Gateway) SetGatewayDisplayName

func (s *Gateway) SetGatewayDisplayName(v string) *Gateway

SetGatewayDisplayName sets the GatewayDisplayName field's value.

func (*Gateway) SetGatewayType

func (s *Gateway) SetGatewayType(v string) *Gateway

SetGatewayType sets the GatewayType field's value.

func (*Gateway) SetHypervisorId

func (s *Gateway) SetHypervisorId(v string) *Gateway

SetHypervisorId sets the HypervisorId field's value.

func (*Gateway) SetLastSeenTime

func (s *Gateway) SetLastSeenTime(v time.Time) *Gateway

SetLastSeenTime sets the LastSeenTime field's value.

func (Gateway) String

func (s Gateway) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GatewayDetails added in v1.44.26

type GatewayDetails struct {

	// The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation
	// to return a list of gateways for your account and Amazon Web Services Region.
	GatewayArn *string `min:"50" type:"string"`

	// The display name of the gateway.
	GatewayDisplayName *string `min:"1" type:"string"`

	// The type of the gateway type.
	GatewayType *string `type:"string" enum:"GatewayType"`

	// The hypervisor ID of the gateway.
	HypervisorId *string `min:"1" type:"string"`

	// Details showing the last time Backup gateway communicated with the cloud,
	// in Unix format and UTC time.
	LastSeenTime *time.Time `type:"timestamp"`

	// Details showing the next update availability time of the gateway.
	NextUpdateAvailabilityTime *time.Time `type:"timestamp"`

	// The DNS name for the virtual private cloud (VPC) endpoint the gateway uses
	// to connect to the cloud for backup gateway.
	VpcEndpoint *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The details of gateway.

func (GatewayDetails) GoString added in v1.44.26

func (s GatewayDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GatewayDetails) SetGatewayArn added in v1.44.26

func (s *GatewayDetails) SetGatewayArn(v string) *GatewayDetails

SetGatewayArn sets the GatewayArn field's value.

func (*GatewayDetails) SetGatewayDisplayName added in v1.44.26

func (s *GatewayDetails) SetGatewayDisplayName(v string) *GatewayDetails

SetGatewayDisplayName sets the GatewayDisplayName field's value.

func (*GatewayDetails) SetGatewayType added in v1.44.26

func (s *GatewayDetails) SetGatewayType(v string) *GatewayDetails

SetGatewayType sets the GatewayType field's value.

func (*GatewayDetails) SetHypervisorId added in v1.44.26

func (s *GatewayDetails) SetHypervisorId(v string) *GatewayDetails

SetHypervisorId sets the HypervisorId field's value.

func (*GatewayDetails) SetLastSeenTime added in v1.44.26

func (s *GatewayDetails) SetLastSeenTime(v time.Time) *GatewayDetails

SetLastSeenTime sets the LastSeenTime field's value.

func (*GatewayDetails) SetNextUpdateAvailabilityTime added in v1.44.26

func (s *GatewayDetails) SetNextUpdateAvailabilityTime(v time.Time) *GatewayDetails

SetNextUpdateAvailabilityTime sets the NextUpdateAvailabilityTime field's value.

func (*GatewayDetails) SetVpcEndpoint added in v1.44.26

func (s *GatewayDetails) SetVpcEndpoint(v string) *GatewayDetails

SetVpcEndpoint sets the VpcEndpoint field's value.

func (GatewayDetails) String added in v1.44.26

func (s GatewayDetails) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetGatewayInput added in v1.44.26

type GetGatewayInput struct {

	// The Amazon Resource Name (ARN) of the gateway.
	//
	// GatewayArn is a required field
	GatewayArn *string `min:"50" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetGatewayInput) GoString added in v1.44.26

func (s GetGatewayInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetGatewayInput) SetGatewayArn added in v1.44.26

func (s *GetGatewayInput) SetGatewayArn(v string) *GetGatewayInput

SetGatewayArn sets the GatewayArn field's value.

func (GetGatewayInput) String added in v1.44.26

func (s GetGatewayInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetGatewayInput) Validate added in v1.44.26

func (s *GetGatewayInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetGatewayOutput added in v1.44.26

type GetGatewayOutput struct {

	// By providing the ARN (Amazon Resource Name), this API returns the gateway.
	Gateway *GatewayDetails `type:"structure"`
	// contains filtered or unexported fields
}

func (GetGatewayOutput) GoString added in v1.44.26

func (s GetGatewayOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetGatewayOutput) SetGateway added in v1.44.26

SetGateway sets the Gateway field's value.

func (GetGatewayOutput) String added in v1.44.26

func (s GetGatewayOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Hypervisor

type Hypervisor struct {

	// The server host of the hypervisor. This can be either an IP address or a
	// fully-qualified domain name (FQDN).
	Host *string `min:"3" type:"string"`

	// The Amazon Resource Name (ARN) of the hypervisor.
	HypervisorArn *string `min:"50" type:"string"`

	// The Amazon Resource Name (ARN) of the Key Management Service used to encrypt
	// the hypervisor.
	KmsKeyArn *string `min:"50" type:"string"`

	// The name of the hypervisor.
	Name *string `min:"1" type:"string"`

	// The state of the hypervisor.
	State *string `type:"string" enum:"HypervisorState"`
	// contains filtered or unexported fields
}

Represents the hypervisor's permissions to which the gateway will connect.

A hypervisor is hardware, software, or firmware that creates and manages virtual machines, and allocates resources to them.

func (Hypervisor) GoString

func (s Hypervisor) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Hypervisor) SetHost

func (s *Hypervisor) SetHost(v string) *Hypervisor

SetHost sets the Host field's value.

func (*Hypervisor) SetHypervisorArn

func (s *Hypervisor) SetHypervisorArn(v string) *Hypervisor

SetHypervisorArn sets the HypervisorArn field's value.

func (*Hypervisor) SetKmsKeyArn

func (s *Hypervisor) SetKmsKeyArn(v string) *Hypervisor

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*Hypervisor) SetName

func (s *Hypervisor) SetName(v string) *Hypervisor

SetName sets the Name field's value.

func (*Hypervisor) SetState

func (s *Hypervisor) SetState(v string) *Hypervisor

SetState sets the State field's value.

func (Hypervisor) String

func (s Hypervisor) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ImportHypervisorConfigurationInput

type ImportHypervisorConfigurationInput struct {

	// The server host of the hypervisor. This can be either an IP address or a
	// fully-qualified domain name (FQDN).
	//
	// Host is a required field
	Host *string `min:"3" type:"string" required:"true"`

	// The Key Management Service for the hypervisor.
	KmsKeyArn *string `min:"50" type:"string"`

	// The name of the hypervisor.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// The password for the hypervisor.
	//
	// Password is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ImportHypervisorConfigurationInput's
	// String and GoString methods.
	Password *string `min:"1" type:"string" sensitive:"true"`

	// The tags of the hypervisor configuration to import.
	Tags []*Tag `type:"list"`

	// The username for the hypervisor.
	//
	// Username is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ImportHypervisorConfigurationInput's
	// String and GoString methods.
	Username *string `min:"1" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (ImportHypervisorConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImportHypervisorConfigurationInput) SetHost

SetHost sets the Host field's value.

func (*ImportHypervisorConfigurationInput) SetKmsKeyArn

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*ImportHypervisorConfigurationInput) SetName

SetName sets the Name field's value.

func (*ImportHypervisorConfigurationInput) SetPassword

SetPassword sets the Password field's value.

func (*ImportHypervisorConfigurationInput) SetTags

SetTags sets the Tags field's value.

func (*ImportHypervisorConfigurationInput) SetUsername

SetUsername sets the Username field's value.

func (ImportHypervisorConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImportHypervisorConfigurationInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ImportHypervisorConfigurationOutput

type ImportHypervisorConfigurationOutput struct {

	// The Amazon Resource Name (ARN) of the hypervisor you disassociated.
	HypervisorArn *string `min:"50" type:"string"`
	// contains filtered or unexported fields
}

func (ImportHypervisorConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImportHypervisorConfigurationOutput) SetHypervisorArn

SetHypervisorArn sets the HypervisorArn field's value.

func (ImportHypervisorConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServerException

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// A description of which internal error occured.
	ErrorCode *string `type:"string"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The operation did not succeed because an internal error occurred. Try again later.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListGatewaysInput

type ListGatewaysInput struct {

	// The maximum number of gateways to list.
	MaxResults *int64 `min:"1" type:"integer"`

	// The next item following a partial list of returned resources. For example,
	// if a request is made to return MaxResults number of resources, NextToken
	// allows you to return more items in your list starting at the location pointed
	// to by the next token.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListGatewaysInput) GoString

func (s ListGatewaysInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListGatewaysInput) SetMaxResults

func (s *ListGatewaysInput) SetMaxResults(v int64) *ListGatewaysInput

SetMaxResults sets the MaxResults field's value.

func (*ListGatewaysInput) SetNextToken

func (s *ListGatewaysInput) SetNextToken(v string) *ListGatewaysInput

SetNextToken sets the NextToken field's value.

func (ListGatewaysInput) String

func (s ListGatewaysInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListGatewaysInput) Validate

func (s *ListGatewaysInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListGatewaysOutput

type ListGatewaysOutput struct {

	// A list of your gateways.
	Gateways []*Gateway `type:"list"`

	// The next item following a partial list of returned resources. For example,
	// if a request is made to return maxResults number of resources, NextToken
	// allows you to return more items in your list starting at the location pointed
	// to by the next token.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListGatewaysOutput) GoString

func (s ListGatewaysOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListGatewaysOutput) SetGateways

func (s *ListGatewaysOutput) SetGateways(v []*Gateway) *ListGatewaysOutput

SetGateways sets the Gateways field's value.

func (*ListGatewaysOutput) SetNextToken

func (s *ListGatewaysOutput) SetNextToken(v string) *ListGatewaysOutput

SetNextToken sets the NextToken field's value.

func (ListGatewaysOutput) String

func (s ListGatewaysOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListHypervisorsInput

type ListHypervisorsInput struct {

	// The maximum number of hypervisors to list.
	MaxResults *int64 `min:"1" type:"integer"`

	// The next item following a partial list of returned resources. For example,
	// if a request is made to return maxResults number of resources, NextToken
	// allows you to return more items in your list starting at the location pointed
	// to by the next token.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListHypervisorsInput) GoString

func (s ListHypervisorsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListHypervisorsInput) SetMaxResults

func (s *ListHypervisorsInput) SetMaxResults(v int64) *ListHypervisorsInput

SetMaxResults sets the MaxResults field's value.

func (*ListHypervisorsInput) SetNextToken

func (s *ListHypervisorsInput) SetNextToken(v string) *ListHypervisorsInput

SetNextToken sets the NextToken field's value.

func (ListHypervisorsInput) String

func (s ListHypervisorsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListHypervisorsInput) Validate

func (s *ListHypervisorsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListHypervisorsOutput

type ListHypervisorsOutput struct {

	// A list of your Hypervisor objects, ordered by their Amazon Resource Names
	// (ARNs).
	Hypervisors []*Hypervisor `type:"list"`

	// The next item following a partial list of returned resources. For example,
	// if a request is made to return maxResults number of resources, NextToken
	// allows you to return more items in your list starting at the location pointed
	// to by the next token.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListHypervisorsOutput) GoString

func (s ListHypervisorsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListHypervisorsOutput) SetHypervisors

func (s *ListHypervisorsOutput) SetHypervisors(v []*Hypervisor) *ListHypervisorsOutput

SetHypervisors sets the Hypervisors field's value.

func (*ListHypervisorsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListHypervisorsOutput) String

func (s ListHypervisorsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource's tags to list.
	//
	// ResourceArn is a required field
	ResourceArn *string `min:"50" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The Amazon Resource Name (ARN) of the resource's tags that you listed.
	ResourceArn *string `min:"50" type:"string"`

	// A list of the resource's tags.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListVirtualMachinesInput

type ListVirtualMachinesInput struct {

	// The maximum number of virtual machines to list.
	MaxResults *int64 `min:"1" type:"integer"`

	// The next item following a partial list of returned resources. For example,
	// if a request is made to return maxResults number of resources, NextToken
	// allows you to return more items in your list starting at the location pointed
	// to by the next token.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListVirtualMachinesInput) GoString

func (s ListVirtualMachinesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListVirtualMachinesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListVirtualMachinesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListVirtualMachinesInput) String

func (s ListVirtualMachinesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListVirtualMachinesInput) Validate

func (s *ListVirtualMachinesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListVirtualMachinesOutput

type ListVirtualMachinesOutput struct {

	// The next item following a partial list of returned resources. For example,
	// if a request is made to return maxResults number of resources, NextToken
	// allows you to return more items in your list starting at the location pointed
	// to by the next token.
	NextToken *string `min:"1" type:"string"`

	// A list of your VirtualMachine objects, ordered by their Amazon Resource Names
	// (ARNs).
	VirtualMachines []*VirtualMachine `type:"list"`
	// contains filtered or unexported fields
}

func (ListVirtualMachinesOutput) GoString

func (s ListVirtualMachinesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListVirtualMachinesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListVirtualMachinesOutput) SetVirtualMachines

SetVirtualMachines sets the VirtualMachines field's value.

func (ListVirtualMachinesOutput) String

func (s ListVirtualMachinesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutMaintenanceStartTimeInput

type PutMaintenanceStartTimeInput struct {

	// The day of the month start maintenance on a gateway.
	//
	// Valid values range from Sunday to Saturday.
	DayOfMonth *int64 `min:"1" type:"integer"`

	// The day of the week to start maintenance on a gateway.
	DayOfWeek *int64 `type:"integer"`

	// The Amazon Resource Name (ARN) for the gateway, used to specify its maintenance
	// start time.
	//
	// GatewayArn is a required field
	GatewayArn *string `min:"50" type:"string" required:"true"`

	// The hour of the day to start maintenance on a gateway.
	//
	// HourOfDay is a required field
	HourOfDay *int64 `type:"integer" required:"true"`

	// The minute of the hour to start maintenance on a gateway.
	//
	// MinuteOfHour is a required field
	MinuteOfHour *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

func (PutMaintenanceStartTimeInput) GoString

func (s PutMaintenanceStartTimeInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutMaintenanceStartTimeInput) SetDayOfMonth

SetDayOfMonth sets the DayOfMonth field's value.

func (*PutMaintenanceStartTimeInput) SetDayOfWeek

SetDayOfWeek sets the DayOfWeek field's value.

func (*PutMaintenanceStartTimeInput) SetGatewayArn

SetGatewayArn sets the GatewayArn field's value.

func (*PutMaintenanceStartTimeInput) SetHourOfDay

SetHourOfDay sets the HourOfDay field's value.

func (*PutMaintenanceStartTimeInput) SetMinuteOfHour

SetMinuteOfHour sets the MinuteOfHour field's value.

func (PutMaintenanceStartTimeInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutMaintenanceStartTimeInput) Validate

func (s *PutMaintenanceStartTimeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutMaintenanceStartTimeOutput

type PutMaintenanceStartTimeOutput struct {

	// The Amazon Resource Name (ARN) of a gateway for which you set the maintenance
	// start time.
	GatewayArn *string `min:"50" type:"string"`
	// contains filtered or unexported fields
}

func (PutMaintenanceStartTimeOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutMaintenanceStartTimeOutput) SetGatewayArn

SetGatewayArn sets the GatewayArn field's value.

func (PutMaintenanceStartTimeOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceNotFoundException

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// A description of which resource wasn't found.
	ErrorCode *string `type:"string"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

A resource that is required for the action wasn't found.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Tag

type Tag struct {

	// The key part of a tag's key-value pair. The key can't start with aws:.
	//
	// Key is a required field
	Key *string `min:"1" type:"string" required:"true"`

	// The value part of a tag's key-value pair.
	//
	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

A key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters, numbers, spaces, and the following characters: + - = . _ : /.

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) SetKey

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) Validate

func (s *Tag) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to tag.
	//
	// ResourceARN is a required field
	ResourceARN *string `min:"50" type:"string" required:"true"`

	// A list of tags to assign to the resource.
	//
	// Tags is a required field
	Tags []*Tag `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetResourceARN

func (s *TagResourceInput) SetResourceARN(v string) *TagResourceInput

SetResourceARN sets the ResourceARN field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {

	// The Amazon Resource Name (ARN) of the resource you tagged.
	ResourceARN *string `min:"50" type:"string"`
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceOutput) SetResourceARN

func (s *TagResourceOutput) SetResourceARN(v string) *TagResourceOutput

SetResourceARN sets the ResourceARN field's value.

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TestHypervisorConfigurationInput

type TestHypervisorConfigurationInput struct {

	// The Amazon Resource Name (ARN) of the gateway to the hypervisor to test.
	//
	// GatewayArn is a required field
	GatewayArn *string `min:"50" type:"string" required:"true"`

	// The server host of the hypervisor. This can be either an IP address or a
	// fully-qualified domain name (FQDN).
	//
	// Host is a required field
	Host *string `min:"3" type:"string" required:"true"`

	// The password for the hypervisor.
	//
	// Password is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by TestHypervisorConfigurationInput's
	// String and GoString methods.
	Password *string `min:"1" type:"string" sensitive:"true"`

	// The username for the hypervisor.
	//
	// Username is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by TestHypervisorConfigurationInput's
	// String and GoString methods.
	Username *string `min:"1" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (TestHypervisorConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestHypervisorConfigurationInput) SetGatewayArn

SetGatewayArn sets the GatewayArn field's value.

func (*TestHypervisorConfigurationInput) SetHost

SetHost sets the Host field's value.

func (*TestHypervisorConfigurationInput) SetPassword

SetPassword sets the Password field's value.

func (*TestHypervisorConfigurationInput) SetUsername

SetUsername sets the Username field's value.

func (TestHypervisorConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TestHypervisorConfigurationInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type TestHypervisorConfigurationOutput

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

func (TestHypervisorConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TestHypervisorConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource from which to remove tags.
	//
	// ResourceARN is a required field
	ResourceARN *string `min:"50" type:"string" required:"true"`

	// The list of tag keys specifying which tags to remove.
	//
	// TagKeys is a required field
	TagKeys []*string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetResourceARN

func (s *UntagResourceInput) SetResourceARN(v string) *UntagResourceInput

SetResourceARN sets the ResourceARN field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {

	// The Amazon Resource Name (ARN) of the resource from which you removed tags.
	ResourceARN *string `min:"50" type:"string"`
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceOutput) SetResourceARN

func (s *UntagResourceOutput) SetResourceARN(v string) *UntagResourceOutput

SetResourceARN sets the ResourceARN field's value.

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateGatewayInformationInput

type UpdateGatewayInformationInput struct {

	// The Amazon Resource Name (ARN) of the gateway to update.
	//
	// GatewayArn is a required field
	GatewayArn *string `min:"50" type:"string" required:"true"`

	// The updated display name of the gateway.
	GatewayDisplayName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateGatewayInformationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateGatewayInformationInput) SetGatewayArn

SetGatewayArn sets the GatewayArn field's value.

func (*UpdateGatewayInformationInput) SetGatewayDisplayName

SetGatewayDisplayName sets the GatewayDisplayName field's value.

func (UpdateGatewayInformationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateGatewayInformationInput) Validate

func (s *UpdateGatewayInformationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateGatewayInformationOutput

type UpdateGatewayInformationOutput struct {

	// The Amazon Resource Name (ARN) of the gateway you updated.
	GatewayArn *string `min:"50" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateGatewayInformationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateGatewayInformationOutput) SetGatewayArn

SetGatewayArn sets the GatewayArn field's value.

func (UpdateGatewayInformationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateGatewaySoftwareNowInput added in v1.44.26

type UpdateGatewaySoftwareNowInput struct {

	// The Amazon Resource Name (ARN) of the gateway to be updated.
	//
	// GatewayArn is a required field
	GatewayArn *string `min:"50" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateGatewaySoftwareNowInput) GoString added in v1.44.26

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateGatewaySoftwareNowInput) SetGatewayArn added in v1.44.26

SetGatewayArn sets the GatewayArn field's value.

func (UpdateGatewaySoftwareNowInput) String added in v1.44.26

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateGatewaySoftwareNowInput) Validate added in v1.44.26

func (s *UpdateGatewaySoftwareNowInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateGatewaySoftwareNowOutput added in v1.44.26

type UpdateGatewaySoftwareNowOutput struct {

	// The Amazon Resource Name (ARN) of the gateway you updated.
	GatewayArn *string `min:"50" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateGatewaySoftwareNowOutput) GoString added in v1.44.26

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateGatewaySoftwareNowOutput) SetGatewayArn added in v1.44.26

SetGatewayArn sets the GatewayArn field's value.

func (UpdateGatewaySoftwareNowOutput) String added in v1.44.26

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateHypervisorInput

type UpdateHypervisorInput struct {

	// The updated host of the hypervisor. This can be either an IP address or a
	// fully-qualified domain name (FQDN).
	Host *string `min:"3" type:"string"`

	// The Amazon Resource Name (ARN) of the hypervisor to update.
	//
	// HypervisorArn is a required field
	HypervisorArn *string `min:"50" type:"string" required:"true"`

	// The updated name for the hypervisor
	Name *string `min:"1" type:"string"`

	// The updated password for the hypervisor.
	//
	// Password is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateHypervisorInput's
	// String and GoString methods.
	Password *string `min:"1" type:"string" sensitive:"true"`

	// The updated username for the hypervisor.
	//
	// Username is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateHypervisorInput's
	// String and GoString methods.
	Username *string `min:"1" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (UpdateHypervisorInput) GoString

func (s UpdateHypervisorInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateHypervisorInput) SetHost

SetHost sets the Host field's value.

func (*UpdateHypervisorInput) SetHypervisorArn

func (s *UpdateHypervisorInput) SetHypervisorArn(v string) *UpdateHypervisorInput

SetHypervisorArn sets the HypervisorArn field's value.

func (*UpdateHypervisorInput) SetName added in v1.44.26

SetName sets the Name field's value.

func (*UpdateHypervisorInput) SetPassword

SetPassword sets the Password field's value.

func (*UpdateHypervisorInput) SetUsername

SetUsername sets the Username field's value.

func (UpdateHypervisorInput) String

func (s UpdateHypervisorInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateHypervisorInput) Validate

func (s *UpdateHypervisorInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateHypervisorOutput

type UpdateHypervisorOutput struct {

	// The Amazon Resource Name (ARN) of the hypervisor you updated.
	HypervisorArn *string `min:"50" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateHypervisorOutput) GoString

func (s UpdateHypervisorOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateHypervisorOutput) SetHypervisorArn

func (s *UpdateHypervisorOutput) SetHypervisorArn(v string) *UpdateHypervisorOutput

SetHypervisorArn sets the HypervisorArn field's value.

func (UpdateHypervisorOutput) String

func (s UpdateHypervisorOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationException

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// A description of what caused the validation error.
	ErrorCode *string `type:"string"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The operation did not succeed because a validation error occurred.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type VirtualMachine

type VirtualMachine struct {

	// The host name of the virtual machine.
	HostName *string `min:"1" type:"string"`

	// The ID of the virtual machine's hypervisor.
	HypervisorId *string `type:"string"`

	// The most recent date a virtual machine was backed up, in Unix format and
	// UTC time.
	LastBackupDate *time.Time `type:"timestamp"`

	// The name of the virtual machine.
	Name *string `min:"1" type:"string"`

	// The path of the virtual machine.
	Path *string `min:"1" type:"string"`

	// The Amazon Resource Name (ARN) of the virtual machine. For example, arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL.
	ResourceArn *string `min:"50" type:"string"`
	// contains filtered or unexported fields
}

A virtual machine that is on a hypervisor.

func (VirtualMachine) GoString

func (s VirtualMachine) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VirtualMachine) SetHostName

func (s *VirtualMachine) SetHostName(v string) *VirtualMachine

SetHostName sets the HostName field's value.

func (*VirtualMachine) SetHypervisorId

func (s *VirtualMachine) SetHypervisorId(v string) *VirtualMachine

SetHypervisorId sets the HypervisorId field's value.

func (*VirtualMachine) SetLastBackupDate

func (s *VirtualMachine) SetLastBackupDate(v time.Time) *VirtualMachine

SetLastBackupDate sets the LastBackupDate field's value.

func (*VirtualMachine) SetName

func (s *VirtualMachine) SetName(v string) *VirtualMachine

SetName sets the Name field's value.

func (*VirtualMachine) SetPath

func (s *VirtualMachine) SetPath(v string) *VirtualMachine

SetPath sets the Path field's value.

func (*VirtualMachine) SetResourceArn

func (s *VirtualMachine) SetResourceArn(v string) *VirtualMachine

SetResourceArn sets the ResourceArn field's value.

func (VirtualMachine) String

func (s VirtualMachine) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

Path Synopsis
Package backupgatewayiface provides an interface to enable mocking the AWS Backup Gateway service client for testing your code.
Package backupgatewayiface provides an interface to enable mocking the AWS Backup Gateway service client for testing your code.

Jump to

Keyboard shortcuts

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