module Stratosphere.ElasticLoadBalancingV2.Listener.AuthenticateCognitoConfigProperty (
        AuthenticateCognitoConfigProperty(..),
        mkAuthenticateCognitoConfigProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data AuthenticateCognitoConfigProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticatecognitoconfig.html>
    AuthenticateCognitoConfigProperty {AuthenticateCognitoConfigProperty -> ()
haddock_workaround_ :: (),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticatecognitoconfig.html#cfn-elasticloadbalancingv2-listener-authenticatecognitoconfig-authenticationrequestextraparams>
                                       AuthenticateCognitoConfigProperty -> Maybe (Map Text (Value Text))
authenticationRequestExtraParams :: (Prelude.Maybe (Prelude.Map Prelude.Text (Value Prelude.Text))),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticatecognitoconfig.html#cfn-elasticloadbalancingv2-listener-authenticatecognitoconfig-onunauthenticatedrequest>
                                       AuthenticateCognitoConfigProperty -> Maybe (Value Text)
onUnauthenticatedRequest :: (Prelude.Maybe (Value Prelude.Text)),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticatecognitoconfig.html#cfn-elasticloadbalancingv2-listener-authenticatecognitoconfig-scope>
                                       AuthenticateCognitoConfigProperty -> Maybe (Value Text)
scope :: (Prelude.Maybe (Value Prelude.Text)),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticatecognitoconfig.html#cfn-elasticloadbalancingv2-listener-authenticatecognitoconfig-sessioncookiename>
                                       AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionCookieName :: (Prelude.Maybe (Value Prelude.Text)),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticatecognitoconfig.html#cfn-elasticloadbalancingv2-listener-authenticatecognitoconfig-sessiontimeout>
                                       AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionTimeout :: (Prelude.Maybe (Value Prelude.Text)),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticatecognitoconfig.html#cfn-elasticloadbalancingv2-listener-authenticatecognitoconfig-userpoolarn>
                                       AuthenticateCognitoConfigProperty -> Value Text
userPoolArn :: (Value Prelude.Text),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticatecognitoconfig.html#cfn-elasticloadbalancingv2-listener-authenticatecognitoconfig-userpoolclientid>
                                       AuthenticateCognitoConfigProperty -> Value Text
userPoolClientId :: (Value Prelude.Text),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticatecognitoconfig.html#cfn-elasticloadbalancingv2-listener-authenticatecognitoconfig-userpooldomain>
                                       AuthenticateCognitoConfigProperty -> Value Text
userPoolDomain :: (Value Prelude.Text)}
  deriving stock (AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty -> Bool
(AuthenticateCognitoConfigProperty
 -> AuthenticateCognitoConfigProperty -> Bool)
-> (AuthenticateCognitoConfigProperty
    -> AuthenticateCognitoConfigProperty -> Bool)
-> Eq AuthenticateCognitoConfigProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty -> Bool
== :: AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty -> Bool
$c/= :: AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty -> Bool
/= :: AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty -> Bool
Prelude.Eq, Int -> AuthenticateCognitoConfigProperty -> ShowS
[AuthenticateCognitoConfigProperty] -> ShowS
AuthenticateCognitoConfigProperty -> String
(Int -> AuthenticateCognitoConfigProperty -> ShowS)
-> (AuthenticateCognitoConfigProperty -> String)
-> ([AuthenticateCognitoConfigProperty] -> ShowS)
-> Show AuthenticateCognitoConfigProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AuthenticateCognitoConfigProperty -> ShowS
showsPrec :: Int -> AuthenticateCognitoConfigProperty -> ShowS
$cshow :: AuthenticateCognitoConfigProperty -> String
show :: AuthenticateCognitoConfigProperty -> String
$cshowList :: [AuthenticateCognitoConfigProperty] -> ShowS
showList :: [AuthenticateCognitoConfigProperty] -> ShowS
Prelude.Show)
mkAuthenticateCognitoConfigProperty ::
  Value Prelude.Text
  -> Value Prelude.Text
     -> Value Prelude.Text -> AuthenticateCognitoConfigProperty
mkAuthenticateCognitoConfigProperty :: Value Text
-> Value Text -> Value Text -> AuthenticateCognitoConfigProperty
mkAuthenticateCognitoConfigProperty
  Value Text
userPoolArn
  Value Text
userPoolClientId
  Value Text
userPoolDomain
  = AuthenticateCognitoConfigProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), userPoolArn :: Value Text
