module Stratosphere.Kendra.DataSource.OneDriveConfigurationProperty (
        module Exports, OneDriveConfigurationProperty(..),
        mkOneDriveConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Kendra.DataSource.DataSourceToIndexFieldMappingProperty as Exports
import {-# SOURCE #-} Stratosphere.Kendra.DataSource.OneDriveUsersProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data OneDriveConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html>
    OneDriveConfigurationProperty {OneDriveConfigurationProperty -> ()
haddock_workaround_ :: (),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-disablelocalgroups>
                                   OneDriveConfigurationProperty -> Maybe (Value Bool)
disableLocalGroups :: (Prelude.Maybe (Value Prelude.Bool)),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-exclusionpatterns>
                                   OneDriveConfigurationProperty -> Maybe (ValueList Text)
exclusionPatterns :: (Prelude.Maybe (ValueList Prelude.Text)),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-fieldmappings>
                                   OneDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
fieldMappings :: (Prelude.Maybe [DataSourceToIndexFieldMappingProperty]),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-inclusionpatterns>
                                   OneDriveConfigurationProperty -> Maybe (ValueList Text)
inclusionPatterns :: (Prelude.Maybe (ValueList Prelude.Text)),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-onedriveusers>
                                   OneDriveConfigurationProperty -> OneDriveUsersProperty
oneDriveUsers :: OneDriveUsersProperty,
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-secretarn>
                                   OneDriveConfigurationProperty -> Value Text
secretArn :: (Value Prelude.Text),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-tenantdomain>
                                   OneDriveConfigurationProperty -> Value Text
tenantDomain :: (Value Prelude.Text)}
  deriving stock (OneDriveConfigurationProperty
-> OneDriveConfigurationProperty -> Bool
(OneDriveConfigurationProperty
 -> OneDriveConfigurationProperty -> Bool)
-> (OneDriveConfigurationProperty
    -> OneDriveConfigurationProperty -> Bool)
-> Eq OneDriveConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: OneDriveConfigurationProperty
-> OneDriveConfigurationProperty -> Bool
== :: OneDriveConfigurationProperty
-> OneDriveConfigurationProperty -> Bool
$c/= :: OneDriveConfigurationProperty
-> OneDriveConfigurationProperty -> Bool
/= :: OneDriveConfigurationProperty
-> OneDriveConfigurationProperty -> Bool
Prelude.Eq, Int -> OneDriveConfigurationProperty -> ShowS
[OneDriveConfigurationProperty] -> ShowS
OneDriveConfigurationProperty -> String
(Int -> OneDriveConfigurationProperty -> ShowS)
-> (OneDriveConfigurationProperty -> String)
-> ([OneDriveConfigurationProperty] -> ShowS)
-> Show OneDriveConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> OneDriveConfigurationProperty -> ShowS
showsPrec :: Int -> OneDriveConfigurationProperty -> ShowS
$cshow :: OneDriveConfigurationProperty -> String
show :: OneDriveConfigurationProperty -> String
$cshowList :: [OneDriveConfigurationProperty] -> ShowS
showList :: [OneDriveConfigurationProperty] -> ShowS
Prelude.Show)
mkOneDriveConfigurationProperty ::
  OneDriveUsersProperty
  -> Value Prelude.Text
     -> Value Prelude.Text -> OneDriveConfigurationProperty
mkOneDriveConfigurationProperty :: OneDriveUsersProperty
-> Value Text -> Value Text -> OneDriveConfigurationProperty
mkOneDriveConfigurationProperty
  OneDriveUsersProperty
oneDriveUsers
  Value Text
secretArn
  Value Text
tenantDomain
  = OneDriveConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), oneDriveUsers :: OneDriveUsersProperty
oneDriveUsers = OneDriveUsersProperty
oneDriveUsers,
       secretArn :: Value Text
secretArn = Value Text
secretArn, tenantDomain :: Value Text
tenantDomain = Value Text
tenantDomain,
       disableLocalGroups :: Maybe (Value Bool)
disableLocalGroups = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       exclusionPatterns :: Maybe (ValueList Text)
exclusionPatterns = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
       fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
fieldMappings = Maybe [DataSourceToIndexFieldMappingProperty]
forall a. Maybe a
Prelude.Nothing,
       inclusionPatterns :: Maybe (ValueList Text)
inclusionPatterns = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties OneDriveConfigurationProperty where
  toResourceProperties :: OneDriveConfigurationProperty -> ResourceProperties
toResourceProperties OneDriveConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
OneDriveUsersProperty
haddock_workaround_ :: OneDriveConfigurationProperty -> ()
disableLocalGroups :: OneDriveConfigurationProperty -> Maybe (Value Bool)
exclusionPatterns :: OneDriveConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: OneDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: OneDriveConfigurationProperty -> Maybe (ValueList Text)
oneDriveUsers :: OneDriveConfigurationProperty -> OneDriveUsersProperty
secretArn :: OneDriveConfigurationProperty -> Value Text
tenantDomain :: OneDriveConfigurationProperty -> Value Text
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
tenantDomain :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Kendra::DataSource.OneDriveConfiguration",
         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
"OneDriveUsers" Key -> OneDriveUsersProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= OneDriveUsersProperty
oneDriveUsers,
                            Key
"SecretArn" 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
secretArn, Key
"TenantDomain" 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
tenantDomain]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DisableLocalGroups" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
disableLocalGroups,
                               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
