Skip to content

Typed dictionaries

Index > IoTDeviceAdvisor > Typed dictionaries

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

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.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,

DeleteSuiteDefinitionRequestRequestTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import DeleteSuiteDefinitionRequestRequestTypeDef

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

DeviceUnderTestTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import DeviceUnderTestTypeDef

def get_value() -> DeviceUnderTestTypeDef:
    return {
        "thingArn": ...,
    }
Definition
class DeviceUnderTestTypeDef(TypedDict):
    thingArn: NotRequired[str],
    certificateArn: NotRequired[str],

GetEndpointRequestRequestTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import GetEndpointRequestRequestTypeDef

def get_value() -> GetEndpointRequestRequestTypeDef:
    return {
        "thingArn": ...,
    }
Definition
class GetEndpointRequestRequestTypeDef(TypedDict):
    thingArn: NotRequired[str],
    certificateArn: NotRequired[str],

GetSuiteDefinitionRequestRequestTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import GetSuiteDefinitionRequestRequestTypeDef

def get_value() -> GetSuiteDefinitionRequestRequestTypeDef:
    return {
        "suiteDefinitionId": ...,
    }
Definition
class GetSuiteDefinitionRequestRequestTypeDef(TypedDict):
    suiteDefinitionId: str,
    suiteDefinitionVersion: NotRequired[str],

GetSuiteRunReportRequestRequestTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import GetSuiteRunReportRequestRequestTypeDef

def get_value() -> GetSuiteRunReportRequestRequestTypeDef:
    return {
        "suiteDefinitionId": ...,
        "suiteRunId": ...,
    }
Definition
class GetSuiteRunReportRequestRequestTypeDef(TypedDict):
    suiteDefinitionId: str,
    suiteRunId: str,

GetSuiteRunRequestRequestTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import GetSuiteRunRequestRequestTypeDef

def get_value() -> GetSuiteRunRequestRequestTypeDef:
    return {
        "suiteDefinitionId": ...,
        "suiteRunId": ...,
    }
Definition
class GetSuiteRunRequestRequestTypeDef(TypedDict):
    suiteDefinitionId: str,
    suiteRunId: str,

ListSuiteDefinitionsRequestRequestTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import ListSuiteDefinitionsRequestRequestTypeDef

def get_value() -> ListSuiteDefinitionsRequestRequestTypeDef:
    return {
        "maxResults": ...,
    }
Definition
class ListSuiteDefinitionsRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListSuiteRunsRequestRequestTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import ListSuiteRunsRequestRequestTypeDef

def get_value() -> ListSuiteRunsRequestRequestTypeDef:
    return {
        "suiteDefinitionId": ...,
    }
Definition
class ListSuiteRunsRequestRequestTypeDef(TypedDict):
    suiteDefinitionId: NotRequired[str],
    suiteDefinitionVersion: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

SuiteRunInformationTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import SuiteRunInformationTypeDef

def get_value() -> SuiteRunInformationTypeDef:
    return {
        "suiteDefinitionId": ...,
    }
Definition
class SuiteRunInformationTypeDef(TypedDict):
    suiteDefinitionId: NotRequired[str],
    suiteDefinitionVersion: NotRequired[str],
    suiteDefinitionName: NotRequired[str],
    suiteRunId: NotRequired[str],
    createdAt: NotRequired[datetime],
    startedAt: NotRequired[datetime],
    endAt: NotRequired[datetime],
    status: NotRequired[SuiteRunStatusType],  # (1)
    passed: NotRequired[int],
    failed: NotRequired[int],
  1. See SuiteRunStatusType

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import ListTagsForResourceRequestRequestTypeDef

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

StopSuiteRunRequestRequestTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import StopSuiteRunRequestRequestTypeDef

def get_value() -> StopSuiteRunRequestRequestTypeDef:
    return {
        "suiteDefinitionId": ...,
        "suiteRunId": ...,
    }
Definition
class StopSuiteRunRequestRequestTypeDef(TypedDict):
    suiteDefinitionId: str,
    suiteRunId: str,

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Mapping[str, str],

TestCaseScenarioTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import TestCaseScenarioTypeDef

def get_value() -> TestCaseScenarioTypeDef:
    return {
        "testCaseScenarioId": ...,
    }
Definition
class TestCaseScenarioTypeDef(TypedDict):
    testCaseScenarioId: NotRequired[str],
    testCaseScenarioType: NotRequired[TestCaseScenarioTypeType],  # (1)
    status: NotRequired[TestCaseScenarioStatusType],  # (2)
    failure: NotRequired[str],
    systemMessage: NotRequired[str],
  1. See TestCaseScenarioTypeType
  2. See TestCaseScenarioStatusType

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import UntagResourceRequestRequestTypeDef

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

CreateSuiteDefinitionResponseTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import CreateSuiteDefinitionResponseTypeDef

