libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DeviceFarm.Types.Sample

Description

 
Synopsis

Documentation

data Sample Source #

Represents a sample of performance data.

See: newSample smart constructor.

Constructors

Sample' 

Fields

  • arn :: Maybe Text

    The sample's ARN.

  • url :: Maybe Text

    The presigned Amazon S3 URL that can be used with a GET request to download the sample's file.

  • type' :: Maybe SampleType

    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.

Instances

Instances details
Eq Sample Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Sample

Methods

(==) :: Sample -> Sample -> Bool #

(/=) :: Sample -> Sample -> Bool #

Read Sample Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Sample

Show Sample Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Sample

Generic Sample Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Sample

Associated Types

type Rep Sample :: Type -> Type #

Methods

from :: Sample -> Rep Sample x #

to :: Rep Sample x -> Sample #

NFData Sample Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Sample

Methods

rnf :: Sample -> () #

Hashable Sample Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Sample

Methods

hashWithSalt :: Int -> Sample -> Int #

hash :: Sample -> Int #

FromJSON Sample Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Sample

type Rep Sample Source # 
Instance details

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)))))

newSample :: Sample Source #

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_arn :: Lens' Sample (Maybe Text) Source #

The sample's ARN.

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.