{-# 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.SES.UpdateConfigurationSetTrackingOptions
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Modifies an association between a configuration set and a custom domain
-- for open and click event tracking.
--
-- By default, images and links used for tracking open and click events are
-- hosted on domains operated by Amazon SES. You can configure a subdomain
-- of your own to handle these events. For information about using custom
-- domains, see the
-- <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/configure-custom-open-click-domains.html Amazon SES Developer Guide>.
module Amazonka.SES.UpdateConfigurationSetTrackingOptions
  ( -- * Creating a Request
    UpdateConfigurationSetTrackingOptions (..),
    newUpdateConfigurationSetTrackingOptions,

    -- * Request Lenses
    updateConfigurationSetTrackingOptions_configurationSetName,
    updateConfigurationSetTrackingOptions_trackingOptions,

    -- * Destructuring the Response
    UpdateConfigurationSetTrackingOptionsResponse (..),
    newUpdateConfigurationSetTrackingOptionsResponse,

    -- * Response Lenses
    updateConfigurationSetTrackingOptionsResponse_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.SES.Types

-- | Represents a request to update the tracking options for a configuration
-- set.
--
-- /See:/ 'newUpdateConfigurationSetTrackingOptions' smart constructor.
data UpdateConfigurationSetTrackingOptions = UpdateConfigurationSetTrackingOptions'
  { -- | The name of the configuration set for which you want to update the
    -- custom tracking domain.
    UpdateConfigurationSetTrackingOptions -> Text
configurationSetName :: Prelude.Text,
    UpdateConfigurationSetTrackingOptions -> TrackingOptions
trackingOptions :: TrackingOptions
  }
  deriving (UpdateConfigurationSetTrackingOptions
-> UpdateConfigurationSetTrackingOptions -> Bool
(UpdateConfigurationSetTrackingOptions
 -> UpdateConfigurationSetTrackingOptions -> Bool)
-> (UpdateConfigurationSetTrackingOptions
    -> UpdateConfigurationSetTrackingOptions -> Bool)
-> Eq UpdateConfigurationSetTrackingOptions
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: UpdateConfigurationSetTrackingOptions
-> UpdateConfigurationSetTrackingOptions -> Bool
== :: UpdateConfigurationSetTrackingOptions
-> UpdateConfigurationSetTrackingOptions -> Bool
$c/= :: UpdateConfigurationSetTrackingOptions
-> UpdateConfigurationSetTrackingOptions -> Bool
/= :: UpdateConfigurationSetTrackingOptions
-> UpdateConfigurationSetTrackingOptions -> Bool
Prelude.Eq, ReadPrec [UpdateConfigurationSetTrackingOptions]
ReadPrec UpdateConfigurationSetTrackingOptions
Int -> ReadS UpdateConfigurationSetTrackingOptions
ReadS [UpdateConfigurationSetTrackingOptions]
(Int -> ReadS UpdateConfigurationSetTrackingOptions)
-> ReadS [UpdateConfigurationSetTrackingOptions]
-> ReadPrec UpdateConfigurationSetTrackingOptions
-> ReadPrec [UpdateConfigurationSetTrackingOptions]
-> Read UpdateConfigurationSetTrackingOptions
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
$creadsPrec :: Int -> ReadS UpdateConfigurationSetTrackingOptions
readsPrec :: Int -> ReadS UpdateConfigurationSetTrackingOptions
$creadList :: ReadS [UpdateConfigurationSetTrackingOptions]
readList :: ReadS [UpdateConfigurationSetTrackingOptions]
$creadPrec :: ReadPrec UpdateConfigurationSetTrackingOptions
readPrec :: ReadPrec UpdateConfigurationSetTrackingOptions
$creadListPrec :: ReadPrec [UpdateConfigurationSetTrackingOptions]
readListPrec :: ReadPrec [UpdateConfigurationSetTrackingOptions]
Prelude.Read, Int -> UpdateConfigurationSetTrackingOptions -> ShowS
[UpdateConfigurationSetTrackingOptions] -> ShowS
UpdateConfigurationSetTrackingOptions -> String
(Int -> UpdateConfigurationSetTrackingOptions -> ShowS)
-> (UpdateConfigurationSetTrackingOptions -> String)
-> ([UpdateConfigurationSetTrackingOptions] -> ShowS)
-> Show UpdateConfigurationSetTrackingOptions
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> UpdateConfigurationSetTrackingOptions -> ShowS
showsPrec :: Int -> UpdateConfigurationSetTrackingOptions -> ShowS
$cshow :: UpdateConfigurationSetTrackingOptions -> String
show :: UpdateConfigurationSetTrackingOptions -> String
$cshowList :: [UpdateConfigurationSetTrackingOptions] -> ShowS
showList :: [UpdateConfigurationSetTrackingOptions] -> ShowS
Prelude.Show, (forall x.
 UpdateConfigurationSetTrackingOptions
 -> Rep UpdateConfigurationSetTrackingOptions x)
-> (forall x.
    Rep UpdateConfigurationSetTrackingOptions x
    -> UpdateConfigurationSetTrackingOptions)
-> Generic UpdateConfigurationSetTrackingOptions
forall x.
Rep UpdateConfigurationSetTrackingOptions x
-> UpdateConfigurationSetTrackingOptions
forall x.
UpdateConfigurationSetTrackingOptions
-> Rep UpdateConfigurationSetTrackingOptions x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x.
UpdateConfigurationSetTrackingOptions
-> Rep UpdateConfigurationSetTrackingOptions x
from :: forall x.
UpdateConfigurationSetTrackingOptions
-> Rep UpdateConfigurationSetTrackingOptions x
$cto :: forall x.
Rep UpdateConfigurationSetTrackingOptions x
-> UpdateConfigurationSetTrackingOptions
to :: forall x.
Rep UpdateConfigurationSetTrackingOptions x
-> UpdateConfigurationSetTrackingOptions
Prelude.Generic)

-- |
-- Create a value of 'UpdateConfigurationSetTrackingOptions' 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:
--
-- 'configurationSetName', 'updateConfigurationSetTrackingOptions_configurationSetName' - The name of the configuration set for which you want to update the
-- custom tracking domain.
--
-- 'trackingOptions', 'updateConfigurationSetTrackingOptions_trackingOptions' - Undocumented member.
newUpdateConfigurationSetTrackingOptions ::
  -- | 'configurationSetName'
  Prelude.Text ->
  -- | 'trackingOptions'
  TrackingOptions ->
  UpdateConfigurationSetTrackingOptions
newUpdateConfigurationSetTrackingOptions :: Text -> TrackingOptions -> UpdateConfigurationSetTrackingOptions
newUpdateConfigurationSetTrackingOptions
  Text
pConfigurationSetName_
  TrackingOptions
pTrackingOptions_ =
    UpdateConfigurationSetTrackingOptions'
      { $sel:configurationSetName:UpdateConfigurationSetTrackingOptions' :: Text
configurationSetName =
          Text
pConfigurationSetName_,
        $sel:trackingOptions:UpdateConfigurationSetTrackingOptions' :: TrackingOptions
trackingOptions = TrackingOptions
pTrackingOptions_
      }

-- | The name of the configuration set for which you want to update the
-- custom tracking domain.
updateConfigurationSetTrackingOptions_configurationSetName :: Lens.Lens' UpdateConfigurationSetTrackingOptions Prelude.Text
updateConfigurationSetTrackingOptions_configurationSetName :: Lens' UpdateConfigurationSetTrackingOptions Text
updateConfigurationSetTrackingOptions_configurationSetName = (UpdateConfigurationSetTrackingOptions -> Text)
-> (UpdateConfigurationSetTrackingOptions
    -> Text -> UpdateConfigurationSetTrackingOptions)
-> Lens' UpdateConfigurationSetTrackingOptions Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateConfigurationSetTrackingOptions' {Text
$sel:configurationSetName:UpdateConfigurationSetTrackingOptions' :: UpdateConfigurationSetTrackingOptions -> Text
configurationSetName :: Text
configurationSetName} -> Text
configurationSetName) (\s :: UpdateConfigurationSetTrackingOptions
s@UpdateConfigurationSetTrackingOptions' {} Text
a -> UpdateConfigurationSetTrackingOptions
s {configurationSetName = a} :: UpdateConfigurationSetTrackingOptions)

-- | Undocumented member.
updateConfigurationSetTrackingOptions_trackingOptions :: Lens.Lens' UpdateConfigurationSetTrackingOptions TrackingOptions
updateConfigurationSetTrackingOptions_trackingOptions :: Lens' UpdateConfigurationSetTrackingOptions TrackingOptions
updateConfigurationSetTrackingOptions_trackingOptions = (UpdateConfigurationSetTrackingOptions -> TrackingOptions)
-> (UpdateConfigurationSetTrackingOptions
    -> TrackingOptions -> UpdateConfigurationSetTrackingOptions)
-> Lens' UpdateConfigurationSetTrackingOptions TrackingOptions
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateConfigurationSetTrackingOptions' {TrackingOptions
$sel:trackingOptions:UpdateConfigurationSetTrackingOptions' :: UpdateConfigurationSetTrackingOptions -> TrackingOptions
trackingOptions :: TrackingOptions
trackingOptions} -> TrackingOptions
trackingOptions) (\s :: UpdateConfigurationSetTrackingOptions
s@UpdateConfigurationSetTrackingOptions' {} TrackingOptions
a -> UpdateConfigurationSetTrackingOptions
s {trackingOptions = a} :: UpdateConfigurationSetTrackingOptions)

