module Stratosphere.Glue.Connection.AuthenticationConfigurationInputProperty (
        module Exports, AuthenticationConfigurationInputProperty(..),
        mkAuthenticationConfigurationInputProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Glue.Connection.BasicAuthenticationCredentialsProperty as Exports
import {-# SOURCE #-} Stratosphere.Glue.Connection.OAuth2PropertiesInputProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data AuthenticationConfigurationInputProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-authenticationconfigurationinput.html>
    AuthenticationConfigurationInputProperty {AuthenticationConfigurationInputProperty -> ()
haddock_workaround_ :: (),
                                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-authenticationconfigurationinput.html#cfn-glue-connection-authenticationconfigurationinput-authenticationtype>
                                              AuthenticationConfigurationInputProperty -> Value Text
authenticationType :: (Value Prelude.Text),
                                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-authenticationconfigurationinput.html#cfn-glue-connection-authenticationconfigurationinput-basicauthenticationcredentials>
                                              AuthenticationConfigurationInputProperty
-> Maybe BasicAuthenticationCredentialsProperty
basicAuthenticationCredentials :: (Prelude.Maybe BasicAuthenticationCredentialsProperty),
                                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-authenticationconfigurationinput.html#cfn-glue-connection-authenticationconfigurationinput-customauthenticationcredentials>
                                              AuthenticationConfigurationInputProperty -> Maybe Object
customAuthenticationCredentials :: (Prelude.Maybe JSON.Object),
                                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-authenticationconfigurationinput.html#cfn-glue-connection-authenticationconfigurationinput-kmskeyarn>
                                              AuthenticationConfigurationInputProperty -> Maybe (Value Text)
kmsKeyArn :: (Prelude.Maybe (Value Prelude.Text)),
                                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-authenticationconfigurationinput.html#cfn-glue-connection-authenticationconfigurationinput-oauth2properties>
                                              AuthenticationConfigurationInputProperty
-> Maybe OAuth2PropertiesInputProperty
oAuth2Properties :: (Prelude.Maybe OAuth2PropertiesInputProperty),
                                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-authenticationconfigurationinput.html#cfn-glue-connection-authenticationconfigurationinput-secretarn>
                                              AuthenticationConfigurationInputProperty -> Maybe (Value Text)
secretArn :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty -> Bool
(AuthenticationConfigurationInputProperty
 -> AuthenticationConfigurationInputProperty -> Bool)
-> (AuthenticationConfigurationInputProperty
    -> AuthenticationConfigurationInputProperty -> Bool)
-> Eq AuthenticationConfigurationInputProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty -> Bool
== :: AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty -> Bool
$c/= :: AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty -> Bool
/= :: AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty -> Bool
Prelude.Eq, Int -> AuthenticationConfigurationInputProperty -> ShowS
[AuthenticationConfigurationInputProperty] -> ShowS
AuthenticationConfigurationInputProperty -> String
(Int -> AuthenticationConfigurationInputProperty -> ShowS)
-> (AuthenticationConfigurationInputProperty -> String)
-> ([AuthenticationConfigurationInputProperty] -> ShowS)
-> Show AuthenticationConfigurationInputProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AuthenticationConfigurationInputProperty -> ShowS
showsPrec :: Int -> AuthenticationConfigurationInputProperty -> ShowS
$cshow :: AuthenticationConfigurationInputProperty -> String
show :: AuthenticationConfigurationInputProperty -> String
$cshowList :: [AuthenticationConfigurationInputProperty] -> ShowS
showList :: [AuthenticationConfigurationInputProperty] -> ShowS
Prelude.Show)
mkAuthenticationConfigurationInputProperty ::
  Value Prelude.Text -> AuthenticationConfigurationInputProperty
mkAuthenticationConfigurationInputProperty :: Value Text -> AuthenticationConfigurationInputProperty
mkAuthenticationConfigurationInputProperty Value Text
authenticationType
  = AuthenticationConfigurationInputProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), authenticationType :: Value Text
authenticationType = Value Text
authenticationType,
       basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
basicAuthenticationCredentials = Maybe BasicAuthenticationCredentialsProperty
forall a. Maybe a
Prelude.Nothing,
       customAuthenticationCredentials :: Maybe Object
customAuthenticationCredentials = Maybe Object
forall a. Maybe a
Prelude.Nothing,
       kmsKeyArn :: Maybe (Value Text)
kmsKeyArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
oAuth2Properties = Maybe OAuth2PropertiesInputProperty
forall a. Maybe a
Prelude.Nothing,
       secretArn :: Maybe (Value Text)
secretArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties AuthenticationConfigurationInputProperty where
  toResourceProperties :: AuthenticationConfigurationInputProperty -> ResourceProperties
toResourceProperties AuthenticationConfigurationInputProperty {Maybe Object
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesInputProperty
()
Value Text
haddock_workaround_ :: AuthenticationConfigurationInputProperty -> ()
authenticationType :: AuthenticationConfigurationInputProperty -> Value Text
basicAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: AuthenticationConfigurationInputProperty -> Maybe Object
kmsKeyArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
oAuth2Properties :: AuthenticationConfigurationInputProperty
-> Maybe OAuth2PropertiesInputProperty
secretArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Value Text
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe Object
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
secretArn :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Glue::Connection.AuthenticationConfigurationInput",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"AuthenticationType" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
authenticationType]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> BasicAuthenticationCredentialsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BasicAuthenticationCredentials"
                                 (BasicAuthenticationCredentialsProperty -> (Key, Value))
-> Maybe BasicAuthenticationCredentialsProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BasicAuthenticationCredentialsProperty
basicAuthenticationCredentials,
                               Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomAuthenticationCredentials"
                                 (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
customAuthenticationCredentials,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"KmsKeyArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
kmsKeyArn,
                               Key -> OAuth2PropertiesInputProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OAuth2Properties" (OAuth2PropertiesInputProperty -> (Key, Value))
-> Maybe OAuth2PropertiesInputProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OAuth2PropertiesInputProperty
oAuth2Properties,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SecretArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
secretArn]))}
instance JSON.ToJSON AuthenticationConfigurationInputProperty where
  toJSON :: AuthenticationConfigurationInputProperty -> Value
