amazonka-medialive-2.0: gen/Amazonka/MediaLive/Types/DeviceSettingsSyncState.hs
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
-- Derived from AWS service descriptions, licensed under Apache 2.0.
-- |
-- Module : Amazonka.MediaLive.Types.DeviceSettingsSyncState
-- 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.MediaLive.Types.DeviceSettingsSyncState
( DeviceSettingsSyncState
( ..,
DeviceSettingsSyncState_SYNCED,
DeviceSettingsSyncState_SYNCING
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
-- | The status of the action to synchronize the device configuration. If you
-- change the configuration of the input device (for example, the maximum
-- bitrate), MediaLive sends the new data to the device. The device might
-- not update itself immediately. SYNCED means the device has updated its
-- configuration. SYNCING means that it has not updated its configuration.
newtype DeviceSettingsSyncState = DeviceSettingsSyncState'
{ fromDeviceSettingsSyncState ::
Data.Text
}
deriving stock
( Prelude.Show,
Prelude.Read,
Prelude.Eq,
Prelude.Ord,
Prelude.Generic
)
deriving newtype
( Prelude.Hashable,
Prelude.NFData,
Data.FromText,
Data.ToText,
Data.ToByteString,
Data.ToLog,
Data.ToHeader,
Data.ToQuery,
Data.FromJSON,
Data.FromJSONKey,
Data.ToJSON,
Data.ToJSONKey,
Data.FromXML,
Data.ToXML
)
pattern DeviceSettingsSyncState_SYNCED :: DeviceSettingsSyncState
pattern DeviceSettingsSyncState_SYNCED = DeviceSettingsSyncState' "SYNCED"
pattern DeviceSettingsSyncState_SYNCING :: DeviceSettingsSyncState
pattern DeviceSettingsSyncState_SYNCING = DeviceSettingsSyncState' "SYNCING"
{-# COMPLETE
DeviceSettingsSyncState_SYNCED,
DeviceSettingsSyncState_SYNCING,
DeviceSettingsSyncState'
#-}