{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.DeviceFarm.Types.Suite
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.DeviceFarm.Types.Suite where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.DeviceFarm.Types.Counters
import Amazonka.DeviceFarm.Types.DeviceMinutes
import Amazonka.DeviceFarm.Types.ExecutionResult
import Amazonka.DeviceFarm.Types.ExecutionStatus
import Amazonka.DeviceFarm.Types.TestType
import qualified Amazonka.Prelude as Prelude

-- | Represents a collection of one or more tests.
--
-- /See:/ 'newSuite' smart constructor.
data Suite = Suite'
  { -- | The suite\'s ARN.
    Suite -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
    -- | The suite\'s result counters.
    Suite -> Maybe Counters
counters :: Prelude.Maybe Counters,
    -- | When the suite was created.
    Suite -> Maybe POSIX
created :: Prelude.Maybe Data.POSIX,
    -- | Represents the total (metered or unmetered) minutes used by the test
    -- suite.
    Suite -> Maybe DeviceMinutes
deviceMinutes :: Prelude.Maybe DeviceMinutes,
    -- | A message about the suite\'s result.
    Suite -> Maybe Text
message :: Prelude.Maybe Prelude.Text,
    -- | The suite\'s name.
    Suite -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
    -- | The suite\'s result.
    --
    -- Allowed values include:
    --
    -- -   PENDING
    --
    -- -   PASSED
    --
    -- -   WARNED
    --
    -- -   FAILED
    --
    -- -   SKIPPED
    --
    -- -   ERRORED
    --
    -- -   STOPPED
    Suite -> Maybe ExecutionResult
result :: Prelude.Maybe ExecutionResult,
    -- | The suite\'s start time.
    Suite -> Maybe POSIX
started :: Prelude.Maybe Data.POSIX,
    -- | The suite\'s status.
    --
    -- Allowed values include:
    --
    -- -   PENDING
    --
    -- -   PENDING_CONCURRENCY
    --
    -- -   PENDING_DEVICE
    --
    -- -   PROCESSING
    --
    -- -   SCHEDULING
    --
    -- -   PREPARING
    --
    -- -   RUNNING
    --
    -- -   COMPLETED
    --
    -- -   STOPPING
    Suite -> Maybe ExecutionStatus
status :: Prelude.Maybe ExecutionStatus,
    -- | The suite\'s stop time.
    Suite -> Maybe POSIX
stopped :: Prelude.Maybe Data.POSIX,
    -- | The suite\'s type.
    --
    -- Must be one of the following values:
    --
    -- -   BUILTIN_FUZZ
    --
    -- -   BUILTIN_EXPLORER
    --
    --     Only available for Android; an app explorer that traverses an
    --     Android app, interacting with it and capturing screenshots at the
    --     same time.
    --
    -- -   APPIUM_JAVA_JUNIT
    --
    -- -   APPIUM_JAVA_TESTNG
    --
    -- -   APPIUM_PYTHON
    --
    -- -   APPIUM_NODE
    --
    -- -   APPIUM_RUBY
    --
    -- -   APPIUM_WEB_JAVA_JUNIT
    --
    -- -   APPIUM_WEB_JAVA_TESTNG
    --
    -- -   APPIUM_WEB_PYTHON
    --
    -- -   APPIUM_WEB_NODE
    --
    -- -   APPIUM_WEB_RUBY
    --
    -- -   CALABASH
    --
    -- -   INSTRUMENTATION
    --
    -- -   UIAUTOMATION
    --
    -- -   UIAUTOMATOR
    --
    -- -   XCTEST
    --
    -- -   XCTEST_UI
    Suite -> Maybe TestType
type' :: Prelude.Maybe TestType
  }
  deriving (Suite -> Suite -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Suite -> Suite -> Bool
$c/= :: Suite -> Suite -> Bool
== :: Suite -> Suite -> Bool
$c== :: Suite -> Suite -> Bool
Prelude.Eq, ReadPrec [Suite]
ReadPrec Suite
Int -> ReadS Suite
ReadS [Suite]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Suite]
$creadListPrec :: ReadPrec [Suite]
readPrec :: ReadPrec Suite
$creadPrec :: ReadPrec Suite
readList :: ReadS [Suite]
$creadList :: ReadS [Suite]
readsPrec :: Int -> ReadS Suite
$creadsPrec :: Int -> ReadS Suite
Prelude.Read, Int -> Suite -> ShowS
[Suite] -> ShowS
Suite -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Suite] -> ShowS
$cshowList :: [Suite] -> ShowS
show :: Suite -> String
$cshow :: Suite -> String
showsPrec :: Int -> Suite -> ShowS
$cshowsPrec :: Int -> Suite -> ShowS
Prelude.Show, forall x. Rep Suite x -> Suite
forall x. Suite -> Rep Suite x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Suite x -> Suite
$cfrom :: forall x. Suite -> Rep Suite x
Prelude.Generic)