toJSON AuthenticationConfigurationInputProperty {Maybe Object
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesInputProperty
()
Value Text
haddock_workaround_ :: AuthenticationConfigurationInputProperty -> ()
authenticationType :: AuthenticationConfigurationInputProperty -> Value Text
basicAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: AuthenticationConfigurationInputProperty -> Maybe Object
kmsKeyArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
oAuth2Properties :: AuthenticationConfigurationInputProperty
-> Maybe OAuth2PropertiesInputProperty
secretArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Value Text
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe Object
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
secretArn :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"AuthenticationType" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
authenticationType]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> BasicAuthenticationCredentialsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BasicAuthenticationCredentials"
                    (BasicAuthenticationCredentialsProperty -> (Key, Value))
-> Maybe BasicAuthenticationCredentialsProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BasicAuthenticationCredentialsProperty
basicAuthenticationCredentials,
                  Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomAuthenticationCredentials"
                    (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
customAuthenticationCredentials,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"KmsKeyArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
kmsKeyArn,
                  Key -> OAuth2PropertiesInputProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OAuth2Properties" (OAuth2PropertiesInputProperty -> (Key, Value))
-> Maybe OAuth2PropertiesInputProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OAuth2PropertiesInputProperty
oAuth2Properties,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SecretArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
secretArn])))
instance Property "AuthenticationType" AuthenticationConfigurationInputProperty where
  type PropertyType "AuthenticationType" AuthenticationConfigurationInputProperty = Value Prelude.Text
  set :: PropertyType
  "AuthenticationType" AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty
set PropertyType
  "AuthenticationType" AuthenticationConfigurationInputProperty
