{-# 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.SSM.Types.DescribeActivationsFilterKeys
-- 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.SSM.Types.DescribeActivationsFilterKeys
  ( DescribeActivationsFilterKeys
      ( ..,
        DescribeActivationsFilterKeys_ActivationIds,
        DescribeActivationsFilterKeys_DefaultInstanceName,
        DescribeActivationsFilterKeys_IamRole
      ),
  )
where

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

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

pattern DescribeActivationsFilterKeys_ActivationIds :: DescribeActivationsFilterKeys
pattern $bDescribeActivationsFilterKeys_ActivationIds :: DescribeActivationsFilterKeys
$mDescribeActivationsFilterKeys_ActivationIds :: forall {r}.
DescribeActivationsFilterKeys -> ((# #) -> r) -> ((# #) -> r) -> r
DescribeActivationsFilterKeys_ActivationIds = DescribeActivationsFilterKeys' "ActivationIds"

pattern DescribeActivationsFilterKeys_DefaultInstanceName :: DescribeActivationsFilterKeys
pattern $bDescribeActivationsFilterKeys_DefaultInstanceName :: DescribeActivationsFilterKeys
$mDescribeActivationsFilterKeys_DefaultInstanceName :: forall {r}.
DescribeActivationsFilterKeys -> ((# #) -> r) -> ((# #) -> r) -> r
DescribeActivationsFilterKeys_DefaultInstanceName = DescribeActivationsFilterKeys' "DefaultInstanceName"

pattern DescribeActivationsFilterKeys_IamRole :: DescribeActivationsFilterKeys
pattern $bDescribeActivationsFilterKeys_IamRole :: DescribeActivationsFilterKeys
$mDescribeActivationsFilterKeys_IamRole :: forall {r}.
DescribeActivationsFilterKeys -> ((# #) -> r) -> ((# #) -> r) -> r
DescribeActivationsFilterKeys_IamRole = DescribeActivationsFilterKeys' "IamRole"

{-# COMPLETE
  DescribeActivationsFilterKeys_ActivationIds,
  DescribeActivationsFilterKeys_DefaultInstanceName,
  DescribeActivationsFilterKeys_IamRole,
  DescribeActivationsFilterKeys'
  #-}