"ExclusionPatterns" (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)
exclusionPatterns,
                               Key -> [DataSourceToIndexFieldMappingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FieldMappings" ([DataSourceToIndexFieldMappingProperty] -> (Key, Value))
-> Maybe [DataSourceToIndexFieldMappingProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [DataSourceToIndexFieldMappingProperty]
fieldMappings,
                               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
"InclusionPatterns" (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)
inclusionPatterns]))}
instance JSON.ToJSON OneDriveConfigurationProperty where
  toJSON :: OneDriveConfigurationProperty -> Value
toJSON OneDriveConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
OneDriveUsersProperty
haddock_workaround_ :: OneDriveConfigurationProperty -> ()
disableLocalGroups :: OneDriveConfigurationProperty -> Maybe (Value Bool)
exclusionPatterns :: OneDriveConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: OneDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: OneDriveConfigurationProperty -> Maybe (ValueList Text)
oneDriveUsers :: OneDriveConfigurationProperty -> OneDriveUsersProperty
secretArn :: OneDriveConfigurationProperty -> Value Text
tenantDomain :: OneDriveConfigurationProperty -> Value Text
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
tenantDomain :: 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
"OneDriveUsers" Key -> OneDriveUsersProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= OneDriveUsersProperty
oneDriveUsers,
               Key
"SecretArn" 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
secretArn, Key
"TenantDomain" 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
tenantDomain]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DisableLocalGroups" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
disableLocalGroups,
                  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
"ExclusionPatterns" (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)
exclusionPatterns,
                  Key -> [DataSourceToIndexFieldMappingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FieldMappings" ([DataSourceToIndexFieldMappingProperty] -> (Key, Value))
-> Maybe [DataSourceToIndexFieldMappingProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [DataSourceToIndexFieldMappingProperty]
fieldMappings,
                  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
"InclusionPatterns" (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)
inclusionPatterns])))
instance Property "DisableLocalGroups" OneDriveConfigurationProperty where
  type PropertyType "DisableLocalGroups" OneDriveConfigurationProperty = Value Prelude.Bool
  set :: PropertyType "DisableLocalGroups" OneDriveConfigurationProperty
-> OneDriveConfigurationProperty -> OneDriveConfigurationProperty
set PropertyType "DisableLocalGroups" OneDriveConfigurationProperty
newValue OneDriveConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
OneDriveUsersProperty
haddock_workaround_ :: OneDriveConfigurationProperty -> ()
disableLocalGroups :: OneDriveConfigurationProperty -> Maybe (Value Bool)
exclusionPatterns :: OneDriveConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: OneDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: OneDriveConfigurationProperty -> Maybe (ValueList Text)
oneDriveUsers :: OneDriveConfigurationProperty -> OneDriveUsersProperty
secretArn :: OneDriveConfigurationProperty -> Value Text
tenantDomain :: OneDriveConfigurationProperty -> Value Text
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
tenantDomain :: Value Text
..}
    = OneDriveConfigurationProperty
        {disableLocalGroups :: Maybe (Value Bool)
disableLocalGroups = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DisableLocalGroups" OneDriveConfigurationProperty
Value Bool
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
()
Value Text
OneDriveUsersProperty
haddock_workaround_ :: ()
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
tenantDomain :: Value Text
haddock_workaround_ :: ()
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
tenantDomain :: Value Text
..}
instance Property "ExclusionPatterns" OneDriveConfigurationProperty where
  type PropertyType "ExclusionPatterns" OneDriveConfigurationProperty = ValueList Prelude.Text
  set :: PropertyType "ExclusionPatterns" OneDriveConfigurationProperty
