Skip to content

Type definitions#

Index > SnowDeviceManagement > Type definitions

Auto-generated documentation for SnowDeviceManagement type annotations stubs module mypy-boto3-snow-device-management.

CancelTaskInputTypeDef#

# CancelTaskInputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import CancelTaskInputTypeDef


def get_value() -> CancelTaskInputTypeDef:
    return {
        "taskId": ...,
    }


# CancelTaskInputTypeDef definition

class CancelTaskInputTypeDef(TypedDict):
    taskId: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

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

CapacityTypeDef#

# CapacityTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import CapacityTypeDef


def get_value() -> CapacityTypeDef:
    return {
        "available": ...,
    }


# CapacityTypeDef definition

class CapacityTypeDef(TypedDict):
    available: NotRequired[int],
    name: NotRequired[str],
    total: NotRequired[int],
    unit: NotRequired[str],
    used: NotRequired[int],

CommandTypeDef#

# CommandTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import CommandTypeDef


def get_value() -> CommandTypeDef:
    return {
        "reboot": ...,
    }


# CommandTypeDef definition

class CommandTypeDef(TypedDict):
    reboot: NotRequired[Mapping[str, Any]],
    unlock: NotRequired[Mapping[str, Any]],

CpuOptionsTypeDef#

# CpuOptionsTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import CpuOptionsTypeDef


def get_value() -> CpuOptionsTypeDef:
    return {
        "coreCount": ...,
    }


# CpuOptionsTypeDef definition

class CpuOptionsTypeDef(TypedDict):
    coreCount: NotRequired[int],
    threadsPerCore: NotRequired[int],

DescribeDeviceEc2InputTypeDef#

# DescribeDeviceEc2InputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import DescribeDeviceEc2InputTypeDef


def get_value() -> DescribeDeviceEc2InputTypeDef:
    return {
        "instanceIds": ...,
    }


# DescribeDeviceEc2InputTypeDef definition

class DescribeDeviceEc2InputTypeDef(TypedDict):
    instanceIds: Sequence[str],
    managedDeviceId: str,

DescribeDeviceInputTypeDef#

# DescribeDeviceInputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import DescribeDeviceInputTypeDef


def get_value() -> DescribeDeviceInputTypeDef:
    return {
        "managedDeviceId": ...,
    }


# DescribeDeviceInputTypeDef definition

class DescribeDeviceInputTypeDef(TypedDict):
    managedDeviceId: str,

PhysicalNetworkInterfaceTypeDef#

# PhysicalNetworkInterfaceTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import PhysicalNetworkInterfaceTypeDef


def get_value() -> PhysicalNetworkInterfaceTypeDef:
    return {
        "defaultGateway": ...,
    }


# PhysicalNetworkInterfaceTypeDef definition

class PhysicalNetworkInterfaceTypeDef(TypedDict):
    defaultGateway: NotRequired[str],
    ipAddress: NotRequired[str],
    ipAddressAssignment: NotRequired[IpAddressAssignmentType],  # (1)
    macAddress: NotRequired[str],
    netmask: NotRequired[str],
    physicalConnectorType: NotRequired[PhysicalConnectorTypeType],  # (2)
    physicalNetworkInterfaceId: NotRequired[str],
  1. See IpAddressAssignmentType
  2. See PhysicalConnectorTypeType

SoftwareInformationTypeDef#

# SoftwareInformationTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import SoftwareInformationTypeDef


def get_value() -> SoftwareInformationTypeDef:
    return {
        "installState": ...,
    }


# SoftwareInformationTypeDef definition

class SoftwareInformationTypeDef(TypedDict):
    installState: NotRequired[str],
    installedVersion: NotRequired[str],
    installingVersion: NotRequired[str],

DescribeExecutionInputTypeDef#

# DescribeExecutionInputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import DescribeExecutionInputTypeDef


def get_value() -> DescribeExecutionInputTypeDef:
    return {
        "managedDeviceId": ...,
    }


# DescribeExecutionInputTypeDef definition

class DescribeExecutionInputTypeDef(TypedDict):
    managedDeviceId: str,
    taskId: str,

DescribeTaskInputTypeDef#

# DescribeTaskInputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import DescribeTaskInputTypeDef


def get_value() -> DescribeTaskInputTypeDef:
    return {
        "taskId": ...,
    }


# DescribeTaskInputTypeDef definition

class DescribeTaskInputTypeDef(TypedDict):
    taskId: str,

DeviceSummaryTypeDef#

# DeviceSummaryTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import DeviceSummaryTypeDef


def get_value() -> DeviceSummaryTypeDef:
    return {
        "associatedWithJob": ...,
    }


# DeviceSummaryTypeDef definition

class DeviceSummaryTypeDef(TypedDict):
    associatedWithJob: NotRequired[str],
    managedDeviceArn: NotRequired[str],
    managedDeviceId: NotRequired[str],
    tags: NotRequired[Dict[str, str]],

EbsInstanceBlockDeviceTypeDef#

# EbsInstanceBlockDeviceTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import EbsInstanceBlockDeviceTypeDef


def get_value() -> EbsInstanceBlockDeviceTypeDef:
    return {
        "attachTime": ...,
    }


# EbsInstanceBlockDeviceTypeDef definition

class EbsInstanceBlockDeviceTypeDef(TypedDict):
    attachTime: NotRequired[datetime.datetime],
    deleteOnTermination: NotRequired[bool],
    status: NotRequired[AttachmentStatusType],  # (1)
    volumeId: NotRequired[str],
  1. See AttachmentStatusType

ExecutionSummaryTypeDef#

# ExecutionSummaryTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import ExecutionSummaryTypeDef


def get_value() -> ExecutionSummaryTypeDef:
    return {
        "executionId": ...,
    }


# ExecutionSummaryTypeDef definition

class ExecutionSummaryTypeDef(TypedDict):
    executionId: NotRequired[str],
    managedDeviceId: NotRequired[str],
    state: NotRequired[ExecutionStateType],  # (1)
    taskId: NotRequired[str],
  1. See ExecutionStateType

InstanceStateTypeDef#

# InstanceStateTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import InstanceStateTypeDef


def get_value() -> InstanceStateTypeDef:
    return {
        "code": ...,
    }


# InstanceStateTypeDef definition

class InstanceStateTypeDef(TypedDict):
    code: NotRequired[int],
    name: NotRequired[InstanceStateNameType],  # (1)
  1. See InstanceStateNameType

SecurityGroupIdentifierTypeDef#

# SecurityGroupIdentifierTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import SecurityGroupIdentifierTypeDef


def get_value() -> SecurityGroupIdentifierTypeDef:
    return {
        "groupId": ...,
    }


# SecurityGroupIdentifierTypeDef definition

class SecurityGroupIdentifierTypeDef(TypedDict):
    groupId: NotRequired[str],
    groupName: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import PaginatorConfigTypeDef


def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }


# PaginatorConfigTypeDef definition

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

ListDeviceResourcesInputTypeDef#

# ListDeviceResourcesInputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import ListDeviceResourcesInputTypeDef


def get_value() -> ListDeviceResourcesInputTypeDef:
    return {
        "managedDeviceId": ...,
    }


# ListDeviceResourcesInputTypeDef definition

class ListDeviceResourcesInputTypeDef(TypedDict):
    managedDeviceId: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    type: NotRequired[str],

ResourceSummaryTypeDef#

# ResourceSummaryTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import ResourceSummaryTypeDef


def get_value() -> ResourceSummaryTypeDef:
    return {
        "arn": ...,
    }


# ResourceSummaryTypeDef definition

class ResourceSummaryTypeDef(TypedDict):
    resourceType: str,
    arn: NotRequired[str],
    id: NotRequired[str],

ListDevicesInputTypeDef#

# ListDevicesInputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import ListDevicesInputTypeDef


def get_value() -> ListDevicesInputTypeDef:
    return {
        "jobId": ...,
    }


# ListDevicesInputTypeDef definition

class ListDevicesInputTypeDef(TypedDict):
    jobId: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListExecutionsInputTypeDef#

# ListExecutionsInputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import ListExecutionsInputTypeDef


