update_replication_configuration
async
¶
update_replication_configuration(
source_server_id: SourceServerID,
*,
config_overrides: Optional[AsyncdrsClientConfig] = None,
name: Optional[SmallBoundedString] = None,
staging_area_subnet_id: Optional[SubnetID] = None,
associate_default_security_group: Optional[bool] = None,
replication_servers_security_groups_i_ds: Optional[
ReplicationServersSecurityGroupsIDs
] = None,
replication_server_instance_type: Optional[EC2InstanceType] = None,
use_dedicated_replication_server: Optional[bool] = None,
default_large_staging_disk_type: Optional[
ReplicationConfigurationDefaultLargeStagingDiskType
] = None,
replicated_disks: Optional[ReplicationConfigurationReplicatedDisks] = None,
ebs_encryption: Optional[ReplicationConfigurationEbsEncryption] = None,
ebs_encryption_key_arn: Optional[ARN] = None,
bandwidth_throttling: Optional[PositiveInteger] = None,
data_plane_routing: Optional[ReplicationConfigurationDataPlaneRouting] = None,
create_public_ip: Optional[bool] = None,
staging_area_tags: Optional[TagsMap] = None,
pit_policy: Optional[PITPolicy] = None,
auto_replicate_new_disks: Optional[bool] = None,
internet_protocol: Optional[InternetProtocol] = None,
) -> ReplicationConfiguration
Allows you to update a ReplicationConfiguration by Source Server ID.
Parameters:
-
source_server_id(SourceServerID) –The ID of the Source Server for this Replication Configuration.
-
name(Optional[SmallBoundedString], default:None) –The name of the Replication Configuration.
-
staging_area_subnet_id(Optional[SubnetID], default:None) –The subnet to be used by the replication staging area.
-
associate_default_security_group(Optional[bool], default:None) –Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration.
-
replication_servers_security_groups_i_ds(Optional[ReplicationServersSecurityGroupsIDs], default:None) –The security group IDs that will be used by the replication server.
-
replication_server_instance_type(Optional[EC2InstanceType], default:None) –The instance type to be used for the replication server.
-
use_dedicated_replication_server(Optional[bool], default:None) –Whether to use a dedicated Replication Server in the replication staging area.
-
default_large_staging_disk_type(Optional[ReplicationConfigurationDefaultLargeStagingDiskType], default:None) –The Staging Disk EBS volume type to be used during replication.
-
replicated_disks(Optional[ReplicationConfigurationReplicatedDisks], default:None) –The configuration of the disks of the Source Server to be replicated.
-
ebs_encryption(Optional[ReplicationConfigurationEbsEncryption], default:None) –The type of EBS encryption to be used during replication.
-
ebs_encryption_key_arn(Optional[ARN], default:None) –The ARN of the EBS encryption key to be used during replication.
-
bandwidth_throttling(Optional[PositiveInteger], default:None) –Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
-
data_plane_routing(Optional[ReplicationConfigurationDataPlaneRouting], default:None) –The data plane routing mechanism that will be used for replication.
-
create_public_ip(Optional[bool], default:None) –Whether to create a Public IP for the Recovery Instance by default.
-
staging_area_tags(Optional[TagsMap], default:None) –A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
-
pit_policy(Optional[PITPolicy], default:None) –The Point in time (PIT) policy to manage snapshots taken during replication.
-
auto_replicate_new_disks(Optional[bool], default:None) –Whether to allow the AWS replication agent to automatically replicate newly added disks.
-
internet_protocol(Optional[InternetProtocol], default:None) –Which version of the Internet Protocol to use for replication of data. (IPv4 or IPv6)
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request could not be completed due to a conflict with the current state of the target resource.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The resource for this operation was not found.
-
ThrottlingException–The request was denied due to request throttling.
-
UninitializedAccountException–The account performing the request has not been initialized.
-
ValidationException–The input fails to satisfy the constraints specified by the AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_drs/_services/async_drs.py
5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 | |