-> OneDriveConfigurationProperty -> OneDriveConfigurationProperty
set PropertyType "ExclusionPatterns" OneDriveConfigurationProperty
newValue OneDriveConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
OneDriveUsersProperty
haddock_workaround_ :: OneDriveConfigurationProperty -> ()
disableLocalGroups :: OneDriveConfigurationProperty -> Maybe (Value Bool)
exclusionPatterns :: OneDriveConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: OneDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: OneDriveConfigurationProperty -> Maybe (ValueList Text)
oneDriveUsers :: OneDriveConfigurationProperty -> OneDriveUsersProperty
secretArn :: OneDriveConfigurationProperty -> Value Text
tenantDomain :: OneDriveConfigurationProperty -> Value Text
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
tenantDomain :: Value Text
..}
    = OneDriveConfigurationProperty
        {exclusionPatterns :: Maybe (ValueList Text)
exclusionPatterns = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ExclusionPatterns" OneDriveConfigurationProperty
ValueList Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
OneDriveUsersProperty
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
tenantDomain :: Value Text
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
tenantDomain :: Value Text
..}
instance Property "FieldMappings" OneDriveConfigurationProperty where
  type PropertyType "FieldMappings" OneDriveConfigurationProperty = [DataSourceToIndexFieldMappingProperty]
  set :: PropertyType "FieldMappings" OneDriveConfigurationProperty
-> OneDriveConfigurationProperty -> OneDriveConfigurationProperty
set PropertyType "FieldMappings" OneDriveConfigurationProperty
newValue OneDriveConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
OneDriveUsersProperty
haddock_workaround_ :: OneDriveConfigurationProperty -> ()
disableLocalGroups :: OneDriveConfigurationProperty -> Maybe (Value Bool)
exclusionPatterns :: OneDriveConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: OneDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: OneDriveConfigurationProperty -> Maybe (ValueList Text)
oneDriveUsers :: OneDriveConfigurationProperty -> OneDriveUsersProperty
secretArn :: OneDriveConfigurationProperty -> Value Text
tenantDomain :: OneDriveConfigurationProperty -> Value Text
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
tenantDomain :: Value Text
..}
    = OneDriveConfigurationProperty
        {fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
fieldMappings = [DataSourceToIndexFieldMappingProperty]
-> Maybe [DataSourceToIndexFieldMappingProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [DataSourceToIndexFieldMappingProperty]
PropertyType "FieldMappings" OneDriveConfigurationProperty
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
OneDriveUsersProperty
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
tenantDomain :: Value Text
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
tenantDomain :: Value Text
..}
instance Property "InclusionPatterns" OneDriveConfigurationProperty where
  type PropertyType "InclusionPatterns" OneDriveConfigurationProperty = ValueList Prelude.Text
  set :: PropertyType "InclusionPatterns" OneDriveConfigurationProperty
-> OneDriveConfigurationProperty -> OneDriveConfigurationProperty
set PropertyType "InclusionPatterns" OneDriveConfigurationProperty
newValue OneDriveConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
OneDriveUsersProperty
haddock_workaround_ :: OneDriveConfigurationProperty -> ()
disableLocalGroups :: OneDriveConfigurationProperty -> Maybe (Value Bool)
exclusionPatterns :: OneDriveConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: OneDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: OneDriveConfigurationProperty -> Maybe (ValueList Text)
oneDriveUsers :: OneDriveConfigurationProperty -> OneDriveUsersProperty
secretArn :: OneDriveConfigurationProperty -> Value Text
tenantDomain :: OneDriveConfigurationProperty -> Value Text
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
tenantDomain :: Value Text
..}
    = OneDriveConfigurationProperty
        {inclusionPatterns :: Maybe (ValueList Text)
inclusionPatterns = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "InclusionPatterns" OneDriveConfigurationProperty
ValueList Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
OneDriveUsersProperty
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
tenantDomain :: Value Text
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
tenantDomain :: Value Text
..}
instance Property "OneDriveUsers" OneDriveConfigurationProperty where
  type PropertyType "OneDriveUsers" OneDriveConfigurationProperty = OneDriveUsersProperty
  set :: PropertyType "OneDriveUsers" OneDriveConfigurationProperty
