Skip to content

Typed dictionaries

Index > DataSync > Typed dictionaries

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

AgentListEntryTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import AgentListEntryTypeDef

def get_value() -> AgentListEntryTypeDef:
    return {
        "AgentArn": ...,
    }
Definition
class AgentListEntryTypeDef(TypedDict):
    AgentArn: NotRequired[str],
    Name: NotRequired[str],
    Status: NotRequired[AgentStatusType],  # (1)
  1. See AgentStatusType

CancelTaskExecutionRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CancelTaskExecutionRequestRequestTypeDef

def get_value() -> CancelTaskExecutionRequestRequestTypeDef:
    return {
        "TaskExecutionArn": ...,
    }
Definition
class CancelTaskExecutionRequestRequestTypeDef(TypedDict):
    TaskExecutionArn: str,

TagListEntryTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import TagListEntryTypeDef

def get_value() -> TagListEntryTypeDef:
    return {
        "Key": ...,
    }
Definition
class TagListEntryTypeDef(TypedDict):
    Key: str,
    Value: NotRequired[str],

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

Ec2ConfigTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import Ec2ConfigTypeDef

def get_value() -> Ec2ConfigTypeDef:
    return {
        "SubnetArn": ...,
        "SecurityGroupArns": ...,
    }
Definition
class Ec2ConfigTypeDef(TypedDict):
    SubnetArn: str,
    SecurityGroupArns: Sequence[str],

HdfsNameNodeTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import HdfsNameNodeTypeDef

def get_value() -> HdfsNameNodeTypeDef:
    return {
        "Hostname": ...,
        "Port": ...,
    }
Definition
class HdfsNameNodeTypeDef(TypedDict):
    Hostname: str,
    Port: int,

QopConfigurationTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import QopConfigurationTypeDef

def get_value() -> QopConfigurationTypeDef:
    return {
        "RpcProtection": ...,
    }
Definition
class QopConfigurationTypeDef(TypedDict):
    RpcProtection: NotRequired[HdfsRpcProtectionType],  # (1)
    DataTransferProtection: NotRequired[HdfsDataTransferProtectionType],  # (2)
  1. See HdfsRpcProtectionType
  2. See HdfsDataTransferProtectionType

NfsMountOptionsTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import NfsMountOptionsTypeDef

def get_value() -> NfsMountOptionsTypeDef:
    return {
        "Version": ...,
    }
Definition
class NfsMountOptionsTypeDef(TypedDict):
    Version: NotRequired[NfsVersionType],  # (1)
  1. See NfsVersionType

OnPremConfigTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import OnPremConfigTypeDef

def get_value() -> OnPremConfigTypeDef:
    return {
        "AgentArns": ...,
    }
Definition
class OnPremConfigTypeDef(TypedDict):
    AgentArns: Sequence[str],

S3ConfigTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import S3ConfigTypeDef

def get_value() -> S3ConfigTypeDef:
    return {
        "BucketAccessRoleArn": ...,
    }
Definition
class S3ConfigTypeDef(TypedDict):
    BucketAccessRoleArn: str,

SmbMountOptionsTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import SmbMountOptionsTypeDef

def get_value() -> SmbMountOptionsTypeDef:
    return {
        "Version": ...,
    }
Definition
class SmbMountOptionsTypeDef(TypedDict):
    Version: NotRequired[SmbVersionType],  # (1)
  1. See SmbVersionType

FilterRuleTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import FilterRuleTypeDef

def get_value() -> FilterRuleTypeDef:
    return {
        "FilterType": ...,
    }
Definition
class FilterRuleTypeDef(TypedDict):
    FilterType: NotRequired[FilterTypeType],  # (1)
    Value: NotRequired[str],
  1. See FilterTypeType

OptionsTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import OptionsTypeDef

def get_value() -> OptionsTypeDef:
    return {
        "VerifyMode": ...,
    }
Definition
class OptionsTypeDef(TypedDict):
    VerifyMode: NotRequired[VerifyModeType],  # (1)
    OverwriteMode: NotRequired[OverwriteModeType],  # (2)
    Atime: NotRequired[AtimeType],  # (3)
    Mtime: NotRequired[MtimeType],  # (4)
    Uid: NotRequired[UidType],  # (5)
    Gid: NotRequired[GidType],  # (6)
    PreserveDeletedFiles: NotRequired[PreserveDeletedFilesType],  # (7)
    PreserveDevices: NotRequired[PreserveDevicesType],  # (8)
    PosixPermissions: NotRequired[PosixPermissionsType],  # (9)
    BytesPerSecond: NotRequired[int],
    TaskQueueing: NotRequired[TaskQueueingType],  # (10)
    LogLevel: NotRequired[LogLevelType],  # (11)
    TransferMode: NotRequired[TransferModeType],  # (12)
    SecurityDescriptorCopyFlags: NotRequired[SmbSecurityDescriptorCopyFlagsType],  # (13)
    ObjectTags: NotRequired[ObjectTagsType],  # (14)
  1. See VerifyModeType
  2. See OverwriteModeType
  3. See AtimeType
  4. See MtimeType
  5. See UidType
  6. See GidType
  7. See PreserveDeletedFilesType
  8. See PreserveDevicesType
  9. See PosixPermissionsType
  10. See TaskQueueingType
  11. See LogLevelType
  12. See TransferModeType
  13. See SmbSecurityDescriptorCopyFlagsType
  14. See ObjectTagsType

TaskScheduleTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import TaskScheduleTypeDef

def get_value() -> TaskScheduleTypeDef:
    return {
        "ScheduleExpression": ...,
    }
Definition
class TaskScheduleTypeDef(TypedDict):
    ScheduleExpression: str,

DeleteAgentRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DeleteAgentRequestRequestTypeDef

def get_value() -> DeleteAgentRequestRequestTypeDef:
    return {
        "AgentArn": ...,
    }
Definition
class DeleteAgentRequestRequestTypeDef(TypedDict):
    AgentArn: str,

DeleteLocationRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DeleteLocationRequestRequestTypeDef

def get_value() -> DeleteLocationRequestRequestTypeDef:
    return {
        "LocationArn": ...,
    }
Definition
class DeleteLocationRequestRequestTypeDef(TypedDict):
    LocationArn: str,

DeleteTaskRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DeleteTaskRequestRequestTypeDef

def get_value() -> DeleteTaskRequestRequestTypeDef:
    return {
        "TaskArn": ...,
    }
Definition
class DeleteTaskRequestRequestTypeDef(TypedDict):
    TaskArn: str,

DescribeAgentRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeAgentRequestRequestTypeDef

def get_value() -> DescribeAgentRequestRequestTypeDef:
    return {
        "AgentArn": ...,
    }
Definition
class DescribeAgentRequestRequestTypeDef(TypedDict):
    AgentArn: str,

PrivateLinkConfigTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import PrivateLinkConfigTypeDef

def get_value() -> PrivateLinkConfigTypeDef:
    return {
        "VpcEndpointId": ...,
    }
Definition
class PrivateLinkConfigTypeDef(TypedDict):
    VpcEndpointId: NotRequired[str],
    PrivateLinkEndpoint: NotRequired[str],
    SubnetArns: NotRequired[List[str]],
    SecurityGroupArns: NotRequired[List[str]],

DescribeLocationEfsRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationEfsRequestRequestTypeDef

def get_value() -> DescribeLocationEfsRequestRequestTypeDef:
    return {
        "LocationArn": ...,
    }
Definition
class DescribeLocationEfsRequestRequestTypeDef(TypedDict):
    LocationArn: str,

DescribeLocationFsxLustreRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationFsxLustreRequestRequestTypeDef

def get_value() -> DescribeLocationFsxLustreRequestRequestTypeDef:
    return {
        "LocationArn": ...,
    }
Definition
class DescribeLocationFsxLustreRequestRequestTypeDef(TypedDict):
    LocationArn: str,

DescribeLocationFsxOntapRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationFsxOntapRequestRequestTypeDef

def get_value() -> DescribeLocationFsxOntapRequestRequestTypeDef:
    return {
        "LocationArn": ...,
    }
Definition
class DescribeLocationFsxOntapRequestRequestTypeDef(TypedDict):
    LocationArn: str,

DescribeLocationFsxOpenZfsRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationFsxOpenZfsRequestRequestTypeDef

def get_value() -> DescribeLocationFsxOpenZfsRequestRequestTypeDef:
    return {
        "LocationArn": ...,
    }
Definition
class DescribeLocationFsxOpenZfsRequestRequestTypeDef(TypedDict):
    LocationArn: str,

DescribeLocationFsxWindowsRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationFsxWindowsRequestRequestTypeDef

def get_value() -> DescribeLocationFsxWindowsRequestRequestTypeDef:
    return {
        "LocationArn": ...,
    }
Definition
class DescribeLocationFsxWindowsRequestRequestTypeDef(TypedDict):
    LocationArn: str,

DescribeLocationHdfsRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationHdfsRequestRequestTypeDef

def get_value() -> DescribeLocationHdfsRequestRequestTypeDef:
    return {
        "LocationArn": ...,
    }
Definition
class DescribeLocationHdfsRequestRequestTypeDef(TypedDict):
    LocationArn: str,

DescribeLocationNfsRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationNfsRequestRequestTypeDef

def get_value() -> DescribeLocationNfsRequestRequestTypeDef:
    return {
        "LocationArn": ...,
    }
Definition
class DescribeLocationNfsRequestRequestTypeDef(TypedDict):
    LocationArn: str,

DescribeLocationObjectStorageRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationObjectStorageRequestRequestTypeDef

def get_value() -> DescribeLocationObjectStorageRequestRequestTypeDef:
    return {
        "LocationArn": ...,
    }
Definition
class DescribeLocationObjectStorageRequestRequestTypeDef(TypedDict):
    LocationArn: str,

DescribeLocationS3RequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationS3RequestRequestTypeDef

def get_value() -> DescribeLocationS3RequestRequestTypeDef:
    return {
        "LocationArn": ...,
    }
Definition
class DescribeLocationS3RequestRequestTypeDef(TypedDict):
    LocationArn: str,

DescribeLocationSmbRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationSmbRequestRequestTypeDef

def get_value() -> DescribeLocationSmbRequestRequestTypeDef:
    return {
        "LocationArn": ...,
    }
Definition
class DescribeLocationSmbRequestRequestTypeDef(TypedDict):
    LocationArn: str,

DescribeTaskExecutionRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeTaskExecutionRequestRequestTypeDef

def get_value() -> DescribeTaskExecutionRequestRequestTypeDef:
    return {
        "TaskExecutionArn": ...,
    }
Definition
class DescribeTaskExecutionRequestRequestTypeDef(TypedDict):
    TaskExecutionArn: str,

TaskExecutionResultDetailTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import TaskExecutionResultDetailTypeDef

def get_value() -> TaskExecutionResultDetailTypeDef:
    return {
        "PrepareDuration": ...,
    }
Definition
class TaskExecutionResultDetailTypeDef(TypedDict):
    PrepareDuration: NotRequired[int],
    PrepareStatus: NotRequired[PhaseStatusType],  # (1)
    TotalDuration: NotRequired[int],
    TransferDuration: NotRequired[int],
    TransferStatus: NotRequired[PhaseStatusType],  # (1)
    VerifyDuration: NotRequired[int],
    VerifyStatus: NotRequired[PhaseStatusType],  # (1)
    ErrorCode: NotRequired[str],
    ErrorDetail: NotRequired[str],
  1. See PhaseStatusType
  2. See PhaseStatusType
  3. See PhaseStatusType

DescribeTaskRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeTaskRequestRequestTypeDef

def get_value() -> DescribeTaskRequestRequestTypeDef:
    return {
        "TaskArn": ...,
    }
Definition
class DescribeTaskRequestRequestTypeDef(TypedDict):
    TaskArn: str,

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListAgentsRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import ListAgentsRequestRequestTypeDef

def get_value() -> ListAgentsRequestRequestTypeDef:
    return {
        "MaxResults": ...,
    }
Definition
class ListAgentsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

LocationFilterTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import LocationFilterTypeDef

def get_value() -> LocationFilterTypeDef:
    return {
        "Name": ...,
        "Values": ...,
        "Operator": ...,
    }
