{-# 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.CodeGuruProfiler.Types.ProfilingGroupDescription
-- 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.CodeGuruProfiler.Types.ProfilingGroupDescription where

import Amazonka.CodeGuruProfiler.Types.AgentOrchestrationConfig
import Amazonka.CodeGuruProfiler.Types.ComputePlatform
import Amazonka.CodeGuruProfiler.Types.ProfilingStatus
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

-- | Contains information about a profiling group.
--
-- /See:/ 'newProfilingGroupDescription' smart constructor.
data ProfilingGroupDescription = ProfilingGroupDescription'
  { -- | An
    -- <https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AgentOrchestrationConfig.html AgentOrchestrationConfig>
    -- object that indicates if the profiling group is enabled for profiled or
    -- not.
    ProfilingGroupDescription -> Maybe AgentOrchestrationConfig
agentOrchestrationConfig :: Prelude.Maybe AgentOrchestrationConfig,
    -- | The Amazon Resource Name (ARN) identifying the profiling group resource.
    ProfilingGroupDescription -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
    -- | The compute platform of the profiling group. If it is set to
    -- @AWSLambda@, then the profiled application runs on AWS Lambda. If it is
    -- set to @Default@, then the profiled application runs on a compute
    -- platform that is not AWS Lambda, such an Amazon EC2 instance, an
    -- on-premises server, or a different platform. The default is @Default@.
    ProfilingGroupDescription -> Maybe ComputePlatform
computePlatform :: Prelude.Maybe ComputePlatform,
    -- | The time when the profiling group was created. Specify using the ISO
    -- 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
    -- millisecond past June 1, 2020 1:15:02 PM UTC.
    ProfilingGroupDescription -> Maybe ISO8601
createdAt :: Prelude.Maybe Data.ISO8601,
    -- | The name of the profiling group.
    ProfilingGroupDescription -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
    -- | A
    -- <https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingStatus.html ProfilingStatus>
    -- object that includes information about the last time a profile agent
    -- pinged back, the last time a profile was received, and the aggregation
    -- period and start time for the most recent aggregated profile.
    ProfilingGroupDescription -> Maybe ProfilingStatus
profilingStatus :: Prelude.Maybe ProfilingStatus,
    -- | A list of the tags that belong to this profiling group.
    ProfilingGroupDescription -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
    -- | The date and time when the profiling group was last updated. Specify
    -- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z
    -- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
    ProfilingGroupDescription -> Maybe ISO8601
updatedAt :: Prelude.Maybe Data.ISO8601
  }
  deriving (ProfilingGroupDescription -> ProfilingGroupDescription -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ProfilingGroupDescription -> ProfilingGroupDescription -> Bool
$c/= :: ProfilingGroupDescription -> ProfilingGroupDescription -> Bool
== :: ProfilingGroupDescription -> ProfilingGroupDescription -> Bool
$c== :: ProfilingGroupDescription -> ProfilingGroupDescription -> Bool
Prelude.Eq, ReadPrec [ProfilingGroupDescription]
ReadPrec ProfilingGroupDescription
Int -> ReadS ProfilingGroupDescription
ReadS [ProfilingGroupDescription]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ProfilingGroupDescription]
$creadListPrec :: ReadPrec [ProfilingGroupDescription]
readPrec :: ReadPrec ProfilingGroupDescription
$creadPrec :: ReadPrec ProfilingGroupDescription
readList :: ReadS [ProfilingGroupDescription]
$creadList :: ReadS [ProfilingGroupDescription]
readsPrec :: Int -> ReadS ProfilingGroupDescription
$creadsPrec :: Int -> ReadS ProfilingGroupDescription
Prelude.Read, Int -> ProfilingGroupDescription -> ShowS
[ProfilingGroupDescription] -> ShowS
ProfilingGroupDescription -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ProfilingGroupDescription] -> ShowS
$cshowList :: [ProfilingGroupDescription] -> ShowS
show :: ProfilingGroupDescription -> String
$cshow :: ProfilingGroupDescription -> String
showsPrec :: Int -> ProfilingGroupDescription -> ShowS
$cshowsPrec :: Int -> ProfilingGroupDescription -> ShowS
Prelude.Show, forall x.
Rep ProfilingGroupDescription x -> ProfilingGroupDescription
forall x.
ProfilingGroupDescription -> Rep ProfilingGroupDescription x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ProfilingGroupDescription x -> ProfilingGroupDescription
$cfrom :: forall x.
ProfilingGroupDescription -> Rep ProfilingGroupDescription x
Prelude.Generic)

