Type definitions#
Index > DeviceFarm > Type definitions
Auto-generated documentation for DeviceFarm type annotations stubs module mypy-boto3-devicefarm.
TimestampTypeDef#
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
TrialMinutesTypeDef#
# TrialMinutesTypeDef definition
class TrialMinutesTypeDef(TypedDict):
total: NotRequired[float],
remaining: NotRequired[float],
ArtifactTypeDef#
# ArtifactTypeDef definition
class ArtifactTypeDef(TypedDict):
arn: NotRequired[str],
name: NotRequired[str],
type: NotRequired[ArtifactTypeType], # (1)
extension: NotRequired[str],
url: NotRequired[str],
- See ArtifactTypeType
CPUTypeDef#
# CPUTypeDef definition
class CPUTypeDef(TypedDict):
frequency: NotRequired[str],
architecture: NotRequired[str],
clock: NotRequired[float],
CountersTypeDef#
# CountersTypeDef definition
class CountersTypeDef(TypedDict):
total: NotRequired[int],
passed: NotRequired[int],
failed: NotRequired[int],
warned: NotRequired[int],
errored: NotRequired[int],
stopped: NotRequired[int],
skipped: NotRequired[int],
RuleTypeDef#
# RuleTypeDef definition
class RuleTypeDef(TypedDict):
attribute: NotRequired[DeviceAttributeType], # (1)
operator: NotRequired[RuleOperatorType], # (2)
value: NotRequired[str],
- See DeviceAttributeType
- See RuleOperatorType
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
CreateInstanceProfileRequestRequestTypeDef#
# CreateInstanceProfileRequestRequestTypeDef definition
class CreateInstanceProfileRequestRequestTypeDef(TypedDict):
name: str,
description: NotRequired[str],
packageCleanup: NotRequired[bool],
excludeAppPackagesFromCleanup: NotRequired[Sequence[str]],
rebootAfterUse: NotRequired[bool],
InstanceProfileTypeDef#
# InstanceProfileTypeDef definition
class InstanceProfileTypeDef(TypedDict):
arn: NotRequired[str],
packageCleanup: NotRequired[bool],
excludeAppPackagesFromCleanup: NotRequired[List[str]],
rebootAfterUse: NotRequired[bool],
name: NotRequired[str],
description: NotRequired[str],
CreateNetworkProfileRequestRequestTypeDef#
# CreateNetworkProfileRequestRequestTypeDef definition
class CreateNetworkProfileRequestRequestTypeDef(TypedDict):
projectArn: str,
name: str,
description: NotRequired[str],
type: NotRequired[NetworkProfileTypeType], # (1)
uplinkBandwidthBits: NotRequired[int],
downlinkBandwidthBits: NotRequired[int],
uplinkDelayMs: NotRequired[int],
downlinkDelayMs: NotRequired[int],
uplinkJitterMs: NotRequired[int],
downlinkJitterMs: NotRequired[int],
uplinkLossPercent: NotRequired[int],
downlinkLossPercent: NotRequired[int],
NetworkProfileTypeDef#
# NetworkProfileTypeDef definition
class NetworkProfileTypeDef(TypedDict):
arn: NotRequired[str],
name: NotRequired[str],
description: NotRequired[str],
type: NotRequired[NetworkProfileTypeType], # (1)
uplinkBandwidthBits: NotRequired[int],
downlinkBandwidthBits: NotRequired[int],
uplinkDelayMs: NotRequired[int],
downlinkDelayMs: NotRequired[int],
uplinkJitterMs: NotRequired[int],
downlinkJitterMs: NotRequired[int],
uplinkLossPercent: NotRequired[int],
downlinkLossPercent: NotRequired[int],
VpcConfigTypeDef#
# VpcConfigTypeDef definition
class VpcConfigTypeDef(TypedDict):
securityGroupIds: Sequence[str],
subnetIds: Sequence[str],
vpcId: str,
CreateRemoteAccessSessionConfigurationTypeDef#
# CreateRemoteAccessSessionConfigurationTypeDef definition
class CreateRemoteAccessSessionConfigurationTypeDef(TypedDict):
billingMethod: NotRequired[BillingMethodType], # (1)
vpceConfigurationArns: NotRequired[Sequence[str]],
TestGridVpcConfigTypeDef#
# TestGridVpcConfigTypeDef definition
class TestGridVpcConfigTypeDef(TypedDict):
securityGroupIds: Sequence[str],
subnetIds: Sequence[str],
vpcId: str,
CreateTestGridUrlRequestRequestTypeDef#
# CreateTestGridUrlRequestRequestTypeDef definition
class CreateTestGridUrlRequestRequestTypeDef(TypedDict):
projectArn: str,
expiresInSeconds: int,
CreateUploadRequestRequestTypeDef#
# CreateUploadRequestRequestTypeDef definition
class CreateUploadRequestRequestTypeDef(TypedDict):
projectArn: str,
name: str,
type: UploadTypeType, # (1)
contentType: NotRequired[str],
- See UploadTypeType
UploadTypeDef#
# UploadTypeDef definition
class UploadTypeDef(TypedDict):
arn: NotRequired[str],
name: NotRequired[str],
created: NotRequired[datetime],
type: NotRequired[UploadTypeType], # (1)
status: NotRequired[UploadStatusType], # (2)
url: NotRequired[str],
metadata: NotRequired[str],
contentType: NotRequired[str],
message: NotRequired[str],
category: NotRequired[UploadCategoryType], # (3)
- See UploadTypeType
- See UploadStatusType
- See UploadCategoryType
CreateVPCEConfigurationRequestRequestTypeDef#
# CreateVPCEConfigurationRequestRequestTypeDef definition
class CreateVPCEConfigurationRequestRequestTypeDef(TypedDict):
vpceConfigurationName: str,
vpceServiceName: str,
serviceDnsName: str,
vpceConfigurationDescription: NotRequired[str],
VPCEConfigurationTypeDef#
# VPCEConfigurationTypeDef definition
class VPCEConfigurationTypeDef(TypedDict):
arn: NotRequired[str],
vpceConfigurationName: NotRequired[str],
vpceServiceName: NotRequired[str],
serviceDnsName: NotRequired[str],
vpceConfigurationDescription: NotRequired[str],
CustomerArtifactPathsPaginatorTypeDef#
# CustomerArtifactPathsPaginatorTypeDef definition
class CustomerArtifactPathsPaginatorTypeDef(TypedDict):
iosPaths: NotRequired[List[str]],
androidPaths: NotRequired[List[str]],
deviceHostPaths: NotRequired[List[str]],
CustomerArtifactPathsTypeDef#
# CustomerArtifactPathsTypeDef definition
class CustomerArtifactPathsTypeDef(TypedDict):
iosPaths: NotRequired[Sequence[str]],
androidPaths: NotRequired[Sequence[str]],
deviceHostPaths: NotRequired[Sequence[str]],
DeleteDevicePoolRequestRequestTypeDef#
# DeleteDevicePoolRequestRequestTypeDef definition
class DeleteDevicePoolRequestRequestTypeDef(TypedDict):
arn: str,
DeleteInstanceProfileRequestRequestTypeDef#
# DeleteInstanceProfileRequestRequestTypeDef definition
class DeleteInstanceProfileRequestRequestTypeDef(TypedDict):
arn: str,
DeleteNetworkProfileRequestRequestTypeDef#
# DeleteNetworkProfileRequestRequestTypeDef definition
class DeleteNetworkProfileRequestRequestTypeDef(TypedDict):
arn: str,
DeleteProjectRequestRequestTypeDef#
# DeleteProjectRequestRequestTypeDef definition
class DeleteProjectRequestRequestTypeDef(TypedDict):
arn: str,
DeleteRemoteAccessSessionRequestRequestTypeDef#
# DeleteRemoteAccessSessionRequestRequestTypeDef definition
class DeleteRemoteAccessSessionRequestRequestTypeDef(TypedDict):
arn: str,
DeleteRunRequestRequestTypeDef#
# DeleteRunRequestRequestTypeDef definition
class DeleteRunRequestRequestTypeDef(TypedDict):
arn: str,
DeleteTestGridProjectRequestRequestTypeDef#
# DeleteTestGridProjectRequestRequestTypeDef definition
class DeleteTestGridProjectRequestRequestTypeDef(TypedDict):
projectArn: str,
DeleteUploadRequestRequestTypeDef#
# DeleteUploadRequestRequestTypeDef definition
class DeleteUploadRequestRequestTypeDef(TypedDict):
arn: str,
DeleteVPCEConfigurationRequestRequestTypeDef#
# DeleteVPCEConfigurationRequestRequestTypeDef definition
class DeleteVPCEConfigurationRequestRequestTypeDef(TypedDict):
arn: str,
DeviceFilterPaginatorTypeDef#
# DeviceFilterPaginatorTypeDef definition
class DeviceFilterPaginatorTypeDef(TypedDict):
attribute: DeviceFilterAttributeType, # (1)
operator: RuleOperatorType, # (2)
values: Sequence[str],
DeviceFilterTypeDef#
# DeviceFilterTypeDef definition
class DeviceFilterTypeDef(TypedDict):
attribute: DeviceFilterAttributeType, # (1)
operator: RuleOperatorType, # (2)
values: List[str],
DeviceMinutesTypeDef#
# DeviceMinutesTypeDef definition
class DeviceMinutesTypeDef(TypedDict):
total: NotRequired[float],
metered: NotRequired[float],
unmetered: NotRequired[float],
IncompatibilityMessageTypeDef#
# IncompatibilityMessageTypeDef definition
class IncompatibilityMessageTypeDef(TypedDict):
message: NotRequired[str],
type: NotRequired[DeviceAttributeType], # (1)
ResolutionTypeDef#
# ResolutionTypeDef definition
class ResolutionTypeDef(TypedDict):
width: NotRequired[int],
height: NotRequired[int],
ExecutionConfigurationTypeDef#
# ExecutionConfigurationTypeDef definition
class ExecutionConfigurationTypeDef(TypedDict):
jobTimeoutMinutes: NotRequired[int],
accountsCleanup: NotRequired[bool],
appPackagesCleanup: NotRequired[bool],
videoCapture: NotRequired[bool],
skipAppResign: NotRequired[bool],
GetDeviceInstanceRequestRequestTypeDef#
# GetDeviceInstanceRequestRequestTypeDef definition
class GetDeviceInstanceRequestRequestTypeDef(TypedDict):
arn: str,