Nothing
# This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common get_config new_operation new_request send_request
#' @include drs_service.R
NULL
#' Associate a Source Network to an existing CloudFormation Stack and
#' modify launch templates to use this network
#'
#' @description
#' Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network. Can be used for reverting to previously deployed CloudFormation stacks.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_associate_source_network_stack/](https://www.paws-r-sdk.com/docs/drs_associate_source_network_stack/) for full documentation.
#'
#' @param sourceNetworkID [required] The Source Network ID to associate with CloudFormation template.
#' @param cfnStackName [required] CloudFormation template to associate with a Source Network.
#'
#' @keywords internal
#'
#' @rdname drs_associate_source_network_stack
drs_associate_source_network_stack <- function(sourceNetworkID, cfnStackName) {
op <- new_operation(
name = "AssociateSourceNetworkStack",
http_method = "POST",
http_path = "/AssociateSourceNetworkStack",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$associate_source_network_stack_input(sourceNetworkID = sourceNetworkID, cfnStackName = cfnStackName)
output <- .drs$associate_source_network_stack_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$associate_source_network_stack <- drs_associate_source_network_stack
#' Cancels an in-progress Recovery Plan execution
#'
#' @description
#' Cancels an in-progress Recovery Plan execution. Remaining steps are skipped.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_cancel_recovery_plan_execution/](https://www.paws-r-sdk.com/docs/drs_cancel_recovery_plan_execution/) for full documentation.
#'
#' @param recoveryPlanExecutionArn [required] The ARN of the Recovery Plan execution to cancel.
#'
#' @keywords internal
#'
#' @rdname drs_cancel_recovery_plan_execution
drs_cancel_recovery_plan_execution <- function(recoveryPlanExecutionArn) {
op <- new_operation(
name = "CancelRecoveryPlanExecution",
http_method = "POST",
http_path = "/CancelRecoveryPlanExecution",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$cancel_recovery_plan_execution_input(recoveryPlanExecutionArn = recoveryPlanExecutionArn)
output <- .drs$cancel_recovery_plan_execution_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$cancel_recovery_plan_execution <- drs_cancel_recovery_plan_execution
#' Create an extended source server in the target Account based on the
#' source server in staging account
#'
#' @description
#' Create an extended source server in the target Account based on the source server in staging account.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_create_extended_source_server/](https://www.paws-r-sdk.com/docs/drs_create_extended_source_server/) for full documentation.
#'
#' @param sourceServerArn [required] This defines the ARN of the source server in staging Account based on which you want to create an extended source server.
#' @param tags A list of tags associated with the extended source server.
#'
#' @keywords internal
#'
#' @rdname drs_create_extended_source_server
drs_create_extended_source_server <- function(sourceServerArn, tags = NULL) {
op <- new_operation(
name = "CreateExtendedSourceServer",
http_method = "POST",
http_path = "/CreateExtendedSourceServer",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$create_extended_source_server_input(sourceServerArn = sourceServerArn, tags = tags)
output <- .drs$create_extended_source_server_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$create_extended_source_server <- drs_create_extended_source_server
#' Creates a new Launch Configuration Template
#'
#' @description
#' Creates a new Launch Configuration Template.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_create_launch_configuration_template/](https://www.paws-r-sdk.com/docs/drs_create_launch_configuration_template/) for full documentation.
#'
#' @param tags Request to associate tags during creation of a Launch Configuration Template.
#' @param launchDisposition Launch disposition.
#' @param targetInstanceTypeRightSizingMethod Target instance type right-sizing method.
#' @param copyPrivateIp Copy private IP.
#' @param copyTags Copy tags.
#' @param licensing Licensing.
#' @param exportBucketArn S3 bucket ARN to export Source Network templates.
#' @param postLaunchEnabled Whether we want to activate post-launch actions.
#' @param launchIntoSourceInstance DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.
#' @param recoveryMode Recovery mode.
#'
#' @keywords internal
#'
#' @rdname drs_create_launch_configuration_template
drs_create_launch_configuration_template <- function(tags = NULL, launchDisposition = NULL, targetInstanceTypeRightSizingMethod = NULL, copyPrivateIp = NULL, copyTags = NULL, licensing = NULL, exportBucketArn = NULL, postLaunchEnabled = NULL, launchIntoSourceInstance = NULL, recoveryMode = NULL) {
op <- new_operation(
name = "CreateLaunchConfigurationTemplate",
http_method = "POST",
http_path = "/CreateLaunchConfigurationTemplate",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$create_launch_configuration_template_input(tags = tags, launchDisposition = launchDisposition, targetInstanceTypeRightSizingMethod = targetInstanceTypeRightSizingMethod, copyPrivateIp = copyPrivateIp, copyTags = copyTags, licensing = licensing, exportBucketArn = exportBucketArn, postLaunchEnabled = postLaunchEnabled, launchIntoSourceInstance = launchIntoSourceInstance, recoveryMode = recoveryMode)
output <- .drs$create_launch_configuration_template_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$create_launch_configuration_template <- drs_create_launch_configuration_template
#' Creates a Recovery Plan to orchestrate multi-server disaster recovery
#'
#' @description
#' Creates a Recovery Plan to orchestrate multi-server disaster recovery.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_create_recovery_plan/](https://www.paws-r-sdk.com/docs/drs_create_recovery_plan/) for full documentation.
#'
#' @param name [required] The name of a Recovery Plan.
#' @param description The description of a Recovery Plan.
#' @param clientToken A unique string provided to ensure request idempotency.
#' @param tags The tags to apply to the Recovery Plan.
#'
#' @keywords internal
#'
#' @rdname drs_create_recovery_plan
drs_create_recovery_plan <- function(name, description = NULL, clientToken = NULL, tags = NULL) {
op <- new_operation(
name = "CreateRecoveryPlan",
http_method = "POST",
http_path = "/CreateRecoveryPlan",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$create_recovery_plan_input(name = name, description = description, clientToken = clientToken, tags = tags)
output <- .drs$create_recovery_plan_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$create_recovery_plan <- drs_create_recovery_plan
#' Creates a step in a Recovery Plan
#'
#' @description
#' Creates a step in a Recovery Plan. A step is either `SERVER` type (servers to recover in parallel) or `WAIT` type (timed pause between steps).
#'
#' See [https://www.paws-r-sdk.com/docs/drs_create_recovery_plan_step/](https://www.paws-r-sdk.com/docs/drs_create_recovery_plan_step/) for full documentation.
#'
#' @param recoveryPlanArn [required] The ARN of the Recovery Plan to add the step to.
#' @param stepName [required] The name of a Recovery Plan Step.
#' @param stepOrder The order of a step within a Recovery Plan (1-based).
#' @param configuration [required] Type-specific configuration for a recovery plan step. Exactly one member must be set.
#' @param clientToken A unique string provided to ensure request idempotency.
#'
#' @keywords internal
#'
#' @rdname drs_create_recovery_plan_step
drs_create_recovery_plan_step <- function(recoveryPlanArn, stepName, stepOrder = NULL, configuration, clientToken = NULL) {
op <- new_operation(
name = "CreateRecoveryPlanStep",
http_method = "POST",
http_path = "/CreateRecoveryPlanStep",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$create_recovery_plan_step_input(recoveryPlanArn = recoveryPlanArn, stepName = stepName, stepOrder = stepOrder, configuration = configuration, clientToken = clientToken)
output <- .drs$create_recovery_plan_step_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$create_recovery_plan_step <- drs_create_recovery_plan_step
#' Creates a new ReplicationConfigurationTemplate
#'
#' @description
#' Creates a new ReplicationConfigurationTemplate.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_create_replication_configuration_template/](https://www.paws-r-sdk.com/docs/drs_create_replication_configuration_template/) for full documentation.
#'
#' @param stagingAreaSubnetId [required] The subnet to be used by the replication staging area.
#' @param associateDefaultSecurityGroup Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
#' @param replicationServersSecurityGroupsIDs [required] The security group IDs that will be used by the replication server.
#' @param replicationServerInstanceType The instance type to be used for the replication server.
#' @param useDedicatedReplicationServer Whether to use a dedicated Replication Server in the replication staging area.
#' @param defaultLargeStagingDiskType The Staging Disk EBS volume type to be used during replication.
#' @param ebsEncryption [required] The type of EBS encryption to be used during replication.
#' @param ebsEncryptionKeyArn The ARN of the EBS encryption key to be used during replication.
#' @param bandwidthThrottling [required] Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
#' @param dataPlaneRouting The data plane routing mechanism that will be used for replication.
#' @param createPublicIP Whether to create a Public IP for the Recovery Instance by default.
#' @param stagingAreaTags [required] A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
#' @param pitPolicy [required] The Point in time (PIT) policy to manage snapshots taken during replication.
#' @param tags A set of tags to be associated with the Replication Configuration Template resource.
#' @param autoReplicateNewDisks Whether to allow the AWS replication agent to automatically replicate newly added disks.
#' @param internetProtocol Which version of the Internet Protocol to use for replication of data. (IPv4 or IPv6)
#'
#' @keywords internal
#'
#' @rdname drs_create_replication_configuration_template
drs_create_replication_configuration_template <- function(stagingAreaSubnetId, associateDefaultSecurityGroup = NULL, replicationServersSecurityGroupsIDs, replicationServerInstanceType = NULL, useDedicatedReplicationServer = NULL, defaultLargeStagingDiskType = NULL, ebsEncryption, ebsEncryptionKeyArn = NULL, bandwidthThrottling, dataPlaneRouting = NULL, createPublicIP = NULL, stagingAreaTags, pitPolicy, tags = NULL, autoReplicateNewDisks = NULL, internetProtocol = NULL) {
op <- new_operation(
name = "CreateReplicationConfigurationTemplate",
http_method = "POST",
http_path = "/CreateReplicationConfigurationTemplate",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$create_replication_configuration_template_input(stagingAreaSubnetId = stagingAreaSubnetId, associateDefaultSecurityGroup = associateDefaultSecurityGroup, replicationServersSecurityGroupsIDs = replicationServersSecurityGroupsIDs, replicationServerInstanceType = replicationServerInstanceType, useDedicatedReplicationServer = useDedicatedReplicationServer, defaultLargeStagingDiskType = defaultLargeStagingDiskType, ebsEncryption = ebsEncryption, ebsEncryptionKeyArn = ebsEncryptionKeyArn, bandwidthThrottling = bandwidthThrottling, dataPlaneRouting = dataPlaneRouting, createPublicIP = createPublicIP, stagingAreaTags = stagingAreaTags, pitPolicy = pitPolicy, tags = tags, autoReplicateNewDisks = autoReplicateNewDisks, internetProtocol = internetProtocol)
output <- .drs$create_replication_configuration_template_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$create_replication_configuration_template <- drs_create_replication_configuration_template
#' Create a new Source Network resource for a provided VPC ID
#'
#' @description
#' Create a new Source Network resource for a provided VPC ID.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_create_source_network/](https://www.paws-r-sdk.com/docs/drs_create_source_network/) for full documentation.
#'
#' @param vpcID [required] Which VPC ID to protect.
#' @param originAccountID [required] Account containing the VPC to protect.
#' @param originRegion [required] Region containing the VPC to protect.
#' @param tags A set of tags to be associated with the Source Network resource.
#'
#' @keywords internal
#'
#' @rdname drs_create_source_network
drs_create_source_network <- function(vpcID, originAccountID, originRegion, tags = NULL) {
op <- new_operation(
name = "CreateSourceNetwork",
http_method = "POST",
http_path = "/CreateSourceNetwork",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$create_source_network_input(vpcID = vpcID, originAccountID = originAccountID, originRegion = originRegion, tags = tags)
output <- .drs$create_source_network_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$create_source_network <- drs_create_source_network
#' Deletes a single Job by ID
#'
#' @description
#' Deletes a single Job by ID.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_delete_job/](https://www.paws-r-sdk.com/docs/drs_delete_job/) for full documentation.
#'
#' @param jobID [required] The ID of the Job to be deleted.
#'
#' @keywords internal
#'
#' @rdname drs_delete_job
drs_delete_job <- function(jobID) {
op <- new_operation(
name = "DeleteJob",
http_method = "POST",
http_path = "/DeleteJob",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$delete_job_input(jobID = jobID)
output <- .drs$delete_job_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$delete_job <- drs_delete_job
#' Deletes a resource launch action
#'
#' @description
#' Deletes a resource launch action.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_delete_launch_action/](https://www.paws-r-sdk.com/docs/drs_delete_launch_action/) for full documentation.
#'
#' @param resourceId [required] Launch configuration template Id or Source Server Id
#' @param actionId [required] Launch action Id.
#'
#' @keywords internal
#'
#' @rdname drs_delete_launch_action
drs_delete_launch_action <- function(resourceId, actionId) {
op <- new_operation(
name = "DeleteLaunchAction",
http_method = "POST",
http_path = "/DeleteLaunchAction",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$delete_launch_action_input(resourceId = resourceId, actionId = actionId)
output <- .drs$delete_launch_action_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$delete_launch_action <- drs_delete_launch_action
#' Deletes a single Launch Configuration Template by ID
#'
#' @description
#' Deletes a single Launch Configuration Template by ID.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_delete_launch_configuration_template/](https://www.paws-r-sdk.com/docs/drs_delete_launch_configuration_template/) for full documentation.
#'
#' @param launchConfigurationTemplateID [required] The ID of the Launch Configuration Template to be deleted.
#'
#' @keywords internal
#'
#' @rdname drs_delete_launch_configuration_template
drs_delete_launch_configuration_template <- function(launchConfigurationTemplateID) {
op <- new_operation(
name = "DeleteLaunchConfigurationTemplate",
http_method = "POST",
http_path = "/DeleteLaunchConfigurationTemplate",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$delete_launch_configuration_template_input(launchConfigurationTemplateID = launchConfigurationTemplateID)
output <- .drs$delete_launch_configuration_template_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$delete_launch_configuration_template <- drs_delete_launch_configuration_template
#' Deletes a single Recovery Instance by ID
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_delete_recovery_instance/](https://www.paws-r-sdk.com/docs/drs_delete_recovery_instance/) for full documentation.
#'
#' @param recoveryInstanceID [required] The ID of the Recovery Instance to be deleted.
#'
#' @keywords internal
#'
#' @rdname drs_delete_recovery_instance
drs_delete_recovery_instance <- function(recoveryInstanceID) {
op <- new_operation(
name = "DeleteRecoveryInstance",
http_method = "POST",
http_path = "/DeleteRecoveryInstance",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$delete_recovery_instance_input(recoveryInstanceID = recoveryInstanceID)
output <- .drs$delete_recovery_instance_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$delete_recovery_instance <- drs_delete_recovery_instance
#' Deletes a Recovery Plan
#'
#' @description
#' Deletes a Recovery Plan. Cannot delete a plan that has an execution in a non-terminal status (`CREATED`, `IN_PROGRESS`).
#'
#' See [https://www.paws-r-sdk.com/docs/drs_delete_recovery_plan/](https://www.paws-r-sdk.com/docs/drs_delete_recovery_plan/) for full documentation.
#'
#' @param recoveryPlanArn [required] The ARN of the Recovery Plan to delete.
#'
#' @keywords internal
#'
#' @rdname drs_delete_recovery_plan
drs_delete_recovery_plan <- function(recoveryPlanArn) {
op <- new_operation(
name = "DeleteRecoveryPlan",
http_method = "POST",
http_path = "/DeleteRecoveryPlan",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$delete_recovery_plan_input(recoveryPlanArn = recoveryPlanArn)
output <- .drs$delete_recovery_plan_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$delete_recovery_plan <- drs_delete_recovery_plan
#' Deletes a Recovery Plan execution record
#'
#' @description
#' Deletes a Recovery Plan execution record. Must be in a terminal status.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_delete_recovery_plan_execution/](https://www.paws-r-sdk.com/docs/drs_delete_recovery_plan_execution/) for full documentation.
#'
#' @param recoveryPlanExecutionArn [required] The ARN of the Recovery Plan execution to delete.
#'
#' @keywords internal
#'
#' @rdname drs_delete_recovery_plan_execution
drs_delete_recovery_plan_execution <- function(recoveryPlanExecutionArn) {
op <- new_operation(
name = "DeleteRecoveryPlanExecution",
http_method = "POST",
http_path = "/DeleteRecoveryPlanExecution",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$delete_recovery_plan_execution_input(recoveryPlanExecutionArn = recoveryPlanExecutionArn)
output <- .drs$delete_recovery_plan_execution_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$delete_recovery_plan_execution <- drs_delete_recovery_plan_execution
#' Deletes a step from a Recovery Plan
#'
#' @description
#' Deletes a step from a Recovery Plan.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_delete_recovery_plan_step/](https://www.paws-r-sdk.com/docs/drs_delete_recovery_plan_step/) for full documentation.
#'
#' @param recoveryPlanStepArn [required] The ARN of the Recovery Plan step to delete.
#'
#' @keywords internal
#'
#' @rdname drs_delete_recovery_plan_step
drs_delete_recovery_plan_step <- function(recoveryPlanStepArn) {
op <- new_operation(
name = "DeleteRecoveryPlanStep",
http_method = "POST",
http_path = "/DeleteRecoveryPlanStep",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$delete_recovery_plan_step_input(recoveryPlanStepArn = recoveryPlanStepArn)
output <- .drs$delete_recovery_plan_step_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$delete_recovery_plan_step <- drs_delete_recovery_plan_step
#' Deletes a single Replication Configuration Template by ID
#'
#' @description
#' Deletes a single Replication Configuration Template by ID
#'
#' See [https://www.paws-r-sdk.com/docs/drs_delete_replication_configuration_template/](https://www.paws-r-sdk.com/docs/drs_delete_replication_configuration_template/) for full documentation.
#'
#' @param replicationConfigurationTemplateID [required] The ID of the Replication Configuration Template to be deleted.
#'
#' @keywords internal
#'
#' @rdname drs_delete_replication_configuration_template
drs_delete_replication_configuration_template <- function(replicationConfigurationTemplateID) {
op <- new_operation(
name = "DeleteReplicationConfigurationTemplate",
http_method = "POST",
http_path = "/DeleteReplicationConfigurationTemplate",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$delete_replication_configuration_template_input(replicationConfigurationTemplateID = replicationConfigurationTemplateID)
output <- .drs$delete_replication_configuration_template_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$delete_replication_configuration_template <- drs_delete_replication_configuration_template
#' Delete Source Network resource
#'
#' @description
#' Delete Source Network resource.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_delete_source_network/](https://www.paws-r-sdk.com/docs/drs_delete_source_network/) for full documentation.
#'
#' @param sourceNetworkID [required] ID of the Source Network to delete.
#'
#' @keywords internal
#'
#' @rdname drs_delete_source_network
drs_delete_source_network <- function(sourceNetworkID) {
op <- new_operation(
name = "DeleteSourceNetwork",
http_method = "POST",
http_path = "/DeleteSourceNetwork",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$delete_source_network_input(sourceNetworkID = sourceNetworkID)
output <- .drs$delete_source_network_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$delete_source_network <- drs_delete_source_network
#' Deletes a single Source Server by ID
#'
#' @description
#' Deletes a single Source Server by ID. The Source Server must be disconnected first.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_delete_source_server/](https://www.paws-r-sdk.com/docs/drs_delete_source_server/) for full documentation.
#'
#' @param sourceServerID [required] The ID of the Source Server to be deleted.
#'
#' @keywords internal
#'
#' @rdname drs_delete_source_server
drs_delete_source_server <- function(sourceServerID) {
op <- new_operation(
name = "DeleteSourceServer",
http_method = "POST",
http_path = "/DeleteSourceServer",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$delete_source_server_input(sourceServerID = sourceServerID)
output <- .drs$delete_source_server_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$delete_source_server <- drs_delete_source_server
#' Retrieves a detailed Job log with pagination
#'
#' @description
#' Retrieves a detailed Job log with pagination.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_describe_job_log_items/](https://www.paws-r-sdk.com/docs/drs_describe_job_log_items/) for full documentation.
#'
#' @param jobID [required] The ID of the Job for which Job log items will be retrieved.
#' @param maxResults Maximum number of Job log items to retrieve.
#' @param nextToken The token of the next Job log items to retrieve.
#'
#' @keywords internal
#'
#' @rdname drs_describe_job_log_items
drs_describe_job_log_items <- function(jobID, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "DescribeJobLogItems",
http_method = "POST",
http_path = "/DescribeJobLogItems",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "items"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$describe_job_log_items_input(jobID = jobID, maxResults = maxResults, nextToken = nextToken)
output <- .drs$describe_job_log_items_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$describe_job_log_items <- drs_describe_job_log_items
#' Returns a list of Jobs
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_describe_jobs/](https://www.paws-r-sdk.com/docs/drs_describe_jobs/) for full documentation.
#'
#' @param filters A set of filters by which to return Jobs.
#' @param maxResults Maximum number of Jobs to retrieve.
#' @param nextToken The token of the next Job to retrieve.
#'
#' @keywords internal
#'
#' @rdname drs_describe_jobs
drs_describe_jobs <- function(filters = NULL, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "DescribeJobs",
http_method = "POST",
http_path = "/DescribeJobs",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "items"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$describe_jobs_input(filters = filters, maxResults = maxResults, nextToken = nextToken)
output <- .drs$describe_jobs_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$describe_jobs <- drs_describe_jobs
#' Lists all Launch Configuration Templates, filtered by Launch
#' Configuration Template IDs
#'
#' @description
#' Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
#'
#' See [https://www.paws-r-sdk.com/docs/drs_describe_launch_configuration_templates/](https://www.paws-r-sdk.com/docs/drs_describe_launch_configuration_templates/) for full documentation.
#'
#' @param launchConfigurationTemplateIDs Request to filter Launch Configuration Templates list by Launch Configuration Template ID.
#' @param maxResults Maximum results to be returned in DescribeLaunchConfigurationTemplates.
#' @param nextToken The token of the next Launch Configuration Template to retrieve.
#'
#' @keywords internal
#'
#' @rdname drs_describe_launch_configuration_templates
drs_describe_launch_configuration_templates <- function(launchConfigurationTemplateIDs = NULL, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "DescribeLaunchConfigurationTemplates",
http_method = "POST",
http_path = "/DescribeLaunchConfigurationTemplates",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "items"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$describe_launch_configuration_templates_input(launchConfigurationTemplateIDs = launchConfigurationTemplateIDs, maxResults = maxResults, nextToken = nextToken)
output <- .drs$describe_launch_configuration_templates_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$describe_launch_configuration_templates <- drs_describe_launch_configuration_templates
#' Lists all Recovery Instances or multiple Recovery Instances by ID
#'
#' @description
#' Lists all Recovery Instances or multiple Recovery Instances by ID.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_describe_recovery_instances/](https://www.paws-r-sdk.com/docs/drs_describe_recovery_instances/) for full documentation.
#'
#' @param filters A set of filters by which to return Recovery Instances.
#' @param maxResults Maximum number of Recovery Instances to retrieve.
#' @param nextToken The token of the next Recovery Instance to retrieve.
#'
#' @keywords internal
#'
#' @rdname drs_describe_recovery_instances
drs_describe_recovery_instances <- function(filters = NULL, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "DescribeRecoveryInstances",
http_method = "POST",
http_path = "/DescribeRecoveryInstances",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "items"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$describe_recovery_instances_input(filters = filters, maxResults = maxResults, nextToken = nextToken)
output <- .drs$describe_recovery_instances_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$describe_recovery_instances <- drs_describe_recovery_instances
#' Lists all Recovery Snapshots for a single Source Server
#'
#' @description
#' Lists all Recovery Snapshots for a single Source Server.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_describe_recovery_snapshots/](https://www.paws-r-sdk.com/docs/drs_describe_recovery_snapshots/) for full documentation.
#'
#' @param sourceServerID [required] Filter Recovery Snapshots by Source Server ID.
#' @param filters A set of filters by which to return Recovery Snapshots.
#' @param order The sorted ordering by which to return Recovery Snapshots.
#' @param maxResults Maximum number of Recovery Snapshots to retrieve.
#' @param nextToken The token of the next Recovery Snapshot to retrieve.
#'
#' @keywords internal
#'
#' @rdname drs_describe_recovery_snapshots
drs_describe_recovery_snapshots <- function(sourceServerID, filters = NULL, order = NULL, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "DescribeRecoverySnapshots",
http_method = "POST",
http_path = "/DescribeRecoverySnapshots",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "items"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$describe_recovery_snapshots_input(sourceServerID = sourceServerID, filters = filters, order = order, maxResults = maxResults, nextToken = nextToken)
output <- .drs$describe_recovery_snapshots_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$describe_recovery_snapshots <- drs_describe_recovery_snapshots
#' Lists all ReplicationConfigurationTemplates, filtered by Source Server
#' IDs
#'
#' @description
#' Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_describe_replication_configuration_templates/](https://www.paws-r-sdk.com/docs/drs_describe_replication_configuration_templates/) for full documentation.
#'
#' @param replicationConfigurationTemplateIDs The IDs of the Replication Configuration Templates to retrieve. An empty list means all Replication Configuration Templates.
#' @param maxResults Maximum number of Replication Configuration Templates to retrieve.
#' @param nextToken The token of the next Replication Configuration Template to retrieve.
#'
#' @keywords internal
#'
#' @rdname drs_describe_replication_configuration_templates
drs_describe_replication_configuration_templates <- function(replicationConfigurationTemplateIDs = NULL, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "DescribeReplicationConfigurationTemplates",
http_method = "POST",
http_path = "/DescribeReplicationConfigurationTemplates",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "items"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$describe_replication_configuration_templates_input(replicationConfigurationTemplateIDs = replicationConfigurationTemplateIDs, maxResults = maxResults, nextToken = nextToken)
output <- .drs$describe_replication_configuration_templates_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$describe_replication_configuration_templates <- drs_describe_replication_configuration_templates
#' Lists all Source Networks or multiple Source Networks filtered by ID
#'
#' @description
#' Lists all Source Networks or multiple Source Networks filtered by ID.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_describe_source_networks/](https://www.paws-r-sdk.com/docs/drs_describe_source_networks/) for full documentation.
#'
#' @param filters A set of filters by which to return Source Networks.
#' @param maxResults Maximum number of Source Networks to retrieve.
#' @param nextToken The token of the next Source Networks to retrieve.
#'
#' @keywords internal
#'
#' @rdname drs_describe_source_networks
drs_describe_source_networks <- function(filters = NULL, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "DescribeSourceNetworks",
http_method = "POST",
http_path = "/DescribeSourceNetworks",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "items"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$describe_source_networks_input(filters = filters, maxResults = maxResults, nextToken = nextToken)
output <- .drs$describe_source_networks_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$describe_source_networks <- drs_describe_source_networks
#' Lists all Source Servers or multiple Source Servers filtered by ID
#'
#' @description
#' Lists all Source Servers or multiple Source Servers filtered by ID.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_describe_source_servers/](https://www.paws-r-sdk.com/docs/drs_describe_source_servers/) for full documentation.
#'
#' @param filters A set of filters by which to return Source Servers.
#' @param maxResults Maximum number of Source Servers to retrieve.
#' @param nextToken The token of the next Source Server to retrieve.
#'
#' @keywords internal
#'
#' @rdname drs_describe_source_servers
drs_describe_source_servers <- function(filters = NULL, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "DescribeSourceServers",
http_method = "POST",
http_path = "/DescribeSourceServers",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "items"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$describe_source_servers_input(filters = filters, maxResults = maxResults, nextToken = nextToken)
output <- .drs$describe_source_servers_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$describe_source_servers <- drs_describe_source_servers
#' Disconnect a Recovery Instance from Elastic Disaster Recovery
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_disconnect_recovery_instance/](https://www.paws-r-sdk.com/docs/drs_disconnect_recovery_instance/) for full documentation.
#'
#' @param recoveryInstanceID [required] The ID of the Recovery Instance to disconnect.
#'
#' @keywords internal
#'
#' @rdname drs_disconnect_recovery_instance
drs_disconnect_recovery_instance <- function(recoveryInstanceID) {
op <- new_operation(
name = "DisconnectRecoveryInstance",
http_method = "POST",
http_path = "/DisconnectRecoveryInstance",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$disconnect_recovery_instance_input(recoveryInstanceID = recoveryInstanceID)
output <- .drs$disconnect_recovery_instance_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$disconnect_recovery_instance <- drs_disconnect_recovery_instance
#' Disconnects a specific Source Server from Elastic Disaster Recovery
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_disconnect_source_server/](https://www.paws-r-sdk.com/docs/drs_disconnect_source_server/) for full documentation.
#'
#' @param sourceServerID [required] The ID of the Source Server to disconnect.
#'
#' @keywords internal
#'
#' @rdname drs_disconnect_source_server
drs_disconnect_source_server <- function(sourceServerID) {
op <- new_operation(
name = "DisconnectSourceServer",
http_method = "POST",
http_path = "/DisconnectSourceServer",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$disconnect_source_server_input(sourceServerID = sourceServerID)
output <- .drs$disconnect_source_server_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$disconnect_source_server <- drs_disconnect_source_server
#' Export the Source Network CloudFormation template to an S3 bucket
#'
#' @description
#' Export the Source Network CloudFormation template to an S3 bucket.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_export_source_network_cfn_template/](https://www.paws-r-sdk.com/docs/drs_export_source_network_cfn_template/) for full documentation.
#'
#' @param sourceNetworkID [required] The Source Network ID to export its CloudFormation template to an S3 bucket.
#'
#' @keywords internal
#'
#' @rdname drs_export_source_network_cfn_template
drs_export_source_network_cfn_template <- function(sourceNetworkID) {
op <- new_operation(
name = "ExportSourceNetworkCfnTemplate",
http_method = "POST",
http_path = "/ExportSourceNetworkCfnTemplate",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$export_source_network_cfn_template_input(sourceNetworkID = sourceNetworkID)
output <- .drs$export_source_network_cfn_template_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$export_source_network_cfn_template <- drs_export_source_network_cfn_template
#' Lists all Failback ReplicationConfigurations, filtered by Recovery
#' Instance ID
#'
#' @description
#' Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_get_failback_replication_configuration/](https://www.paws-r-sdk.com/docs/drs_get_failback_replication_configuration/) for full documentation.
#'
#' @param recoveryInstanceID [required] The ID of the Recovery Instance whose failback replication configuration should be returned.
#'
#' @keywords internal
#'
#' @rdname drs_get_failback_replication_configuration
drs_get_failback_replication_configuration <- function(recoveryInstanceID) {
op <- new_operation(
name = "GetFailbackReplicationConfiguration",
http_method = "POST",
http_path = "/GetFailbackReplicationConfiguration",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$get_failback_replication_configuration_input(recoveryInstanceID = recoveryInstanceID)
output <- .drs$get_failback_replication_configuration_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$get_failback_replication_configuration <- drs_get_failback_replication_configuration
#' Gets a LaunchConfiguration, filtered by Source Server IDs
#'
#' @description
#' Gets a LaunchConfiguration, filtered by Source Server IDs.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_get_launch_configuration/](https://www.paws-r-sdk.com/docs/drs_get_launch_configuration/) for full documentation.
#'
#' @param sourceServerID [required] The ID of the Source Server that we want to retrieve a Launch Configuration for.
#'
#' @keywords internal
#'
#' @rdname drs_get_launch_configuration
drs_get_launch_configuration <- function(sourceServerID) {
op <- new_operation(
name = "GetLaunchConfiguration",
http_method = "POST",
http_path = "/GetLaunchConfiguration",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$get_launch_configuration_input(sourceServerID = sourceServerID)
output <- .drs$get_launch_configuration_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$get_launch_configuration <- drs_get_launch_configuration
#' Gets a Recovery Plan by ARN
#'
#' @description
#' Gets a Recovery Plan by ARN.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_get_recovery_plan/](https://www.paws-r-sdk.com/docs/drs_get_recovery_plan/) for full documentation.
#'
#' @param recoveryPlanArn [required] The ARN of the Recovery Plan to retrieve.
#'
#' @keywords internal
#'
#' @rdname drs_get_recovery_plan
drs_get_recovery_plan <- function(recoveryPlanArn) {
op <- new_operation(
name = "GetRecoveryPlan",
http_method = "POST",
http_path = "/GetRecoveryPlan",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$get_recovery_plan_input(recoveryPlanArn = recoveryPlanArn)
output <- .drs$get_recovery_plan_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$get_recovery_plan <- drs_get_recovery_plan
#' Gets the details of a Recovery Plan execution
#'
#' @description
#' Gets the details of a Recovery Plan execution.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_get_recovery_plan_execution/](https://www.paws-r-sdk.com/docs/drs_get_recovery_plan_execution/) for full documentation.
#'
#' @param recoveryPlanExecutionArn [required] The ARN of the Recovery Plan execution.
#'
#' @keywords internal
#'
#' @rdname drs_get_recovery_plan_execution
drs_get_recovery_plan_execution <- function(recoveryPlanExecutionArn) {
op <- new_operation(
name = "GetRecoveryPlanExecution",
http_method = "POST",
http_path = "/GetRecoveryPlanExecution",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$get_recovery_plan_execution_input(recoveryPlanExecutionArn = recoveryPlanExecutionArn)
output <- .drs$get_recovery_plan_execution_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$get_recovery_plan_execution <- drs_get_recovery_plan_execution
#' Gets the details of a step within a Recovery Plan execution
#'
#' @description
#' Gets the details of a step within a Recovery Plan execution.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_get_recovery_plan_execution_step/](https://www.paws-r-sdk.com/docs/drs_get_recovery_plan_execution_step/) for full documentation.
#'
#' @param recoveryPlanExecutionStepArn [required] The ARN of the execution step.
#'
#' @keywords internal
#'
#' @rdname drs_get_recovery_plan_execution_step
drs_get_recovery_plan_execution_step <- function(recoveryPlanExecutionStepArn) {
op <- new_operation(
name = "GetRecoveryPlanExecutionStep",
http_method = "POST",
http_path = "/GetRecoveryPlanExecutionStep",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$get_recovery_plan_execution_step_input(recoveryPlanExecutionStepArn = recoveryPlanExecutionStepArn)
output <- .drs$get_recovery_plan_execution_step_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$get_recovery_plan_execution_step <- drs_get_recovery_plan_execution_step
#' Gets a Recovery Plan step by ARN
#'
#' @description
#' Gets a Recovery Plan step by ARN.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_get_recovery_plan_step/](https://www.paws-r-sdk.com/docs/drs_get_recovery_plan_step/) for full documentation.
#'
#' @param recoveryPlanStepArn [required] The ARN of the Recovery Plan step to retrieve.
#'
#' @keywords internal
#'
#' @rdname drs_get_recovery_plan_step
drs_get_recovery_plan_step <- function(recoveryPlanStepArn) {
op <- new_operation(
name = "GetRecoveryPlanStep",
http_method = "POST",
http_path = "/GetRecoveryPlanStep",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$get_recovery_plan_step_input(recoveryPlanStepArn = recoveryPlanStepArn)
output <- .drs$get_recovery_plan_step_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$get_recovery_plan_step <- drs_get_recovery_plan_step
#' Gets a ReplicationConfiguration, filtered by Source Server ID
#'
#' @description
#' Gets a ReplicationConfiguration, filtered by Source Server ID.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_get_replication_configuration/](https://www.paws-r-sdk.com/docs/drs_get_replication_configuration/) for full documentation.
#'
#' @param sourceServerID [required] The ID of the Source Serve for this Replication Configuration.r
#'
#' @keywords internal
#'
#' @rdname drs_get_replication_configuration
drs_get_replication_configuration <- function(sourceServerID) {
op <- new_operation(
name = "GetReplicationConfiguration",
http_method = "POST",
http_path = "/GetReplicationConfiguration",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$get_replication_configuration_input(sourceServerID = sourceServerID)
output <- .drs$get_replication_configuration_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$get_replication_configuration <- drs_get_replication_configuration
#' Initialize Elastic Disaster Recovery
#'
#' @description
#' Initialize Elastic Disaster Recovery.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_initialize_service/](https://www.paws-r-sdk.com/docs/drs_initialize_service/) for full documentation.
#'
#'
#' @keywords internal
#'
#' @rdname drs_initialize_service
drs_initialize_service <- function() {
op <- new_operation(
name = "InitializeService",
http_method = "POST",
http_path = "/InitializeService",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$initialize_service_input()
output <- .drs$initialize_service_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$initialize_service <- drs_initialize_service
#' Returns a list of source servers on a staging account that are
#' extensible, which means that: a
#'
#' @description
#' Returns a list of source servers on a staging account that are extensible, which means that: a. The source server is not already extended into this Account. b. The source server on the Account we’re reading from is not an extension of another source server.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_list_extensible_source_servers/](https://www.paws-r-sdk.com/docs/drs_list_extensible_source_servers/) for full documentation.
#'
#' @param stagingAccountID [required] The Id of the staging Account to retrieve extensible source servers from.
#' @param maxResults The maximum number of extensible source servers to retrieve.
#' @param nextToken The token of the next extensible source server to retrieve.
#'
#' @keywords internal
#'
#' @rdname drs_list_extensible_source_servers
drs_list_extensible_source_servers <- function(stagingAccountID, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "ListExtensibleSourceServers",
http_method = "POST",
http_path = "/ListExtensibleSourceServers",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "items"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$list_extensible_source_servers_input(stagingAccountID = stagingAccountID, maxResults = maxResults, nextToken = nextToken)
output <- .drs$list_extensible_source_servers_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$list_extensible_source_servers <- drs_list_extensible_source_servers
#' Lists resource launch actions
#'
#' @description
#' Lists resource launch actions.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_list_launch_actions/](https://www.paws-r-sdk.com/docs/drs_list_launch_actions/) for full documentation.
#'
#' @param resourceId [required] Launch configuration template Id or Source Server Id
#' @param filters Filters to apply when listing resource launch actions.
#' @param maxResults Maximum amount of items to return when listing resource launch actions.
#' @param nextToken Next token to use when listing resource launch actions.
#'
#' @keywords internal
#'
#' @rdname drs_list_launch_actions
drs_list_launch_actions <- function(resourceId, filters = NULL, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "ListLaunchActions",
http_method = "POST",
http_path = "/ListLaunchActions",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "items"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$list_launch_actions_input(resourceId = resourceId, filters = filters, maxResults = maxResults, nextToken = nextToken)
output <- .drs$list_launch_actions_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$list_launch_actions <- drs_list_launch_actions
#' Lists all steps within a Recovery Plan execution
#'
#' @description
#' Lists all steps within a Recovery Plan execution.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_list_recovery_plan_execution_steps/](https://www.paws-r-sdk.com/docs/drs_list_recovery_plan_execution_steps/) for full documentation.
#'
#' @param recoveryPlanExecutionArn [required] The ARN of the Recovery Plan execution.
#' @param filter Filters for listing execution steps.
#' @param maxResults Maximum number of results to return.
#' @param nextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname drs_list_recovery_plan_execution_steps
drs_list_recovery_plan_execution_steps <- function(recoveryPlanExecutionArn, filter = NULL, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "ListRecoveryPlanExecutionSteps",
http_method = "POST",
http_path = "/ListRecoveryPlanExecutionSteps",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "recoveryPlanExecutionSteps"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$list_recovery_plan_execution_steps_input(recoveryPlanExecutionArn = recoveryPlanExecutionArn, filter = filter, maxResults = maxResults, nextToken = nextToken)
output <- .drs$list_recovery_plan_execution_steps_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$list_recovery_plan_execution_steps <- drs_list_recovery_plan_execution_steps
#' Lists executions of Recovery Plans, optionally filtered by plan or
#' status
#'
#' @description
#' Lists executions of Recovery Plans, optionally filtered by plan or status.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_list_recovery_plan_executions/](https://www.paws-r-sdk.com/docs/drs_list_recovery_plan_executions/) for full documentation.
#'
#' @param recoveryPlanArn Filter executions by Recovery Plan ARN.
#' @param status Filter executions by status.
#' @param maxResults Maximum number of results to return.
#' @param nextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname drs_list_recovery_plan_executions
drs_list_recovery_plan_executions <- function(recoveryPlanArn = NULL, status = NULL, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "ListRecoveryPlanExecutions",
http_method = "POST",
http_path = "/ListRecoveryPlanExecutions",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "recoveryPlanExecutions"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$list_recovery_plan_executions_input(recoveryPlanArn = recoveryPlanArn, status = status, maxResults = maxResults, nextToken = nextToken)
output <- .drs$list_recovery_plan_executions_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$list_recovery_plan_executions <- drs_list_recovery_plan_executions
#' Lists all steps in a Recovery Plan
#'
#' @description
#' Lists all steps in a Recovery Plan.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_list_recovery_plan_steps/](https://www.paws-r-sdk.com/docs/drs_list_recovery_plan_steps/) for full documentation.
#'
#' @param recoveryPlanArn [required] The ARN of the Recovery Plan.
#' @param maxResults Maximum number of results to return.
#' @param nextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname drs_list_recovery_plan_steps
drs_list_recovery_plan_steps <- function(recoveryPlanArn, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "ListRecoveryPlanSteps",
http_method = "POST",
http_path = "/ListRecoveryPlanSteps",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "recoveryPlanSteps"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$list_recovery_plan_steps_input(recoveryPlanArn = recoveryPlanArn, maxResults = maxResults, nextToken = nextToken)
output <- .drs$list_recovery_plan_steps_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$list_recovery_plan_steps <- drs_list_recovery_plan_steps
#' Lists all Recovery Plans in the account
#'
#' @description
#' Lists all Recovery Plans in the account.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_list_recovery_plans/](https://www.paws-r-sdk.com/docs/drs_list_recovery_plans/) for full documentation.
#'
#' @param maxResults Maximum number of results to return.
#' @param nextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname drs_list_recovery_plans
drs_list_recovery_plans <- function(maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "ListRecoveryPlans",
http_method = "POST",
http_path = "/ListRecoveryPlans",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "recoveryPlans"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$list_recovery_plans_input(maxResults = maxResults, nextToken = nextToken)
output <- .drs$list_recovery_plans_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$list_recovery_plans <- drs_list_recovery_plans
#' Returns an array of staging accounts for existing extended source
#' servers
#'
#' @description
#' Returns an array of staging accounts for existing extended source servers.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_list_staging_accounts/](https://www.paws-r-sdk.com/docs/drs_list_staging_accounts/) for full documentation.
#'
#' @param maxResults The maximum number of staging Accounts to retrieve.
#' @param nextToken The token of the next staging Account to retrieve.
#'
#' @keywords internal
#'
#' @rdname drs_list_staging_accounts
drs_list_staging_accounts <- function(maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "ListStagingAccounts",
http_method = "GET",
http_path = "/ListStagingAccounts",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "accounts"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$list_staging_accounts_input(maxResults = maxResults, nextToken = nextToken)
output <- .drs$list_staging_accounts_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$list_staging_accounts <- drs_list_staging_accounts
#' List all tags for your Elastic Disaster Recovery resources
#'
#' @description
#' List all tags for your Elastic Disaster Recovery resources.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_list_tags_for_resource/](https://www.paws-r-sdk.com/docs/drs_list_tags_for_resource/) for full documentation.
#'
#' @param resourceArn [required] The ARN of the resource whose tags should be returned.
#'
#' @keywords internal
#'
#' @rdname drs_list_tags_for_resource
drs_list_tags_for_resource <- function(resourceArn) {
op <- new_operation(
name = "ListTagsForResource",
http_method = "GET",
http_path = "/tags/{resourceArn}",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$list_tags_for_resource_input(resourceArn = resourceArn)
output <- .drs$list_tags_for_resource_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$list_tags_for_resource <- drs_list_tags_for_resource
#' Puts a resource launch action
#'
#' @description
#' Puts a resource launch action.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_put_launch_action/](https://www.paws-r-sdk.com/docs/drs_put_launch_action/) for full documentation.
#'
#' @param resourceId [required] Launch configuration template Id or Source Server Id
#' @param actionCode [required] Launch action code.
#' @param order [required] Launch action order.
#' @param actionId [required] Launch action Id.
#' @param optional [required] Whether the launch will not be marked as failed if this action fails.
#' @param active [required] Whether the launch action is active.
#' @param name [required] Launch action name.
#' @param actionVersion [required] Launch action version.
#' @param category [required] Launch action category.
#' @param parameters Launch action parameters.
#' @param description [required] Launch action description.
#'
#' @keywords internal
#'
#' @rdname drs_put_launch_action
drs_put_launch_action <- function(resourceId, actionCode, order, actionId, optional, active, name, actionVersion, category, parameters = NULL, description) {
op <- new_operation(
name = "PutLaunchAction",
http_method = "POST",
http_path = "/PutLaunchAction",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$put_launch_action_input(resourceId = resourceId, actionCode = actionCode, order = order, actionId = actionId, optional = optional, active = active, name = name, actionVersion = actionVersion, category = category, parameters = parameters, description = description)
output <- .drs$put_launch_action_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$put_launch_action <- drs_put_launch_action
#' Reorders steps in a Recovery Plan
#'
#' @description
#' Reorders steps in a Recovery Plan. Accepts a complete ordered list of step ARNs.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_reorder_recovery_plan_steps/](https://www.paws-r-sdk.com/docs/drs_reorder_recovery_plan_steps/) for full documentation.
#'
#' @param recoveryPlanArn [required] The ARN of the Recovery Plan.
#' @param orderedStepArns [required] Ordered list of all step ARNs representing the desired sequence.
#'
#' @keywords internal
#'
#' @rdname drs_reorder_recovery_plan_steps
drs_reorder_recovery_plan_steps <- function(recoveryPlanArn, orderedStepArns) {
op <- new_operation(
name = "ReorderRecoveryPlanSteps",
http_method = "POST",
http_path = "/ReorderRecoveryPlanSteps",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$reorder_recovery_plan_steps_input(recoveryPlanArn = recoveryPlanArn, orderedStepArns = orderedStepArns)
output <- .drs$reorder_recovery_plan_steps_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$reorder_recovery_plan_steps <- drs_reorder_recovery_plan_steps
#' WARNING: RetryDataReplication is deprecated
#'
#' @description
#' WARNING: RetryDataReplication is deprecated. 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.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_retry_data_replication/](https://www.paws-r-sdk.com/docs/drs_retry_data_replication/) for full documentation.
#'
#' @param sourceServerID [required] The ID of the Source Server whose data replication should be retried.
#'
#' @keywords internal
#'
#' @rdname drs_retry_data_replication
drs_retry_data_replication <- function(sourceServerID) {
op <- new_operation(
name = "RetryDataReplication",
http_method = "POST",
http_path = "/RetryDataReplication",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$retry_data_replication_input(sourceServerID = sourceServerID)
output <- .drs$retry_data_replication_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$retry_data_replication <- drs_retry_data_replication
#' Retries a failed SERVER type execution step
#'
#' @description
#' Retries a failed `SERVER` type execution step.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_retry_recovery_plan_execution_step/](https://www.paws-r-sdk.com/docs/drs_retry_recovery_plan_execution_step/) for full documentation.
#'
#' @param recoveryPlanExecutionStepArn [required] The ARN of the execution step to retry.
#'
#' @keywords internal
#'
#' @rdname drs_retry_recovery_plan_execution_step
drs_retry_recovery_plan_execution_step <- function(recoveryPlanExecutionStepArn) {
op <- new_operation(
name = "RetryRecoveryPlanExecutionStep",
http_method = "POST",
http_path = "/RetryRecoveryPlanExecutionStep",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$retry_recovery_plan_execution_step_input(recoveryPlanExecutionStepArn = recoveryPlanExecutionStepArn)
output <- .drs$retry_recovery_plan_execution_step_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$retry_recovery_plan_execution_step <- drs_retry_recovery_plan_execution_step
#' Start replication to origin / target region - applies only to protected
#' instances that originated in EC2
#'
#' @description
#' Start replication to origin / target region - applies only to protected instances that originated in EC2. For recovery instances on target region - starts replication back to origin region. For failback instances on origin region - starts replication to target region to re-protect them.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_reverse_replication/](https://www.paws-r-sdk.com/docs/drs_reverse_replication/) for full documentation.
#'
#' @param recoveryInstanceID [required] The ID of the Recovery Instance that we want to reverse the replication for.
#'
#' @keywords internal
#'
#' @rdname drs_reverse_replication
drs_reverse_replication <- function(recoveryInstanceID) {
op <- new_operation(
name = "ReverseReplication",
http_method = "POST",
http_path = "/ReverseReplication",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$reverse_replication_input(recoveryInstanceID = recoveryInstanceID)
output <- .drs$reverse_replication_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$reverse_replication <- drs_reverse_replication
#' Initiates a Job for launching the machine that is being failed back to
#' from the specified Recovery Instance
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_start_failback_launch/](https://www.paws-r-sdk.com/docs/drs_start_failback_launch/) for full documentation.
#'
#' @param recoveryInstanceIDs [required] The IDs of the Recovery Instance whose failback launch we want to request.
#' @param tags The tags to be associated with the failback launch Job.
#'
#' @keywords internal
#'
#' @rdname drs_start_failback_launch
drs_start_failback_launch <- function(recoveryInstanceIDs, tags = NULL) {
op <- new_operation(
name = "StartFailbackLaunch",
http_method = "POST",
http_path = "/StartFailbackLaunch",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$start_failback_launch_input(recoveryInstanceIDs = recoveryInstanceIDs, tags = tags)
output <- .drs$start_failback_launch_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$start_failback_launch <- drs_start_failback_launch
#' Launches Recovery Instances for the specified Source Servers
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_start_recovery/](https://www.paws-r-sdk.com/docs/drs_start_recovery/) for full documentation.
#'
#' @param sourceServers [required] The Source Servers that we want to start a Recovery Job for.
#' @param isDrill Whether this Source Server Recovery operation is a drill or not.
#' @param tags The tags to be associated with the Recovery Job.
#'
#' @keywords internal
#'
#' @rdname drs_start_recovery
drs_start_recovery <- function(sourceServers, isDrill = NULL, tags = NULL) {
op <- new_operation(
name = "StartRecovery",
http_method = "POST",
http_path = "/StartRecovery",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$start_recovery_input(sourceServers = sourceServers, isDrill = isDrill, tags = tags)
output <- .drs$start_recovery_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$start_recovery <- drs_start_recovery
#' Starts executing a Recovery Plan in DRILL or RECOVERY mode
#'
#' @description
#' Starts executing a Recovery Plan in `DRILL` or `RECOVERY` mode. A plan cannot have more than one execution in a non-terminal status at a time.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_start_recovery_plan_execution/](https://www.paws-r-sdk.com/docs/drs_start_recovery_plan_execution/) for full documentation.
#'
#' @param recoveryPlanArn [required] The ARN of the Recovery Plan to execute.
#' @param mode [required] The execution mode (`DRILL` or `RECOVERY`).
#' @param clientToken A unique string provided to ensure request idempotency.
#' @param sourceServers Optional list of source servers with specific recovery snapshots. If not provided, the latest snapshot is used for each server.
#' @param tags The tags to apply to the Recovery Plan execution.
#'
#' @keywords internal
#'
#' @rdname drs_start_recovery_plan_execution
drs_start_recovery_plan_execution <- function(recoveryPlanArn, mode, clientToken = NULL, sourceServers = NULL, tags = NULL) {
op <- new_operation(
name = "StartRecoveryPlanExecution",
http_method = "POST",
http_path = "/StartRecoveryPlanExecution",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$start_recovery_plan_execution_input(recoveryPlanArn = recoveryPlanArn, mode = mode, clientToken = clientToken, sourceServers = sourceServers, tags = tags)
output <- .drs$start_recovery_plan_execution_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$start_recovery_plan_execution <- drs_start_recovery_plan_execution
#' Starts replication for a stopped Source Server
#'
#' @description
#' Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_start_replication/](https://www.paws-r-sdk.com/docs/drs_start_replication/) for full documentation.
#'
#' @param sourceServerID [required] The ID of the Source Server to start replication for.
#'
#' @keywords internal
#'
#' @rdname drs_start_replication
drs_start_replication <- function(sourceServerID) {
op <- new_operation(
name = "StartReplication",
http_method = "POST",
http_path = "/StartReplication",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$start_replication_input(sourceServerID = sourceServerID)
output <- .drs$start_replication_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$start_replication <- drs_start_replication
#' Deploy VPC for the specified Source Network and modify launch templates
#' to use this network
#'
#' @description
#' Deploy VPC for the specified Source Network and modify launch templates to use this network. The VPC will be deployed using a dedicated CloudFormation stack.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_start_source_network_recovery/](https://www.paws-r-sdk.com/docs/drs_start_source_network_recovery/) for full documentation.
#'
#' @param sourceNetworks [required] The Source Networks that we want to start a Recovery Job for.
#' @param deployAsNew Don't update existing CloudFormation Stack, recover the network using a new stack.
#' @param tags The tags to be associated with the Source Network recovery Job.
#'
#' @keywords internal
#'
#' @rdname drs_start_source_network_recovery
drs_start_source_network_recovery <- function(sourceNetworks, deployAsNew = NULL, tags = NULL) {
op <- new_operation(
name = "StartSourceNetworkRecovery",
http_method = "POST",
http_path = "/StartSourceNetworkRecovery",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$start_source_network_recovery_input(sourceNetworks = sourceNetworks, deployAsNew = deployAsNew, tags = tags)
output <- .drs$start_source_network_recovery_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$start_source_network_recovery <- drs_start_source_network_recovery
#' Starts replication for a Source Network
#'
#' @description
#' Starts replication for a Source Network. This action would make the Source Network protected.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_start_source_network_replication/](https://www.paws-r-sdk.com/docs/drs_start_source_network_replication/) for full documentation.
#'
#' @param sourceNetworkID [required] ID of the Source Network to replicate.
#'
#' @keywords internal
#'
#' @rdname drs_start_source_network_replication
drs_start_source_network_replication <- function(sourceNetworkID) {
op <- new_operation(
name = "StartSourceNetworkReplication",
http_method = "POST",
http_path = "/StartSourceNetworkReplication",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$start_source_network_replication_input(sourceNetworkID = sourceNetworkID)
output <- .drs$start_source_network_replication_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$start_source_network_replication <- drs_start_source_network_replication
#' Stops the failback process for a specified Recovery Instance
#'
#' @description
#' Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_stop_failback/](https://www.paws-r-sdk.com/docs/drs_stop_failback/) for full documentation.
#'
#' @param recoveryInstanceID [required] The ID of the Recovery Instance we want to stop failback for.
#'
#' @keywords internal
#'
#' @rdname drs_stop_failback
drs_stop_failback <- function(recoveryInstanceID) {
op <- new_operation(
name = "StopFailback",
http_method = "POST",
http_path = "/StopFailback",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$stop_failback_input(recoveryInstanceID = recoveryInstanceID)
output <- .drs$stop_failback_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$stop_failback <- drs_stop_failback
#' Stops replication for a Source Server
#'
#' @description
#' Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_stop_replication/](https://www.paws-r-sdk.com/docs/drs_stop_replication/) for full documentation.
#'
#' @param sourceServerID [required] The ID of the Source Server to stop replication for.
#'
#' @keywords internal
#'
#' @rdname drs_stop_replication
drs_stop_replication <- function(sourceServerID) {
op <- new_operation(
name = "StopReplication",
http_method = "POST",
http_path = "/StopReplication",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$stop_replication_input(sourceServerID = sourceServerID)
output <- .drs$stop_replication_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$stop_replication <- drs_stop_replication
#' Stops replication for a Source Network
#'
#' @description
#' Stops replication for a Source Network. This action would make the Source Network unprotected.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_stop_source_network_replication/](https://www.paws-r-sdk.com/docs/drs_stop_source_network_replication/) for full documentation.
#'
#' @param sourceNetworkID [required] ID of the Source Network to stop replication.
#'
#' @keywords internal
#'
#' @rdname drs_stop_source_network_replication
drs_stop_source_network_replication <- function(sourceNetworkID) {
op <- new_operation(
name = "StopSourceNetworkReplication",
http_method = "POST",
http_path = "/StopSourceNetworkReplication",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$stop_source_network_replication_input(sourceNetworkID = sourceNetworkID)
output <- .drs$stop_source_network_replication_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$stop_source_network_replication <- drs_stop_source_network_replication
#' Adds or overwrites only the specified tags for the specified Elastic
#' Disaster Recovery resource or resources
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_tag_resource/](https://www.paws-r-sdk.com/docs/drs_tag_resource/) for full documentation.
#'
#' @param resourceArn [required] ARN of the resource for which tags are to be added or updated.
#' @param tags [required] Array of tags to be added or updated.
#'
#' @keywords internal
#'
#' @rdname drs_tag_resource
drs_tag_resource <- function(resourceArn, tags) {
op <- new_operation(
name = "TagResource",
http_method = "POST",
http_path = "/tags/{resourceArn}",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$tag_resource_input(resourceArn = resourceArn, tags = tags)
output <- .drs$tag_resource_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$tag_resource <- drs_tag_resource
#' 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
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_terminate_recovery_instances/](https://www.paws-r-sdk.com/docs/drs_terminate_recovery_instances/) for full documentation.
#'
#' @param recoveryInstanceIDs [required] The IDs of the Recovery Instances that should be terminated.
#'
#' @keywords internal
#'
#' @rdname drs_terminate_recovery_instances
drs_terminate_recovery_instances <- function(recoveryInstanceIDs) {
op <- new_operation(
name = "TerminateRecoveryInstances",
http_method = "POST",
http_path = "/TerminateRecoveryInstances",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$terminate_recovery_instances_input(recoveryInstanceIDs = recoveryInstanceIDs)
output <- .drs$terminate_recovery_instances_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$terminate_recovery_instances <- drs_terminate_recovery_instances
#' Deletes the specified set of tags from the specified set of Elastic
#' Disaster Recovery resources
#'
#' @description
#' Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_untag_resource/](https://www.paws-r-sdk.com/docs/drs_untag_resource/) for full documentation.
#'
#' @param resourceArn [required] ARN of the resource for which tags are to be removed.
#' @param tagKeys [required] Array of tags to be removed.
#'
#' @keywords internal
#'
#' @rdname drs_untag_resource
drs_untag_resource <- function(resourceArn, tagKeys) {
op <- new_operation(
name = "UntagResource",
http_method = "DELETE",
http_path = "/tags/{resourceArn}",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$untag_resource_input(resourceArn = resourceArn, tagKeys = tagKeys)
output <- .drs$untag_resource_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$untag_resource <- drs_untag_resource
#' Allows you to update the failback replication configuration of a
#' Recovery Instance by ID
#'
#' @description
#' Allows you to update the failback replication configuration of a Recovery Instance by ID.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_update_failback_replication_configuration/](https://www.paws-r-sdk.com/docs/drs_update_failback_replication_configuration/) for full documentation.
#'
#' @param recoveryInstanceID [required] The ID of the Recovery Instance.
#' @param name The name of the Failback Replication Configuration.
#' @param bandwidthThrottling Configure bandwidth throttling for the outbound data transfer rate of the Recovery Instance in Mbps.
#' @param usePrivateIP Whether to use Private IP for the failback replication of the Recovery Instance.
#' @param internetProtocol Which version of the Internet Protocol to use for replication of data. (IPv4 or IPv6)
#'
#' @keywords internal
#'
#' @rdname drs_update_failback_replication_configuration
drs_update_failback_replication_configuration <- function(recoveryInstanceID, name = NULL, bandwidthThrottling = NULL, usePrivateIP = NULL, internetProtocol = NULL) {
op <- new_operation(
name = "UpdateFailbackReplicationConfiguration",
http_method = "POST",
http_path = "/UpdateFailbackReplicationConfiguration",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$update_failback_replication_configuration_input(recoveryInstanceID = recoveryInstanceID, name = name, bandwidthThrottling = bandwidthThrottling, usePrivateIP = usePrivateIP, internetProtocol = internetProtocol)
output <- .drs$update_failback_replication_configuration_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$update_failback_replication_configuration <- drs_update_failback_replication_configuration
#' Updates a LaunchConfiguration by Source Server ID
#'
#' @description
#' Updates a LaunchConfiguration by Source Server ID.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_update_launch_configuration/](https://www.paws-r-sdk.com/docs/drs_update_launch_configuration/) for full documentation.
#'
#' @param sourceServerID [required] The ID of the Source Server that we want to retrieve a Launch Configuration for.
#' @param name The name of the launch configuration.
#' @param launchDisposition The state of the Recovery Instance in EC2 after the recovery operation.
#' @param targetInstanceTypeRightSizingMethod Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.
#' @param copyPrivateIp Whether we should copy the Private IP of the Source Server to the Recovery Instance.
#' @param copyTags Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
#' @param licensing The licensing configuration to be used for this launch configuration.
#' @param postLaunchEnabled Whether we want to enable post-launch actions for the Source Server.
#' @param launchIntoInstanceProperties Launch into existing instance properties.
#' @param recoveryMode Recovery mode.
#'
#' @keywords internal
#'
#' @rdname drs_update_launch_configuration
drs_update_launch_configuration <- function(sourceServerID, name = NULL, launchDisposition = NULL, targetInstanceTypeRightSizingMethod = NULL, copyPrivateIp = NULL, copyTags = NULL, licensing = NULL, postLaunchEnabled = NULL, launchIntoInstanceProperties = NULL, recoveryMode = NULL) {
op <- new_operation(
name = "UpdateLaunchConfiguration",
http_method = "POST",
http_path = "/UpdateLaunchConfiguration",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$update_launch_configuration_input(sourceServerID = sourceServerID, name = name, launchDisposition = launchDisposition, targetInstanceTypeRightSizingMethod = targetInstanceTypeRightSizingMethod, copyPrivateIp = copyPrivateIp, copyTags = copyTags, licensing = licensing, postLaunchEnabled = postLaunchEnabled, launchIntoInstanceProperties = launchIntoInstanceProperties, recoveryMode = recoveryMode)
output <- .drs$update_launch_configuration_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$update_launch_configuration <- drs_update_launch_configuration
#' Updates an existing Launch Configuration Template by ID
#'
#' @description
#' Updates an existing Launch Configuration Template by ID.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_update_launch_configuration_template/](https://www.paws-r-sdk.com/docs/drs_update_launch_configuration_template/) for full documentation.
#'
#' @param launchConfigurationTemplateID [required] Launch Configuration Template ID.
#' @param launchDisposition Launch disposition.
#' @param targetInstanceTypeRightSizingMethod Target instance type right-sizing method.
#' @param copyPrivateIp Copy private IP.
#' @param copyTags Copy tags.
#' @param licensing Licensing.
#' @param exportBucketArn S3 bucket ARN to export Source Network templates.
#' @param postLaunchEnabled Whether we want to activate post-launch actions.
#' @param launchIntoSourceInstance DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.
#' @param recoveryMode Recovery mode.
#'
#' @keywords internal
#'
#' @rdname drs_update_launch_configuration_template
drs_update_launch_configuration_template <- function(launchConfigurationTemplateID, launchDisposition = NULL, targetInstanceTypeRightSizingMethod = NULL, copyPrivateIp = NULL, copyTags = NULL, licensing = NULL, exportBucketArn = NULL, postLaunchEnabled = NULL, launchIntoSourceInstance = NULL, recoveryMode = NULL) {
op <- new_operation(
name = "UpdateLaunchConfigurationTemplate",
http_method = "POST",
http_path = "/UpdateLaunchConfigurationTemplate",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$update_launch_configuration_template_input(launchConfigurationTemplateID = launchConfigurationTemplateID, launchDisposition = launchDisposition, targetInstanceTypeRightSizingMethod = targetInstanceTypeRightSizingMethod, copyPrivateIp = copyPrivateIp, copyTags = copyTags, licensing = licensing, exportBucketArn = exportBucketArn, postLaunchEnabled = postLaunchEnabled, launchIntoSourceInstance = launchIntoSourceInstance, recoveryMode = recoveryMode)
output <- .drs$update_launch_configuration_template_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$update_launch_configuration_template <- drs_update_launch_configuration_template
#' Updates a Recovery Plan's name or description
#'
#' @description
#' Updates a Recovery Plan's name or description.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_update_recovery_plan/](https://www.paws-r-sdk.com/docs/drs_update_recovery_plan/) for full documentation.
#'
#' @param recoveryPlanArn [required] The ARN of the Recovery Plan to update.
#' @param name The name of a Recovery Plan.
#' @param description The description of a Recovery Plan.
#'
#' @keywords internal
#'
#' @rdname drs_update_recovery_plan
drs_update_recovery_plan <- function(recoveryPlanArn, name = NULL, description = NULL) {
op <- new_operation(
name = "UpdateRecoveryPlan",
http_method = "POST",
http_path = "/UpdateRecoveryPlan",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$update_recovery_plan_input(recoveryPlanArn = recoveryPlanArn, name = name, description = description)
output <- .drs$update_recovery_plan_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$update_recovery_plan <- drs_update_recovery_plan
#' Updates an execution step
#'
#' @description
#' Updates an execution step. Supports two actions: (1) skip a step that is in `NOT_STARTED` or `FAILED` status; (2) update the wait duration of a `WAIT` type step that is in `NOT_STARTED` status.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_update_recovery_plan_execution_step/](https://www.paws-r-sdk.com/docs/drs_update_recovery_plan_execution_step/) for full documentation.
#'
#' @param recoveryPlanExecutionStepArn [required] The ARN of the execution step to update.
#' @param status Only SKIPPED is accepted. Step must be in NOT_STARTED or FAILED status.
#' @param servers Full replacement of the server list. Only allowed when the step is in NOT_STARTED status (Server type steps only).
#' @param waitDurationMinutes Updated wait duration. Only allowed when the step is in NOT_STARTED status (Wait type steps only).
#'
#' @keywords internal
#'
#' @rdname drs_update_recovery_plan_execution_step
drs_update_recovery_plan_execution_step <- function(recoveryPlanExecutionStepArn, status = NULL, servers = NULL, waitDurationMinutes = NULL) {
op <- new_operation(
name = "UpdateRecoveryPlanExecutionStep",
http_method = "POST",
http_path = "/UpdateRecoveryPlanExecutionStep",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$update_recovery_plan_execution_step_input(recoveryPlanExecutionStepArn = recoveryPlanExecutionStepArn, status = status, servers = servers, waitDurationMinutes = waitDurationMinutes)
output <- .drs$update_recovery_plan_execution_step_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$update_recovery_plan_execution_step <- drs_update_recovery_plan_execution_step
#' Updates a Recovery Plan step's name or configuration
#'
#' @description
#' Updates a Recovery Plan step's name or configuration. Step type is immutable.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_update_recovery_plan_step/](https://www.paws-r-sdk.com/docs/drs_update_recovery_plan_step/) for full documentation.
#'
#' @param recoveryPlanStepArn [required] The ARN of the Recovery Plan step to update.
#' @param stepName The name of a Recovery Plan Step.
#' @param configuration Type-specific configuration for a recovery plan step. Exactly one member must be set.
#'
#' @keywords internal
#'
#' @rdname drs_update_recovery_plan_step
drs_update_recovery_plan_step <- function(recoveryPlanStepArn, stepName = NULL, configuration = NULL) {
op <- new_operation(
name = "UpdateRecoveryPlanStep",
http_method = "POST",
http_path = "/UpdateRecoveryPlanStep",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$update_recovery_plan_step_input(recoveryPlanStepArn = recoveryPlanStepArn, stepName = stepName, configuration = configuration)
output <- .drs$update_recovery_plan_step_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$update_recovery_plan_step <- drs_update_recovery_plan_step
#' Allows you to update a ReplicationConfiguration by Source Server ID
#'
#' @description
#' Allows you to update a ReplicationConfiguration by Source Server ID.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_update_replication_configuration/](https://www.paws-r-sdk.com/docs/drs_update_replication_configuration/) for full documentation.
#'
#' @param sourceServerID [required] The ID of the Source Server for this Replication Configuration.
#' @param name The name of the Replication Configuration.
#' @param stagingAreaSubnetId The subnet to be used by the replication staging area.
#' @param associateDefaultSecurityGroup Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration.
#' @param replicationServersSecurityGroupsIDs The security group IDs that will be used by the replication server.
#' @param replicationServerInstanceType The instance type to be used for the replication server.
#' @param useDedicatedReplicationServer Whether to use a dedicated Replication Server in the replication staging area.
#' @param defaultLargeStagingDiskType The Staging Disk EBS volume type to be used during replication.
#' @param replicatedDisks The configuration of the disks of the Source Server to be replicated.
#' @param ebsEncryption The type of EBS encryption to be used during replication.
#' @param ebsEncryptionKeyArn The ARN of the EBS encryption key to be used during replication.
#' @param bandwidthThrottling Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
#' @param dataPlaneRouting The data plane routing mechanism that will be used for replication.
#' @param createPublicIP Whether to create a Public IP for the Recovery Instance by default.
#' @param stagingAreaTags A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
#' @param pitPolicy The Point in time (PIT) policy to manage snapshots taken during replication.
#' @param autoReplicateNewDisks Whether to allow the AWS replication agent to automatically replicate newly added disks.
#' @param internetProtocol Which version of the Internet Protocol to use for replication of data. (IPv4 or IPv6)
#'
#' @keywords internal
#'
#' @rdname drs_update_replication_configuration
drs_update_replication_configuration <- function(sourceServerID, name = NULL, stagingAreaSubnetId = NULL, associateDefaultSecurityGroup = NULL, replicationServersSecurityGroupsIDs = NULL, replicationServerInstanceType = NULL, useDedicatedReplicationServer = NULL, defaultLargeStagingDiskType = NULL, replicatedDisks = NULL, ebsEncryption = NULL, ebsEncryptionKeyArn = NULL, bandwidthThrottling = NULL, dataPlaneRouting = NULL, createPublicIP = NULL, stagingAreaTags = NULL, pitPolicy = NULL, autoReplicateNewDisks = NULL, internetProtocol = NULL) {
op <- new_operation(
name = "UpdateReplicationConfiguration",
http_method = "POST",
http_path = "/UpdateReplicationConfiguration",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$update_replication_configuration_input(sourceServerID = sourceServerID, name = name, stagingAreaSubnetId = stagingAreaSubnetId, associateDefaultSecurityGroup = associateDefaultSecurityGroup, replicationServersSecurityGroupsIDs = replicationServersSecurityGroupsIDs, replicationServerInstanceType = replicationServerInstanceType, useDedicatedReplicationServer = useDedicatedReplicationServer, defaultLargeStagingDiskType = defaultLargeStagingDiskType, replicatedDisks = replicatedDisks, ebsEncryption = ebsEncryption, ebsEncryptionKeyArn = ebsEncryptionKeyArn, bandwidthThrottling = bandwidthThrottling, dataPlaneRouting = dataPlaneRouting, createPublicIP = createPublicIP, stagingAreaTags = stagingAreaTags, pitPolicy = pitPolicy, autoReplicateNewDisks = autoReplicateNewDisks, internetProtocol = internetProtocol)
output <- .drs$update_replication_configuration_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$update_replication_configuration <- drs_update_replication_configuration
#' Updates a ReplicationConfigurationTemplate by ID
#'
#' @description
#' Updates a ReplicationConfigurationTemplate by ID.
#'
#' See [https://www.paws-r-sdk.com/docs/drs_update_replication_configuration_template/](https://www.paws-r-sdk.com/docs/drs_update_replication_configuration_template/) for full documentation.
#'
#' @param replicationConfigurationTemplateID [required] The Replication Configuration Template ID.
#' @param arn The Replication Configuration Template ARN.
#' @param stagingAreaSubnetId The subnet to be used by the replication staging area.
#' @param associateDefaultSecurityGroup Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
#' @param replicationServersSecurityGroupsIDs The security group IDs that will be used by the replication server.
#' @param replicationServerInstanceType The instance type to be used for the replication server.
#' @param useDedicatedReplicationServer Whether to use a dedicated Replication Server in the replication staging area.
#' @param defaultLargeStagingDiskType The Staging Disk EBS volume type to be used during replication.
#' @param ebsEncryption The type of EBS encryption to be used during replication.
#' @param ebsEncryptionKeyArn The ARN of the EBS encryption key to be used during replication.
#' @param bandwidthThrottling Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
#' @param dataPlaneRouting The data plane routing mechanism that will be used for replication.
#' @param createPublicIP Whether to create a Public IP for the Recovery Instance by default.
#' @param stagingAreaTags A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
#' @param pitPolicy The Point in time (PIT) policy to manage snapshots taken during replication.
#' @param autoReplicateNewDisks Whether to allow the AWS replication agent to automatically replicate newly added disks.
#' @param internetProtocol Which version of the Internet Protocol to use for replication of data. (IPv4 or IPv6)
#'
#' @keywords internal
#'
#' @rdname drs_update_replication_configuration_template
drs_update_replication_configuration_template <- function(replicationConfigurationTemplateID, arn = NULL, stagingAreaSubnetId = NULL, associateDefaultSecurityGroup = NULL, replicationServersSecurityGroupsIDs = NULL, replicationServerInstanceType = NULL, useDedicatedReplicationServer = NULL, defaultLargeStagingDiskType = NULL, ebsEncryption = NULL, ebsEncryptionKeyArn = NULL, bandwidthThrottling = NULL, dataPlaneRouting = NULL, createPublicIP = NULL, stagingAreaTags = NULL, pitPolicy = NULL, autoReplicateNewDisks = NULL, internetProtocol = NULL) {
op <- new_operation(
name = "UpdateReplicationConfigurationTemplate",
http_method = "POST",
http_path = "/UpdateReplicationConfigurationTemplate",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .drs$update_replication_configuration_template_input(replicationConfigurationTemplateID = replicationConfigurationTemplateID, arn = arn, stagingAreaSubnetId = stagingAreaSubnetId, associateDefaultSecurityGroup = associateDefaultSecurityGroup, replicationServersSecurityGroupsIDs = replicationServersSecurityGroupsIDs, replicationServerInstanceType = replicationServerInstanceType, useDedicatedReplicationServer = useDedicatedReplicationServer, defaultLargeStagingDiskType = defaultLargeStagingDiskType, ebsEncryption = ebsEncryption, ebsEncryptionKeyArn = ebsEncryptionKeyArn, bandwidthThrottling = bandwidthThrottling, dataPlaneRouting = dataPlaneRouting, createPublicIP = createPublicIP, stagingAreaTags = stagingAreaTags, pitPolicy = pitPolicy, autoReplicateNewDisks = autoReplicateNewDisks, internetProtocol = internetProtocol)
output <- .drs$update_replication_configuration_template_output()
config <- get_config()
svc <- .drs$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.drs$operations$update_replication_configuration_template <- drs_update_replication_configuration_template
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.