newValue AuthenticationConfigurationInputProperty {Maybe Object
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesInputProperty
()
Value Text
haddock_workaround_ :: AuthenticationConfigurationInputProperty -> ()
authenticationType :: AuthenticationConfigurationInputProperty -> Value Text
basicAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: AuthenticationConfigurationInputProperty -> Maybe Object
kmsKeyArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
oAuth2Properties :: AuthenticationConfigurationInputProperty
-> Maybe OAuth2PropertiesInputProperty
secretArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Value Text
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe Object
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
secretArn :: Maybe (Value Text)
..}
    = AuthenticationConfigurationInputProperty
        {authenticationType :: Value Text
authenticationType = PropertyType
  "AuthenticationType" AuthenticationConfigurationInputProperty
Value Text
newValue, Maybe Object
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesInputProperty
()
haddock_workaround_ :: ()
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe Object
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
secretArn :: Maybe (Value Text)
haddock_workaround_ :: ()
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe Object
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
secretArn :: Maybe (Value Text)
..}
instance Property "BasicAuthenticationCredentials" AuthenticationConfigurationInputProperty where
  type PropertyType "BasicAuthenticationCredentials" AuthenticationConfigurationInputProperty = BasicAuthenticationCredentialsProperty
  set :: PropertyType
  "BasicAuthenticationCredentials"
  AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty
set PropertyType
  "BasicAuthenticationCredentials"
  AuthenticationConfigurationInputProperty
newValue AuthenticationConfigurationInputProperty {Maybe Object
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesInputProperty
()
Value Text
haddock_workaround_ :: AuthenticationConfigurationInputProperty -> ()
authenticationType :: AuthenticationConfigurationInputProperty -> Value Text
basicAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: AuthenticationConfigurationInputProperty -> Maybe Object
kmsKeyArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
oAuth2Properties :: AuthenticationConfigurationInputProperty
-> Maybe OAuth2PropertiesInputProperty
secretArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Value Text
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe Object
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
secretArn :: Maybe (Value Text)
..}
    = AuthenticationConfigurationInputProperty
        {basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
basicAuthenticationCredentials = BasicAuthenticationCredentialsProperty
-> Maybe BasicAuthenticationCredentialsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "BasicAuthenticationCredentials"
  AuthenticationConfigurationInputProperty
BasicAuthenticationCredentialsProperty
newValue, Maybe Object
Maybe (Value Text)
Maybe OAuth2PropertiesInputProperty
()
Value Text
haddock_workaround_ :: ()
authenticationType :: Value Text
customAuthenticationCredentials :: Maybe Object
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
secretArn :: Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Value Text
customAuthenticationCredentials :: Maybe Object
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
secretArn :: Maybe (Value Text)
..}
instance Property "CustomAuthenticationCredentials" AuthenticationConfigurationInputProperty where
  type PropertyType "CustomAuthenticationCredentials" AuthenticationConfigurationInputProperty = JSON.Object
  set :: PropertyType
  "CustomAuthenticationCredentials"
  AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty
set PropertyType
  "CustomAuthenticationCredentials"
  AuthenticationConfigurationInputProperty
newValue AuthenticationConfigurationInputProperty {Maybe Object
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesInputProperty
()
Value Text
haddock_workaround_ :: AuthenticationConfigurationInputProperty -> ()
authenticationType :: AuthenticationConfigurationInputProperty -> Value Text
basicAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: AuthenticationConfigurationInputProperty -> Maybe Object
kmsKeyArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
oAuth2Properties :: AuthenticationConfigurationInputProperty
-> Maybe OAuth2PropertiesInputProperty
secretArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Value Text
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe Object
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
secretArn :: Maybe (Value Text)
..}
    = AuthenticationConfigurationInputProperty
        {customAuthenticationCredentials :: Maybe Object
customAuthenticationCredentials = Object -> Maybe Object
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Object
PropertyType
  "CustomAuthenticationCredentials"
  AuthenticationConfigurationInputProperty
newValue, Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesInputProperty
()
Value Text
haddock_workaround_ :: ()
authenticationType :: Value Text
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
secretArn :: Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Value Text
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
secretArn :: Maybe (Value Text)
..}
instance Property "KmsKeyArn" AuthenticationConfigurationInputProperty where
  type PropertyType "KmsKeyArn" AuthenticationConfigurationInputProperty = Value Prelude.Text
  set :: PropertyType "KmsKeyArn" AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty
set PropertyType "KmsKeyArn" AuthenticationConfigurationInputProperty
newValue AuthenticationConfigurationInputProperty {Maybe Object
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesInputProperty
()
Value Text
haddock_workaround_ :: AuthenticationConfigurationInputProperty -> ()
authenticationType :: AuthenticationConfigurationInputProperty -> Value Text
basicAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: AuthenticationConfigurationInputProperty -> Maybe Object
kmsKeyArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
oAuth2Properties :: AuthenticationConfigurationInputProperty
-> Maybe OAuth2PropertiesInputProperty
secretArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Value Text
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe Object
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
secretArn :: Maybe (Value Text)
..}
    = AuthenticationConfigurationInputProperty
        {kmsKeyArn :: Maybe (Value Text)
kmsKeyArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "KmsKeyArn" AuthenticationConfigurationInputProperty
Value Text
newValue, Maybe Object
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesInputProperty
()
Value Text
haddock_workaround_ :: ()
authenticationType :: Value Text
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe Object
oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
secretArn :: Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Value Text
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe Object
oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
secretArn :: Maybe (Value Text)
..}
instance Property "OAuth2Properties" AuthenticationConfigurationInputProperty where
  type PropertyType "OAuth2Properties" AuthenticationConfigurationInputProperty = OAuth2PropertiesInputProperty
  set :: PropertyType
  "OAuth2Properties" AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty
set PropertyType
  "OAuth2Properties" AuthenticationConfigurationInputProperty
newValue AuthenticationConfigurationInputProperty {Maybe Object
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesInputProperty
()
Value Text
haddock_workaround_ :: AuthenticationConfigurationInputProperty -> ()
authenticationType :: AuthenticationConfigurationInputProperty -> Value Text
basicAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: AuthenticationConfigurationInputProperty -> Maybe Object
kmsKeyArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
oAuth2Properties :: AuthenticationConfigurationInputProperty
-> Maybe OAuth2PropertiesInputProperty
secretArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Value Text
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe Object
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
secretArn :: Maybe (Value Text)
..}
    = AuthenticationConfigurationInputProperty
        {oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
oAuth2Properties = OAuth2PropertiesInputProperty
-> Maybe OAuth2PropertiesInputProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "OAuth2Properties" AuthenticationConfigurationInputProperty
OAuth2PropertiesInputProperty
newValue, Maybe Object
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
()
Value Text
haddock_workaround_ :: ()
authenticationType :: Value Text
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe Object
kmsKeyArn :: Maybe (Value Text)
secretArn :: Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Value Text
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe Object
kmsKeyArn :: Maybe (Value Text)
secretArn :: Maybe (Value Text)
..}
instance Property "SecretArn" AuthenticationConfigurationInputProperty where
  type PropertyType "SecretArn" AuthenticationConfigurationInputProperty = Value Prelude.Text
  set :: PropertyType "SecretArn" AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty
set PropertyType "SecretArn" AuthenticationConfigurationInputProperty
newValue AuthenticationConfigurationInputProperty {Maybe Object
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesInputProperty
()
Value Text
haddock_workaround_ :: AuthenticationConfigurationInputProperty -> ()
authenticationType :: AuthenticationConfigurationInputProperty -> Value Text
basicAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: AuthenticationConfigurationInputProperty -> Maybe Object
kmsKeyArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
oAuth2Properties :: AuthenticationConfigurationInputProperty
-> Maybe OAuth2PropertiesInputProperty
secretArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Value Text
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe Object
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
secretArn :: Maybe (Value Text)
..}
    = AuthenticationConfigurationInputProperty
        {secretArn :: Maybe (Value Text)
secretArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SecretArn" AuthenticationConfigurationInputProperty
Value Text
newValue, Maybe Object
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesInputProperty
()
Value Text
haddock_workaround_ :: ()
authenticationType :: Value Text
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe Object
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
haddock_workaround_ :: ()
authenticationType :: Value Text
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe Object
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesInputProperty
..}