amazonka-connect-2.0: Amazon Connect Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Connect.StartContactRecording

Description

Starts recording the contact:

  • If the API is called before the agent joins the call, recording starts when the agent joins the call.
  • If the API is called after the agent joins the call, recording starts at the time of the API call.

StartContactRecording is a one-time action. For example, 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 and resume it, such as when collecting sensitive information (for example, a credit card number), use SuspendContactRecording and ResumeContactRecording.

You can use this API to override the recording behavior configured in the Set recording behavior block.

Only voice recordings are supported at this time.

Synopsis

Creating a Request

data StartContactRecording Source #

See: newStartContactRecording smart constructor.

Constructors

StartContactRecording' 

Fields

Instances

Instances details
ToJSON StartContactRecording Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

ToHeaders StartContactRecording Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

ToPath StartContactRecording Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

ToQuery StartContactRecording Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

AWSRequest StartContactRecording Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

Associated Types

type AWSResponse StartContactRecording #

Generic StartContactRecording Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

Associated Types

type Rep StartContactRecording :: Type -> Type #

Read StartContactRecording Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

Show StartContactRecording Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

NFData StartContactRecording Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

Methods

rnf :: StartContactRecording -> () #

Eq StartContactRecording Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

Hashable StartContactRecording Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

type AWSResponse StartContactRecording Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

type Rep StartContactRecording Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

type Rep StartContactRecording = D1 ('MetaData "StartContactRecording" "Amazonka.Connect.StartContactRecording" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "StartContactRecording'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "contactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "initialContactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "voiceRecordingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VoiceRecordingConfiguration))))

newStartContactRecording Source #

Create a value of StartContactRecording 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:

StartContactRecording, startContactRecording_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

StartContactRecording, startContactRecording_contactId - The identifier of the contact.

StartContactRecording, startContactRecording_initialContactId - The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.

$sel:voiceRecordingConfiguration:StartContactRecording', startContactRecording_voiceRecordingConfiguration - The person being recorded.

Request Lenses

startContactRecording_instanceId :: Lens' StartContactRecording Text Source #

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

startContactRecording_initialContactId :: Lens' StartContactRecording 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 StartContactRecordingResponse Source #

See: newStartContactRecordingResponse smart constructor.

Constructors

StartContactRecordingResponse' 

Fields

Instances

Instances details
Generic StartContactRecordingResponse Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

Associated Types

type Rep StartContactRecordingResponse :: Type -> Type #

Read StartContactRecordingResponse Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

Show StartContactRecordingResponse Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

NFData StartContactRecordingResponse Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

Eq StartContactRecordingResponse Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

type Rep StartContactRecordingResponse Source # 
Instance details

Defined in Amazonka.Connect.StartContactRecording

type Rep StartContactRecordingResponse = D1 ('MetaData "StartContactRecordingResponse" "Amazonka.Connect.StartContactRecording" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "StartContactRecordingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartContactRecordingResponse Source #

Create a value of StartContactRecordingResponse 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:StartContactRecordingResponse', startContactRecordingResponse_httpStatus - The response's http status code.

Response Lenses