samples
Creates, updates, deletes, gets or lists a samples resource.
Overview
| Name | samples |
| Type | Resource |
| Id | aws.devicefarm.samples |
Fields
The following fields are returned by SELECT queries:
- list_samples
| Name | Datatype | Description |
|---|---|---|
arn | string | The sample's ARN. (pattern: <code>^arn:aws:devicefarm:.+</code>) |
type_ | string | The sample's type. Must be one of the following values: CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage. MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes. NATIVE_AVG_DRAWTIME NATIVE_FPS NATIVE_FRAMES NATIVE_MAX_DRAWTIME NATIVE_MIN_DRAWTIME OPENGL_AVG_DRAWTIME OPENGL_FPS OPENGL_FRAMES OPENGL_MAX_DRAWTIME OPENGL_MIN_DRAWTIME RX RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process. THREADS: A threads sample type. This is expressed as the total number of threads per app process. TX TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process. (CPU, MEMORY, THREADS, RX_RATE, TX_RATE, RX, TX, NATIVE_FRAMES, NATIVE_FPS, NATIVE_MIN_DRAWTIME, NATIVE_AVG_DRAWTIME, NATIVE_MAX_DRAWTIME, OPENGL_FRAMES, OPENGL_FPS, OPENGL_MIN_DRAWTIME, OPENGL_AVG_DRAWTIME, OPENGL_MAX_DRAWTIME) |
url | string | The presigned Amazon S3 URL that can be used with a GET request to download the sample's file. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_samples | select | region | Gets information about samples, given an AWS Device Farm job ARN. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_samples
Gets information about samples, given an AWS Device Farm job ARN.
SELECT
arn,
type_,
url
FROM aws.devicefarm.samples
WHERE region = '{{ region }}' -- required
;