| 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 |
Amazonka.Connect.UpdateParticipantRoleConfig
Description
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.
Constructors
| UpdateParticipantRoleConfig' | |
Fields
| |
Instances
newUpdateParticipantRoleConfig Source #
Arguments
| :: Text | |
| -> Text | |
| -> UpdateParticipantRoleConfigChannelInfo | |
| -> UpdateParticipantRoleConfig |
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.
Constructors
| UpdateParticipantRoleConfigResponse' | |
Fields
| |
Instances
newUpdateParticipantRoleConfigResponse Source #
Arguments
| :: Int | |
| -> UpdateParticipantRoleConfigResponse |
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.