-- |
-- Create a value of 'Suite' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'arn', 'suite_arn' - The suite\'s ARN.
--
-- 'counters', 'suite_counters' - The suite\'s result counters.
--
-- 'created', 'suite_created' - When the suite was created.
--
-- 'deviceMinutes', 'suite_deviceMinutes' - Represents the total (metered or unmetered) minutes used by the test
-- suite.
--
-- 'message', 'suite_message' - A message about the suite\'s result.
--
-- 'name', 'suite_name' - The suite\'s name.
--
-- 'result', 'suite_result' - The suite\'s result.
--
-- Allowed values include:
--
-- -   PENDING
--
-- -   PASSED
--
-- -   WARNED
--
-- -   FAILED
--
-- -   SKIPPED
--
-- -   ERRORED
--
-- -   STOPPED
--
-- 'started', 'suite_started' - The suite\'s start time.
--
-- 'status', 'suite_status' - The suite\'s status.
--
-- Allowed values include:
--
-- -   PENDING
--
-- -   PENDING_CONCURRENCY
--
-- -   PENDING_DEVICE
--
-- -   PROCESSING
--
-- -   SCHEDULING
--
-- -   PREPARING
--
-- -   RUNNING
--
-- -   COMPLETED
--
-- -   STOPPING
--
-- 'stopped', 'suite_stopped' - The suite\'s stop time.
--
-- 'type'', 'suite_type' - The suite\'s type.
--
-- Must be one of the following values:
--
-- -   BUILTIN_FUZZ
--
-- -   BUILTIN_EXPLORER
--
--     Only available for Android; an app explorer that traverses an
--     Android app, interacting with it and capturing screenshots at the
--     same time.
--
-- -   APPIUM_JAVA_JUNIT
--
-- -   APPIUM_JAVA_TESTNG
--
-- -   APPIUM_PYTHON
--
-- -   APPIUM_NODE
--
-- -   APPIUM_RUBY
--
-- -   APPIUM_WEB_JAVA_JUNIT
--
-- -   APPIUM_WEB_JAVA_TESTNG
--
-- -   APPIUM_WEB_PYTHON
--
-- -   APPIUM_WEB_NODE
--
-- -   APPIUM_WEB_RUBY
--
-- -   CALABASH
--
-- -   INSTRUMENTATION
--
-- -   UIAUTOMATION
--
-- -   UIAUTOMATOR
--
-- -   XCTEST
--
-- -   XCTEST_UI
newSuite ::
  Suite
newSuite :: Suite
newSuite =
  Suite'
    { $sel:arn:Suite' :: Maybe Text
arn = forall a. Maybe a
Prelude.Nothing,
      $sel:counters:Suite' :: Maybe Counters
counters = forall a. Maybe a
Prelude.Nothing,
      $sel:created:Suite' :: Maybe POSIX
created = forall a. Maybe a
Prelude.Nothing,
      $sel:deviceMinutes:Suite' :: Maybe DeviceMinutes
deviceMinutes = forall a. Maybe a
Prelude.Nothing,
      $sel:message:Suite' :: Maybe Text
message = forall a. Maybe a
Prelude.Nothing,
      $sel:name:Suite' :: Maybe Text
name = forall a. Maybe a
Prelude.Nothing,
      $sel:result:Suite' :: Maybe ExecutionResult
result = forall a. Maybe a
Prelude.Nothing,
      $sel:started:Suite' :: Maybe POSIX
started = forall a. Maybe a
Prelude.Nothing,
      $sel:status:Suite' :: Maybe ExecutionStatus
status = forall a. Maybe a
Prelude.Nothing,
      $sel:stopped:Suite' :: Maybe POSIX
stopped = forall a. Maybe a
Prelude.Nothing,
      $sel:type':Suite' :: Maybe TestType
type' = forall a. Maybe a
Prelude.Nothing
    }

