{-# 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.DevOpsGuru.Types.ServiceName
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.DevOpsGuru.Types.ServiceName
  ( ServiceName
      ( ..,
        ServiceName_API_GATEWAY,
        ServiceName_APPLICATION_ELB,
        ServiceName_AUTO_SCALING_GROUP,
        ServiceName_CLOUD_FRONT,
        ServiceName_DYNAMO_DB,
        ServiceName_EC2,
        ServiceName_ECS,
        ServiceName_EKS,
        ServiceName_ELASTIC_BEANSTALK,
        ServiceName_ELASTI_CACHE,
        ServiceName_ELB,
        ServiceName_ES,
        ServiceName_KINESIS,
        ServiceName_LAMBDA,
        ServiceName_NAT_GATEWAY,
        ServiceName_NETWORK_ELB,
        ServiceName_RDS,
        ServiceName_REDSHIFT,
        ServiceName_ROUTE_53,
        ServiceName_S3,
        ServiceName_SAGE_MAKER,
        ServiceName_SNS,
        ServiceName_SQS,
        ServiceName_STEP_FUNCTIONS,
        ServiceName_SWF
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude

newtype ServiceName = ServiceName'
  { ServiceName -> Text
fromServiceName ::
      Core.Text
  }
  deriving stock
    ( Int -> ServiceName -> ShowS
[ServiceName] -> ShowS
ServiceName -> String
(Int -> ServiceName -> ShowS)
-> (ServiceName -> String)
-> ([ServiceName] -> ShowS)
-> Show ServiceName
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ServiceName] -> ShowS
$cshowList :: [ServiceName] -> ShowS
show :: ServiceName -> String
$cshow :: ServiceName -> String
showsPrec :: Int -> ServiceName -> ShowS
$cshowsPrec :: Int -> ServiceName -> ShowS
Prelude.Show,
      ReadPrec [ServiceName]
ReadPrec ServiceName
Int -> ReadS ServiceName
ReadS [ServiceName]
(Int -> ReadS ServiceName)
-> ReadS [ServiceName]
-> ReadPrec ServiceName
-> ReadPrec [ServiceName]
-> Read ServiceName
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ServiceName]
$creadListPrec :: ReadPrec [ServiceName]
readPrec :: ReadPrec ServiceName
$creadPrec :: ReadPrec ServiceName
readList :: ReadS [ServiceName]
$creadList :: ReadS [ServiceName]
readsPrec :: Int -> ReadS ServiceName
$creadsPrec :: Int -> ReadS ServiceName
Prelude.Read,
      ServiceName -> ServiceName -> Bool
(ServiceName -> ServiceName -> Bool)
-> (ServiceName -> ServiceName -> Bool) -> Eq ServiceName
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ServiceName -> ServiceName -> Bool
$c/= :: ServiceName -> ServiceName -> Bool
== :: ServiceName -> ServiceName -> Bool
$c== :: ServiceName -> ServiceName -> Bool
Prelude.Eq,
      Eq ServiceName
Eq ServiceName
-> (ServiceName -> ServiceName -> Ordering)
-> (ServiceName -> ServiceName -> Bool)
-> (ServiceName -> ServiceName -> Bool)
-> (ServiceName -> ServiceName -> Bool)
-> (ServiceName -> ServiceName -> Bool)
-> (ServiceName -> ServiceName -> ServiceName)
-> (ServiceName -> ServiceName -> ServiceName)
-> Ord ServiceName
ServiceName -> ServiceName -> Bool
ServiceName -> ServiceName -> Ordering
ServiceName -> ServiceName -> ServiceName
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: ServiceName -> ServiceName -> ServiceName
$cmin :: ServiceName -> ServiceName -> ServiceName
max :: ServiceName -> ServiceName -> ServiceName
$cmax :: ServiceName -> ServiceName -> ServiceName
>= :: ServiceName -> ServiceName -> Bool
$c>= :: ServiceName -> ServiceName -> Bool
> :: ServiceName -> ServiceName -> Bool
$c> :: ServiceName -> ServiceName -> Bool
<= :: ServiceName -> ServiceName -> Bool
$c<= :: ServiceName -> ServiceName -> Bool
< :: ServiceName -> ServiceName -> Bool
$c< :: ServiceName -> ServiceName -> Bool
compare :: ServiceName -> ServiceName -> Ordering
$ccompare :: ServiceName -> ServiceName -> Ordering
$cp1Ord :: Eq ServiceName
Prelude.Ord,
      (forall x. ServiceName -> Rep ServiceName x)
-> (forall x. Rep ServiceName x -> ServiceName)
-> Generic ServiceName
forall x. Rep ServiceName x -> ServiceName
forall x. ServiceName -> Rep ServiceName x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ServiceName x -> ServiceName
$cfrom :: forall x. ServiceName -> Rep ServiceName x
Prelude.Generic
    )
  deriving newtype
    ( Int -> ServiceName -> Int
ServiceName -> Int
(Int -> ServiceName -> Int)
-> (ServiceName -> Int) -> Hashable ServiceName
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ServiceName -> Int
$chash :: ServiceName -> Int
hashWithSalt :: Int -> ServiceName -> Int
$chashWithSalt :: Int -> ServiceName -> Int
Prelude.Hashable,
      ServiceName -> ()
(ServiceName -> ()) -> NFData ServiceName
forall a. (a -> ()) -> NFData a
rnf :: ServiceName -> ()
$crnf :: ServiceName -> ()
Prelude.NFData,
      Text -> Either String ServiceName
(Text -> Either String ServiceName) -> FromText ServiceName
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ServiceName
$cfromText :: Text -> Either String ServiceName
Core.FromText,
      ServiceName -> Text
(ServiceName -> Text) -> ToText ServiceName
forall a. (a -> Text) -> ToText a
toText :: ServiceName -> Text
$ctoText :: ServiceName -> Text
Core.ToText,
      ServiceName -> ByteString
(ServiceName -> ByteString) -> ToByteString ServiceName
forall a. (a -> ByteString) -> ToByteString a
toBS :: ServiceName -> ByteString
$ctoBS :: ServiceName -> ByteString
Core.ToByteString,
      ServiceName -> ByteStringBuilder
(ServiceName -> ByteStringBuilder) -> ToLog ServiceName
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ServiceName -> ByteStringBuilder
$cbuild :: ServiceName -> ByteStringBuilder
Core.ToLog,
      HeaderName -> ServiceName -> [Header]
(HeaderName -> ServiceName -> [Header]) -> ToHeader ServiceName
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ServiceName -> [Header]
$ctoHeader :: HeaderName -> ServiceName -> [Header]
Core.ToHeader,
      ServiceName -> QueryString
(ServiceName -> QueryString) -> ToQuery ServiceName
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ServiceName -> QueryString
$ctoQuery :: ServiceName -> QueryString
Core.ToQuery,
      Value -> Parser [ServiceName]
Value -> Parser ServiceName
(Value -> Parser ServiceName)
-> (Value -> Parser [ServiceName]) -> FromJSON ServiceName
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ServiceName]
$cparseJSONList :: Value -> Parser [ServiceName]
parseJSON :: Value -> Parser ServiceName
$cparseJSON :: Value -> Parser ServiceName
Core.FromJSON,
      FromJSONKeyFunction [ServiceName]
FromJSONKeyFunction ServiceName
FromJSONKeyFunction ServiceName
-> FromJSONKeyFunction [ServiceName] -> FromJSONKey ServiceName
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ServiceName]
$cfromJSONKeyList :: FromJSONKeyFunction [ServiceName]
fromJSONKey :: FromJSONKeyFunction ServiceName
$cfromJSONKey :: FromJSONKeyFunction ServiceName
Core.FromJSONKey,
      [ServiceName] -> Encoding