-- |
-- Create a value of 'ProfilingGroupDescription' 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:
--
-- 'agentOrchestrationConfig', 'profilingGroupDescription_agentOrchestrationConfig' - An
-- <https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AgentOrchestrationConfig.html AgentOrchestrationConfig>
-- object that indicates if the profiling group is enabled for profiled or
-- not.
--
-- 'arn', 'profilingGroupDescription_arn' - The Amazon Resource Name (ARN) identifying the profiling group resource.
--
-- 'computePlatform', 'profilingGroupDescription_computePlatform' - The compute platform of the profiling group. If it is set to
-- @AWSLambda@, then the profiled application runs on AWS Lambda. If it is
-- set to @Default@, then the profiled application runs on a compute
-- platform that is not AWS Lambda, such an Amazon EC2 instance, an
-- on-premises server, or a different platform. The default is @Default@.
--
-- 'createdAt', 'profilingGroupDescription_createdAt' - The time when the profiling group was created. Specify using the ISO
-- 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
-- millisecond past June 1, 2020 1:15:02 PM UTC.
--
-- 'name', 'profilingGroupDescription_name' - The name of the profiling group.
--
-- 'profilingStatus', 'profilingGroupDescription_profilingStatus' - A
-- <https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingStatus.html ProfilingStatus>
-- object that includes information about the last time a profile agent
-- pinged back, the last time a profile was received, and the aggregation
-- period and start time for the most recent aggregated profile.
--
-- 'tags', 'profilingGroupDescription_tags' - A list of the tags that belong to this profiling group.
--
-- 'updatedAt', 'profilingGroupDescription_updatedAt' - The date and time when the profiling group was last updated. Specify
-- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z
-- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
newProfilingGroupDescription ::
  ProfilingGroupDescription
newProfilingGroupDescription :: ProfilingGroupDescription
newProfilingGroupDescription =
  ProfilingGroupDescription'
    { $sel:agentOrchestrationConfig:ProfilingGroupDescription' :: Maybe AgentOrchestrationConfig
agentOrchestrationConfig =
        forall a. Maybe a
Prelude.Nothing,
      $sel:arn:ProfilingGroupDescription' :: Maybe Text
arn = forall a. Maybe a
Prelude.Nothing,
      $sel:computePlatform:ProfilingGroupDescription' :: Maybe ComputePlatform
computePlatform = forall a. Maybe a
Prelude.Nothing,
      $sel:createdAt:ProfilingGroupDescription' :: Maybe ISO8601
createdAt = forall a. Maybe a
Prelude.Nothing,
      $sel:name:ProfilingGroupDescription' :: Maybe Text
name = forall a. Maybe a
Prelude.Nothing,
      $sel:profilingStatus:ProfilingGroupDescription' :: Maybe ProfilingStatus
profilingStatus = forall a. Maybe a
Prelude.Nothing,
      $sel:tags:ProfilingGroupDescription' :: Maybe (HashMap Text Text)
tags = forall a. Maybe a
Prelude.Nothing,
      $sel:updatedAt:ProfilingGroupDescription' :: Maybe ISO8601
updatedAt = forall a. Maybe a
Prelude.Nothing
    }

-- | An
-- <https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AgentOrchestrationConfig.html AgentOrchestrationConfig>
-- object that indicates if the profiling group is enabled for profiled or
-- not.
profilingGroupDescription_agentOrchestrationConfig :: Lens.Lens' ProfilingGroupDescription (Prelude.Maybe AgentOrchestrationConfig)
profilingGroupDescription_agentOrchestrationConfig :: Lens' ProfilingGroupDescription (Maybe AgentOrchestrationConfig)
profilingGroupDescription_agentOrchestrationConfig = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProfilingGroupDescription' {Maybe AgentOrchestrationConfig
agentOrchestrationConfig :: Maybe AgentOrchestrationConfig
$sel:agentOrchestrationConfig:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe AgentOrchestrationConfig
agentOrchestrationConfig} -> Maybe AgentOrchestrationConfig
agentOrchestrationConfig) (\s :: ProfilingGroupDescription
s@ProfilingGroupDescription' {} Maybe AgentOrchestrationConfig
a -> ProfilingGroupDescription
s {$sel:agentOrchestrationConfig:ProfilingGroupDescription' :: Maybe AgentOrchestrationConfig
agentOrchestrationConfig = Maybe AgentOrchestrationConfig
a} :: ProfilingGroupDescription)

-- | The Amazon Resource Name (ARN) identifying the profiling group resource.
profilingGroupDescription_arn :: Lens.Lens' ProfilingGroupDescription (Prelude.Maybe Prelude.Text)
profilingGroupDescription_arn :: Lens' ProfilingGroupDescription (Maybe Text)
profilingGroupDescription_arn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProfilingGroupDescription' {Maybe Text
arn :: Maybe Text
$sel:arn:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe Text
arn} -> Maybe Text
arn) (\s :: ProfilingGroupDescription
s@ProfilingGroupDescription' {} Maybe Text
a -> ProfilingGroupDescription
s {$sel:arn:ProfilingGroupDescription' :: Maybe Text
arn = Maybe Text
a} :: ProfilingGroupDescription)

-- | The compute platform of the profiling group. If it is set to
-- @AWSLambda@, then the profiled application runs on AWS Lambda. If it is
-- set to @Default@, then the profiled application runs on a compute
-- platform that is not AWS Lambda, such an Amazon EC2 instance, an
-- on-premises server, or a different platform. The default is @Default@.
profilingGroupDescription_computePlatform :: Lens.Lens' ProfilingGroupDescription (Prelude.Maybe ComputePlatform)
profilingGroupDescription_computePlatform :: Lens' ProfilingGroupDescription (Maybe ComputePlatform)
profilingGroupDescription_computePlatform = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProfilingGroupDescription' {Maybe ComputePlatform
computePlatform :: Maybe ComputePlatform
$sel:computePlatform:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe ComputePlatform
computePlatform} -> Maybe ComputePlatform
computePlatform) (\s :: ProfilingGroupDescription
s@ProfilingGroupDescription' {} Maybe ComputePlatform
a -> ProfilingGroupDescription
s {$sel:computePlatform:ProfilingGroupDescription' :: Maybe ComputePlatform
computePlatform = Maybe ComputePlatform
a} :: ProfilingGroupDescription)

-- | The time when the profiling group was created. Specify using the ISO
-- 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
-- millisecond past June 1, 2020 1:15:02 PM UTC.
profilingGroupDescription_createdAt :: Lens.Lens' ProfilingGroupDescription (Prelude.Maybe Prelude.UTCTime)
profilingGroupDescription_createdAt :: Lens' ProfilingGroupDescription (Maybe UTCTime)
profilingGroupDescription_createdAt = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProfilingGroupDescription' {Maybe ISO8601
createdAt :: Maybe ISO8601
$sel:createdAt:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe ISO8601
createdAt} -> Maybe ISO8601
createdAt) (\s :: ProfilingGroupDescription
s@ProfilingGroupDescription' {} Maybe ISO8601
a -> ProfilingGroupDescription
s {$sel:createdAt:ProfilingGroupDescription' :: Maybe ISO8601
createdAt = Maybe ISO8601
a} :: ProfilingGroupDescription) 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 name of the profiling group.
profilingGroupDescription_name :: Lens.Lens' ProfilingGroupDescription (Prelude.Maybe Prelude.Text)
profilingGroupDescription_name :: Lens' ProfilingGroupDescription (Maybe Text)
profilingGroupDescription_name = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProfilingGroupDescription' {Maybe Text
name :: Maybe Text
$sel:name:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe Text
name} -> Maybe Text
name) (\s :: ProfilingGroupDescription
s@ProfilingGroupDescription' {} Maybe Text
a -> ProfilingGroupDescription
s {$sel:name:ProfilingGroupDescription' :: Maybe Text
name = Maybe Text
a} :: ProfilingGroupDescription)

-- | A
-- <https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingStatus.html ProfilingStatus>
-- object that includes information about the last time a profile agent
-- pinged back, the last time a profile was received, and the aggregation
-- period and start time for the most recent aggregated profile.
profilingGroupDescription_profilingStatus :: Lens.Lens' ProfilingGroupDescription (Prelude.Maybe ProfilingStatus)
profilingGroupDescription_profilingStatus :: Lens' ProfilingGroupDescription (Maybe ProfilingStatus)
profilingGroupDescription_profilingStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProfilingGroupDescription' {Maybe ProfilingStatus
profilingStatus :: Maybe ProfilingStatus
$sel:profilingStatus:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe ProfilingStatus
profilingStatus} -> Maybe ProfilingStatus
profilingStatus) (\s :: ProfilingGroupDescription
s@ProfilingGroupDescription' {} Maybe ProfilingStatus
a -> ProfilingGroupDescription
s {$sel:profilingStatus:ProfilingGroupDescription' :: Maybe ProfilingStatus
profilingStatus = Maybe ProfilingStatus
a} :: ProfilingGroupDescription)

