module Stratosphere.DataZone.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.DataZone.Connection.BasicAuthenticationCredentialsProperty as Exports
import {-# SOURCE #-} Stratosphere.DataZone.Connection.OAuth2PropertiesProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data AuthenticationConfigurationInputProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authenticationconfigurationinput.html>
    AuthenticationConfigurationInputProperty {AuthenticationConfigurationInputProperty -> ()
haddock_workaround_ :: (),
                                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authenticationconfigurationinput.html#cfn-datazone-connection-authenticationconfigurationinput-authenticationtype>
                                              AuthenticationConfigurationInputProperty -> Maybe (Value Text)
authenticationType :: (Prelude.Maybe (Value Prelude.Text)),
                                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authenticationconfigurationinput.html#cfn-datazone-connection-authenticationconfigurationinput-basicauthenticationcredentials>
                                              AuthenticationConfigurationInputProperty
-> Maybe BasicAuthenticationCredentialsProperty
basicAuthenticationCredentials :: (Prelude.Maybe BasicAuthenticationCredentialsProperty),
                                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authenticationconfigurationinput.html#cfn-datazone-connection-authenticationconfigurationinput-customauthenticationcredentials>
                                              AuthenticationConfigurationInputProperty
-> Maybe (Map Text (Value Text))
customAuthenticationCredentials :: (Prelude.Maybe (Prelude.Map Prelude.Text (Value Prelude.Text))),
                                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authenticationconfigurationinput.html#cfn-datazone-connection-authenticationconfigurationinput-kmskeyarn>
                                              AuthenticationConfigurationInputProperty -> Maybe (Value Text)
kmsKeyArn :: (Prelude.Maybe (Value Prelude.Text)),
                                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authenticationconfigurationinput.html#cfn-datazone-connection-authenticationconfigurationinput-oauth2properties>
                                              AuthenticationConfigurationInputProperty
-> Maybe OAuth2PropertiesProperty
oAuth2Properties :: (Prelude.Maybe OAuth2PropertiesProperty),
                                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authenticationconfigurationinput.html#cfn-datazone-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 ::
  AuthenticationConfigurationInputProperty
mkAuthenticationConfigurationInputProperty :: AuthenticationConfigurationInputProperty
mkAuthenticationConfigurationInputProperty
  = AuthenticationConfigurationInputProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), authenticationType :: Maybe (Value Text)
authenticationType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
basicAuthenticationCredentials = Maybe BasicAuthenticationCredentialsProperty
forall a. Maybe a
Prelude.Nothing,
       customAuthenticationCredentials :: Maybe (Map Text (Value Text))
customAuthenticationCredentials = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing,
       kmsKeyArn :: Maybe (Value Text)
kmsKeyArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, oAuth2Properties :: Maybe OAuth2PropertiesProperty
oAuth2Properties = Maybe OAuth2PropertiesProperty
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 (Map Text (Value Text))
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesProperty
()
haddock_workaround_ :: AuthenticationConfigurationInputProperty -> ()
authenticationType :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
basicAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe (Map Text (Value Text))
kmsKeyArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
oAuth2Properties :: AuthenticationConfigurationInputProperty
-> Maybe OAuth2PropertiesProperty
secretArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe (Map Text (Value Text))
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesProperty
secretArn :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::DataZone::Connection.AuthenticationConfigurationInput",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [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
"AuthenticationType" (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)
authenticationType,
                            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 -> Map Text (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
"CustomAuthenticationCredentials"
                              (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
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 -> OAuth2PropertiesProperty -> (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" (OAuth2PropertiesProperty -> (Key, Value))
-> Maybe OAuth2PropertiesProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OAuth2PropertiesProperty
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 (Map Text (Value Text))
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesProperty
()
haddock_workaround_ :: AuthenticationConfigurationInputProperty -> ()
authenticationType :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
basicAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe (Map Text (Value Text))
kmsKeyArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
oAuth2Properties :: AuthenticationConfigurationInputProperty
-> Maybe OAuth2PropertiesProperty
secretArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe (Map Text (Value Text))
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesProperty
secretArn :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [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
"AuthenticationType" (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)
authenticationType,
               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 -> Map Text (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
"CustomAuthenticationCredentials"
                 (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
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 -> OAuth2PropertiesProperty -> (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" (OAuth2PropertiesProperty -> (Key, Value))
-> Maybe OAuth2PropertiesProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OAuth2PropertiesProperty
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 (Map Text (Value Text))
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesProperty
()
haddock_workaround_ :: AuthenticationConfigurationInputProperty -> ()
authenticationType :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
basicAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe (Map Text (Value Text))
kmsKeyArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
oAuth2Properties :: AuthenticationConfigurationInputProperty
-> Maybe OAuth2PropertiesProperty
secretArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe (Map Text (Value Text))
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesProperty
secretArn :: Maybe (Value Text)
..}
    = AuthenticationConfigurationInputProperty
        {authenticationType :: Maybe (Value Text)
authenticationType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "AuthenticationType" AuthenticationConfigurationInputProperty
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesProperty
()
haddock_workaround_ :: ()
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe (Map Text (Value Text))
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesProperty
secretArn :: Maybe (Value Text)
haddock_workaround_ :: ()
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe (Map Text (Value Text))
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesProperty
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 (Map Text (Value Text))
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesProperty
()
haddock_workaround_ :: AuthenticationConfigurationInputProperty -> ()
authenticationType :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
basicAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe (Map Text (Value Text))
kmsKeyArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
oAuth2Properties :: AuthenticationConfigurationInputProperty
-> Maybe OAuth2PropertiesProperty
secretArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe (Map Text (Value Text))
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesProperty
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 (Map Text (Value Text))
Maybe (Value Text)
Maybe OAuth2PropertiesProperty
()
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
customAuthenticationCredentials :: Maybe (Map Text (Value Text))
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesProperty
secretArn :: Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
customAuthenticationCredentials :: Maybe (Map Text (Value Text))
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesProperty
secretArn :: Maybe (Value Text)
..}
instance Property "CustomAuthenticationCredentials" AuthenticationConfigurationInputProperty where
  type PropertyType "CustomAuthenticationCredentials" AuthenticationConfigurationInputProperty = Prelude.Map Prelude.Text (Value Prelude.Text)
  set :: PropertyType
  "CustomAuthenticationCredentials"
  AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty
set PropertyType
  "CustomAuthenticationCredentials"
  AuthenticationConfigurationInputProperty
newValue AuthenticationConfigurationInputProperty {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesProperty
()
haddock_workaround_ :: AuthenticationConfigurationInputProperty -> ()
authenticationType :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
basicAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe (Map Text (Value Text))
kmsKeyArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
oAuth2Properties :: AuthenticationConfigurationInputProperty
-> Maybe OAuth2PropertiesProperty
secretArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe (Map Text (Value Text))
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesProperty
secretArn :: Maybe (Value Text)
..}
    = AuthenticationConfigurationInputProperty
        {customAuthenticationCredentials :: Maybe (Map Text (Value Text))
customAuthenticationCredentials = Map Text (Value Text) -> Maybe (Map Text (Value Text))
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Map Text (Value Text)
PropertyType
  "CustomAuthenticationCredentials"
  AuthenticationConfigurationInputProperty
newValue, Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesProperty
()
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesProperty
secretArn :: Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesProperty
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 (Map Text (Value Text))
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesProperty
()
haddock_workaround_ :: AuthenticationConfigurationInputProperty -> ()
authenticationType :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
basicAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe (Map Text (Value Text))
kmsKeyArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
oAuth2Properties :: AuthenticationConfigurationInputProperty
-> Maybe OAuth2PropertiesProperty
secretArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe (Map Text (Value Text))
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesProperty
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 (Map Text (Value Text))
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesProperty
()
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe (Map Text (Value Text))
oAuth2Properties :: Maybe OAuth2PropertiesProperty
secretArn :: Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe (Map Text (Value Text))
oAuth2Properties :: Maybe OAuth2PropertiesProperty
secretArn :: Maybe (Value Text)
..}
instance Property "OAuth2Properties" AuthenticationConfigurationInputProperty where
  type PropertyType "OAuth2Properties" AuthenticationConfigurationInputProperty = OAuth2PropertiesProperty
  set :: PropertyType
  "OAuth2Properties" AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty
-> AuthenticationConfigurationInputProperty
set PropertyType
  "OAuth2Properties" AuthenticationConfigurationInputProperty
newValue AuthenticationConfigurationInputProperty {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesProperty
()
haddock_workaround_ :: AuthenticationConfigurationInputProperty -> ()
authenticationType :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
basicAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe (Map Text (Value Text))
kmsKeyArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
oAuth2Properties :: AuthenticationConfigurationInputProperty
-> Maybe OAuth2PropertiesProperty
secretArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe (Map Text (Value Text))
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesProperty
secretArn :: Maybe (Value Text)
..}
    = AuthenticationConfigurationInputProperty
        {oAuth2Properties :: Maybe OAuth2PropertiesProperty
oAuth2Properties = OAuth2PropertiesProperty -> Maybe OAuth2PropertiesProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "OAuth2Properties" AuthenticationConfigurationInputProperty
OAuth2PropertiesProperty
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
()
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe (Map Text (Value Text))
kmsKeyArn :: Maybe (Value Text)
secretArn :: Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe (Map Text (Value Text))
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 (Map Text (Value Text))
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesProperty
()
haddock_workaround_ :: AuthenticationConfigurationInputProperty -> ()
authenticationType :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
basicAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: AuthenticationConfigurationInputProperty
-> Maybe (Map Text (Value Text))
kmsKeyArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
oAuth2Properties :: AuthenticationConfigurationInputProperty
-> Maybe OAuth2PropertiesProperty
secretArn :: AuthenticationConfigurationInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe (Map Text (Value Text))
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesProperty
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 (Map Text (Value Text))
Maybe (Value Text)
Maybe BasicAuthenticationCredentialsProperty
Maybe OAuth2PropertiesProperty
()
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe (Map Text (Value Text))
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesProperty
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
basicAuthenticationCredentials :: Maybe BasicAuthenticationCredentialsProperty
customAuthenticationCredentials :: Maybe (Map Text (Value Text))
kmsKeyArn :: Maybe (Value Text)
oAuth2Properties :: Maybe OAuth2PropertiesProperty
..}