get_account_settings
()¶Returns the number of unmetered iOS or unmetered Android devices that have been purchased by the account.
See also: AWS API Documentation
Request Syntax
response = client.get_account_settings()
{
'accountSettings': {
'awsAccountNumber': 'string',
'unmeteredDevices': {
'string': 123
},
'unmeteredRemoteAccessDevices': {
'string': 123
},
'maxJobTimeoutMinutes': 123,
'trialMinutes': {
'total': 123.0,
'remaining': 123.0
},
'maxSlots': {
'string': 123
},
'defaultJobTimeoutMinutes': 123,
'skipAppResign': True|False
}
}
Response Structure
Represents the account settings return values from the GetAccountSettings
request.
The account settings.
The AWS account number specified in the AccountSettings
container.
Returns the unmetered devices you have purchased or want to purchase.
Returns the unmetered remote access devices you have purchased or want to purchase.
The maximum number of minutes a test run executes before it times out.
Information about an AWS account's usage of free trial device minutes.
The total number of free trial minutes that the account started with.
The number of free trial minutes remaining in the account.
The maximum number of device slots that the AWS account can purchase. Each maximum is expressed as an offering-id:number
pair, where the offering-id
represents one of the IDs returned by the ListOfferings
command.
The default number of minutes (at the account level) a test run executes before it times out. The default value is 150 minutes.
When set to true
, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again.
For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs .
Exceptions
DeviceFarm.Client.exceptions.ArgumentException
DeviceFarm.Client.exceptions.NotFoundException
DeviceFarm.Client.exceptions.LimitExceededException
DeviceFarm.Client.exceptions.ServiceAccountException
Examples
The following example returns information about your Device Farm account settings.
response = client.get_account_settings(
)
print(response)
Expected Output:
{
'accountSettings': {
'awsAccountNumber': '123456789101',
'unmeteredDevices': {
'ANDROID': 1,
'IOS': 2,
},
},
'ResponseMetadata': {
'...': '...',
},
}