-- | The suite\'s ARN.
suite_arn :: Lens.Lens' Suite (Prelude.Maybe Prelude.Text)
suite_arn :: Lens' Suite (Maybe Text)
suite_arn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Suite' {Maybe Text
arn :: Maybe Text
$sel:arn:Suite' :: Suite -> Maybe Text
arn} -> Maybe Text
arn) (\s :: Suite
s@Suite' {} Maybe Text
a -> Suite
s {$sel:arn:Suite' :: Maybe Text
arn = Maybe Text
a} :: Suite)

-- | The suite\'s result counters.
suite_counters :: Lens.Lens' Suite (Prelude.Maybe Counters)
suite_counters :: Lens' Suite (Maybe Counters)
suite_counters = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Suite' {Maybe Counters
counters :: Maybe Counters
$sel:counters:Suite' :: Suite -> Maybe Counters
counters} -> Maybe Counters
counters) (\s :: Suite
s@Suite' {} Maybe Counters
a -> Suite
s {$sel:counters:Suite' :: Maybe Counters
counters = Maybe Counters
a} :: Suite)

-- | When the suite was created.
suite_created :: Lens.Lens' Suite (Prelude.Maybe Prelude.UTCTime)
suite_created :: Lens' Suite (Maybe UTCTime)
suite_created = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Suite' {Maybe POSIX
created :: Maybe POSIX
$sel:created:Suite' :: Suite -> Maybe POSIX
created} -> Maybe POSIX
created) (\s :: Suite
s@Suite' {} Maybe POSIX
a -> Suite
s {$sel:created:Suite' :: Maybe POSIX
created = Maybe POSIX
a} :: Suite) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | Represents the total (metered or unmetered) minutes used by the test
-- suite.
suite_deviceMinutes :: Lens.Lens' Suite (Prelude.Maybe DeviceMinutes)
suite_deviceMinutes :: Lens' Suite (Maybe DeviceMinutes)
suite_deviceMinutes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Suite' {Maybe DeviceMinutes
deviceMinutes :: Maybe DeviceMinutes
$sel:deviceMinutes:Suite' :: Suite -> Maybe DeviceMinutes
deviceMinutes} -> Maybe DeviceMinutes
deviceMinutes) (\s :: Suite
s@Suite' {} Maybe DeviceMinutes
a -> Suite
s {$sel:deviceMinutes:Suite' :: Maybe DeviceMinutes
deviceMinutes = Maybe DeviceMinutes
a} :: Suite)

-- | A message about the suite\'s result.
suite_message :: Lens.Lens' Suite (Prelude.Maybe Prelude.Text)
suite_message :: Lens' Suite (Maybe Text)
suite_message = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Suite' {Maybe Text
message :: Maybe Text
$sel:message:Suite' :: Suite -> Maybe Text
message} -> Maybe Text
message) (\s :: Suite
s@Suite' {} Maybe Text
a -> Suite
s {$sel:message:Suite' :: Maybe Text
message = Maybe Text
a} :: Suite)

-- | The suite\'s name.
suite_name :: Lens.Lens' Suite (Prelude.Maybe Prelude.Text)
suite_name :: Lens' Suite (Maybe Text)
suite_name = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Suite' {Maybe Text
name :: Maybe Text
$sel:name:Suite' :: Suite -> Maybe Text
name} -> Maybe Text
name) (\s :: Suite
s@Suite' {} Maybe Text
a -> Suite
s {$sel:name:Suite' :: Maybe Text
name = Maybe Text
a} :: Suite)

