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 |
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.
StopContact' | |
|
Instances
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.
StopContactResponse' | |
|
Instances
newStopContactResponse Source #
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.