{-# 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.AutoScaling.Types.Activity
-- 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.AutoScaling.Types.Activity where

import Amazonka.AutoScaling.Types.ScalingActivityStatusCode
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

-- | Describes scaling activity, which is a long-running process that
-- represents a change to your Auto Scaling group, such as changing its
-- size or replacing an instance.
--
-- /See:/ 'newActivity' smart constructor.
data Activity = Activity'
  { -- | The Amazon Resource Name (ARN) of the Auto Scaling group.
    Activity -> Maybe Text
autoScalingGroupARN :: Prelude.Maybe Prelude.Text,
    -- | The state of the Auto Scaling group, which is either @InService@ or
    -- @Deleted@.
    Activity -> Maybe Text
autoScalingGroupState :: Prelude.Maybe Prelude.Text,
    -- | A friendly, more verbose description of the activity.
    Activity -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
    -- | The details about the activity.
    Activity -> Maybe Text
details :: Prelude.Maybe Prelude.Text,
    -- | The end time of the activity.
    Activity -> Maybe ISO8601
endTime :: Prelude.Maybe Data.ISO8601,
    -- | A value between 0 and 100 that indicates the progress of the activity.
    Activity -> Maybe Int
progress :: Prelude.Maybe Prelude.Int,
    -- | A friendly, more verbose description of the activity status.
    Activity -> Maybe Text
statusMessage :: Prelude.Maybe Prelude.Text,
    -- | The ID of the activity.
    Activity -> Text
activityId :: Prelude.Text,
    -- | The name of the Auto Scaling group.
    Activity -> Text
autoScalingGroupName :: Prelude.Text,
    -- | The reason the activity began.
    Activity -> Text
cause :: Prelude.Text,
    -- | The start time of the activity.
    Activity -> ISO8601
startTime :: Data.ISO8601,
    -- | The current status of the activity.
    Activity -> ScalingActivityStatusCode
statusCode :: ScalingActivityStatusCode
  }
  deriving (Activity -> Activity -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Activity -> Activity -> Bool
$c/= :: Activity -> Activity -> Bool
== :: Activity -> Activity -> Bool
$c== :: Activity -> Activity -> Bool
Prelude.Eq, ReadPrec [Activity]
ReadPrec Activity
Int -> ReadS Activity
ReadS [Activity]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Activity]
$creadListPrec :: ReadPrec [Activity]
readPrec :: ReadPrec Activity
$creadPrec :: ReadPrec Activity
readList :: ReadS [Activity]
$creadList :: ReadS [Activity]
readsPrec :: Int -> ReadS Activity
$creadsPrec :: Int -> ReadS Activity
Prelude.Read, Int -> Activity -> ShowS
[Activity] -> ShowS
Activity -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Activity] -> ShowS
$cshowList :: [Activity] -> ShowS
show :: Activity -> String
$cshow :: Activity -> String
showsPrec :: Int -> Activity -> ShowS
$cshowsPrec :: Int -> Activity -> ShowS
Prelude.Show, forall x. Rep Activity x -> Activity
forall x. Activity -> Rep Activity x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Activity x -> Activity
$cfrom :: forall x. Activity -> Rep Activity x
Prelude.Generic)

-- |
-- Create a value of 'Activity' 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:
--
-- 'autoScalingGroupARN', 'activity_autoScalingGroupARN' - The Amazon Resource Name (ARN) of the Auto Scaling group.
--
-- 'autoScalingGroupState', 'activity_autoScalingGroupState' - The state of the Auto Scaling group, which is either @InService@ or
-- @Deleted@.
--
-- 'description', 'activity_description' - A friendly, more verbose description of the activity.
--
-- 'details', 'activity_details' - The details about the activity.
--
-- 'endTime', 'activity_endTime' - The end time of the activity.
--
-- 'progress', 'activity_progress' - A value between 0 and 100 that indicates the progress of the activity.
--
-- 'statusMessage', 'activity_statusMessage' - A friendly, more verbose description of the activity status.
--
-- 'activityId', 'activity_activityId' - The ID of the activity.
--
-- 'autoScalingGroupName', 'activity_autoScalingGroupName' - The name of the Auto Scaling group.
--
-- 'cause', 'activity_cause' - The reason the activity began.
--
-- 'startTime', 'activity_startTime' - The start time of the activity.
--
-- 'statusCode', 'activity_statusCode' - The current status of the activity.
newActivity ::
  -- | 'activityId'
  Prelude.Text ->
  -- | 'autoScalingGroupName'
  Prelude.Text ->
  -- | 'cause'
  Prelude.Text ->
  -- | 'startTime'
  Prelude.UTCTime ->
  -- | 'statusCode'
  ScalingActivityStatusCode ->
  Activity
