Skip to content

CreateInstanceProfileRequest

Source code in docs_src/capo_device_farm/types/create_instance_profile_request.py
class CreateInstanceProfileRequest(TypedDict, closed=True):
    name: "capo_device_farm.types.name.Name"
    """<p>The name of your instance profile.</p>"""
    description: NotRequired["capo_device_farm.types.message.Message"]
    """<p>The description of your instance profile.</p>"""
    package_cleanup: NotRequired["capo_device_farm.types.boolean.Boolean"]
    """<p>When set to <code>true</code>, Device Farm removes app packages after a test run. The default value is <code>false</code> for private devices.</p>"""
    exclude_app_packages_from_cleanup: NotRequired[
        "capo_device_farm.types.package_ids.PackageIds"
    ]
    """<p>An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.</p> <p>The list of packages is considered only if you set <code>packageCleanup</code> to <code>true</code>.</p>"""
    reboot_after_use: NotRequired["capo_device_farm.types.boolean.Boolean"]
    """<p>When set to <code>true</code>, Device Farm reboots the instance after a test run. The default value is <code>true</code>.</p>"""

description instance-attribute

description: NotRequired[Message]

The description of your instance profile.

exclude_app_packages_from_cleanup instance-attribute

exclude_app_packages_from_cleanup: NotRequired[PackageIds]

An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.

The list of packages is considered only if you set packageCleanup to true.

name instance-attribute

name: Name

The name of your instance profile.

package_cleanup instance-attribute

package_cleanup: NotRequired[Boolean]

When set to true, Device Farm removes app packages after a test run. The default value is false for private devices.

reboot_after_use instance-attribute

reboot_after_use: NotRequired[Boolean]

When set to true, Device Farm reboots the instance after a test run. The default value is true.