{-# 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.StorageGateway.UpdateBandwidthRateLimitSchedule
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Updates the bandwidth rate limit schedule for a specified gateway. By
-- default, gateways do not have bandwidth rate limit schedules, which
-- means no bandwidth rate limiting is in effect. Use this to initiate or
-- update a gateway\'s bandwidth rate limit schedule. This operation is
-- supported only for volume, tape and S3 file gateways. FSx file gateways
-- do not support bandwidth rate limits.
module Amazonka.StorageGateway.UpdateBandwidthRateLimitSchedule
  ( -- * Creating a Request
    UpdateBandwidthRateLimitSchedule (..),
    newUpdateBandwidthRateLimitSchedule,

    -- * Request Lenses
    updateBandwidthRateLimitSchedule_gatewayARN,
    updateBandwidthRateLimitSchedule_bandwidthRateLimitIntervals,

    -- * Destructuring the Response
    UpdateBandwidthRateLimitScheduleResponse (..),
    newUpdateBandwidthRateLimitScheduleResponse,

    -- * Response Lenses
    updateBandwidthRateLimitScheduleResponse_gatewayARN,
    updateBandwidthRateLimitScheduleResponse_httpStatus,
  )
where

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
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.StorageGateway.Types

-- | /See:/ 'newUpdateBandwidthRateLimitSchedule' smart constructor.
data UpdateBandwidthRateLimitSchedule = UpdateBandwidthRateLimitSchedule'
  { UpdateBandwidthRateLimitSchedule -> Text
gatewayARN :: Prelude.Text,
    -- | An array containing bandwidth rate limit schedule intervals for a
    -- gateway. When no bandwidth rate limit intervals have been scheduled, the
    -- array is empty.
    UpdateBandwidthRateLimitSchedule -> [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals :: [BandwidthRateLimitInterval]
  }
  deriving (UpdateBandwidthRateLimitSchedule
-> UpdateBandwidthRateLimitSchedule -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateBandwidthRateLimitSchedule
-> UpdateBandwidthRateLimitSchedule -> Bool
$c/= :: UpdateBandwidthRateLimitSchedule
-> UpdateBandwidthRateLimitSchedule -> Bool
== :: UpdateBandwidthRateLimitSchedule
-> UpdateBandwidthRateLimitSchedule -> Bool
$c== :: UpdateBandwidthRateLimitSchedule
-> UpdateBandwidthRateLimitSchedule -> Bool
Prelude.Eq, ReadPrec [UpdateBandwidthRateLimitSchedule]
ReadPrec UpdateBandwidthRateLimitSchedule
Int -> ReadS UpdateBandwidthRateLimitSchedule
ReadS [UpdateBandwidthRateLimitSchedule]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateBandwidthRateLimitSchedule]
$creadListPrec :: ReadPrec [UpdateBandwidthRateLimitSchedule]
readPrec :: ReadPrec UpdateBandwidthRateLimitSchedule
$creadPrec :: ReadPrec UpdateBandwidthRateLimitSchedule
readList :: ReadS [UpdateBandwidthRateLimitSchedule]
$creadList :: ReadS [UpdateBandwidthRateLimitSchedule]
readsPrec :: Int -> ReadS UpdateBandwidthRateLimitSchedule
$creadsPrec :: Int -> ReadS UpdateBandwidthRateLimitSchedule
Prelude.Read, Int -> UpdateBandwidthRateLimitSchedule -> ShowS
[UpdateBandwidthRateLimitSchedule] -> ShowS
UpdateBandwidthRateLimitSchedule -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateBandwidthRateLimitSchedule] -> ShowS
$cshowList :: [UpdateBandwidthRateLimitSchedule] -> ShowS
show :: UpdateBandwidthRateLimitSchedule -> String
$cshow :: UpdateBandwidthRateLimitSchedule -> String
showsPrec :: Int -> UpdateBandwidthRateLimitSchedule -> ShowS
$cshowsPrec :: Int -> UpdateBandwidthRateLimitSchedule -> ShowS
Prelude.Show, forall x.
Rep UpdateBandwidthRateLimitSchedule x
-> UpdateBandwidthRateLimitSchedule
forall x.
UpdateBandwidthRateLimitSchedule
-> Rep UpdateBandwidthRateLimitSchedule x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateBandwidthRateLimitSchedule x
-> UpdateBandwidthRateLimitSchedule
$cfrom :: forall x.
UpdateBandwidthRateLimitSchedule
-> Rep UpdateBandwidthRateLimitSchedule x
Prelude.Generic)

