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

Description

 
Synopsis

Documentation

data AgentInfo Source #

Information about the agent who accepted the contact.

See: newAgentInfo smart constructor.

Constructors

AgentInfo' 

Fields

Instances

Instances details
FromJSON AgentInfo Source # 
Instance details

Defined in Amazonka.Connect.Types.AgentInfo

Generic AgentInfo Source # 
Instance details

Defined in Amazonka.Connect.Types.AgentInfo

Associated Types

type Rep AgentInfo :: Type -> Type #

Read AgentInfo Source # 
Instance details

Defined in Amazonka.Connect.Types.AgentInfo

Show AgentInfo Source # 
Instance details

Defined in Amazonka.Connect.Types.AgentInfo

NFData AgentInfo Source # 
Instance details

Defined in Amazonka.Connect.Types.AgentInfo

Methods

rnf :: AgentInfo -> () #

Eq AgentInfo Source # 
Instance details

Defined in Amazonka.Connect.Types.AgentInfo

Hashable AgentInfo Source # 
Instance details

Defined in Amazonka.Connect.Types.AgentInfo

type Rep AgentInfo Source # 
Instance details

Defined in Amazonka.Connect.Types.AgentInfo

type Rep AgentInfo = D1 ('MetaData "AgentInfo" "Amazonka.Connect.Types.AgentInfo" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "AgentInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connectedToAgentTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAgentInfo :: AgentInfo Source #

Create a value of AgentInfo 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:connectedToAgentTimestamp:AgentInfo', agentInfo_connectedToAgentTimestamp - The timestamp when the contact was connected to the agent.

$sel:id:AgentInfo', agentInfo_id - The identifier of the agent who accepted the contact.

agentInfo_connectedToAgentTimestamp :: Lens' AgentInfo (Maybe UTCTime) Source #

The timestamp when the contact was connected to the agent.

agentInfo_id :: Lens' AgentInfo (Maybe Text) Source #

The identifier of the agent who accepted the contact.