def get_value() -> CreateSuiteDefinitionResponseTypeDef:
    return {
        "suiteDefinitionId": ...,
        "suiteDefinitionArn": ...,
        "suiteDefinitionName": ...,
        "createdAt": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateSuiteDefinitionResponseTypeDef(TypedDict):
    suiteDefinitionId: str,
    suiteDefinitionArn: str,
    suiteDefinitionName: str,
    createdAt: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetEndpointResponseTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import GetEndpointResponseTypeDef

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

GetSuiteRunReportResponseTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import GetSuiteRunReportResponseTypeDef

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

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartSuiteRunResponseTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import StartSuiteRunResponseTypeDef

def get_value() -> StartSuiteRunResponseTypeDef:
    return {
        "suiteRunId": ...,
        "suiteRunArn": ...,
        "createdAt": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartSuiteRunResponseTypeDef(TypedDict):
    suiteRunId: str,
    suiteRunArn: str,
    createdAt: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateSuiteDefinitionResponseTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import UpdateSuiteDefinitionResponseTypeDef

def get_value() -> UpdateSuiteDefinitionResponseTypeDef:
    return {
        "suiteDefinitionId": ...,
        "suiteDefinitionArn": ...,
        "suiteDefinitionName": ...,
        "suiteDefinitionVersion": ...,
        "createdAt": ...,
        "lastUpdatedAt": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateSuiteDefinitionResponseTypeDef(TypedDict):
    suiteDefinitionId: str,
    suiteDefinitionArn: str,
    suiteDefinitionName: str,
    suiteDefinitionVersion: str,
    createdAt: datetime,
    lastUpdatedAt: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

SuiteDefinitionConfigurationTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import SuiteDefinitionConfigurationTypeDef

def get_value() -> SuiteDefinitionConfigurationTypeDef:
    return {
        "suiteDefinitionName": ...,
    }
Definition
class SuiteDefinitionConfigurationTypeDef(TypedDict):
    suiteDefinitionName: NotRequired[str],
    devices: NotRequired[Sequence[DeviceUnderTestTypeDef]],  # (1)
    intendedForQualification: NotRequired[bool],
    isLongDurationTest: NotRequired[bool],
    rootGroup: NotRequired[str],
    devicePermissionRoleArn: NotRequired[str],
    protocol: NotRequired[ProtocolType],  # (2)
  1. See DeviceUnderTestTypeDef
  2. See ProtocolType

SuiteDefinitionInformationTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import SuiteDefinitionInformationTypeDef

def get_value() -> SuiteDefinitionInformationTypeDef:
    return {
        "suiteDefinitionId": ...,
    }
Definition
class SuiteDefinitionInformationTypeDef(TypedDict):
    suiteDefinitionId: NotRequired[str],
    suiteDefinitionName: NotRequired[str],
    defaultDevices: NotRequired[List[DeviceUnderTestTypeDef]],  # (1)
    intendedForQualification: NotRequired[bool],
    isLongDurationTest: NotRequired[bool],
    protocol: NotRequired[ProtocolType],  # (2)
    createdAt: NotRequired[datetime],
  1. See DeviceUnderTestTypeDef
  2. See ProtocolType

SuiteRunConfigurationTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import SuiteRunConfigurationTypeDef

def get_value() -> SuiteRunConfigurationTypeDef:
    return {
        "primaryDevice": ...,
    }
Definition
class SuiteRunConfigurationTypeDef(TypedDict):
    primaryDevice: NotRequired[DeviceUnderTestTypeDef],  # (1)
    selectedTestList: NotRequired[List[str]],
    parallelRun: NotRequired[bool],
  1. See DeviceUnderTestTypeDef

ListSuiteRunsResponseTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import ListSuiteRunsResponseTypeDef

def get_value() -> ListSuiteRunsResponseTypeDef:
    return {
        "suiteRunsList": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListSuiteRunsResponseTypeDef(TypedDict):
    suiteRunsList: List[SuiteRunInformationTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SuiteRunInformationTypeDef
  2. See ResponseMetadataTypeDef

TestCaseRunTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import TestCaseRunTypeDef

def get_value() -> TestCaseRunTypeDef:
    return {
        "testCaseRunId": ...,
    }
Definition
class TestCaseRunTypeDef(TypedDict):
    testCaseRunId: NotRequired[str],
    testCaseDefinitionId: NotRequired[str],
    testCaseDefinitionName: NotRequired[str],
    status: NotRequired[StatusType],  # (1)
    startTime: NotRequired[datetime],
    endTime: NotRequired[datetime],
    logUrl: NotRequired[str],
    warnings: NotRequired[str],
    failure: NotRequired[str],
    testScenarios: NotRequired[List[TestCaseScenarioTypeDef]],  # (2)
  1. See StatusType
  2. See TestCaseScenarioTypeDef

CreateSuiteDefinitionRequestRequestTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import CreateSuiteDefinitionRequestRequestTypeDef

def get_value() -> CreateSuiteDefinitionRequestRequestTypeDef:
    return {
        "suiteDefinitionConfiguration": ...,
    }
Definition
class CreateSuiteDefinitionRequestRequestTypeDef(TypedDict):
    suiteDefinitionConfiguration: NotRequired[SuiteDefinitionConfigurationTypeDef],  # (1)
    tags: NotRequired[Mapping[str, str]],
  1. See SuiteDefinitionConfigurationTypeDef

GetSuiteDefinitionResponseTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import GetSuiteDefinitionResponseTypeDef

def get_value() -> GetSuiteDefinitionResponseTypeDef:
    return {
        "suiteDefinitionId": ...,
        "suiteDefinitionArn": ...,
        "suiteDefinitionVersion": ...,
        "latestVersion": ...,
        "suiteDefinitionConfiguration": ...,
        "createdAt": ...,
        "lastModifiedAt": ...,
        "tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetSuiteDefinitionResponseTypeDef(TypedDict):
    suiteDefinitionId: str,
    suiteDefinitionArn: str,
    suiteDefinitionVersion: str,
    latestVersion: str,
    suiteDefinitionConfiguration: SuiteDefinitionConfigurationTypeDef,  # (1)
    createdAt: datetime,
    lastModifiedAt: datetime,
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SuiteDefinitionConfigurationTypeDef
  2. See ResponseMetadataTypeDef

UpdateSuiteDefinitionRequestRequestTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import UpdateSuiteDefinitionRequestRequestTypeDef

def get_value() -> UpdateSuiteDefinitionRequestRequestTypeDef:
    return {
        "suiteDefinitionId": ...,
    }
Definition
class UpdateSuiteDefinitionRequestRequestTypeDef(TypedDict):
    suiteDefinitionId: str,
    suiteDefinitionConfiguration: NotRequired[SuiteDefinitionConfigurationTypeDef],  # (1)
  1. See SuiteDefinitionConfigurationTypeDef

ListSuiteDefinitionsResponseTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import ListSuiteDefinitionsResponseTypeDef

def get_value() -> ListSuiteDefinitionsResponseTypeDef:
    return {
        "suiteDefinitionInformationList": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListSuiteDefinitionsResponseTypeDef(TypedDict):
    suiteDefinitionInformationList: List[SuiteDefinitionInformationTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SuiteDefinitionInformationTypeDef
  2. See ResponseMetadataTypeDef

StartSuiteRunRequestRequestTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import StartSuiteRunRequestRequestTypeDef

def get_value() -> StartSuiteRunRequestRequestTypeDef:
    return {
        "suiteDefinitionId": ...,
    }
Definition
class StartSuiteRunRequestRequestTypeDef(TypedDict):
    suiteDefinitionId: str,
    suiteDefinitionVersion: NotRequired[str],
    suiteRunConfiguration: NotRequired[SuiteRunConfigurationTypeDef],  # (1)
    tags: NotRequired[Mapping[str, str]],
  1. See SuiteRunConfigurationTypeDef

GroupResultTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import GroupResultTypeDef

def get_value() -> GroupResultTypeDef:
    return {
        "groupId": ...,
    }
Definition
class GroupResultTypeDef(TypedDict):
    groupId: NotRequired[str],
    groupName: NotRequired[str],
    tests: NotRequired[List[TestCaseRunTypeDef]],  # (1)
  1. See TestCaseRunTypeDef

TestResultTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import TestResultTypeDef

def get_value() -> TestResultTypeDef:
    return {
        "groups": ...,
    }
Definition
class TestResultTypeDef(TypedDict):
    groups: NotRequired[List[GroupResultTypeDef]],  # (1)
  1. See GroupResultTypeDef

GetSuiteRunResponseTypeDef

Usage Example
from mypy_boto3_iotdeviceadvisor.type_defs import GetSuiteRunResponseTypeDef

def get_value() -> GetSuiteRunResponseTypeDef:
    return {
        "suiteDefinitionId": ...,
        "suiteDefinitionVersion": ...,
        "suiteRunId": ...,
        "suiteRunArn": ...,
        "suiteRunConfiguration": ...,
        "testResult": ...,
        "startTime": ...,
        "endTime": ...,
        "status": ...,
        "errorReason": ...,
        "tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetSuiteRunResponseTypeDef(TypedDict):
    suiteDefinitionId: str,
    suiteDefinitionVersion: str,
    suiteRunId: str,
    suiteRunArn: str,
    suiteRunConfiguration: SuiteRunConfigurationTypeDef,  # (1)
    testResult: TestResultTypeDef,  # (2)
    startTime: datetime,
    endTime: datetime,
    status: SuiteRunStatusType,  # (3)
    errorReason: str,
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See SuiteRunConfigurationTypeDef
  2. See TestResultTypeDef
  3. See SuiteRunStatusType
  4. See ResponseMetadataTypeDef