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

Description

 
Synopsis

Documentation

data AgentContactReference Source #

Information about the contact associated to the user.

See: newAgentContactReference smart constructor.

Constructors

AgentContactReference' 

Fields

Instances

Instances details
FromJSON AgentContactReference Source # 
Instance details

Defined in Amazonka.Connect.Types.AgentContactReference

Generic AgentContactReference Source # 
Instance details

Defined in Amazonka.Connect.Types.AgentContactReference

Associated Types

type Rep AgentContactReference :: Type -> Type #

Read AgentContactReference Source # 
Instance details

Defined in Amazonka.Connect.Types.AgentContactReference

Show AgentContactReference Source # 
Instance details

Defined in Amazonka.Connect.Types.AgentContactReference

NFData AgentContactReference Source # 
Instance details

Defined in Amazonka.Connect.Types.AgentContactReference

Methods

rnf :: AgentContactReference -> () #

Eq AgentContactReference Source # 
Instance details

Defined in Amazonka.Connect.Types.AgentContactReference

Hashable AgentContactReference Source # 
Instance details

Defined in Amazonka.Connect.Types.AgentContactReference

type Rep AgentContactReference Source # 
Instance details

Defined in Amazonka.Connect.Types.AgentContactReference

type Rep AgentContactReference = D1 ('MetaData "AgentContactReference" "Amazonka.Connect.Types.AgentContactReference" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "AgentContactReference'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "agentContactState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContactState)) :*: (S1 ('MetaSel ('Just "channel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Channel)) :*: S1 ('MetaSel ('Just "connectedToAgentTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "contactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "initiationMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContactInitiationMethod))) :*: (S1 ('MetaSel ('Just "queue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueueReference)) :*: S1 ('MetaSel ('Just "stateStartTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newAgentContactReference :: AgentContactReference Source #

Create a value of AgentContactReference 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:agentContactState:AgentContactReference', agentContactReference_agentContactState - The state of the contact.

$sel:channel:AgentContactReference', agentContactReference_channel - The channel of the contact.

$sel:connectedToAgentTimestamp:AgentContactReference', agentContactReference_connectedToAgentTimestamp - The time at which the contact was connected to an agent.

$sel:contactId:AgentContactReference', agentContactReference_contactId - The identifier of the contact in this instance of Amazon Connect.

$sel:initiationMethod:AgentContactReference', agentContactReference_initiationMethod - How the contact was initiated.

$sel:queue:AgentContactReference', agentContactReference_queue - Undocumented member.

$sel:stateStartTimestamp:AgentContactReference', agentContactReference_stateStartTimestamp - The epoch timestamp when the contact state started.

agentContactReference_connectedToAgentTimestamp :: Lens' AgentContactReference (Maybe UTCTime) Source #

The time at which the contact was connected to an agent.

agentContactReference_contactId :: Lens' AgentContactReference (Maybe Text) Source #

The identifier of the contact in this instance of Amazon Connect.

agentContactReference_stateStartTimestamp :: Lens' AgentContactReference (Maybe UTCTime) Source #

The epoch timestamp when the contact state started.