Definition
class LocationFilterTypeDef(TypedDict):
    Name: LocationFilterNameType,  # (1)
    Values: Sequence[str],
    Operator: OperatorType,  # (2)
  1. See LocationFilterNameType
  2. See OperatorType

LocationListEntryTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import LocationListEntryTypeDef

def get_value() -> LocationListEntryTypeDef:
    return {
        "LocationArn": ...,
    }
Definition
class LocationListEntryTypeDef(TypedDict):
    LocationArn: NotRequired[str],
    LocationUri: NotRequired[str],

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListTaskExecutionsRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import ListTaskExecutionsRequestRequestTypeDef

def get_value() -> ListTaskExecutionsRequestRequestTypeDef:
    return {
        "TaskArn": ...,
    }
Definition
class ListTaskExecutionsRequestRequestTypeDef(TypedDict):
    TaskArn: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

TaskExecutionListEntryTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import TaskExecutionListEntryTypeDef

def get_value() -> TaskExecutionListEntryTypeDef:
    return {
        "TaskExecutionArn": ...,
    }
Definition
class TaskExecutionListEntryTypeDef(TypedDict):
    TaskExecutionArn: NotRequired[str],
    Status: NotRequired[TaskExecutionStatusType],  # (1)
  1. See TaskExecutionStatusType

TaskFilterTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import TaskFilterTypeDef

def get_value() -> TaskFilterTypeDef:
    return {
        "Name": ...,
        "Values": ...,
        "Operator": ...,
    }
Definition
class TaskFilterTypeDef(TypedDict):
    Name: TaskFilterNameType,  # (1)
    Values: Sequence[str],
    Operator: OperatorType,  # (2)
  1. See TaskFilterNameType
  2. See OperatorType

TaskListEntryTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import TaskListEntryTypeDef

def get_value() -> TaskListEntryTypeDef:
    return {
        "TaskArn": ...,
    }
Definition
class TaskListEntryTypeDef(TypedDict):
    TaskArn: NotRequired[str],
    Status: NotRequired[TaskStatusType],  # (1)
    Name: NotRequired[str],
  1. See TaskStatusType

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "Keys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Keys: Sequence[str],

UpdateAgentRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import UpdateAgentRequestRequestTypeDef

def get_value() -> UpdateAgentRequestRequestTypeDef:
    return {
        "AgentArn": ...,
    }
Definition
class UpdateAgentRequestRequestTypeDef(TypedDict):
    AgentArn: str,
    Name: NotRequired[str],

UpdateLocationObjectStorageRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import UpdateLocationObjectStorageRequestRequestTypeDef

def get_value() -> UpdateLocationObjectStorageRequestRequestTypeDef:
    return {
        "LocationArn": ...,
    }
Definition
class UpdateLocationObjectStorageRequestRequestTypeDef(TypedDict):
    LocationArn: str,
    ServerPort: NotRequired[int],
    ServerProtocol: NotRequired[ObjectStorageServerProtocolType],  # (1)
    Subdirectory: NotRequired[str],
    AccessKey: NotRequired[str],
    SecretKey: NotRequired[str],
    AgentArns: NotRequired[Sequence[str]],
  1. See ObjectStorageServerProtocolType

CreateAgentRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateAgentRequestRequestTypeDef

def get_value() -> CreateAgentRequestRequestTypeDef:
    return {
        "ActivationKey": ...,
    }
Definition
class CreateAgentRequestRequestTypeDef(TypedDict):
    ActivationKey: str,
    AgentName: NotRequired[str],
    Tags: NotRequired[Sequence[TagListEntryTypeDef]],  # (1)
    VpcEndpointId: NotRequired[str],
    SubnetArns: NotRequired[Sequence[str]],
    SecurityGroupArns: NotRequired[Sequence[str]],
  1. See TagListEntryTypeDef

CreateLocationFsxLustreRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationFsxLustreRequestRequestTypeDef

def get_value() -> CreateLocationFsxLustreRequestRequestTypeDef:
    return {
        "FsxFilesystemArn": ...,
        "SecurityGroupArns": ...,
    }
Definition
class CreateLocationFsxLustreRequestRequestTypeDef(TypedDict):
    FsxFilesystemArn: str,
    SecurityGroupArns: Sequence[str],
    Subdirectory: NotRequired[str],
    Tags: NotRequired[Sequence[TagListEntryTypeDef]],  # (1)
  1. See TagListEntryTypeDef

CreateLocationFsxWindowsRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationFsxWindowsRequestRequestTypeDef

def get_value() -> CreateLocationFsxWindowsRequestRequestTypeDef:
    return {
        "FsxFilesystemArn": ...,
        "SecurityGroupArns": ...,
        "User": ...,
        "Password": ...,
    }
Definition
class CreateLocationFsxWindowsRequestRequestTypeDef(TypedDict):
    FsxFilesystemArn: str,
    SecurityGroupArns: Sequence[str],
    User: str,
    Password: str,
    Subdirectory: NotRequired[str],
    Tags: NotRequired[Sequence[TagListEntryTypeDef]],  # (1)
    Domain: NotRequired[str],
  1. See TagListEntryTypeDef

CreateLocationObjectStorageRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationObjectStorageRequestRequestTypeDef

def get_value() -> CreateLocationObjectStorageRequestRequestTypeDef:
    return {
        "ServerHostname": ...,
        "BucketName": ...,
        "AgentArns": ...,
    }
Definition
class CreateLocationObjectStorageRequestRequestTypeDef(TypedDict):
    ServerHostname: str,
    BucketName: str,
    AgentArns: Sequence[str],
    ServerPort: NotRequired[int],
    ServerProtocol: NotRequired[ObjectStorageServerProtocolType],  # (1)
    Subdirectory: NotRequired[str],
    AccessKey: NotRequired[str],
    SecretKey: NotRequired[str],
    Tags: NotRequired[Sequence[TagListEntryTypeDef]],  # (2)
  1. See ObjectStorageServerProtocolType
  2. See TagListEntryTypeDef

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "Tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Sequence[TagListEntryTypeDef],  # (1)
  1. See TagListEntryTypeDef

CreateAgentResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateAgentResponseTypeDef

def get_value() -> CreateAgentResponseTypeDef:
    return {
        "AgentArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateAgentResponseTypeDef(TypedDict):
    AgentArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateLocationEfsResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationEfsResponseTypeDef

def get_value() -> CreateLocationEfsResponseTypeDef:
    return {
        "LocationArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateLocationEfsResponseTypeDef(TypedDict):
    LocationArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateLocationFsxLustreResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationFsxLustreResponseTypeDef

def get_value() -> CreateLocationFsxLustreResponseTypeDef:
    return {
        "LocationArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateLocationFsxLustreResponseTypeDef(TypedDict):
    LocationArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateLocationFsxOntapResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationFsxOntapResponseTypeDef

def get_value() -> CreateLocationFsxOntapResponseTypeDef:
    return {
        "LocationArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateLocationFsxOntapResponseTypeDef(TypedDict):
    LocationArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateLocationFsxOpenZfsResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationFsxOpenZfsResponseTypeDef

def get_value() -> CreateLocationFsxOpenZfsResponseTypeDef:
    return {
        "LocationArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateLocationFsxOpenZfsResponseTypeDef(TypedDict):
    LocationArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateLocationFsxWindowsResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationFsxWindowsResponseTypeDef

def get_value() -> CreateLocationFsxWindowsResponseTypeDef:
    return {
        "LocationArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateLocationFsxWindowsResponseTypeDef(TypedDict):
    LocationArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateLocationHdfsResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationHdfsResponseTypeDef

def get_value() -> CreateLocationHdfsResponseTypeDef:
    return {
        "LocationArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateLocationHdfsResponseTypeDef(TypedDict):
    LocationArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateLocationNfsResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationNfsResponseTypeDef

def get_value() -> CreateLocationNfsResponseTypeDef:
    return {
        "LocationArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateLocationNfsResponseTypeDef(TypedDict):
    LocationArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateLocationObjectStorageResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationObjectStorageResponseTypeDef

def get_value() -> CreateLocationObjectStorageResponseTypeDef:
    return {
        "LocationArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateLocationObjectStorageResponseTypeDef(TypedDict):
    LocationArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateLocationS3ResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationS3ResponseTypeDef

def get_value() -> CreateLocationS3ResponseTypeDef:
    return {
        "LocationArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateLocationS3ResponseTypeDef(TypedDict):
    LocationArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateLocationSmbResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationSmbResponseTypeDef

def get_value() -> CreateLocationSmbResponseTypeDef:
    return {
        "LocationArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateLocationSmbResponseTypeDef(TypedDict):
    LocationArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateTaskResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateTaskResponseTypeDef

def get_value() -> CreateTaskResponseTypeDef:
    return {
        "TaskArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTaskResponseTypeDef(TypedDict):
    TaskArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeLocationFsxLustreResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationFsxLustreResponseTypeDef

def get_value() -> DescribeLocationFsxLustreResponseTypeDef:
    return {
        "LocationArn": ...,
        "LocationUri": ...,
        "SecurityGroupArns": ...,
        "CreationTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLocationFsxLustreResponseTypeDef(TypedDict):
    LocationArn: str,
    LocationUri: str,
    SecurityGroupArns: List[str],
    CreationTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeLocationFsxWindowsResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationFsxWindowsResponseTypeDef

def get_value() -> DescribeLocationFsxWindowsResponseTypeDef:
    return {
        "LocationArn": ...,
        "LocationUri": ...,
        "SecurityGroupArns": ...,
        "CreationTime": ...,
        "User": ...,
        "Domain": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLocationFsxWindowsResponseTypeDef(TypedDict):
    LocationArn: str,
    LocationUri: str,
    SecurityGroupArns: List[str],
    CreationTime: datetime,
    User: str,
    Domain: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeLocationObjectStorageResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationObjectStorageResponseTypeDef

def get_value() -> DescribeLocationObjectStorageResponseTypeDef:
    return {
        "LocationArn": ...,
        "LocationUri": ...,
        "AccessKey": ...,
        "ServerPort": ...,
        "ServerProtocol": ...,
        "AgentArns": ...,
        "CreationTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLocationObjectStorageResponseTypeDef(TypedDict):
    LocationArn: str,
    LocationUri: str,
    AccessKey: str,
    ServerPort: int,
    ServerProtocol: ObjectStorageServerProtocolType,  # (1)
    AgentArns: List[str],
    CreationTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ObjectStorageServerProtocolType
  2. See ResponseMetadataTypeDef

ListAgentsResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import ListAgentsResponseTypeDef

def get_value() -> ListAgentsResponseTypeDef:
    return {
        "Agents": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListAgentsResponseTypeDef(TypedDict):
    Agents: List[AgentListEntryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AgentListEntryTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "Tags": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: List[TagListEntryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagListEntryTypeDef
  2. See ResponseMetadataTypeDef

StartTaskExecutionResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import StartTaskExecutionResponseTypeDef

def get_value() -> StartTaskExecutionResponseTypeDef:
    return {
        "TaskExecutionArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartTaskExecutionResponseTypeDef(TypedDict):
    TaskExecutionArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateLocationEfsRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationEfsRequestRequestTypeDef

def get_value() -> CreateLocationEfsRequestRequestTypeDef:
    return {
        "EfsFilesystemArn": ...,
        "Ec2Config": ...,
    }
Definition
class CreateLocationEfsRequestRequestTypeDef(TypedDict):
    EfsFilesystemArn: str,
    Ec2Config: Ec2ConfigTypeDef,  # (1)
    Subdirectory: NotRequired[str],
    Tags: NotRequired[Sequence[TagListEntryTypeDef]],  # (2)
    AccessPointArn: NotRequired[str],
    FileSystemAccessRoleArn: NotRequired[str],
    InTransitEncryption: NotRequired[EfsInTransitEncryptionType],  # (3)
  1. See Ec2ConfigTypeDef
  2. See TagListEntryTypeDef
  3. See EfsInTransitEncryptionType

DescribeLocationEfsResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationEfsResponseTypeDef

def get_value() -> DescribeLocationEfsResponseTypeDef:
    return {
        "LocationArn": ...,
        "LocationUri": ...,
        "Ec2Config": ...,
        "CreationTime": ...,
        "AccessPointArn": ...,
        "FileSystemAccessRoleArn": ...,
        "InTransitEncryption": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLocationEfsResponseTypeDef(TypedDict):
    LocationArn: str,
    LocationUri: str,
    Ec2Config: Ec2ConfigTypeDef,  # (1)
    CreationTime: datetime,
    AccessPointArn: str,
    FileSystemAccessRoleArn: str,
    InTransitEncryption: EfsInTransitEncryptionType,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See Ec2ConfigTypeDef
  2. See EfsInTransitEncryptionType
  3. See ResponseMetadataTypeDef

CreateLocationHdfsRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationHdfsRequestRequestTypeDef

def get_value() -> CreateLocationHdfsRequestRequestTypeDef:
    return {
        "NameNodes": ...,
        "AuthenticationType": ...,
        "AgentArns": ...,
    }
Definition
class CreateLocationHdfsRequestRequestTypeDef(TypedDict):
    NameNodes: Sequence[HdfsNameNodeTypeDef],  # (1)
    AuthenticationType: HdfsAuthenticationTypeType,  # (2)
    AgentArns: Sequence[str],
    Subdirectory: NotRequired[str],
    BlockSize: NotRequired[int],
    ReplicationFactor: NotRequired[int],
    KmsKeyProviderUri: NotRequired[str],
    QopConfiguration: NotRequired[QopConfigurationTypeDef],  # (3)
    SimpleUser: NotRequired[str],
    KerberosPrincipal: NotRequired[str],
    KerberosKeytab: NotRequired[Union[str, bytes, IO[Any], StreamingBody]],
    KerberosKrb5Conf: NotRequired[Union[str, bytes, IO[Any], StreamingBody]],
    Tags: NotRequired[Sequence[TagListEntryTypeDef]],  # (4)
  1. See HdfsNameNodeTypeDef
  2. See HdfsAuthenticationTypeType
  3. See QopConfigurationTypeDef
  4. See TagListEntryTypeDef

DescribeLocationHdfsResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationHdfsResponseTypeDef

def get_value() -> DescribeLocationHdfsResponseTypeDef:
    return {
        "LocationArn": ...,
        "LocationUri": ...,
        "NameNodes": ...,
        "BlockSize": ...,
        "ReplicationFactor": ...,
        "KmsKeyProviderUri": ...,
        "QopConfiguration": ...,
        "AuthenticationType": ...,
        "SimpleUser": ...,
        "KerberosPrincipal": ...,
        "AgentArns": ...,
        "CreationTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLocationHdfsResponseTypeDef(TypedDict):
    LocationArn: str,
    LocationUri: str,
    NameNodes: List[HdfsNameNodeTypeDef],  # (1)
    BlockSize: int,
    ReplicationFactor: int,
    KmsKeyProviderUri: str,
    QopConfiguration: QopConfigurationTypeDef,  # (2)
    AuthenticationType: HdfsAuthenticationTypeType,  # (3)
    SimpleUser: str,
    KerberosPrincipal: str,
    AgentArns: List[str],
    CreationTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See HdfsNameNodeTypeDef
  2. See QopConfigurationTypeDef
  3. See HdfsAuthenticationTypeType
  4. See ResponseMetadataTypeDef

UpdateLocationHdfsRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import UpdateLocationHdfsRequestRequestTypeDef

def get_value() -> UpdateLocationHdfsRequestRequestTypeDef:
    return {
        "LocationArn": ...,
    }
Definition
class UpdateLocationHdfsRequestRequestTypeDef(TypedDict):
    LocationArn: str,
    Subdirectory: NotRequired[str],
    NameNodes: NotRequired[Sequence[HdfsNameNodeTypeDef]],  # (1)
    BlockSize: NotRequired[int],
    ReplicationFactor: NotRequired[int],
    KmsKeyProviderUri: NotRequired[str],
    QopConfiguration: NotRequired[QopConfigurationTypeDef],  # (2)
    AuthenticationType: NotRequired[HdfsAuthenticationTypeType],  # (3)
    SimpleUser: NotRequired[str],
    KerberosPrincipal: NotRequired[str],
    KerberosKeytab: NotRequired[Union[str, bytes, IO[Any], StreamingBody]],
    KerberosKrb5Conf: NotRequired[Union[str, bytes, IO[Any], StreamingBody]],
    AgentArns: NotRequired[Sequence[str]],
  1. See HdfsNameNodeTypeDef
  2. See QopConfigurationTypeDef
  3. See HdfsAuthenticationTypeType

FsxProtocolNfsTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import FsxProtocolNfsTypeDef

def get_value() -> FsxProtocolNfsTypeDef:
    return {
        "MountOptions": ...,
    }
Definition
class FsxProtocolNfsTypeDef(TypedDict):
    MountOptions: NotRequired[NfsMountOptionsTypeDef],  # (1)
  1. See NfsMountOptionsTypeDef

CreateLocationNfsRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationNfsRequestRequestTypeDef

def get_value() -> CreateLocationNfsRequestRequestTypeDef:
    return {
        "Subdirectory": ...,
        "ServerHostname": ...,
        "OnPremConfig": ...,
    }
Definition
class CreateLocationNfsRequestRequestTypeDef(TypedDict):
    Subdirectory: str,
    ServerHostname: str,
    OnPremConfig: OnPremConfigTypeDef,  # (1)
    MountOptions: NotRequired[NfsMountOptionsTypeDef],  # (2)
    Tags: NotRequired[Sequence[TagListEntryTypeDef]],  # (3)
  1. See OnPremConfigTypeDef
  2. See NfsMountOptionsTypeDef
  3. See TagListEntryTypeDef

DescribeLocationNfsResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationNfsResponseTypeDef

def get_value() -> DescribeLocationNfsResponseTypeDef:
    return {
        "LocationArn": ...,
        "LocationUri": ...,
        "OnPremConfig": ...,
        "MountOptions": ...,
        "CreationTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLocationNfsResponseTypeDef(TypedDict):
    LocationArn: str,
    LocationUri: str,
    OnPremConfig: OnPremConfigTypeDef,  # (1)
    MountOptions: NfsMountOptionsTypeDef,  # (2)
    CreationTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See OnPremConfigTypeDef
  2. See NfsMountOptionsTypeDef
  3. See ResponseMetadataTypeDef

UpdateLocationNfsRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import UpdateLocationNfsRequestRequestTypeDef

def get_value() -> UpdateLocationNfsRequestRequestTypeDef:
    return {
        "LocationArn": ...,
    }
Definition
class UpdateLocationNfsRequestRequestTypeDef(TypedDict):
    LocationArn: str,
    Subdirectory: NotRequired[str],
    OnPremConfig: NotRequired[OnPremConfigTypeDef],  # (1)
    MountOptions: NotRequired[NfsMountOptionsTypeDef],  # (2)
  1. See OnPremConfigTypeDef
  2. See NfsMountOptionsTypeDef

CreateLocationS3RequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationS3RequestRequestTypeDef

def get_value() -> CreateLocationS3RequestRequestTypeDef:
    return {
        "S3BucketArn": ...,
        "S3Config": ...,
    }
Definition
class CreateLocationS3RequestRequestTypeDef(TypedDict):
    S3BucketArn: str,
    S3Config: S3ConfigTypeDef,  # (1)
    Subdirectory: NotRequired[str],
    S3StorageClass: NotRequired[S3StorageClassType],  # (2)
    AgentArns: NotRequired[Sequence[str]],
    Tags: NotRequired[Sequence[TagListEntryTypeDef]],  # (3)
  1. See S3ConfigTypeDef
  2. See S3StorageClassType
  3. See TagListEntryTypeDef

DescribeLocationS3ResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationS3ResponseTypeDef

def get_value() -> DescribeLocationS3ResponseTypeDef:
    return {
        "LocationArn": ...,
        "LocationUri": ...,
        "S3StorageClass": ...,
        "S3Config": ...,
        "AgentArns": ...,
        "CreationTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLocationS3ResponseTypeDef(TypedDict):
    LocationArn: str,
    LocationUri: str,
    S3StorageClass: S3StorageClassType,  # (1)
    S3Config: S3ConfigTypeDef,  # (2)
    AgentArns: List[str],
    CreationTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See S3StorageClassType
  2. See S3ConfigTypeDef
  3. See ResponseMetadataTypeDef

CreateLocationSmbRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationSmbRequestRequestTypeDef

def get_value() -> CreateLocationSmbRequestRequestTypeDef:
    return {
        "Subdirectory": ...,
        "ServerHostname": ...,
        "User": ...,
        "Password": ...,
        "AgentArns": ...,
    }
Definition
class CreateLocationSmbRequestRequestTypeDef(TypedDict):
    Subdirectory: str,
    ServerHostname: str,
    User: str,
    Password: str,
    AgentArns: Sequence[str],
    Domain: NotRequired[str],
    MountOptions: NotRequired[SmbMountOptionsTypeDef],  # (1)
    Tags: NotRequired[Sequence[TagListEntryTypeDef]],  # (2)
  1. See SmbMountOptionsTypeDef
  2. See TagListEntryTypeDef

DescribeLocationSmbResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationSmbResponseTypeDef

def get_value() -> DescribeLocationSmbResponseTypeDef:
    return {
        "LocationArn": ...,
        "LocationUri": ...,
        "AgentArns": ...,
        "User": ...,
        "Domain": ...,
        "MountOptions": ...,
        "CreationTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLocationSmbResponseTypeDef(TypedDict):
    LocationArn: str,
    LocationUri: str,
    AgentArns: List[str],
    User: str,
    Domain: str,
    MountOptions: SmbMountOptionsTypeDef,  # (1)
    CreationTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SmbMountOptionsTypeDef
  2. See ResponseMetadataTypeDef

FsxProtocolSmbTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import FsxProtocolSmbTypeDef

def get_value() -> FsxProtocolSmbTypeDef:
    return {
        "Password": ...,
        "User": ...,
    }
Definition
class FsxProtocolSmbTypeDef(TypedDict):
    Password: str,
    User: str,
    Domain: NotRequired[str],
    MountOptions: NotRequired[SmbMountOptionsTypeDef],  # (1)
  1. See SmbMountOptionsTypeDef

UpdateLocationSmbRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import UpdateLocationSmbRequestRequestTypeDef

def get_value() -> UpdateLocationSmbRequestRequestTypeDef:
    return {
        "LocationArn": ...,
    }
Definition
class UpdateLocationSmbRequestRequestTypeDef(TypedDict):
    LocationArn: str,
    Subdirectory: NotRequired[str],
    User: NotRequired[str],
    Domain: NotRequired[str],
    Password: NotRequired[str],
    AgentArns: NotRequired[Sequence[str]],
    MountOptions: NotRequired[SmbMountOptionsTypeDef],  # (1)
  1. See SmbMountOptionsTypeDef

StartTaskExecutionRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import StartTaskExecutionRequestRequestTypeDef

def get_value() -> StartTaskExecutionRequestRequestTypeDef:
    return {
        "TaskArn": ...,
    }
Definition
class StartTaskExecutionRequestRequestTypeDef(TypedDict):
    TaskArn: str,
    OverrideOptions: NotRequired[OptionsTypeDef],  # (1)
    Includes: NotRequired[Sequence[FilterRuleTypeDef]],  # (2)
    Excludes: NotRequired[Sequence[FilterRuleTypeDef]],  # (2)
  1. See OptionsTypeDef
  2. See FilterRuleTypeDef
  3. See FilterRuleTypeDef

UpdateTaskExecutionRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import UpdateTaskExecutionRequestRequestTypeDef

def get_value() -> UpdateTaskExecutionRequestRequestTypeDef:
    return {
        "TaskExecutionArn": ...,
        "Options": ...,
    }
Definition
class UpdateTaskExecutionRequestRequestTypeDef(TypedDict):
    TaskExecutionArn: str,
    Options: OptionsTypeDef,  # (1)
  1. See OptionsTypeDef

CreateTaskRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateTaskRequestRequestTypeDef

def get_value() -> CreateTaskRequestRequestTypeDef:
    return {
        "SourceLocationArn": ...,
        "DestinationLocationArn": ...,
    }
Definition
class CreateTaskRequestRequestTypeDef(TypedDict):
    SourceLocationArn: str,
    DestinationLocationArn: str,
    CloudWatchLogGroupArn: NotRequired[str],
    Name: NotRequired[str],
    Options: NotRequired[OptionsTypeDef],  # (1)
    Excludes: NotRequired[Sequence[FilterRuleTypeDef]],  # (2)
    Schedule: NotRequired[TaskScheduleTypeDef],  # (3)
    Tags: NotRequired[Sequence[TagListEntryTypeDef]],  # (4)
    Includes: NotRequired[Sequence[FilterRuleTypeDef]],  # (2)
  1. See OptionsTypeDef
  2. See FilterRuleTypeDef
  3. See TaskScheduleTypeDef
  4. See TagListEntryTypeDef
  5. See FilterRuleTypeDef

DescribeTaskResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeTaskResponseTypeDef

def get_value() -> DescribeTaskResponseTypeDef:
    return {
        "TaskArn": ...,
        "Status": ...,
        "Name": ...,
        "CurrentTaskExecutionArn": ...,
        "SourceLocationArn": ...,
        "DestinationLocationArn": ...,
        "CloudWatchLogGroupArn": ...,
        "SourceNetworkInterfaceArns": ...,
        "DestinationNetworkInterfaceArns": ...,
        "Options": ...,
        "Excludes": ...,
        "Schedule": ...,
        "ErrorCode": ...,
        "ErrorDetail": ...,
        "CreationTime": ...,
        "Includes": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTaskResponseTypeDef(TypedDict):
    TaskArn: str,
    Status: TaskStatusType,  # (1)
    Name: str,
    CurrentTaskExecutionArn: str,
    SourceLocationArn: str,
    DestinationLocationArn: str,
    CloudWatchLogGroupArn: str,
    SourceNetworkInterfaceArns: List[str],
    DestinationNetworkInterfaceArns: List[str],
    Options: OptionsTypeDef,  # (2)
    Excludes: List[FilterRuleTypeDef],  # (3)
    Schedule: TaskScheduleTypeDef,  # (4)
    ErrorCode: str,
    ErrorDetail: str,
    CreationTime: datetime,
    Includes: List[FilterRuleTypeDef],  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See TaskStatusType
  2. See OptionsTypeDef
  3. See FilterRuleTypeDef
  4. See TaskScheduleTypeDef
  5. See FilterRuleTypeDef
  6. See ResponseMetadataTypeDef

UpdateTaskRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import UpdateTaskRequestRequestTypeDef

def get_value() -> UpdateTaskRequestRequestTypeDef:
    return {
        "TaskArn": ...,
    }
Definition
class UpdateTaskRequestRequestTypeDef(TypedDict):
    TaskArn: str,
    Options: NotRequired[OptionsTypeDef],  # (1)
    Excludes: NotRequired[Sequence[FilterRuleTypeDef]],  # (2)
    Schedule: NotRequired[TaskScheduleTypeDef],  # (3)
    Name: NotRequired[str],
    CloudWatchLogGroupArn: NotRequired[str],
    Includes: NotRequired[Sequence[FilterRuleTypeDef]],  # (2)
  1. See OptionsTypeDef
  2. See FilterRuleTypeDef
  3. See TaskScheduleTypeDef
  4. See FilterRuleTypeDef

DescribeAgentResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeAgentResponseTypeDef

def get_value() -> DescribeAgentResponseTypeDef:
    return {
        "AgentArn": ...,
        "Name": ...,
        "Status": ...,
        "LastConnectionTime": ...,
        "CreationTime": ...,
        "EndpointType": ...,
        "PrivateLinkConfig": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeAgentResponseTypeDef(TypedDict):
    AgentArn: str,
    Name: str,
    Status: AgentStatusType,  # (1)
    LastConnectionTime: datetime,
    CreationTime: datetime,
    EndpointType: EndpointTypeType,  # (2)
    PrivateLinkConfig: PrivateLinkConfigTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See AgentStatusType
  2. See EndpointTypeType
  3. See PrivateLinkConfigTypeDef
  4. See ResponseMetadataTypeDef

DescribeTaskExecutionResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeTaskExecutionResponseTypeDef

def get_value() -> DescribeTaskExecutionResponseTypeDef:
    return {
        "TaskExecutionArn": ...,
        "Status": ...,
        "Options": ...,
        "Excludes": ...,
        "Includes": ...,
        "StartTime": ...,
        "EstimatedFilesToTransfer": ...,
        "EstimatedBytesToTransfer": ...,
        "FilesTransferred": ...,
        "BytesWritten": ...,
        "BytesTransferred": ...,
        "Result": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTaskExecutionResponseTypeDef(TypedDict):
    TaskExecutionArn: str,
    Status: TaskExecutionStatusType,  # (1)
    Options: OptionsTypeDef,  # (2)
    Excludes: List[FilterRuleTypeDef],  # (3)
    Includes: List[FilterRuleTypeDef],  # (3)
    StartTime: datetime,
    EstimatedFilesToTransfer: int,
    EstimatedBytesToTransfer: int,
    FilesTransferred: int,
    BytesWritten: int,
    BytesTransferred: int,
    Result: TaskExecutionResultDetailTypeDef,  # (5)
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See TaskExecutionStatusType
  2. See OptionsTypeDef
  3. See FilterRuleTypeDef
  4. See FilterRuleTypeDef
  5. See TaskExecutionResultDetailTypeDef
  6. See ResponseMetadataTypeDef

ListAgentsRequestListAgentsPaginateTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import ListAgentsRequestListAgentsPaginateTypeDef

def get_value() -> ListAgentsRequestListAgentsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListAgentsRequestListAgentsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListTagsForResourceRequestListTagsForResourcePaginateTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import ListTagsForResourceRequestListTagsForResourcePaginateTypeDef

def get_value() -> ListTagsForResourceRequestListTagsForResourcePaginateTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class ListTagsForResourceRequestListTagsForResourcePaginateTypeDef(TypedDict):
    ResourceArn: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListTaskExecutionsRequestListTaskExecutionsPaginateTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import ListTaskExecutionsRequestListTaskExecutionsPaginateTypeDef

def get_value() -> ListTaskExecutionsRequestListTaskExecutionsPaginateTypeDef:
    return {
        "TaskArn": ...,
    }
Definition
class ListTaskExecutionsRequestListTaskExecutionsPaginateTypeDef(TypedDict):
    TaskArn: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListLocationsRequestListLocationsPaginateTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import ListLocationsRequestListLocationsPaginateTypeDef

def get_value() -> ListLocationsRequestListLocationsPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class ListLocationsRequestListLocationsPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[LocationFilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See LocationFilterTypeDef
  2. See PaginatorConfigTypeDef

ListLocationsRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import ListLocationsRequestRequestTypeDef

def get_value() -> ListLocationsRequestRequestTypeDef:
    return {
        "MaxResults": ...,
    }
Definition
class ListLocationsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    Filters: NotRequired[Sequence[LocationFilterTypeDef]],  # (1)
  1. See LocationFilterTypeDef

ListLocationsResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import ListLocationsResponseTypeDef

def get_value() -> ListLocationsResponseTypeDef:
    return {
        "Locations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListLocationsResponseTypeDef(TypedDict):
    Locations: List[LocationListEntryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocationListEntryTypeDef
  2. See ResponseMetadataTypeDef

ListTaskExecutionsResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import ListTaskExecutionsResponseTypeDef

def get_value() -> ListTaskExecutionsResponseTypeDef:
    return {
        "TaskExecutions": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTaskExecutionsResponseTypeDef(TypedDict):
    TaskExecutions: List[TaskExecutionListEntryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaskExecutionListEntryTypeDef
  2. See ResponseMetadataTypeDef

ListTasksRequestListTasksPaginateTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import ListTasksRequestListTasksPaginateTypeDef

def get_value() -> ListTasksRequestListTasksPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class ListTasksRequestListTasksPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[TaskFilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See TaskFilterTypeDef
  2. See PaginatorConfigTypeDef

ListTasksRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import ListTasksRequestRequestTypeDef

def get_value() -> ListTasksRequestRequestTypeDef:
    return {
        "MaxResults": ...,
    }
Definition
class ListTasksRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    Filters: NotRequired[Sequence[TaskFilterTypeDef]],  # (1)
  1. See TaskFilterTypeDef

ListTasksResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import ListTasksResponseTypeDef

def get_value() -> ListTasksResponseTypeDef:
    return {
        "Tasks": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTasksResponseTypeDef(TypedDict):
    Tasks: List[TaskListEntryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaskListEntryTypeDef
  2. See ResponseMetadataTypeDef

FsxProtocolTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import FsxProtocolTypeDef

def get_value() -> FsxProtocolTypeDef:
    return {
        "NFS": ...,
    }
Definition
class FsxProtocolTypeDef(TypedDict):
    NFS: NotRequired[FsxProtocolNfsTypeDef],  # (1)
    SMB: NotRequired[FsxProtocolSmbTypeDef],  # (2)
  1. See FsxProtocolNfsTypeDef
  2. See FsxProtocolSmbTypeDef

CreateLocationFsxOntapRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationFsxOntapRequestRequestTypeDef

def get_value() -> CreateLocationFsxOntapRequestRequestTypeDef:
    return {
        "Protocol": ...,
        "SecurityGroupArns": ...,
        "StorageVirtualMachineArn": ...,
    }
Definition
class CreateLocationFsxOntapRequestRequestTypeDef(TypedDict):
    Protocol: FsxProtocolTypeDef,  # (1)
    SecurityGroupArns: Sequence[str],
    StorageVirtualMachineArn: str,
    Subdirectory: NotRequired[str],
    Tags: NotRequired[Sequence[TagListEntryTypeDef]],  # (2)
  1. See FsxProtocolTypeDef
  2. See TagListEntryTypeDef

CreateLocationFsxOpenZfsRequestRequestTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import CreateLocationFsxOpenZfsRequestRequestTypeDef

def get_value() -> CreateLocationFsxOpenZfsRequestRequestTypeDef:
    return {
        "FsxFilesystemArn": ...,
        "Protocol": ...,
        "SecurityGroupArns": ...,
    }
Definition
class CreateLocationFsxOpenZfsRequestRequestTypeDef(TypedDict):
    FsxFilesystemArn: str,
    Protocol: FsxProtocolTypeDef,  # (1)
    SecurityGroupArns: Sequence[str],
    Subdirectory: NotRequired[str],
    Tags: NotRequired[Sequence[TagListEntryTypeDef]],  # (2)
  1. See FsxProtocolTypeDef
  2. See TagListEntryTypeDef

DescribeLocationFsxOntapResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationFsxOntapResponseTypeDef

def get_value() -> DescribeLocationFsxOntapResponseTypeDef:
    return {
        "CreationTime": ...,
        "LocationArn": ...,
        "LocationUri": ...,
        "Protocol": ...,
        "SecurityGroupArns": ...,
        "StorageVirtualMachineArn": ...,
        "FsxFilesystemArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLocationFsxOntapResponseTypeDef(TypedDict):
    CreationTime: datetime,
    LocationArn: str,
    LocationUri: str,
    Protocol: FsxProtocolTypeDef,  # (1)
    SecurityGroupArns: List[str],
    StorageVirtualMachineArn: str,
    FsxFilesystemArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FsxProtocolTypeDef
  2. See ResponseMetadataTypeDef

DescribeLocationFsxOpenZfsResponseTypeDef

Usage Example
from mypy_boto3_datasync.type_defs import DescribeLocationFsxOpenZfsResponseTypeDef

def get_value() -> DescribeLocationFsxOpenZfsResponseTypeDef:
    return {
        "LocationArn": ...,
        "LocationUri": ...,
        "SecurityGroupArns": ...,
        "Protocol": ...,
        "CreationTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLocationFsxOpenZfsResponseTypeDef(TypedDict):
    LocationArn: str,
    LocationUri: str,
    SecurityGroupArns: List[str],
    Protocol: FsxProtocolTypeDef,  # (1)
    CreationTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FsxProtocolTypeDef
  2. See ResponseMetadataTypeDef