module Stratosphere.Glue.Connection.OAuth2PropertiesInputProperty (
        module Exports, OAuth2PropertiesInputProperty(..),
        mkOAuth2PropertiesInputProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Glue.Connection.AuthorizationCodePropertiesProperty as Exports
import {-# SOURCE #-} Stratosphere.Glue.Connection.OAuth2ClientApplicationProperty as Exports
import {-# SOURCE #-} Stratosphere.Glue.Connection.OAuth2CredentialsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data OAuth2PropertiesInputProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-oauth2propertiesinput.html>
    OAuth2PropertiesInputProperty {OAuth2PropertiesInputProperty -> ()
haddock_workaround_ :: (),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-oauth2propertiesinput.html#cfn-glue-connection-oauth2propertiesinput-authorizationcodeproperties>
                                   OAuth2PropertiesInputProperty
-> Maybe AuthorizationCodePropertiesProperty
authorizationCodeProperties :: (Prelude.Maybe AuthorizationCodePropertiesProperty),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-oauth2propertiesinput.html#cfn-glue-connection-oauth2propertiesinput-oauth2clientapplication>
                                   OAuth2PropertiesInputProperty
-> Maybe OAuth2ClientApplicationProperty
oAuth2ClientApplication :: (Prelude.Maybe OAuth2ClientApplicationProperty),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-oauth2propertiesinput.html#cfn-glue-connection-oauth2propertiesinput-oauth2credentials>
                                   OAuth2PropertiesInputProperty -> Maybe OAuth2CredentialsProperty
oAuth2Credentials :: (Prelude.Maybe OAuth2CredentialsProperty),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-oauth2propertiesinput.html#cfn-glue-connection-oauth2propertiesinput-oauth2granttype>
                                   OAuth2PropertiesInputProperty -> Maybe (Value Text)
oAuth2GrantType :: (Prelude.Maybe (Value Prelude.Text)),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-oauth2propertiesinput.html#cfn-glue-connection-oauth2propertiesinput-tokenurl>
                                   OAuth2PropertiesInputProperty -> Maybe (Value Text)
tokenUrl :: (Prelude.Maybe (Value Prelude.Text)),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-oauth2propertiesinput.html#cfn-glue-connection-oauth2propertiesinput-tokenurlparametersmap>
                                   OAuth2PropertiesInputProperty -> Maybe Object
tokenUrlParametersMap :: (Prelude.Maybe JSON.Object)}
  deriving stock (OAuth2PropertiesInputProperty
-> OAuth2PropertiesInputProperty -> Bool
(OAuth2PropertiesInputProperty
 -> OAuth2PropertiesInputProperty -> Bool)
-> (OAuth2PropertiesInputProperty
    -> OAuth2PropertiesInputProperty -> Bool)
-> Eq OAuth2PropertiesInputProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: OAuth2PropertiesInputProperty
-> OAuth2PropertiesInputProperty -> Bool
== :: OAuth2PropertiesInputProperty
-> OAuth2PropertiesInputProperty -> Bool
$c/= :: OAuth2PropertiesInputProperty
-> OAuth2PropertiesInputProperty -> Bool
/= :: OAuth2PropertiesInputProperty
-> OAuth2PropertiesInputProperty -> Bool
Prelude.Eq, Int -> OAuth2PropertiesInputProperty -> ShowS
[OAuth2PropertiesInputProperty] -> ShowS
OAuth2PropertiesInputProperty -> String
(Int -> OAuth2PropertiesInputProperty -> ShowS)
-> (OAuth2PropertiesInputProperty -> String)
-> ([OAuth2PropertiesInputProperty] -> ShowS)
-> Show OAuth2PropertiesInputProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> OAuth2PropertiesInputProperty -> ShowS
showsPrec :: Int -> OAuth2PropertiesInputProperty -> ShowS
$cshow :: OAuth2PropertiesInputProperty -> String
show :: OAuth2PropertiesInputProperty -> String
$cshowList :: [OAuth2PropertiesInputProperty] -> ShowS
showList :: [OAuth2PropertiesInputProperty] -> ShowS
Prelude.Show)
mkOAuth2PropertiesInputProperty :: OAuth2PropertiesInputProperty
mkOAuth2PropertiesInputProperty :: OAuth2PropertiesInputProperty
mkOAuth2PropertiesInputProperty
  = OAuth2PropertiesInputProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
authorizationCodeProperties = Maybe AuthorizationCodePropertiesProperty
forall a. Maybe a
Prelude.Nothing,
       oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2ClientApplication = Maybe OAuth2ClientApplicationProperty
forall a. Maybe a
Prelude.Nothing,
       oAuth2Credentials :: Maybe OAuth2CredentialsProperty
oAuth2Credentials = Maybe OAuth2CredentialsProperty
forall a. Maybe a
Prelude.Nothing,
       oAuth2GrantType :: Maybe (Value Text)
oAuth2GrantType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, tokenUrl :: Maybe (Value Text)
tokenUrl = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       tokenUrlParametersMap :: Maybe Object
tokenUrlParametersMap = Maybe Object
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties OAuth2PropertiesInputProperty where
  toResourceProperties :: OAuth2PropertiesInputProperty -> ResourceProperties
toResourceProperties OAuth2PropertiesInputProperty {Maybe Object
Maybe (Value Text)
Maybe AuthorizationCodePropertiesProperty
Maybe OAuth2ClientApplicationProperty
Maybe OAuth2CredentialsProperty
()
haddock_workaround_ :: OAuth2PropertiesInputProperty -> ()
authorizationCodeProperties :: OAuth2PropertiesInputProperty
-> Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: OAuth2PropertiesInputProperty
-> Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: OAuth2PropertiesInputProperty -> Maybe OAuth2CredentialsProperty
oAuth2GrantType :: OAuth2PropertiesInputProperty -> Maybe (Value Text)
tokenUrl :: OAuth2PropertiesInputProperty -> Maybe (Value Text)
tokenUrlParametersMap :: OAuth2PropertiesInputProperty -> Maybe Object
haddock_workaround_ :: ()
authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: Maybe OAuth2CredentialsProperty
oAuth2GrantType :: Maybe (Value Text)
tokenUrl :: Maybe (Value Text)
tokenUrlParametersMap :: Maybe Object
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Glue::Connection.OAuth2PropertiesInput",
         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 -> AuthorizationCodePropertiesProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AuthorizationCodeProperties"
                              (AuthorizationCodePropertiesProperty -> (Key, Value))
-> Maybe AuthorizationCodePropertiesProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AuthorizationCodePropertiesProperty
authorizationCodeProperties,
                            Key -> OAuth2ClientApplicationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OAuth2ClientApplication"
                              (OAuth2ClientApplicationProperty -> (Key, Value))
-> Maybe OAuth2ClientApplicationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OAuth2ClientApplicationProperty
oAuth2ClientApplication,
                            Key -> OAuth2CredentialsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OAuth2Credentials" (OAuth2CredentialsProperty -> (Key, Value))
-> Maybe OAuth2CredentialsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OAuth2CredentialsProperty
oAuth2Credentials,
                            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
"OAuth2GrantType" (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)
oAuth2GrantType,
                            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
"TokenUrl" (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)
tokenUrl,
                            Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TokenUrlParametersMap"
                              (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
tokenUrlParametersMap])}
instance JSON.ToJSON OAuth2PropertiesInputProperty where
  toJSON :: OAuth2PropertiesInputProperty -> Value
toJSON OAuth2PropertiesInputProperty {Maybe Object
Maybe (Value Text)
Maybe AuthorizationCodePropertiesProperty
Maybe OAuth2ClientApplicationProperty
Maybe OAuth2CredentialsProperty
()
haddock_workaround_ :: OAuth2PropertiesInputProperty -> ()
authorizationCodeProperties :: OAuth2PropertiesInputProperty
-> Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: OAuth2PropertiesInputProperty
-> Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: OAuth2PropertiesInputProperty -> Maybe OAuth2CredentialsProperty
oAuth2GrantType :: OAuth2PropertiesInputProperty -> Maybe (Value Text)
tokenUrl :: OAuth2PropertiesInputProperty -> Maybe (Value Text)
tokenUrlParametersMap :: OAuth2PropertiesInputProperty -> Maybe Object
haddock_workaround_ :: ()
authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: Maybe OAuth2CredentialsProperty
oAuth2GrantType :: Maybe (Value Text)
tokenUrl :: Maybe (Value Text)
tokenUrlParametersMap :: Maybe Object
..}
    = [(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 -> AuthorizationCodePropertiesProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AuthorizationCodeProperties"
                 (AuthorizationCodePropertiesProperty -> (Key, Value))
-> Maybe AuthorizationCodePropertiesProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AuthorizationCodePropertiesProperty
authorizationCodeProperties,
               Key -> OAuth2ClientApplicationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OAuth2ClientApplication"
                 (OAuth2ClientApplicationProperty -> (Key, Value))
-> Maybe OAuth2ClientApplicationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OAuth2ClientApplicationProperty
oAuth2ClientApplication,
               Key -> OAuth2CredentialsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OAuth2Credentials" (OAuth2CredentialsProperty -> (Key, Value))
-> Maybe OAuth2CredentialsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OAuth2CredentialsProperty
oAuth2Credentials,
               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
"OAuth2GrantType" (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)
oAuth2GrantType,
               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
"TokenUrl" (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)
tokenUrl,
               Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TokenUrlParametersMap"
                 (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
tokenUrlParametersMap]))
instance Property "AuthorizationCodeProperties" OAuth2PropertiesInputProperty where
  type PropertyType "AuthorizationCodeProperties" OAuth2PropertiesInputProperty = AuthorizationCodePropertiesProperty
  set :: PropertyType
  "AuthorizationCodeProperties" OAuth2PropertiesInputProperty
-> OAuth2PropertiesInputProperty -> OAuth2PropertiesInputProperty
set PropertyType
  "AuthorizationCodeProperties" OAuth2PropertiesInputProperty
newValue OAuth2PropertiesInputProperty {Maybe Object
Maybe (Value Text)
Maybe AuthorizationCodePropertiesProperty
Maybe OAuth2ClientApplicationProperty
Maybe OAuth2CredentialsProperty
()
haddock_workaround_ :: OAuth2PropertiesInputProperty -> ()
authorizationCodeProperties :: OAuth2PropertiesInputProperty
-> Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: OAuth2PropertiesInputProperty
-> Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: OAuth2PropertiesInputProperty -> Maybe OAuth2CredentialsProperty
oAuth2GrantType :: OAuth2PropertiesInputProperty -> Maybe (Value Text)
tokenUrl :: OAuth2PropertiesInputProperty -> Maybe (Value Text)
tokenUrlParametersMap :: OAuth2PropertiesInputProperty -> Maybe Object
haddock_workaround_ :: ()
authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: Maybe OAuth2CredentialsProperty
oAuth2GrantType :: Maybe (Value Text)
tokenUrl :: Maybe (Value Text)
tokenUrlParametersMap :: Maybe Object
..}
    = OAuth2PropertiesInputProperty
        {authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
authorizationCodeProperties = AuthorizationCodePropertiesProperty
-> Maybe AuthorizationCodePropertiesProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "AuthorizationCodeProperties" OAuth2PropertiesInputProperty
AuthorizationCodePropertiesProperty
newValue, Maybe Object
Maybe (Value Text)
Maybe OAuth2ClientApplicationProperty
Maybe OAuth2CredentialsProperty
()
haddock_workaround_ :: ()
oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: Maybe OAuth2CredentialsProperty
oAuth2GrantType :: Maybe (Value Text)
tokenUrl :: Maybe (Value Text)
tokenUrlParametersMap :: Maybe Object
haddock_workaround_ :: ()
oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: Maybe OAuth2CredentialsProperty
oAuth2GrantType :: Maybe (Value Text)
tokenUrl :: Maybe (Value Text)
tokenUrlParametersMap :: Maybe Object
..}
instance Property "OAuth2ClientApplication" OAuth2PropertiesInputProperty where
  type PropertyType "OAuth2ClientApplication" OAuth2PropertiesInputProperty = OAuth2ClientApplicationProperty
  set :: PropertyType
  "OAuth2ClientApplication" OAuth2PropertiesInputProperty
-> OAuth2PropertiesInputProperty -> OAuth2PropertiesInputProperty
set PropertyType
  "OAuth2ClientApplication" OAuth2PropertiesInputProperty
newValue OAuth2PropertiesInputProperty {Maybe Object
Maybe (Value Text)
Maybe AuthorizationCodePropertiesProperty
Maybe OAuth2ClientApplicationProperty
Maybe OAuth2CredentialsProperty
()
haddock_workaround_ :: OAuth2PropertiesInputProperty -> ()
authorizationCodeProperties :: OAuth2PropertiesInputProperty
-> Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: OAuth2PropertiesInputProperty
-> Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: OAuth2PropertiesInputProperty -> Maybe OAuth2CredentialsProperty
oAuth2GrantType :: OAuth2PropertiesInputProperty -> Maybe (Value Text)
tokenUrl :: OAuth2PropertiesInputProperty -> Maybe (Value Text)
tokenUrlParametersMap :: OAuth2PropertiesInputProperty -> Maybe Object
haddock_workaround_ :: ()
authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: Maybe OAuth2CredentialsProperty
oAuth2GrantType :: Maybe (Value Text)
tokenUrl :: Maybe (Value Text)
tokenUrlParametersMap :: Maybe Object
..}
    = OAuth2PropertiesInputProperty
        {oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2ClientApplication = OAuth2ClientApplicationProperty
-> Maybe OAuth2ClientApplicationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "OAuth2ClientApplication" OAuth2PropertiesInputProperty
OAuth2ClientApplicationProperty
newValue, Maybe Object
Maybe (Value Text)
Maybe AuthorizationCodePropertiesProperty
Maybe OAuth2CredentialsProperty
()
haddock_workaround_ :: ()
authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
oAuth2Credentials :: Maybe OAuth2CredentialsProperty
oAuth2GrantType :: Maybe (Value Text)
tokenUrl :: Maybe (Value Text)
tokenUrlParametersMap :: Maybe Object
haddock_workaround_ :: ()
authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
oAuth2Credentials :: Maybe OAuth2CredentialsProperty
oAuth2GrantType :: Maybe (Value Text)
tokenUrl :: Maybe (Value Text)
tokenUrlParametersMap :: Maybe Object
..}
instance Property "OAuth2Credentials" OAuth2PropertiesInputProperty where
  type PropertyType "OAuth2Credentials" OAuth2PropertiesInputProperty = OAuth2CredentialsProperty
  set :: PropertyType "OAuth2Credentials" OAuth2PropertiesInputProperty
-> OAuth2PropertiesInputProperty -> OAuth2PropertiesInputProperty
set PropertyType "OAuth2Credentials" OAuth2PropertiesInputProperty
newValue OAuth2PropertiesInputProperty {Maybe Object
Maybe (Value Text)
Maybe AuthorizationCodePropertiesProperty
Maybe OAuth2ClientApplicationProperty
Maybe OAuth2CredentialsProperty
()
haddock_workaround_ :: OAuth2PropertiesInputProperty -> ()
authorizationCodeProperties :: OAuth2PropertiesInputProperty
-> Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: OAuth2PropertiesInputProperty
-> Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: OAuth2PropertiesInputProperty -> Maybe OAuth2CredentialsProperty
oAuth2GrantType :: OAuth2PropertiesInputProperty -> Maybe (Value Text)
tokenUrl :: OAuth2PropertiesInputProperty -> Maybe (Value Text)
tokenUrlParametersMap :: OAuth2PropertiesInputProperty -> Maybe Object
haddock_workaround_ :: ()
authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: Maybe OAuth2CredentialsProperty
oAuth2GrantType :: Maybe (Value Text)
tokenUrl :: Maybe (Value Text)
tokenUrlParametersMap :: Maybe Object
..}
    = OAuth2PropertiesInputProperty
        {oAuth2Credentials :: Maybe OAuth2CredentialsProperty
oAuth2Credentials = OAuth2CredentialsProperty -> Maybe OAuth2CredentialsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OAuth2Credentials" OAuth2PropertiesInputProperty
OAuth2CredentialsProperty
newValue, Maybe Object
Maybe (Value Text)
Maybe AuthorizationCodePropertiesProperty
Maybe OAuth2ClientApplicationProperty
()
haddock_workaround_ :: ()
authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2GrantType :: Maybe (Value Text)
tokenUrl :: Maybe (Value Text)
tokenUrlParametersMap :: Maybe Object
haddock_workaround_ :: ()
authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2GrantType :: Maybe (Value Text)
tokenUrl :: Maybe (Value Text)
tokenUrlParametersMap :: Maybe Object
..}
instance Property "OAuth2GrantType" OAuth2PropertiesInputProperty where
  type PropertyType "OAuth2GrantType" OAuth2PropertiesInputProperty = Value Prelude.Text
  set :: PropertyType "OAuth2GrantType" OAuth2PropertiesInputProperty
-> OAuth2PropertiesInputProperty -> OAuth2PropertiesInputProperty
set PropertyType "OAuth2GrantType" OAuth2PropertiesInputProperty
newValue OAuth2PropertiesInputProperty {Maybe Object
Maybe (Value Text)
Maybe AuthorizationCodePropertiesProperty
Maybe OAuth2ClientApplicationProperty
Maybe OAuth2CredentialsProperty
()
haddock_workaround_ :: OAuth2PropertiesInputProperty -> ()
authorizationCodeProperties :: OAuth2PropertiesInputProperty
-> Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: OAuth2PropertiesInputProperty
-> Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: OAuth2PropertiesInputProperty -> Maybe OAuth2CredentialsProperty
oAuth2GrantType :: OAuth2PropertiesInputProperty -> Maybe (Value Text)
tokenUrl :: OAuth2PropertiesInputProperty -> Maybe (Value Text)
tokenUrlParametersMap :: OAuth2PropertiesInputProperty -> Maybe Object
haddock_workaround_ :: ()
authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: Maybe OAuth2CredentialsProperty
oAuth2GrantType :: Maybe (Value Text)
tokenUrl :: Maybe (Value Text)
tokenUrlParametersMap :: Maybe Object
..}
    = OAuth2PropertiesInputProperty
        {oAuth2GrantType :: Maybe (Value Text)
oAuth2GrantType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OAuth2GrantType" OAuth2PropertiesInputProperty
Value Text
newValue, Maybe Object
Maybe (Value Text)
Maybe AuthorizationCodePropertiesProperty
Maybe OAuth2ClientApplicationProperty
Maybe OAuth2CredentialsProperty
()
haddock_workaround_ :: ()
authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: Maybe OAuth2CredentialsProperty
tokenUrl :: Maybe (Value Text)
tokenUrlParametersMap :: Maybe Object
haddock_workaround_ :: ()
authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: Maybe OAuth2CredentialsProperty
tokenUrl :: Maybe (Value Text)
tokenUrlParametersMap :: Maybe Object
..}
instance Property "TokenUrl" OAuth2PropertiesInputProperty where
  type PropertyType "TokenUrl" OAuth2PropertiesInputProperty = Value Prelude.Text
  set :: PropertyType "TokenUrl" OAuth2PropertiesInputProperty
-> OAuth2PropertiesInputProperty -> OAuth2PropertiesInputProperty
set PropertyType "TokenUrl" OAuth2PropertiesInputProperty
newValue OAuth2PropertiesInputProperty {Maybe Object
Maybe (Value Text)
Maybe AuthorizationCodePropertiesProperty
Maybe OAuth2ClientApplicationProperty
Maybe OAuth2CredentialsProperty
()
haddock_workaround_ :: OAuth2PropertiesInputProperty -> ()
authorizationCodeProperties :: OAuth2PropertiesInputProperty
-> Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: OAuth2PropertiesInputProperty
-> Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: OAuth2PropertiesInputProperty -> Maybe OAuth2CredentialsProperty
oAuth2GrantType :: OAuth2PropertiesInputProperty -> Maybe (Value Text)
tokenUrl :: OAuth2PropertiesInputProperty -> Maybe (Value Text)
tokenUrlParametersMap :: OAuth2PropertiesInputProperty -> Maybe Object
haddock_workaround_ :: ()
authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: Maybe OAuth2CredentialsProperty
oAuth2GrantType :: Maybe (Value Text)
tokenUrl :: Maybe (Value Text)
tokenUrlParametersMap :: Maybe Object
..}
    = OAuth2PropertiesInputProperty
        {tokenUrl :: Maybe (Value Text)
tokenUrl = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TokenUrl" OAuth2PropertiesInputProperty
Value Text
newValue, Maybe Object
Maybe (Value Text)
Maybe AuthorizationCodePropertiesProperty
Maybe OAuth2ClientApplicationProperty
Maybe OAuth2CredentialsProperty
()
haddock_workaround_ :: ()
authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: Maybe OAuth2CredentialsProperty
oAuth2GrantType :: Maybe (Value Text)
tokenUrlParametersMap :: Maybe Object
haddock_workaround_ :: ()
authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: Maybe OAuth2CredentialsProperty
oAuth2GrantType :: Maybe (Value Text)
tokenUrlParametersMap :: Maybe Object
..}
instance Property "TokenUrlParametersMap" OAuth2PropertiesInputProperty where
  type PropertyType "TokenUrlParametersMap" OAuth2PropertiesInputProperty = JSON.Object
  set :: PropertyType "TokenUrlParametersMap" OAuth2PropertiesInputProperty
-> OAuth2PropertiesInputProperty -> OAuth2PropertiesInputProperty
set PropertyType "TokenUrlParametersMap" OAuth2PropertiesInputProperty
newValue OAuth2PropertiesInputProperty {Maybe Object
Maybe (Value Text)
Maybe AuthorizationCodePropertiesProperty
Maybe OAuth2ClientApplicationProperty
Maybe OAuth2CredentialsProperty
()
haddock_workaround_ :: OAuth2PropertiesInputProperty -> ()
authorizationCodeProperties :: OAuth2PropertiesInputProperty
-> Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: OAuth2PropertiesInputProperty
-> Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: OAuth2PropertiesInputProperty -> Maybe OAuth2CredentialsProperty
oAuth2GrantType :: OAuth2PropertiesInputProperty -> Maybe (Value Text)
tokenUrl :: OAuth2PropertiesInputProperty -> Maybe (Value Text)
tokenUrlParametersMap :: OAuth2PropertiesInputProperty -> Maybe Object
haddock_workaround_ :: ()
authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: Maybe OAuth2CredentialsProperty
oAuth2GrantType :: Maybe (Value Text)
tokenUrl :: Maybe (Value Text)
tokenUrlParametersMap :: Maybe Object
..}
    = OAuth2PropertiesInputProperty
        {tokenUrlParametersMap :: Maybe Object
tokenUrlParametersMap = Object -> Maybe Object
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Object
PropertyType "TokenUrlParametersMap" OAuth2PropertiesInputProperty
newValue, Maybe (Value Text)
Maybe AuthorizationCodePropertiesProperty
Maybe OAuth2ClientApplicationProperty
Maybe OAuth2CredentialsProperty
()
haddock_workaround_ :: ()
authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: Maybe OAuth2CredentialsProperty
oAuth2GrantType :: Maybe (Value Text)
tokenUrl :: Maybe (Value Text)
haddock_workaround_ :: ()
authorizationCodeProperties :: Maybe AuthorizationCodePropertiesProperty
oAuth2ClientApplication :: Maybe OAuth2ClientApplicationProperty
oAuth2Credentials :: Maybe OAuth2CredentialsProperty
oAuth2GrantType :: Maybe (Value Text)
tokenUrl :: Maybe (Value Text)
..}