[ServiceName] -> Value
ServiceName -> Encoding
ServiceName -> Value
(ServiceName -> Value)
-> (ServiceName -> Encoding)
-> ([ServiceName] -> Value)
-> ([ServiceName] -> Encoding)
-> ToJSON ServiceName
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ServiceName] -> Encoding
$ctoEncodingList :: [ServiceName] -> Encoding
toJSONList :: [ServiceName] -> Value
$ctoJSONList :: [ServiceName] -> Value
toEncoding :: ServiceName -> Encoding
$ctoEncoding :: ServiceName -> Encoding
toJSON :: ServiceName -> Value
$ctoJSON :: ServiceName -> Value
Core.ToJSON,
      ToJSONKeyFunction [ServiceName]
ToJSONKeyFunction ServiceName
ToJSONKeyFunction ServiceName
-> ToJSONKeyFunction [ServiceName] -> ToJSONKey ServiceName
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ServiceName]
$ctoJSONKeyList :: ToJSONKeyFunction [ServiceName]
toJSONKey :: ToJSONKeyFunction ServiceName
$ctoJSONKey :: ToJSONKeyFunction ServiceName
Core.ToJSONKey,
      [Node] -> Either String ServiceName
([Node] -> Either String ServiceName) -> FromXML ServiceName
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ServiceName
$cparseXML :: [Node] -> Either String ServiceName
Core.FromXML,
      ServiceName -> XML
