{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.AppStream.Types.FleetAttribute
( FleetAttribute
( ..,
FleetAttribute_DOMAIN_JOIN_INFO,
FleetAttribute_IAM_ROLE_ARN,
FleetAttribute_VPC_CONFIGURATION,
FleetAttribute_VPC_CONFIGURATION_SECURITY_GROUP_IDS
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype FleetAttribute = FleetAttribute'
{ FleetAttribute -> Text
fromFleetAttribute ::
Core.Text
}
deriving stock
( Int -> FleetAttribute -> ShowS
[FleetAttribute] -> ShowS
FleetAttribute -> String
(Int -> FleetAttribute -> ShowS)
-> (FleetAttribute -> String)
-> ([FleetAttribute] -> ShowS)
-> Show FleetAttribute
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [FleetAttribute] -> ShowS
$cshowList :: [FleetAttribute] -> ShowS
show :: FleetAttribute -> String
$cshow :: FleetAttribute -> String
showsPrec :: Int -> FleetAttribute -> ShowS
$cshowsPrec :: Int -> FleetAttribute -> ShowS
Prelude.Show,
ReadPrec [FleetAttribute]
ReadPrec FleetAttribute
Int -> ReadS FleetAttribute
ReadS [FleetAttribute]
(Int -> ReadS FleetAttribute)
-> ReadS [FleetAttribute]
-> ReadPrec FleetAttribute
-> ReadPrec [FleetAttribute]
-> Read FleetAttribute
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [FleetAttribute]
$creadListPrec :: ReadPrec [FleetAttribute]
readPrec :: ReadPrec FleetAttribute
$creadPrec :: ReadPrec FleetAttribute
readList :: ReadS [FleetAttribute]
$creadList :: ReadS [FleetAttribute]
readsPrec :: Int -> ReadS FleetAttribute
$creadsPrec :: Int -> ReadS FleetAttribute
Prelude.Read,
FleetAttribute -> FleetAttribute -> Bool
(FleetAttribute -> FleetAttribute -> Bool)
-> (FleetAttribute -> FleetAttribute -> Bool) -> Eq FleetAttribute
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: FleetAttribute -> FleetAttribute -> Bool
$c/= :: FleetAttribute -> FleetAttribute -> Bool
== :: FleetAttribute -> FleetAttribute -> Bool
$c== :: FleetAttribute -> FleetAttribute -> Bool
Prelude.Eq,
Eq FleetAttribute
Eq FleetAttribute
-> (FleetAttribute -> FleetAttribute -> Ordering)
-> (FleetAttribute -> FleetAttribute -> Bool)
-> (FleetAttribute -> FleetAttribute -> Bool)
-> (FleetAttribute -> FleetAttribute -> Bool)
-> (FleetAttribute -> FleetAttribute -> Bool)
-> (FleetAttribute -> FleetAttribute -> FleetAttribute)
-> (FleetAttribute -> FleetAttribute -> FleetAttribute)
-> Ord FleetAttribute
FleetAttribute -> FleetAttribute -> Bool
FleetAttribute -> FleetAttribute -> Ordering
FleetAttribute -> FleetAttribute -> FleetAttribute
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 :: FleetAttribute -> FleetAttribute -> FleetAttribute
$cmin :: FleetAttribute -> FleetAttribute -> FleetAttribute
max :: FleetAttribute -> FleetAttribute -> FleetAttribute
$cmax :: FleetAttribute -> FleetAttribute -> FleetAttribute
>= :: FleetAttribute -> FleetAttribute -> Bool
$c>= :: FleetAttribute -> FleetAttribute -> Bool
> :: FleetAttribute -> FleetAttribute -> Bool
$c> :: FleetAttribute -> FleetAttribute -> Bool
<= :: FleetAttribute -> FleetAttribute -> Bool
$c<= :: FleetAttribute -> FleetAttribute -> Bool
< :: FleetAttribute -> FleetAttribute -> Bool
$c< :: FleetAttribute -> FleetAttribute -> Bool
compare :: FleetAttribute -> FleetAttribute -> Ordering
$ccompare :: FleetAttribute -> FleetAttribute -> Ordering
$cp1Ord :: Eq FleetAttribute
Prelude.Ord,
(forall x. FleetAttribute -> Rep FleetAttribute x)
-> (forall x. Rep FleetAttribute x -> FleetAttribute)
-> Generic FleetAttribute
forall x. Rep FleetAttribute x -> FleetAttribute
forall x. FleetAttribute -> Rep FleetAttribute x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep FleetAttribute x -> FleetAttribute
$cfrom :: forall x. FleetAttribute -> Rep FleetAttribute x
Prelude.Generic
)
deriving newtype
( Int -> FleetAttribute -> Int
FleetAttribute -> Int
(Int -> FleetAttribute -> Int)
-> (FleetAttribute -> Int) -> Hashable FleetAttribute
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: FleetAttribute -> Int
$chash :: FleetAttribute -> Int
hashWithSalt :: Int -> FleetAttribute -> Int
$chashWithSalt :: Int -> FleetAttribute -> Int
Prelude.Hashable,
FleetAttribute -> ()
(FleetAttribute -> ()) -> NFData FleetAttribute
forall a. (a -> ()) -> NFData a
rnf :: FleetAttribute -> ()
$crnf :: FleetAttribute -> ()
Prelude.NFData,
Text -> Either String FleetAttribute
(Text -> Either String FleetAttribute) -> FromText FleetAttribute
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String FleetAttribute
$cfromText :: Text -> Either String FleetAttribute
Core.FromText,
FleetAttribute -> Text
(FleetAttribute -> Text) -> ToText FleetAttribute
forall a. (a -> Text) -> ToText a
toText :: FleetAttribute -> Text
$ctoText :: FleetAttribute -> Text
Core.ToText,
FleetAttribute -> ByteString
(FleetAttribute -> ByteString) -> ToByteString FleetAttribute
forall a. (a -> ByteString) -> ToByteString a
toBS :: FleetAttribute -> ByteString
$ctoBS :: FleetAttribute -> ByteString
Core.ToByteString,
FleetAttribute -> ByteStringBuilder
(FleetAttribute -> ByteStringBuilder) -> ToLog FleetAttribute
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: FleetAttribute -> ByteStringBuilder
$cbuild :: FleetAttribute -> ByteStringBuilder
Core.ToLog,
HeaderName -> FleetAttribute -> [Header]
(HeaderName -> FleetAttribute -> [Header])
-> ToHeader FleetAttribute
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> FleetAttribute -> [Header]
$ctoHeader :: HeaderName -> FleetAttribute -> [Header]
Core.ToHeader,
FleetAttribute -> QueryString
(FleetAttribute -> QueryString) -> ToQuery FleetAttribute
forall a. (a -> QueryString) -> ToQuery a
toQuery :: FleetAttribute -> QueryString
$ctoQuery :: FleetAttribute -> QueryString
Core.ToQuery,
Value -> Parser [FleetAttribute]
Value -> Parser FleetAttribute
(Value -> Parser FleetAttribute)
-> (Value -> Parser [FleetAttribute]) -> FromJSON FleetAttribute
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [FleetAttribute]
$cparseJSONList :: Value -> Parser [FleetAttribute]
parseJSON :: Value -> Parser FleetAttribute
$cparseJSON :: Value -> Parser FleetAttribute
Core.FromJSON,
FromJSONKeyFunction [FleetAttribute]
FromJSONKeyFunction FleetAttribute
FromJSONKeyFunction FleetAttribute
-> FromJSONKeyFunction [FleetAttribute]
-> FromJSONKey FleetAttribute
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [FleetAttribute]
$cfromJSONKeyList :: FromJSONKeyFunction [FleetAttribute]
fromJSONKey :: FromJSONKeyFunction FleetAttribute
$cfromJSONKey :: FromJSONKeyFunction FleetAttribute
Core.FromJSONKey,
[FleetAttribute] -> Encoding
[FleetAttribute] -> Value
FleetAttribute -> Encoding
FleetAttribute -> Value
(FleetAttribute -> Value)
-> (FleetAttribute -> Encoding)
-> ([FleetAttribute] -> Value)
-> ([FleetAttribute] -> Encoding)
-> ToJSON FleetAttribute
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [FleetAttribute] -> Encoding
$ctoEncodingList :: [FleetAttribute] -> Encoding
toJSONList :: [FleetAttribute] -> Value
$ctoJSONList :: [FleetAttribute] -> Value
toEncoding :: FleetAttribute -> Encoding
$ctoEncoding :: FleetAttribute -> Encoding
toJSON :: FleetAttribute -> Value
$ctoJSON :: FleetAttribute -> Value
Core.ToJSON,
ToJSONKeyFunction [FleetAttribute]
ToJSONKeyFunction FleetAttribute
ToJSONKeyFunction FleetAttribute
-> ToJSONKeyFunction [FleetAttribute] -> ToJSONKey FleetAttribute
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [FleetAttribute]
$ctoJSONKeyList :: ToJSONKeyFunction [FleetAttribute]
toJSONKey :: ToJSONKeyFunction FleetAttribute
$ctoJSONKey :: ToJSONKeyFunction FleetAttribute
Core.ToJSONKey,
[Node] -> Either String FleetAttribute
([Node] -> Either String FleetAttribute) -> FromXML FleetAttribute
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String FleetAttribute
$cparseXML :: [Node] -> Either String FleetAttribute
Core.FromXML,
FleetAttribute -> XML
(FleetAttribute -> XML) -> ToXML FleetAttribute
forall a. (a -> XML) -> ToXML a
toXML :: FleetAttribute -> XML
$ctoXML :: FleetAttribute -> XML
Core.ToXML
)
pattern FleetAttribute_DOMAIN_JOIN_INFO :: FleetAttribute
pattern $bFleetAttribute_DOMAIN_JOIN_INFO :: FleetAttribute
$mFleetAttribute_DOMAIN_JOIN_INFO :: forall r. FleetAttribute -> (Void# -> r) -> (Void# -> r) -> r
FleetAttribute_DOMAIN_JOIN_INFO = FleetAttribute' "DOMAIN_JOIN_INFO"
pattern FleetAttribute_IAM_ROLE_ARN :: FleetAttribute
pattern $bFleetAttribute_IAM_ROLE_ARN :: FleetAttribute
$mFleetAttribute_IAM_ROLE_ARN :: forall r. FleetAttribute -> (Void# -> r) -> (Void# -> r) -> r
FleetAttribute_IAM_ROLE_ARN = FleetAttribute' "IAM_ROLE_ARN"
pattern FleetAttribute_VPC_CONFIGURATION :: FleetAttribute
pattern $bFleetAttribute_VPC_CONFIGURATION :: FleetAttribute
$mFleetAttribute_VPC_CONFIGURATION :: forall r. FleetAttribute -> (Void# -> r) -> (Void# -> r) -> r
FleetAttribute_VPC_CONFIGURATION = FleetAttribute' "VPC_CONFIGURATION"
pattern FleetAttribute_VPC_CONFIGURATION_SECURITY_GROUP_IDS :: FleetAttribute
pattern $bFleetAttribute_VPC_CONFIGURATION_SECURITY_GROUP_IDS :: FleetAttribute
$mFleetAttribute_VPC_CONFIGURATION_SECURITY_GROUP_IDS :: forall r. FleetAttribute -> (Void# -> r) -> (Void# -> r) -> r
FleetAttribute_VPC_CONFIGURATION_SECURITY_GROUP_IDS = FleetAttribute' "VPC_CONFIGURATION_SECURITY_GROUP_IDS"
{-# COMPLETE
FleetAttribute_DOMAIN_JOIN_INFO,
FleetAttribute_IAM_ROLE_ARN,
FleetAttribute_VPC_CONFIGURATION,
FleetAttribute_VPC_CONFIGURATION_SECURITY_GROUP_IDS,
FleetAttribute'
#-}