Skip to content

drsClient

Index > drs > drsClient

Auto-generated documentation for drs type annotations stubs module types-aiobotocore-drs.

drsClient

Type annotations and code completion for session.client("drs") boto3 documentation

Usage example
from aioboto3.session import Session
from types_aiobotocore_drs.client import drsClient

session = Session()
async with session.client("drs") as client:
    client: drsClient

Exceptions

aioboto3 client exceptions are generated in runtime. This class provides code completion for session.client("drs").exceptions structure.

Usage example
async with session.client("drs") as client:
    try:
        do_something(client)
    except (
            client.AccessDeniedException,
        client.ClientError,
        client.ConflictException,
        client.InternalServerException,
        client.ResourceNotFoundException,
        client.ServiceQuotaExceededException,
        client.ThrottlingException,
        client.UninitializedAccountException,
        client.ValidationException,
    ) as e:
        print(e)
Type checking example
from types_aiobotocore_drs.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods

can_paginate

Check if an operation can be paginated.

Type annotations and code completion for session.client("drs").can_paginate method. boto3 documentation

Method definition
def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close

Closes underlying endpoint connections.

Type annotations and code completion for session.client("drs").close method. boto3 documentation

Method definition
await def close(
    self,
) -> None:
    ...

create_extended_source_server

Create an extended source server in the target Account based on the source server in staging account.

Type annotations and code completion for session.client("drs").create_extended_source_server method. boto3 documentation

Method definition
await def create_extended_source_server(
    self,
    *,
    sourceServerArn: str,
    tags: Mapping[str, str] = ...,
) -> CreateExtendedSourceServerResponseTypeDef:  # (1)
    ...
  1. See CreateExtendedSourceServerResponseTypeDef
Usage example with kwargs
kwargs: CreateExtendedSourceServerRequestRequestTypeDef = {  # (1)
    "sourceServerArn": ...,
}

parent.create_extended_source_server(**kwargs)
  1. See CreateExtendedSourceServerRequestRequestTypeDef

create_replication_configuration_template

Creates a new ReplicationConfigurationTemplate.

Type annotations and code completion for session.client("drs").create_replication_configuration_template method. boto3 documentation

Method definition
await def create_replication_configuration_template(
    self,
    *,
    associateDefaultSecurityGroup: bool,
    bandwidthThrottling: int,
    createPublicIP: bool,
    dataPlaneRouting: ReplicationConfigurationDataPlaneRoutingType,  # (1)
    defaultLargeStagingDiskType: ReplicationConfigurationDefaultLargeStagingDiskTypeType,  # (2)
    ebsEncryption: ReplicationConfigurationEbsEncryptionType,  # (3)
    pitPolicy: Sequence[PITPolicyRuleTypeDef],  # (4)
    replicationServerInstanceType: str,
    replicationServersSecurityGroupsIDs: Sequence[str],
    stagingAreaSubnetId: str,
    stagingAreaTags: Mapping[str, str],
    useDedicatedReplicationServer: bool,
    ebsEncryptionKeyArn: str = ...,
    tags: Mapping[str, str] = ...,
) -> ReplicationConfigurationTemplateResponseMetadataTypeDef:  # (5)
    ...
  1. See ReplicationConfigurationDataPlaneRoutingType
  2. See ReplicationConfigurationDefaultLargeStagingDiskTypeType
  3. See ReplicationConfigurationEbsEncryptionType
  4. See PITPolicyRuleTypeDef
  5. See ReplicationConfigurationTemplateResponseMetadataTypeDef
Usage example with kwargs
kwargs: CreateReplicationConfigurationTemplateRequestRequestTypeDef = {  # (1)
    "associateDefaultSecurityGroup": ...,
    "bandwidthThrottling": ...,
    "createPublicIP": ...,
    "dataPlaneRouting": ...,
    "defaultLargeStagingDiskType": ...,
    "ebsEncryption": ...,
    "pitPolicy": ...,
    "replicationServerInstanceType": ...,
    "replicationServersSecurityGroupsIDs": ...,
    "stagingAreaSubnetId": ...,
    "stagingAreaTags": ...,
    "useDedicatedReplicationServer": ...,
}