-- | The suite\'s result.
--
-- Allowed values include:
--
-- -   PENDING
--
-- -   PASSED
--
-- -   WARNED
--
-- -   FAILED
--
-- -   SKIPPED
--
-- -   ERRORED
--
-- -   STOPPED
suite_result :: Lens.Lens' Suite (Prelude.Maybe ExecutionResult)
suite_result :: Lens' Suite (Maybe ExecutionResult)
suite_result = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Suite' {Maybe ExecutionResult
result :: Maybe ExecutionResult
$sel:result:Suite' :: Suite -> Maybe ExecutionResult
result} -> Maybe ExecutionResult
result) (\s :: Suite
s@Suite' {} Maybe ExecutionResult
a -> Suite
s {$sel:result:Suite' :: Maybe ExecutionResult
result = Maybe ExecutionResult
a} :: Suite)

-- | The suite\'s start time.
suite_started :: Lens.Lens' Suite (Prelude.Maybe Prelude.UTCTime)
suite_started :: Lens' Suite (Maybe UTCTime)
suite_started = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Suite' {Maybe POSIX
started :: Maybe POSIX
$sel:started:Suite' :: Suite -> Maybe POSIX
started} -> Maybe POSIX
started) (\s :: Suite
s@Suite' {} Maybe POSIX
a -> Suite
s {$sel:started:Suite' :: Maybe POSIX
started = Maybe POSIX
a} :: Suite) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The suite\'s status.
--
-- Allowed values include:
--
-- -   PENDING
--
-- -   PENDING_CONCURRENCY
--
-- -   PENDING_DEVICE
--
-- -   PROCESSING
--
-- -   SCHEDULING
--
-- -   PREPARING
--
-- -   RUNNING
--
-- -   COMPLETED
--
-- -   STOPPING
suite_status :: Lens.Lens' Suite (Prelude.Maybe ExecutionStatus)
suite_status :: Lens' Suite (Maybe ExecutionStatus)
suite_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Suite' {Maybe ExecutionStatus
status :: Maybe ExecutionStatus
$sel:status:Suite' :: Suite -> Maybe ExecutionStatus
status} -> Maybe ExecutionStatus
status) (\s :: Suite
s@Suite' {} Maybe ExecutionStatus
a -> Suite
s {$sel:status:Suite' :: Maybe ExecutionStatus
status = Maybe ExecutionStatus
a} :: Suite)

-- | The suite\'s stop time.
suite_stopped :: Lens.Lens' Suite (Prelude.Maybe Prelude.UTCTime)
suite_stopped :: Lens' Suite (Maybe UTCTime)
suite_stopped = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Suite' {Maybe POSIX
stopped :: Maybe POSIX
$sel:stopped:Suite' :: Suite -> Maybe POSIX
stopped} -> Maybe POSIX
stopped) (\s :: Suite
s@Suite' {} Maybe POSIX
a -> Suite
s {$sel:stopped:Suite' :: Maybe POSIX
stopped = Maybe POSIX
a} :: Suite) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The suite\'s type.
--
-- Must be one of the following values:
--
-- -   BUILTIN_FUZZ
--
-- -   BUILTIN_EXPLORER
--
--     Only available for Android; an app explorer that traverses an
--     Android app, interacting with it and capturing screenshots at the
--     same time.
--
-- -   APPIUM_JAVA_JUNIT
--
-- -   APPIUM_JAVA_TESTNG
--
-- -   APPIUM_PYTHON
--
-- -   APPIUM_NODE
--
-- -   APPIUM_RUBY
--
-- -   APPIUM_WEB_JAVA_JUNIT
--
-- -   APPIUM_WEB_JAVA_TESTNG
--
-- -   APPIUM_WEB_PYTHON
--
-- -   APPIUM_WEB_NODE
--
-- -   APPIUM_WEB_RUBY
--
-- -   CALABASH
--
-- -   INSTRUMENTATION
--
-- -   UIAUTOMATION
--
-- -   UIAUTOMATOR
--
-- -   XCTEST
--
-- -   XCTEST_UI
suite_type :: Lens.Lens' Suite (Prelude.Maybe TestType)
suite_type :: Lens' Suite (Maybe TestType)
suite_type = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Suite' {Maybe TestType
type' :: Maybe TestType
$sel:type':Suite' :: Suite -> Maybe TestType
type'} -> Maybe TestType
type') (\s :: Suite
s@Suite' {} Maybe TestType
a -> Suite
s {$sel:type':Suite' :: Maybe TestType
type' = Maybe TestType
a} :: Suite)