instance
  Core.AWSRequest
    UpdateConfigurationSetTrackingOptions
  where
  type
    AWSResponse
      UpdateConfigurationSetTrackingOptions =
      UpdateConfigurationSetTrackingOptionsResponse
  request :: (Service -> Service)
-> UpdateConfigurationSetTrackingOptions
-> Request UpdateConfigurationSetTrackingOptions
request Service -> Service
overrides =
    Service
-> UpdateConfigurationSetTrackingOptions
-> Request UpdateConfigurationSetTrackingOptions
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery (Service -> Service
overrides Service
defaultService)
  response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy UpdateConfigurationSetTrackingOptions
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse
           (AWSResponse UpdateConfigurationSetTrackingOptions)))
response =
    Text
-> (Int
    -> ResponseHeaders
    -> [Node]
    -> Either
         String (AWSResponse UpdateConfigurationSetTrackingOptions))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy UpdateConfigurationSetTrackingOptions
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse
           (AWSResponse UpdateConfigurationSetTrackingOptions)))
forall (m :: * -> *) a.
MonadResource m =>
Text
-> (Int
    -> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXMLWrapper
      Text
"UpdateConfigurationSetTrackingOptionsResult"
      ( \Int
s ResponseHeaders
h [Node]
x ->
          Int -> UpdateConfigurationSetTrackingOptionsResponse
UpdateConfigurationSetTrackingOptionsResponse'
            (Int -> UpdateConfigurationSetTrackingOptionsResponse)
-> Either String Int
-> Either String UpdateConfigurationSetTrackingOptionsResponse
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Int -> Either String Int
forall a. a -> Either String a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
      )

instance
  Prelude.Hashable
    UpdateConfigurationSetTrackingOptions
  where
  hashWithSalt :: Int -> UpdateConfigurationSetTrackingOptions -> Int
hashWithSalt
    Int
_salt
    UpdateConfigurationSetTrackingOptions' {Text
TrackingOptions
$sel:configurationSetName:UpdateConfigurationSetTrackingOptions' :: UpdateConfigurationSetTrackingOptions -> Text
$sel:trackingOptions:UpdateConfigurationSetTrackingOptions' :: UpdateConfigurationSetTrackingOptions -> TrackingOptions
configurationSetName :: Text
trackingOptions :: TrackingOptions
..} =
      Int
