Skip to content

Type definitions#

Index > drs > Type definitions

Auto-generated documentation for drs type annotations stubs module mypy-boto3-drs.

AccountTypeDef#

# AccountTypeDef definition

class AccountTypeDef(TypedDict):
    accountID: NotRequired[str],

AssociateSourceNetworkStackRequestRequestTypeDef#

# AssociateSourceNetworkStackRequestRequestTypeDef definition

class AssociateSourceNetworkStackRequestRequestTypeDef(TypedDict):
    cfnStackName: str,
    sourceNetworkID: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

CPUTypeDef#

# CPUTypeDef definition

class CPUTypeDef(TypedDict):
    cores: NotRequired[int],
    modelName: NotRequired[str],

ProductCodeTypeDef#

# ProductCodeTypeDef definition

class ProductCodeTypeDef(TypedDict):
    productCodeId: NotRequired[str],
    productCodeMode: NotRequired[ProductCodeModeType],  # (1)
  1. See ProductCodeModeType

CreateExtendedSourceServerRequestRequestTypeDef#

# CreateExtendedSourceServerRequestRequestTypeDef definition

class CreateExtendedSourceServerRequestRequestTypeDef(TypedDict):
    sourceServerArn: str,
    tags: NotRequired[Mapping[str, str]],

LicensingTypeDef#

# LicensingTypeDef definition

class LicensingTypeDef(TypedDict):
    osByol: NotRequired[bool],

PITPolicyRuleTypeDef#

# PITPolicyRuleTypeDef definition

class PITPolicyRuleTypeDef(TypedDict):
    interval: int,
    retentionDuration: int,
    units: PITPolicyRuleUnitsType,  # (1)
    enabled: NotRequired[bool],
    ruleID: NotRequired[int],
  1. See PITPolicyRuleUnitsType

CreateSourceNetworkRequestRequestTypeDef#

# CreateSourceNetworkRequestRequestTypeDef definition

class CreateSourceNetworkRequestRequestTypeDef(TypedDict):
    originAccountID: str,
    originRegion: str,
    vpcID: str,
    tags: NotRequired[Mapping[str, str]],

DataReplicationErrorTypeDef#

# DataReplicationErrorTypeDef definition

class DataReplicationErrorTypeDef(TypedDict):
    error: NotRequired[DataReplicationErrorStringType],  # (1)
    rawError: NotRequired[str],
  1. See DataReplicationErrorStringType

DataReplicationInfoReplicatedDiskTypeDef#

# DataReplicationInfoReplicatedDiskTypeDef definition

class DataReplicationInfoReplicatedDiskTypeDef(TypedDict):
    backloggedStorageBytes: NotRequired[int],
    deviceName: NotRequired[str],
    replicatedStorageBytes: NotRequired[int],
    rescannedStorageBytes: NotRequired[int],
    totalStorageBytes: NotRequired[int],
    volumeStatus: NotRequired[VolumeStatusType],  # (1)
  1. See VolumeStatusType

DataReplicationInitiationStepTypeDef#

# DataReplicationInitiationStepTypeDef definition

class DataReplicationInitiationStepTypeDef(TypedDict):
    name: NotRequired[DataReplicationInitiationStepNameType],  # (1)
    status: NotRequired[DataReplicationInitiationStepStatusType],  # (2)
  1. See DataReplicationInitiationStepNameType
  2. See DataReplicationInitiationStepStatusType

DeleteJobRequestRequestTypeDef#

# DeleteJobRequestRequestTypeDef definition

class DeleteJobRequestRequestTypeDef(TypedDict):
    jobID: str,

DeleteLaunchActionRequestRequestTypeDef#

# DeleteLaunchActionRequestRequestTypeDef definition

class DeleteLaunchActionRequestRequestTypeDef(TypedDict):
    actionId: str,
    resourceId: str,

DeleteLaunchConfigurationTemplateRequestRequestTypeDef#

# DeleteLaunchConfigurationTemplateRequestRequestTypeDef definition

class DeleteLaunchConfigurationTemplateRequestRequestTypeDef(TypedDict):
    launchConfigurationTemplateID: str,

DeleteRecoveryInstanceRequestRequestTypeDef#

# DeleteRecoveryInstanceRequestRequestTypeDef definition

class DeleteRecoveryInstanceRequestRequestTypeDef(TypedDict):
    recoveryInstanceID: str,

DeleteReplicationConfigurationTemplateRequestRequestTypeDef#

# DeleteReplicationConfigurationTemplateRequestRequestTypeDef definition

class DeleteReplicationConfigurationTemplateRequestRequestTypeDef(TypedDict):
    replicationConfigurationTemplateID: str,

DeleteSourceNetworkRequestRequestTypeDef#

# DeleteSourceNetworkRequestRequestTypeDef definition

