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

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

-- |
-- Module      : Amazonka.GameLift.StopFleetActions
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Suspends certain types of activity in a fleet location. Currently, this
-- operation is used to stop auto-scaling activity. For multi-location
-- fleets, fleet actions are managed separately for each location.
--
-- Stopping fleet actions has several potential purposes. It allows you to
-- temporarily stop auto-scaling activity but retain your scaling policies
-- for use in the future. For multi-location fleets, you can set up
-- fleet-wide auto-scaling, and then opt out of it for certain locations.
--
-- This operation can be used in the following ways:
--
-- -   To stop actions on instances in the fleet\'s home Region, provide a
--     fleet ID and the type of actions to suspend.
--
-- -   To stop actions on instances in one of the fleet\'s remote
--     locations, provide a fleet ID, a location name, and the type of
--     actions to suspend.
--
-- If successful, GameLift no longer initiates scaling events except in
-- response to manual changes using
-- <https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html UpdateFleetCapacity>.
--
-- __Learn more__
--
-- <https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html Setting up GameLift Fleets>
module Amazonka.GameLift.StopFleetActions
  ( -- * Creating a Request
    StopFleetActions (..),
    newStopFleetActions,

    -- * Request Lenses
    stopFleetActions_location,
    stopFleetActions_fleetId,
    stopFleetActions_actions,

    -- * Destructuring the Response
    StopFleetActionsResponse (..),
    newStopFleetActionsResponse,

    -- * Response Lenses
    stopFleetActionsResponse_fleetArn,
    stopFleetActionsResponse_fleetId,
    stopFleetActionsResponse_httpStatus,
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.GameLift.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response

-- | /See:/ 'newStopFleetActions' smart constructor.
data StopFleetActions = StopFleetActions'
  { -- | The fleet location to stop fleet actions for. Specify a location in the
    -- form of an Amazon Web Services Region code, such as @us-west-2@.
    StopFleetActions -> Maybe Text
location :: Prelude.Maybe Prelude.Text,
    -- | A unique identifier for the fleet to stop actions on. You can use either
    -- the fleet ID or ARN value.
    StopFleetActions -> Text
fleetId :: Prelude.Text,
    -- | List of actions to suspend on the fleet.
    StopFleetActions -> NonEmpty FleetAction
actions :: Prelude.NonEmpty FleetAction
  }
  deriving (StopFleetActions -> StopFleetActions -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StopFleetActions -> StopFleetActions -> Bool
$c/= :: StopFleetActions -> StopFleetActions -> Bool
== :: StopFleetActions -> StopFleetActions -> Bool
$c== :: StopFleetActions -> StopFleetActions -> Bool
Prelude.Eq, ReadPrec [StopFleetActions]
ReadPrec StopFleetActions
Int -> ReadS StopFleetActions
ReadS [StopFleetActions]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [StopFleetActions]
$creadListPrec :: ReadPrec [StopFleetActions]
readPrec :: ReadPrec StopFleetActions
$creadPrec :: ReadPrec StopFleetActions
readList :: ReadS [StopFleetActions]
$creadList :: ReadS [StopFleetActions]
readsPrec :: Int -> ReadS StopFleetActions
$creadsPrec :: Int -> ReadS StopFleetActions
Prelude.Read, Int -> StopFleetActions -> ShowS
[StopFleetActions] -> ShowS
StopFleetActions -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StopFleetActions] -> ShowS
$cshowList :: [StopFleetActions] -> ShowS
show :: StopFleetActions -> String
$cshow :: StopFleetActions -> String
showsPrec :: Int -> StopFleetActions -> ShowS
$cshowsPrec :: Int -> StopFleetActions -> ShowS
Prelude.Show, forall x. Rep StopFleetActions x -> StopFleetActions
forall x. StopFleetActions -> Rep StopFleetActions x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep StopFleetActions x -> StopFleetActions
$cfrom :: forall x. StopFleetActions -> Rep StopFleetActions x
Prelude.Generic)

-- |
-- Create a value of 'StopFleetActions' 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:
--
-- 'location', 'stopFleetActions_location' - The fleet location to stop fleet actions for. Specify a location in the
-- form of an Amazon Web Services Region code, such as @us-west-2@.
--
-- 'fleetId', 'stopFleetActions_fleetId' - A unique identifier for the fleet to stop actions on. You can use either
-- the fleet ID or ARN value.
--
-- 'actions', 'stopFleetActions_actions' - List of actions to suspend on the fleet.
newStopFleetActions ::
  -- | 'fleetId'
  Prelude.Text ->
  -- | 'actions'
  Prelude.NonEmpty FleetAction ->
  StopFleetActions
