Documentation
¶
Overview ¶
Package drs provides the API client, operations, and parameter types for Elastic Disaster Recovery Service.
AWS Elastic Disaster Recovery Service.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- type Client
- func (c *Client) CreateReplicationConfigurationTemplate(ctx context.Context, params *CreateReplicationConfigurationTemplateInput, ...) (*CreateReplicationConfigurationTemplateOutput, error)
- func (c *Client) DeleteJob(ctx context.Context, params *DeleteJobInput, optFns ...func(*Options)) (*DeleteJobOutput, error)
- func (c *Client) DeleteRecoveryInstance(ctx context.Context, params *DeleteRecoveryInstanceInput, ...) (*DeleteRecoveryInstanceOutput, error)
- func (c *Client) DeleteReplicationConfigurationTemplate(ctx context.Context, params *DeleteReplicationConfigurationTemplateInput, ...) (*DeleteReplicationConfigurationTemplateOutput, error)
- func (c *Client) DeleteSourceServer(ctx context.Context, params *DeleteSourceServerInput, optFns ...func(*Options)) (*DeleteSourceServerOutput, error)
- func (c *Client) DescribeJobLogItems(ctx context.Context, params *DescribeJobLogItemsInput, ...) (*DescribeJobLogItemsOutput, error)
- func (c *Client) DescribeJobs(ctx context.Context, params *DescribeJobsInput, optFns ...func(*Options)) (*DescribeJobsOutput, error)
- func (c *Client) DescribeRecoveryInstances(ctx context.Context, params *DescribeRecoveryInstancesInput, ...) (*DescribeRecoveryInstancesOutput, error)
- func (c *Client) DescribeRecoverySnapshots(ctx context.Context, params *DescribeRecoverySnapshotsInput, ...) (*DescribeRecoverySnapshotsOutput, error)
- func (c *Client) DescribeReplicationConfigurationTemplates(ctx context.Context, params *DescribeReplicationConfigurationTemplatesInput, ...) (*DescribeReplicationConfigurationTemplatesOutput, error)
- func (c *Client) DescribeSourceServers(ctx context.Context, params *DescribeSourceServersInput, ...) (*DescribeSourceServersOutput, error)
- func (c *Client) DisconnectRecoveryInstance(ctx context.Context, params *DisconnectRecoveryInstanceInput, ...) (*DisconnectRecoveryInstanceOutput, error)
- func (c *Client) DisconnectSourceServer(ctx context.Context, params *DisconnectSourceServerInput, ...) (*DisconnectSourceServerOutput, error)
- func (c *Client) GetFailbackReplicationConfiguration(ctx context.Context, params *GetFailbackReplicationConfigurationInput, ...) (*GetFailbackReplicationConfigurationOutput, error)
- func (c *Client) GetLaunchConfiguration(ctx context.Context, params *GetLaunchConfigurationInput, ...) (*GetLaunchConfigurationOutput, error)
- func (c *Client) GetReplicationConfiguration(ctx context.Context, params *GetReplicationConfigurationInput, ...) (*GetReplicationConfigurationOutput, error)
- func (c *Client) InitializeService(ctx context.Context, params *InitializeServiceInput, optFns ...func(*Options)) (*InitializeServiceOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) RetryDataReplication(ctx context.Context, params *RetryDataReplicationInput, ...) (*RetryDataReplicationOutput, error)
- func (c *Client) StartFailbackLaunch(ctx context.Context, params *StartFailbackLaunchInput, ...) (*StartFailbackLaunchOutput, error)
- func (c *Client) StartRecovery(ctx context.Context, params *StartRecoveryInput, optFns ...func(*Options)) (*StartRecoveryOutput, error)
- func (c *Client) StopFailback(ctx context.Context, params *StopFailbackInput, optFns ...func(*Options)) (*StopFailbackOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) TerminateRecoveryInstances(ctx context.Context, params *TerminateRecoveryInstancesInput, ...) (*TerminateRecoveryInstancesOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateFailbackReplicationConfiguration(ctx context.Context, params *UpdateFailbackReplicationConfigurationInput, ...) (*UpdateFailbackReplicationConfigurationOutput, error)
- func (c *Client) UpdateLaunchConfiguration(ctx context.Context, params *UpdateLaunchConfigurationInput, ...) (*UpdateLaunchConfigurationOutput, error)
- func (c *Client) UpdateReplicationConfiguration(ctx context.Context, params *UpdateReplicationConfigurationInput, ...) (*UpdateReplicationConfigurationOutput, error)
- func (c *Client) UpdateReplicationConfigurationTemplate(ctx context.Context, params *UpdateReplicationConfigurationTemplateInput, ...) (*UpdateReplicationConfigurationTemplateOutput, error)
- type CreateReplicationConfigurationTemplateInput
- type CreateReplicationConfigurationTemplateOutput
- type DeleteJobInput
- type DeleteJobOutput
- type DeleteRecoveryInstanceInput
- type DeleteRecoveryInstanceOutput
- type DeleteReplicationConfigurationTemplateInput
- type DeleteReplicationConfigurationTemplateOutput
- type DeleteSourceServerInput
- type DeleteSourceServerOutput
- type DescribeJobLogItemsAPIClient
- type DescribeJobLogItemsInput
- type DescribeJobLogItemsOutput
- type DescribeJobLogItemsPaginator
- type DescribeJobLogItemsPaginatorOptions
- type DescribeJobsAPIClient
- type DescribeJobsInput
- type DescribeJobsOutput
- type DescribeJobsPaginator
- type DescribeJobsPaginatorOptions
- type DescribeRecoveryInstancesAPIClient
- type DescribeRecoveryInstancesInput
- type DescribeRecoveryInstancesOutput
- type DescribeRecoveryInstancesPaginator
- type DescribeRecoveryInstancesPaginatorOptions
- type DescribeRecoverySnapshotsAPIClient
- type DescribeRecoverySnapshotsInput
- type DescribeRecoverySnapshotsOutput
- type DescribeRecoverySnapshotsPaginator
- type DescribeRecoverySnapshotsPaginatorOptions
- type DescribeReplicationConfigurationTemplatesAPIClient
- type DescribeReplicationConfigurationTemplatesInput
- type DescribeReplicationConfigurationTemplatesOutput
- type DescribeReplicationConfigurationTemplatesPaginator
- type DescribeReplicationConfigurationTemplatesPaginatorOptions
- type DescribeSourceServersAPIClient
- type DescribeSourceServersInput
- type DescribeSourceServersOutput
- type DescribeSourceServersPaginator
- type DescribeSourceServersPaginatorOptions
- type DisconnectRecoveryInstanceInput
- type DisconnectRecoveryInstanceOutput
- type DisconnectSourceServerInput
- type DisconnectSourceServerOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type GetFailbackReplicationConfigurationInput
- type GetFailbackReplicationConfigurationOutput
- type GetLaunchConfigurationInput
- type GetLaunchConfigurationOutput
- type GetReplicationConfigurationInput
- type GetReplicationConfigurationOutput
- type HTTPClient
- type HTTPSignerV4
- type InitializeServiceInput
- type InitializeServiceOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- type ResolveEndpoint
- type RetryDataReplicationInput
- type RetryDataReplicationOutput
- type StartFailbackLaunchInput
- type StartFailbackLaunchOutput
- type StartRecoveryInput
- type StartRecoveryOutput
- type StopFailbackInput
- type StopFailbackOutput
- type TagResourceInput
- type TagResourceOutput
- type TerminateRecoveryInstancesInput
- type TerminateRecoveryInstancesOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateFailbackReplicationConfigurationInput
- type UpdateFailbackReplicationConfigurationOutput
- type UpdateLaunchConfigurationInput
- type UpdateLaunchConfigurationOutput
- type UpdateReplicationConfigurationInput
- type UpdateReplicationConfigurationOutput
- type UpdateReplicationConfigurationTemplateInput
- type UpdateReplicationConfigurationTemplateOutput
Constants ¶
const ServiceAPIVersion = "2020-02-26"
const ServiceID = "drs"
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 Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Elastic Disaster Recovery Service.
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) CreateReplicationConfigurationTemplate ¶
func (c *Client) CreateReplicationConfigurationTemplate(ctx context.Context, params *CreateReplicationConfigurationTemplateInput, optFns ...func(*Options)) (*CreateReplicationConfigurationTemplateOutput, error)
Creates a new ReplicationConfigurationTemplate.
func (*Client) DeleteJob ¶
func (c *Client) DeleteJob(ctx context.Context, params *DeleteJobInput, optFns ...func(*Options)) (*DeleteJobOutput, error)
Deletes a single Job by ID.
func (*Client) DeleteRecoveryInstance ¶
func (c *Client) DeleteRecoveryInstance(ctx context.Context, params *DeleteRecoveryInstanceInput, optFns ...func(*Options)) (*DeleteRecoveryInstanceOutput, error)
Deletes a single Recovery Instance by ID. This deletes the Recovery Instance resource from Elastic Disaster Recovery. The Recovery Instance must be disconnected first in order to delete it.
func (*Client) DeleteReplicationConfigurationTemplate ¶
func (c *Client) DeleteReplicationConfigurationTemplate(ctx context.Context, params *DeleteReplicationConfigurationTemplateInput, optFns ...func(*Options)) (*DeleteReplicationConfigurationTemplateOutput, error)
Deletes a single Replication Configuration Template by ID
func (*Client) DeleteSourceServer ¶
func (c *Client) DeleteSourceServer(ctx context.Context, params *DeleteSourceServerInput, optFns ...func(*Options)) (*DeleteSourceServerOutput, error)
Deletes a single Source Server by ID. The Source Server must be disconnected first.
func (*Client) DescribeJobLogItems ¶
func (c *Client) DescribeJobLogItems(ctx context.Context, params *DescribeJobLogItemsInput, optFns ...func(*Options)) (*DescribeJobLogItemsOutput, error)
Retrieves a detailed Job log with pagination.
func (*Client) DescribeJobs ¶
func (c *Client) DescribeJobs(ctx context.Context, params *DescribeJobsInput, optFns ...func(*Options)) (*DescribeJobsOutput, error)
Returns a list of Jobs. Use the JobsID and fromDate and toDate filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are created by the StartRecovery, TerminateRecoveryInstances and StartFailbackLaunch APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.
func (*Client) DescribeRecoveryInstances ¶
func (c *Client) DescribeRecoveryInstances(ctx context.Context, params *DescribeRecoveryInstancesInput, optFns ...func(*Options)) (*DescribeRecoveryInstancesOutput, error)
Lists all Recovery Instances or multiple Recovery Instances by ID.
func (*Client) DescribeRecoverySnapshots ¶
func (c *Client) DescribeRecoverySnapshots(ctx context.Context, params *DescribeRecoverySnapshotsInput, optFns ...func(*Options)) (*DescribeRecoverySnapshotsOutput, error)
Lists all Recovery Snapshots for a single Source Server.
func (*Client) DescribeReplicationConfigurationTemplates ¶
func (c *Client) DescribeReplicationConfigurationTemplates(ctx context.Context, params *DescribeReplicationConfigurationTemplatesInput, optFns ...func(*Options)) (*DescribeReplicationConfigurationTemplatesOutput, error)
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
func (*Client) DescribeSourceServers ¶
func (c *Client) DescribeSourceServers(ctx context.Context, params *DescribeSourceServersInput, optFns ...func(*Options)) (*DescribeSourceServersOutput, error)
Lists all Source Servers or multiple Source Servers filtered by ID.
func (*Client) DisconnectRecoveryInstance ¶
func (c *Client) DisconnectRecoveryInstance(ctx context.Context, params *DisconnectRecoveryInstanceInput, optFns ...func(*Options)) (*DisconnectRecoveryInstanceOutput, error)
Disconnect a Recovery Instance from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Recovery Instance will be terminated / deleted within 90 minutes. If the agent on the Recovery Instance has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the Recovery Instance will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
func (*Client) DisconnectSourceServer ¶
func (c *Client) DisconnectSourceServer(ctx context.Context, params *DisconnectSourceServerInput, optFns ...func(*Options)) (*DisconnectSourceServerOutput, error)
Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Source Server will be terminated / deleted within 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If the agent on the Source Server has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
func (*Client) GetFailbackReplicationConfiguration ¶
func (c *Client) GetFailbackReplicationConfiguration(ctx context.Context, params *GetFailbackReplicationConfigurationInput, optFns ...func(*Options)) (*GetFailbackReplicationConfigurationOutput, error)
Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
func (*Client) GetLaunchConfiguration ¶
func (c *Client) GetLaunchConfiguration(ctx context.Context, params *GetLaunchConfigurationInput, optFns ...func(*Options)) (*GetLaunchConfigurationOutput, error)
Gets a LaunchConfiguration, filtered by Source Server IDs.
func (*Client) GetReplicationConfiguration ¶
func (c *Client) GetReplicationConfiguration(ctx context.Context, params *GetReplicationConfigurationInput, optFns ...func(*Options)) (*GetReplicationConfigurationOutput, error)
Gets a ReplicationConfiguration, filtered by Source Server ID.
func (*Client) InitializeService ¶
func (c *Client) InitializeService(ctx context.Context, params *InitializeServiceInput, optFns ...func(*Options)) (*InitializeServiceOutput, error)
Initialize Elastic Disaster Recovery.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
List all tags for your Elastic Disaster Recovery resources.
func (*Client) RetryDataReplication ¶
func (c *Client) RetryDataReplication(ctx context.Context, params *RetryDataReplicationInput, optFns ...func(*Options)) (*RetryDataReplicationOutput, error)
Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.
func (*Client) StartFailbackLaunch ¶
func (c *Client) StartFailbackLaunch(ctx context.Context, params *StartFailbackLaunchInput, optFns ...func(*Options)) (*StartFailbackLaunchOutput, error)
Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance. This will run conversion on the failback client and will reboot your machine, thus completing the failback process.
func (*Client) StartRecovery ¶
func (c *Client) StartRecovery(ctx context.Context, params *StartRecoveryInput, optFns ...func(*Options)) (*StartRecoveryOutput, error)
Launches Recovery Instances for the specified Source Servers. For each Source Server you may choose a point in time snapshot to launch from, or use an on demand snapshot.
func (*Client) StopFailback ¶
func (c *Client) StopFailback(ctx context.Context, params *StopFailbackInput, optFns ...func(*Options)) (*StopFailbackOutput, error)
Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.
func (*Client) TerminateRecoveryInstances ¶
func (c *Client) TerminateRecoveryInstances(ctx context.Context, params *TerminateRecoveryInstancesInput, optFns ...func(*Options)) (*TerminateRecoveryInstancesOutput, error)
Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will delete the Recovery Instances from the Elastic Disaster Recovery service.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
func (*Client) UpdateFailbackReplicationConfiguration ¶
func (c *Client) UpdateFailbackReplicationConfiguration(ctx context.Context, params *UpdateFailbackReplicationConfigurationInput, optFns ...func(*Options)) (*UpdateFailbackReplicationConfigurationOutput, error)
Allows you to update the failback replication configuration of a Recovery Instance by ID.
func (*Client) UpdateLaunchConfiguration ¶
func (c *Client) UpdateLaunchConfiguration(ctx context.Context, params *UpdateLaunchConfigurationInput, optFns ...func(*Options)) (*UpdateLaunchConfigurationOutput, error)
Updates a LaunchConfiguration by Source Server ID.
func (*Client) UpdateReplicationConfiguration ¶
func (c *Client) UpdateReplicationConfiguration(ctx context.Context, params *UpdateReplicationConfigurationInput, optFns ...func(*Options)) (*UpdateReplicationConfigurationOutput, error)
Allows you to update a ReplicationConfiguration by Source Server ID.
func (*Client) UpdateReplicationConfigurationTemplate ¶
func (c *Client) UpdateReplicationConfigurationTemplate(ctx context.Context, params *UpdateReplicationConfigurationTemplateInput, optFns ...func(*Options)) (*UpdateReplicationConfigurationTemplateOutput, error)
Updates a ReplicationConfigurationTemplate by ID.
type CreateReplicationConfigurationTemplateInput ¶
type CreateReplicationConfigurationTemplateInput struct { // Whether to associate the default Elastic Disaster Recovery Security group with // the Replication Configuration Template. // // This member is required. AssociateDefaultSecurityGroup *bool // Configure bandwidth throttling for the outbound data transfer rate of the Source // Server in Mbps. // // This member is required. BandwidthThrottling int64 // Whether to create a Public IP for the Recovery Instance by default. // // This member is required. CreatePublicIP *bool // The data plane routing mechanism that will be used for replication. // // This member is required. DataPlaneRouting types.ReplicationConfigurationDataPlaneRouting // The Staging Disk EBS volume type to be used during replication. // // This member is required. DefaultLargeStagingDiskType types.ReplicationConfigurationDefaultLargeStagingDiskType // The type of EBS encryption to be used during replication. // // This member is required. EbsEncryption types.ReplicationConfigurationEbsEncryption // The Point in time (PIT) policy to manage snapshots taken during replication. // // This member is required. PitPolicy []types.PITPolicyRule // The instance type to be used for the replication server. // // This member is required. ReplicationServerInstanceType *string // The security group IDs that will be used by the replication server. // // This member is required. ReplicationServersSecurityGroupsIDs []string // The subnet to be used by the replication staging area. // // This member is required. StagingAreaSubnetId *string // A set of tags to be associated with all resources created in the replication // staging area: EC2 replication server, EBS volumes, EBS snapshots, etc. // // This member is required. StagingAreaTags map[string]string // Whether to use a dedicated Replication Server in the replication staging area. // // This member is required. UseDedicatedReplicationServer *bool // The ARN of the EBS encryption key to be used during replication. EbsEncryptionKeyArn *string // A set of tags to be associated with the Replication Configuration Template // resource. Tags map[string]string // contains filtered or unexported fields }
type CreateReplicationConfigurationTemplateOutput ¶
type CreateReplicationConfigurationTemplateOutput struct { // The Replication Configuration Template ID. // // This member is required. ReplicationConfigurationTemplateID *string // The Replication Configuration Template ARN. Arn *string // Whether to associate the default Elastic Disaster Recovery Security group with // the Replication Configuration Template. AssociateDefaultSecurityGroup *bool // Configure bandwidth throttling for the outbound data transfer rate of the Source // Server in Mbps. BandwidthThrottling int64 // Whether to create a Public IP for the Recovery Instance by default. CreatePublicIP *bool // The data plane routing mechanism that will be used for replication. DataPlaneRouting types.ReplicationConfigurationDataPlaneRouting // The Staging Disk EBS volume type to be used during replication. DefaultLargeStagingDiskType types.ReplicationConfigurationDefaultLargeStagingDiskType // The type of EBS encryption to be used during replication. EbsEncryption types.ReplicationConfigurationEbsEncryption // The ARN of the EBS encryption key to be used during replication. EbsEncryptionKeyArn *string // The Point in time (PIT) policy to manage snapshots taken during replication. PitPolicy []types.PITPolicyRule // The instance type to be used for the replication server. ReplicationServerInstanceType *string // The security group IDs that will be used by the replication server. ReplicationServersSecurityGroupsIDs []string // The subnet to be used by the replication staging area. StagingAreaSubnetId *string // A set of tags to be associated with all resources created in the replication // staging area: EC2 replication server, EBS volumes, EBS snapshots, etc. StagingAreaTags map[string]string // A set of tags to be associated with the Replication Configuration Template // resource. Tags map[string]string // Whether to use a dedicated Replication Server in the replication staging area. UseDedicatedReplicationServer *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteJobInput ¶
type DeleteJobInput struct { // The ID of the Job to be deleted. // // This member is required. JobID *string // contains filtered or unexported fields }
type DeleteJobOutput ¶
type DeleteJobOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteRecoveryInstanceInput ¶
type DeleteRecoveryInstanceInput struct { // RThe ID of the Recovery Instance to be deleted. // // This member is required. RecoveryInstanceID *string // contains filtered or unexported fields }
type DeleteRecoveryInstanceOutput ¶
type DeleteRecoveryInstanceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteReplicationConfigurationTemplateInput ¶
type DeleteReplicationConfigurationTemplateInput struct { // The ID of the Replication Configuration Template to be deleted. // // This member is required. ReplicationConfigurationTemplateID *string // contains filtered or unexported fields }
type DeleteReplicationConfigurationTemplateOutput ¶
type DeleteReplicationConfigurationTemplateOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteSourceServerInput ¶
type DeleteSourceServerInput struct { // The ID of the Source Server to be deleted. // // This member is required. SourceServerID *string // contains filtered or unexported fields }
type DeleteSourceServerOutput ¶
type DeleteSourceServerOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeJobLogItemsAPIClient ¶
type DescribeJobLogItemsAPIClient interface {
DescribeJobLogItems(context.Context, *DescribeJobLogItemsInput, ...func(*Options)) (*DescribeJobLogItemsOutput, error)
}
DescribeJobLogItemsAPIClient is a client that implements the DescribeJobLogItems operation.
type DescribeJobLogItemsInput ¶
type DescribeJobLogItemsInput struct { // The ID of the Job for which Job log items will be retrieved. // // This member is required. JobID *string // Maximum number of Job log items to retrieve. MaxResults int32 // The token of the next Job log items to retrieve. NextToken *string // contains filtered or unexported fields }
type DescribeJobLogItemsOutput ¶
type DescribeJobLogItemsOutput struct { // An array of Job log items. Items []types.JobLog // The token of the next Job log items to retrieve. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeJobLogItemsPaginator ¶
type DescribeJobLogItemsPaginator struct {
// contains filtered or unexported fields
}
DescribeJobLogItemsPaginator is a paginator for DescribeJobLogItems
func NewDescribeJobLogItemsPaginator ¶
func NewDescribeJobLogItemsPaginator(client DescribeJobLogItemsAPIClient, params *DescribeJobLogItemsInput, optFns ...func(*DescribeJobLogItemsPaginatorOptions)) *DescribeJobLogItemsPaginator
NewDescribeJobLogItemsPaginator returns a new DescribeJobLogItemsPaginator
func (*DescribeJobLogItemsPaginator) HasMorePages ¶
func (p *DescribeJobLogItemsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeJobLogItemsPaginator) NextPage ¶
func (p *DescribeJobLogItemsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeJobLogItemsOutput, error)
NextPage retrieves the next DescribeJobLogItems page.
type DescribeJobLogItemsPaginatorOptions ¶
type DescribeJobLogItemsPaginatorOptions struct { // Maximum number of Job log items to retrieve. 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 }
DescribeJobLogItemsPaginatorOptions is the paginator options for DescribeJobLogItems
type DescribeJobsAPIClient ¶
type DescribeJobsAPIClient interface {
DescribeJobs(context.Context, *DescribeJobsInput, ...func(*Options)) (*DescribeJobsOutput, error)
}
DescribeJobsAPIClient is a client that implements the DescribeJobs operation.
type DescribeJobsInput ¶
type DescribeJobsInput struct { // A set of filters by which to return Jobs. // // This member is required. Filters *types.DescribeJobsRequestFilters // Maximum number of Jobs to retrieve. MaxResults int32 // The token of the next Job to retrieve. NextToken *string // contains filtered or unexported fields }
type DescribeJobsOutput ¶
type DescribeJobsOutput struct { // An array of Jobs. Items []types.Job // The token of the next Job to retrieve. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeJobsPaginator ¶
type DescribeJobsPaginator struct {
// contains filtered or unexported fields
}
DescribeJobsPaginator is a paginator for DescribeJobs
func NewDescribeJobsPaginator ¶
func NewDescribeJobsPaginator(client DescribeJobsAPIClient, params *DescribeJobsInput, optFns ...func(*DescribeJobsPaginatorOptions)) *DescribeJobsPaginator
NewDescribeJobsPaginator returns a new DescribeJobsPaginator
func (*DescribeJobsPaginator) HasMorePages ¶
func (p *DescribeJobsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeJobsPaginator) NextPage ¶
func (p *DescribeJobsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeJobsOutput, error)
NextPage retrieves the next DescribeJobs page.
type DescribeJobsPaginatorOptions ¶
type DescribeJobsPaginatorOptions struct { // Maximum number of Jobs to retrieve. 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 }
DescribeJobsPaginatorOptions is the paginator options for DescribeJobs
type DescribeRecoveryInstancesAPIClient ¶
type DescribeRecoveryInstancesAPIClient interface {
DescribeRecoveryInstances(context.Context, *DescribeRecoveryInstancesInput, ...func(*Options)) (*DescribeRecoveryInstancesOutput, error)
}
DescribeRecoveryInstancesAPIClient is a client that implements the DescribeRecoveryInstances operation.
type DescribeRecoveryInstancesInput ¶
type DescribeRecoveryInstancesInput struct { // A set of filters by which to return Recovery Instances. // // This member is required. Filters *types.DescribeRecoveryInstancesRequestFilters // Maximum number of Recovery Instances to retrieve. MaxResults int32 // The token of the next Recovery Instance to retrieve. NextToken *string // contains filtered or unexported fields }
type DescribeRecoveryInstancesOutput ¶
type DescribeRecoveryInstancesOutput struct { // An array of Recovery Instances. Items []types.RecoveryInstance // The token of the next Recovery Instance to retrieve. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeRecoveryInstancesPaginator ¶
type DescribeRecoveryInstancesPaginator struct {
// contains filtered or unexported fields
}
DescribeRecoveryInstancesPaginator is a paginator for DescribeRecoveryInstances
func NewDescribeRecoveryInstancesPaginator ¶
func NewDescribeRecoveryInstancesPaginator(client DescribeRecoveryInstancesAPIClient, params *DescribeRecoveryInstancesInput, optFns ...func(*DescribeRecoveryInstancesPaginatorOptions)) *DescribeRecoveryInstancesPaginator
NewDescribeRecoveryInstancesPaginator returns a new DescribeRecoveryInstancesPaginator
func (*DescribeRecoveryInstancesPaginator) HasMorePages ¶
func (p *DescribeRecoveryInstancesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeRecoveryInstancesPaginator) NextPage ¶
func (p *DescribeRecoveryInstancesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeRecoveryInstancesOutput, error)
NextPage retrieves the next DescribeRecoveryInstances page.
type DescribeRecoveryInstancesPaginatorOptions ¶
type DescribeRecoveryInstancesPaginatorOptions struct { // Maximum number of Recovery Instances to retrieve. 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 }
DescribeRecoveryInstancesPaginatorOptions is the paginator options for DescribeRecoveryInstances
type DescribeRecoverySnapshotsAPIClient ¶
type DescribeRecoverySnapshotsAPIClient interface {
DescribeRecoverySnapshots(context.Context, *DescribeRecoverySnapshotsInput, ...func(*Options)) (*DescribeRecoverySnapshotsOutput, error)
}
DescribeRecoverySnapshotsAPIClient is a client that implements the DescribeRecoverySnapshots operation.
type DescribeRecoverySnapshotsInput ¶
type DescribeRecoverySnapshotsInput struct { // Filter Recovery Snapshots by Source Server ID. // // This member is required. SourceServerID *string // A set of filters by which to return Recovery Snapshots. Filters *types.DescribeRecoverySnapshotsRequestFilters // Maximum number of Recovery Snapshots to retrieve. MaxResults int32 // The token of the next Recovery Snapshot to retrieve. NextToken *string // The sorted ordering by which to return Recovery Snapshots. Order types.RecoverySnapshotsOrder // contains filtered or unexported fields }
type DescribeRecoverySnapshotsOutput ¶
type DescribeRecoverySnapshotsOutput struct { // An array of Recovery Snapshots. Items []types.RecoverySnapshot // The token of the next Recovery Snapshot to retrieve. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeRecoverySnapshotsPaginator ¶
type DescribeRecoverySnapshotsPaginator struct {
// contains filtered or unexported fields
}
DescribeRecoverySnapshotsPaginator is a paginator for DescribeRecoverySnapshots
func NewDescribeRecoverySnapshotsPaginator ¶
func NewDescribeRecoverySnapshotsPaginator(client DescribeRecoverySnapshotsAPIClient, params *DescribeRecoverySnapshotsInput, optFns ...func(*DescribeRecoverySnapshotsPaginatorOptions)) *DescribeRecoverySnapshotsPaginator
NewDescribeRecoverySnapshotsPaginator returns a new DescribeRecoverySnapshotsPaginator
func (*DescribeRecoverySnapshotsPaginator) HasMorePages ¶
func (p *DescribeRecoverySnapshotsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeRecoverySnapshotsPaginator) NextPage ¶
func (p *DescribeRecoverySnapshotsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeRecoverySnapshotsOutput, error)
NextPage retrieves the next DescribeRecoverySnapshots page.
type DescribeRecoverySnapshotsPaginatorOptions ¶
type DescribeRecoverySnapshotsPaginatorOptions struct { // Maximum number of Recovery Snapshots to retrieve. 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 }
DescribeRecoverySnapshotsPaginatorOptions is the paginator options for DescribeRecoverySnapshots
type DescribeReplicationConfigurationTemplatesAPIClient ¶
type DescribeReplicationConfigurationTemplatesAPIClient interface {
DescribeReplicationConfigurationTemplates(context.Context, *DescribeReplicationConfigurationTemplatesInput, ...func(*Options)) (*DescribeReplicationConfigurationTemplatesOutput, error)
}
DescribeReplicationConfigurationTemplatesAPIClient is a client that implements the DescribeReplicationConfigurationTemplates operation.
type DescribeReplicationConfigurationTemplatesInput ¶
type DescribeReplicationConfigurationTemplatesInput struct { // The IDs of the Replication Configuration Templates to retrieve. An empty list // means all Replication Configuration Templates. // // This member is required. ReplicationConfigurationTemplateIDs []string // Maximum number of Replication Configuration Templates to retrieve. MaxResults int32 // The token of the next Replication Configuration Template to retrieve. NextToken *string // contains filtered or unexported fields }
type DescribeReplicationConfigurationTemplatesOutput ¶
type DescribeReplicationConfigurationTemplatesOutput struct { // An array of Replication Configuration Templates. Items []types.ReplicationConfigurationTemplate // The token of the next Replication Configuration Template to retrieve. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeReplicationConfigurationTemplatesPaginator ¶
type DescribeReplicationConfigurationTemplatesPaginator struct {
// contains filtered or unexported fields
}
DescribeReplicationConfigurationTemplatesPaginator is a paginator for DescribeReplicationConfigurationTemplates
func NewDescribeReplicationConfigurationTemplatesPaginator ¶
func NewDescribeReplicationConfigurationTemplatesPaginator(client DescribeReplicationConfigurationTemplatesAPIClient, params *DescribeReplicationConfigurationTemplatesInput, optFns ...func(*DescribeReplicationConfigurationTemplatesPaginatorOptions)) *DescribeReplicationConfigurationTemplatesPaginator
NewDescribeReplicationConfigurationTemplatesPaginator returns a new DescribeReplicationConfigurationTemplatesPaginator
func (*DescribeReplicationConfigurationTemplatesPaginator) HasMorePages ¶
func (p *DescribeReplicationConfigurationTemplatesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeReplicationConfigurationTemplatesPaginator) NextPage ¶
func (p *DescribeReplicationConfigurationTemplatesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeReplicationConfigurationTemplatesOutput, error)
NextPage retrieves the next DescribeReplicationConfigurationTemplates page.
type DescribeReplicationConfigurationTemplatesPaginatorOptions ¶
type DescribeReplicationConfigurationTemplatesPaginatorOptions struct { // Maximum number of Replication Configuration Templates to retrieve. 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 }
DescribeReplicationConfigurationTemplatesPaginatorOptions is the paginator options for DescribeReplicationConfigurationTemplates
type DescribeSourceServersAPIClient ¶
type DescribeSourceServersAPIClient interface {
DescribeSourceServers(context.Context, *DescribeSourceServersInput, ...func(*Options)) (*DescribeSourceServersOutput, error)
}
DescribeSourceServersAPIClient is a client that implements the DescribeSourceServers operation.
type DescribeSourceServersInput ¶
type DescribeSourceServersInput struct { // A set of filters by which to return Source Servers. // // This member is required. Filters *types.DescribeSourceServersRequestFilters // Maximum number of Source Servers to retrieve. MaxResults int32 // The token of the next Source Server to retrieve. NextToken *string // contains filtered or unexported fields }
type DescribeSourceServersOutput ¶
type DescribeSourceServersOutput struct { // An array of Source Servers. Items []types.SourceServer // The token of the next Source Server to retrieve. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeSourceServersPaginator ¶
type DescribeSourceServersPaginator struct {
// contains filtered or unexported fields
}
DescribeSourceServersPaginator is a paginator for DescribeSourceServers
func NewDescribeSourceServersPaginator ¶
func NewDescribeSourceServersPaginator(client DescribeSourceServersAPIClient, params *DescribeSourceServersInput, optFns ...func(*DescribeSourceServersPaginatorOptions)) *DescribeSourceServersPaginator
NewDescribeSourceServersPaginator returns a new DescribeSourceServersPaginator
func (*DescribeSourceServersPaginator) HasMorePages ¶
func (p *DescribeSourceServersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeSourceServersPaginator) NextPage ¶
func (p *DescribeSourceServersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeSourceServersOutput, error)
NextPage retrieves the next DescribeSourceServers page.
type DescribeSourceServersPaginatorOptions ¶
type DescribeSourceServersPaginatorOptions struct { // Maximum number of Source Servers to retrieve. 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 }
DescribeSourceServersPaginatorOptions is the paginator options for DescribeSourceServers
type DisconnectRecoveryInstanceInput ¶
type DisconnectRecoveryInstanceInput struct { // The ID of the Recovery Instance to disconnect. // // This member is required. RecoveryInstanceID *string // contains filtered or unexported fields }
type DisconnectRecoveryInstanceOutput ¶
type DisconnectRecoveryInstanceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DisconnectSourceServerInput ¶
type DisconnectSourceServerInput struct { // The ID of the Source Server to disconnect. // // This member is required. SourceServerID *string // contains filtered or unexported fields }
type DisconnectSourceServerOutput ¶
type DisconnectSourceServerOutput struct { // The ARN of the Source Server. Arn *string // The Data Replication Info of the Source Server. DataReplicationInfo *types.DataReplicationInfo // The status of the last recovery launch of this Source Server. LastLaunchResult types.LastLaunchResult // The lifecycle information of this Source Server. LifeCycle *types.LifeCycle // The ID of the Recovery Instance associated with this Source Server. RecoveryInstanceId *string // The source properties of the Source Server. SourceProperties *types.SourceProperties // The ID of the Source Server. SourceServerID *string // The tags associated with the Source Server. Tags map[string]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 GetFailbackReplicationConfigurationInput ¶
type GetFailbackReplicationConfigurationInput struct { // The ID of the Recovery Instance whose failback replication configuration should // be returned. // // This member is required. RecoveryInstanceID *string // contains filtered or unexported fields }
type GetFailbackReplicationConfigurationOutput ¶
type GetFailbackReplicationConfigurationOutput struct { // The ID of the Recovery Instance. // // This member is required. RecoveryInstanceID *string // Configure bandwidth throttling for the outbound data transfer rate of the // Recovery Instance in Mbps. BandwidthThrottling int64 // The name of the Failback Replication Configuration. Name *string // Whether to use Private IP for the failback replication of the Recovery Instance. UsePrivateIP *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetLaunchConfigurationInput ¶
type GetLaunchConfigurationInput struct { // The ID of the Source Server that we want to retrieve a Launch Configuration for. // // This member is required. SourceServerID *string // contains filtered or unexported fields }
type GetLaunchConfigurationOutput ¶
type GetLaunchConfigurationOutput struct { // Whether we should copy the Private IP of the Source Server to the Recovery // Instance. CopyPrivateIp *bool // Whether we want to copy the tags of the Source Server to the EC2 machine of the // Recovery Instance. CopyTags *bool // The EC2 launch template ID of this launch configuration. Ec2LaunchTemplateID *string // The state of the Recovery Instance in EC2 after the recovery operation. LaunchDisposition types.LaunchDisposition // The licensing configuration to be used for this launch configuration. Licensing *types.Licensing // The name of the launch configuration. Name *string // The ID of the Source Server for this launch configuration. SourceServerID *string // Whether Elastic Disaster Recovery should try to automatically choose the // instance type that best matches the OS, CPU, and RAM of your Source Server. TargetInstanceTypeRightSizingMethod types.TargetInstanceTypeRightSizingMethod // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetReplicationConfigurationInput ¶
type GetReplicationConfigurationInput struct { // The ID of the Source Serve for this Replication Configuration.r // // This member is required. SourceServerID *string // contains filtered or unexported fields }
type GetReplicationConfigurationOutput ¶
type GetReplicationConfigurationOutput struct { // Whether to associate the default Elastic Disaster Recovery Security group with // the Replication Configuration. AssociateDefaultSecurityGroup *bool // Configure bandwidth throttling for the outbound data transfer rate of the Source // Server in Mbps. BandwidthThrottling int64 // Whether to create a Public IP for the Recovery Instance by default. CreatePublicIP *bool // The data plane routing mechanism that will be used for replication. DataPlaneRouting types.ReplicationConfigurationDataPlaneRouting // The Staging Disk EBS volume type to be used during replication. DefaultLargeStagingDiskType types.ReplicationConfigurationDefaultLargeStagingDiskType // The type of EBS encryption to be used during replication. EbsEncryption types.ReplicationConfigurationEbsEncryption // The ARN of the EBS encryption key to be used during replication. EbsEncryptionKeyArn *string // The name of the Replication Configuration. Name *string // The Point in time (PIT) policy to manage snapshots taken during replication. PitPolicy []types.PITPolicyRule // The configuration of the disks of the Source Server to be replicated. ReplicatedDisks []types.ReplicationConfigurationReplicatedDisk // The instance type to be used for the replication server. ReplicationServerInstanceType *string // The security group IDs that will be used by the replication server. ReplicationServersSecurityGroupsIDs []string // The ID of the Source Server for this Replication Configuration. SourceServerID *string // The subnet to be used by the replication staging area. StagingAreaSubnetId *string // A set of tags to be associated with all resources created in the replication // staging area: EC2 replication server, EBS volumes, EBS snapshots, etc. StagingAreaTags map[string]string // Whether to use a dedicated Replication Server in the replication staging area. UseDedicatedReplicationServer *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type InitializeServiceInput ¶
type InitializeServiceInput struct {
// contains filtered or unexported fields
}
type InitializeServiceOutput ¶
type InitializeServiceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The ARN of the resource whose tags should be returned. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The tags of the requested resource. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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 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 RetryDataReplicationInput ¶
type RetryDataReplicationInput struct { // The ID of the Source Server whose data replication should be retried. // // This member is required. SourceServerID *string // contains filtered or unexported fields }
type RetryDataReplicationOutput ¶
type RetryDataReplicationOutput struct { // The ARN of the Source Server. Arn *string // The Data Replication Info of the Source Server. DataReplicationInfo *types.DataReplicationInfo // The status of the last recovery launch of this Source Server. LastLaunchResult types.LastLaunchResult // The lifecycle information of this Source Server. LifeCycle *types.LifeCycle // The ID of the Recovery Instance associated with this Source Server. RecoveryInstanceId *string // The source properties of the Source Server. SourceProperties *types.SourceProperties // The ID of the Source Server. SourceServerID *string // The tags associated with the Source Server. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StartFailbackLaunchInput ¶
type StartFailbackLaunchInput struct { // The IDs of the Recovery Instance whose failback launch we want to request. // // This member is required. RecoveryInstanceIDs []string // The tags to be associated with the failback launch Job. Tags map[string]string // contains filtered or unexported fields }
type StartFailbackLaunchOutput ¶
type StartFailbackLaunchOutput struct { // The failback launch Job. Job *types.Job // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StartRecoveryInput ¶
type StartRecoveryInput struct { // The Source Servers that we want to start a Recovery Job for. // // This member is required. SourceServers []types.StartRecoveryRequestSourceServer // Whether this Source Server Recovery operation is a drill or not. IsDrill *bool // The tags to be associated with the Recovery Job. Tags map[string]string // contains filtered or unexported fields }
type StartRecoveryOutput ¶
type StartRecoveryOutput struct { // The Recovery Job. Job *types.Job // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StopFailbackInput ¶
type StopFailbackInput struct { // The ID of the Recovery Instance we want to stop failback for. // // This member is required. RecoveryInstanceID *string // contains filtered or unexported fields }
type StopFailbackOutput ¶
type StopFailbackOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TagResourceInput ¶
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TerminateRecoveryInstancesInput ¶
type TerminateRecoveryInstancesInput struct { // The IDs of the Recovery Instances that should be terminated. // // This member is required. RecoveryInstanceIDs []string // contains filtered or unexported fields }
type TerminateRecoveryInstancesOutput ¶
type TerminateRecoveryInstancesOutput struct { // The Job for terminating the Recovery Instances. Job *types.Job // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateFailbackReplicationConfigurationInput ¶
type UpdateFailbackReplicationConfigurationInput struct { // The ID of the Recovery Instance. // // This member is required. RecoveryInstanceID *string // Configure bandwidth throttling for the outbound data transfer rate of the // Recovery Instance in Mbps. BandwidthThrottling int64 // The name of the Failback Replication Configuration. Name *string // Whether to use Private IP for the failback replication of the Recovery Instance. UsePrivateIP *bool // contains filtered or unexported fields }
type UpdateFailbackReplicationConfigurationOutput ¶
type UpdateFailbackReplicationConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateLaunchConfigurationInput ¶
type UpdateLaunchConfigurationInput struct { // The ID of the Source Server that we want to retrieve a Launch Configuration for. // // This member is required. SourceServerID *string // Whether we should copy the Private IP of the Source Server to the Recovery // Instance. CopyPrivateIp *bool // Whether we want to copy the tags of the Source Server to the EC2 machine of the // Recovery Instance. CopyTags *bool // The state of the Recovery Instance in EC2 after the recovery operation. LaunchDisposition types.LaunchDisposition // The licensing configuration to be used for this launch configuration. Licensing *types.Licensing // The name of the launch configuration. Name *string // Whether Elastic Disaster Recovery should try to automatically choose the // instance type that best matches the OS, CPU, and RAM of your Source Server. TargetInstanceTypeRightSizingMethod types.TargetInstanceTypeRightSizingMethod // contains filtered or unexported fields }
type UpdateLaunchConfigurationOutput ¶
type UpdateLaunchConfigurationOutput struct { // Whether we should copy the Private IP of the Source Server to the Recovery // Instance. CopyPrivateIp *bool // Whether we want to copy the tags of the Source Server to the EC2 machine of the // Recovery Instance. CopyTags *bool // The EC2 launch template ID of this launch configuration. Ec2LaunchTemplateID *string // The state of the Recovery Instance in EC2 after the recovery operation. LaunchDisposition types.LaunchDisposition // The licensing configuration to be used for this launch configuration. Licensing *types.Licensing // The name of the launch configuration. Name *string // The ID of the Source Server for this launch configuration. SourceServerID *string // Whether Elastic Disaster Recovery should try to automatically choose the // instance type that best matches the OS, CPU, and RAM of your Source Server. TargetInstanceTypeRightSizingMethod types.TargetInstanceTypeRightSizingMethod // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateReplicationConfigurationInput ¶
type UpdateReplicationConfigurationInput struct { // The ID of the Source Server for this Replication Configuration. // // This member is required. SourceServerID *string // Whether to associate the default Elastic Disaster Recovery Security group with // the Replication Configuration. AssociateDefaultSecurityGroup *bool // Configure bandwidth throttling for the outbound data transfer rate of the Source // Server in Mbps. BandwidthThrottling int64 // Whether to create a Public IP for the Recovery Instance by default. CreatePublicIP *bool // The data plane routing mechanism that will be used for replication. DataPlaneRouting types.ReplicationConfigurationDataPlaneRouting // The Staging Disk EBS volume type to be used during replication. DefaultLargeStagingDiskType types.ReplicationConfigurationDefaultLargeStagingDiskType // The type of EBS encryption to be used during replication. EbsEncryption types.ReplicationConfigurationEbsEncryption // The ARN of the EBS encryption key to be used during replication. EbsEncryptionKeyArn *string // The name of the Replication Configuration. Name *string // The Point in time (PIT) policy to manage snapshots taken during replication. PitPolicy []types.PITPolicyRule // The configuration of the disks of the Source Server to be replicated. ReplicatedDisks []types.ReplicationConfigurationReplicatedDisk // The instance type to be used for the replication server. ReplicationServerInstanceType *string // The security group IDs that will be used by the replication server. ReplicationServersSecurityGroupsIDs []string // The subnet to be used by the replication staging area. StagingAreaSubnetId *string // A set of tags to be associated with all resources created in the replication // staging area: EC2 replication server, EBS volumes, EBS snapshots, etc. StagingAreaTags map[string]string // Whether to use a dedicated Replication Server in the replication staging area. UseDedicatedReplicationServer *bool // contains filtered or unexported fields }
type UpdateReplicationConfigurationOutput ¶
type UpdateReplicationConfigurationOutput struct { // Whether to associate the default Elastic Disaster Recovery Security group with // the Replication Configuration. AssociateDefaultSecurityGroup *bool // Configure bandwidth throttling for the outbound data transfer rate of the Source // Server in Mbps. BandwidthThrottling int64 // Whether to create a Public IP for the Recovery Instance by default. CreatePublicIP *bool // The data plane routing mechanism that will be used for replication. DataPlaneRouting types.ReplicationConfigurationDataPlaneRouting // The Staging Disk EBS volume type to be used during replication. DefaultLargeStagingDiskType types.ReplicationConfigurationDefaultLargeStagingDiskType // The type of EBS encryption to be used during replication. EbsEncryption types.ReplicationConfigurationEbsEncryption // The ARN of the EBS encryption key to be used during replication. EbsEncryptionKeyArn *string // The name of the Replication Configuration. Name *string // The Point in time (PIT) policy to manage snapshots taken during replication. PitPolicy []types.PITPolicyRule // The configuration of the disks of the Source Server to be replicated. ReplicatedDisks []types.ReplicationConfigurationReplicatedDisk // The instance type to be used for the replication server. ReplicationServerInstanceType *string // The security group IDs that will be used by the replication server. ReplicationServersSecurityGroupsIDs []string // The ID of the Source Server for this Replication Configuration. SourceServerID *string // The subnet to be used by the replication staging area. StagingAreaSubnetId *string // A set of tags to be associated with all resources created in the replication // staging area: EC2 replication server, EBS volumes, EBS snapshots, etc. StagingAreaTags map[string]string // Whether to use a dedicated Replication Server in the replication staging area. UseDedicatedReplicationServer *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateReplicationConfigurationTemplateInput ¶
type UpdateReplicationConfigurationTemplateInput struct { // The Replication Configuration Template ID. // // This member is required. ReplicationConfigurationTemplateID *string // The Replication Configuration Template ARN. Arn *string // Whether to associate the default Elastic Disaster Recovery Security group with // the Replication Configuration Template. AssociateDefaultSecurityGroup *bool // Configure bandwidth throttling for the outbound data transfer rate of the Source // Server in Mbps. BandwidthThrottling int64 // Whether to create a Public IP for the Recovery Instance by default. CreatePublicIP *bool // The data plane routing mechanism that will be used for replication. DataPlaneRouting types.ReplicationConfigurationDataPlaneRouting // The Staging Disk EBS volume type to be used during replication. DefaultLargeStagingDiskType types.ReplicationConfigurationDefaultLargeStagingDiskType // The type of EBS encryption to be used during replication. EbsEncryption types.ReplicationConfigurationEbsEncryption // The ARN of the EBS encryption key to be used during replication. EbsEncryptionKeyArn *string // The Point in time (PIT) policy to manage snapshots taken during replication. PitPolicy []types.PITPolicyRule // The instance type to be used for the replication server. ReplicationServerInstanceType *string // The security group IDs that will be used by the replication server. ReplicationServersSecurityGroupsIDs []string // The subnet to be used by the replication staging area. StagingAreaSubnetId *string // A set of tags to be associated with all resources created in the replication // staging area: EC2 replication server, EBS volumes, EBS snapshots, etc. StagingAreaTags map[string]string // Whether to use a dedicated Replication Server in the replication staging area. UseDedicatedReplicationServer *bool // contains filtered or unexported fields }
type UpdateReplicationConfigurationTemplateOutput ¶
type UpdateReplicationConfigurationTemplateOutput struct { // The Replication Configuration Template ID. // // This member is required. ReplicationConfigurationTemplateID *string // The Replication Configuration Template ARN. Arn *string // Whether to associate the default Elastic Disaster Recovery Security group with // the Replication Configuration Template. AssociateDefaultSecurityGroup *bool // Configure bandwidth throttling for the outbound data transfer rate of the Source // Server in Mbps. BandwidthThrottling int64 // Whether to create a Public IP for the Recovery Instance by default. CreatePublicIP *bool // The data plane routing mechanism that will be used for replication. DataPlaneRouting types.ReplicationConfigurationDataPlaneRouting // The Staging Disk EBS volume type to be used during replication. DefaultLargeStagingDiskType types.ReplicationConfigurationDefaultLargeStagingDiskType // The type of EBS encryption to be used during replication. EbsEncryption types.ReplicationConfigurationEbsEncryption // The ARN of the EBS encryption key to be used during replication. EbsEncryptionKeyArn *string // The Point in time (PIT) policy to manage snapshots taken during replication. PitPolicy []types.PITPolicyRule // The instance type to be used for the replication server. ReplicationServerInstanceType *string // The security group IDs that will be used by the replication server. ReplicationServersSecurityGroupsIDs []string // The subnet to be used by the replication staging area. StagingAreaSubnetId *string // A set of tags to be associated with all resources created in the replication // staging area: EC2 replication server, EBS volumes, EBS snapshots, etc. StagingAreaTags map[string]string // A set of tags to be associated with the Replication Configuration Template // resource. Tags map[string]string // Whether to use a dedicated Replication Server in the replication staging area. UseDedicatedReplicationServer *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files
¶
- api_client.go
- api_op_CreateReplicationConfigurationTemplate.go
- api_op_DeleteJob.go
- api_op_DeleteRecoveryInstance.go
- api_op_DeleteReplicationConfigurationTemplate.go
- api_op_DeleteSourceServer.go
- api_op_DescribeJobLogItems.go
- api_op_DescribeJobs.go
- api_op_DescribeRecoveryInstances.go
- api_op_DescribeRecoverySnapshots.go
- api_op_DescribeReplicationConfigurationTemplates.go
- api_op_DescribeSourceServers.go
- api_op_DisconnectRecoveryInstance.go
- api_op_DisconnectSourceServer.go
- api_op_GetFailbackReplicationConfiguration.go
- api_op_GetLaunchConfiguration.go
- api_op_GetReplicationConfiguration.go
- api_op_InitializeService.go
- api_op_ListTagsForResource.go
- api_op_RetryDataReplication.go
- api_op_StartFailbackLaunch.go
- api_op_StartRecovery.go
- api_op_StopFailback.go
- api_op_TagResource.go
- api_op_TerminateRecoveryInstances.go
- api_op_UntagResource.go
- api_op_UpdateFailbackReplicationConfiguration.go
- api_op_UpdateLaunchConfiguration.go
- api_op_UpdateReplicationConfiguration.go
- api_op_UpdateReplicationConfigurationTemplate.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- serializers.go
- validators.go