Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
Represents a sample of performance data.
See: newSample
smart constructor.
Sample' | |
|
Instances
Eq Sample Source # | |
Read Sample Source # | |
Show Sample Source # | |
Generic Sample Source # | |
NFData Sample Source # | |
Defined in Amazonka.DeviceFarm.Types.Sample | |
Hashable Sample Source # | |
Defined in Amazonka.DeviceFarm.Types.Sample | |
FromJSON Sample Source # | |
type Rep Sample Source # | |
Defined in Amazonka.DeviceFarm.Types.Sample type Rep Sample = D1 ('MetaData "Sample" "Amazonka.DeviceFarm.Types.Sample" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "Sample'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SampleType))))) |
Create a value of Sample
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:Sample'
, sample_arn
- The sample's ARN.
$sel:url:Sample'
, sample_url
- The presigned Amazon S3 URL that can be used with a GET request to
download the sample's file.
$sel:type':Sample'
, sample_type
- 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.
sample_url :: Lens' Sample (Maybe Text) Source #
The presigned Amazon S3 URL that can be used with a GET request to download the sample's file.
sample_type :: Lens' Sample (Maybe SampleType) Source #
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.