userPoolArn = Value Text
userPoolArn,
       userPoolClientId :: Value Text
userPoolClientId = Value Text
userPoolClientId,
       userPoolDomain :: Value Text
userPoolDomain = Value Text
userPoolDomain,
       authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
authenticationRequestExtraParams = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing,
       onUnauthenticatedRequest :: Maybe (Value Text)
onUnauthenticatedRequest = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       scope :: Maybe (Value Text)
scope = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, sessionCookieName :: Maybe (Value Text)
sessionCookieName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       sessionTimeout :: Maybe (Value Text)
sessionTimeout = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties AuthenticateCognitoConfigProperty where
  toResourceProperties :: AuthenticateCognitoConfigProperty -> ResourceProperties
toResourceProperties AuthenticateCognitoConfigProperty {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AuthenticateCognitoConfigProperty -> ()
authenticationRequestExtraParams :: AuthenticateCognitoConfigProperty -> Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
scope :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionCookieName :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionTimeout :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
userPoolArn :: AuthenticateCognitoConfigProperty -> Value Text
userPoolClientId :: AuthenticateCognitoConfigProperty -> Value Text
userPoolDomain :: AuthenticateCognitoConfigProperty -> Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::ElasticLoadBalancingV2::Listener.AuthenticateCognitoConfig",
         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
"UserPoolArn" 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
userPoolArn,
                            Key
"UserPoolClientId" 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
userPoolClientId,
                            Key
"UserPoolDomain" 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
userPoolDomain]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [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
"AuthenticationRequestExtraParams"
                                 (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))
authenticationRequestExtraParams,
                               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
"OnUnauthenticatedRequest"
                                 (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)
onUnauthenticatedRequest,
                               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
"Scope" (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)
scope,
                               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
"SessionCookieName" (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)
sessionCookieName,
                               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
"SessionTimeout" (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)
sessionTimeout]))}
instance JSON.ToJSON AuthenticateCognitoConfigProperty where
  toJSON :: AuthenticateCognitoConfigProperty -> Value
toJSON AuthenticateCognitoConfigProperty {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AuthenticateCognitoConfigProperty -> ()
authenticationRequestExtraParams :: AuthenticateCognitoConfigProperty -> Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
scope :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionCookieName :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionTimeout :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
userPoolArn :: AuthenticateCognitoConfigProperty -> Value Text
userPoolClientId :: AuthenticateCognitoConfigProperty -> Value Text
userPoolDomain :: AuthenticateCognitoConfigProperty -> Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: 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
"UserPoolArn" 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
userPoolArn,
               Key
"UserPoolClientId" 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
userPoolClientId,
               Key
"UserPoolDomain" 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
userPoolDomain]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [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
"AuthenticationRequestExtraParams"
                    (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))
authenticationRequestExtraParams,
                  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
"OnUnauthenticatedRequest"
                    (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)
onUnauthenticatedRequest,
                  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
"Scope" (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)
scope,
                  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
"SessionCookieName" (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)
sessionCookieName,
                  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
"SessionTimeout" (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)
sessionTimeout])))
instance Property "AuthenticationRequestExtraParams" AuthenticateCognitoConfigProperty where
  type PropertyType "AuthenticationRequestExtraParams" AuthenticateCognitoConfigProperty = Prelude.Map Prelude.Text (Value Prelude.Text)
  set :: PropertyType
  "AuthenticationRequestExtraParams"
  AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty
set PropertyType
  "AuthenticationRequestExtraParams"
  AuthenticateCognitoConfigProperty