-- |
-- Create a value of 'UpdateBandwidthRateLimitSchedule' 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:
--
-- 'gatewayARN', 'updateBandwidthRateLimitSchedule_gatewayARN' - Undocumented member.
--
-- 'bandwidthRateLimitIntervals', 'updateBandwidthRateLimitSchedule_bandwidthRateLimitIntervals' - An array containing bandwidth rate limit schedule intervals for a
-- gateway. When no bandwidth rate limit intervals have been scheduled, the
-- array is empty.
newUpdateBandwidthRateLimitSchedule ::
  -- | 'gatewayARN'
  Prelude.Text ->
  UpdateBandwidthRateLimitSchedule
newUpdateBandwidthRateLimitSchedule :: Text -> UpdateBandwidthRateLimitSchedule
newUpdateBandwidthRateLimitSchedule Text
pGatewayARN_ =
  UpdateBandwidthRateLimitSchedule'
    { $sel:gatewayARN:UpdateBandwidthRateLimitSchedule' :: Text
gatewayARN =
        Text
pGatewayARN_,
      $sel:bandwidthRateLimitIntervals:UpdateBandwidthRateLimitSchedule' :: [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals =
        forall a. Monoid a => a
Prelude.mempty
    }

-- | Undocumented member.
updateBandwidthRateLimitSchedule_gatewayARN :: Lens.Lens' UpdateBandwidthRateLimitSchedule Prelude.Text
updateBandwidthRateLimitSchedule_gatewayARN :: Lens' UpdateBandwidthRateLimitSchedule Text
updateBandwidthRateLimitSchedule_gatewayARN = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateBandwidthRateLimitSchedule' {Text
gatewayARN :: Text
$sel:gatewayARN:UpdateBandwidthRateLimitSchedule' :: UpdateBandwidthRateLimitSchedule -> Text
gatewayARN} -> Text
gatewayARN) (\s :: UpdateBandwidthRateLimitSchedule
s@UpdateBandwidthRateLimitSchedule' {} Text
a -> UpdateBandwidthRateLimitSchedule
s {$sel:gatewayARN:UpdateBandwidthRateLimitSchedule' :: Text
gatewayARN = Text
a} :: UpdateBandwidthRateLimitSchedule)

-- | An array containing bandwidth rate limit schedule intervals for a
-- gateway. When no bandwidth rate limit intervals have been scheduled, the
-- array is empty.
updateBandwidthRateLimitSchedule_bandwidthRateLimitIntervals :: Lens.Lens' UpdateBandwidthRateLimitSchedule [BandwidthRateLimitInterval]
updateBandwidthRateLimitSchedule_bandwidthRateLimitIntervals :: Lens' UpdateBandwidthRateLimitSchedule [BandwidthRateLimitInterval]
updateBandwidthRateLimitSchedule_bandwidthRateLimitIntervals = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateBandwidthRateLimitSchedule' {[BandwidthRateLimitInterval]
bandwidthRateLimitIntervals :: [BandwidthRateLimitInterval]
$sel:bandwidthRateLimitIntervals:UpdateBandwidthRateLimitSchedule' :: UpdateBandwidthRateLimitSchedule -> [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals} -> [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals) (\s :: UpdateBandwidthRateLimitSchedule
s@UpdateBandwidthRateLimitSchedule' {} [BandwidthRateLimitInterval]
a -> UpdateBandwidthRateLimitSchedule
s {$sel:bandwidthRateLimitIntervals:UpdateBandwidthRateLimitSchedule' :: [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals = [BandwidthRateLimitInterval]
a} :: UpdateBandwidthRateLimitSchedule) 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
    UpdateBandwidthRateLimitSchedule
  where
  type
    AWSResponse UpdateBandwidthRateLimitSchedule =
      UpdateBandwidthRateLimitScheduleResponse
  request :: (Service -> Service)
-> UpdateBandwidthRateLimitSchedule
-> Request UpdateBandwidthRateLimitSchedule
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 UpdateBandwidthRateLimitSchedule
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse (AWSResponse UpdateBandwidthRateLimitSchedule)))
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 -> Int -> UpdateBandwidthRateLimitScheduleResponse
UpdateBandwidthRateLimitScheduleResponse'
            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