instance Data.FromJSON Suite where
  parseJSON :: Value -> Parser Suite
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"Suite"
      ( \Object
x ->
          Maybe Text
-> Maybe Counters
-> Maybe POSIX
-> Maybe DeviceMinutes
-> Maybe Text
-> Maybe Text
-> Maybe ExecutionResult
-> Maybe POSIX
-> Maybe ExecutionStatus
-> Maybe POSIX
-> Maybe TestType
-> Suite
Suite'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"arn")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"counters")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"created")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"deviceMinutes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"message")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"name")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"result")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"started")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"status")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"stopped")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"type")
      )

instance Prelude.Hashable Suite where
  hashWithSalt :: Int -> Suite -> Int
hashWithSalt Int
_salt Suite' {Maybe Text
Maybe POSIX
Maybe Counters
Maybe DeviceMinutes
Maybe ExecutionResult
Maybe ExecutionStatus
Maybe TestType
type' :: Maybe TestType
stopped :: Maybe POSIX
status :: Maybe ExecutionStatus
started :: Maybe POSIX
result :: Maybe ExecutionResult
name :: Maybe Text
message :: Maybe Text
deviceMinutes :: Maybe DeviceMinutes
created :: Maybe POSIX
counters :: Maybe Counters
arn :: Maybe Text
$sel:type':Suite' :: Suite -> Maybe TestType
$sel:stopped:Suite' :: Suite -> Maybe POSIX
$sel:status:Suite' :: Suite -> Maybe ExecutionStatus
$sel:started:Suite' :: Suite -> Maybe POSIX
$sel:result:Suite' :: Suite -> Maybe ExecutionResult
$sel:name:Suite' :: Suite -> Maybe Text
$sel:message:Suite' :: Suite -> Maybe Text
$sel:deviceMinutes:Suite' :: Suite -> Maybe DeviceMinutes
$sel:created:Suite' :: Suite -> Maybe POSIX
$sel:counters:Suite' :: Suite -> Maybe Counters
$sel:arn:Suite' :: Suite -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
arn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Counters
counters
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
created
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe DeviceMinutes
deviceMinutes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
message
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
name
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ExecutionResult
result
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
started
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ExecutionStatus
status
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
stopped
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe TestType
type'

instance Prelude.NFData Suite where
  rnf :: Suite -> ()
rnf Suite' {Maybe Text
Maybe POSIX
Maybe Counters
Maybe DeviceMinutes
Maybe ExecutionResult
Maybe ExecutionStatus
Maybe TestType
type' :: Maybe TestType
stopped :: Maybe POSIX
status :: Maybe ExecutionStatus
started :: Maybe POSIX
result :: Maybe ExecutionResult
name :: Maybe Text
message :: Maybe Text
deviceMinutes :: Maybe DeviceMinutes
created :: Maybe POSIX
counters :: Maybe Counters
arn :: Maybe Text
$sel:type':Suite' :: Suite -> Maybe TestType
$sel:stopped:Suite' :: Suite -> Maybe POSIX
$sel:status:Suite' :: Suite -> Maybe ExecutionStatus
$sel:started:Suite' :: Suite -> Maybe POSIX
$sel:result:Suite' :: Suite -> Maybe ExecutionResult
$sel:name:Suite' :: Suite -> Maybe Text
$sel:message:Suite' :: Suite -> Maybe Text
$sel:deviceMinutes:Suite' :: Suite -> Maybe DeviceMinutes
$sel:created:Suite' :: Suite -> Maybe POSIX
$sel:counters:Suite' :: Suite -> Maybe Counters
$sel:arn:Suite' :: Suite -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
arn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Counters
counters
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
created
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe DeviceMinutes
deviceMinutes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
message
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
name
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ExecutionResult
result
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
started
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ExecutionStatus
status
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
stopped
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe TestType
type'