-> OneDriveConfigurationProperty -> OneDriveConfigurationProperty
set PropertyType "OneDriveUsers" OneDriveConfigurationProperty
newValue OneDriveConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
OneDriveUsersProperty
haddock_workaround_ :: OneDriveConfigurationProperty -> ()
disableLocalGroups :: OneDriveConfigurationProperty -> Maybe (Value Bool)
exclusionPatterns :: OneDriveConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: OneDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: OneDriveConfigurationProperty -> Maybe (ValueList Text)
oneDriveUsers :: OneDriveConfigurationProperty -> OneDriveUsersProperty
secretArn :: OneDriveConfigurationProperty -> Value Text
tenantDomain :: OneDriveConfigurationProperty -> Value Text
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
tenantDomain :: Value Text
..}
    = OneDriveConfigurationProperty {oneDriveUsers :: OneDriveUsersProperty
oneDriveUsers = PropertyType "OneDriveUsers" OneDriveConfigurationProperty
OneDriveUsersProperty
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
tenantDomain :: Value Text
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
tenantDomain :: Value Text
..}
instance Property "SecretArn" OneDriveConfigurationProperty where
  type PropertyType "SecretArn" OneDriveConfigurationProperty = Value Prelude.Text
  set :: PropertyType "SecretArn" OneDriveConfigurationProperty
-> OneDriveConfigurationProperty -> OneDriveConfigurationProperty
set PropertyType "SecretArn" OneDriveConfigurationProperty
newValue OneDriveConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
OneDriveUsersProperty
haddock_workaround_ :: OneDriveConfigurationProperty -> ()
disableLocalGroups :: OneDriveConfigurationProperty -> Maybe (Value Bool)
exclusionPatterns :: OneDriveConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: OneDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: OneDriveConfigurationProperty -> Maybe (ValueList Text)
oneDriveUsers :: OneDriveConfigurationProperty -> OneDriveUsersProperty
secretArn :: OneDriveConfigurationProperty -> Value Text
tenantDomain :: OneDriveConfigurationProperty -> Value Text
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
tenantDomain :: Value Text
..}
    = OneDriveConfigurationProperty {secretArn :: Value Text
secretArn = PropertyType "SecretArn" OneDriveConfigurationProperty
Value Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
OneDriveUsersProperty
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
tenantDomain :: Value Text
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
tenantDomain :: Value Text
..}
instance Property "TenantDomain" OneDriveConfigurationProperty where
  type PropertyType "TenantDomain" OneDriveConfigurationProperty = Value Prelude.Text
  set :: PropertyType "TenantDomain" OneDriveConfigurationProperty
-> OneDriveConfigurationProperty -> OneDriveConfigurationProperty
set PropertyType "TenantDomain" OneDriveConfigurationProperty
newValue OneDriveConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
OneDriveUsersProperty
haddock_workaround_ :: OneDriveConfigurationProperty -> ()
disableLocalGroups :: OneDriveConfigurationProperty -> Maybe (Value Bool)
exclusionPatterns :: OneDriveConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: OneDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: OneDriveConfigurationProperty -> Maybe (ValueList Text)
oneDriveUsers :: OneDriveConfigurationProperty -> OneDriveUsersProperty
secretArn :: OneDriveConfigurationProperty -> Value Text
tenantDomain :: OneDriveConfigurationProperty -> Value Text
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
tenantDomain :: Value Text
..}
    = OneDriveConfigurationProperty {tenantDomain :: Value Text
tenantDomain = PropertyType "TenantDomain" OneDriveConfigurationProperty
Value Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
OneDriveUsersProperty
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
haddock_workaround_ :: ()
disableLocalGroups :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
oneDriveUsers :: OneDriveUsersProperty
secretArn :: Value Text
..}