v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1477335300.0 KB

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

post/#X-Amz-Target=DeviceFarm_20150623.CreateInstanceProfile

Headers

X-Amz-Target'DeviceFarm_20150623.CreateInstanceProfile' required

Request body

namestring required

The name of your instance profile.

descriptionstring

The description of your instance profile.

packageCleanupboolean

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.

excludeAppPackagesFromCleanupString[]
<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>
rebootAfterUseboolean

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

Response

Success