Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Updates timeouts for when human chat participants are to be considered idle, and when agents are automatically disconnected from a chat due to idleness. You can set four timers:
- Customer idle timeout
- Customer auto-disconnect timeout
- Agent idle timeout
- Agent auto-disconnect timeout
For more information about how chat timeouts work, see Set up chat timeouts for human participants.
Synopsis
- data UpdateParticipantRoleConfig = UpdateParticipantRoleConfig' {}
- newUpdateParticipantRoleConfig :: Text -> Text -> UpdateParticipantRoleConfigChannelInfo -> UpdateParticipantRoleConfig
- updateParticipantRoleConfig_instanceId :: Lens' UpdateParticipantRoleConfig Text
- updateParticipantRoleConfig_contactId :: Lens' UpdateParticipantRoleConfig Text
- updateParticipantRoleConfig_channelConfiguration :: Lens' UpdateParticipantRoleConfig UpdateParticipantRoleConfigChannelInfo
- data UpdateParticipantRoleConfigResponse = UpdateParticipantRoleConfigResponse' {
- httpStatus :: Int
- newUpdateParticipantRoleConfigResponse :: Int -> UpdateParticipantRoleConfigResponse
- updateParticipantRoleConfigResponse_httpStatus :: Lens' UpdateParticipantRoleConfigResponse Int
Creating a Request
data UpdateParticipantRoleConfig Source #
See: newUpdateParticipantRoleConfig
smart constructor.
UpdateParticipantRoleConfig' | |
|
Instances
newUpdateParticipantRoleConfig Source #
Create a value of UpdateParticipantRoleConfig
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:
UpdateParticipantRoleConfig
, updateParticipantRoleConfig_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
UpdateParticipantRoleConfig
, updateParticipantRoleConfig_contactId
- The identifier of the contact in this instance of Amazon Connect.
$sel:channelConfiguration:UpdateParticipantRoleConfig'
, updateParticipantRoleConfig_channelConfiguration
- The Amazon Connect channel you want to configure.
Request Lenses
updateParticipantRoleConfig_instanceId :: Lens' UpdateParticipantRoleConfig Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
updateParticipantRoleConfig_contactId :: Lens' UpdateParticipantRoleConfig Text Source #
The identifier of the contact in this instance of Amazon Connect.
updateParticipantRoleConfig_channelConfiguration :: Lens' UpdateParticipantRoleConfig UpdateParticipantRoleConfigChannelInfo Source #
The Amazon Connect channel you want to configure.
Destructuring the Response
data UpdateParticipantRoleConfigResponse Source #
See: newUpdateParticipantRoleConfigResponse
smart constructor.
UpdateParticipantRoleConfigResponse' | |
|
Instances
Generic UpdateParticipantRoleConfigResponse Source # | |
Read UpdateParticipantRoleConfigResponse Source # | |
Show UpdateParticipantRoleConfigResponse Source # | |
NFData UpdateParticipantRoleConfigResponse Source # | |
Defined in Amazonka.Connect.UpdateParticipantRoleConfig rnf :: UpdateParticipantRoleConfigResponse -> () # | |
Eq UpdateParticipantRoleConfigResponse Source # | |
type Rep UpdateParticipantRoleConfigResponse Source # | |
Defined in Amazonka.Connect.UpdateParticipantRoleConfig type Rep UpdateParticipantRoleConfigResponse = D1 ('MetaData "UpdateParticipantRoleConfigResponse" "Amazonka.Connect.UpdateParticipantRoleConfig" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "UpdateParticipantRoleConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateParticipantRoleConfigResponse Source #
Create a value of UpdateParticipantRoleConfigResponse
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:httpStatus:UpdateParticipantRoleConfigResponse'
, updateParticipantRoleConfigResponse_httpStatus
- The response's http status code.
Response Lenses
updateParticipantRoleConfigResponse_httpStatus :: Lens' UpdateParticipantRoleConfigResponse Int Source #
The response's http status code.