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, and the recording has been suspended using SuspendContactRecording, this API resumes recording the call.
Only voice recordings are supported at this time.
Synopsis
- data ResumeContactRecording = ResumeContactRecording' {
- instanceId :: Text
- contactId :: Text
- initialContactId :: Text
- newResumeContactRecording :: Text -> Text -> Text -> ResumeContactRecording
- resumeContactRecording_instanceId :: Lens' ResumeContactRecording Text
- resumeContactRecording_contactId :: Lens' ResumeContactRecording Text
- resumeContactRecording_initialContactId :: Lens' ResumeContactRecording Text
- data ResumeContactRecordingResponse = ResumeContactRecordingResponse' {
- httpStatus :: Int
- newResumeContactRecordingResponse :: Int -> ResumeContactRecordingResponse
- resumeContactRecordingResponse_httpStatus :: Lens' ResumeContactRecordingResponse Int
Creating a Request
data ResumeContactRecording Source #
See: newResumeContactRecording
smart constructor.
ResumeContactRecording' | |
|
Instances
newResumeContactRecording Source #
:: Text | |
-> Text | |
-> Text | |
-> ResumeContactRecording |
Create a value of ResumeContactRecording
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:ResumeContactRecording'
, resumeContactRecording_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:contactId:ResumeContactRecording'
, resumeContactRecording_contactId
- The identifier of the contact.
$sel:initialContactId:ResumeContactRecording'
, resumeContactRecording_initialContactId
- The identifier of the contact. This is the identifier of the contact
associated with the first interaction with the contact center.
Request Lenses
resumeContactRecording_instanceId :: Lens' ResumeContactRecording Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
resumeContactRecording_contactId :: Lens' ResumeContactRecording Text Source #
The identifier of the contact.
resumeContactRecording_initialContactId :: Lens' ResumeContactRecording 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 ResumeContactRecordingResponse Source #
See: newResumeContactRecordingResponse
smart constructor.
ResumeContactRecordingResponse' | |
|
Instances
Eq ResumeContactRecordingResponse Source # | |
Read ResumeContactRecordingResponse Source # | |
Show ResumeContactRecordingResponse Source # | |
Defined in Amazonka.Connect.ResumeContactRecording | |
Generic ResumeContactRecordingResponse Source # | |
NFData ResumeContactRecordingResponse Source # | |
Defined in Amazonka.Connect.ResumeContactRecording rnf :: ResumeContactRecordingResponse -> () # | |
type Rep ResumeContactRecordingResponse Source # | |
Defined in Amazonka.Connect.ResumeContactRecording type Rep ResumeContactRecordingResponse = D1 ('MetaData "ResumeContactRecordingResponse" "Amazonka.Connect.ResumeContactRecording" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "ResumeContactRecordingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newResumeContactRecordingResponse Source #
Create a value of ResumeContactRecordingResponse
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:ResumeContactRecordingResponse'
, resumeContactRecordingResponse_httpStatus
- The response's http status code.
Response Lenses
resumeContactRecordingResponse_httpStatus :: Lens' ResumeContactRecordingResponse Int Source #
The response's http status code.