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 |
When a contact is being recorded, this API suspends recording the call. For example, you might suspend the call recording while collecting sensitive information, such as a credit card number. Then use ResumeContactRecording to restart recording.
The period of time that the recording is suspended is filled with silence in the final recording.
Only voice recordings are supported at this time.
Synopsis
- data SuspendContactRecording = SuspendContactRecording' {
- instanceId :: Text
- contactId :: Text
- initialContactId :: Text
- newSuspendContactRecording :: Text -> Text -> Text -> SuspendContactRecording
- suspendContactRecording_instanceId :: Lens' SuspendContactRecording Text
- suspendContactRecording_contactId :: Lens' SuspendContactRecording Text
- suspendContactRecording_initialContactId :: Lens' SuspendContactRecording Text
- data SuspendContactRecordingResponse = SuspendContactRecordingResponse' {
- httpStatus :: Int
- newSuspendContactRecordingResponse :: Int -> SuspendContactRecordingResponse
- suspendContactRecordingResponse_httpStatus :: Lens' SuspendContactRecordingResponse Int
Creating a Request
data SuspendContactRecording Source #
See: newSuspendContactRecording
smart constructor.
SuspendContactRecording' | |
|
Instances
newSuspendContactRecording Source #
:: Text | |
-> Text | |
-> Text | |
-> SuspendContactRecording |
Create a value of SuspendContactRecording
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:SuspendContactRecording'
, suspendContactRecording_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:contactId:SuspendContactRecording'
, suspendContactRecording_contactId
- The identifier of the contact.
$sel:initialContactId:SuspendContactRecording'
, suspendContactRecording_initialContactId
- The identifier of the contact. This is the identifier of the contact
associated with the first interaction with the contact center.
Request Lenses
suspendContactRecording_instanceId :: Lens' SuspendContactRecording Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
suspendContactRecording_contactId :: Lens' SuspendContactRecording Text Source #
The identifier of the contact.
suspendContactRecording_initialContactId :: Lens' SuspendContactRecording 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 SuspendContactRecordingResponse Source #
See: newSuspendContactRecordingResponse
smart constructor.
SuspendContactRecordingResponse' | |
|
Instances
Eq SuspendContactRecordingResponse Source # | |
Read SuspendContactRecordingResponse Source # | |
Show SuspendContactRecordingResponse Source # | |
Defined in Amazonka.Connect.SuspendContactRecording | |
Generic SuspendContactRecordingResponse Source # | |
NFData SuspendContactRecordingResponse Source # | |
Defined in Amazonka.Connect.SuspendContactRecording rnf :: SuspendContactRecordingResponse -> () # | |
type Rep SuspendContactRecordingResponse Source # | |
Defined in Amazonka.Connect.SuspendContactRecording type Rep SuspendContactRecordingResponse = D1 ('MetaData "SuspendContactRecordingResponse" "Amazonka.Connect.SuspendContactRecording" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "SuspendContactRecordingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newSuspendContactRecordingResponse Source #
Create a value of SuspendContactRecordingResponse
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:SuspendContactRecordingResponse'
, suspendContactRecordingResponse_httpStatus
- The response's http status code.
Response Lenses
suspendContactRecordingResponse_httpStatus :: Lens' SuspendContactRecordingResponse Int Source #
The response's http status code.