(ServiceName -> XML) -> ToXML ServiceName
forall a. (a -> XML) -> ToXML a
toXML :: ServiceName -> XML
$ctoXML :: ServiceName -> XML
Core.ToXML
    )

pattern ServiceName_API_GATEWAY :: ServiceName
pattern $bServiceName_API_GATEWAY :: ServiceName
$mServiceName_API_GATEWAY :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_API_GATEWAY = ServiceName' "API_GATEWAY"

pattern ServiceName_APPLICATION_ELB :: ServiceName
pattern $bServiceName_APPLICATION_ELB :: ServiceName
$mServiceName_APPLICATION_ELB :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_APPLICATION_ELB = ServiceName' "APPLICATION_ELB"

pattern ServiceName_AUTO_SCALING_GROUP :: ServiceName
pattern $bServiceName_AUTO_SCALING_GROUP :: ServiceName
$mServiceName_AUTO_SCALING_GROUP :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_AUTO_SCALING_GROUP = ServiceName' "AUTO_SCALING_GROUP"

pattern ServiceName_CLOUD_FRONT :: ServiceName
pattern $bServiceName_CLOUD_FRONT :: ServiceName
$mServiceName_CLOUD_FRONT :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_CLOUD_FRONT = ServiceName' "CLOUD_FRONT"

pattern ServiceName_DYNAMO_DB :: ServiceName
pattern $bServiceName_DYNAMO_DB :: ServiceName
$mServiceName_DYNAMO_DB :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_DYNAMO_DB = ServiceName' "DYNAMO_DB"

pattern ServiceName_EC2 :: ServiceName
pattern $bServiceName_EC2 :: ServiceName
$mServiceName_EC2 :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_EC2 = ServiceName' "EC2"

pattern ServiceName_ECS :: ServiceName
pattern $bServiceName_ECS :: ServiceName
$mServiceName_ECS :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_ECS = ServiceName' "ECS"

pattern ServiceName_EKS :: ServiceName
pattern $bServiceName_EKS :: ServiceName
$mServiceName_EKS :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_EKS = ServiceName' "EKS"

pattern ServiceName_ELASTIC_BEANSTALK :: ServiceName
pattern $bServiceName_ELASTIC_BEANSTALK :: ServiceName
$mServiceName_ELASTIC_BEANSTALK :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_ELASTIC_BEANSTALK = ServiceName' "ELASTIC_BEANSTALK"

pattern ServiceName_ELASTI_CACHE :: ServiceName
pattern $bServiceName_ELASTI_CACHE :: ServiceName
$mServiceName_ELASTI_CACHE :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_ELASTI_CACHE = ServiceName' "ELASTI_CACHE"

pattern ServiceName_ELB :: ServiceName
pattern $bServiceName_ELB :: ServiceName
$mServiceName_ELB :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_ELB = ServiceName' "ELB"

