| 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.StopContact
Description
Ends the specified contact. This call does not work for the following initiation methods:
- DISCONNECT
- TRANSFER
- QUEUE_TRANSFER
Synopsis
- data StopContact = StopContact' {
- contactId :: Text
- instanceId :: Text
- newStopContact :: Text -> Text -> StopContact
- stopContact_contactId :: Lens' StopContact Text
- stopContact_instanceId :: Lens' StopContact Text
- data StopContactResponse = StopContactResponse' {
- httpStatus :: Int
- newStopContactResponse :: Int -> StopContactResponse
- stopContactResponse_httpStatus :: Lens' StopContactResponse Int
Creating a Request
data StopContact Source #
See: newStopContact smart constructor.
Constructors
| StopContact' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> StopContact |
Create a value of StopContact 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:
StopContact, stopContact_contactId - The ID of the contact.
StopContact, stopContact_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
stopContact_contactId :: Lens' StopContact Text Source #
The ID of the contact.
stopContact_instanceId :: Lens' StopContact Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data StopContactResponse Source #
See: newStopContactResponse smart constructor.
Constructors
| StopContactResponse' | |
Fields
| |
Instances
newStopContactResponse Source #
Arguments
| :: Int | |
| -> StopContactResponse |
Create a value of StopContactResponse 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:StopContactResponse', stopContactResponse_httpStatus - The response's http status code.
Response Lenses
stopContactResponse_httpStatus :: Lens' StopContactResponse Int Source #
The response's http status code.