newStopFleetActions :: Text -> NonEmpty FleetAction -> StopFleetActions
newStopFleetActions Text
pFleetId_ NonEmpty FleetAction
pActions_ =
  StopFleetActions'
    { $sel:location:StopFleetActions' :: Maybe Text
location = forall a. Maybe a
Prelude.Nothing,
      $sel:fleetId:StopFleetActions' :: Text
fleetId = Text
pFleetId_,
      $sel:actions:StopFleetActions' :: NonEmpty FleetAction
actions = forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced forall t b. AReview t b -> b -> t
Lens.# NonEmpty FleetAction
pActions_
    }

-- | The fleet location to stop fleet actions for. Specify a location in the
-- form of an Amazon Web Services Region code, such as @us-west-2@.
stopFleetActions_location :: Lens.Lens' StopFleetActions (Prelude.Maybe Prelude.Text)
stopFleetActions_location :: Lens' StopFleetActions (Maybe Text)
stopFleetActions_location = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StopFleetActions' {Maybe Text
location :: Maybe Text
$sel:location:StopFleetActions' :: StopFleetActions -> Maybe Text
location} -> Maybe Text
location) (\s :: StopFleetActions
s@StopFleetActions' {} Maybe Text
a -> StopFleetActions
s {$sel:location:StopFleetActions' :: Maybe Text
location = Maybe Text
a} :: StopFleetActions)

-- | A unique identifier for the fleet to stop actions on. You can use either
-- the fleet ID or ARN value.
stopFleetActions_fleetId :: Lens.Lens' StopFleetActions Prelude.Text
stopFleetActions_fleetId :: Lens' StopFleetActions Text
stopFleetActions_fleetId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StopFleetActions' {Text
fleetId :: Text
$sel:fleetId:StopFleetActions' :: StopFleetActions -> Text
fleetId} -> Text
fleetId) (\s :: StopFleetActions
s@StopFleetActions' {} Text
a -> StopFleetActions
s {$sel:fleetId:StopFleetActions' :: Text
fleetId = Text
a} :: StopFleetActions)

-- | List of actions to suspend on the fleet.
stopFleetActions_actions :: Lens.Lens' StopFleetActions (Prelude.NonEmpty FleetAction)
stopFleetActions_actions :: Lens' StopFleetActions (NonEmpty FleetAction)
stopFleetActions_actions = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StopFleetActions' {NonEmpty FleetAction
actions :: NonEmpty FleetAction
$sel:actions:StopFleetActions' :: StopFleetActions -> NonEmpty FleetAction
actions} -> NonEmpty FleetAction
actions) (\s :: StopFleetActions
s@StopFleetActions' {} NonEmpty FleetAction
a -> StopFleetActions
s {$sel:actions:StopFleetActions' :: NonEmpty FleetAction
actions = NonEmpty FleetAction
a} :: StopFleetActions) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

instance Core.AWSRequest StopFleetActions where
  type
    AWSResponse StopFleetActions =
      StopFleetActionsResponse
  request :: (Service -> Service)
-> StopFleetActions -> Request StopFleetActions
request Service -> Service
overrides =
    forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON (Service -> Service
overrides Service
defaultService)
  response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy StopFleetActions
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse StopFleetActions)))
response =
    forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
      ( \Int
s ResponseHeaders
h Object
x ->
          Maybe Text -> Maybe Text -> Int -> StopFleetActionsResponse
StopFleetActionsResponse'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"FleetArn")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"FleetId")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
      )

instance Prelude.Hashable StopFleetActions where
  hashWithSalt :: Int -> StopFleetActions -> Int
