| 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.DismissUserContact
Description
Dismisses contacts from an agent’s CCP and returns the agent to an
available state, which allows the agent to receive a new routed contact.
Contacts can only be dismissed if they are in a MISSED, ERROR,
ENDED, or REJECTED state in the
Agent Event Stream.
Synopsis
- data DismissUserContact = DismissUserContact' {}
- newDismissUserContact :: Text -> Text -> Text -> DismissUserContact
- dismissUserContact_userId :: Lens' DismissUserContact Text
- dismissUserContact_instanceId :: Lens' DismissUserContact Text
- dismissUserContact_contactId :: Lens' DismissUserContact Text
- data DismissUserContactResponse = DismissUserContactResponse' {
- httpStatus :: Int
- newDismissUserContactResponse :: Int -> DismissUserContactResponse
- dismissUserContactResponse_httpStatus :: Lens' DismissUserContactResponse Int
Creating a Request
data DismissUserContact Source #
See: newDismissUserContact smart constructor.
Constructors
| DismissUserContact' | |
Instances
newDismissUserContact Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> DismissUserContact |
Create a value of DismissUserContact 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:
DismissUserContact, dismissUserContact_userId - The identifier of the user account.
DismissUserContact, dismissUserContact_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
DismissUserContact, dismissUserContact_contactId - The identifier of the contact.
Request Lenses
dismissUserContact_userId :: Lens' DismissUserContact Text Source #
The identifier of the user account.
dismissUserContact_instanceId :: Lens' DismissUserContact Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
dismissUserContact_contactId :: Lens' DismissUserContact Text Source #
The identifier of the contact.
Destructuring the Response
data DismissUserContactResponse Source #
See: newDismissUserContactResponse smart constructor.
Constructors
| DismissUserContactResponse' | |
Fields
| |
Instances
newDismissUserContactResponse Source #
Create a value of DismissUserContactResponse 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:DismissUserContactResponse', dismissUserContactResponse_httpStatus - The response's http status code.
Response Lenses
dismissUserContactResponse_httpStatus :: Lens' DismissUserContactResponse Int Source #
The response's http status code.