Documentation
¶
Overview ¶
Package backupgateway provides the API client, operations, and parameter types for AWS Backup Gateway.
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.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- type AssociateGatewayToServerInput
- type AssociateGatewayToServerOutput
- type Client
- func (c *Client) AssociateGatewayToServer(ctx context.Context, params *AssociateGatewayToServerInput, ...) (*AssociateGatewayToServerOutput, error)
- func (c *Client) CreateGateway(ctx context.Context, params *CreateGatewayInput, optFns ...func(*Options)) (*CreateGatewayOutput, error)
- func (c *Client) DeleteGateway(ctx context.Context, params *DeleteGatewayInput, optFns ...func(*Options)) (*DeleteGatewayOutput, error)
- func (c *Client) DeleteHypervisor(ctx context.Context, params *DeleteHypervisorInput, optFns ...func(*Options)) (*DeleteHypervisorOutput, error)
- func (c *Client) DisassociateGatewayFromServer(ctx context.Context, params *DisassociateGatewayFromServerInput, ...) (*DisassociateGatewayFromServerOutput, error)
- func (c *Client) ImportHypervisorConfiguration(ctx context.Context, params *ImportHypervisorConfigurationInput, ...) (*ImportHypervisorConfigurationOutput, error)
- func (c *Client) ListGateways(ctx context.Context, params *ListGatewaysInput, optFns ...func(*Options)) (*ListGatewaysOutput, error)
- func (c *Client) ListHypervisors(ctx context.Context, params *ListHypervisorsInput, optFns ...func(*Options)) (*ListHypervisorsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) ListVirtualMachines(ctx context.Context, params *ListVirtualMachinesInput, ...) (*ListVirtualMachinesOutput, error)
- func (c *Client) PutMaintenanceStartTime(ctx context.Context, params *PutMaintenanceStartTimeInput, ...) (*PutMaintenanceStartTimeOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) TestHypervisorConfiguration(ctx context.Context, params *TestHypervisorConfigurationInput, ...) (*TestHypervisorConfigurationOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateGatewayInformation(ctx context.Context, params *UpdateGatewayInformationInput, ...) (*UpdateGatewayInformationOutput, error)
- func (c *Client) UpdateHypervisor(ctx context.Context, params *UpdateHypervisorInput, optFns ...func(*Options)) (*UpdateHypervisorOutput, error)
- type CreateGatewayInput
- type CreateGatewayOutput
- type DeleteGatewayInput
- type DeleteGatewayOutput
- type DeleteHypervisorInput
- type DeleteHypervisorOutput
- type DisassociateGatewayFromServerInput
- type DisassociateGatewayFromServerOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type HTTPClient
- type HTTPSignerV4
- type ImportHypervisorConfigurationInput
- type ImportHypervisorConfigurationOutput
- type ListGatewaysAPIClient
- type ListGatewaysInput
- type ListGatewaysOutput
- type ListGatewaysPaginator
- type ListGatewaysPaginatorOptions
- type ListHypervisorsAPIClient
- type ListHypervisorsInput
- type ListHypervisorsOutput
- type ListHypervisorsPaginator
- type ListHypervisorsPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListVirtualMachinesAPIClient
- type ListVirtualMachinesInput
- type ListVirtualMachinesOutput
- type ListVirtualMachinesPaginator
- type ListVirtualMachinesPaginatorOptions
- type Options
- type PutMaintenanceStartTimeInput
- type PutMaintenanceStartTimeOutput
- type ResolveEndpoint
- type TagResourceInput
- type TagResourceOutput
- type TestHypervisorConfigurationInput
- type TestHypervisorConfigurationOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateGatewayInformationInput
- type UpdateGatewayInformationOutput
- type UpdateHypervisorInput
- type UpdateHypervisorOutput
Constants ¶
const ServiceAPIVersion = "2021-01-01"
const ServiceID = "Backup Gateway"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver ¶
func WithEndpointResolver(v EndpointResolver) func(*Options)
WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.
Types ¶
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. // // This member is required. GatewayArn *string // The Amazon Resource Name (ARN) of the server that hosts your virtual machines. // // This member is required. ServerArn *string // contains filtered or unexported fields }
type AssociateGatewayToServerOutput ¶
type AssociateGatewayToServerOutput struct { // The Amazon Resource Name (ARN) of a gateway. GatewayArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS Backup Gateway.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) AssociateGatewayToServer ¶
func (c *Client) AssociateGatewayToServer(ctx context.Context, params *AssociateGatewayToServerInput, optFns ...func(*Options)) (*AssociateGatewayToServerOutput, error)
Associates a backup gateway with your server. After you complete the association process, you can back up and restore your VMs through the gateway.
func (*Client) CreateGateway ¶
func (c *Client) CreateGateway(ctx context.Context, params *CreateGatewayInput, optFns ...func(*Options)) (*CreateGatewayOutput, error)
Creates a backup gateway. After you create a gateway, you can associate it with a server using the AssociateGatewayToServer operation.
func (*Client) DeleteGateway ¶
func (c *Client) DeleteGateway(ctx context.Context, params *DeleteGatewayInput, optFns ...func(*Options)) (*DeleteGatewayOutput, error)
Deletes a backup gateway.
func (*Client) DeleteHypervisor ¶
func (c *Client) DeleteHypervisor(ctx context.Context, params *DeleteHypervisorInput, optFns ...func(*Options)) (*DeleteHypervisorOutput, error)
Deletes a hypervisor.
func (*Client) DisassociateGatewayFromServer ¶
func (c *Client) DisassociateGatewayFromServer(ctx context.Context, params *DisassociateGatewayFromServerInput, optFns ...func(*Options)) (*DisassociateGatewayFromServerOutput, error)
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.
func (*Client) ImportHypervisorConfiguration ¶
func (c *Client) ImportHypervisorConfiguration(ctx context.Context, params *ImportHypervisorConfigurationInput, optFns ...func(*Options)) (*ImportHypervisorConfigurationOutput, error)
Connect to a hypervisor by importing its configuration.
func (*Client) ListGateways ¶
func (c *Client) ListGateways(ctx context.Context, params *ListGatewaysInput, optFns ...func(*Options)) (*ListGatewaysOutput, error)
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).
func (*Client) ListHypervisors ¶
func (c *Client) ListHypervisors(ctx context.Context, params *ListHypervisorsInput, optFns ...func(*Options)) (*ListHypervisorsOutput, error)
Lists your hypervisors.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Lists the tags applied to the resource identified by its Amazon Resource Name (ARN).
func (*Client) ListVirtualMachines ¶
func (c *Client) ListVirtualMachines(ctx context.Context, params *ListVirtualMachinesInput, optFns ...func(*Options)) (*ListVirtualMachinesOutput, error)
Lists your virtual machines.
func (*Client) PutMaintenanceStartTime ¶
func (c *Client) PutMaintenanceStartTime(ctx context.Context, params *PutMaintenanceStartTimeInput, optFns ...func(*Options)) (*PutMaintenanceStartTimeOutput, error)
Set the maintenance start time for a gateway.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Tag the resource.
func (*Client) TestHypervisorConfiguration ¶
func (c *Client) TestHypervisorConfiguration(ctx context.Context, params *TestHypervisorConfigurationInput, optFns ...func(*Options)) (*TestHypervisorConfigurationOutput, error)
Tests your hypervisor configuration to validate that backup gateway can connect with the hypervisor and its resources.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes tags from the resource.
func (*Client) UpdateGatewayInformation ¶
func (c *Client) UpdateGatewayInformation(ctx context.Context, params *UpdateGatewayInformationInput, optFns ...func(*Options)) (*UpdateGatewayInformationOutput, error)
Updates a gateway's name. Specify which gateway to update using the Amazon Resource Name (ARN) of the gateway in your request.
func (*Client) UpdateHypervisor ¶
func (c *Client) UpdateHypervisor(ctx context.Context, params *UpdateHypervisorInput, optFns ...func(*Options)) (*UpdateHypervisorOutput, error)
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.
type CreateGatewayInput ¶
type CreateGatewayInput struct { // The activation key of the created gateway. // // This member is required. ActivationKey *string // The display name of the created gateway. // // This member is required. GatewayDisplayName *string // The type of created gateway. // // This member is required. GatewayType types.GatewayType // A list of up to 50 tags to assign to the gateway. Each tag is a key-value pair. Tags []types.Tag // contains filtered or unexported fields }
type CreateGatewayOutput ¶
type CreateGatewayOutput struct { // The Amazon Resource Name (ARN) of the gateway you create. GatewayArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteGatewayInput ¶
type DeleteGatewayInput struct { // The Amazon Resource Name (ARN) of the gateway to delete. // // This member is required. GatewayArn *string // contains filtered or unexported fields }
type DeleteGatewayOutput ¶
type DeleteGatewayOutput struct { // The Amazon Resource Name (ARN) of the gateway you deleted. GatewayArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteHypervisorInput ¶
type DeleteHypervisorInput struct { // The Amazon Resource Name (ARN) of the hypervisor to delete. // // This member is required. HypervisorArn *string // contains filtered or unexported fields }
type DeleteHypervisorOutput ¶
type DeleteHypervisorOutput struct { // The Amazon Resource Name (ARN) of the hypervisor you deleted. HypervisorArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DisassociateGatewayFromServerInput ¶
type DisassociateGatewayFromServerInput struct { // The Amazon Resource Name (ARN) of the gateway to disassociate. // // This member is required. GatewayArn *string // contains filtered or unexported fields }
type DisassociateGatewayFromServerOutput ¶
type DisassociateGatewayFromServerOutput struct { // The Amazon Resource Name (ARN) of the gateway you disassociated. GatewayArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type HTTPSignerV4 ¶
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). // // This member is required. Host *string // The name of the hypervisor. // // This member is required. Name *string // The Key Management Service for the hypervisor. KmsKeyArn *string // The password for the hypervisor. Password *string // The tags of the hypervisor configuration to import. Tags []types.Tag // The username for the hypervisor. Username *string // contains filtered or unexported fields }
type ImportHypervisorConfigurationOutput ¶
type ImportHypervisorConfigurationOutput struct { // The Amazon Resource Name (ARN) of the hypervisor you disassociated. HypervisorArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListGatewaysAPIClient ¶
type ListGatewaysAPIClient interface {
ListGateways(context.Context, *ListGatewaysInput, ...func(*Options)) (*ListGatewaysOutput, error)
}
ListGatewaysAPIClient is a client that implements the ListGateways operation.
type ListGatewaysInput ¶
type ListGatewaysInput struct { // The maximum number of gateways to list. MaxResults *int32 // 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 // contains filtered or unexported fields }
type ListGatewaysOutput ¶
type ListGatewaysOutput struct { // A list of your gateways. Gateways []types.Gateway // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListGatewaysPaginator ¶
type ListGatewaysPaginator struct {
// contains filtered or unexported fields
}
ListGatewaysPaginator is a paginator for ListGateways
func NewListGatewaysPaginator ¶
func NewListGatewaysPaginator(client ListGatewaysAPIClient, params *ListGatewaysInput, optFns ...func(*ListGatewaysPaginatorOptions)) *ListGatewaysPaginator
NewListGatewaysPaginator returns a new ListGatewaysPaginator
func (*ListGatewaysPaginator) HasMorePages ¶
func (p *ListGatewaysPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListGatewaysPaginator) NextPage ¶
func (p *ListGatewaysPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListGatewaysOutput, error)
NextPage retrieves the next ListGateways page.
type ListGatewaysPaginatorOptions ¶
type ListGatewaysPaginatorOptions struct { // The maximum number of gateways to list. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListGatewaysPaginatorOptions is the paginator options for ListGateways
type ListHypervisorsAPIClient ¶
type ListHypervisorsAPIClient interface {
ListHypervisors(context.Context, *ListHypervisorsInput, ...func(*Options)) (*ListHypervisorsOutput, error)
}
ListHypervisorsAPIClient is a client that implements the ListHypervisors operation.
type ListHypervisorsInput ¶
type ListHypervisorsInput struct { // The maximum number of hypervisors to list. MaxResults *int32 // 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 // contains filtered or unexported fields }
type ListHypervisorsOutput ¶
type ListHypervisorsOutput struct { // A list of your Hypervisor objects, ordered by their Amazon Resource Names // (ARNs). Hypervisors []types.Hypervisor // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListHypervisorsPaginator ¶
type ListHypervisorsPaginator struct {
// contains filtered or unexported fields
}
ListHypervisorsPaginator is a paginator for ListHypervisors
func NewListHypervisorsPaginator ¶
func NewListHypervisorsPaginator(client ListHypervisorsAPIClient, params *ListHypervisorsInput, optFns ...func(*ListHypervisorsPaginatorOptions)) *ListHypervisorsPaginator
NewListHypervisorsPaginator returns a new ListHypervisorsPaginator
func (*ListHypervisorsPaginator) HasMorePages ¶
func (p *ListHypervisorsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListHypervisorsPaginator) NextPage ¶
func (p *ListHypervisorsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListHypervisorsOutput, error)
NextPage retrieves the next ListHypervisors page.
type ListHypervisorsPaginatorOptions ¶
type ListHypervisorsPaginatorOptions struct { // The maximum number of hypervisors to list. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListHypervisorsPaginatorOptions is the paginator options for ListHypervisors
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the resource's tags to list. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The Amazon Resource Name (ARN) of the resource's tags that you listed. ResourceArn *string // A list of the resource's tags. Tags []types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListVirtualMachinesAPIClient ¶
type ListVirtualMachinesAPIClient interface {
ListVirtualMachines(context.Context, *ListVirtualMachinesInput, ...func(*Options)) (*ListVirtualMachinesOutput, error)
}
ListVirtualMachinesAPIClient is a client that implements the ListVirtualMachines operation.
type ListVirtualMachinesInput ¶
type ListVirtualMachinesInput struct { // The maximum number of virtual machines to list. MaxResults *int32 // 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 // contains filtered or unexported fields }
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 // A list of your VirtualMachine objects, ordered by their Amazon Resource Names // (ARNs). VirtualMachines []types.VirtualMachine // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListVirtualMachinesPaginator ¶
type ListVirtualMachinesPaginator struct {
// contains filtered or unexported fields
}
ListVirtualMachinesPaginator is a paginator for ListVirtualMachines
func NewListVirtualMachinesPaginator ¶
func NewListVirtualMachinesPaginator(client ListVirtualMachinesAPIClient, params *ListVirtualMachinesInput, optFns ...func(*ListVirtualMachinesPaginatorOptions)) *ListVirtualMachinesPaginator
NewListVirtualMachinesPaginator returns a new ListVirtualMachinesPaginator
func (*ListVirtualMachinesPaginator) HasMorePages ¶
func (p *ListVirtualMachinesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListVirtualMachinesPaginator) NextPage ¶
func (p *ListVirtualMachinesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListVirtualMachinesOutput, error)
NextPage retrieves the next ListVirtualMachines page.
type ListVirtualMachinesPaginatorOptions ¶
type ListVirtualMachinesPaginatorOptions struct { // The maximum number of virtual machines to list. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListVirtualMachinesPaginatorOptions is the paginator options for ListVirtualMachines
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer aws.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
type PutMaintenanceStartTimeInput ¶
type PutMaintenanceStartTimeInput struct { // The Amazon Resource Name (ARN) for the gateway, used to specify its maintenance // start time. // // This member is required. GatewayArn *string // The hour of the day to start maintenance on a gateway. // // This member is required. HourOfDay *int32 // The minute of the hour to start maintenance on a gateway. // // This member is required. MinuteOfHour *int32 // The day of the month start maintenance on a gateway. Valid values range from // Sunday to Saturday. DayOfMonth *int32 // The day of the week to start maintenance on a gateway. DayOfWeek *int32 // contains filtered or unexported fields }
type PutMaintenanceStartTimeOutput ¶
type PutMaintenanceStartTimeOutput struct { // The Amazon Resource Name (ARN) of a gateway for which you set the maintenance // start time. GatewayArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type TagResourceInput ¶
type TagResourceOutput ¶
type TagResourceOutput struct { // The Amazon Resource Name (ARN) of the resource you tagged. ResourceARN *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TestHypervisorConfigurationInput ¶
type TestHypervisorConfigurationInput struct { // The Amazon Resource Name (ARN) of the gateway to the hypervisor to test. // // This member is required. GatewayArn *string // The server host of the hypervisor. This can be either an IP address or a // fully-qualified domain name (FQDN). // // This member is required. Host *string // The password for the hypervisor. Password *string // The username for the hypervisor. Username *string // contains filtered or unexported fields }
type TestHypervisorConfigurationOutput ¶
type TestHypervisorConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the resource from which to remove tags. // // This member is required. ResourceARN *string // The list of tag keys specifying which tags to remove. // // This member is required. TagKeys []string // contains filtered or unexported fields }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // The Amazon Resource Name (ARN) of the resource from which you removed tags. ResourceARN *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateGatewayInformationOutput ¶
type UpdateGatewayInformationOutput struct { // The Amazon Resource Name (ARN) of the gateway you updated. GatewayArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateHypervisorInput ¶
type UpdateHypervisorInput struct { // The Amazon Resource Name (ARN) of the hypervisor to update. // // This member is required. HypervisorArn *string // The updated host of the hypervisor. This can be either an IP address or a // fully-qualified domain name (FQDN). Host *string // The updated password for the hypervisor. Password *string // The updated username for the hypervisor. Username *string // contains filtered or unexported fields }
type UpdateHypervisorOutput ¶
type UpdateHypervisorOutput struct { // The Amazon Resource Name (ARN) of the hypervisor you updated. HypervisorArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files
¶
- api_client.go
- api_op_AssociateGatewayToServer.go
- api_op_CreateGateway.go
- api_op_DeleteGateway.go
- api_op_DeleteHypervisor.go
- api_op_DisassociateGatewayFromServer.go
- api_op_ImportHypervisorConfiguration.go
- api_op_ListGateways.go
- api_op_ListHypervisors.go
- api_op_ListTagsForResource.go
- api_op_ListVirtualMachines.go
- api_op_PutMaintenanceStartTime.go
- api_op_TagResource.go
- api_op_TestHypervisorConfiguration.go
- api_op_UntagResource.go
- api_op_UpdateGatewayInformation.go
- api_op_UpdateHypervisor.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- serializers.go
- validators.go