newValue AuthenticateCognitoConfigProperty {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AuthenticateCognitoConfigProperty -> ()
authenticationRequestExtraParams :: AuthenticateCognitoConfigProperty -> Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
scope :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionCookieName :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionTimeout :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
userPoolArn :: AuthenticateCognitoConfigProperty -> Value Text
userPoolClientId :: AuthenticateCognitoConfigProperty -> Value Text
userPoolDomain :: AuthenticateCognitoConfigProperty -> Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
..}
    = AuthenticateCognitoConfigProperty
        {authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
authenticationRequestExtraParams = 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
  "AuthenticationRequestExtraParams"
  AuthenticateCognitoConfigProperty
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
haddock_workaround_ :: ()
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
..}
instance Property "OnUnauthenticatedRequest" AuthenticateCognitoConfigProperty where
  type PropertyType "OnUnauthenticatedRequest" AuthenticateCognitoConfigProperty = Value Prelude.Text
  set :: PropertyType
  "OnUnauthenticatedRequest" AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty
set PropertyType
  "OnUnauthenticatedRequest" AuthenticateCognitoConfigProperty
newValue AuthenticateCognitoConfigProperty {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AuthenticateCognitoConfigProperty -> ()
authenticationRequestExtraParams :: AuthenticateCognitoConfigProperty -> Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
scope :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionCookieName :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionTimeout :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
userPoolArn :: AuthenticateCognitoConfigProperty -> Value Text
userPoolClientId :: AuthenticateCognitoConfigProperty -> Value Text
userPoolDomain :: AuthenticateCognitoConfigProperty -> Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
..}
    = AuthenticateCognitoConfigProperty
        {onUnauthenticatedRequest :: Maybe (Value Text)
onUnauthenticatedRequest = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "OnUnauthenticatedRequest" AuthenticateCognitoConfigProperty
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
..}
instance Property "Scope" AuthenticateCognitoConfigProperty where
  type PropertyType "Scope" AuthenticateCognitoConfigProperty = Value Prelude.Text
  set :: PropertyType "Scope" AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty
set PropertyType "Scope" AuthenticateCognitoConfigProperty
newValue AuthenticateCognitoConfigProperty {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AuthenticateCognitoConfigProperty -> ()
authenticationRequestExtraParams :: AuthenticateCognitoConfigProperty -> Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
scope :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionCookieName :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionTimeout :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
userPoolArn :: AuthenticateCognitoConfigProperty -> Value Text
userPoolClientId :: AuthenticateCognitoConfigProperty -> Value Text
userPoolDomain :: AuthenticateCognitoConfigProperty -> Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
..}
    = AuthenticateCognitoConfigProperty
        {scope :: Maybe (Value Text)
scope = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Scope" AuthenticateCognitoConfigProperty
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
..}
instance Property "SessionCookieName" AuthenticateCognitoConfigProperty where
  type PropertyType "SessionCookieName" AuthenticateCognitoConfigProperty = Value Prelude.Text
  set :: PropertyType "SessionCookieName" AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty
set PropertyType "SessionCookieName" AuthenticateCognitoConfigProperty
newValue AuthenticateCognitoConfigProperty {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AuthenticateCognitoConfigProperty -> ()
authenticationRequestExtraParams :: AuthenticateCognitoConfigProperty -> Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
scope :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionCookieName :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionTimeout :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
userPoolArn :: AuthenticateCognitoConfigProperty -> Value Text
userPoolClientId :: AuthenticateCognitoConfigProperty -> Value Text
userPoolDomain :: AuthenticateCognitoConfigProperty -> Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
..}
    = AuthenticateCognitoConfigProperty
        {sessionCookieName :: Maybe (Value Text)
sessionCookieName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SessionCookieName" AuthenticateCognitoConfigProperty
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
..}
instance Property "SessionTimeout" AuthenticateCognitoConfigProperty where
  type PropertyType "SessionTimeout" AuthenticateCognitoConfigProperty = Value Prelude.Text
  set :: PropertyType "SessionTimeout" AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty
set PropertyType "SessionTimeout" AuthenticateCognitoConfigProperty
newValue AuthenticateCognitoConfigProperty {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AuthenticateCognitoConfigProperty -> ()
authenticationRequestExtraParams :: AuthenticateCognitoConfigProperty -> Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
scope :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionCookieName :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionTimeout :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
userPoolArn :: AuthenticateCognitoConfigProperty -> Value Text
userPoolClientId :: AuthenticateCognitoConfigProperty -> Value Text
userPoolDomain :: AuthenticateCognitoConfigProperty -> Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
..}
    = AuthenticateCognitoConfigProperty
        {sessionTimeout :: Maybe (Value Text)
sessionTimeout = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SessionTimeout" AuthenticateCognitoConfigProperty
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
..}
instance Property "UserPoolArn" AuthenticateCognitoConfigProperty where
  type PropertyType "UserPoolArn" AuthenticateCognitoConfigProperty = Value Prelude.Text
  set :: PropertyType "UserPoolArn" AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty
set PropertyType "UserPoolArn" AuthenticateCognitoConfigProperty
newValue AuthenticateCognitoConfigProperty {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AuthenticateCognitoConfigProperty -> ()
authenticationRequestExtraParams :: AuthenticateCognitoConfigProperty -> Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
scope :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionCookieName :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionTimeout :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
userPoolArn :: AuthenticateCognitoConfigProperty -> Value Text
userPoolClientId :: AuthenticateCognitoConfigProperty -> Value Text
userPoolDomain :: AuthenticateCognitoConfigProperty -> Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
..}
    = AuthenticateCognitoConfigProperty {userPoolArn :: Value Text
userPoolArn = PropertyType "UserPoolArn" AuthenticateCognitoConfigProperty
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolClientId :: Value Text
userPoolDomain :: Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolClientId :: Value Text
userPoolDomain :: Value Text
..}
instance Property "UserPoolClientId" AuthenticateCognitoConfigProperty where
  type PropertyType "UserPoolClientId" AuthenticateCognitoConfigProperty = Value Prelude.Text
  set :: PropertyType "UserPoolClientId" AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty
set PropertyType "UserPoolClientId" AuthenticateCognitoConfigProperty
newValue AuthenticateCognitoConfigProperty {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AuthenticateCognitoConfigProperty -> ()
authenticationRequestExtraParams :: AuthenticateCognitoConfigProperty -> Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
scope :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionCookieName :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionTimeout :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
userPoolArn :: AuthenticateCognitoConfigProperty -> Value Text
userPoolClientId :: AuthenticateCognitoConfigProperty -> Value Text
userPoolDomain :: AuthenticateCognitoConfigProperty -> Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
..}
    = AuthenticateCognitoConfigProperty
        {userPoolClientId :: Value Text
userPoolClientId = PropertyType "UserPoolClientId" AuthenticateCognitoConfigProperty
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolDomain :: Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolDomain :: Value Text
..}
instance Property "UserPoolDomain" AuthenticateCognitoConfigProperty where
  type PropertyType "UserPoolDomain" AuthenticateCognitoConfigProperty = Value Prelude.Text
  set :: PropertyType "UserPoolDomain" AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty
-> AuthenticateCognitoConfigProperty
set PropertyType "UserPoolDomain" AuthenticateCognitoConfigProperty
newValue AuthenticateCognitoConfigProperty {Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: AuthenticateCognitoConfigProperty -> ()
authenticationRequestExtraParams :: AuthenticateCognitoConfigProperty -> Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
scope :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionCookieName :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
sessionTimeout :: AuthenticateCognitoConfigProperty -> Maybe (Value Text)
userPoolArn :: AuthenticateCognitoConfigProperty -> Value Text
userPoolClientId :: AuthenticateCognitoConfigProperty -> Value Text
userPoolDomain :: AuthenticateCognitoConfigProperty -> Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
userPoolDomain :: Value Text
..}
    = AuthenticateCognitoConfigProperty {userPoolDomain :: Value Text
userPoolDomain = PropertyType "UserPoolDomain" AuthenticateCognitoConfigProperty
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
haddock_workaround_ :: ()
authenticationRequestExtraParams :: Maybe (Map Text (Value Text))
onUnauthenticatedRequest :: Maybe (Value Text)
scope :: Maybe (Value Text)
sessionCookieName :: Maybe (Value Text)
sessionTimeout :: Maybe (Value Text)
userPoolArn :: Value Text
userPoolClientId :: Value Text
..}