module Stratosphere.Connect.RoutingProfile (
        module Exports, RoutingProfile(..), mkRoutingProfile
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Connect.RoutingProfile.MediaConcurrencyProperty as Exports
import {-# SOURCE #-} Stratosphere.Connect.RoutingProfile.RoutingProfileManualAssignmentQueueConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.Connect.RoutingProfile.RoutingProfileQueueConfigProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data RoutingProfile
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-routingprofile.html>
    RoutingProfile {RoutingProfile -> ()
haddock_workaround_ :: (),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-routingprofile.html#cfn-connect-routingprofile-agentavailabilitytimer>
                    RoutingProfile -> Maybe (Value Text)
agentAvailabilityTimer :: (Prelude.Maybe (Value Prelude.Text)),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-routingprofile.html#cfn-connect-routingprofile-defaultoutboundqueuearn>
                    RoutingProfile -> Value Text
defaultOutboundQueueArn :: (Value Prelude.Text),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-routingprofile.html#cfn-connect-routingprofile-description>
                    RoutingProfile -> Value Text
description :: (Value Prelude.Text),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-routingprofile.html#cfn-connect-routingprofile-instancearn>
                    RoutingProfile -> Value Text
instanceArn :: (Value Prelude.Text),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-routingprofile.html#cfn-connect-routingprofile-manualassignmentqueueconfigs>
                    RoutingProfile
-> Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
manualAssignmentQueueConfigs :: (Prelude.Maybe [RoutingProfileManualAssignmentQueueConfigProperty]),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-routingprofile.html#cfn-connect-routingprofile-mediaconcurrencies>
                    RoutingProfile -> [MediaConcurrencyProperty]
mediaConcurrencies :: [MediaConcurrencyProperty],
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-routingprofile.html#cfn-connect-routingprofile-name>
                    RoutingProfile -> Value Text
name :: (Value Prelude.Text),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-routingprofile.html#cfn-connect-routingprofile-queueconfigs>
                    RoutingProfile -> Maybe [RoutingProfileQueueConfigProperty]
queueConfigs :: (Prelude.Maybe [RoutingProfileQueueConfigProperty]),
                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-routingprofile.html#cfn-connect-routingprofile-tags>
                    RoutingProfile -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
  deriving stock (RoutingProfile -> RoutingProfile -> Bool
(RoutingProfile -> RoutingProfile -> Bool)
-> (RoutingProfile -> RoutingProfile -> Bool) -> Eq RoutingProfile
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: RoutingProfile -> RoutingProfile -> Bool
== :: RoutingProfile -> RoutingProfile -> Bool
$c/= :: RoutingProfile -> RoutingProfile -> Bool
/= :: RoutingProfile -> RoutingProfile -> Bool
Prelude.Eq, Int -> RoutingProfile -> ShowS
[RoutingProfile] -> ShowS
RoutingProfile -> String
(Int -> RoutingProfile -> ShowS)
-> (RoutingProfile -> String)
-> ([RoutingProfile] -> ShowS)
-> Show RoutingProfile
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> RoutingProfile -> ShowS
showsPrec :: Int -> RoutingProfile -> ShowS
$cshow :: RoutingProfile -> String
show :: RoutingProfile -> String
$cshowList :: [RoutingProfile] -> ShowS
showList :: [RoutingProfile] -> ShowS
Prelude.Show)
mkRoutingProfile ::
  Value Prelude.Text
  -> Value Prelude.Text
     -> Value Prelude.Text
        -> [MediaConcurrencyProperty]
           -> Value Prelude.Text -> RoutingProfile
mkRoutingProfile :: Value Text
-> Value Text
-> Value Text
-> [MediaConcurrencyProperty]
-> Value Text
-> RoutingProfile
mkRoutingProfile
  Value Text
defaultOutboundQueueArn
  Value Text
description
  Value Text
instanceArn
  [MediaConcurrencyProperty]
mediaConcurrencies
  Value Text
name
  = RoutingProfile
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       defaultOutboundQueueArn :: Value Text
defaultOutboundQueueArn = Value Text
defaultOutboundQueueArn,
       description :: Value Text
description = Value Text
description, instanceArn :: Value Text
instanceArn = Value Text
instanceArn,
       mediaConcurrencies :: [MediaConcurrencyProperty]
mediaConcurrencies = [MediaConcurrencyProperty]
mediaConcurrencies, name :: Value Text
name = Value Text
name,
       agentAvailabilityTimer :: Maybe (Value Text)
agentAvailabilityTimer = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
manualAssignmentQueueConfigs = Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
forall a. Maybe a
Prelude.Nothing,
       queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
queueConfigs = Maybe [RoutingProfileQueueConfigProperty]
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties RoutingProfile where
  toResourceProperties :: RoutingProfile -> ResourceProperties
toResourceProperties RoutingProfile {[MediaConcurrencyProperty]
Maybe [Tag]
Maybe [RoutingProfileQueueConfigProperty]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RoutingProfile -> ()
agentAvailabilityTimer :: RoutingProfile -> Maybe (Value Text)
defaultOutboundQueueArn :: RoutingProfile -> Value Text
description :: RoutingProfile -> Value Text
instanceArn :: RoutingProfile -> Value Text
manualAssignmentQueueConfigs :: RoutingProfile
-> Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: RoutingProfile -> [MediaConcurrencyProperty]
name :: RoutingProfile -> Value Text
queueConfigs :: RoutingProfile -> Maybe [RoutingProfileQueueConfigProperty]
tags :: RoutingProfile -> Maybe [Tag]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Connect::RoutingProfile",
         supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         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
"DefaultOutboundQueueArn" 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
defaultOutboundQueueArn,
                            Key
"Description" 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
description,
                            Key
"InstanceArn" 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
instanceArn,
                            Key
"MediaConcurrencies" Key -> [MediaConcurrencyProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [MediaConcurrencyProperty]
mediaConcurrencies,
                            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]
                           ([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
"AgentAvailabilityTimer"
                                 (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)
agentAvailabilityTimer,
                               Key
-> [RoutingProfileManualAssignmentQueueConfigProperty]
-> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ManualAssignmentQueueConfigs"
                                 ([RoutingProfileManualAssignmentQueueConfigProperty]
 -> (Key, Value))
-> Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
manualAssignmentQueueConfigs,
                               Key -> [RoutingProfileQueueConfigProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"QueueConfigs" ([RoutingProfileQueueConfigProperty] -> (Key, Value))
-> Maybe [RoutingProfileQueueConfigProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [RoutingProfileQueueConfigProperty]
queueConfigs,
                               Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags]))}
instance JSON.ToJSON RoutingProfile where
  toJSON :: RoutingProfile -> Value
toJSON RoutingProfile {[MediaConcurrencyProperty]
Maybe [Tag]
Maybe [RoutingProfileQueueConfigProperty]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RoutingProfile -> ()
agentAvailabilityTimer :: RoutingProfile -> Maybe (Value Text)
defaultOutboundQueueArn :: RoutingProfile -> Value Text
description :: RoutingProfile -> Value Text
instanceArn :: RoutingProfile -> Value Text
manualAssignmentQueueConfigs :: RoutingProfile
-> Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: RoutingProfile -> [MediaConcurrencyProperty]
name :: RoutingProfile -> Value Text
queueConfigs :: RoutingProfile -> Maybe [RoutingProfileQueueConfigProperty]
tags :: RoutingProfile -> Maybe [Tag]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
..}
    = [(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
"DefaultOutboundQueueArn" 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
defaultOutboundQueueArn,
               Key
"Description" 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
description,
               Key
"InstanceArn" 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
instanceArn,
               Key
"MediaConcurrencies" Key -> [MediaConcurrencyProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [MediaConcurrencyProperty]
mediaConcurrencies,
               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]
              ([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
"AgentAvailabilityTimer"
                    (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)
agentAvailabilityTimer,
                  Key
-> [RoutingProfileManualAssignmentQueueConfigProperty]
-> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ManualAssignmentQueueConfigs"
                    ([RoutingProfileManualAssignmentQueueConfigProperty]
 -> (Key, Value))
-> Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
manualAssignmentQueueConfigs,
                  Key -> [RoutingProfileQueueConfigProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"QueueConfigs" ([RoutingProfileQueueConfigProperty] -> (Key, Value))
-> Maybe [RoutingProfileQueueConfigProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [RoutingProfileQueueConfigProperty]
queueConfigs,
                  Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags])))
instance Property "AgentAvailabilityTimer" RoutingProfile where
  type PropertyType "AgentAvailabilityTimer" RoutingProfile = Value Prelude.Text
  set :: PropertyType "AgentAvailabilityTimer" RoutingProfile
-> RoutingProfile -> RoutingProfile
set PropertyType "AgentAvailabilityTimer" RoutingProfile
newValue RoutingProfile {[MediaConcurrencyProperty]
Maybe [Tag]
Maybe [RoutingProfileQueueConfigProperty]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RoutingProfile -> ()
agentAvailabilityTimer :: RoutingProfile -> Maybe (Value Text)
defaultOutboundQueueArn :: RoutingProfile -> Value Text
description :: RoutingProfile -> Value Text
instanceArn :: RoutingProfile -> Value Text
manualAssignmentQueueConfigs :: RoutingProfile
-> Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: RoutingProfile -> [MediaConcurrencyProperty]
name :: RoutingProfile -> Value Text
queueConfigs :: RoutingProfile -> Maybe [RoutingProfileQueueConfigProperty]
tags :: RoutingProfile -> Maybe [Tag]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
..}
    = RoutingProfile
        {agentAvailabilityTimer :: Maybe (Value Text)
agentAvailabilityTimer = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AgentAvailabilityTimer" RoutingProfile
Value Text
newValue, [MediaConcurrencyProperty]
Maybe [Tag]
Maybe [RoutingProfileQueueConfigProperty]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
()
Value Text
haddock_workaround_ :: ()
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
..}
instance Property "DefaultOutboundQueueArn" RoutingProfile where
  type PropertyType "DefaultOutboundQueueArn" RoutingProfile = Value Prelude.Text
  set :: PropertyType "DefaultOutboundQueueArn" RoutingProfile
-> RoutingProfile -> RoutingProfile
set PropertyType "DefaultOutboundQueueArn" RoutingProfile
newValue RoutingProfile {[MediaConcurrencyProperty]
Maybe [Tag]
Maybe [RoutingProfileQueueConfigProperty]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RoutingProfile -> ()
agentAvailabilityTimer :: RoutingProfile -> Maybe (Value Text)
defaultOutboundQueueArn :: RoutingProfile -> Value Text
description :: RoutingProfile -> Value Text
instanceArn :: RoutingProfile -> Value Text
manualAssignmentQueueConfigs :: RoutingProfile
-> Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: RoutingProfile -> [MediaConcurrencyProperty]
name :: RoutingProfile -> Value Text
queueConfigs :: RoutingProfile -> Maybe [RoutingProfileQueueConfigProperty]
tags :: RoutingProfile -> Maybe [Tag]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
..}
    = RoutingProfile {defaultOutboundQueueArn :: Value Text
defaultOutboundQueueArn = PropertyType "DefaultOutboundQueueArn" RoutingProfile
Value Text
newValue, [MediaConcurrencyProperty]
Maybe [Tag]
Maybe [RoutingProfileQueueConfigProperty]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
..}
instance Property "Description" RoutingProfile where
  type PropertyType "Description" RoutingProfile = Value Prelude.Text
  set :: PropertyType "Description" RoutingProfile
-> RoutingProfile -> RoutingProfile
set PropertyType "Description" RoutingProfile
newValue RoutingProfile {[MediaConcurrencyProperty]
Maybe [Tag]
Maybe [RoutingProfileQueueConfigProperty]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RoutingProfile -> ()
agentAvailabilityTimer :: RoutingProfile -> Maybe (Value Text)
defaultOutboundQueueArn :: RoutingProfile -> Value Text
description :: RoutingProfile -> Value Text
instanceArn :: RoutingProfile -> Value Text
manualAssignmentQueueConfigs :: RoutingProfile
-> Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: RoutingProfile -> [MediaConcurrencyProperty]
name :: RoutingProfile -> Value Text
queueConfigs :: RoutingProfile -> Maybe [RoutingProfileQueueConfigProperty]
tags :: RoutingProfile -> Maybe [Tag]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
..}
    = RoutingProfile {description :: Value Text
description = PropertyType "Description" RoutingProfile
Value Text
newValue, [MediaConcurrencyProperty]
Maybe [Tag]
Maybe [RoutingProfileQueueConfigProperty]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
..}
instance Property "InstanceArn" RoutingProfile where
  type PropertyType "InstanceArn" RoutingProfile = Value Prelude.Text
  set :: PropertyType "InstanceArn" RoutingProfile
-> RoutingProfile -> RoutingProfile
set PropertyType "InstanceArn" RoutingProfile
newValue RoutingProfile {[MediaConcurrencyProperty]
Maybe [Tag]
Maybe [RoutingProfileQueueConfigProperty]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RoutingProfile -> ()
agentAvailabilityTimer :: RoutingProfile -> Maybe (Value Text)
defaultOutboundQueueArn :: RoutingProfile -> Value Text
description :: RoutingProfile -> Value Text
instanceArn :: RoutingProfile -> Value Text
manualAssignmentQueueConfigs :: RoutingProfile
-> Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: RoutingProfile -> [MediaConcurrencyProperty]
name :: RoutingProfile -> Value Text
queueConfigs :: RoutingProfile -> Maybe [RoutingProfileQueueConfigProperty]
tags :: RoutingProfile -> Maybe [Tag]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
..}
    = RoutingProfile {instanceArn :: Value Text
instanceArn = PropertyType "InstanceArn" RoutingProfile
Value Text
newValue, [MediaConcurrencyProperty]
Maybe [Tag]
Maybe [RoutingProfileQueueConfigProperty]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
..}
instance Property "ManualAssignmentQueueConfigs" RoutingProfile where
  type PropertyType "ManualAssignmentQueueConfigs" RoutingProfile = [RoutingProfileManualAssignmentQueueConfigProperty]
  set :: PropertyType "ManualAssignmentQueueConfigs" RoutingProfile
-> RoutingProfile -> RoutingProfile
set PropertyType "ManualAssignmentQueueConfigs" RoutingProfile
newValue RoutingProfile {[MediaConcurrencyProperty]
Maybe [Tag]
Maybe [RoutingProfileQueueConfigProperty]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RoutingProfile -> ()
agentAvailabilityTimer :: RoutingProfile -> Maybe (Value Text)
defaultOutboundQueueArn :: RoutingProfile -> Value Text
description :: RoutingProfile -> Value Text
instanceArn :: RoutingProfile -> Value Text
manualAssignmentQueueConfigs :: RoutingProfile
-> Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: RoutingProfile -> [MediaConcurrencyProperty]
name :: RoutingProfile -> Value Text
queueConfigs :: RoutingProfile -> Maybe [RoutingProfileQueueConfigProperty]
tags :: RoutingProfile -> Maybe [Tag]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
..}
    = RoutingProfile
        {manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
manualAssignmentQueueConfigs = [RoutingProfileManualAssignmentQueueConfigProperty]
-> Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [RoutingProfileManualAssignmentQueueConfigProperty]
PropertyType "ManualAssignmentQueueConfigs" RoutingProfile
newValue, [MediaConcurrencyProperty]
Maybe [Tag]
Maybe [RoutingProfileQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
..}
instance Property "MediaConcurrencies" RoutingProfile where
  type PropertyType "MediaConcurrencies" RoutingProfile = [MediaConcurrencyProperty]
  set :: PropertyType "MediaConcurrencies" RoutingProfile
-> RoutingProfile -> RoutingProfile
set PropertyType "MediaConcurrencies" RoutingProfile
newValue RoutingProfile {[MediaConcurrencyProperty]
Maybe [Tag]
Maybe [RoutingProfileQueueConfigProperty]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RoutingProfile -> ()
agentAvailabilityTimer :: RoutingProfile -> Maybe (Value Text)
defaultOutboundQueueArn :: RoutingProfile -> Value Text
description :: RoutingProfile -> Value Text
instanceArn :: RoutingProfile -> Value Text
manualAssignmentQueueConfigs :: RoutingProfile
-> Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: RoutingProfile -> [MediaConcurrencyProperty]
name :: RoutingProfile -> Value Text
queueConfigs :: RoutingProfile -> Maybe [RoutingProfileQueueConfigProperty]
tags :: RoutingProfile -> Maybe [Tag]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
..}
    = RoutingProfile {mediaConcurrencies :: [MediaConcurrencyProperty]
mediaConcurrencies = [MediaConcurrencyProperty]
PropertyType "MediaConcurrencies" RoutingProfile
newValue, Maybe [Tag]
Maybe [RoutingProfileQueueConfigProperty]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
..}
instance Property "Name" RoutingProfile where
  type PropertyType "Name" RoutingProfile = Value Prelude.Text
  set :: PropertyType "Name" RoutingProfile
-> RoutingProfile -> RoutingProfile
set PropertyType "Name" RoutingProfile
newValue RoutingProfile {[MediaConcurrencyProperty]
Maybe [Tag]
Maybe [RoutingProfileQueueConfigProperty]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RoutingProfile -> ()
agentAvailabilityTimer :: RoutingProfile -> Maybe (Value Text)
defaultOutboundQueueArn :: RoutingProfile -> Value Text
description :: RoutingProfile -> Value Text
instanceArn :: RoutingProfile -> Value Text
manualAssignmentQueueConfigs :: RoutingProfile
-> Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: RoutingProfile -> [MediaConcurrencyProperty]
name :: RoutingProfile -> Value Text
queueConfigs :: RoutingProfile -> Maybe [RoutingProfileQueueConfigProperty]
tags :: RoutingProfile -> Maybe [Tag]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
..}
    = RoutingProfile {name :: Value Text
name = PropertyType "Name" RoutingProfile
Value Text
newValue, [MediaConcurrencyProperty]
Maybe [Tag]
Maybe [RoutingProfileQueueConfigProperty]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
..}
instance Property "QueueConfigs" RoutingProfile where
  type PropertyType "QueueConfigs" RoutingProfile = [RoutingProfileQueueConfigProperty]
  set :: PropertyType "QueueConfigs" RoutingProfile
-> RoutingProfile -> RoutingProfile
set PropertyType "QueueConfigs" RoutingProfile
newValue RoutingProfile {[MediaConcurrencyProperty]
Maybe [Tag]
Maybe [RoutingProfileQueueConfigProperty]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RoutingProfile -> ()
agentAvailabilityTimer :: RoutingProfile -> Maybe (Value Text)
defaultOutboundQueueArn :: RoutingProfile -> Value Text
description :: RoutingProfile -> Value Text
instanceArn :: RoutingProfile -> Value Text
manualAssignmentQueueConfigs :: RoutingProfile
-> Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: RoutingProfile -> [MediaConcurrencyProperty]
name :: RoutingProfile -> Value Text
queueConfigs :: RoutingProfile -> Maybe [RoutingProfileQueueConfigProperty]
tags :: RoutingProfile -> Maybe [Tag]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
..}
    = RoutingProfile {queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
queueConfigs = [RoutingProfileQueueConfigProperty]
-> Maybe [RoutingProfileQueueConfigProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [RoutingProfileQueueConfigProperty]
PropertyType "QueueConfigs" RoutingProfile
newValue, [MediaConcurrencyProperty]
Maybe [Tag]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
tags :: Maybe [Tag]
..}
instance Property "Tags" RoutingProfile where
  type PropertyType "Tags" RoutingProfile = [Tag]
  set :: PropertyType "Tags" RoutingProfile
-> RoutingProfile -> RoutingProfile
set PropertyType "Tags" RoutingProfile
newValue RoutingProfile {[MediaConcurrencyProperty]
Maybe [Tag]
Maybe [RoutingProfileQueueConfigProperty]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: RoutingProfile -> ()
agentAvailabilityTimer :: RoutingProfile -> Maybe (Value Text)
defaultOutboundQueueArn :: RoutingProfile -> Value Text
description :: RoutingProfile -> Value Text
instanceArn :: RoutingProfile -> Value Text
manualAssignmentQueueConfigs :: RoutingProfile
-> Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: RoutingProfile -> [MediaConcurrencyProperty]
name :: RoutingProfile -> Value Text
queueConfigs :: RoutingProfile -> Maybe [RoutingProfileQueueConfigProperty]
tags :: RoutingProfile -> Maybe [Tag]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
tags :: Maybe [Tag]
..}
    = RoutingProfile {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" RoutingProfile
newValue, [MediaConcurrencyProperty]
Maybe [RoutingProfileQueueConfigProperty]
Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
haddock_workaround_ :: ()
agentAvailabilityTimer :: Maybe (Value Text)
defaultOutboundQueueArn :: Value Text
description :: Value Text
instanceArn :: Value Text
manualAssignmentQueueConfigs :: Maybe [RoutingProfileManualAssignmentQueueConfigProperty]
mediaConcurrencies :: [MediaConcurrencyProperty]
name :: Value Text
queueConfigs :: Maybe [RoutingProfileQueueConfigProperty]
..}