parent.create_replication_configuration_template(**kwargs)
  1. See CreateReplicationConfigurationTemplateRequestRequestTypeDef

delete_job

Deletes a single Job by ID.

Type annotations and code completion for session.client("drs").delete_job method. boto3 documentation

Method definition
await def delete_job(
    self,
    *,
    jobID: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteJobRequestRequestTypeDef = {  # (1)
    "jobID": ...,
}

parent.delete_job(**kwargs)
  1. See DeleteJobRequestRequestTypeDef

delete_recovery_instance

Deletes a single Recovery Instance by ID.

Type annotations and code completion for session.client("drs").delete_recovery_instance method. boto3 documentation

Method definition
await def delete_recovery_instance(
    self,
    *,
    recoveryInstanceID: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: DeleteRecoveryInstanceRequestRequestTypeDef = {  # (1)
    "recoveryInstanceID": ...,
}

parent.delete_recovery_instance(**kwargs)
  1. See DeleteRecoveryInstanceRequestRequestTypeDef

delete_replication_configuration_template

Deletes a single Replication Configuration Template by ID See also: AWS API Documentation.

Type annotations and code completion for session.client("drs").delete_replication_configuration_template method. boto3 documentation

Method definition
await def delete_replication_configuration_template(
    self,
    *,
    replicationConfigurationTemplateID: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteReplicationConfigurationTemplateRequestRequestTypeDef = {  # (1)
    "replicationConfigurationTemplateID": ...,
}

parent.delete_replication_configuration_template(**kwargs)
  1. See DeleteReplicationConfigurationTemplateRequestRequestTypeDef

delete_source_server

Deletes a single Source Server by ID.

Type annotations and code completion for session.client("drs").delete_source_server method. boto3 documentation

Method definition
await def delete_source_server(
    self,
    *,
    sourceServerID: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteSourceServerRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.delete_source_server(**kwargs)
  1. See DeleteSourceServerRequestRequestTypeDef

describe_job_log_items

Retrieves a detailed Job log with pagination.

Type annotations and code completion for session.client("drs").describe_job_log_items method. boto3 documentation

Method definition
await def describe_job_log_items(
    self,
    *,
    jobID: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> DescribeJobLogItemsResponseTypeDef:  # (1)
    ...
  1. See DescribeJobLogItemsResponseTypeDef
Usage example with kwargs
kwargs: DescribeJobLogItemsRequestRequestTypeDef = {  # (1)
    "jobID": ...,
}

parent.describe_job_log_items(**kwargs)
  1. See DescribeJobLogItemsRequestRequestTypeDef

describe_jobs

Returns a list of Jobs.

Type annotations and code completion for session.client("drs").describe_jobs method. boto3 documentation

Method definition
await def describe_jobs(
    self,
    *,
    filters: DescribeJobsRequestFiltersTypeDef = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> DescribeJobsResponseTypeDef:  # (2)
    ...
  1. See DescribeJobsRequestFiltersTypeDef
  2. See DescribeJobsResponseTypeDef
Usage example with kwargs
kwargs: DescribeJobsRequestRequestTypeDef = {  # (1)
    "filters": ...,
}

parent.describe_jobs(**kwargs)
  1. See DescribeJobsRequestRequestTypeDef

describe_recovery_instances

Lists all Recovery Instances or multiple Recovery Instances by ID.

Type annotations and code completion for session.client("drs").describe_recovery_instances method. boto3 documentation

Method definition
await def describe_recovery_instances(
    self,
    *,
    filters: DescribeRecoveryInstancesRequestFiltersTypeDef = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> DescribeRecoveryInstancesResponseTypeDef:  # (2)
    ...
  1. See DescribeRecoveryInstancesRequestFiltersTypeDef
  2. See DescribeRecoveryInstancesResponseTypeDef
Usage example with kwargs
kwargs: DescribeRecoveryInstancesRequestRequestTypeDef = {  # (1)
    "filters": ...,
}

parent.describe_recovery_instances(**kwargs)
  1. See DescribeRecoveryInstancesRequestRequestTypeDef

describe_recovery_snapshots

Lists all Recovery Snapshots for a single Source Server.

Type annotations and code completion for session.client("drs").describe_recovery_snapshots method. boto3 documentation

Method definition
await def describe_recovery_snapshots(
    self,
    *,
    sourceServerID: str,
    filters: DescribeRecoverySnapshotsRequestFiltersTypeDef = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
    order: RecoverySnapshotsOrderType = ...,  # (2)
) -> DescribeRecoverySnapshotsResponseTypeDef:  # (3)
    ...
  1. See DescribeRecoverySnapshotsRequestFiltersTypeDef
  2. See RecoverySnapshotsOrderType
  3. See DescribeRecoverySnapshotsResponseTypeDef
Usage example with kwargs
kwargs: DescribeRecoverySnapshotsRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.describe_recovery_snapshots(**kwargs)
  1. See DescribeRecoverySnapshotsRequestRequestTypeDef

describe_replication_configuration_templates

Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.

Type annotations and code completion for session.client("drs").describe_replication_configuration_templates method. boto3 documentation

Method definition
await def describe_replication_configuration_templates(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
    replicationConfigurationTemplateIDs: Sequence[str] = ...,
) -> DescribeReplicationConfigurationTemplatesResponseTypeDef:  # (1)
    ...
  1. See DescribeReplicationConfigurationTemplatesResponseTypeDef
Usage example with kwargs
kwargs: DescribeReplicationConfigurationTemplatesRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.describe_replication_configuration_templates(**kwargs)
  1. See DescribeReplicationConfigurationTemplatesRequestRequestTypeDef

describe_source_servers

Lists all Source Servers or multiple Source Servers filtered by ID.

Type annotations and code completion for session.client("drs").describe_source_servers method. boto3 documentation

Method definition
await def describe_source_servers(
    self,
    *,
    filters: DescribeSourceServersRequestFiltersTypeDef = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> DescribeSourceServersResponseTypeDef:  # (2)
    ...
  1. See DescribeSourceServersRequestFiltersTypeDef
  2. See DescribeSourceServersResponseTypeDef
Usage example with kwargs
kwargs: DescribeSourceServersRequestRequestTypeDef = {  # (1)
    "filters": ...,
}

parent.describe_source_servers(**kwargs)
  1. See DescribeSourceServersRequestRequestTypeDef

disconnect_recovery_instance

Disconnect a Recovery Instance from Elastic Disaster Recovery.

Type annotations and code completion for session.client("drs").disconnect_recovery_instance method. boto3 documentation

Method definition
await def disconnect_recovery_instance(
    self,
    *,
    recoveryInstanceID: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: DisconnectRecoveryInstanceRequestRequestTypeDef = {  # (1)
    "recoveryInstanceID": ...,
}

parent.disconnect_recovery_instance(**kwargs)
  1. See DisconnectRecoveryInstanceRequestRequestTypeDef

disconnect_source_server

Disconnects a specific Source Server from Elastic Disaster Recovery.

Type annotations and code completion for session.client("drs").disconnect_source_server method. boto3 documentation

Method definition
await def disconnect_source_server(
    self,
    *,
    sourceServerID: str,
) -> SourceServerResponseMetadataTypeDef:  # (1)
    ...
  1. See SourceServerResponseMetadataTypeDef
Usage example with kwargs
kwargs: DisconnectSourceServerRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.disconnect_source_server(**kwargs)
  1. See DisconnectSourceServerRequestRequestTypeDef

generate_presigned_url

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for session.client("drs").generate_presigned_url method. boto3 documentation

Method definition
await def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

get_failback_replication_configuration

Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.

Type annotations and code completion for session.client("drs").get_failback_replication_configuration method. boto3 documentation

Method definition
await def get_failback_replication_configuration(
    self,
    *,
    recoveryInstanceID: str,
) -> GetFailbackReplicationConfigurationResponseTypeDef:  # (1)
    ...
  1. See GetFailbackReplicationConfigurationResponseTypeDef
Usage example with kwargs
kwargs: GetFailbackReplicationConfigurationRequestRequestTypeDef = {  # (1)
    "recoveryInstanceID": ...,
}

parent.get_failback_replication_configuration(**kwargs)
  1. See GetFailbackReplicationConfigurationRequestRequestTypeDef

get_launch_configuration

Gets a LaunchConfiguration, filtered by Source Server IDs.

Type annotations and code completion for session.client("drs").get_launch_configuration method. boto3 documentation

Method definition
await def get_launch_configuration(
    self,
    *,
    sourceServerID: str,
) -> LaunchConfigurationTypeDef:  # (1)
    ...
  1. See LaunchConfigurationTypeDef
Usage example with kwargs
kwargs: GetLaunchConfigurationRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.get_launch_configuration(**kwargs)
  1. See GetLaunchConfigurationRequestRequestTypeDef

get_replication_configuration

Gets a ReplicationConfiguration, filtered by Source Server ID.

Type annotations and code completion for session.client("drs").get_replication_configuration method. boto3 documentation

Method definition
await def get_replication_configuration(
    self,
    *,
    sourceServerID: str,
) -> ReplicationConfigurationTypeDef:  # (1)
    ...
  1. See ReplicationConfigurationTypeDef
Usage example with kwargs
kwargs: GetReplicationConfigurationRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.get_replication_configuration(**kwargs)
  1. See GetReplicationConfigurationRequestRequestTypeDef

initialize_service

Initialize Elastic Disaster Recovery.

Type annotations and code completion for session.client("drs").initialize_service method. boto3 documentation

Method definition
await def initialize_service(
    self,
) -> Dict[str, Any]:
    ...

list_extensible_source_servers

Returns a list of source servers on a staging account that are extensible, which means that: a.

Type annotations and code completion for session.client("drs").list_extensible_source_servers method. boto3 documentation

Method definition
await def list_extensible_source_servers(
    self,
    *,
    stagingAccountID: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListExtensibleSourceServersResponseTypeDef:  # (1)
    ...
  1. See ListExtensibleSourceServersResponseTypeDef
Usage example with kwargs
kwargs: ListExtensibleSourceServersRequestRequestTypeDef = {  # (1)
    "stagingAccountID": ...,
}

parent.list_extensible_source_servers(**kwargs)
  1. See ListExtensibleSourceServersRequestRequestTypeDef

list_staging_accounts

Returns an array of staging accounts for existing extended source servers.

Type annotations and code completion for session.client("drs").list_staging_accounts method. boto3 documentation

Method definition
await def list_staging_accounts(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListStagingAccountsResponseTypeDef:  # (1)
    ...
  1. See ListStagingAccountsResponseTypeDef
Usage example with kwargs
kwargs: ListStagingAccountsRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_staging_accounts(**kwargs)
  1. See ListStagingAccountsRequestRequestTypeDef

list_tags_for_resource

List all tags for your Elastic Disaster Recovery resources.

Type annotations and code completion for session.client("drs").list_tags_for_resource method. boto3 documentation

Method definition
await def list_tags_for_resource(
    self,
    *,
    resourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
Usage example with kwargs
kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

retry_data_replication

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.

Type annotations and code completion for session.client("drs").retry_data_replication method. boto3 documentation

Method definition
await def retry_data_replication(
    self,
    *,
    sourceServerID: str,
) -> SourceServerResponseMetadataTypeDef:  # (1)
    ...
  1. See SourceServerResponseMetadataTypeDef
Usage example with kwargs
kwargs: RetryDataReplicationRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.retry_data_replication(**kwargs)
  1. See RetryDataReplicationRequestRequestTypeDef

start_failback_launch

Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance.

Type annotations and code completion for session.client("drs").start_failback_launch method. boto3 documentation

Method definition
await def start_failback_launch(
    self,
    *,
    recoveryInstanceIDs: Sequence[str],
    tags: Mapping[str, str] = ...,
) -> StartFailbackLaunchResponseTypeDef:  # (1)
    ...
  1. See StartFailbackLaunchResponseTypeDef
Usage example with kwargs
kwargs: StartFailbackLaunchRequestRequestTypeDef = {  # (1)
    "recoveryInstanceIDs": ...,
}

parent.start_failback_launch(**kwargs)
  1. See StartFailbackLaunchRequestRequestTypeDef

start_recovery

Launches Recovery Instances for the specified Source Servers.

Type annotations and code completion for session.client("drs").start_recovery method. boto3 documentation

Method definition
await def start_recovery(
    self,
    *,
    sourceServers: Sequence[StartRecoveryRequestSourceServerTypeDef],  # (1)
    isDrill: bool = ...,
    tags: Mapping[str, str] = ...,
) -> StartRecoveryResponseTypeDef:  # (2)
    ...
  1. See StartRecoveryRequestSourceServerTypeDef
  2. See StartRecoveryResponseTypeDef
Usage example with kwargs
kwargs: StartRecoveryRequestRequestTypeDef = {  # (1)
    "sourceServers": ...,
}

parent.start_recovery(**kwargs)
  1. See StartRecoveryRequestRequestTypeDef

stop_failback

Stops the failback process for a specified Recovery Instance.

Type annotations and code completion for session.client("drs").stop_failback method. boto3 documentation

Method definition
await def stop_failback(
    self,
    *,
    recoveryInstanceID: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: StopFailbackRequestRequestTypeDef = {  # (1)
    "recoveryInstanceID": ...,
}

parent.stop_failback(**kwargs)
  1. See StopFailbackRequestRequestTypeDef

tag_resource

Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources.

Type annotations and code completion for session.client("drs").tag_resource method. boto3 documentation

Method definition
await def tag_resource(
    self,
    *,
    resourceArn: str,
    tags: Mapping[str, str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

terminate_recovery_instances

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.

Type annotations and code completion for session.client("drs").terminate_recovery_instances method. boto3 documentation

Method definition
await def terminate_recovery_instances(
    self,
    *,
    recoveryInstanceIDs: Sequence[str],
) -> TerminateRecoveryInstancesResponseTypeDef:  # (1)
    ...
  1. See TerminateRecoveryInstancesResponseTypeDef
Usage example with kwargs
kwargs: TerminateRecoveryInstancesRequestRequestTypeDef = {  # (1)
    "recoveryInstanceIDs": ...,
}

parent.terminate_recovery_instances(**kwargs)
  1. See TerminateRecoveryInstancesRequestRequestTypeDef

untag_resource

Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.

Type annotations and code completion for session.client("drs").untag_resource method. boto3 documentation

Method definition
await def untag_resource(
    self,
    *,
    resourceArn: str,
    tagKeys: Sequence[str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

update_failback_replication_configuration

Allows you to update the failback replication configuration of a Recovery Instance by ID.

Type annotations and code completion for session.client("drs").update_failback_replication_configuration method. boto3 documentation

Method definition
await def update_failback_replication_configuration(
    self,
    *,
    recoveryInstanceID: str,
    bandwidthThrottling: int = ...,
    name: str = ...,
    usePrivateIP: bool = ...,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: UpdateFailbackReplicationConfigurationRequestRequestTypeDef = {  # (1)
    "recoveryInstanceID": ...,
}

parent.update_failback_replication_configuration(**kwargs)
  1. See UpdateFailbackReplicationConfigurationRequestRequestTypeDef

update_launch_configuration

Updates a LaunchConfiguration by Source Server ID.

Type annotations and code completion for session.client("drs").update_launch_configuration method. boto3 documentation

Method definition
await def update_launch_configuration(
    self,
    *,
    sourceServerID: str,
    copyPrivateIp: bool = ...,
    copyTags: bool = ...,
    launchDisposition: LaunchDispositionType = ...,  # (1)
    licensing: LicensingTypeDef = ...,  # (2)
    name: str = ...,
    targetInstanceTypeRightSizingMethod: TargetInstanceTypeRightSizingMethodType = ...,  # (3)
) -> LaunchConfigurationTypeDef:  # (4)
    ...
  1. See LaunchDispositionType
  2. See LicensingTypeDef
  3. See TargetInstanceTypeRightSizingMethodType
  4. See LaunchConfigurationTypeDef
Usage example with kwargs
kwargs: UpdateLaunchConfigurationRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.update_launch_configuration(**kwargs)
  1. See UpdateLaunchConfigurationRequestRequestTypeDef

update_replication_configuration

Allows you to update a ReplicationConfiguration by Source Server ID.

Type annotations and code completion for session.client("drs").update_replication_configuration method. boto3 documentation

Method definition
await def update_replication_configuration(
    self,
    *,
    sourceServerID: str,
    associateDefaultSecurityGroup: bool = ...,
    bandwidthThrottling: int = ...,
    createPublicIP: bool = ...,
    dataPlaneRouting: ReplicationConfigurationDataPlaneRoutingType = ...,  # (1)
    defaultLargeStagingDiskType: ReplicationConfigurationDefaultLargeStagingDiskTypeType = ...,  # (2)
    ebsEncryption: ReplicationConfigurationEbsEncryptionType = ...,  # (3)
    ebsEncryptionKeyArn: str = ...,
    name: str = ...,
    pitPolicy: Sequence[PITPolicyRuleTypeDef] = ...,  # (4)
    replicatedDisks: Sequence[ReplicationConfigurationReplicatedDiskTypeDef] = ...,  # (5)
    replicationServerInstanceType: str = ...,
    replicationServersSecurityGroupsIDs: Sequence[str] = ...,
    stagingAreaSubnetId: str = ...,
    stagingAreaTags: Mapping[str, str] = ...,
    useDedicatedReplicationServer: bool = ...,
) -> ReplicationConfigurationTypeDef:  # (6)
    ...
  1. See ReplicationConfigurationDataPlaneRoutingType
  2. See ReplicationConfigurationDefaultLargeStagingDiskTypeType
  3. See ReplicationConfigurationEbsEncryptionType
  4. See PITPolicyRuleTypeDef
  5. See ReplicationConfigurationReplicatedDiskTypeDef
  6. See ReplicationConfigurationTypeDef
Usage example with kwargs
kwargs: UpdateReplicationConfigurationRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.update_replication_configuration(**kwargs)
  1. See UpdateReplicationConfigurationRequestRequestTypeDef

update_replication_configuration_template

Updates a ReplicationConfigurationTemplate by ID.

Type annotations and code completion for session.client("drs").update_replication_configuration_template method. boto3 documentation

Method definition
await def update_replication_configuration_template(
    self,
    *,
    replicationConfigurationTemplateID: str,
    arn: str = ...,
    associateDefaultSecurityGroup: bool = ...,
    bandwidthThrottling: int = ...,
    createPublicIP: bool = ...,
    dataPlaneRouting: ReplicationConfigurationDataPlaneRoutingType = ...,  # (1)
    defaultLargeStagingDiskType: ReplicationConfigurationDefaultLargeStagingDiskTypeType = ...,  # (2)
    ebsEncryption: ReplicationConfigurationEbsEncryptionType = ...,  # (3)
    ebsEncryptionKeyArn: str = ...,
    pitPolicy: Sequence[PITPolicyRuleTypeDef] = ...,  # (4)
    replicationServerInstanceType: str = ...,
    replicationServersSecurityGroupsIDs: Sequence[str] = ...,
    stagingAreaSubnetId: str = ...,
    stagingAreaTags: Mapping[str, str] = ...,
    useDedicatedReplicationServer: bool = ...,
) -> ReplicationConfigurationTemplateResponseMetadataTypeDef:  # (5)
    ...
  1. See ReplicationConfigurationDataPlaneRoutingType
  2. See ReplicationConfigurationDefaultLargeStagingDiskTypeType
  3. See ReplicationConfigurationEbsEncryptionType
  4. See PITPolicyRuleTypeDef
  5. See ReplicationConfigurationTemplateResponseMetadataTypeDef
Usage example with kwargs
kwargs: UpdateReplicationConfigurationTemplateRequestRequestTypeDef = {  # (1)
    "replicationConfigurationTemplateID": ...,
}

parent.update_replication_configuration_template(**kwargs)
  1. See UpdateReplicationConfigurationTemplateRequestRequestTypeDef

__aenter__

Type annotations and code completion for session.client("drs").__aenter__ method. boto3 documentation

Method definition
await def __aenter__(
    self,
) -> drsClient:
    ...

__aexit__

Type annotations and code completion for session.client("drs").__aexit__ method. boto3 documentation

Method definition
await def __aexit__(
    self,
    exc_type: Any,
    exc_val: Any,
    exc_tb: Any,
) -> Any:
    ...

get_paginator

Type annotations and code completion for session.client("drs").get_paginator method with overloads.