amazonka-connect-2.0: Amazon Connect Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Connect.Types.ParticipantTimerConfiguration

Description

 
Synopsis

Documentation

data ParticipantTimerConfiguration Source #

Configuration information for the timer. After the timer configuration is set, it persists for the duration of the chat. It persists across new contacts in the chain, for example, transfer contacts.

For more information about how chat timeouts work, see Set up chat timeouts for human participants.

See: newParticipantTimerConfiguration smart constructor.

Constructors

ParticipantTimerConfiguration' 

Fields

  • participantRole :: TimerEligibleParticipantRoles

    The role of the participant in the chat conversation.

  • timerType :: ParticipantTimerType

    The type of timer. IDLE indicates the timer applies for considering a human chat participant as idle. DISCONNECT_NONCUSTOMER indicates the timer applies to automatically disconnecting a chat participant due to idleness.

  • timerValue :: ParticipantTimerValue

    The value of the timer. Either the timer action (Unset to delete the timer), or the duration of the timer in minutes. Only one value can be set.

Instances

Instances details
ToJSON ParticipantTimerConfiguration Source # 
Instance details

Defined in Amazonka.Connect.Types.ParticipantTimerConfiguration

Generic ParticipantTimerConfiguration Source # 
Instance details

Defined in Amazonka.Connect.Types.ParticipantTimerConfiguration

Associated Types

type Rep ParticipantTimerConfiguration :: Type -> Type #

Read ParticipantTimerConfiguration Source # 
Instance details

Defined in Amazonka.Connect.Types.ParticipantTimerConfiguration

Show ParticipantTimerConfiguration Source # 
Instance details

Defined in Amazonka.Connect.Types.ParticipantTimerConfiguration

NFData ParticipantTimerConfiguration Source # 
Instance details

Defined in Amazonka.Connect.Types.ParticipantTimerConfiguration

Eq ParticipantTimerConfiguration Source # 
Instance details

Defined in Amazonka.Connect.Types.ParticipantTimerConfiguration

Hashable ParticipantTimerConfiguration Source # 
Instance details

Defined in Amazonka.Connect.Types.ParticipantTimerConfiguration

type Rep ParticipantTimerConfiguration Source # 
Instance details

Defined in Amazonka.Connect.Types.ParticipantTimerConfiguration

type Rep ParticipantTimerConfiguration = D1 ('MetaData "ParticipantTimerConfiguration" "Amazonka.Connect.Types.ParticipantTimerConfiguration" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "ParticipantTimerConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "participantRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TimerEligibleParticipantRoles) :*: (S1 ('MetaSel ('Just "timerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ParticipantTimerType) :*: S1 ('MetaSel ('Just "timerValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ParticipantTimerValue))))

newParticipantTimerConfiguration Source #

Create a value of ParticipantTimerConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:participantRole:ParticipantTimerConfiguration', participantTimerConfiguration_participantRole - The role of the participant in the chat conversation.

$sel:timerType:ParticipantTimerConfiguration', participantTimerConfiguration_timerType - The type of timer. IDLE indicates the timer applies for considering a human chat participant as idle. DISCONNECT_NONCUSTOMER indicates the timer applies to automatically disconnecting a chat participant due to idleness.

$sel:timerValue:ParticipantTimerConfiguration', participantTimerConfiguration_timerValue - The value of the timer. Either the timer action (Unset to delete the timer), or the duration of the timer in minutes. Only one value can be set.

participantTimerConfiguration_timerType :: Lens' ParticipantTimerConfiguration ParticipantTimerType Source #

The type of timer. IDLE indicates the timer applies for considering a human chat participant as idle. DISCONNECT_NONCUSTOMER indicates the timer applies to automatically disconnecting a chat participant due to idleness.

participantTimerConfiguration_timerValue :: Lens' ParticipantTimerConfiguration ParticipantTimerValue Source #

The value of the timer. Either the timer action (Unset to delete the timer), or the duration of the timer in minutes. Only one value can be set.