def get_value() -> ListExecutionsInputTypeDef:
    return {
        "taskId": ...,
    }


# ListExecutionsInputTypeDef definition

class ListExecutionsInputTypeDef(TypedDict):
    taskId: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    state: NotRequired[ExecutionStateType],  # (1)
  1. See ExecutionStateType

ListTagsForResourceInputTypeDef#

# ListTagsForResourceInputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import ListTagsForResourceInputTypeDef


def get_value() -> ListTagsForResourceInputTypeDef:
    return {
        "resourceArn": ...,
    }


# ListTagsForResourceInputTypeDef definition

class ListTagsForResourceInputTypeDef(TypedDict):
    resourceArn: str,

ListTasksInputTypeDef#

# ListTasksInputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import ListTasksInputTypeDef


def get_value() -> ListTasksInputTypeDef:
    return {
        "maxResults": ...,
    }


# ListTasksInputTypeDef definition

class ListTasksInputTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    state: NotRequired[TaskStateType],  # (1)
  1. See TaskStateType

TaskSummaryTypeDef#

# TaskSummaryTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import TaskSummaryTypeDef


def get_value() -> TaskSummaryTypeDef:
    return {
        "state": ...,
    }


# TaskSummaryTypeDef definition

class TaskSummaryTypeDef(TypedDict):
    taskId: str,
    state: NotRequired[TaskStateType],  # (1)
    tags: NotRequired[Dict[str, str]],
    taskArn: NotRequired[str],
  1. See TaskStateType

TagResourceInputTypeDef#

# TagResourceInputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import TagResourceInputTypeDef


def get_value() -> TagResourceInputTypeDef:
    return {
        "resourceArn": ...,
    }


# TagResourceInputTypeDef definition

class TagResourceInputTypeDef(TypedDict):
    resourceArn: str,
    tags: Mapping[str, str],

UntagResourceInputTypeDef#

# UntagResourceInputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import UntagResourceInputTypeDef


def get_value() -> UntagResourceInputTypeDef:
    return {
        "resourceArn": ...,
    }


# UntagResourceInputTypeDef definition

class UntagResourceInputTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

CancelTaskOutputTypeDef#

# CancelTaskOutputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import CancelTaskOutputTypeDef


def get_value() -> CancelTaskOutputTypeDef:
    return {
        "taskId": ...,
    }


# CancelTaskOutputTypeDef definition

class CancelTaskOutputTypeDef(TypedDict):
    taskId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateTaskOutputTypeDef#

# CreateTaskOutputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import CreateTaskOutputTypeDef


def get_value() -> CreateTaskOutputTypeDef:
    return {
        "taskArn": ...,
    }


# CreateTaskOutputTypeDef definition

class CreateTaskOutputTypeDef(TypedDict):
    taskArn: str,
    taskId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeExecutionOutputTypeDef#

# DescribeExecutionOutputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import DescribeExecutionOutputTypeDef


def get_value() -> DescribeExecutionOutputTypeDef:
    return {
        "executionId": ...,
    }


# DescribeExecutionOutputTypeDef definition

class DescribeExecutionOutputTypeDef(TypedDict):
    executionId: str,
    lastUpdatedAt: datetime.datetime,
    managedDeviceId: str,
    startedAt: datetime.datetime,
    state: ExecutionStateType,  # (1)
    taskId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ExecutionStateType
  2. See ResponseMetadataTypeDef

DescribeTaskOutputTypeDef#

# DescribeTaskOutputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import DescribeTaskOutputTypeDef


def get_value() -> DescribeTaskOutputTypeDef:
    return {
        "completedAt": ...,
    }


# DescribeTaskOutputTypeDef definition

class DescribeTaskOutputTypeDef(TypedDict):
    completedAt: datetime.datetime,
    createdAt: datetime.datetime,
    description: str,
    lastUpdatedAt: datetime.datetime,
    state: TaskStateType,  # (1)
    tags: Dict[str, str],
    targets: List[str],
    taskArn: str,
    taskId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaskStateType
  2. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import EmptyResponseMetadataTypeDef


def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }


# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListTagsForResourceOutputTypeDef#

# ListTagsForResourceOutputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import ListTagsForResourceOutputTypeDef


def get_value() -> ListTagsForResourceOutputTypeDef:
    return {
        "tags": ...,
    }


# ListTagsForResourceOutputTypeDef definition

class ListTagsForResourceOutputTypeDef(TypedDict):
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateTaskInputTypeDef#

# CreateTaskInputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import CreateTaskInputTypeDef


def get_value() -> CreateTaskInputTypeDef:
    return {
        "command": ...,
    }


# CreateTaskInputTypeDef definition

class CreateTaskInputTypeDef(TypedDict):
    command: CommandTypeDef,  # (1)
    targets: Sequence[str],
    clientToken: NotRequired[str],
    description: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],
  1. See CommandTypeDef

DescribeDeviceOutputTypeDef#

# DescribeDeviceOutputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import DescribeDeviceOutputTypeDef


def get_value() -> DescribeDeviceOutputTypeDef:
    return {
        "associatedWithJob": ...,
    }


# DescribeDeviceOutputTypeDef definition

class DescribeDeviceOutputTypeDef(TypedDict):
    associatedWithJob: str,
    deviceCapacities: List[CapacityTypeDef],  # (1)
    deviceState: UnlockStateType,  # (2)
    deviceType: str,
    lastReachedOutAt: datetime.datetime,
    lastUpdatedAt: datetime.datetime,
    managedDeviceArn: str,
    managedDeviceId: str,
    physicalNetworkInterfaces: List[PhysicalNetworkInterfaceTypeDef],  # (3)
    software: SoftwareInformationTypeDef,  # (4)
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See List[CapacityTypeDef]
  2. See UnlockStateType
  3. See List[PhysicalNetworkInterfaceTypeDef]
  4. See SoftwareInformationTypeDef
  5. See ResponseMetadataTypeDef

ListDevicesOutputTypeDef#

# ListDevicesOutputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import ListDevicesOutputTypeDef


def get_value() -> ListDevicesOutputTypeDef:
    return {
        "devices": ...,
    }


# ListDevicesOutputTypeDef definition