"GatewayARN")
            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
    UpdateBandwidthRateLimitSchedule
  where
  hashWithSalt :: Int -> UpdateBandwidthRateLimitSchedule -> Int
hashWithSalt
    Int
_salt
    UpdateBandwidthRateLimitSchedule' {[BandwidthRateLimitInterval]
Text
bandwidthRateLimitIntervals :: [BandwidthRateLimitInterval]
gatewayARN :: Text
$sel:bandwidthRateLimitIntervals:UpdateBandwidthRateLimitSchedule' :: UpdateBandwidthRateLimitSchedule -> [BandwidthRateLimitInterval]
$sel:gatewayARN:UpdateBandwidthRateLimitSchedule' :: UpdateBandwidthRateLimitSchedule -> Text
..} =
      Int
_salt
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
gatewayARN
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals

instance
  Prelude.NFData
    UpdateBandwidthRateLimitSchedule
  where
  rnf :: UpdateBandwidthRateLimitSchedule -> ()
rnf UpdateBandwidthRateLimitSchedule' {[BandwidthRateLimitInterval]
Text
bandwidthRateLimitIntervals :: [BandwidthRateLimitInterval]
gatewayARN :: Text
$sel:bandwidthRateLimitIntervals:UpdateBandwidthRateLimitSchedule' :: UpdateBandwidthRateLimitSchedule -> [BandwidthRateLimitInterval]
$sel:gatewayARN:UpdateBandwidthRateLimitSchedule' :: UpdateBandwidthRateLimitSchedule -> Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Text
gatewayARN
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals

instance
  Data.ToHeaders
    UpdateBandwidthRateLimitSchedule
  where
  toHeaders :: UpdateBandwidthRateLimitSchedule -> 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
"StorageGateway_20130630.UpdateBandwidthRateLimitSchedule" ::
                          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 UpdateBandwidthRateLimitSchedule where
  toJSON :: UpdateBandwidthRateLimitSchedule -> Value
toJSON UpdateBandwidthRateLimitSchedule' {[BandwidthRateLimitInterval]
Text
bandwidthRateLimitIntervals :: [BandwidthRateLimitInterval]
gatewayARN :: Text
$sel:bandwidthRateLimitIntervals:UpdateBandwidthRateLimitSchedule' :: UpdateBandwidthRateLimitSchedule -> [BandwidthRateLimitInterval]
$sel:gatewayARN:UpdateBandwidthRateLimitSchedule' :: UpdateBandwidthRateLimitSchedule -> Text
..} =
    [Pair] -> Value
Data.object
      ( forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ forall a. a -> Maybe a
Prelude.Just (Key
"GatewayARN" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Text
gatewayARN),
            forall a. a -> Maybe a
Prelude.Just
              ( Key
"BandwidthRateLimitIntervals"
                  forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals
              )
          ]
      )

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

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

