Skip to content

DeviceFarmClient#

Index > DeviceFarm > DeviceFarmClient

Auto-generated documentation for DeviceFarm type annotations stubs module mypy-boto3-devicefarm.

DeviceFarmClient#

Type annotations and code completion for boto3.client("devicefarm"). boto3 documentation

# DeviceFarmClient usage example

from boto3.session import Session
from mypy_boto3_devicefarm.client import DeviceFarmClient

def get_devicefarm_client() -> DeviceFarmClient:
    return Session().client("devicefarm")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("devicefarm").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("devicefarm")

try:
    do_something(client)
except (
    client.exceptions.ArgumentException,
    client.exceptions.CannotDeleteException,
    client.exceptions.ClientError,
    client.exceptions.IdempotencyException,
    client.exceptions.InternalServiceException,
    client.exceptions.InvalidOperationException,
    client.exceptions.LimitExceededException,
    client.exceptions.NotEligibleException,
    client.exceptions.NotFoundException,
    client.exceptions.ServiceAccountException,
    client.exceptions.TagOperationException,
    client.exceptions.TagPolicyException,
    client.exceptions.TooManyTagsException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_devicefarm.client import Exceptions

def handle_error(exc: Exceptions.ArgumentException) -> None:
    ...

Methods#

can_paginate#

Type annotations and code completion for boto3.client("devicefarm").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

generate_presigned_url#

Type annotations and code completion for boto3.client("devicefarm").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

create_device_pool#

Creates a device pool.

Type annotations and code completion for boto3.client("devicefarm").create_device_pool method. boto3 documentation

# create_device_pool method definition

def create_device_pool(
    self,
    *,
    projectArn: str,
    name: str,
    rules: Sequence[RuleTypeDef],  # (1)
    description: str = ...,
    maxDevices: int = ...,
) -> CreateDevicePoolResultTypeDef:  # (2)
    ...
  1. See RuleTypeDef
  2. See CreateDevicePoolResultTypeDef
# create_device_pool method usage example with argument unpacking

kwargs: CreateDevicePoolRequestTypeDef = {  # (1)
    "projectArn": ...,
    "name": ...,
    "rules": ...,
}

parent.create_device_pool(**kwargs)
  1. See CreateDevicePoolRequestTypeDef

create_instance_profile#

Creates a profile that can be applied to one or more private fleet device instances.

Type annotations and code completion for boto3.client("devicefarm").create_instance_profile method. boto3 documentation

# create_instance_profile method definition

def create_instance_profile(
    self,
    *,
    name: str,
    description: str = ...,
    packageCleanup: bool = ...,
    excludeAppPackagesFromCleanup: Sequence[str] = ...,
    rebootAfterUse: bool = ...,
) -> CreateInstanceProfileResultTypeDef:  # (1)
    ...
  1. See CreateInstanceProfileResultTypeDef
# create_instance_profile method usage example with argument unpacking

kwargs: CreateInstanceProfileRequestTypeDef = {  # (1)
    "name": ...,
}

parent.create_instance_profile(**kwargs)
  1. See CreateInstanceProfileRequestTypeDef

create_network_profile#

Creates a network profile.

Type annotations and code completion for boto3.client("devicefarm").create_network_profile method. boto3 documentation

# create_network_profile method definition

def create_network_profile(
    self,
    *,
    projectArn: str,
    name: str,
    description: str = ...,
    type: NetworkProfileTypeType = ...,  # (1)
    uplinkBandwidthBits: int = ...,
    downlinkBandwidthBits: int = ...,
    uplinkDelayMs: int = ...,
    downlinkDelayMs: int = ...,
    uplinkJitterMs: int = ...,
    downlinkJitterMs: int = ...,
    uplinkLossPercent: int = ...,
    downlinkLossPercent: int = ...,
) -> CreateNetworkProfileResultTypeDef:  # (2)
    ...
  1. See NetworkProfileTypeType
  2. See CreateNetworkProfileResultTypeDef
# create_network_profile method usage example with argument unpacking

kwargs: CreateNetworkProfileRequestTypeDef = {  # (1)
    "projectArn": ...,
    "name": ...,
}

parent.create_network_profile(**kwargs)
  1. See CreateNetworkProfileRequestTypeDef

create_project#

Creates a project.

Type annotations and code completion for boto3.client("devicefarm").create_project method. boto3 documentation

# create_project method definition

def create_project(
    self,
    *,
    name: str,
    defaultJobTimeoutMinutes: int = ...,
    vpcConfig: VpcConfigUnionTypeDef = ...,  # (1)
) -> CreateProjectResultTypeDef:  # (2)
    ...
  1. See VpcConfigTypeDef VpcConfigOutputTypeDef
  2. See CreateProjectResultTypeDef
# create_project method usage example with argument unpacking

kwargs: CreateProjectRequestTypeDef = {  # (1)
    "name": ...,
}

parent.create_project(**kwargs)
  1. See CreateProjectRequestTypeDef

create_remote_access_session#

Specifies and starts a remote access session.

Type annotations and code completion for boto3.client("devicefarm").create_remote_access_session method. boto3 documentation

# create_remote_access_session method definition

def create_remote_access_session(
    self,
    *,
    projectArn: str,
    deviceArn: str,
    instanceArn: str = ...,
    sshPublicKey: str = ...,
    remoteDebugEnabled: bool = ...,
    remoteRecordEnabled: bool = ...,
    remoteRecordAppArn: str = ...,
    name: str = ...,
    clientId: str = ...,
    configuration: CreateRemoteAccessSessionConfigurationTypeDef = ...,  # (1)
    interactionMode: InteractionModeType = ...,  # (2)
    skipAppResign: bool = ...,
) -> CreateRemoteAccessSessionResultTypeDef:  # (3)
    ...
  1. See CreateRemoteAccessSessionConfigurationTypeDef
  2. See InteractionModeType
  3. See CreateRemoteAccessSessionResultTypeDef
# create_remote_access_session method usage example with argument unpacking

kwargs: CreateRemoteAccessSessionRequestTypeDef = {  # (1)
    "projectArn": ...,
    "deviceArn": ...,
}

parent.create_remote_access_session(**kwargs)
  1. See CreateRemoteAccessSessionRequestTypeDef

create_test_grid_project#

Creates a Selenium testing project.

Type annotations and code completion for boto3.client("devicefarm").create_test_grid_project method. boto3 documentation

# create_test_grid_project method definition

def create_test_grid_project(
    self,
    *,
    name: str,
    description: str = ...,
    vpcConfig: TestGridVpcConfigUnionTypeDef = ...,  # (1)
) -> CreateTestGridProjectResultTypeDef:  # (2)
    ...
  1. See TestGridVpcConfigTypeDef TestGridVpcConfigOutputTypeDef
  2. See CreateTestGridProjectResultTypeDef
# create_test_grid_project method usage example with argument unpacking

kwargs: CreateTestGridProjectRequestTypeDef = {  # (1)
    "name": ...,
}

parent.create_test_grid_project(**kwargs)
  1. See CreateTestGridProjectRequestTypeDef

create_test_grid_url#

Creates a signed, short-term URL that can be passed to a Selenium RemoteWebDriver constructor.

Type annotations and code completion for boto3.client("devicefarm").create_test_grid_url method. boto3 documentation

# create_test_grid_url method definition

def create_test_grid_url(
    self,
    *,
    projectArn: str,
    expiresInSeconds: int,
) -> CreateTestGridUrlResultTypeDef:  # (1)
    ...
  1. See CreateTestGridUrlResultTypeDef
# create_test_grid_url method usage example with argument unpacking

kwargs: CreateTestGridUrlRequestTypeDef = {  # (1)
    "projectArn": ...,
    "expiresInSeconds": ...,
}

parent.create_test_grid_url(**kwargs)
  1. See CreateTestGridUrlRequestTypeDef

create_upload#

Uploads an app or test scripts.

Type annotations and code completion for boto3.client("devicefarm").create_upload method. boto3 documentation

# create_upload method definition

def create_upload(
    self,
    *,
    projectArn: str,
    name: str,
    type: UploadTypeType,  # (1)
    contentType: str = ...,
) -> CreateUploadResultTypeDef:  # (2)
    ...
  1. See UploadTypeType
  2. See CreateUploadResultTypeDef
# create_upload method usage example with argument unpacking

kwargs: CreateUploadRequestTypeDef = {  # (1)
    "projectArn": ...,
    "name": ...,
    "type": ...,
}

parent.create_upload(**kwargs)
  1. See CreateUploadRequestTypeDef

create_vpce_configuration#

Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint.

Type annotations and code completion for boto3.client("devicefarm").create_vpce_configuration method. boto3 documentation

# create_vpce_configuration method definition

def create_vpce_configuration(
    self,
    *,
    vpceConfigurationName: str,
    vpceServiceName: str,
    serviceDnsName: str,
    vpceConfigurationDescription: str = ...,
) -> CreateVPCEConfigurationResultTypeDef:  # (1)
    ...
  1. See CreateVPCEConfigurationResultTypeDef
# create_vpce_configuration method usage example with argument unpacking

kwargs: CreateVPCEConfigurationRequestTypeDef = {  # (1)
    "vpceConfigurationName": ...,
    "vpceServiceName": ...,
    "serviceDnsName": ...,
}

parent.create_vpce_configuration(**kwargs)
  1. See CreateVPCEConfigurationRequestTypeDef

delete_device_pool#

Deletes a device pool given the pool ARN.

Type annotations and code completion for boto3.client("devicefarm").delete_device_pool method. boto3 documentation

# delete_device_pool method definition

def delete_device_pool(
    self,
    *,
    arn: str,
) -> Dict[str, Any]:
    ...
# delete_device_pool method usage example with argument unpacking

kwargs: DeleteDevicePoolRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.delete_device_pool(**kwargs)
  1. See DeleteDevicePoolRequestTypeDef

delete_instance_profile#

Deletes a profile that can be applied to one or more private device instances.

Type annotations and code completion for boto3.client("devicefarm").delete_instance_profile method. boto3 documentation

# delete_instance_profile method definition

def delete_instance_profile(
    self,
    *,
    arn: str,
) -> Dict[str, Any]:
    ...
# delete_instance_profile method usage example with argument unpacking

kwargs: DeleteInstanceProfileRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.delete_instance_profile(**kwargs)
  1. See DeleteInstanceProfileRequestTypeDef

delete_network_profile#

Deletes a network profile.

Type annotations and code completion for boto3.client("devicefarm").delete_network_profile method. boto3 documentation

# delete_network_profile method definition

def delete_network_profile(
    self,
    *,
    arn: str,
) -> Dict[str, Any]:
    ...
# delete_network_profile method usage example with argument unpacking

kwargs: DeleteNetworkProfileRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.delete_network_profile(**kwargs)
  1. See DeleteNetworkProfileRequestTypeDef

delete_project#

Deletes an AWS Device Farm project, given the project ARN.

Type annotations and code completion for boto3.client("devicefarm").delete_project method. boto3 documentation

# delete_project method definition

def delete_project(
    self,
    *,
    arn: str,
) -> Dict[str, Any]:
    ...
# delete_project method usage example with argument unpacking

kwargs: DeleteProjectRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.delete_project(**kwargs)
  1. See DeleteProjectRequestTypeDef

delete_remote_access_session#

Deletes a completed remote access session and its results.

Type annotations and code completion for boto3.client("devicefarm").delete_remote_access_session method. boto3 documentation

# delete_remote_access_session method definition

def delete_remote_access_session(
    self,
    *,
    arn: str,
) -> Dict[str, Any]:
    ...
# delete_remote_access_session method usage example with argument unpacking

kwargs: DeleteRemoteAccessSessionRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.delete_remote_access_session(**kwargs)
  1. See DeleteRemoteAccessSessionRequestTypeDef

delete_run#

Deletes the run, given the run ARN.

Type annotations and code completion for boto3.client("devicefarm").delete_run method. boto3 documentation

# delete_run method definition

def delete_run(
    self,
    *,
    arn: str,
) -> Dict[str, Any]:
    ...
# delete_run method usage example with argument unpacking

kwargs: DeleteRunRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.delete_run(**kwargs)
  1. See DeleteRunRequestTypeDef

delete_test_grid_project#

Deletes a Selenium testing project and all content generated under it.

Type annotations and code completion for boto3.client("devicefarm").delete_test_grid_project method. boto3 documentation

# delete_test_grid_project method definition

def delete_test_grid_project(
    self,
    *,
    projectArn: str,
) -> Dict[str, Any]:
    ...
# delete_test_grid_project method usage example with argument unpacking

kwargs: DeleteTestGridProjectRequestTypeDef = {  # (1)
    "projectArn": ...,
}

parent.delete_test_grid_project(**kwargs)
  1. See DeleteTestGridProjectRequestTypeDef

delete_upload#

Deletes an upload given the upload ARN.

Type annotations and code completion for boto3.client("devicefarm").delete_upload method. boto3 documentation

# delete_upload method definition

def delete_upload(
    self,
    *,
    arn: str,
) -> Dict[str, Any]:
    ...
# delete_upload method usage example with argument unpacking

kwargs: DeleteUploadRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.delete_upload(**kwargs)
  1. See DeleteUploadRequestTypeDef

delete_vpce_configuration#

Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint.

Type annotations and code completion for boto3.client("devicefarm").delete_vpce_configuration method. boto3 documentation

# delete_vpce_configuration method definition

def delete_vpce_configuration(
    self,
    *,
    arn: str,
) -> Dict[str, Any]:
    ...
# delete_vpce_configuration method usage example with argument unpacking

kwargs: DeleteVPCEConfigurationRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.delete_vpce_configuration(**kwargs)
  1. See DeleteVPCEConfigurationRequestTypeDef

get_account_settings#

Returns the number of unmetered iOS or unmetered Android devices that have been purchased by the account.

Type annotations and code completion for boto3.client("devicefarm").get_account_settings method. boto3 documentation

# get_account_settings method definition

def get_account_settings(
    self,
) -> GetAccountSettingsResultTypeDef:  # (1)
    ...
  1. See GetAccountSettingsResultTypeDef

get_device#

Gets information about a unique device type.

Type annotations and code completion for boto3.client("devicefarm").get_device method. boto3 documentation

# get_device method definition

def get_device(
    self,
    *,
    arn: str,
) -> GetDeviceResultTypeDef:  # (1)
    ...
  1. See GetDeviceResultTypeDef
# get_device method usage example with argument unpacking

kwargs: GetDeviceRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.get_device(**kwargs)
  1. See GetDeviceRequestTypeDef

get_device_instance#

Returns information about a device instance that belongs to a private device fleet.

Type annotations and code completion for boto3.client("devicefarm").get_device_instance method. boto3 documentation

# get_device_instance method definition

def get_device_instance(
    self,
    *,
    arn: str,
) -> GetDeviceInstanceResultTypeDef:  # (1)
    ...
  1. See GetDeviceInstanceResultTypeDef
# get_device_instance method usage example with argument unpacking

kwargs: GetDeviceInstanceRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.get_device_instance(**kwargs)
  1. See GetDeviceInstanceRequestTypeDef

get_device_pool#

Gets information about a device pool.

Type annotations and code completion for boto3.client("devicefarm").get_device_pool method. boto3 documentation

# get_device_pool method definition

def get_device_pool(
    self,
    *,
    arn: str,
) -> GetDevicePoolResultTypeDef:  # (1)
    ...
  1. See GetDevicePoolResultTypeDef
# get_device_pool method usage example with argument unpacking

kwargs: GetDevicePoolRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.get_device_pool(**kwargs)
  1. See GetDevicePoolRequestTypeDef

get_device_pool_compatibility#

Gets information about compatibility with a device pool.

Type annotations and code completion for boto3.client("devicefarm").get_device_pool_compatibility method. boto3 documentation

# get_device_pool_compatibility method definition

def get_device_pool_compatibility(
    self,
    *,
    devicePoolArn: str,
    appArn: str = ...,
    testType: TestTypeType = ...,  # (1)
    test: ScheduleRunTestTypeDef = ...,  # (2)
    configuration: ScheduleRunConfigurationTypeDef = ...,  # (3)
) -> GetDevicePoolCompatibilityResultTypeDef:  # (4)
    ...
  1. See TestTypeType
  2. See ScheduleRunTestTypeDef
  3. See ScheduleRunConfigurationTypeDef
  4. See GetDevicePoolCompatibilityResultTypeDef
# get_device_pool_compatibility method usage example with argument unpacking

kwargs: GetDevicePoolCompatibilityRequestTypeDef = {  # (1)
    "devicePoolArn": ...,
}

parent.get_device_pool_compatibility(**kwargs)
  1. See GetDevicePoolCompatibilityRequestTypeDef

get_instance_profile#

Returns information about the specified instance profile.

Type annotations and code completion for boto3.client("devicefarm").get_instance_profile method. boto3 documentation

# get_instance_profile method definition

def get_instance_profile(
    self,
    *,
    arn: str,
) -> GetInstanceProfileResultTypeDef:  # (1)
    ...
  1. See GetInstanceProfileResultTypeDef
# get_instance_profile method usage example with argument unpacking

kwargs: GetInstanceProfileRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.get_instance_profile(**kwargs)
  1. See GetInstanceProfileRequestTypeDef

get_job#

Gets information about a job.

Type annotations and code completion for boto3.client("devicefarm").get_job method. boto3 documentation

# get_job method definition

def get_job(
    self,
    *,
    arn: str,
) -> GetJobResultTypeDef:  # (1)
    ...
  1. See GetJobResultTypeDef
# get_job method usage example with argument unpacking

kwargs: GetJobRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.get_job(**kwargs)
  1. See GetJobRequestTypeDef

get_network_profile#

Returns information about a network profile.

Type annotations and code completion for boto3.client("devicefarm").get_network_profile method. boto3 documentation

# get_network_profile method definition

def get_network_profile(
    self,
    *,
    arn: str,
) -> GetNetworkProfileResultTypeDef:  # (1)
    ...
  1. See GetNetworkProfileResultTypeDef
# get_network_profile method usage example with argument unpacking

kwargs: GetNetworkProfileRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.get_network_profile(**kwargs)
  1. See GetNetworkProfileRequestTypeDef

get_offering_status#

Gets the current status and future status of all offerings purchased by an AWS account.

Type annotations and code completion for boto3.client("devicefarm").get_offering_status method. boto3 documentation

# get_offering_status method definition

def get_offering_status(
    self,
    *,
    nextToken: str = ...,
) -> GetOfferingStatusResultTypeDef:  # (1)
    ...
  1. See GetOfferingStatusResultTypeDef
# get_offering_status method usage example with argument unpacking

kwargs: GetOfferingStatusRequestTypeDef = {  # (1)
    "nextToken": ...,
}

parent.get_offering_status(**kwargs)
  1. See GetOfferingStatusRequestTypeDef

get_project#

Gets information about a project.

Type annotations and code completion for boto3.client("devicefarm").get_project method. boto3 documentation

# get_project method definition

def get_project(
    self,
    *,
    arn: str,
) -> GetProjectResultTypeDef:  # (1)
    ...
  1. See GetProjectResultTypeDef
# get_project method usage example with argument unpacking

kwargs: GetProjectRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.get_project(**kwargs)
  1. See GetProjectRequestTypeDef

get_remote_access_session#

Returns a link to a currently running remote access session.

Type annotations and code completion for boto3.client("devicefarm").get_remote_access_session method. boto3 documentation

# get_remote_access_session method definition

def get_remote_access_session(
    self,
    *,
    arn: str,
) -> GetRemoteAccessSessionResultTypeDef:  # (1)
    ...
  1. See GetRemoteAccessSessionResultTypeDef
# get_remote_access_session method usage example with argument unpacking

kwargs: GetRemoteAccessSessionRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.get_remote_access_session(**kwargs)
  1. See GetRemoteAccessSessionRequestTypeDef

get_run#

Gets information about a run.

Type annotations and code completion for boto3.client("devicefarm").get_run method. boto3 documentation

# get_run method definition

def get_run(
    self,
    *,
    arn: str,
) -> GetRunResultTypeDef:  # (1)
    ...
  1. See GetRunResultTypeDef
# get_run method usage example with argument unpacking

kwargs: GetRunRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.get_run(**kwargs)
  1. See GetRunRequestTypeDef

get_suite#

Gets information about a suite.

Type annotations and code completion for boto3.client("devicefarm").get_suite method. boto3 documentation

# get_suite method definition

def get_suite(
    self,
    *,
    arn: str,
) -> GetSuiteResultTypeDef:  # (1)
    ...
  1. See GetSuiteResultTypeDef
# get_suite method usage example with argument unpacking

kwargs: GetSuiteRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.get_suite(**kwargs)
  1. See GetSuiteRequestTypeDef

get_test#

Gets information about a test.

Type annotations and code completion for boto3.client("devicefarm").get_test method. boto3 documentation

# get_test method definition

def get_test(
    self,
    *,
    arn: str,
) -> GetTestResultTypeDef:  # (1)
    ...
  1. See GetTestResultTypeDef
# get_test method usage example with argument unpacking

kwargs: GetTestRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.get_test(**kwargs)
  1. See GetTestRequestTypeDef

get_test_grid_project#

Retrieves information about a Selenium testing project.

Type annotations and code completion for boto3.client("devicefarm").get_test_grid_project method. boto3 documentation

# get_test_grid_project method definition

def get_test_grid_project(
    self,
    *,
    projectArn: str,
) -> GetTestGridProjectResultTypeDef:  # (1)
    ...
  1. See GetTestGridProjectResultTypeDef
# get_test_grid_project method usage example with argument unpacking

kwargs: GetTestGridProjectRequestTypeDef = {  # (1)
    "projectArn": ...,
}

parent.get_test_grid_project(**kwargs)
  1. See GetTestGridProjectRequestTypeDef

get_test_grid_session#

A session is an instance of a browser created through a RemoteWebDriver with the URL from CreateTestGridUrlResult$url.

Type annotations and code completion for boto3.client("devicefarm").get_test_grid_session method. boto3 documentation

# get_test_grid_session method definition

def get_test_grid_session(
    self,
    *,
    projectArn: str = ...,
    sessionId: str = ...,
    sessionArn: str = ...,
) -> GetTestGridSessionResultTypeDef:  # (1)
    ...
  1. See GetTestGridSessionResultTypeDef
# get_test_grid_session method usage example with argument unpacking

kwargs: GetTestGridSessionRequestTypeDef = {  # (1)
    "projectArn": ...,
}

parent.get_test_grid_session(**kwargs)
  1. See GetTestGridSessionRequestTypeDef

get_upload#

Gets information about an upload.

Type annotations and code completion for boto3.client("devicefarm").get_upload method. boto3 documentation

# get_upload method definition

def get_upload(
    self,
    *,
    arn: str,
) -> GetUploadResultTypeDef:  # (1)
    ...
  1. See GetUploadResultTypeDef
# get_upload method usage example with argument unpacking

kwargs: GetUploadRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.get_upload(**kwargs)
  1. See GetUploadRequestTypeDef

get_vpce_configuration#

Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint.

Type annotations and code completion for boto3.client("devicefarm").get_vpce_configuration method. boto3 documentation

# get_vpce_configuration method definition

def get_vpce_configuration(
    self,
    *,
    arn: str,
) -> GetVPCEConfigurationResultTypeDef:  # (1)
    ...
  1. See GetVPCEConfigurationResultTypeDef
# get_vpce_configuration method usage example with argument unpacking

kwargs: GetVPCEConfigurationRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.get_vpce_configuration(**kwargs)
  1. See GetVPCEConfigurationRequestTypeDef

install_to_remote_access_session#

Installs an application to the device in a remote access session.

Type annotations and code completion for boto3.client("devicefarm").install_to_remote_access_session method. boto3 documentation

# install_to_remote_access_session method definition

def install_to_remote_access_session(
    self,
    *,
    remoteAccessSessionArn: str,
    appArn: str,
) -> InstallToRemoteAccessSessionResultTypeDef:  # (1)
    ...
  1. See InstallToRemoteAccessSessionResultTypeDef
# install_to_remote_access_session method usage example with argument unpacking

kwargs: InstallToRemoteAccessSessionRequestTypeDef = {  # (1)
    "remoteAccessSessionArn": ...,
    "appArn": ...,
}

parent.install_to_remote_access_session(**kwargs)
  1. See InstallToRemoteAccessSessionRequestTypeDef

list_artifacts#

Gets information about artifacts.

Type annotations and code completion for boto3.client("devicefarm").list_artifacts method. boto3 documentation

# list_artifacts method definition

def list_artifacts(
    self,
    *,
    arn: str,
    type: ArtifactCategoryType,  # (1)
    nextToken: str = ...,
) -> ListArtifactsResultTypeDef:  # (2)
    ...
  1. See ArtifactCategoryType
  2. See ListArtifactsResultTypeDef
# list_artifacts method usage example with argument unpacking

kwargs: ListArtifactsRequestTypeDef = {  # (1)
    "arn": ...,
    "type": ...,
}

parent.list_artifacts(**kwargs)
  1. See ListArtifactsRequestTypeDef

list_device_instances#

Returns information about the private device instances associated with one or more AWS accounts.

Type annotations and code completion for boto3.client("devicefarm").list_device_instances method. boto3 documentation

# list_device_instances method definition

def list_device_instances(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListDeviceInstancesResultTypeDef:  # (1)
    ...
  1. See ListDeviceInstancesResultTypeDef
# list_device_instances method usage example with argument unpacking

kwargs: ListDeviceInstancesRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_device_instances(**kwargs)
  1. See ListDeviceInstancesRequestTypeDef

list_device_pools#

Gets information about device pools.

Type annotations and code completion for boto3.client("devicefarm").list_device_pools method. boto3 documentation

# list_device_pools method definition

def list_device_pools(
    self,
    *,
    arn: str,
    type: DevicePoolTypeType = ...,  # (1)
    nextToken: str = ...,
) -> ListDevicePoolsResultTypeDef:  # (2)
    ...
  1. See DevicePoolTypeType
  2. See ListDevicePoolsResultTypeDef
# list_device_pools method usage example with argument unpacking

kwargs: ListDevicePoolsRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.list_device_pools(**kwargs)
  1. See ListDevicePoolsRequestTypeDef

list_devices#

Gets information about unique device types.

Type annotations and code completion for boto3.client("devicefarm").list_devices method. boto3 documentation

# list_devices method definition

def list_devices(
    self,
    *,
    arn: str = ...,
    nextToken: str = ...,
    filters: Sequence[DeviceFilterUnionTypeDef] = ...,  # (1)
) -> ListDevicesResultTypeDef:  # (2)
    ...
  1. See DeviceFilterTypeDef DeviceFilterOutputTypeDef
  2. See ListDevicesResultTypeDef
# list_devices method usage example with argument unpacking

kwargs: ListDevicesRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.list_devices(**kwargs)
  1. See ListDevicesRequestTypeDef

list_instance_profiles#

Returns information about all the instance profiles in an AWS account.

Type annotations and code completion for boto3.client("devicefarm").list_instance_profiles method. boto3 documentation

# list_instance_profiles method definition

def list_instance_profiles(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListInstanceProfilesResultTypeDef:  # (1)
    ...
  1. See ListInstanceProfilesResultTypeDef
# list_instance_profiles method usage example with argument unpacking

kwargs: ListInstanceProfilesRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_instance_profiles(**kwargs)
  1. See ListInstanceProfilesRequestTypeDef

list_jobs#

Gets information about jobs for a given test run.

Type annotations and code completion for boto3.client("devicefarm").list_jobs method. boto3 documentation

# list_jobs method definition

def list_jobs(
    self,
    *,
    arn: str,
    nextToken: str = ...,
) -> ListJobsResultTypeDef:  # (1)
    ...
  1. See ListJobsResultTypeDef
# list_jobs method usage example with argument unpacking

kwargs: ListJobsRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.list_jobs(**kwargs)
  1. See ListJobsRequestTypeDef

list_network_profiles#

Returns the list of available network profiles.

Type annotations and code completion for boto3.client("devicefarm").list_network_profiles method. boto3 documentation

# list_network_profiles method definition

def list_network_profiles(
    self,
    *,
    arn: str,
    type: NetworkProfileTypeType = ...,  # (1)
    nextToken: str = ...,
) -> ListNetworkProfilesResultTypeDef:  # (2)
    ...
  1. See NetworkProfileTypeType
  2. See ListNetworkProfilesResultTypeDef
# list_network_profiles method usage example with argument unpacking

kwargs: ListNetworkProfilesRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.list_network_profiles(**kwargs)
  1. See ListNetworkProfilesRequestTypeDef

list_offering_promotions#

Returns a list of offering promotions.

Type annotations and code completion for boto3.client("devicefarm").list_offering_promotions method. boto3 documentation

# list_offering_promotions method definition

def list_offering_promotions(
    self,
    *,
    nextToken: str = ...,
) -> ListOfferingPromotionsResultTypeDef:  # (1)
    ...
  1. See ListOfferingPromotionsResultTypeDef
# list_offering_promotions method usage example with argument unpacking

kwargs: ListOfferingPromotionsRequestTypeDef = {  # (1)
    "nextToken": ...,
}

parent.list_offering_promotions(**kwargs)
  1. See ListOfferingPromotionsRequestTypeDef

list_offering_transactions#

Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.

Type annotations and code completion for boto3.client("devicefarm").list_offering_transactions method. boto3 documentation

# list_offering_transactions method definition

def list_offering_transactions(
    self,
    *,
    nextToken: str = ...,
) -> ListOfferingTransactionsResultTypeDef:  # (1)
    ...
  1. See ListOfferingTransactionsResultTypeDef
# list_offering_transactions method usage example with argument unpacking

kwargs: ListOfferingTransactionsRequestTypeDef = {  # (1)
    "nextToken": ...,
}

parent.list_offering_transactions(**kwargs)
  1. See ListOfferingTransactionsRequestTypeDef

list_offerings#

Returns a list of products or offerings that the user can manage through the API.

Type annotations and code completion for boto3.client("devicefarm").list_offerings method. boto3 documentation

# list_offerings method definition

def list_offerings(
    self,
    *,
    nextToken: str = ...,
) -> ListOfferingsResultTypeDef:  # (1)
    ...
  1. See ListOfferingsResultTypeDef
# list_offerings method usage example with argument unpacking

kwargs: ListOfferingsRequestTypeDef = {  # (1)
    "nextToken": ...,
}

parent.list_offerings(**kwargs)
  1. See ListOfferingsRequestTypeDef

list_projects#

Gets information about projects.

Type annotations and code completion for boto3.client("devicefarm").list_projects method. boto3 documentation

# list_projects method definition

def list_projects(
    self,
    *,
    arn: str = ...,
    nextToken: str = ...,
) -> ListProjectsResultTypeDef:  # (1)
    ...
  1. See ListProjectsResultTypeDef
# list_projects method usage example with argument unpacking

kwargs: ListProjectsRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.list_projects(**kwargs)
  1. See ListProjectsRequestTypeDef

list_remote_access_sessions#

Returns a list of all currently running remote access sessions.

Type annotations and code completion for boto3.client("devicefarm").list_remote_access_sessions method. boto3 documentation

# list_remote_access_sessions method definition

def list_remote_access_sessions(
    self,
    *,
    arn: str,
    nextToken: str = ...,
) -> ListRemoteAccessSessionsResultTypeDef:  # (1)
    ...
  1. See ListRemoteAccessSessionsResultTypeDef
# list_remote_access_sessions method usage example with argument unpacking

kwargs: ListRemoteAccessSessionsRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.list_remote_access_sessions(**kwargs)
  1. See ListRemoteAccessSessionsRequestTypeDef

list_runs#

Gets information about runs, given an AWS Device Farm project ARN.

Type annotations and code completion for boto3.client("devicefarm").list_runs method. boto3 documentation

# list_runs method definition

def list_runs(
    self,
    *,
    arn: str,
    nextToken: str = ...,
) -> ListRunsResultTypeDef:  # (1)
    ...
  1. See ListRunsResultTypeDef
# list_runs method usage example with argument unpacking

kwargs: ListRunsRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.list_runs(**kwargs)
  1. See ListRunsRequestTypeDef

list_samples#

Gets information about samples, given an AWS Device Farm job ARN.

Type annotations and code completion for boto3.client("devicefarm").list_samples method. boto3 documentation

# list_samples method definition

def list_samples(
    self,
    *,
    arn: str,
    nextToken: str = ...,
) -> ListSamplesResultTypeDef:  # (1)
    ...
  1. See ListSamplesResultTypeDef
# list_samples method usage example with argument unpacking

kwargs: ListSamplesRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.list_samples(**kwargs)
  1. See ListSamplesRequestTypeDef

list_suites#

Gets information about test suites for a given job.

Type annotations and code completion for boto3.client("devicefarm").list_suites method. boto3 documentation

# list_suites method definition

def list_suites(
    self,
    *,
    arn: str,
    nextToken: str = ...,
) -> ListSuitesResultTypeDef:  # (1)
    ...
  1. See ListSuitesResultTypeDef
# list_suites method usage example with argument unpacking

kwargs: ListSuitesRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.list_suites(**kwargs)
  1. See ListSuitesRequestTypeDef

list_tags_for_resource#

List the tags for an AWS Device Farm resource.

Type annotations and code completion for boto3.client("devicefarm").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

def list_tags_for_resource(
    self,
    *,
    ResourceARN: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestTypeDef = {  # (1)
    "ResourceARN": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestTypeDef

list_test_grid_projects#

Gets a list of all Selenium testing projects in your account.

Type annotations and code completion for boto3.client("devicefarm").list_test_grid_projects method. boto3 documentation

# list_test_grid_projects method definition

def list_test_grid_projects(
    self,
    *,
    maxResult: int = ...,
    nextToken: str = ...,
) -> ListTestGridProjectsResultTypeDef:  # (1)
    ...
  1. See ListTestGridProjectsResultTypeDef
# list_test_grid_projects method usage example with argument unpacking

kwargs: ListTestGridProjectsRequestTypeDef = {  # (1)
    "maxResult": ...,
}

parent.list_test_grid_projects(**kwargs)
  1. See ListTestGridProjectsRequestTypeDef

list_test_grid_session_actions#

Returns a list of the actions taken in a TestGridSession.

Type annotations and code completion for boto3.client("devicefarm").list_test_grid_session_actions method. boto3 documentation

# list_test_grid_session_actions method definition

def list_test_grid_session_actions(
    self,
    *,
    sessionArn: str,
    maxResult: int = ...,
    nextToken: str = ...,
) -> ListTestGridSessionActionsResultTypeDef:  # (1)
    ...
  1. See ListTestGridSessionActionsResultTypeDef
# list_test_grid_session_actions method usage example with argument unpacking

kwargs: ListTestGridSessionActionsRequestTypeDef = {  # (1)
    "sessionArn": ...,
}

parent.list_test_grid_session_actions(**kwargs)
  1. See ListTestGridSessionActionsRequestTypeDef

list_test_grid_session_artifacts#

Retrieves a list of artifacts created during the session.

Type annotations and code completion for boto3.client("devicefarm").list_test_grid_session_artifacts method. boto3 documentation

# list_test_grid_session_artifacts method definition

def list_test_grid_session_artifacts(
    self,
    *,
    sessionArn: str,
    type: TestGridSessionArtifactCategoryType = ...,  # (1)
    maxResult: int = ...,
    nextToken: str = ...,
) -> ListTestGridSessionArtifactsResultTypeDef:  # (2)
    ...
  1. See TestGridSessionArtifactCategoryType
  2. See ListTestGridSessionArtifactsResultTypeDef
# list_test_grid_session_artifacts method usage example with argument unpacking

kwargs: ListTestGridSessionArtifactsRequestTypeDef = {  # (1)
    "sessionArn": ...,
}

parent.list_test_grid_session_artifacts(**kwargs)
  1. See ListTestGridSessionArtifactsRequestTypeDef

list_test_grid_sessions#

Retrieves a list of sessions for a TestGridProject.

Type annotations and code completion for boto3.client("devicefarm").list_test_grid_sessions method. boto3 documentation

# list_test_grid_sessions method definition

def list_test_grid_sessions(
    self,
    *,
    projectArn: str,
    status: TestGridSessionStatusType = ...,  # (1)
    creationTimeAfter: TimestampTypeDef = ...,
    creationTimeBefore: TimestampTypeDef = ...,
    endTimeAfter: TimestampTypeDef = ...,
    endTimeBefore: TimestampTypeDef = ...,
    maxResult: int = ...,
    nextToken: str = ...,
) -> ListTestGridSessionsResultTypeDef:  # (2)
    ...
  1. See TestGridSessionStatusType
  2. See ListTestGridSessionsResultTypeDef
# list_test_grid_sessions method usage example with argument unpacking

kwargs: ListTestGridSessionsRequestTypeDef = {  # (1)
    "projectArn": ...,
}

parent.list_test_grid_sessions(**kwargs)
  1. See ListTestGridSessionsRequestTypeDef

list_tests#

Gets information about tests in a given test suite.

Type annotations and code completion for boto3.client("devicefarm").list_tests method. boto3 documentation

# list_tests method definition

def list_tests(
    self,
    *,
    arn: str,
    nextToken: str = ...,
) -> ListTestsResultTypeDef:  # (1)
    ...
  1. See ListTestsResultTypeDef
# list_tests method usage example with argument unpacking

kwargs: ListTestsRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.list_tests(**kwargs)
  1. See ListTestsRequestTypeDef

list_unique_problems#

Gets information about unique problems, such as exceptions or crashes.

Type annotations and code completion for boto3.client("devicefarm").list_unique_problems method. boto3 documentation

# list_unique_problems method definition

def list_unique_problems(
    self,
    *,
    arn: str,
    nextToken: str = ...,
) -> ListUniqueProblemsResultTypeDef:  # (1)
    ...
  1. See ListUniqueProblemsResultTypeDef
# list_unique_problems method usage example with argument unpacking

kwargs: ListUniqueProblemsRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.list_unique_problems(**kwargs)
  1. See ListUniqueProblemsRequestTypeDef

list_uploads#

Gets information about uploads, given an AWS Device Farm project ARN.

Type annotations and code completion for boto3.client("devicefarm").list_uploads method. boto3 documentation

# list_uploads method definition

def list_uploads(
    self,
    *,
    arn: str,
    type: UploadTypeType = ...,  # (1)
    nextToken: str = ...,
) -> ListUploadsResultTypeDef:  # (2)
    ...
  1. See UploadTypeType
  2. See ListUploadsResultTypeDef
# list_uploads method usage example with argument unpacking

kwargs: ListUploadsRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.list_uploads(**kwargs)
  1. See ListUploadsRequestTypeDef

list_vpce_configurations#

Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations in the AWS account.

Type annotations and code completion for boto3.client("devicefarm").list_vpce_configurations method. boto3 documentation

# list_vpce_configurations method definition

def list_vpce_configurations(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListVPCEConfigurationsResultTypeDef:  # (1)
    ...
  1. See ListVPCEConfigurationsResultTypeDef
# list_vpce_configurations method usage example with argument unpacking

kwargs: ListVPCEConfigurationsRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_vpce_configurations(**kwargs)
  1. See ListVPCEConfigurationsRequestTypeDef

purchase_offering#

Immediately purchases offerings for an AWS account.

Type annotations and code completion for boto3.client("devicefarm").purchase_offering method. boto3 documentation

# purchase_offering method definition

def purchase_offering(
    self,
    *,
    offeringId: str,
    quantity: int,
    offeringPromotionId: str = ...,
) -> PurchaseOfferingResultTypeDef:  # (1)
    ...
  1. See PurchaseOfferingResultTypeDef
# purchase_offering method usage example with argument unpacking

kwargs: PurchaseOfferingRequestTypeDef = {  # (1)
    "offeringId": ...,
    "quantity": ...,
}

parent.purchase_offering(**kwargs)
  1. See PurchaseOfferingRequestTypeDef

renew_offering#

Explicitly sets the quantity of devices to renew for an offering, starting from the effectiveDate of the next period.

Type annotations and code completion for boto3.client("devicefarm").renew_offering method. boto3 documentation

# renew_offering method definition

def renew_offering(
    self,
    *,
    offeringId: str,
    quantity: int,
) -> RenewOfferingResultTypeDef:  # (1)
    ...
  1. See RenewOfferingResultTypeDef
# renew_offering method usage example with argument unpacking

kwargs: RenewOfferingRequestTypeDef = {  # (1)
    "offeringId": ...,
    "quantity": ...,
}

parent.renew_offering(**kwargs)
  1. See RenewOfferingRequestTypeDef

schedule_run#

Schedules a run.

Type annotations and code completion for boto3.client("devicefarm").schedule_run method. boto3 documentation

# schedule_run method definition

def schedule_run(
    self,
    *,
    projectArn: str,
    test: ScheduleRunTestTypeDef,  # (1)
    appArn: str = ...,
    devicePoolArn: str = ...,
    deviceSelectionConfiguration: DeviceSelectionConfigurationTypeDef = ...,  # (2)
    name: str = ...,
    configuration: ScheduleRunConfigurationTypeDef = ...,  # (3)
    executionConfiguration: ExecutionConfigurationTypeDef = ...,  # (4)
) -> ScheduleRunResultTypeDef:  # (5)
    ...
  1. See ScheduleRunTestTypeDef
  2. See DeviceSelectionConfigurationTypeDef
  3. See ScheduleRunConfigurationTypeDef
  4. See ExecutionConfigurationTypeDef
  5. See ScheduleRunResultTypeDef
# schedule_run method usage example with argument unpacking

kwargs: ScheduleRunRequestTypeDef = {  # (1)
    "projectArn": ...,
    "test": ...,
}

parent.schedule_run(**kwargs)
  1. See ScheduleRunRequestTypeDef

stop_job#

Initiates a stop request for the current job.

Type annotations and code completion for boto3.client("devicefarm").stop_job method. boto3 documentation

# stop_job method definition

def stop_job(
    self,
    *,
    arn: str,
) -> StopJobResultTypeDef:  # (1)
    ...
  1. See StopJobResultTypeDef
# stop_job method usage example with argument unpacking

kwargs: StopJobRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.stop_job(**kwargs)
  1. See StopJobRequestTypeDef

stop_remote_access_session#

Ends a specified remote access session.

Type annotations and code completion for boto3.client("devicefarm").stop_remote_access_session method. boto3 documentation

# stop_remote_access_session method definition

def stop_remote_access_session(
    self,
    *,
    arn: str,
) -> StopRemoteAccessSessionResultTypeDef:  # (1)
    ...
  1. See StopRemoteAccessSessionResultTypeDef
# stop_remote_access_session method usage example with argument unpacking

kwargs: StopRemoteAccessSessionRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.stop_remote_access_session(**kwargs)
  1. See StopRemoteAccessSessionRequestTypeDef

stop_run#

Initiates a stop request for the current test run.

Type annotations and code completion for boto3.client("devicefarm").stop_run method. boto3 documentation

# stop_run method definition

def stop_run(
    self,
    *,
    arn: str,
) -> StopRunResultTypeDef:  # (1)
    ...
  1. See StopRunResultTypeDef
# stop_run method usage example with argument unpacking

kwargs: StopRunRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.stop_run(**kwargs)
  1. See StopRunRequestTypeDef

tag_resource#

Associates the specified tags to a resource with the specified resourceArn.

Type annotations and code completion for boto3.client("devicefarm").tag_resource method. boto3 documentation

# tag_resource method definition

def tag_resource(
    self,
    *,
    ResourceARN: str,
    Tags: Sequence[TagTypeDef],  # (1)
) -> Dict[str, Any]:
    ...
  1. See TagTypeDef
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestTypeDef = {  # (1)
    "ResourceARN": ...,
    "Tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestTypeDef

untag_resource#

Deletes the specified tags from a resource.

Type annotations and code completion for boto3.client("devicefarm").untag_resource method. boto3 documentation

# untag_resource method definition

def untag_resource(
    self,
    *,
    ResourceARN: str,
    TagKeys: Sequence[str],
) -> Dict[str, Any]:
    ...
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceRequestTypeDef = {  # (1)
    "ResourceARN": ...,
    "TagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestTypeDef

update_device_instance#

Updates information about a private device instance.

Type annotations and code completion for boto3.client("devicefarm").update_device_instance method. boto3 documentation

# update_device_instance method definition

def update_device_instance(
    self,
    *,
    arn: str,
    profileArn: str = ...,
    labels: Sequence[str] = ...,
) -> UpdateDeviceInstanceResultTypeDef:  # (1)
    ...
  1. See UpdateDeviceInstanceResultTypeDef
# update_device_instance method usage example with argument unpacking

kwargs: UpdateDeviceInstanceRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.update_device_instance(**kwargs)
  1. See UpdateDeviceInstanceRequestTypeDef

update_device_pool#

Modifies the name, description, and rules in a device pool given the attributes and the pool ARN.

Type annotations and code completion for boto3.client("devicefarm").update_device_pool method. boto3 documentation

# update_device_pool method definition

def update_device_pool(
    self,
    *,
    arn: str,
    name: str = ...,
    description: str = ...,
    rules: Sequence[RuleTypeDef] = ...,  # (1)
    maxDevices: int = ...,
    clearMaxDevices: bool = ...,
) -> UpdateDevicePoolResultTypeDef:  # (2)
    ...
  1. See RuleTypeDef
  2. See UpdateDevicePoolResultTypeDef
# update_device_pool method usage example with argument unpacking

kwargs: UpdateDevicePoolRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.update_device_pool(**kwargs)
  1. See UpdateDevicePoolRequestTypeDef

update_instance_profile#

Updates information about an existing private device instance profile.

Type annotations and code completion for boto3.client("devicefarm").update_instance_profile method. boto3 documentation

# update_instance_profile method definition

def update_instance_profile(
    self,
    *,
    arn: str,
    name: str = ...,
    description: str = ...,
    packageCleanup: bool = ...,
    excludeAppPackagesFromCleanup: Sequence[str] = ...,
    rebootAfterUse: bool = ...,
) -> UpdateInstanceProfileResultTypeDef:  # (1)
    ...
  1. See UpdateInstanceProfileResultTypeDef
# update_instance_profile method usage example with argument unpacking

kwargs: UpdateInstanceProfileRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.update_instance_profile(**kwargs)
  1. See UpdateInstanceProfileRequestTypeDef

update_network_profile#

Updates the network profile.

Type annotations and code completion for boto3.client("devicefarm").update_network_profile method. boto3 documentation

# update_network_profile method definition

def update_network_profile(
    self,
    *,
    arn: str,
    name: str = ...,
    description: str = ...,
    type: NetworkProfileTypeType = ...,  # (1)
    uplinkBandwidthBits: int = ...,
    downlinkBandwidthBits: int = ...,
    uplinkDelayMs: int = ...,
    downlinkDelayMs: int = ...,
    uplinkJitterMs: int = ...,
    downlinkJitterMs: int = ...,
    uplinkLossPercent: int = ...,
    downlinkLossPercent: int = ...,
) -> UpdateNetworkProfileResultTypeDef:  # (2)
    ...
  1. See NetworkProfileTypeType
  2. See UpdateNetworkProfileResultTypeDef
# update_network_profile method usage example with argument unpacking

kwargs: UpdateNetworkProfileRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.update_network_profile(**kwargs)
  1. See UpdateNetworkProfileRequestTypeDef

update_project#

Modifies the specified project name, given the project ARN and a new name.

Type annotations and code completion for boto3.client("devicefarm").update_project method. boto3 documentation

# update_project method definition

def update_project(
    self,
    *,
    arn: str,
    name: str = ...,
    defaultJobTimeoutMinutes: int = ...,
    vpcConfig: VpcConfigUnionTypeDef = ...,  # (1)
) -> UpdateProjectResultTypeDef:  # (2)
    ...
  1. See VpcConfigTypeDef VpcConfigOutputTypeDef
  2. See UpdateProjectResultTypeDef
# update_project method usage example with argument unpacking

kwargs: UpdateProjectRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.update_project(**kwargs)
  1. See UpdateProjectRequestTypeDef

update_test_grid_project#

Change details of a project.

Type annotations and code completion for boto3.client("devicefarm").update_test_grid_project method. boto3 documentation

# update_test_grid_project method definition

def update_test_grid_project(
    self,
    *,
    projectArn: str,
    name: str = ...,
    description: str = ...,
    vpcConfig: TestGridVpcConfigUnionTypeDef = ...,  # (1)
) -> UpdateTestGridProjectResultTypeDef:  # (2)
    ...
  1. See TestGridVpcConfigTypeDef TestGridVpcConfigOutputTypeDef
  2. See UpdateTestGridProjectResultTypeDef
# update_test_grid_project method usage example with argument unpacking

kwargs: UpdateTestGridProjectRequestTypeDef = {  # (1)
    "projectArn": ...,
}

parent.update_test_grid_project(**kwargs)
  1. See UpdateTestGridProjectRequestTypeDef

update_upload#

Updates an uploaded test spec.

Type annotations and code completion for boto3.client("devicefarm").update_upload method. boto3 documentation

# update_upload method definition

def update_upload(
    self,
    *,
    arn: str,
    name: str = ...,
    contentType: str = ...,
    editContent: bool = ...,
) -> UpdateUploadResultTypeDef:  # (1)
    ...
  1. See UpdateUploadResultTypeDef
# update_upload method usage example with argument unpacking

kwargs: UpdateUploadRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.update_upload(**kwargs)
  1. See UpdateUploadRequestTypeDef

update_vpce_configuration#

Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration.

Type annotations and code completion for boto3.client("devicefarm").update_vpce_configuration method. boto3 documentation

# update_vpce_configuration method definition

def update_vpce_configuration(
    self,
    *,
    arn: str,
    vpceConfigurationName: str = ...,
    vpceServiceName: str = ...,
    serviceDnsName: str = ...,
    vpceConfigurationDescription: str = ...,
) -> UpdateVPCEConfigurationResultTypeDef:  # (1)
    ...
  1. See UpdateVPCEConfigurationResultTypeDef
# update_vpce_configuration method usage example with argument unpacking

kwargs: UpdateVPCEConfigurationRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.update_vpce_configuration(**kwargs)
  1. See UpdateVPCEConfigurationRequestTypeDef

get_paginator#

Type annotations and code completion for boto3.client("devicefarm").get_paginator method with overloads.