Typed dictionaries#
Auto-generated documentation for drs type annotations stubs module mypy-boto3-drs.
AccountTypeDef#
# AccountTypeDef usage example
from mypy_boto3_drs.type_defs import AccountTypeDef
def get_value() -> AccountTypeDef:
return {
"accountID": ...,
}
# AccountTypeDef definition
class AccountTypeDef(TypedDict):
accountID: NotRequired[str],
CPUTypeDef#
# CPUTypeDef usage example
from mypy_boto3_drs.type_defs import CPUTypeDef
def get_value() -> CPUTypeDef:
return {
"cores": ...,
}
# CPUTypeDef definition
class CPUTypeDef(TypedDict):
cores: NotRequired[int],
modelName: NotRequired[str],
ConversionPropertiesTypeDef#
# ConversionPropertiesTypeDef usage example
from mypy_boto3_drs.type_defs import ConversionPropertiesTypeDef
def get_value() -> ConversionPropertiesTypeDef:
return {
"dataTimestamp": ...,
}
# ConversionPropertiesTypeDef definition
class ConversionPropertiesTypeDef(TypedDict):
dataTimestamp: NotRequired[str],
forceUefi: NotRequired[bool],
rootVolumeName: NotRequired[str],
volumeToConversionMap: NotRequired[Dict[str, Dict[str, str]]],
volumeToVolumeSize: NotRequired[Dict[str, int]],
CreateExtendedSourceServerRequestRequestTypeDef#
# CreateExtendedSourceServerRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import CreateExtendedSourceServerRequestRequestTypeDef
def get_value() -> CreateExtendedSourceServerRequestRequestTypeDef:
return {
"sourceServerArn": ...,
}
# CreateExtendedSourceServerRequestRequestTypeDef definition
class CreateExtendedSourceServerRequestRequestTypeDef(TypedDict):
sourceServerArn: str,
tags: NotRequired[Mapping[str, str]],
LicensingTypeDef#
# LicensingTypeDef usage example
from mypy_boto3_drs.type_defs import LicensingTypeDef
def get_value() -> LicensingTypeDef:
return {
"osByol": ...,
}
# LicensingTypeDef definition
class LicensingTypeDef(TypedDict):
osByol: NotRequired[bool],
PITPolicyRuleTypeDef#
# PITPolicyRuleTypeDef usage example
from mypy_boto3_drs.type_defs import PITPolicyRuleTypeDef
def get_value() -> PITPolicyRuleTypeDef:
return {
"interval": ...,
"retentionDuration": ...,
"units": ...,
}
# PITPolicyRuleTypeDef definition
class PITPolicyRuleTypeDef(TypedDict):
interval: int,
retentionDuration: int,
units: PITPolicyRuleUnitsType, # (1)
enabled: NotRequired[bool],
ruleID: NotRequired[int],
DataReplicationErrorTypeDef#
# DataReplicationErrorTypeDef usage example
from mypy_boto3_drs.type_defs import DataReplicationErrorTypeDef
def get_value() -> DataReplicationErrorTypeDef:
return {
"error": ...,
}
# DataReplicationErrorTypeDef definition
class DataReplicationErrorTypeDef(TypedDict):
error: NotRequired[DataReplicationErrorStringType], # (1)
rawError: NotRequired[str],
DataReplicationInfoReplicatedDiskTypeDef#
# DataReplicationInfoReplicatedDiskTypeDef usage example
from mypy_boto3_drs.type_defs import DataReplicationInfoReplicatedDiskTypeDef
def get_value() -> DataReplicationInfoReplicatedDiskTypeDef:
return {
"backloggedStorageBytes": ...,
}
# DataReplicationInfoReplicatedDiskTypeDef definition
class DataReplicationInfoReplicatedDiskTypeDef(TypedDict):
backloggedStorageBytes: NotRequired[int],
deviceName: NotRequired[str],
replicatedStorageBytes: NotRequired[int],
rescannedStorageBytes: NotRequired[int],
totalStorageBytes: NotRequired[int],
DataReplicationInitiationStepTypeDef#
# DataReplicationInitiationStepTypeDef usage example
from mypy_boto3_drs.type_defs import DataReplicationInitiationStepTypeDef
def get_value() -> DataReplicationInitiationStepTypeDef:
return {
"name": ...,
}
# DataReplicationInitiationStepTypeDef definition
class DataReplicationInitiationStepTypeDef(TypedDict):
name: NotRequired[DataReplicationInitiationStepNameType], # (1)
status: NotRequired[DataReplicationInitiationStepStatusType], # (2)
DeleteJobRequestRequestTypeDef#
# DeleteJobRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import DeleteJobRequestRequestTypeDef
def get_value() -> DeleteJobRequestRequestTypeDef:
return {
"jobID": ...,
}
# DeleteJobRequestRequestTypeDef definition
class DeleteJobRequestRequestTypeDef(TypedDict):
jobID: str,
DeleteLaunchConfigurationTemplateRequestRequestTypeDef#
# DeleteLaunchConfigurationTemplateRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import DeleteLaunchConfigurationTemplateRequestRequestTypeDef
def get_value() -> DeleteLaunchConfigurationTemplateRequestRequestTypeDef:
return {
"launchConfigurationTemplateID": ...,
}
# DeleteLaunchConfigurationTemplateRequestRequestTypeDef definition
class DeleteLaunchConfigurationTemplateRequestRequestTypeDef(TypedDict):
launchConfigurationTemplateID: str,
DeleteRecoveryInstanceRequestRequestTypeDef#
# DeleteRecoveryInstanceRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import DeleteRecoveryInstanceRequestRequestTypeDef
def get_value() -> DeleteRecoveryInstanceRequestRequestTypeDef:
return {
"recoveryInstanceID": ...,
}
# DeleteRecoveryInstanceRequestRequestTypeDef definition
class DeleteRecoveryInstanceRequestRequestTypeDef(TypedDict):
recoveryInstanceID: str,
DeleteReplicationConfigurationTemplateRequestRequestTypeDef#
# DeleteReplicationConfigurationTemplateRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import DeleteReplicationConfigurationTemplateRequestRequestTypeDef
def get_value() -> DeleteReplicationConfigurationTemplateRequestRequestTypeDef:
return {
"replicationConfigurationTemplateID": ...,
}
# DeleteReplicationConfigurationTemplateRequestRequestTypeDef definition
class DeleteReplicationConfigurationTemplateRequestRequestTypeDef(TypedDict):
replicationConfigurationTemplateID: str,
DeleteSourceServerRequestRequestTypeDef#
# DeleteSourceServerRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import DeleteSourceServerRequestRequestTypeDef
def get_value() -> DeleteSourceServerRequestRequestTypeDef:
return {
"sourceServerID": ...,
}
# DeleteSourceServerRequestRequestTypeDef definition
class DeleteSourceServerRequestRequestTypeDef(TypedDict):
sourceServerID: str,
DescribeJobLogItemsRequestDescribeJobLogItemsPaginateTypeDef#
# DescribeJobLogItemsRequestDescribeJobLogItemsPaginateTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeJobLogItemsRequestDescribeJobLogItemsPaginateTypeDef
def get_value() -> DescribeJobLogItemsRequestDescribeJobLogItemsPaginateTypeDef:
return {
"jobID": ...,
}
# DescribeJobLogItemsRequestDescribeJobLogItemsPaginateTypeDef definition
class DescribeJobLogItemsRequestDescribeJobLogItemsPaginateTypeDef(TypedDict):
jobID: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeJobLogItemsRequestRequestTypeDef#
# DescribeJobLogItemsRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeJobLogItemsRequestRequestTypeDef
def get_value() -> DescribeJobLogItemsRequestRequestTypeDef:
return {
"jobID": ...,
}
# DescribeJobLogItemsRequestRequestTypeDef definition
class DescribeJobLogItemsRequestRequestTypeDef(TypedDict):
jobID: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
DescribeJobsRequestFiltersTypeDef#
# DescribeJobsRequestFiltersTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeJobsRequestFiltersTypeDef
def get_value() -> DescribeJobsRequestFiltersTypeDef:
return {
"fromDate": ...,
}
# DescribeJobsRequestFiltersTypeDef definition
class DescribeJobsRequestFiltersTypeDef(TypedDict):
fromDate: NotRequired[str],
jobIDs: NotRequired[Sequence[str]],
toDate: NotRequired[str],
DescribeLaunchConfigurationTemplatesRequestDescribeLaunchConfigurationTemplatesPaginateTypeDef#
# DescribeLaunchConfigurationTemplatesRequestDescribeLaunchConfigurationTemplatesPaginateTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeLaunchConfigurationTemplatesRequestDescribeLaunchConfigurationTemplatesPaginateTypeDef
def get_value() -> DescribeLaunchConfigurationTemplatesRequestDescribeLaunchConfigurationTemplatesPaginateTypeDef:
return {
"launchConfigurationTemplateIDs": ...,
}
# DescribeLaunchConfigurationTemplatesRequestDescribeLaunchConfigurationTemplatesPaginateTypeDef definition
class DescribeLaunchConfigurationTemplatesRequestDescribeLaunchConfigurationTemplatesPaginateTypeDef(TypedDict):
launchConfigurationTemplateIDs: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeLaunchConfigurationTemplatesRequestRequestTypeDef#
# DescribeLaunchConfigurationTemplatesRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeLaunchConfigurationTemplatesRequestRequestTypeDef
def get_value() -> DescribeLaunchConfigurationTemplatesRequestRequestTypeDef:
return {
"launchConfigurationTemplateIDs": ...,
}
# DescribeLaunchConfigurationTemplatesRequestRequestTypeDef definition
class DescribeLaunchConfigurationTemplatesRequestRequestTypeDef(TypedDict):
launchConfigurationTemplateIDs: NotRequired[Sequence[str]],
maxResults: NotRequired[int],
nextToken: NotRequired[str],
DescribeRecoveryInstancesRequestFiltersTypeDef#
# DescribeRecoveryInstancesRequestFiltersTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeRecoveryInstancesRequestFiltersTypeDef
def get_value() -> DescribeRecoveryInstancesRequestFiltersTypeDef:
return {
"recoveryInstanceIDs": ...,
}
# DescribeRecoveryInstancesRequestFiltersTypeDef definition
class DescribeRecoveryInstancesRequestFiltersTypeDef(TypedDict):
recoveryInstanceIDs: NotRequired[Sequence[str]],
sourceServerIDs: NotRequired[Sequence[str]],
DescribeRecoverySnapshotsRequestFiltersTypeDef#
# DescribeRecoverySnapshotsRequestFiltersTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeRecoverySnapshotsRequestFiltersTypeDef
def get_value() -> DescribeRecoverySnapshotsRequestFiltersTypeDef:
return {
"fromDateTime": ...,
}
# DescribeRecoverySnapshotsRequestFiltersTypeDef definition
class DescribeRecoverySnapshotsRequestFiltersTypeDef(TypedDict):
fromDateTime: NotRequired[str],
toDateTime: NotRequired[str],
RecoverySnapshotTypeDef#
# RecoverySnapshotTypeDef usage example
from mypy_boto3_drs.type_defs import RecoverySnapshotTypeDef
def get_value() -> RecoverySnapshotTypeDef:
return {
"expectedTimestamp": ...,
"snapshotID": ...,
"sourceServerID": ...,
}
# RecoverySnapshotTypeDef definition
class RecoverySnapshotTypeDef(TypedDict):
expectedTimestamp: str,
snapshotID: str,
sourceServerID: str,
ebsSnapshots: NotRequired[List[str]],
timestamp: NotRequired[str],
DescribeReplicationConfigurationTemplatesRequestDescribeReplicationConfigurationTemplatesPaginateTypeDef#
# DescribeReplicationConfigurationTemplatesRequestDescribeReplicationConfigurationTemplatesPaginateTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeReplicationConfigurationTemplatesRequestDescribeReplicationConfigurationTemplatesPaginateTypeDef
def get_value() -> DescribeReplicationConfigurationTemplatesRequestDescribeReplicationConfigurationTemplatesPaginateTypeDef:
return {
"replicationConfigurationTemplateIDs": ...,
}
# DescribeReplicationConfigurationTemplatesRequestDescribeReplicationConfigurationTemplatesPaginateTypeDef definition
class DescribeReplicationConfigurationTemplatesRequestDescribeReplicationConfigurationTemplatesPaginateTypeDef(TypedDict):
replicationConfigurationTemplateIDs: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeReplicationConfigurationTemplatesRequestRequestTypeDef#
# DescribeReplicationConfigurationTemplatesRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeReplicationConfigurationTemplatesRequestRequestTypeDef
def get_value() -> DescribeReplicationConfigurationTemplatesRequestRequestTypeDef:
return {
"maxResults": ...,
}
# DescribeReplicationConfigurationTemplatesRequestRequestTypeDef definition
class DescribeReplicationConfigurationTemplatesRequestRequestTypeDef(TypedDict):
maxResults: NotRequired[int],
nextToken: NotRequired[str],
replicationConfigurationTemplateIDs: NotRequired[Sequence[str]],
DescribeSourceServersRequestFiltersTypeDef#
# DescribeSourceServersRequestFiltersTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeSourceServersRequestFiltersTypeDef
def get_value() -> DescribeSourceServersRequestFiltersTypeDef:
return {
"hardwareId": ...,
}
# DescribeSourceServersRequestFiltersTypeDef definition
class DescribeSourceServersRequestFiltersTypeDef(TypedDict):
hardwareId: NotRequired[str],
sourceServerIDs: NotRequired[Sequence[str]],
stagingAccountIDs: NotRequired[Sequence[str]],
DisconnectRecoveryInstanceRequestRequestTypeDef#
# DisconnectRecoveryInstanceRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import DisconnectRecoveryInstanceRequestRequestTypeDef
def get_value() -> DisconnectRecoveryInstanceRequestRequestTypeDef:
return {
"recoveryInstanceID": ...,
}
# DisconnectRecoveryInstanceRequestRequestTypeDef definition
class DisconnectRecoveryInstanceRequestRequestTypeDef(TypedDict):
recoveryInstanceID: str,
DisconnectSourceServerRequestRequestTypeDef#
# DisconnectSourceServerRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import DisconnectSourceServerRequestRequestTypeDef
def get_value() -> DisconnectSourceServerRequestRequestTypeDef:
return {
"sourceServerID": ...,
}
# DisconnectSourceServerRequestRequestTypeDef definition
class DisconnectSourceServerRequestRequestTypeDef(TypedDict):
sourceServerID: str,
DiskTypeDef#
# DiskTypeDef usage example
from mypy_boto3_drs.type_defs import DiskTypeDef
def get_value() -> DiskTypeDef:
return {
"bytes": ...,
}
# DiskTypeDef definition
class DiskTypeDef(TypedDict):
bytes: NotRequired[int],
deviceName: NotRequired[str],
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef usage example
from mypy_boto3_drs.type_defs import EmptyResponseMetadataTypeDef
def get_value() -> EmptyResponseMetadataTypeDef:
return {
"ResponseMetadata": ...,
}
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetFailbackReplicationConfigurationRequestRequestTypeDef#
# GetFailbackReplicationConfigurationRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import GetFailbackReplicationConfigurationRequestRequestTypeDef
def get_value() -> GetFailbackReplicationConfigurationRequestRequestTypeDef:
return {
"recoveryInstanceID": ...,
}
# GetFailbackReplicationConfigurationRequestRequestTypeDef definition
class GetFailbackReplicationConfigurationRequestRequestTypeDef(TypedDict):
recoveryInstanceID: str,
GetFailbackReplicationConfigurationResponseTypeDef#
# GetFailbackReplicationConfigurationResponseTypeDef usage example
from mypy_boto3_drs.type_defs import GetFailbackReplicationConfigurationResponseTypeDef
def get_value() -> GetFailbackReplicationConfigurationResponseTypeDef:
return {
"bandwidthThrottling": ...,
"name": ...,
"recoveryInstanceID": ...,
"usePrivateIP": ...,
"ResponseMetadata": ...,
}
# GetFailbackReplicationConfigurationResponseTypeDef definition
class GetFailbackReplicationConfigurationResponseTypeDef(TypedDict):
bandwidthThrottling: int,
name: str,
recoveryInstanceID: str,
usePrivateIP: bool,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetLaunchConfigurationRequestRequestTypeDef#
# GetLaunchConfigurationRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import GetLaunchConfigurationRequestRequestTypeDef
def get_value() -> GetLaunchConfigurationRequestRequestTypeDef:
return {
"sourceServerID": ...,
}
# GetLaunchConfigurationRequestRequestTypeDef definition
class GetLaunchConfigurationRequestRequestTypeDef(TypedDict):
sourceServerID: str,
GetReplicationConfigurationRequestRequestTypeDef#
# GetReplicationConfigurationRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import GetReplicationConfigurationRequestRequestTypeDef
def get_value() -> GetReplicationConfigurationRequestRequestTypeDef:
return {
"sourceServerID": ...,
}
# GetReplicationConfigurationRequestRequestTypeDef definition
class GetReplicationConfigurationRequestRequestTypeDef(TypedDict):
sourceServerID: str,
IdentificationHintsTypeDef#
# IdentificationHintsTypeDef usage example
from mypy_boto3_drs.type_defs import IdentificationHintsTypeDef
def get_value() -> IdentificationHintsTypeDef:
return {
"awsInstanceID": ...,
}
# IdentificationHintsTypeDef definition
class IdentificationHintsTypeDef(TypedDict):
awsInstanceID: NotRequired[str],
fqdn: NotRequired[str],
hostname: NotRequired[str],
vmWareUuid: NotRequired[str],
ParticipatingServerTypeDef#
# ParticipatingServerTypeDef usage example
from mypy_boto3_drs.type_defs import ParticipatingServerTypeDef
def get_value() -> ParticipatingServerTypeDef:
return {
"launchStatus": ...,
}
# ParticipatingServerTypeDef definition
class ParticipatingServerTypeDef(TypedDict):
launchStatus: NotRequired[LaunchStatusType], # (1)
recoveryInstanceID: NotRequired[str],
sourceServerID: NotRequired[str],
- See LaunchStatusType
LifeCycleLastLaunchInitiatedTypeDef#
# LifeCycleLastLaunchInitiatedTypeDef usage example
from mypy_boto3_drs.type_defs import LifeCycleLastLaunchInitiatedTypeDef
def get_value() -> LifeCycleLastLaunchInitiatedTypeDef:
return {
"apiCallDateTime": ...,
}
# LifeCycleLastLaunchInitiatedTypeDef definition
class LifeCycleLastLaunchInitiatedTypeDef(TypedDict):
apiCallDateTime: NotRequired[str],
jobID: NotRequired[str],
type: NotRequired[LastLaunchTypeType], # (1)
ListExtensibleSourceServersRequestListExtensibleSourceServersPaginateTypeDef#
# ListExtensibleSourceServersRequestListExtensibleSourceServersPaginateTypeDef usage example
from mypy_boto3_drs.type_defs import ListExtensibleSourceServersRequestListExtensibleSourceServersPaginateTypeDef
def get_value() -> ListExtensibleSourceServersRequestListExtensibleSourceServersPaginateTypeDef:
return {
"stagingAccountID": ...,
}
# ListExtensibleSourceServersRequestListExtensibleSourceServersPaginateTypeDef definition
class ListExtensibleSourceServersRequestListExtensibleSourceServersPaginateTypeDef(TypedDict):
stagingAccountID: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListExtensibleSourceServersRequestRequestTypeDef#
# ListExtensibleSourceServersRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import ListExtensibleSourceServersRequestRequestTypeDef
def get_value() -> ListExtensibleSourceServersRequestRequestTypeDef:
return {
"stagingAccountID": ...,
}
# ListExtensibleSourceServersRequestRequestTypeDef definition
class ListExtensibleSourceServersRequestRequestTypeDef(TypedDict):
stagingAccountID: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
StagingSourceServerTypeDef#
# StagingSourceServerTypeDef usage example
from mypy_boto3_drs.type_defs import StagingSourceServerTypeDef
def get_value() -> StagingSourceServerTypeDef:
return {
"arn": ...,
}
# StagingSourceServerTypeDef definition
class StagingSourceServerTypeDef(TypedDict):
arn: NotRequired[str],
hostname: NotRequired[str],
tags: NotRequired[Dict[str, str]],
ListStagingAccountsRequestListStagingAccountsPaginateTypeDef#
# ListStagingAccountsRequestListStagingAccountsPaginateTypeDef usage example
from mypy_boto3_drs.type_defs import ListStagingAccountsRequestListStagingAccountsPaginateTypeDef
def get_value() -> ListStagingAccountsRequestListStagingAccountsPaginateTypeDef:
return {
"PaginationConfig": ...,
}
# ListStagingAccountsRequestListStagingAccountsPaginateTypeDef definition
class ListStagingAccountsRequestListStagingAccountsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListStagingAccountsRequestRequestTypeDef#
# ListStagingAccountsRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import ListStagingAccountsRequestRequestTypeDef
def get_value() -> ListStagingAccountsRequestRequestTypeDef:
return {
"maxResults": ...,
}
# ListStagingAccountsRequestRequestTypeDef definition
class ListStagingAccountsRequestRequestTypeDef(TypedDict):
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import ListTagsForResourceRequestRequestTypeDef
def get_value() -> ListTagsForResourceRequestRequestTypeDef:
return {
"resourceArn": ...,
}
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef usage example
from mypy_boto3_drs.type_defs import ListTagsForResourceResponseTypeDef
def get_value() -> ListTagsForResourceResponseTypeDef:
return {
"tags": ...,
"ResponseMetadata": ...,
}
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
NetworkInterfaceTypeDef#
# NetworkInterfaceTypeDef usage example
from mypy_boto3_drs.type_defs import NetworkInterfaceTypeDef
def get_value() -> NetworkInterfaceTypeDef:
return {
"ips": ...,
}
# NetworkInterfaceTypeDef definition
class NetworkInterfaceTypeDef(TypedDict):
ips: NotRequired[List[str]],
isPrimary: NotRequired[bool],
macAddress: NotRequired[str],
OSTypeDef#
# OSTypeDef usage example
from mypy_boto3_drs.type_defs import OSTypeDef
def get_value() -> OSTypeDef:
return {
"fullString": ...,
}
# OSTypeDef definition
class OSTypeDef(TypedDict):
fullString: NotRequired[str],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef usage example
from mypy_boto3_drs.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
RecoveryInstanceDataReplicationErrorTypeDef#
# RecoveryInstanceDataReplicationErrorTypeDef usage example
from mypy_boto3_drs.type_defs import RecoveryInstanceDataReplicationErrorTypeDef
def get_value() -> RecoveryInstanceDataReplicationErrorTypeDef:
return {
"error": ...,
}
# RecoveryInstanceDataReplicationErrorTypeDef definition
class RecoveryInstanceDataReplicationErrorTypeDef(TypedDict):
error: NotRequired[FailbackReplicationErrorType], # (1)
rawError: NotRequired[str],
RecoveryInstanceDataReplicationInfoReplicatedDiskTypeDef#
# RecoveryInstanceDataReplicationInfoReplicatedDiskTypeDef usage example
from mypy_boto3_drs.type_defs import RecoveryInstanceDataReplicationInfoReplicatedDiskTypeDef
def get_value() -> RecoveryInstanceDataReplicationInfoReplicatedDiskTypeDef:
return {
"backloggedStorageBytes": ...,
}
# RecoveryInstanceDataReplicationInfoReplicatedDiskTypeDef definition
class RecoveryInstanceDataReplicationInfoReplicatedDiskTypeDef(TypedDict):
backloggedStorageBytes: NotRequired[int],
deviceName: NotRequired[str],
replicatedStorageBytes: NotRequired[int],
rescannedStorageBytes: NotRequired[int],
totalStorageBytes: NotRequired[int],
RecoveryInstanceDataReplicationInitiationStepTypeDef#
# RecoveryInstanceDataReplicationInitiationStepTypeDef usage example
from mypy_boto3_drs.type_defs import RecoveryInstanceDataReplicationInitiationStepTypeDef
def get_value() -> RecoveryInstanceDataReplicationInitiationStepTypeDef:
return {
"name": ...,
}
# RecoveryInstanceDataReplicationInitiationStepTypeDef definition
class RecoveryInstanceDataReplicationInitiationStepTypeDef(TypedDict):
name: NotRequired[RecoveryInstanceDataReplicationInitiationStepNameType], # (1)
status: NotRequired[RecoveryInstanceDataReplicationInitiationStepStatusType], # (2)
- See RecoveryInstanceDataReplicationInitiationStepNameType
- See RecoveryInstanceDataReplicationInitiationStepStatusType
RecoveryInstanceDiskTypeDef#
# RecoveryInstanceDiskTypeDef usage example
from mypy_boto3_drs.type_defs import RecoveryInstanceDiskTypeDef
def get_value() -> RecoveryInstanceDiskTypeDef:
return {
"bytes": ...,
}
# RecoveryInstanceDiskTypeDef definition
class RecoveryInstanceDiskTypeDef(TypedDict):
bytes: NotRequired[int],
ebsVolumeID: NotRequired[str],
internalDeviceName: NotRequired[str],
RecoveryInstanceFailbackTypeDef#
# RecoveryInstanceFailbackTypeDef usage example
from mypy_boto3_drs.type_defs import RecoveryInstanceFailbackTypeDef
def get_value() -> RecoveryInstanceFailbackTypeDef:
return {
"agentLastSeenByServiceDateTime": ...,
}
# RecoveryInstanceFailbackTypeDef definition
class RecoveryInstanceFailbackTypeDef(TypedDict):
agentLastSeenByServiceDateTime: NotRequired[str],
elapsedReplicationDuration: NotRequired[str],
failbackClientID: NotRequired[str],
failbackClientLastSeenByServiceDateTime: NotRequired[str],
failbackInitiationTime: NotRequired[str],
failbackJobID: NotRequired[str],
failbackLaunchType: NotRequired[FailbackLaunchTypeType], # (1)
failbackToOriginalServer: NotRequired[bool],
firstByteDateTime: NotRequired[str],
state: NotRequired[FailbackStateType], # (2)
ReplicationConfigurationReplicatedDiskTypeDef#
# ReplicationConfigurationReplicatedDiskTypeDef usage example
from mypy_boto3_drs.type_defs import ReplicationConfigurationReplicatedDiskTypeDef
def get_value() -> ReplicationConfigurationReplicatedDiskTypeDef:
return {
"deviceName": ...,
}
# ReplicationConfigurationReplicatedDiskTypeDef definition
class ReplicationConfigurationReplicatedDiskTypeDef(TypedDict):
deviceName: NotRequired[str],
iops: NotRequired[int],
isBootDisk: NotRequired[bool],
optimizedStagingDiskType: NotRequired[ReplicationConfigurationReplicatedDiskStagingDiskTypeType], # (1)
stagingDiskType: NotRequired[ReplicationConfigurationReplicatedDiskStagingDiskTypeType], # (1)
throughput: NotRequired[int],
- See ReplicationConfigurationReplicatedDiskStagingDiskTypeType
- See ReplicationConfigurationReplicatedDiskStagingDiskTypeType
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef usage example
from mypy_boto3_drs.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
RetryDataReplicationRequestRequestTypeDef#
# RetryDataReplicationRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import RetryDataReplicationRequestRequestTypeDef
def get_value() -> RetryDataReplicationRequestRequestTypeDef:
return {
"sourceServerID": ...,
}
# RetryDataReplicationRequestRequestTypeDef definition
class RetryDataReplicationRequestRequestTypeDef(TypedDict):
sourceServerID: str,
ReverseReplicationRequestRequestTypeDef#
# ReverseReplicationRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import ReverseReplicationRequestRequestTypeDef
def get_value() -> ReverseReplicationRequestRequestTypeDef:
return {
"recoveryInstanceID": ...,
}
# ReverseReplicationRequestRequestTypeDef definition
class ReverseReplicationRequestRequestTypeDef(TypedDict):
recoveryInstanceID: str,
ReverseReplicationResponseTypeDef#
# ReverseReplicationResponseTypeDef usage example
from mypy_boto3_drs.type_defs import ReverseReplicationResponseTypeDef
def get_value() -> ReverseReplicationResponseTypeDef:
return {
"reversedDirectionSourceServerArn": ...,
"ResponseMetadata": ...,
}
# ReverseReplicationResponseTypeDef definition
class ReverseReplicationResponseTypeDef(TypedDict):
reversedDirectionSourceServerArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
SourceCloudPropertiesTypeDef#
# SourceCloudPropertiesTypeDef usage example
from mypy_boto3_drs.type_defs import SourceCloudPropertiesTypeDef
def get_value() -> SourceCloudPropertiesTypeDef:
return {
"originAccountID": ...,
}
# SourceCloudPropertiesTypeDef definition
class SourceCloudPropertiesTypeDef(TypedDict):
originAccountID: NotRequired[str],
originAvailabilityZone: NotRequired[str],
originRegion: NotRequired[str],
StagingAreaTypeDef#
# StagingAreaTypeDef usage example
from mypy_boto3_drs.type_defs import StagingAreaTypeDef
def get_value() -> StagingAreaTypeDef:
return {
"errorMessage": ...,
}
# StagingAreaTypeDef definition
class StagingAreaTypeDef(TypedDict):
errorMessage: NotRequired[str],
stagingAccountID: NotRequired[str],
stagingSourceServerArn: NotRequired[str],
status: NotRequired[ExtensionStatusType], # (1)
StartFailbackLaunchRequestRequestTypeDef#
# StartFailbackLaunchRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import StartFailbackLaunchRequestRequestTypeDef
def get_value() -> StartFailbackLaunchRequestRequestTypeDef:
return {
"recoveryInstanceIDs": ...,
}
# StartFailbackLaunchRequestRequestTypeDef definition
class StartFailbackLaunchRequestRequestTypeDef(TypedDict):
recoveryInstanceIDs: Sequence[str],
tags: NotRequired[Mapping[str, str]],
StartRecoveryRequestSourceServerTypeDef#
# StartRecoveryRequestSourceServerTypeDef usage example
from mypy_boto3_drs.type_defs import StartRecoveryRequestSourceServerTypeDef
def get_value() -> StartRecoveryRequestSourceServerTypeDef:
return {
"sourceServerID": ...,
}
# StartRecoveryRequestSourceServerTypeDef definition
class StartRecoveryRequestSourceServerTypeDef(TypedDict):
sourceServerID: str,
recoverySnapshotID: NotRequired[str],
StartReplicationRequestRequestTypeDef#
# StartReplicationRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import StartReplicationRequestRequestTypeDef
def get_value() -> StartReplicationRequestRequestTypeDef:
return {
"sourceServerID": ...,
}
# StartReplicationRequestRequestTypeDef definition
class StartReplicationRequestRequestTypeDef(TypedDict):
sourceServerID: str,
StopFailbackRequestRequestTypeDef#
# StopFailbackRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import StopFailbackRequestRequestTypeDef
def get_value() -> StopFailbackRequestRequestTypeDef:
return {
"recoveryInstanceID": ...,
}
# StopFailbackRequestRequestTypeDef definition
class StopFailbackRequestRequestTypeDef(TypedDict):
recoveryInstanceID: str,
StopReplicationRequestRequestTypeDef#
# StopReplicationRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import StopReplicationRequestRequestTypeDef
def get_value() -> StopReplicationRequestRequestTypeDef:
return {
"sourceServerID": ...,
}
# StopReplicationRequestRequestTypeDef definition
class StopReplicationRequestRequestTypeDef(TypedDict):
sourceServerID: str,
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import TagResourceRequestRequestTypeDef
def get_value() -> TagResourceRequestRequestTypeDef:
return {
"resourceArn": ...,
"tags": ...,
}
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tags: Mapping[str, str],
TerminateRecoveryInstancesRequestRequestTypeDef#
# TerminateRecoveryInstancesRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import TerminateRecoveryInstancesRequestRequestTypeDef
def get_value() -> TerminateRecoveryInstancesRequestRequestTypeDef:
return {
"recoveryInstanceIDs": ...,
}
# TerminateRecoveryInstancesRequestRequestTypeDef definition
class TerminateRecoveryInstancesRequestRequestTypeDef(TypedDict):
recoveryInstanceIDs: Sequence[str],
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import UntagResourceRequestRequestTypeDef
def get_value() -> UntagResourceRequestRequestTypeDef:
return {
"resourceArn": ...,
"tagKeys": ...,
}
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tagKeys: Sequence[str],
UpdateFailbackReplicationConfigurationRequestRequestTypeDef#
# UpdateFailbackReplicationConfigurationRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import UpdateFailbackReplicationConfigurationRequestRequestTypeDef
def get_value() -> UpdateFailbackReplicationConfigurationRequestRequestTypeDef:
return {
"recoveryInstanceID": ...,
}
# UpdateFailbackReplicationConfigurationRequestRequestTypeDef definition
class UpdateFailbackReplicationConfigurationRequestRequestTypeDef(TypedDict):
recoveryInstanceID: str,
bandwidthThrottling: NotRequired[int],
name: NotRequired[str],
usePrivateIP: NotRequired[bool],
ListStagingAccountsResponseTypeDef#
# ListStagingAccountsResponseTypeDef usage example
from mypy_boto3_drs.type_defs import ListStagingAccountsResponseTypeDef
def get_value() -> ListStagingAccountsResponseTypeDef:
return {
"accounts": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListStagingAccountsResponseTypeDef definition
class ListStagingAccountsResponseTypeDef(TypedDict):
accounts: List[AccountTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
JobLogEventDataTypeDef#
# JobLogEventDataTypeDef usage example
from mypy_boto3_drs.type_defs import JobLogEventDataTypeDef
def get_value() -> JobLogEventDataTypeDef:
return {
"conversionProperties": ...,
}
# JobLogEventDataTypeDef definition
class JobLogEventDataTypeDef(TypedDict):
conversionProperties: NotRequired[ConversionPropertiesTypeDef], # (1)
conversionServerID: NotRequired[str],
rawError: NotRequired[str],
sourceServerID: NotRequired[str],
targetInstanceID: NotRequired[str],
CreateLaunchConfigurationTemplateRequestRequestTypeDef#
# CreateLaunchConfigurationTemplateRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import CreateLaunchConfigurationTemplateRequestRequestTypeDef
def get_value() -> CreateLaunchConfigurationTemplateRequestRequestTypeDef:
return {
"copyPrivateIp": ...,
}
# CreateLaunchConfigurationTemplateRequestRequestTypeDef definition
class CreateLaunchConfigurationTemplateRequestRequestTypeDef(TypedDict):
copyPrivateIp: NotRequired[bool],
copyTags: NotRequired[bool],
launchDisposition: NotRequired[LaunchDispositionType], # (1)
licensing: NotRequired[LicensingTypeDef], # (2)
tags: NotRequired[Mapping[str, str]],
targetInstanceTypeRightSizingMethod: NotRequired[TargetInstanceTypeRightSizingMethodType], # (3)
LaunchConfigurationTemplateTypeDef#
# LaunchConfigurationTemplateTypeDef usage example
from mypy_boto3_drs.type_defs import LaunchConfigurationTemplateTypeDef
def get_value() -> LaunchConfigurationTemplateTypeDef:
return {
"arn": ...,
}
# LaunchConfigurationTemplateTypeDef definition
class LaunchConfigurationTemplateTypeDef(TypedDict):
arn: NotRequired[str],
copyPrivateIp: NotRequired[bool],
copyTags: NotRequired[bool],
launchConfigurationTemplateID: NotRequired[str],
launchDisposition: NotRequired[LaunchDispositionType], # (1)
licensing: NotRequired[LicensingTypeDef], # (2)
tags: NotRequired[Dict[str, str]],
targetInstanceTypeRightSizingMethod: NotRequired[TargetInstanceTypeRightSizingMethodType], # (3)
LaunchConfigurationTypeDef#
# LaunchConfigurationTypeDef usage example
from mypy_boto3_drs.type_defs import LaunchConfigurationTypeDef
def get_value() -> LaunchConfigurationTypeDef:
return {
"copyPrivateIp": ...,
"copyTags": ...,
"ec2LaunchTemplateID": ...,
"launchDisposition": ...,
"licensing": ...,
"name": ...,
"sourceServerID": ...,
"targetInstanceTypeRightSizingMethod": ...,
"ResponseMetadata": ...,
}
# LaunchConfigurationTypeDef definition
class LaunchConfigurationTypeDef(TypedDict):
copyPrivateIp: bool,
copyTags: bool,
ec2LaunchTemplateID: str,
launchDisposition: LaunchDispositionType, # (1)
licensing: LicensingTypeDef, # (2)
name: str,
sourceServerID: str,
targetInstanceTypeRightSizingMethod: TargetInstanceTypeRightSizingMethodType, # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See LaunchDispositionType
- See LicensingTypeDef
- See TargetInstanceTypeRightSizingMethodType
- See ResponseMetadataTypeDef
UpdateLaunchConfigurationRequestRequestTypeDef#
# UpdateLaunchConfigurationRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import UpdateLaunchConfigurationRequestRequestTypeDef
def get_value() -> UpdateLaunchConfigurationRequestRequestTypeDef:
return {
"sourceServerID": ...,
}
# UpdateLaunchConfigurationRequestRequestTypeDef definition
class UpdateLaunchConfigurationRequestRequestTypeDef(TypedDict):
sourceServerID: str,
copyPrivateIp: NotRequired[bool],
copyTags: NotRequired[bool],
launchDisposition: NotRequired[LaunchDispositionType], # (1)
licensing: NotRequired[LicensingTypeDef], # (2)
name: NotRequired[str],
targetInstanceTypeRightSizingMethod: NotRequired[TargetInstanceTypeRightSizingMethodType], # (3)
UpdateLaunchConfigurationTemplateRequestRequestTypeDef#
# UpdateLaunchConfigurationTemplateRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import UpdateLaunchConfigurationTemplateRequestRequestTypeDef
def get_value() -> UpdateLaunchConfigurationTemplateRequestRequestTypeDef:
return {
"launchConfigurationTemplateID": ...,
}
# UpdateLaunchConfigurationTemplateRequestRequestTypeDef definition
class UpdateLaunchConfigurationTemplateRequestRequestTypeDef(TypedDict):
launchConfigurationTemplateID: str,
copyPrivateIp: NotRequired[bool],
copyTags: NotRequired[bool],
launchDisposition: NotRequired[LaunchDispositionType], # (1)
licensing: NotRequired[LicensingTypeDef], # (2)
targetInstanceTypeRightSizingMethod: NotRequired[TargetInstanceTypeRightSizingMethodType], # (3)
CreateReplicationConfigurationTemplateRequestRequestTypeDef#
# CreateReplicationConfigurationTemplateRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import CreateReplicationConfigurationTemplateRequestRequestTypeDef
def get_value() -> CreateReplicationConfigurationTemplateRequestRequestTypeDef:
return {
"associateDefaultSecurityGroup": ...,
"bandwidthThrottling": ...,
"createPublicIP": ...,
"dataPlaneRouting": ...,
"defaultLargeStagingDiskType": ...,
"ebsEncryption": ...,
"pitPolicy": ...,
"replicationServerInstanceType": ...,
"replicationServersSecurityGroupsIDs": ...,
"stagingAreaSubnetId": ...,
"stagingAreaTags": ...,
"useDedicatedReplicationServer": ...,
}
# CreateReplicationConfigurationTemplateRequestRequestTypeDef definition
class CreateReplicationConfigurationTemplateRequestRequestTypeDef(TypedDict):
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,
autoReplicateNewDisks: NotRequired[bool],
ebsEncryptionKeyArn: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
- See ReplicationConfigurationDataPlaneRoutingType
- See ReplicationConfigurationDefaultLargeStagingDiskTypeType
- See ReplicationConfigurationEbsEncryptionType
- See PITPolicyRuleTypeDef
ReplicationConfigurationTemplateResponseMetadataTypeDef#
# ReplicationConfigurationTemplateResponseMetadataTypeDef usage example
from mypy_boto3_drs.type_defs import ReplicationConfigurationTemplateResponseMetadataTypeDef
def get_value() -> ReplicationConfigurationTemplateResponseMetadataTypeDef:
return {
"arn": ...,
"associateDefaultSecurityGroup": ...,
"autoReplicateNewDisks": ...,
"bandwidthThrottling": ...,
"createPublicIP": ...,
"dataPlaneRouting": ...,
"defaultLargeStagingDiskType": ...,
"ebsEncryption": ...,
"ebsEncryptionKeyArn": ...,
"pitPolicy": ...,
"replicationConfigurationTemplateID": ...,
"replicationServerInstanceType": ...,
"replicationServersSecurityGroupsIDs": ...,
"stagingAreaSubnetId": ...,
"stagingAreaTags": ...,
"tags": ...,
"useDedicatedReplicationServer": ...,
"ResponseMetadata": ...,
}
# ReplicationConfigurationTemplateResponseMetadataTypeDef definition
class ReplicationConfigurationTemplateResponseMetadataTypeDef(TypedDict):
arn: str,
associateDefaultSecurityGroup: bool,
autoReplicateNewDisks: bool,
bandwidthThrottling: int,
createPublicIP: bool,
dataPlaneRouting: ReplicationConfigurationDataPlaneRoutingType, # (1)
defaultLargeStagingDiskType: ReplicationConfigurationDefaultLargeStagingDiskTypeType, # (2)
ebsEncryption: ReplicationConfigurationEbsEncryptionType, # (3)
ebsEncryptionKeyArn: str,
pitPolicy: List[PITPolicyRuleTypeDef], # (4)
replicationConfigurationTemplateID: str,
replicationServerInstanceType: str,
replicationServersSecurityGroupsIDs: List[str],
stagingAreaSubnetId: str,
stagingAreaTags: Dict[str, str],
tags: Dict[str, str],
useDedicatedReplicationServer: bool,
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See ReplicationConfigurationDataPlaneRoutingType
- See ReplicationConfigurationDefaultLargeStagingDiskTypeType
- See ReplicationConfigurationEbsEncryptionType
- See PITPolicyRuleTypeDef
- See ResponseMetadataTypeDef
ReplicationConfigurationTemplateTypeDef#
# ReplicationConfigurationTemplateTypeDef usage example
from mypy_boto3_drs.type_defs import ReplicationConfigurationTemplateTypeDef
def get_value() -> ReplicationConfigurationTemplateTypeDef:
return {
"replicationConfigurationTemplateID": ...,
}
# ReplicationConfigurationTemplateTypeDef definition
class ReplicationConfigurationTemplateTypeDef(TypedDict):
replicationConfigurationTemplateID: str,
arn: NotRequired[str],
associateDefaultSecurityGroup: NotRequired[bool],
autoReplicateNewDisks: NotRequired[bool],
bandwidthThrottling: NotRequired[int],
createPublicIP: NotRequired[bool],
dataPlaneRouting: NotRequired[ReplicationConfigurationDataPlaneRoutingType], # (1)
defaultLargeStagingDiskType: NotRequired[ReplicationConfigurationDefaultLargeStagingDiskTypeType], # (2)
ebsEncryption: NotRequired[ReplicationConfigurationEbsEncryptionType], # (3)
ebsEncryptionKeyArn: NotRequired[str],
pitPolicy: NotRequired[List[PITPolicyRuleTypeDef]], # (4)
replicationServerInstanceType: NotRequired[str],
replicationServersSecurityGroupsIDs: NotRequired[List[str]],
stagingAreaSubnetId: NotRequired[str],
stagingAreaTags: NotRequired[Dict[str, str]],
tags: NotRequired[Dict[str, str]],
useDedicatedReplicationServer: NotRequired[bool],
- See ReplicationConfigurationDataPlaneRoutingType
- See ReplicationConfigurationDefaultLargeStagingDiskTypeType
- See ReplicationConfigurationEbsEncryptionType
- See PITPolicyRuleTypeDef
UpdateReplicationConfigurationTemplateRequestRequestTypeDef#
# UpdateReplicationConfigurationTemplateRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import UpdateReplicationConfigurationTemplateRequestRequestTypeDef
def get_value() -> UpdateReplicationConfigurationTemplateRequestRequestTypeDef:
return {
"replicationConfigurationTemplateID": ...,
}
# UpdateReplicationConfigurationTemplateRequestRequestTypeDef definition
class UpdateReplicationConfigurationTemplateRequestRequestTypeDef(TypedDict):
replicationConfigurationTemplateID: str,
arn: NotRequired[str],
associateDefaultSecurityGroup: NotRequired[bool],
autoReplicateNewDisks: NotRequired[bool],
bandwidthThrottling: NotRequired[int],
createPublicIP: NotRequired[bool],
dataPlaneRouting: NotRequired[ReplicationConfigurationDataPlaneRoutingType], # (1)
defaultLargeStagingDiskType: NotRequired[ReplicationConfigurationDefaultLargeStagingDiskTypeType], # (2)
ebsEncryption: NotRequired[ReplicationConfigurationEbsEncryptionType], # (3)
ebsEncryptionKeyArn: NotRequired[str],
pitPolicy: NotRequired[Sequence[PITPolicyRuleTypeDef]], # (4)
replicationServerInstanceType: NotRequired[str],
replicationServersSecurityGroupsIDs: NotRequired[Sequence[str]],
stagingAreaSubnetId: NotRequired[str],
stagingAreaTags: NotRequired[Mapping[str, str]],
useDedicatedReplicationServer: NotRequired[bool],
- See ReplicationConfigurationDataPlaneRoutingType
- See ReplicationConfigurationDefaultLargeStagingDiskTypeType
- See ReplicationConfigurationEbsEncryptionType
- See PITPolicyRuleTypeDef
DataReplicationInitiationTypeDef#
# DataReplicationInitiationTypeDef usage example
from mypy_boto3_drs.type_defs import DataReplicationInitiationTypeDef
def get_value() -> DataReplicationInitiationTypeDef:
return {
"nextAttemptDateTime": ...,
}
# DataReplicationInitiationTypeDef definition
class DataReplicationInitiationTypeDef(TypedDict):
nextAttemptDateTime: NotRequired[str],
startDateTime: NotRequired[str],
steps: NotRequired[List[DataReplicationInitiationStepTypeDef]], # (1)
DescribeJobsRequestDescribeJobsPaginateTypeDef#
# DescribeJobsRequestDescribeJobsPaginateTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeJobsRequestDescribeJobsPaginateTypeDef
def get_value() -> DescribeJobsRequestDescribeJobsPaginateTypeDef:
return {
"filters": ...,
}
# DescribeJobsRequestDescribeJobsPaginateTypeDef definition
class DescribeJobsRequestDescribeJobsPaginateTypeDef(TypedDict):
filters: NotRequired[DescribeJobsRequestFiltersTypeDef], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
DescribeJobsRequestRequestTypeDef#
# DescribeJobsRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeJobsRequestRequestTypeDef
def get_value() -> DescribeJobsRequestRequestTypeDef:
return {
"filters": ...,
}
# DescribeJobsRequestRequestTypeDef definition
class DescribeJobsRequestRequestTypeDef(TypedDict):
filters: NotRequired[DescribeJobsRequestFiltersTypeDef], # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
DescribeRecoveryInstancesRequestDescribeRecoveryInstancesPaginateTypeDef#
# DescribeRecoveryInstancesRequestDescribeRecoveryInstancesPaginateTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeRecoveryInstancesRequestDescribeRecoveryInstancesPaginateTypeDef
def get_value() -> DescribeRecoveryInstancesRequestDescribeRecoveryInstancesPaginateTypeDef:
return {
"filters": ...,
}
# DescribeRecoveryInstancesRequestDescribeRecoveryInstancesPaginateTypeDef definition
class DescribeRecoveryInstancesRequestDescribeRecoveryInstancesPaginateTypeDef(TypedDict):
filters: NotRequired[DescribeRecoveryInstancesRequestFiltersTypeDef], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
DescribeRecoveryInstancesRequestRequestTypeDef#
# DescribeRecoveryInstancesRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeRecoveryInstancesRequestRequestTypeDef
def get_value() -> DescribeRecoveryInstancesRequestRequestTypeDef:
return {
"filters": ...,
}
# DescribeRecoveryInstancesRequestRequestTypeDef definition
class DescribeRecoveryInstancesRequestRequestTypeDef(TypedDict):
filters: NotRequired[DescribeRecoveryInstancesRequestFiltersTypeDef], # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
DescribeRecoverySnapshotsRequestDescribeRecoverySnapshotsPaginateTypeDef#
# DescribeRecoverySnapshotsRequestDescribeRecoverySnapshotsPaginateTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeRecoverySnapshotsRequestDescribeRecoverySnapshotsPaginateTypeDef
def get_value() -> DescribeRecoverySnapshotsRequestDescribeRecoverySnapshotsPaginateTypeDef:
return {
"sourceServerID": ...,
}
# DescribeRecoverySnapshotsRequestDescribeRecoverySnapshotsPaginateTypeDef definition
class DescribeRecoverySnapshotsRequestDescribeRecoverySnapshotsPaginateTypeDef(TypedDict):
sourceServerID: str,
filters: NotRequired[DescribeRecoverySnapshotsRequestFiltersTypeDef], # (1)
order: NotRequired[RecoverySnapshotsOrderType], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
- See DescribeRecoverySnapshotsRequestFiltersTypeDef
- See RecoverySnapshotsOrderType
- See PaginatorConfigTypeDef
DescribeRecoverySnapshotsRequestRequestTypeDef#
# DescribeRecoverySnapshotsRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeRecoverySnapshotsRequestRequestTypeDef
def get_value() -> DescribeRecoverySnapshotsRequestRequestTypeDef:
return {
"sourceServerID": ...,
}
# DescribeRecoverySnapshotsRequestRequestTypeDef definition
class DescribeRecoverySnapshotsRequestRequestTypeDef(TypedDict):
sourceServerID: str,
filters: NotRequired[DescribeRecoverySnapshotsRequestFiltersTypeDef], # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
order: NotRequired[RecoverySnapshotsOrderType], # (2)
DescribeRecoverySnapshotsResponseTypeDef#
# DescribeRecoverySnapshotsResponseTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeRecoverySnapshotsResponseTypeDef
def get_value() -> DescribeRecoverySnapshotsResponseTypeDef:
return {
"items": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# DescribeRecoverySnapshotsResponseTypeDef definition
class DescribeRecoverySnapshotsResponseTypeDef(TypedDict):
items: List[RecoverySnapshotTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeSourceServersRequestDescribeSourceServersPaginateTypeDef#
# DescribeSourceServersRequestDescribeSourceServersPaginateTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeSourceServersRequestDescribeSourceServersPaginateTypeDef
def get_value() -> DescribeSourceServersRequestDescribeSourceServersPaginateTypeDef:
return {
"filters": ...,
}
# DescribeSourceServersRequestDescribeSourceServersPaginateTypeDef definition
class DescribeSourceServersRequestDescribeSourceServersPaginateTypeDef(TypedDict):
filters: NotRequired[DescribeSourceServersRequestFiltersTypeDef], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
DescribeSourceServersRequestRequestTypeDef#
# DescribeSourceServersRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeSourceServersRequestRequestTypeDef
def get_value() -> DescribeSourceServersRequestRequestTypeDef:
return {
"filters": ...,
}
# DescribeSourceServersRequestRequestTypeDef definition
class DescribeSourceServersRequestRequestTypeDef(TypedDict):
filters: NotRequired[DescribeSourceServersRequestFiltersTypeDef], # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
JobTypeDef#
# JobTypeDef usage example
from mypy_boto3_drs.type_defs import JobTypeDef
def get_value() -> JobTypeDef:
return {
"jobID": ...,
}
# JobTypeDef definition
class JobTypeDef(TypedDict):
jobID: str,
arn: NotRequired[str],
creationDateTime: NotRequired[str],
endDateTime: NotRequired[str],
initiatedBy: NotRequired[InitiatedByType], # (1)
participatingServers: NotRequired[List[ParticipatingServerTypeDef]], # (2)
status: NotRequired[JobStatusType], # (3)
tags: NotRequired[Dict[str, str]],
type: NotRequired[JobTypeType], # (4)
- See InitiatedByType
- See ParticipatingServerTypeDef
- See JobStatusType
- See JobTypeType
LifeCycleLastLaunchTypeDef#
# LifeCycleLastLaunchTypeDef usage example
from mypy_boto3_drs.type_defs import LifeCycleLastLaunchTypeDef
def get_value() -> LifeCycleLastLaunchTypeDef:
return {
"initiated": ...,
}
# LifeCycleLastLaunchTypeDef definition
class LifeCycleLastLaunchTypeDef(TypedDict):
initiated: NotRequired[LifeCycleLastLaunchInitiatedTypeDef], # (1)
status: NotRequired[LaunchStatusType], # (2)
ListExtensibleSourceServersResponseTypeDef#
# ListExtensibleSourceServersResponseTypeDef usage example
from mypy_boto3_drs.type_defs import ListExtensibleSourceServersResponseTypeDef
def get_value() -> ListExtensibleSourceServersResponseTypeDef:
return {
"items": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListExtensibleSourceServersResponseTypeDef definition
class ListExtensibleSourceServersResponseTypeDef(TypedDict):
items: List[StagingSourceServerTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
SourcePropertiesTypeDef#
# SourcePropertiesTypeDef usage example
from mypy_boto3_drs.type_defs import SourcePropertiesTypeDef
def get_value() -> SourcePropertiesTypeDef:
return {
"cpus": ...,
}
# SourcePropertiesTypeDef definition
class SourcePropertiesTypeDef(TypedDict):
cpus: NotRequired[List[CPUTypeDef]], # (1)
disks: NotRequired[List[DiskTypeDef]], # (2)
identificationHints: NotRequired[IdentificationHintsTypeDef], # (3)
lastUpdatedDateTime: NotRequired[str],
networkInterfaces: NotRequired[List[NetworkInterfaceTypeDef]], # (4)
os: NotRequired[OSTypeDef], # (5)
ramBytes: NotRequired[int],
recommendedInstanceType: NotRequired[str],
supportsNitroInstances: NotRequired[bool],
- See CPUTypeDef
- See DiskTypeDef
- See IdentificationHintsTypeDef
- See NetworkInterfaceTypeDef
- See OSTypeDef
RecoveryInstanceDataReplicationInitiationTypeDef#
# RecoveryInstanceDataReplicationInitiationTypeDef usage example
from mypy_boto3_drs.type_defs import RecoveryInstanceDataReplicationInitiationTypeDef
def get_value() -> RecoveryInstanceDataReplicationInitiationTypeDef:
return {
"startDateTime": ...,
}
# RecoveryInstanceDataReplicationInitiationTypeDef definition
class RecoveryInstanceDataReplicationInitiationTypeDef(TypedDict):
startDateTime: NotRequired[str],
steps: NotRequired[List[RecoveryInstanceDataReplicationInitiationStepTypeDef]], # (1)
RecoveryInstancePropertiesTypeDef#
# RecoveryInstancePropertiesTypeDef usage example
from mypy_boto3_drs.type_defs import RecoveryInstancePropertiesTypeDef
def get_value() -> RecoveryInstancePropertiesTypeDef:
return {
"cpus": ...,
}
# RecoveryInstancePropertiesTypeDef definition
class RecoveryInstancePropertiesTypeDef(TypedDict):
cpus: NotRequired[List[CPUTypeDef]], # (1)
disks: NotRequired[List[RecoveryInstanceDiskTypeDef]], # (2)
identificationHints: NotRequired[IdentificationHintsTypeDef], # (3)
lastUpdatedDateTime: NotRequired[str],
networkInterfaces: NotRequired[List[NetworkInterfaceTypeDef]], # (4)
os: NotRequired[OSTypeDef], # (5)
ramBytes: NotRequired[int],
- See CPUTypeDef
- See RecoveryInstanceDiskTypeDef
- See IdentificationHintsTypeDef
- See NetworkInterfaceTypeDef
- See OSTypeDef
ReplicationConfigurationTypeDef#
# ReplicationConfigurationTypeDef usage example
from mypy_boto3_drs.type_defs import ReplicationConfigurationTypeDef
def get_value() -> ReplicationConfigurationTypeDef:
return {
"associateDefaultSecurityGroup": ...,
"autoReplicateNewDisks": ...,
"bandwidthThrottling": ...,
"createPublicIP": ...,
"dataPlaneRouting": ...,
"defaultLargeStagingDiskType": ...,
"ebsEncryption": ...,
"ebsEncryptionKeyArn": ...,
"name": ...,
"pitPolicy": ...,
"replicatedDisks": ...,
"replicationServerInstanceType": ...,
"replicationServersSecurityGroupsIDs": ...,
"sourceServerID": ...,
"stagingAreaSubnetId": ...,
"stagingAreaTags": ...,
"useDedicatedReplicationServer": ...,
"ResponseMetadata": ...,
}
# ReplicationConfigurationTypeDef definition
class ReplicationConfigurationTypeDef(TypedDict):
associateDefaultSecurityGroup: bool,
autoReplicateNewDisks: bool,
bandwidthThrottling: int,
createPublicIP: bool,
dataPlaneRouting: ReplicationConfigurationDataPlaneRoutingType, # (1)
defaultLargeStagingDiskType: ReplicationConfigurationDefaultLargeStagingDiskTypeType, # (2)
ebsEncryption: ReplicationConfigurationEbsEncryptionType, # (3)
ebsEncryptionKeyArn: str,
name: str,
pitPolicy: List[PITPolicyRuleTypeDef], # (4)
replicatedDisks: List[ReplicationConfigurationReplicatedDiskTypeDef], # (5)
replicationServerInstanceType: str,
replicationServersSecurityGroupsIDs: List[str],
sourceServerID: str,
stagingAreaSubnetId: str,
stagingAreaTags: Dict[str, str],
useDedicatedReplicationServer: bool,
ResponseMetadata: ResponseMetadataTypeDef, # (6)
- See ReplicationConfigurationDataPlaneRoutingType
- See ReplicationConfigurationDefaultLargeStagingDiskTypeType
- See ReplicationConfigurationEbsEncryptionType
- See PITPolicyRuleTypeDef
- See ReplicationConfigurationReplicatedDiskTypeDef
- See ResponseMetadataTypeDef
UpdateReplicationConfigurationRequestRequestTypeDef#
# UpdateReplicationConfigurationRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import UpdateReplicationConfigurationRequestRequestTypeDef
def get_value() -> UpdateReplicationConfigurationRequestRequestTypeDef:
return {
"sourceServerID": ...,
}
# UpdateReplicationConfigurationRequestRequestTypeDef definition
class UpdateReplicationConfigurationRequestRequestTypeDef(TypedDict):
sourceServerID: str,
associateDefaultSecurityGroup: NotRequired[bool],
autoReplicateNewDisks: NotRequired[bool],
bandwidthThrottling: NotRequired[int],
createPublicIP: NotRequired[bool],
dataPlaneRouting: NotRequired[ReplicationConfigurationDataPlaneRoutingType], # (1)
defaultLargeStagingDiskType: NotRequired[ReplicationConfigurationDefaultLargeStagingDiskTypeType], # (2)
ebsEncryption: NotRequired[ReplicationConfigurationEbsEncryptionType], # (3)
ebsEncryptionKeyArn: NotRequired[str],
name: NotRequired[str],
pitPolicy: NotRequired[Sequence[PITPolicyRuleTypeDef]], # (4)
replicatedDisks: NotRequired[Sequence[ReplicationConfigurationReplicatedDiskTypeDef]], # (5)
replicationServerInstanceType: NotRequired[str],
replicationServersSecurityGroupsIDs: NotRequired[Sequence[str]],
stagingAreaSubnetId: NotRequired[str],
stagingAreaTags: NotRequired[Mapping[str, str]],
useDedicatedReplicationServer: NotRequired[bool],
- See ReplicationConfigurationDataPlaneRoutingType
- See ReplicationConfigurationDefaultLargeStagingDiskTypeType
- See ReplicationConfigurationEbsEncryptionType
- See PITPolicyRuleTypeDef
- See ReplicationConfigurationReplicatedDiskTypeDef
StartRecoveryRequestRequestTypeDef#
# StartRecoveryRequestRequestTypeDef usage example
from mypy_boto3_drs.type_defs import StartRecoveryRequestRequestTypeDef
def get_value() -> StartRecoveryRequestRequestTypeDef:
return {
"sourceServers": ...,
}
# StartRecoveryRequestRequestTypeDef definition
class StartRecoveryRequestRequestTypeDef(TypedDict):
sourceServers: Sequence[StartRecoveryRequestSourceServerTypeDef], # (1)
isDrill: NotRequired[bool],
tags: NotRequired[Mapping[str, str]],
JobLogTypeDef#
# JobLogTypeDef usage example
from mypy_boto3_drs.type_defs import JobLogTypeDef
def get_value() -> JobLogTypeDef:
return {
"event": ...,
}
# JobLogTypeDef definition
class JobLogTypeDef(TypedDict):
event: NotRequired[JobLogEventType], # (1)
eventData: NotRequired[JobLogEventDataTypeDef], # (2)
logDateTime: NotRequired[str],
CreateLaunchConfigurationTemplateResponseTypeDef#
# CreateLaunchConfigurationTemplateResponseTypeDef usage example
from mypy_boto3_drs.type_defs import CreateLaunchConfigurationTemplateResponseTypeDef
def get_value() -> CreateLaunchConfigurationTemplateResponseTypeDef:
return {
"launchConfigurationTemplate": ...,
"ResponseMetadata": ...,
}
# CreateLaunchConfigurationTemplateResponseTypeDef definition
class CreateLaunchConfigurationTemplateResponseTypeDef(TypedDict):
launchConfigurationTemplate: LaunchConfigurationTemplateTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeLaunchConfigurationTemplatesResponseTypeDef#
# DescribeLaunchConfigurationTemplatesResponseTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeLaunchConfigurationTemplatesResponseTypeDef
def get_value() -> DescribeLaunchConfigurationTemplatesResponseTypeDef:
return {
"items": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# DescribeLaunchConfigurationTemplatesResponseTypeDef definition
class DescribeLaunchConfigurationTemplatesResponseTypeDef(TypedDict):
items: List[LaunchConfigurationTemplateTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateLaunchConfigurationTemplateResponseTypeDef#
# UpdateLaunchConfigurationTemplateResponseTypeDef usage example
from mypy_boto3_drs.type_defs import UpdateLaunchConfigurationTemplateResponseTypeDef
def get_value() -> UpdateLaunchConfigurationTemplateResponseTypeDef:
return {
"launchConfigurationTemplate": ...,
"ResponseMetadata": ...,
}
# UpdateLaunchConfigurationTemplateResponseTypeDef definition
class UpdateLaunchConfigurationTemplateResponseTypeDef(TypedDict):
launchConfigurationTemplate: LaunchConfigurationTemplateTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeReplicationConfigurationTemplatesResponseTypeDef#
# DescribeReplicationConfigurationTemplatesResponseTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeReplicationConfigurationTemplatesResponseTypeDef
def get_value() -> DescribeReplicationConfigurationTemplatesResponseTypeDef:
return {
"items": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# DescribeReplicationConfigurationTemplatesResponseTypeDef definition
class DescribeReplicationConfigurationTemplatesResponseTypeDef(TypedDict):
items: List[ReplicationConfigurationTemplateTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DataReplicationInfoTypeDef#
# DataReplicationInfoTypeDef usage example
from mypy_boto3_drs.type_defs import DataReplicationInfoTypeDef
def get_value() -> DataReplicationInfoTypeDef:
return {
"dataReplicationError": ...,
}
# DataReplicationInfoTypeDef definition
class DataReplicationInfoTypeDef(TypedDict):
dataReplicationError: NotRequired[DataReplicationErrorTypeDef], # (1)
dataReplicationInitiation: NotRequired[DataReplicationInitiationTypeDef], # (2)
dataReplicationState: NotRequired[DataReplicationStateType], # (3)
etaDateTime: NotRequired[str],
lagDuration: NotRequired[str],
replicatedDisks: NotRequired[List[DataReplicationInfoReplicatedDiskTypeDef]], # (4)
stagingAvailabilityZone: NotRequired[str],
- See DataReplicationErrorTypeDef
- See DataReplicationInitiationTypeDef
- See DataReplicationStateType
- See DataReplicationInfoReplicatedDiskTypeDef
DescribeJobsResponseTypeDef#
# DescribeJobsResponseTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeJobsResponseTypeDef
def get_value() -> DescribeJobsResponseTypeDef:
return {
"items": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# DescribeJobsResponseTypeDef definition
class DescribeJobsResponseTypeDef(TypedDict):
items: List[JobTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See JobTypeDef
- See ResponseMetadataTypeDef
StartFailbackLaunchResponseTypeDef#
# StartFailbackLaunchResponseTypeDef usage example
from mypy_boto3_drs.type_defs import StartFailbackLaunchResponseTypeDef
def get_value() -> StartFailbackLaunchResponseTypeDef:
return {
"job": ...,
"ResponseMetadata": ...,
}
# StartFailbackLaunchResponseTypeDef definition
class StartFailbackLaunchResponseTypeDef(TypedDict):
job: JobTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See JobTypeDef
- See ResponseMetadataTypeDef
StartRecoveryResponseTypeDef#
# StartRecoveryResponseTypeDef usage example
from mypy_boto3_drs.type_defs import StartRecoveryResponseTypeDef
def get_value() -> StartRecoveryResponseTypeDef:
return {
"job": ...,
"ResponseMetadata": ...,
}
# StartRecoveryResponseTypeDef definition
class StartRecoveryResponseTypeDef(TypedDict):
job: JobTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See JobTypeDef
- See ResponseMetadataTypeDef
TerminateRecoveryInstancesResponseTypeDef#
# TerminateRecoveryInstancesResponseTypeDef usage example
from mypy_boto3_drs.type_defs import TerminateRecoveryInstancesResponseTypeDef
def get_value() -> TerminateRecoveryInstancesResponseTypeDef:
return {
"job": ...,
"ResponseMetadata": ...,
}
# TerminateRecoveryInstancesResponseTypeDef definition
class TerminateRecoveryInstancesResponseTypeDef(TypedDict):
job: JobTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See JobTypeDef
- See ResponseMetadataTypeDef
LifeCycleTypeDef#
# LifeCycleTypeDef usage example
from mypy_boto3_drs.type_defs import LifeCycleTypeDef
def get_value() -> LifeCycleTypeDef:
return {
"addedToServiceDateTime": ...,
}
# LifeCycleTypeDef definition
class LifeCycleTypeDef(TypedDict):
addedToServiceDateTime: NotRequired[str],
elapsedReplicationDuration: NotRequired[str],
firstByteDateTime: NotRequired[str],
lastLaunch: NotRequired[LifeCycleLastLaunchTypeDef], # (1)
lastSeenByServiceDateTime: NotRequired[str],
RecoveryInstanceDataReplicationInfoTypeDef#
# RecoveryInstanceDataReplicationInfoTypeDef usage example
from mypy_boto3_drs.type_defs import RecoveryInstanceDataReplicationInfoTypeDef
def get_value() -> RecoveryInstanceDataReplicationInfoTypeDef:
return {
"dataReplicationError": ...,
}
# RecoveryInstanceDataReplicationInfoTypeDef definition
class RecoveryInstanceDataReplicationInfoTypeDef(TypedDict):
dataReplicationError: NotRequired[RecoveryInstanceDataReplicationErrorTypeDef], # (1)
dataReplicationInitiation: NotRequired[RecoveryInstanceDataReplicationInitiationTypeDef], # (2)
dataReplicationState: NotRequired[RecoveryInstanceDataReplicationStateType], # (3)
etaDateTime: NotRequired[str],
lagDuration: NotRequired[str],
replicatedDisks: NotRequired[List[RecoveryInstanceDataReplicationInfoReplicatedDiskTypeDef]], # (4)
stagingAvailabilityZone: NotRequired[str],
- See RecoveryInstanceDataReplicationErrorTypeDef
- See RecoveryInstanceDataReplicationInitiationTypeDef
- See RecoveryInstanceDataReplicationStateType
- See RecoveryInstanceDataReplicationInfoReplicatedDiskTypeDef
DescribeJobLogItemsResponseTypeDef#
# DescribeJobLogItemsResponseTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeJobLogItemsResponseTypeDef
def get_value() -> DescribeJobLogItemsResponseTypeDef:
return {
"items": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# DescribeJobLogItemsResponseTypeDef definition
class DescribeJobLogItemsResponseTypeDef(TypedDict):
items: List[JobLogTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See JobLogTypeDef
- See ResponseMetadataTypeDef
SourceServerResponseMetadataTypeDef#
# SourceServerResponseMetadataTypeDef usage example
from mypy_boto3_drs.type_defs import SourceServerResponseMetadataTypeDef
def get_value() -> SourceServerResponseMetadataTypeDef:
return {
"arn": ...,
"dataReplicationInfo": ...,
"lastLaunchResult": ...,
"lifeCycle": ...,
"recoveryInstanceId": ...,
"replicationDirection": ...,
"reversedDirectionSourceServerArn": ...,
"sourceCloudProperties": ...,
"sourceProperties": ...,
"sourceServerID": ...,
"stagingArea": ...,
"tags": ...,
"ResponseMetadata": ...,
}
# SourceServerResponseMetadataTypeDef definition
class SourceServerResponseMetadataTypeDef(TypedDict):
arn: str,
dataReplicationInfo: DataReplicationInfoTypeDef, # (1)
lastLaunchResult: LastLaunchResultType, # (2)
lifeCycle: LifeCycleTypeDef, # (3)
recoveryInstanceId: str,
replicationDirection: ReplicationDirectionType, # (4)
reversedDirectionSourceServerArn: str,
sourceCloudProperties: SourceCloudPropertiesTypeDef, # (5)
sourceProperties: SourcePropertiesTypeDef, # (6)
sourceServerID: str,
stagingArea: StagingAreaTypeDef, # (7)
tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (8)
- See DataReplicationInfoTypeDef
- See LastLaunchResultType
- See LifeCycleTypeDef
- See ReplicationDirectionType
- See SourceCloudPropertiesTypeDef
- See SourcePropertiesTypeDef
- See StagingAreaTypeDef
- See ResponseMetadataTypeDef
SourceServerTypeDef#
# SourceServerTypeDef usage example
from mypy_boto3_drs.type_defs import SourceServerTypeDef
def get_value() -> SourceServerTypeDef:
return {
"arn": ...,
}
# SourceServerTypeDef definition
class SourceServerTypeDef(TypedDict):
arn: NotRequired[str],
dataReplicationInfo: NotRequired[DataReplicationInfoTypeDef], # (1)
lastLaunchResult: NotRequired[LastLaunchResultType], # (2)
lifeCycle: NotRequired[LifeCycleTypeDef], # (3)
recoveryInstanceId: NotRequired[str],
replicationDirection: NotRequired[ReplicationDirectionType], # (4)
reversedDirectionSourceServerArn: NotRequired[str],
sourceCloudProperties: NotRequired[SourceCloudPropertiesTypeDef], # (5)
sourceProperties: NotRequired[SourcePropertiesTypeDef], # (6)
sourceServerID: NotRequired[str],
stagingArea: NotRequired[StagingAreaTypeDef], # (7)
tags: NotRequired[Dict[str, str]],
- See DataReplicationInfoTypeDef
- See LastLaunchResultType
- See LifeCycleTypeDef
- See ReplicationDirectionType
- See SourceCloudPropertiesTypeDef
- See SourcePropertiesTypeDef
- See StagingAreaTypeDef
RecoveryInstanceTypeDef#
# RecoveryInstanceTypeDef usage example
from mypy_boto3_drs.type_defs import RecoveryInstanceTypeDef
def get_value() -> RecoveryInstanceTypeDef:
return {
"arn": ...,
}
# RecoveryInstanceTypeDef definition
class RecoveryInstanceTypeDef(TypedDict):
arn: NotRequired[str],
dataReplicationInfo: NotRequired[RecoveryInstanceDataReplicationInfoTypeDef], # (1)
ec2InstanceID: NotRequired[str],
ec2InstanceState: NotRequired[EC2InstanceStateType], # (2)
failback: NotRequired[RecoveryInstanceFailbackTypeDef], # (3)
isDrill: NotRequired[bool],
jobID: NotRequired[str],
originAvailabilityZone: NotRequired[str],
originEnvironment: NotRequired[OriginEnvironmentType], # (4)
pointInTimeSnapshotDateTime: NotRequired[str],
recoveryInstanceID: NotRequired[str],
recoveryInstanceProperties: NotRequired[RecoveryInstancePropertiesTypeDef], # (5)
sourceServerID: NotRequired[str],
tags: NotRequired[Dict[str, str]],
- See RecoveryInstanceDataReplicationInfoTypeDef
- See EC2InstanceStateType
- See RecoveryInstanceFailbackTypeDef
- See OriginEnvironmentType
- See RecoveryInstancePropertiesTypeDef
CreateExtendedSourceServerResponseTypeDef#
# CreateExtendedSourceServerResponseTypeDef usage example
from mypy_boto3_drs.type_defs import CreateExtendedSourceServerResponseTypeDef
def get_value() -> CreateExtendedSourceServerResponseTypeDef:
return {
"sourceServer": ...,
"ResponseMetadata": ...,
}
# CreateExtendedSourceServerResponseTypeDef definition
class CreateExtendedSourceServerResponseTypeDef(TypedDict):
sourceServer: SourceServerTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeSourceServersResponseTypeDef#
# DescribeSourceServersResponseTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeSourceServersResponseTypeDef
def get_value() -> DescribeSourceServersResponseTypeDef:
return {
"items": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# DescribeSourceServersResponseTypeDef definition
class DescribeSourceServersResponseTypeDef(TypedDict):
items: List[SourceServerTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
StartReplicationResponseTypeDef#
# StartReplicationResponseTypeDef usage example
from mypy_boto3_drs.type_defs import StartReplicationResponseTypeDef
def get_value() -> StartReplicationResponseTypeDef:
return {
"sourceServer": ...,
"ResponseMetadata": ...,
}
# StartReplicationResponseTypeDef definition
class StartReplicationResponseTypeDef(TypedDict):
sourceServer: SourceServerTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
StopReplicationResponseTypeDef#
# StopReplicationResponseTypeDef usage example
from mypy_boto3_drs.type_defs import StopReplicationResponseTypeDef
def get_value() -> StopReplicationResponseTypeDef:
return {
"sourceServer": ...,
"ResponseMetadata": ...,
}
# StopReplicationResponseTypeDef definition
class StopReplicationResponseTypeDef(TypedDict):
sourceServer: SourceServerTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeRecoveryInstancesResponseTypeDef#
# DescribeRecoveryInstancesResponseTypeDef usage example
from mypy_boto3_drs.type_defs import DescribeRecoveryInstancesResponseTypeDef
def get_value() -> DescribeRecoveryInstancesResponseTypeDef:
return {
"items": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# DescribeRecoveryInstancesResponseTypeDef definition
class DescribeRecoveryInstancesResponseTypeDef(TypedDict):
items: List[RecoveryInstanceTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)