newActivity :: Text
-> Text -> Text -> UTCTime -> ScalingActivityStatusCode -> Activity
newActivity
  Text
pActivityId_
  Text
pAutoScalingGroupName_
  Text
pCause_
  UTCTime
pStartTime_
  ScalingActivityStatusCode
pStatusCode_ =
    Activity'
      { $sel:autoScalingGroupARN:Activity' :: Maybe Text
autoScalingGroupARN = forall a. Maybe a
Prelude.Nothing,
        $sel:autoScalingGroupState:Activity' :: Maybe Text
autoScalingGroupState = forall a. Maybe a
Prelude.Nothing,
        $sel:description:Activity' :: Maybe Text
description = forall a. Maybe a
Prelude.Nothing,
        $sel:details:Activity' :: Maybe Text
details = forall a. Maybe a
Prelude.Nothing,
        $sel:endTime:Activity' :: Maybe ISO8601
endTime = forall a. Maybe a
Prelude.Nothing,
        $sel:progress:Activity' :: Maybe Int
progress = forall a. Maybe a
Prelude.Nothing,
        $sel:statusMessage:Activity' :: Maybe Text
statusMessage = forall a. Maybe a
Prelude.Nothing,
        $sel:activityId:Activity' :: Text
activityId = Text
pActivityId_,
        $sel:autoScalingGroupName:Activity' :: Text
autoScalingGroupName = Text
pAutoScalingGroupName_,
        $sel:cause:Activity' :: Text
cause = Text
pCause_,
        $sel:startTime:Activity' :: ISO8601
startTime = forall (a :: Format). Iso' (Time a) UTCTime
Data._Time forall t b. AReview t b -> b -> t
Lens.# UTCTime
pStartTime_,
        $sel:statusCode:Activity' :: ScalingActivityStatusCode
statusCode = ScalingActivityStatusCode
pStatusCode_
      }

-- | The Amazon Resource Name (ARN) of the Auto Scaling group.
activity_autoScalingGroupARN :: Lens.Lens' Activity (Prelude.Maybe Prelude.Text)
activity_autoScalingGroupARN :: Lens' Activity (Maybe Text)
activity_autoScalingGroupARN = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Activity' {Maybe Text
autoScalingGroupARN :: Maybe Text
$sel:autoScalingGroupARN:Activity' :: Activity -> Maybe Text
autoScalingGroupARN} -> Maybe Text
autoScalingGroupARN) (\s :: Activity
s@Activity' {} Maybe Text
a -> Activity
s {$sel:autoScalingGroupARN:Activity' :: Maybe Text
autoScalingGroupARN = Maybe Text
a} :: Activity)

-- | The state of the Auto Scaling group, which is either @InService@ or
-- @Deleted@.
activity_autoScalingGroupState :: Lens.Lens' Activity (Prelude.Maybe Prelude.Text)
activity_autoScalingGroupState :: Lens' Activity (Maybe Text)
activity_autoScalingGroupState = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Activity' {Maybe Text
autoScalingGroupState :: Maybe Text
$sel:autoScalingGroupState:Activity' :: Activity -> Maybe Text
autoScalingGroupState} -> Maybe Text
autoScalingGroupState) (\s :: Activity
s@Activity' {} Maybe Text
a -> Activity
s {$sel:autoScalingGroupState:Activity' :: Maybe Text
autoScalingGroupState = Maybe Text
a} :: Activity)

-- | A friendly, more verbose description of the activity.
activity_description :: Lens.Lens' Activity (Prelude.Maybe Prelude.Text)
activity_description :: Lens' Activity (Maybe Text)
activity_description = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Activity' {Maybe Text
description :: Maybe Text
$sel:description:Activity' :: Activity -> Maybe Text
description} -> Maybe Text
description) (\s :: Activity
s@Activity' {} Maybe Text
a -> Activity
s {$sel:description:Activity' :: Maybe Text
description = Maybe Text
a} :: Activity)

