Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Stops recording a call when a contact is being recorded. StopContactRecording is a one-time action. If you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend it for sensitive information (for example, to collect a credit card number), and then restart it, use SuspendContactRecording and ResumeContactRecording.
Only voice recordings are supported at this time.
Synopsis
- data StopContactRecording = StopContactRecording' {
- instanceId :: Text
- contactId :: Text
- initialContactId :: Text
- newStopContactRecording :: Text -> Text -> Text -> StopContactRecording
- stopContactRecording_instanceId :: Lens' StopContactRecording Text
- stopContactRecording_contactId :: Lens' StopContactRecording Text
- stopContactRecording_initialContactId :: Lens' StopContactRecording Text
- data StopContactRecordingResponse = StopContactRecordingResponse' {
- httpStatus :: Int
- newStopContactRecordingResponse :: Int -> StopContactRecordingResponse
- stopContactRecordingResponse_httpStatus :: Lens' StopContactRecordingResponse Int
Creating a Request
data StopContactRecording Source #
See: newStopContactRecording
smart constructor.
StopContactRecording' | |
|
Instances
newStopContactRecording Source #
:: Text | |
-> Text | |
-> Text | |
-> StopContactRecording |
Create a value of StopContactRecording
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:instanceId:StopContactRecording'
, stopContactRecording_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:contactId:StopContactRecording'
, stopContactRecording_contactId
- The identifier of the contact.
$sel:initialContactId:StopContactRecording'
, stopContactRecording_initialContactId
- The identifier of the contact. This is the identifier of the contact
associated with the first interaction with the contact center.
Request Lenses
stopContactRecording_instanceId :: Lens' StopContactRecording Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
stopContactRecording_contactId :: Lens' StopContactRecording Text Source #
The identifier of the contact.
stopContactRecording_initialContactId :: Lens' StopContactRecording Text Source #
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
Destructuring the Response
data StopContactRecordingResponse Source #
See: newStopContactRecordingResponse
smart constructor.
StopContactRecordingResponse' | |
|
Instances
newStopContactRecordingResponse Source #
Create a value of StopContactRecordingResponse
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:StopContactRecordingResponse'
, stopContactRecordingResponse_httpStatus
- The response's http status code.
Response Lenses
stopContactRecordingResponse_httpStatus :: Lens' StopContactRecordingResponse Int Source #
The response's http status code.