-- | A list of the tags that belong to this profiling group.
profilingGroupDescription_tags :: Lens.Lens' ProfilingGroupDescription (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
profilingGroupDescription_tags :: Lens' ProfilingGroupDescription (Maybe (HashMap Text Text))
profilingGroupDescription_tags = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProfilingGroupDescription' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: ProfilingGroupDescription
s@ProfilingGroupDescription' {} Maybe (HashMap Text Text)
a -> ProfilingGroupDescription
s {$sel:tags:ProfilingGroupDescription' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: ProfilingGroupDescription) 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 s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The date and time when the profiling group was last updated. Specify
-- using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z
-- represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
profilingGroupDescription_updatedAt :: Lens.Lens' ProfilingGroupDescription (Prelude.Maybe Prelude.UTCTime)
profilingGroupDescription_updatedAt :: Lens' ProfilingGroupDescription (Maybe UTCTime)
profilingGroupDescription_updatedAt = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProfilingGroupDescription' {Maybe ISO8601
updatedAt :: Maybe ISO8601
$sel:updatedAt:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe ISO8601
updatedAt} -> Maybe ISO8601
updatedAt) (\s :: ProfilingGroupDescription
s@ProfilingGroupDescription' {} Maybe ISO8601
a -> ProfilingGroupDescription
s {$sel:updatedAt:ProfilingGroupDescription' :: Maybe ISO8601
updatedAt = Maybe ISO8601
a} :: ProfilingGroupDescription) 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

instance Data.FromJSON ProfilingGroupDescription where
  parseJSON :: Value -> Parser ProfilingGroupDescription
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"ProfilingGroupDescription"
      ( \Object
x ->
          Maybe AgentOrchestrationConfig
-> Maybe Text
-> Maybe ComputePlatform
-> Maybe ISO8601
-> Maybe Text
-> Maybe ProfilingStatus
-> Maybe (HashMap Text Text)
-> Maybe ISO8601
-> ProfilingGroupDescription
ProfilingGroupDescription'
            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
"agentOrchestrationConfig")
            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
"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
"computePlatform")
            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
"createdAt")
            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
"profilingStatus")
            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
"tags" forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty)
            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
"updatedAt")
      )

instance Prelude.Hashable ProfilingGroupDescription where
  hashWithSalt :: Int -> ProfilingGroupDescription -> Int
hashWithSalt Int
_salt ProfilingGroupDescription' {Maybe Text
Maybe (HashMap Text Text)
Maybe ISO8601
Maybe AgentOrchestrationConfig
Maybe ComputePlatform
Maybe ProfilingStatus
updatedAt :: Maybe ISO8601
tags :: Maybe (HashMap Text Text)
profilingStatus :: Maybe ProfilingStatus
name :: Maybe Text
createdAt :: Maybe ISO8601
computePlatform :: Maybe ComputePlatform
arn :: Maybe Text
agentOrchestrationConfig :: Maybe AgentOrchestrationConfig
$sel:updatedAt:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe ISO8601
$sel:tags:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe (HashMap Text Text)
$sel:profilingStatus:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe ProfilingStatus
$sel:name:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe Text
$sel:createdAt:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe ISO8601
$sel:computePlatform:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe ComputePlatform
$sel:arn:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe Text
$sel:agentOrchestrationConfig:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe AgentOrchestrationConfig
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe AgentOrchestrationConfig
agentOrchestrationConfig
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
arn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ComputePlatform
computePlatform
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ISO8601
createdAt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
name
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ProfilingStatus
profilingStatus
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (HashMap Text Text)
tags
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ISO8601
updatedAt

instance Prelude.NFData ProfilingGroupDescription where
  rnf :: ProfilingGroupDescription -> ()
rnf ProfilingGroupDescription' {Maybe Text
Maybe (HashMap Text Text)
Maybe ISO8601
Maybe AgentOrchestrationConfig
Maybe ComputePlatform
Maybe ProfilingStatus
updatedAt :: Maybe ISO8601
tags :: Maybe (HashMap Text Text)
profilingStatus :: Maybe ProfilingStatus
name :: Maybe Text
createdAt :: Maybe ISO8601
computePlatform :: Maybe ComputePlatform
arn :: Maybe Text
agentOrchestrationConfig :: Maybe AgentOrchestrationConfig
$sel:updatedAt:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe ISO8601
$sel:tags:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe (HashMap Text Text)
$sel:profilingStatus:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe ProfilingStatus
$sel:name:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe Text
$sel:createdAt:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe ISO8601
$sel:computePlatform:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe ComputePlatform
$sel:arn:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe Text
$sel:agentOrchestrationConfig:ProfilingGroupDescription' :: ProfilingGroupDescription -> Maybe AgentOrchestrationConfig
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe AgentOrchestrationConfig
agentOrchestrationConfig
      seq :: forall a b. a -> b -> b
`Prelude.seq` 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 ComputePlatform
computePlatform
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ISO8601
createdAt
      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 ProfilingStatus
profilingStatus
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (HashMap Text Text)
tags
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ISO8601
updatedAt