_salt
        Int -> Text -> Int
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
configurationSetName
        Int -> TrackingOptions -> Int
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` TrackingOptions
trackingOptions

instance
  Prelude.NFData
    UpdateConfigurationSetTrackingOptions
  where
  rnf :: UpdateConfigurationSetTrackingOptions -> ()
rnf UpdateConfigurationSetTrackingOptions' {Text
TrackingOptions
$sel:configurationSetName:UpdateConfigurationSetTrackingOptions' :: UpdateConfigurationSetTrackingOptions -> Text
$sel:trackingOptions:UpdateConfigurationSetTrackingOptions' :: UpdateConfigurationSetTrackingOptions -> TrackingOptions
configurationSetName :: Text
trackingOptions :: TrackingOptions
..} =
    Text -> ()
forall a. NFData a => a -> ()
Prelude.rnf Text
configurationSetName
      () -> () -> ()
forall a b. a -> b -> b
`Prelude.seq` TrackingOptions -> ()
forall a. NFData a => a -> ()
Prelude.rnf TrackingOptions
trackingOptions

instance
  Data.ToHeaders
    UpdateConfigurationSetTrackingOptions
  where
  toHeaders :: UpdateConfigurationSetTrackingOptions -> ResponseHeaders
toHeaders = ResponseHeaders
-> UpdateConfigurationSetTrackingOptions -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty

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

instance
  Data.ToQuery
    UpdateConfigurationSetTrackingOptions
  where
  toQuery :: UpdateConfigurationSetTrackingOptions -> QueryString
toQuery UpdateConfigurationSetTrackingOptions' {Text
TrackingOptions
$sel:configurationSetName:UpdateConfigurationSetTrackingOptions' :: UpdateConfigurationSetTrackingOptions -> Text
$sel:trackingOptions:UpdateConfigurationSetTrackingOptions' :: UpdateConfigurationSetTrackingOptions -> TrackingOptions
configurationSetName :: Text
trackingOptions :: TrackingOptions
..} =
    [QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ ByteString
"Action"
          ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: ( ByteString
"UpdateConfigurationSetTrackingOptions" ::
                      Prelude.ByteString
                  ),
        ByteString
"Version"
          ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"2010-12-01" :: Prelude.ByteString),
        ByteString
"ConfigurationSetName" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Text
configurationSetName,
        ByteString
"TrackingOptions" ByteString -> TrackingOptions -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: TrackingOptions
trackingOptions
      ]

-- | An empty element returned on a successful request.
--
-- /See:/ 'newUpdateConfigurationSetTrackingOptionsResponse' smart constructor.
data UpdateConfigurationSetTrackingOptionsResponse = UpdateConfigurationSetTrackingOptionsResponse'
  { -- | The response's http status code.
    UpdateConfigurationSetTrackingOptionsResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (UpdateConfigurationSetTrackingOptionsResponse
-> UpdateConfigurationSetTrackingOptionsResponse -> Bool
(UpdateConfigurationSetTrackingOptionsResponse
 -> UpdateConfigurationSetTrackingOptionsResponse -> Bool)
-> (UpdateConfigurationSetTrackingOptionsResponse
    -> UpdateConfigurationSetTrackingOptionsResponse -> Bool)
-> Eq UpdateConfigurationSetTrackingOptionsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: UpdateConfigurationSetTrackingOptionsResponse
-> UpdateConfigurationSetTrackingOptionsResponse -> Bool
== :: UpdateConfigurationSetTrackingOptionsResponse
-> UpdateConfigurationSetTrackingOptionsResponse -> Bool
$c/= :: UpdateConfigurationSetTrackingOptionsResponse
-> UpdateConfigurationSetTrackingOptionsResponse -> Bool
/= :: UpdateConfigurationSetTrackingOptionsResponse
-> UpdateConfigurationSetTrackingOptionsResponse -> Bool
Prelude.Eq, ReadPrec [UpdateConfigurationSetTrackingOptionsResponse]
ReadPrec UpdateConfigurationSetTrackingOptionsResponse
Int -> ReadS UpdateConfigurationSetTrackingOptionsResponse
ReadS [UpdateConfigurationSetTrackingOptionsResponse]
(Int -> ReadS UpdateConfigurationSetTrackingOptionsResponse)
-> ReadS [UpdateConfigurationSetTrackingOptionsResponse]
-> ReadPrec UpdateConfigurationSetTrackingOptionsResponse
-> ReadPrec [UpdateConfigurationSetTrackingOptionsResponse]
-> Read UpdateConfigurationSetTrackingOptionsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
$creadsPrec :: Int -> ReadS UpdateConfigurationSetTrackingOptionsResponse
readsPrec :: Int -> ReadS UpdateConfigurationSetTrackingOptionsResponse
$creadList :: ReadS [UpdateConfigurationSetTrackingOptionsResponse]
readList :: ReadS [UpdateConfigurationSetTrackingOptionsResponse]
$creadPrec :: ReadPrec UpdateConfigurationSetTrackingOptionsResponse
readPrec :: ReadPrec UpdateConfigurationSetTrackingOptionsResponse
$creadListPrec :: ReadPrec [UpdateConfigurationSetTrackingOptionsResponse]
readListPrec :: ReadPrec [UpdateConfigurationSetTrackingOptionsResponse]
Prelude.Read, Int -> UpdateConfigurationSetTrackingOptionsResponse -> ShowS
[UpdateConfigurationSetTrackingOptionsResponse] -> ShowS
UpdateConfigurationSetTrackingOptionsResponse -> String
(Int -> UpdateConfigurationSetTrackingOptionsResponse -> ShowS)
-> (UpdateConfigurationSetTrackingOptionsResponse -> String)
-> ([UpdateConfigurationSetTrackingOptionsResponse] -> ShowS)
-> Show UpdateConfigurationSetTrackingOptionsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> UpdateConfigurationSetTrackingOptionsResponse -> ShowS
showsPrec :: Int -> UpdateConfigurationSetTrackingOptionsResponse -> ShowS
$cshow :: UpdateConfigurationSetTrackingOptionsResponse -> String
show :: UpdateConfigurationSetTrackingOptionsResponse -> String
$cshowList :: [UpdateConfigurationSetTrackingOptionsResponse] -> ShowS
showList :: [UpdateConfigurationSetTrackingOptionsResponse] -> ShowS
Prelude.Show, (forall x.
 UpdateConfigurationSetTrackingOptionsResponse
 -> Rep UpdateConfigurationSetTrackingOptionsResponse x)
-> (forall x.
    Rep UpdateConfigurationSetTrackingOptionsResponse x
    -> UpdateConfigurationSetTrackingOptionsResponse)
-> Generic UpdateConfigurationSetTrackingOptionsResponse
forall x.
Rep UpdateConfigurationSetTrackingOptionsResponse x
-> UpdateConfigurationSetTrackingOptionsResponse
forall x.
UpdateConfigurationSetTrackingOptionsResponse
-> Rep UpdateConfigurationSetTrackingOptionsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x.
UpdateConfigurationSetTrackingOptionsResponse
-> Rep UpdateConfigurationSetTrackingOptionsResponse x
from :: forall x.
UpdateConfigurationSetTrackingOptionsResponse
-> Rep UpdateConfigurationSetTrackingOptionsResponse x
$cto :: forall x.
Rep UpdateConfigurationSetTrackingOptionsResponse x
-> UpdateConfigurationSetTrackingOptionsResponse
to :: forall x.
Rep UpdateConfigurationSetTrackingOptionsResponse x
-> UpdateConfigurationSetTrackingOptionsResponse
Prelude.Generic)

-- |
-- Create a value of 'UpdateConfigurationSetTrackingOptionsResponse' 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:
--
-- 'httpStatus', 'updateConfigurationSetTrackingOptionsResponse_httpStatus' - The response's http status code.
newUpdateConfigurationSetTrackingOptionsResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  UpdateConfigurationSetTrackingOptionsResponse
newUpdateConfigurationSetTrackingOptionsResponse :: Int -> UpdateConfigurationSetTrackingOptionsResponse
newUpdateConfigurationSetTrackingOptionsResponse
  Int
pHttpStatus_ =
    UpdateConfigurationSetTrackingOptionsResponse'
      { $sel:httpStatus:UpdateConfigurationSetTrackingOptionsResponse' :: Int
httpStatus =
          Int
pHttpStatus_
      }

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

instance
  Prelude.NFData
    UpdateConfigurationSetTrackingOptionsResponse
  where
  rnf :: UpdateConfigurationSetTrackingOptionsResponse -> ()
rnf
    UpdateConfigurationSetTrackingOptionsResponse' {Int
$sel:httpStatus:UpdateConfigurationSetTrackingOptionsResponse' :: UpdateConfigurationSetTrackingOptionsResponse -> Int
httpStatus :: Int
..} =
      Int -> ()
forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus