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.ParticipantTimerValue

Description

 
Synopsis

Documentation

data 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.

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

See: newParticipantTimerValue smart constructor.

Constructors

ParticipantTimerValue' 

Fields

Instances

Instances details
ToJSON ParticipantTimerValue Source # 
Instance details

Defined in Amazonka.Connect.Types.ParticipantTimerValue

Generic ParticipantTimerValue Source # 
Instance details

Defined in Amazonka.Connect.Types.ParticipantTimerValue

Associated Types

type Rep ParticipantTimerValue :: Type -> Type #

Read ParticipantTimerValue Source # 
Instance details

Defined in Amazonka.Connect.Types.ParticipantTimerValue

Show ParticipantTimerValue Source # 
Instance details

Defined in Amazonka.Connect.Types.ParticipantTimerValue

NFData ParticipantTimerValue Source # 
Instance details

Defined in Amazonka.Connect.Types.ParticipantTimerValue

Methods

rnf :: ParticipantTimerValue -> () #

Eq ParticipantTimerValue Source # 
Instance details

Defined in Amazonka.Connect.Types.ParticipantTimerValue

Hashable ParticipantTimerValue Source # 
Instance details

Defined in Amazonka.Connect.Types.ParticipantTimerValue

type Rep ParticipantTimerValue Source # 
Instance details

Defined in Amazonka.Connect.Types.ParticipantTimerValue

type Rep ParticipantTimerValue = D1 ('MetaData "ParticipantTimerValue" "Amazonka.Connect.Types.ParticipantTimerValue" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "ParticipantTimerValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "participantTimerAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParticipantTimerAction)) :*: S1 ('MetaSel ('Just "participantTimerDurationInMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newParticipantTimerValue :: ParticipantTimerValue Source #

Create a value of ParticipantTimerValue 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:participantTimerAction:ParticipantTimerValue', participantTimerValue_participantTimerAction - The timer action. Currently only one value is allowed: Unset. It deletes a timer.

$sel:participantTimerDurationInMinutes:ParticipantTimerValue', participantTimerValue_participantTimerDurationInMinutes - The duration of a timer, in minutes.

participantTimerValue_participantTimerAction :: Lens' ParticipantTimerValue (Maybe ParticipantTimerAction) Source #

The timer action. Currently only one value is allowed: Unset. It deletes a timer.