hashWithSalt Int
_salt StopFleetActions' {Maybe Text
NonEmpty FleetAction
Text
actions :: NonEmpty FleetAction
fleetId :: Text
location :: Maybe Text
$sel:actions:StopFleetActions' :: StopFleetActions -> NonEmpty FleetAction
$sel:fleetId:StopFleetActions' :: StopFleetActions -> Text
$sel:location:StopFleetActions' :: StopFleetActions -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
location
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
fleetId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` NonEmpty FleetAction
actions

instance Prelude.NFData StopFleetActions where
  rnf :: StopFleetActions -> ()
rnf StopFleetActions' {Maybe Text
NonEmpty FleetAction
Text
actions :: NonEmpty FleetAction
fleetId :: Text
location :: Maybe Text
$sel:actions:StopFleetActions' :: StopFleetActions -> NonEmpty FleetAction
$sel:fleetId:StopFleetActions' :: StopFleetActions -> Text
$sel:location:StopFleetActions' :: StopFleetActions -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
location
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
fleetId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf NonEmpty FleetAction
actions

instance Data.ToHeaders StopFleetActions where
  toHeaders :: StopFleetActions -> ResponseHeaders
toHeaders =
    forall a b. a -> b -> a
Prelude.const
      ( forall a. Monoid a => [a] -> a
Prelude.mconcat
          [ HeaderName
"X-Amz-Target"
              forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# (ByteString
"GameLift.StopFleetActions" :: Prelude.ByteString),
            HeaderName
"Content-Type"
              forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
                          Prelude.ByteString
                      )
          ]
      )

instance Data.ToJSON StopFleetActions where
  toJSON :: StopFleetActions -> Value
toJSON StopFleetActions' {Maybe Text
NonEmpty FleetAction
Text
actions :: NonEmpty FleetAction
fleetId :: Text
location :: Maybe Text
$sel:actions:StopFleetActions' :: StopFleetActions -> NonEmpty FleetAction
$sel:fleetId:StopFleetActions' :: StopFleetActions -> Text
$sel:location:StopFleetActions' :: StopFleetActions -> Maybe Text
..} =
    [Pair] -> Value
Data.object
      ( forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Key
"Location" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
location,
            forall a. a -> Maybe a
Prelude.Just (Key
"FleetId" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Text
fleetId),
            forall a. a -> Maybe a
Prelude.Just (Key
"Actions" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= NonEmpty FleetAction
actions)
          ]
      )

instance Data.ToPath StopFleetActions where
  toPath :: StopFleetActions -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"

instance Data.ToQuery StopFleetActions where
  toQuery :: StopFleetActions -> QueryString
toQuery = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty

-- | /See:/ 'newStopFleetActionsResponse' smart constructor.
data StopFleetActionsResponse = StopFleetActionsResponse'
  { -- | The Amazon Resource Name
    -- (<https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html ARN>)
    -- that is assigned to a GameLift fleet resource and uniquely identifies
    -- it. ARNs are unique across all Regions. Format is
    -- @arn:aws:gamelift:\<region>::fleet\/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912@.
    StopFleetActionsResponse -> Maybe Text
fleetArn :: Prelude.Maybe Prelude.Text,
    -- | A unique identifier for the fleet to stop actions on.
    StopFleetActionsResponse -> Maybe Text
fleetId :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    StopFleetActionsResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (StopFleetActionsResponse -> StopFleetActionsResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StopFleetActionsResponse -> StopFleetActionsResponse -> Bool
$c/= :: StopFleetActionsResponse -> StopFleetActionsResponse -> Bool
== :: StopFleetActionsResponse -> StopFleetActionsResponse -> Bool
$c== :: StopFleetActionsResponse -> StopFleetActionsResponse -> Bool
Prelude.Eq, ReadPrec [StopFleetActionsResponse]
ReadPrec StopFleetActionsResponse
Int -> ReadS StopFleetActionsResponse
ReadS [StopFleetActionsResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [StopFleetActionsResponse]
$creadListPrec :: ReadPrec [StopFleetActionsResponse]
readPrec :: ReadPrec StopFleetActionsResponse
$creadPrec :: ReadPrec StopFleetActionsResponse
readList :: ReadS [StopFleetActionsResponse]
$creadList :: ReadS [StopFleetActionsResponse]
readsPrec :: Int -> ReadS StopFleetActionsResponse
$creadsPrec :: Int -> ReadS StopFleetActionsResponse
Prelude.Read, Int -> StopFleetActionsResponse -> ShowS
[StopFleetActionsResponse] -> ShowS
StopFleetActionsResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StopFleetActionsResponse] -> ShowS
$cshowList :: [StopFleetActionsResponse] -> ShowS
show :: StopFleetActionsResponse -> String
$cshow :: StopFleetActionsResponse -> String
showsPrec :: Int -> StopFleetActionsResponse -> ShowS
$cshowsPrec :: Int -> StopFleetActionsResponse -> ShowS
Prelude.Show, forall x.
Rep StopFleetActionsResponse x -> StopFleetActionsResponse
forall x.
StopFleetActionsResponse -> Rep StopFleetActionsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep StopFleetActionsResponse x -> StopFleetActionsResponse
$cfrom :: forall x.
StopFleetActionsResponse -> Rep StopFleetActionsResponse x
Prelude.Generic)

-- |
-- Create a value of 'StopFleetActionsResponse' 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:
--
-- 'fleetArn', 'stopFleetActionsResponse_fleetArn' - The Amazon Resource Name
-- (<https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html ARN>)
-- that is assigned to a GameLift fleet resource and uniquely identifies
-- it. ARNs are unique across all Regions. Format is
-- @arn:aws:gamelift:\<region>::fleet\/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912@.
--
-- 'fleetId', 'stopFleetActionsResponse_fleetId' - A unique identifier for the fleet to stop actions on.
--
-- 'httpStatus', 'stopFleetActionsResponse_httpStatus' - The response's http status code.
newStopFleetActionsResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  StopFleetActionsResponse
newStopFleetActionsResponse :: Int -> StopFleetActionsResponse
newStopFleetActionsResponse Int
pHttpStatus_ =
  StopFleetActionsResponse'
    { $sel:fleetArn:StopFleetActionsResponse' :: Maybe Text
fleetArn =
        forall a. Maybe a
Prelude.Nothing,
      $sel:fleetId:StopFleetActionsResponse' :: Maybe Text
fleetId = forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:StopFleetActionsResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | The Amazon Resource Name
-- (<https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html ARN>)
-- that is assigned to a GameLift fleet resource and uniquely identifies
-- it. ARNs are unique across all Regions. Format is
-- @arn:aws:gamelift:\<region>::fleet\/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912@.
stopFleetActionsResponse_fleetArn :: Lens.Lens' StopFleetActionsResponse (Prelude.Maybe Prelude.Text)
stopFleetActionsResponse_fleetArn :: Lens' StopFleetActionsResponse (Maybe Text)
stopFleetActionsResponse_fleetArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StopFleetActionsResponse' {Maybe Text
fleetArn :: Maybe Text
$sel:fleetArn:StopFleetActionsResponse' :: StopFleetActionsResponse -> Maybe Text
fleetArn} -> Maybe Text
fleetArn) (\s :: StopFleetActionsResponse
s@StopFleetActionsResponse' {} Maybe Text
a -> StopFleetActionsResponse
s {$sel:fleetArn:StopFleetActionsResponse' :: Maybe Text
fleetArn = Maybe Text
a} :: StopFleetActionsResponse)

-- | A unique identifier for the fleet to stop actions on.
stopFleetActionsResponse_fleetId :: Lens.Lens' StopFleetActionsResponse (Prelude.Maybe Prelude.Text)
stopFleetActionsResponse_fleetId :: Lens' StopFleetActionsResponse (Maybe Text)
stopFleetActionsResponse_fleetId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StopFleetActionsResponse' {Maybe Text
fleetId :: Maybe Text
$sel:fleetId:StopFleetActionsResponse' :: StopFleetActionsResponse -> Maybe Text
fleetId} -> Maybe Text
fleetId) (\s :: StopFleetActionsResponse
s@StopFleetActionsResponse' {} Maybe Text
a -> StopFleetActionsResponse
s {$sel:fleetId:StopFleetActionsResponse' :: Maybe Text
fleetId = Maybe Text
a} :: StopFleetActionsResponse)

-- | The response's http status code.
stopFleetActionsResponse_httpStatus :: Lens.Lens' StopFleetActionsResponse Prelude.Int
stopFleetActionsResponse_httpStatus :: Lens' StopFleetActionsResponse Int
stopFleetActionsResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StopFleetActionsResponse' {Int
httpStatus :: Int
$sel:httpStatus:StopFleetActionsResponse' :: StopFleetActionsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: StopFleetActionsResponse
s@StopFleetActionsResponse' {} Int
a -> StopFleetActionsResponse
s {$sel:httpStatus:StopFleetActionsResponse' :: Int
httpStatus = Int
a} :: StopFleetActionsResponse)

instance Prelude.NFData StopFleetActionsResponse where
  rnf :: StopFleetActionsResponse -> ()
rnf StopFleetActionsResponse' {Int
Maybe Text
httpStatus :: Int
fleetId :: Maybe Text
fleetArn :: Maybe Text
$sel:httpStatus:StopFleetActionsResponse' :: StopFleetActionsResponse -> Int
$sel:fleetId:StopFleetActionsResponse' :: StopFleetActionsResponse -> Maybe Text
$sel:fleetArn:StopFleetActionsResponse' :: StopFleetActionsResponse -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
fleetArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
fleetId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus