DeviceFarm / Client / get_instance_profile
get_instance_profile#
- DeviceFarm.Client.get_instance_profile(**kwargs)#
Returns information about the specified instance profile.
See also: AWS API Documentation
Request Syntax
response = client.get_instance_profile( arn='string' )
- Parameters:
arn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of an instance profile.
- Return type:
dict
- Returns:
Response Syntax
{ 'instanceProfile': { 'arn': 'string', 'packageCleanup': True|False, 'excludeAppPackagesFromCleanup': [ 'string', ], 'rebootAfterUse': True|False, 'name': 'string', 'description': 'string' } }
Response Structure
(dict) –
instanceProfile (dict) –
An object that contains information about an instance profile.
arn (string) –
The Amazon Resource Name (ARN) of the instance profile.
packageCleanup (boolean) –
When set to
true
, Device Farm removes app packages after a test run. The default value isfalse
for private devices.excludeAppPackagesFromCleanup (list) –
An array of strings containing the list of app packages that should not be cleaned up from the device after a test run completes.
The list of packages is considered only if you set
packageCleanup
totrue
.(string) –
rebootAfterUse (boolean) –
When set to
true
, Device Farm reboots the instance after a test run. The default value istrue
.name (string) –
The name of the instance profile.
description (string) –
The description of the instance profile.
Exceptions