-- | /See:/ 'newUpdateBandwidthRateLimitScheduleResponse' smart constructor.
data UpdateBandwidthRateLimitScheduleResponse = UpdateBandwidthRateLimitScheduleResponse'
  { UpdateBandwidthRateLimitScheduleResponse -> Maybe Text
gatewayARN :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    UpdateBandwidthRateLimitScheduleResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (UpdateBandwidthRateLimitScheduleResponse
-> UpdateBandwidthRateLimitScheduleResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateBandwidthRateLimitScheduleResponse
-> UpdateBandwidthRateLimitScheduleResponse -> Bool
$c/= :: UpdateBandwidthRateLimitScheduleResponse
-> UpdateBandwidthRateLimitScheduleResponse -> Bool
== :: UpdateBandwidthRateLimitScheduleResponse
-> UpdateBandwidthRateLimitScheduleResponse -> Bool
$c== :: UpdateBandwidthRateLimitScheduleResponse
-> UpdateBandwidthRateLimitScheduleResponse -> Bool
Prelude.Eq, ReadPrec [UpdateBandwidthRateLimitScheduleResponse]
ReadPrec UpdateBandwidthRateLimitScheduleResponse
Int -> ReadS UpdateBandwidthRateLimitScheduleResponse
ReadS [UpdateBandwidthRateLimitScheduleResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateBandwidthRateLimitScheduleResponse]
$creadListPrec :: ReadPrec [UpdateBandwidthRateLimitScheduleResponse]
readPrec :: ReadPrec UpdateBandwidthRateLimitScheduleResponse
$creadPrec :: ReadPrec UpdateBandwidthRateLimitScheduleResponse
readList :: ReadS [UpdateBandwidthRateLimitScheduleResponse]
$creadList :: ReadS [UpdateBandwidthRateLimitScheduleResponse]
readsPrec :: Int -> ReadS UpdateBandwidthRateLimitScheduleResponse
$creadsPrec :: Int -> ReadS UpdateBandwidthRateLimitScheduleResponse
Prelude.Read, Int -> UpdateBandwidthRateLimitScheduleResponse -> ShowS
[UpdateBandwidthRateLimitScheduleResponse] -> ShowS
UpdateBandwidthRateLimitScheduleResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateBandwidthRateLimitScheduleResponse] -> ShowS
$cshowList :: [UpdateBandwidthRateLimitScheduleResponse] -> ShowS
show :: UpdateBandwidthRateLimitScheduleResponse -> String
$cshow :: UpdateBandwidthRateLimitScheduleResponse -> String
showsPrec :: Int -> UpdateBandwidthRateLimitScheduleResponse -> ShowS
$cshowsPrec :: Int -> UpdateBandwidthRateLimitScheduleResponse -> ShowS
Prelude.Show, forall x.
Rep UpdateBandwidthRateLimitScheduleResponse x
-> UpdateBandwidthRateLimitScheduleResponse
forall x.
UpdateBandwidthRateLimitScheduleResponse
-> Rep UpdateBandwidthRateLimitScheduleResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateBandwidthRateLimitScheduleResponse x
-> UpdateBandwidthRateLimitScheduleResponse
$cfrom :: forall x.
UpdateBandwidthRateLimitScheduleResponse
-> Rep UpdateBandwidthRateLimitScheduleResponse x
Prelude.Generic)

-- |
-- Create a value of 'UpdateBandwidthRateLimitScheduleResponse' 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:
--
-- 'gatewayARN', 'updateBandwidthRateLimitScheduleResponse_gatewayARN' - Undocumented member.
--
-- 'httpStatus', 'updateBandwidthRateLimitScheduleResponse_httpStatus' - The response's http status code.
newUpdateBandwidthRateLimitScheduleResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  UpdateBandwidthRateLimitScheduleResponse
newUpdateBandwidthRateLimitScheduleResponse :: Int -> UpdateBandwidthRateLimitScheduleResponse
newUpdateBandwidthRateLimitScheduleResponse
  Int
pHttpStatus_ =
    UpdateBandwidthRateLimitScheduleResponse'
      { $sel:gatewayARN:UpdateBandwidthRateLimitScheduleResponse' :: Maybe Text
gatewayARN =
          forall a. Maybe a
Prelude.Nothing,
        $sel:httpStatus:UpdateBandwidthRateLimitScheduleResponse' :: Int
httpStatus = Int
pHttpStatus_
      }

-- | Undocumented member.
updateBandwidthRateLimitScheduleResponse_gatewayARN :: Lens.Lens' UpdateBandwidthRateLimitScheduleResponse (Prelude.Maybe Prelude.Text)
updateBandwidthRateLimitScheduleResponse_gatewayARN :: Lens' UpdateBandwidthRateLimitScheduleResponse (Maybe Text)
updateBandwidthRateLimitScheduleResponse_gatewayARN = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateBandwidthRateLimitScheduleResponse' {Maybe Text
gatewayARN :: Maybe Text
$sel:gatewayARN:UpdateBandwidthRateLimitScheduleResponse' :: UpdateBandwidthRateLimitScheduleResponse -> Maybe Text
gatewayARN} -> Maybe Text
gatewayARN) (\s :: UpdateBandwidthRateLimitScheduleResponse
s@UpdateBandwidthRateLimitScheduleResponse' {} Maybe Text
a -> UpdateBandwidthRateLimitScheduleResponse
s {$sel:gatewayARN:UpdateBandwidthRateLimitScheduleResponse' :: Maybe Text
gatewayARN = Maybe Text
a} :: UpdateBandwidthRateLimitScheduleResponse)

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

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