class ListDevicesOutputTypeDef(TypedDict):
    devices: List[DeviceSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[DeviceSummaryTypeDef]
  2. See ResponseMetadataTypeDef

InstanceBlockDeviceMappingTypeDef#

# InstanceBlockDeviceMappingTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import InstanceBlockDeviceMappingTypeDef


def get_value() -> InstanceBlockDeviceMappingTypeDef:
    return {
        "deviceName": ...,
    }


# InstanceBlockDeviceMappingTypeDef definition

class InstanceBlockDeviceMappingTypeDef(TypedDict):
    deviceName: NotRequired[str],
    ebs: NotRequired[EbsInstanceBlockDeviceTypeDef],  # (1)
  1. See EbsInstanceBlockDeviceTypeDef

ListExecutionsOutputTypeDef#

# ListExecutionsOutputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import ListExecutionsOutputTypeDef


def get_value() -> ListExecutionsOutputTypeDef:
    return {
        "executions": ...,
    }


# ListExecutionsOutputTypeDef definition

class ListExecutionsOutputTypeDef(TypedDict):
    executions: List[ExecutionSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[ExecutionSummaryTypeDef]
  2. See ResponseMetadataTypeDef

ListDeviceResourcesInputPaginateTypeDef#

# ListDeviceResourcesInputPaginateTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import ListDeviceResourcesInputPaginateTypeDef


def get_value() -> ListDeviceResourcesInputPaginateTypeDef:
    return {
        "managedDeviceId": ...,
    }


# ListDeviceResourcesInputPaginateTypeDef definition

class ListDeviceResourcesInputPaginateTypeDef(TypedDict):
    managedDeviceId: str,
    type: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDevicesInputPaginateTypeDef#

# ListDevicesInputPaginateTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import ListDevicesInputPaginateTypeDef


def get_value() -> ListDevicesInputPaginateTypeDef:
    return {
        "jobId": ...,
    }


# ListDevicesInputPaginateTypeDef definition

class ListDevicesInputPaginateTypeDef(TypedDict):
    jobId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListExecutionsInputPaginateTypeDef#

# ListExecutionsInputPaginateTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import ListExecutionsInputPaginateTypeDef


def get_value() -> ListExecutionsInputPaginateTypeDef:
    return {
        "taskId": ...,
    }


# ListExecutionsInputPaginateTypeDef definition

class ListExecutionsInputPaginateTypeDef(TypedDict):
    taskId: str,
    state: NotRequired[ExecutionStateType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ExecutionStateType
  2. See PaginatorConfigTypeDef

ListTasksInputPaginateTypeDef#

# ListTasksInputPaginateTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import ListTasksInputPaginateTypeDef


def get_value() -> ListTasksInputPaginateTypeDef:
    return {
        "state": ...,
    }


# ListTasksInputPaginateTypeDef definition

class ListTasksInputPaginateTypeDef(TypedDict):
    state: NotRequired[TaskStateType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See TaskStateType
  2. See PaginatorConfigTypeDef

ListDeviceResourcesOutputTypeDef#

# ListDeviceResourcesOutputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import ListDeviceResourcesOutputTypeDef


def get_value() -> ListDeviceResourcesOutputTypeDef:
    return {
        "nextToken": ...,
    }


# ListDeviceResourcesOutputTypeDef definition

class ListDeviceResourcesOutputTypeDef(TypedDict):
    resources: List[ResourceSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[ResourceSummaryTypeDef]
  2. See ResponseMetadataTypeDef

ListTasksOutputTypeDef#

# ListTasksOutputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import ListTasksOutputTypeDef


def get_value() -> ListTasksOutputTypeDef:
    return {
        "nextToken": ...,
    }


# ListTasksOutputTypeDef definition

class ListTasksOutputTypeDef(TypedDict):
    tasks: List[TaskSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[TaskSummaryTypeDef]
  2. See ResponseMetadataTypeDef

InstanceTypeDef#

# InstanceTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import InstanceTypeDef


def get_value() -> InstanceTypeDef:
    return {
        "amiLaunchIndex": ...,
    }


# InstanceTypeDef definition

class InstanceTypeDef(TypedDict):
    amiLaunchIndex: NotRequired[int],
    blockDeviceMappings: NotRequired[List[InstanceBlockDeviceMappingTypeDef]],  # (1)
    cpuOptions: NotRequired[CpuOptionsTypeDef],  # (2)
    createdAt: NotRequired[datetime.datetime],
    imageId: NotRequired[str],
    instanceId: NotRequired[str],
    instanceType: NotRequired[str],
    privateIpAddress: NotRequired[str],
    publicIpAddress: NotRequired[str],
    rootDeviceName: NotRequired[str],
    securityGroups: NotRequired[List[SecurityGroupIdentifierTypeDef]],  # (3)
    state: NotRequired[InstanceStateTypeDef],  # (4)
    updatedAt: NotRequired[datetime.datetime],
  1. See List[InstanceBlockDeviceMappingTypeDef]
  2. See CpuOptionsTypeDef
  3. See List[SecurityGroupIdentifierTypeDef]
  4. See InstanceStateTypeDef

InstanceSummaryTypeDef#

# InstanceSummaryTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import InstanceSummaryTypeDef


def get_value() -> InstanceSummaryTypeDef:
    return {
        "instance": ...,
    }


# InstanceSummaryTypeDef definition

class InstanceSummaryTypeDef(TypedDict):
    instance: NotRequired[InstanceTypeDef],  # (1)
    lastUpdatedAt: NotRequired[datetime.datetime],
  1. See InstanceTypeDef

DescribeDeviceEc2OutputTypeDef#

# DescribeDeviceEc2OutputTypeDef TypedDict usage example

from mypy_boto3_snow_device_management.type_defs import DescribeDeviceEc2OutputTypeDef


def get_value() -> DescribeDeviceEc2OutputTypeDef:
    return {
        "instances": ...,
    }


# DescribeDeviceEc2OutputTypeDef definition

class DescribeDeviceEc2OutputTypeDef(TypedDict):
    instances: List[InstanceSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See List[InstanceSummaryTypeDef]
  2. See ResponseMetadataTypeDef