Protected_Protected_Protected_Initialize and perform setup for the class
Averages an array of numbers
an array of numbers to average
the average of the elements in the array
Delete many S3 files at once
the list of file names to delete
the list of the files which had errors, if any
Generate a random string of characters to be used as a unique id
the result of the call to the uuid function
Delete a device from the database
the ID of the device to delete
Delete the device authentication entity
the ID of the device to delete the authentication entity for
true if the entity was deleted, false otherwise
Delete the device key from the S3 bucket
the ID of the device to delete the key for
true if the key was deleted, false otherwise
Get the Cognito user for a device
the Cognito user
Load all run IDs from the database for the device
the ID of the device to load runs for
the list of runs
Initialize the Cognito service to manage device auth
Initialize the S3 service to manage device files
Load all devices from the database
the ID of the team to load devices for
the list of devices
Move a file in the S3 bucket from one location to another
the source path of the file to move
the destination path of the file to move
true if the file was moved, false otherwise
Reauthorize the device
the ID of the device to reauthorize
true if the device was reauthorized, false otherwise
Reauthorize the device key by moving it back to the device keys folder
the ID of the device to reauthorize the key for
true if the key was reauthorized, false otherwise
Revoke the device authorization
the ID of the device to revoke authorization for
true if the device was revoked, false otherwise
Revoke the device key by moving it to the revoked keys folder
the ID of the device to revoke the key for
true if the key was revoked, false otherwise
Update the details for a device in the database
the device input for the update
Validate the device input
the device input to validate
true if the device is valid, false otherwise
Class constructor. Calls _init() on the superclass. Add parameters as needed