pattern ServiceName_ES :: ServiceName
pattern $bServiceName_ES :: ServiceName
$mServiceName_ES :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_ES = ServiceName' "ES"

pattern ServiceName_KINESIS :: ServiceName
pattern $bServiceName_KINESIS :: ServiceName
$mServiceName_KINESIS :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_KINESIS = ServiceName' "KINESIS"

pattern ServiceName_LAMBDA :: ServiceName
pattern $bServiceName_LAMBDA :: ServiceName
$mServiceName_LAMBDA :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_LAMBDA = ServiceName' "LAMBDA"

pattern ServiceName_NAT_GATEWAY :: ServiceName
pattern $bServiceName_NAT_GATEWAY :: ServiceName
$mServiceName_NAT_GATEWAY :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_NAT_GATEWAY = ServiceName' "NAT_GATEWAY"

pattern ServiceName_NETWORK_ELB :: ServiceName
pattern $bServiceName_NETWORK_ELB :: ServiceName
$mServiceName_NETWORK_ELB :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_NETWORK_ELB = ServiceName' "NETWORK_ELB"

pattern ServiceName_RDS :: ServiceName
pattern $bServiceName_RDS :: ServiceName
$mServiceName_RDS :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_RDS = ServiceName' "RDS"

pattern ServiceName_REDSHIFT :: ServiceName
pattern $bServiceName_REDSHIFT :: ServiceName
$mServiceName_REDSHIFT :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_REDSHIFT = ServiceName' "REDSHIFT"

pattern ServiceName_ROUTE_53 :: ServiceName
pattern $bServiceName_ROUTE_53 :: ServiceName
$mServiceName_ROUTE_53 :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_ROUTE_53 = ServiceName' "ROUTE_53"

pattern ServiceName_S3 :: ServiceName
pattern $bServiceName_S3 :: ServiceName
$mServiceName_S3 :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_S3 = ServiceName' "S3"

pattern ServiceName_SAGE_MAKER :: ServiceName
pattern $bServiceName_SAGE_MAKER :: ServiceName
$mServiceName_SAGE_MAKER :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_SAGE_MAKER = ServiceName' "SAGE_MAKER"

pattern ServiceName_SNS :: ServiceName
pattern $bServiceName_SNS :: ServiceName
$mServiceName_SNS :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_SNS = ServiceName' "SNS"

pattern ServiceName_SQS :: ServiceName
pattern $bServiceName_SQS :: ServiceName
$mServiceName_SQS :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_SQS = ServiceName' "SQS"

pattern ServiceName_STEP_FUNCTIONS :: ServiceName
pattern $bServiceName_STEP_FUNCTIONS :: ServiceName
$mServiceName_STEP_FUNCTIONS :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_STEP_FUNCTIONS = ServiceName' "STEP_FUNCTIONS"

pattern ServiceName_SWF :: ServiceName
pattern $bServiceName_SWF :: ServiceName
$mServiceName_SWF :: forall r. ServiceName -> (Void# -> r) -> (Void# -> r) -> r
ServiceName_SWF = ServiceName' "SWF"

{-# COMPLETE
  ServiceName_API_GATEWAY,
  ServiceName_APPLICATION_ELB,
  ServiceName_AUTO_SCALING_GROUP,
  ServiceName_CLOUD_FRONT,
  ServiceName_DYNAMO_DB,
  ServiceName_EC2,
  ServiceName_ECS,
  ServiceName_EKS,
  ServiceName_ELASTIC_BEANSTALK,
  ServiceName_ELASTI_CACHE,
  ServiceName_ELB,
  ServiceName_ES,
  ServiceName_KINESIS,
  ServiceName_LAMBDA,
  ServiceName_NAT_GATEWAY,
  ServiceName_NETWORK_ELB,
  ServiceName_RDS,
  ServiceName_REDSHIFT,
  ServiceName_ROUTE_53,
  ServiceName_S3,
  ServiceName_SAGE_MAKER,
  ServiceName_SNS,
  ServiceName_SQS,
  ServiceName_STEP_FUNCTIONS,
  ServiceName_SWF,
  ServiceName'
  #-}