-- | The details about the activity.
activity_details :: Lens.Lens' Activity (Prelude.Maybe Prelude.Text)
activity_details :: Lens' Activity (Maybe Text)
activity_details = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Activity' {Maybe Text
details :: Maybe Text
$sel:details:Activity' :: Activity -> Maybe Text
details} -> Maybe Text
details) (\s :: Activity
s@Activity' {} Maybe Text
a -> Activity
s {$sel:details:Activity' :: Maybe Text
details = Maybe Text
a} :: Activity)

-- | The end time of the activity.
activity_endTime :: Lens.Lens' Activity (Prelude.Maybe Prelude.UTCTime)
activity_endTime :: Lens' Activity (Maybe UTCTime)
activity_endTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Activity' {Maybe ISO8601
endTime :: Maybe ISO8601
$sel:endTime:Activity' :: Activity -> Maybe ISO8601
endTime} -> Maybe ISO8601
endTime) (\s :: Activity
s@Activity' {} Maybe ISO8601
a -> Activity
s {$sel:endTime:Activity' :: Maybe ISO8601
endTime = Maybe ISO8601
a} :: Activity) 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

-- | A value between 0 and 100 that indicates the progress of the activity.
activity_progress :: Lens.Lens' Activity (Prelude.Maybe Prelude.Int)
activity_progress :: Lens' Activity (Maybe Int)
activity_progress = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Activity' {Maybe Int
progress :: Maybe Int
$sel:progress:Activity' :: Activity -> Maybe Int
progress} -> Maybe Int
progress) (\s :: Activity
s@Activity' {} Maybe Int
a -> Activity
s {$sel:progress:Activity' :: Maybe Int
progress = Maybe Int
a} :: Activity)

-- | A friendly, more verbose description of the activity status.
activity_statusMessage :: Lens.Lens' Activity (Prelude.Maybe Prelude.Text)
activity_statusMessage :: Lens' Activity (Maybe Text)
activity_statusMessage = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Activity' {Maybe Text
statusMessage :: Maybe Text
$sel:statusMessage:Activity' :: Activity -> Maybe Text
statusMessage} -> Maybe Text
statusMessage) (\s :: Activity
s@Activity' {} Maybe Text
a -> Activity
s {$sel:statusMessage:Activity' :: Maybe Text
statusMessage = Maybe Text
a} :: Activity)

-- | The ID of the activity.
activity_activityId :: Lens.Lens' Activity Prelude.Text
activity_activityId :: Lens' Activity Text
activity_activityId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Activity' {Text
activityId :: Text
$sel:activityId:Activity' :: Activity -> Text
activityId} -> Text
activityId) (\s :: Activity
s@Activity' {} Text
a -> Activity
s {$sel:activityId:Activity' :: Text
activityId = Text
a} :: Activity)

-- | The name of the Auto Scaling group.
activity_autoScalingGroupName :: Lens.Lens' Activity Prelude.Text
activity_autoScalingGroupName :: Lens' Activity Text
activity_autoScalingGroupName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Activity' {Text
autoScalingGroupName :: Text
$sel:autoScalingGroupName:Activity' :: Activity -> Text
autoScalingGroupName} -> Text
autoScalingGroupName) (\s :: Activity
s@Activity' {} Text
a -> Activity
s {$sel:autoScalingGroupName:Activity' :: Text
autoScalingGroupName = Text
a} :: Activity)

-- | The reason the activity began.
activity_cause :: Lens.Lens' Activity Prelude.Text
activity_cause :: Lens' Activity Text
activity_cause = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Activity' {Text
cause :: Text
$sel:cause:Activity' :: Activity -> Text
cause} -> Text
cause) (\s :: Activity
s@Activity' {} Text
a -> Activity
s {$sel:cause:Activity' :: Text
cause = Text
a} :: Activity)

-- | The start time of the activity.
activity_startTime :: Lens.Lens' Activity Prelude.UTCTime
activity_startTime :: Lens' Activity UTCTime
activity_startTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Activity' {ISO8601
startTime :: ISO8601
$sel:startTime:Activity' :: Activity -> ISO8601
startTime} -> ISO8601
startTime) (\s :: Activity
s@Activity' {} ISO8601
a -> Activity
s {$sel:startTime:Activity' :: ISO8601
startTime = ISO8601
a} :: Activity) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The current status of the activity.
activity_statusCode :: Lens.Lens' Activity ScalingActivityStatusCode
activity_statusCode :: Lens' Activity ScalingActivityStatusCode
activity_statusCode = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Activity' {ScalingActivityStatusCode
statusCode :: ScalingActivityStatusCode
$sel:statusCode:Activity' :: Activity -> ScalingActivityStatusCode
statusCode} -> ScalingActivityStatusCode
statusCode) (\s :: Activity
s@Activity' {} ScalingActivityStatusCode
a -> Activity
s {$sel:statusCode:Activity' :: ScalingActivityStatusCode
statusCode = ScalingActivityStatusCode
a} :: Activity)