class DeleteSourceNetworkRequestRequestTypeDef(TypedDict):
    sourceNetworkID: str,

DeleteSourceServerRequestRequestTypeDef#

# DeleteSourceServerRequestRequestTypeDef definition

class DeleteSourceServerRequestRequestTypeDef(TypedDict):
    sourceServerID: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

DescribeJobLogItemsRequestRequestTypeDef#

# DescribeJobLogItemsRequestRequestTypeDef definition

class DescribeJobLogItemsRequestRequestTypeDef(TypedDict):
    jobID: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

DescribeJobsRequestFiltersTypeDef#

# DescribeJobsRequestFiltersTypeDef definition

class DescribeJobsRequestFiltersTypeDef(TypedDict):
    fromDate: NotRequired[str],
    jobIDs: NotRequired[Sequence[str]],
    toDate: NotRequired[str],

DescribeLaunchConfigurationTemplatesRequestRequestTypeDef#

# DescribeLaunchConfigurationTemplatesRequestRequestTypeDef definition

class DescribeLaunchConfigurationTemplatesRequestRequestTypeDef(TypedDict):
    launchConfigurationTemplateIDs: NotRequired[Sequence[str]],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

DescribeRecoveryInstancesRequestFiltersTypeDef#

# DescribeRecoveryInstancesRequestFiltersTypeDef definition

class DescribeRecoveryInstancesRequestFiltersTypeDef(TypedDict):
    recoveryInstanceIDs: NotRequired[Sequence[str]],
    sourceServerIDs: NotRequired[Sequence[str]],

DescribeRecoverySnapshotsRequestFiltersTypeDef#

# DescribeRecoverySnapshotsRequestFiltersTypeDef definition

class DescribeRecoverySnapshotsRequestFiltersTypeDef(TypedDict):
    fromDateTime: NotRequired[str],
    toDateTime: NotRequired[str],

RecoverySnapshotTypeDef#

# RecoverySnapshotTypeDef definition

class RecoverySnapshotTypeDef(TypedDict):
    expectedTimestamp: str,
    snapshotID: str,
    sourceServerID: str,
    ebsSnapshots: NotRequired[List[str]],
    timestamp: NotRequired[str],

DescribeReplicationConfigurationTemplatesRequestRequestTypeDef#

# DescribeReplicationConfigurationTemplatesRequestRequestTypeDef definition

class DescribeReplicationConfigurationTemplatesRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    replicationConfigurationTemplateIDs: NotRequired[Sequence[str]],

DescribeSourceNetworksRequestFiltersTypeDef#

# DescribeSourceNetworksRequestFiltersTypeDef definition

class DescribeSourceNetworksRequestFiltersTypeDef(TypedDict):
    originAccountID: NotRequired[str],
    originRegion: NotRequired[str],
    sourceNetworkIDs: NotRequired[Sequence[str]],

DescribeSourceServersRequestFiltersTypeDef#

# DescribeSourceServersRequestFiltersTypeDef definition

class DescribeSourceServersRequestFiltersTypeDef(TypedDict):
    hardwareId: NotRequired[str],
    sourceServerIDs: NotRequired[Sequence[str]],
    stagingAccountIDs: NotRequired[Sequence[str]],

DisconnectRecoveryInstanceRequestRequestTypeDef#

# DisconnectRecoveryInstanceRequestRequestTypeDef definition

class DisconnectRecoveryInstanceRequestRequestTypeDef(TypedDict):
    recoveryInstanceID: str,

DisconnectSourceServerRequestRequestTypeDef#

# DisconnectSourceServerRequestRequestTypeDef definition

class DisconnectSourceServerRequestRequestTypeDef(TypedDict):
    sourceServerID: str,

DiskTypeDef#

# DiskTypeDef definition

class DiskTypeDef(TypedDict):
    bytes: NotRequired[int],
    deviceName: NotRequired[str],

SourceNetworkDataTypeDef#

# SourceNetworkDataTypeDef definition

class SourceNetworkDataTypeDef(TypedDict):
    sourceNetworkID: NotRequired[str],
    sourceVpc: NotRequired[str],
    stackName: NotRequired[str],
    targetVpc: NotRequired[str],

ExportSourceNetworkCfnTemplateRequestRequestTypeDef#

# ExportSourceNetworkCfnTemplateRequestRequestTypeDef definition

class ExportSourceNetworkCfnTemplateRequestRequestTypeDef(TypedDict):
    sourceNetworkID: str,

GetFailbackReplicationConfigurationRequestRequestTypeDef#

# GetFailbackReplicationConfigurationRequestRequestTypeDef definition

class GetFailbackReplicationConfigurationRequestRequestTypeDef(TypedDict):
    recoveryInstanceID: str,

GetLaunchConfi