module Stratosphere.ApiGateway.Authorizer (
        Authorizer(..), mkAuthorizer
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data Authorizer
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html>
    Authorizer {Authorizer -> ()
haddock_workaround_ :: (),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-authtype>
                Authorizer -> Maybe (Value Text)
authType :: (Prelude.Maybe (Value Prelude.Text)),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-authorizercredentials>
                Authorizer -> Maybe (Value Text)
authorizerCredentials :: (Prelude.Maybe (Value Prelude.Text)),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-authorizerresultttlinseconds>
                Authorizer -> Maybe (Value Integer)
authorizerResultTtlInSeconds :: (Prelude.Maybe (Value Prelude.Integer)),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-authorizeruri>
                Authorizer -> Maybe (Value Text)
authorizerUri :: (Prelude.Maybe (Value Prelude.Text)),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-identitysource>
                Authorizer -> Maybe (Value Text)
identitySource :: (Prelude.Maybe (Value Prelude.Text)),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-identityvalidationexpression>
                Authorizer -> Maybe (Value Text)
identityValidationExpression :: (Prelude.Maybe (Value Prelude.Text)),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-name>
                Authorizer -> Value Text
name :: (Value Prelude.Text),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-providerarns>
                Authorizer -> Maybe (ValueList Text)
providerARNs :: (Prelude.Maybe (ValueList Prelude.Text)),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-restapiid>
                Authorizer -> Value Text
restApiId :: (Value Prelude.Text),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-type>
                Authorizer -> Value Text
type' :: (Value Prelude.Text)}
  deriving stock (Authorizer -> Authorizer -> Bool
(Authorizer -> Authorizer -> Bool)
-> (Authorizer -> Authorizer -> Bool) -> Eq Authorizer
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Authorizer -> Authorizer -> Bool
== :: Authorizer -> Authorizer -> Bool
$c/= :: Authorizer -> Authorizer -> Bool
/= :: Authorizer -> Authorizer -> Bool
Prelude.Eq, Int -> Authorizer -> ShowS
[Authorizer] -> ShowS
Authorizer -> String
(Int -> Authorizer -> ShowS)
-> (Authorizer -> String)
-> ([Authorizer] -> ShowS)
-> Show Authorizer
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Authorizer -> ShowS
showsPrec :: Int -> Authorizer -> ShowS
$cshow :: Authorizer -> String
show :: Authorizer -> String
$cshowList :: [Authorizer] -> ShowS
showList :: [Authorizer] -> ShowS
Prelude.Show)
mkAuthorizer ::
  Value Prelude.Text
  -> Value Prelude.Text -> Value Prelude.Text -> Authorizer
mkAuthorizer :: Value Text -> Value Text -> Value Text -> Authorizer
mkAuthorizer Value Text
name Value Text
restApiId Value Text
type'
  = Authorizer
      {haddock_workaround_ :: ()
haddock_workaround_ = (), name :: Value Text
name = Value Text
name, restApiId :: Value Text
restApiId = Value Text
restApiId,
       type' :: Value Text
type' = Value Text
type', authType :: Maybe (Value Text)
authType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       authorizerCredentials :: Maybe (Value Text)
authorizerCredentials = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerResultTtlInSeconds = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       authorizerUri :: Maybe (Value Text)
authorizerUri = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, identitySource :: Maybe (Value Text)
identitySource = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       identityValidationExpression :: Maybe (Value Text)
identityValidationExpression = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       providerARNs :: Maybe (ValueList Text)
providerARNs = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Authorizer where
  toResourceProperties :: Authorizer -> ResourceProperties
toResourceProperties Authorizer {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Authorizer -> ()
authType :: Authorizer -> Maybe (Value Text)
authorizerCredentials :: Authorizer -> Maybe (Value Text)
authorizerResultTtlInSeconds :: Authorizer -> Maybe (Value Integer)
authorizerUri :: Authorizer -> Maybe (Value Text)
identitySource :: Authorizer -> Maybe (Value Text)
identityValidationExpression :: Authorizer -> Maybe (Value Text)
name :: Authorizer -> Value Text
providerARNs :: Authorizer -> Maybe (ValueList Text)
restApiId :: Authorizer -> Value Text
type' :: Authorizer -> Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::ApiGateway::Authorizer",
         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
"Name" 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
name, Key
"RestApiId" 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
restApiId,
                            Key
"Type" 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
type']
                           ([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
"AuthType" (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)
authType,
                               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
"AuthorizerCredentials"
                                 (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)
authorizerCredentials,
                               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AuthorizerResultTtlInSeconds"
                                 (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
authorizerResultTtlInSeconds,
                               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
"AuthorizerUri" (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)
authorizerUri,
                               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
"IdentitySource" (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)
identitySource,
                               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
"IdentityValidationExpression"
                                 (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)
identityValidationExpression,
                               Key -> ValueList 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
"ProviderARNs" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
providerARNs]))}
instance JSON.ToJSON Authorizer where
  toJSON :: Authorizer -> Value
toJSON Authorizer {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Authorizer -> ()
authType :: Authorizer -> Maybe (Value Text)
authorizerCredentials :: Authorizer -> Maybe (Value Text)
authorizerResultTtlInSeconds :: Authorizer -> Maybe (Value Integer)
authorizerUri :: Authorizer -> Maybe (Value Text)
identitySource :: Authorizer -> Maybe (Value Text)
identityValidationExpression :: Authorizer -> Maybe (Value Text)
name :: Authorizer -> Value Text
providerARNs :: Authorizer -> Maybe (ValueList Text)
restApiId :: Authorizer -> Value Text
type' :: Authorizer -> Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: 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
"Name" 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
name, Key
"RestApiId" 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
restApiId,
               Key
"Type" 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
type']
              ([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
"AuthType" (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)
authType,
                  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
"AuthorizerCredentials"
                    (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)
authorizerCredentials,
                  Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AuthorizerResultTtlInSeconds"
                    (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
authorizerResultTtlInSeconds,
                  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
"AuthorizerUri" (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)
authorizerUri,
                  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
"IdentitySource" (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)
identitySource,
                  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
"IdentityValidationExpression"
                    (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)
identityValidationExpression,
                  Key -> ValueList 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
"ProviderARNs" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
providerARNs])))
instance Property "AuthType" Authorizer where
  type PropertyType "AuthType" Authorizer = Value Prelude.Text
  set :: PropertyType "AuthType" Authorizer -> Authorizer -> Authorizer
set PropertyType "AuthType" Authorizer
newValue Authorizer {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Authorizer -> ()
authType :: Authorizer -> Maybe (Value Text)
authorizerCredentials :: Authorizer -> Maybe (Value Text)
authorizerResultTtlInSeconds :: Authorizer -> Maybe (Value Integer)
authorizerUri :: Authorizer -> Maybe (Value Text)
identitySource :: Authorizer -> Maybe (Value Text)
identityValidationExpression :: Authorizer -> Maybe (Value Text)
name :: Authorizer -> Value Text
providerARNs :: Authorizer -> Maybe (ValueList Text)
restApiId :: Authorizer -> Value Text
type' :: Authorizer -> Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
..}
    = Authorizer {authType :: Maybe (Value Text)
authType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AuthType" Authorizer
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
..}
instance Property "AuthorizerCredentials" Authorizer where
  type PropertyType "AuthorizerCredentials" Authorizer = Value Prelude.Text
  set :: PropertyType "AuthorizerCredentials" Authorizer
-> Authorizer -> Authorizer
set PropertyType "AuthorizerCredentials" Authorizer
newValue Authorizer {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Authorizer -> ()
authType :: Authorizer -> Maybe (Value Text)
authorizerCredentials :: Authorizer -> Maybe (Value Text)
authorizerResultTtlInSeconds :: Authorizer -> Maybe (Value Integer)
authorizerUri :: Authorizer -> Maybe (Value Text)
identitySource :: Authorizer -> Maybe (Value Text)
identityValidationExpression :: Authorizer -> Maybe (Value Text)
name :: Authorizer -> Value Text
providerARNs :: Authorizer -> Maybe (ValueList Text)
restApiId :: Authorizer -> Value Text
type' :: Authorizer -> Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
..}
    = Authorizer {authorizerCredentials :: Maybe (Value Text)
authorizerCredentials = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AuthorizerCredentials" Authorizer
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
..}
instance Property "AuthorizerResultTtlInSeconds" Authorizer where
  type PropertyType "AuthorizerResultTtlInSeconds" Authorizer = Value Prelude.Integer
  set :: PropertyType "AuthorizerResultTtlInSeconds" Authorizer
-> Authorizer -> Authorizer
set PropertyType "AuthorizerResultTtlInSeconds" Authorizer
newValue Authorizer {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Authorizer -> ()
authType :: Authorizer -> Maybe (Value Text)
authorizerCredentials :: Authorizer -> Maybe (Value Text)
authorizerResultTtlInSeconds :: Authorizer -> Maybe (Value Integer)
authorizerUri :: Authorizer -> Maybe (Value Text)
identitySource :: Authorizer -> Maybe (Value Text)
identityValidationExpression :: Authorizer -> Maybe (Value Text)
name :: Authorizer -> Value Text
providerARNs :: Authorizer -> Maybe (ValueList Text)
restApiId :: Authorizer -> Value Text
type' :: Authorizer -> Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
..}
    = Authorizer
        {authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerResultTtlInSeconds = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AuthorizerResultTtlInSeconds" Authorizer
Value Integer
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
..}
instance Property "AuthorizerUri" Authorizer where
  type PropertyType "AuthorizerUri" Authorizer = Value Prelude.Text
  set :: PropertyType "AuthorizerUri" Authorizer -> Authorizer -> Authorizer
set PropertyType "AuthorizerUri" Authorizer
newValue Authorizer {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Authorizer -> ()
authType :: Authorizer -> Maybe (Value Text)
authorizerCredentials :: Authorizer -> Maybe (Value Text)
authorizerResultTtlInSeconds :: Authorizer -> Maybe (Value Integer)
authorizerUri :: Authorizer -> Maybe (Value Text)
identitySource :: Authorizer -> Maybe (Value Text)
identityValidationExpression :: Authorizer -> Maybe (Value Text)
name :: Authorizer -> Value Text
providerARNs :: Authorizer -> Maybe (ValueList Text)
restApiId :: Authorizer -> Value Text
type' :: Authorizer -> Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
..}
    = Authorizer {authorizerUri :: Maybe (Value Text)
authorizerUri = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AuthorizerUri" Authorizer
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
..}
instance Property "IdentitySource" Authorizer where
  type PropertyType "IdentitySource" Authorizer = Value Prelude.Text
  set :: PropertyType "IdentitySource" Authorizer
-> Authorizer -> Authorizer
set PropertyType "IdentitySource" Authorizer
newValue Authorizer {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Authorizer -> ()
authType :: Authorizer -> Maybe (Value Text)
authorizerCredentials :: Authorizer -> Maybe (Value Text)
authorizerResultTtlInSeconds :: Authorizer -> Maybe (Value Integer)
authorizerUri :: Authorizer -> Maybe (Value Text)
identitySource :: Authorizer -> Maybe (Value Text)
identityValidationExpression :: Authorizer -> Maybe (Value Text)
name :: Authorizer -> Value Text
providerARNs :: Authorizer -> Maybe (ValueList Text)
restApiId :: Authorizer -> Value Text
type' :: Authorizer -> Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
..}
    = Authorizer {identitySource :: Maybe (Value Text)
identitySource = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IdentitySource" Authorizer
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
..}
instance Property "IdentityValidationExpression" Authorizer where
  type PropertyType "IdentityValidationExpression" Authorizer = Value Prelude.Text
  set :: PropertyType "IdentityValidationExpression" Authorizer
-> Authorizer -> Authorizer
set PropertyType "IdentityValidationExpression" Authorizer
newValue Authorizer {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Authorizer -> ()
authType :: Authorizer -> Maybe (Value Text)
authorizerCredentials :: Authorizer -> Maybe (Value Text)
authorizerResultTtlInSeconds :: Authorizer -> Maybe (Value Integer)
authorizerUri :: Authorizer -> Maybe (Value Text)
identitySource :: Authorizer -> Maybe (Value Text)
identityValidationExpression :: Authorizer -> Maybe (Value Text)
name :: Authorizer -> Value Text
providerARNs :: Authorizer -> Maybe (ValueList Text)
restApiId :: Authorizer -> Value Text
type' :: Authorizer -> Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
..}
    = Authorizer
        {identityValidationExpression :: Maybe (Value Text)
identityValidationExpression = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IdentityValidationExpression" Authorizer
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
..}
instance Property "Name" Authorizer where
  type PropertyType "Name" Authorizer = Value Prelude.Text
  set :: PropertyType "Name" Authorizer -> Authorizer -> Authorizer
set PropertyType "Name" Authorizer
newValue Authorizer {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Authorizer -> ()
authType :: Authorizer -> Maybe (Value Text)
authorizerCredentials :: Authorizer -> Maybe (Value Text)
authorizerResultTtlInSeconds :: Authorizer -> Maybe (Value Integer)
authorizerUri :: Authorizer -> Maybe (Value Text)
identitySource :: Authorizer -> Maybe (Value Text)
identityValidationExpression :: Authorizer -> Maybe (Value Text)
name :: Authorizer -> Value Text
providerARNs :: Authorizer -> Maybe (ValueList Text)
restApiId :: Authorizer -> Value Text
type' :: Authorizer -> Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
..} = Authorizer {name :: Value Text
name = PropertyType "Name" Authorizer
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
..}
instance Property "ProviderARNs" Authorizer where
  type PropertyType "ProviderARNs" Authorizer = ValueList Prelude.Text
  set :: PropertyType "ProviderARNs" Authorizer -> Authorizer -> Authorizer
set PropertyType "ProviderARNs" Authorizer
newValue Authorizer {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Authorizer -> ()
authType :: Authorizer -> Maybe (Value Text)
authorizerCredentials :: Authorizer -> Maybe (Value Text)
authorizerResultTtlInSeconds :: Authorizer -> Maybe (Value Integer)
authorizerUri :: Authorizer -> Maybe (Value Text)
identitySource :: Authorizer -> Maybe (Value Text)
identityValidationExpression :: Authorizer -> Maybe (Value Text)
name :: Authorizer -> Value Text
providerARNs :: Authorizer -> Maybe (ValueList Text)
restApiId :: Authorizer -> Value Text
type' :: Authorizer -> Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
..}
    = Authorizer {providerARNs :: Maybe (ValueList Text)
providerARNs = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ProviderARNs" Authorizer
ValueList Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
restApiId :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
restApiId :: Value Text
type' :: Value Text
..}
instance Property "RestApiId" Authorizer where
  type PropertyType "RestApiId" Authorizer = Value Prelude.Text
  set :: PropertyType "RestApiId" Authorizer -> Authorizer -> Authorizer
set PropertyType "RestApiId" Authorizer
newValue Authorizer {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Authorizer -> ()
authType :: Authorizer -> Maybe (Value Text)
authorizerCredentials :: Authorizer -> Maybe (Value Text)
authorizerResultTtlInSeconds :: Authorizer -> Maybe (Value Integer)
authorizerUri :: Authorizer -> Maybe (Value Text)
identitySource :: Authorizer -> Maybe (Value Text)
identityValidationExpression :: Authorizer -> Maybe (Value Text)
name :: Authorizer -> Value Text
providerARNs :: Authorizer -> Maybe (ValueList Text)
restApiId :: Authorizer -> Value Text
type' :: Authorizer -> Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
..}
    = Authorizer {restApiId :: Value Text
restApiId = PropertyType "RestApiId" Authorizer
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
type' :: Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
type' :: Value Text
..}
instance Property "Type" Authorizer where
  type PropertyType "Type" Authorizer = Value Prelude.Text
  set :: PropertyType "Type" Authorizer -> Authorizer -> Authorizer
set PropertyType "Type" Authorizer
newValue Authorizer {Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: Authorizer -> ()
authType :: Authorizer -> Maybe (Value Text)
authorizerCredentials :: Authorizer -> Maybe (Value Text)
authorizerResultTtlInSeconds :: Authorizer -> Maybe (Value Integer)
authorizerUri :: Authorizer -> Maybe (Value Text)
identitySource :: Authorizer -> Maybe (Value Text)
identityValidationExpression :: Authorizer -> Maybe (Value Text)
name :: Authorizer -> Value Text
providerARNs :: Authorizer -> Maybe (ValueList Text)
restApiId :: Authorizer -> Value Text
type' :: Authorizer -> Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
type' :: Value Text
..} = Authorizer {type' :: Value Text
type' = PropertyType "Type" Authorizer
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
haddock_workaround_ :: ()
authType :: Maybe (Value Text)
authorizerCredentials :: Maybe (Value Text)
authorizerResultTtlInSeconds :: Maybe (Value Integer)
authorizerUri :: Maybe (Value Text)
identitySource :: Maybe (Value Text)
identityValidationExpression :: Maybe (Value Text)
name :: Value Text
providerARNs :: Maybe (ValueList Text)
restApiId :: Value Text
..}