instance Data.FromXML Activity where
  parseXML :: [Node] -> Either String Activity
parseXML [Node]
x =
    Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ISO8601
-> Maybe Int
-> Maybe Text
-> Text
-> Text
-> Text
-> ISO8601
-> ScalingActivityStatusCode
-> Activity
Activity'
      forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"AutoScalingGroupARN")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"AutoScalingGroupState")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"Description")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"Details")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"EndTime")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"Progress")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"StatusMessage")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String a
Data..@ Text
"ActivityId")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String a
Data..@ Text
"AutoScalingGroupName")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String a
Data..@ Text
"Cause")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String a
Data..@ Text
"StartTime")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String a
Data..@ Text
"StatusCode")

instance Prelude.Hashable Activity where
  hashWithSalt :: Int -> Activity -> Int
hashWithSalt Int
_salt Activity' {Maybe Int
Maybe Text
Maybe ISO8601
Text
ISO8601
ScalingActivityStatusCode
statusCode :: ScalingActivityStatusCode
startTime :: ISO8601
cause :: Text
autoScalingGroupName :: Text
activityId :: Text
statusMessage :: Maybe Text
progress :: Maybe Int
endTime :: Maybe ISO8601
details :: Maybe Text
description :: Maybe Text
autoScalingGroupState :: Maybe Text
autoScalingGroupARN :: Maybe Text
$sel:statusCode:Activity' :: Activity -> ScalingActivityStatusCode
$sel:startTime:Activity' :: Activity -> ISO8601
$sel:cause:Activity' :: Activity -> Text
$sel:autoScalingGroupName:Activity' :: Activity -> Text
$sel:activityId:Activity' :: Activity -> Text
$sel:statusMessage:Activity' :: Activity -> Maybe Text
$sel:progress:Activity' :: Activity -> Maybe Int
$sel:endTime:Activity' :: Activity -> Maybe ISO8601
$sel:details:Activity' :: Activity -> Maybe Text
$sel:description:Activity' :: Activity -> Maybe Text
$sel:autoScalingGroupState:Activity' :: Activity -> Maybe Text
$sel:autoScalingGroupARN:Activity' :: Activity -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
autoScalingGroupARN
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
autoScalingGroupState
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
description
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
details
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ISO8601
endTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
progress
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
statusMessage
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
activityId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
autoScalingGroupName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
cause
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ISO8601
startTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ScalingActivityStatusCode
statusCode

instance Prelude.NFData Activity where
  rnf :: Activity -> ()
rnf Activity' {Maybe Int
Maybe Text
Maybe ISO8601
Text
ISO8601
ScalingActivityStatusCode
statusCode :: ScalingActivityStatusCode
startTime :: ISO8601
cause :: Text
autoScalingGroupName :: Text
activityId :: Text
statusMessage :: Maybe Text
progress :: Maybe Int
endTime :: Maybe ISO8601
details :: Maybe Text
description :: Maybe Text
autoScalingGroupState :: Maybe Text
autoScalingGroupARN :: Maybe Text
$sel:statusCode:Activity' :: Activity -> ScalingActivityStatusCode
$sel:startTime:Activity' :: Activity -> ISO8601
$sel:cause:Activity' :: Activity -> Text
$sel:autoScalingGroupName:Activity' :: Activity -> Text
$sel:activityId:Activity' :: Activity -> Text
$sel:statusMessage:Activity' :: Activity -> Maybe Text
$sel:progress:Activity' :: Activity -> Maybe Int
$sel:endTime:Activity' :: Activity -> Maybe ISO8601
$sel:details:Activity' :: Activity -> Maybe Text
$sel:description:Activity' :: Activity -> Maybe Text
$sel:autoScalingGroupState:Activity' :: Activity -> Maybe Text
$sel:autoScalingGroupARN:Activity' :: Activity -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
autoScalingGroupARN
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
autoScalingGroupState
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
description
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
details
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ISO8601
endTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
progress
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
statusMessage
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
activityId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
autoScalingGroupName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
cause
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf ISO8601
startTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf ScalingActivityStatusCode
statusCode