Skip to content

/AWS1/IF_TNB=>STARTTRANSCRIPTIONJOB()

About StartTranscriptionJob

Transcribes the audio from a media file and applies any additional Request Parameters you choose to include in your request.

To make a StartTranscriptionJob request, you must first upload your media file into an Amazon S3 bucket; you can then specify the Amazon S3 location of the file using the Media parameter.

You must include the following parameters in your StartTranscriptionJob request:

  • region: The Amazon Web Services Region where you are making your request. For a list of Amazon Web Services Regions supported with Amazon Transcribe, refer to Amazon Transcribe endpoints and quotas.

  • TranscriptionJobName: A custom name you create for your transcription job that is unique within your Amazon Web Services account.

  • Media (MediaFileUri): The Amazon S3 location of your media file.

  • One of LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages: If you know the language of your media file, specify it using the LanguageCode parameter; you can find all valid language codes in the Supported languages table. If you do not know the languages spoken in your media, use either IdentifyLanguage or IdentifyMultipleLanguages and let Amazon Transcribe identify the languages for you.

Method Signature

METHODS /AWS1/IF_TNB~STARTTRANSCRIPTIONJOB
  IMPORTING
    !IV_TRANSCRIPTIONJOBNAME TYPE /AWS1/TNBTRANSCRIPTIONJOBNAME OPTIONAL
    !IV_LANGUAGECODE TYPE /AWS1/TNBLANGUAGECODE OPTIONAL
    !IV_MEDIASAMPLERATEHERTZ TYPE /AWS1/TNBMEDIASAMPLERATEHERTZ OPTIONAL
    !IV_MEDIAFORMAT TYPE /AWS1/TNBMEDIAFORMAT OPTIONAL
    !IO_MEDIA TYPE REF TO /AWS1/CL_TNBMEDIA OPTIONAL
    !IV_OUTPUTBUCKETNAME TYPE /AWS1/TNBOUTPUTBUCKETNAME OPTIONAL
    !IV_OUTPUTKEY TYPE /AWS1/TNBOUTPUTKEY OPTIONAL
    !IV_OUTPUTENCRYPTIONKMSKEYID TYPE /AWS1/TNBKMSKEYID OPTIONAL
    !IT_KMSENCRYPTIONCONTEXT TYPE /AWS1/CL_TNBKMSENCCONTEXTMAP_W=>TT_KMSENCRYPTIONCONTEXTMAP OPTIONAL
    !IO_SETTINGS TYPE REF TO /AWS1/CL_TNBSETTINGS OPTIONAL
    !IO_MODELSETTINGS TYPE REF TO /AWS1/CL_TNBMODELSETTINGS OPTIONAL
    !IO_JOBEXECUTIONSETTINGS TYPE REF TO /AWS1/CL_TNBJOBEXECSETTINGS OPTIONAL
    !IO_CONTENTREDACTION TYPE REF TO /AWS1/CL_TNBCONTENTREDACTION OPTIONAL
    !IV_IDENTIFYLANGUAGE TYPE /AWS1/TNBBOOLEAN OPTIONAL
    !IV_IDENTIFYMULTIPLELANGUAGES TYPE /AWS1/TNBBOOLEAN OPTIONAL
    !IT_LANGUAGEOPTIONS TYPE /AWS1/CL_TNBLANGUAGEOPTIONS_W=>TT_LANGUAGEOPTIONS OPTIONAL
    !IO_SUBTITLES TYPE REF TO /AWS1/CL_TNBSUBTITLES OPTIONAL
    !IT_TAGS TYPE /AWS1/CL_TNBTAG=>TT_TAGLIST OPTIONAL
    !IT_LANGUAGEIDSETTINGS TYPE /AWS1/CL_TNBLANGUAGEIDSETTINGS=>TT_LANGUAGEIDSETTINGSMAP OPTIONAL
    !IT_TOXICITYDETECTION TYPE /AWS1/CL_TNBTOXICITYDETECTSTGS=>TT_TOXICITYDETECTION OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_tnbstrttranscriptio01
  RAISING
    /AWS1/CX_TNBBADREQUESTEX
    /AWS1/CX_TNBCONFLICTEXCEPTION
    /AWS1/CX_TNBINTERNALFAILUREEX
    /AWS1/CX_TNBLIMITEXCEEDEDEX
    /AWS1/CX_TNBCLIENTEXC
    /AWS1/CX_TNBSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_transcriptionjobname TYPE /AWS1/TNBTRANSCRIPTIONJOBNAME /AWS1/TNBTRANSCRIPTIONJOBNAME

A unique name, chosen by you, for your transcription job. The name that you specify is also used as the default name of your transcription output file. If you want to specify a different name for your transcription output, use the OutputKey parameter.

This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a new job with the same name as an existing job, you get a ConflictException error.

io_media TYPE REF TO /AWS1/CL_TNBMEDIA /AWS1/CL_TNBMEDIA

Describes the Amazon S3 location of the media file you want to use in your request.

Optional arguments:

iv_languagecode TYPE /AWS1/TNBLANGUAGECODE /AWS1/TNBLANGUAGECODE

The language code that represents the language spoken in the input media file.

If you're unsure of the language spoken in your media file, consider using IdentifyLanguage or IdentifyMultipleLanguages to enable automatic language identification.

Note that you must include one of LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

For a list of supported languages and their associated language codes, refer to the Supported languages table.

To transcribe speech in Modern Standard Arabic (ar-SA) in Amazon Web Services GovCloud (US) (US-West, us-gov-west-1), Amazon Web Services GovCloud (US) (US-East, us-gov-east-1), Canada (Calgary, ca-west-1) and Africa (Cape Town, af-south-1), your media file must be encoded at a sample rate of 16,000 Hz or higher.

iv_mediasampleratehertz TYPE /AWS1/TNBMEDIASAMPLERATEHERTZ /AWS1/TNBMEDIASAMPLERATEHERTZ

The sample rate, in hertz, of the audio track in your input media file.

If you do not specify the media sample rate, Amazon Transcribe determines it for you. If you specify the sample rate, it must match the rate detected by Amazon Transcribe. If there's a mismatch between the value that you specify and the value detected, your job fails. In most cases, you can omit MediaSampleRateHertz and let Amazon Transcribe determine the sample rate.

iv_mediaformat TYPE /AWS1/TNBMEDIAFORMAT /AWS1/TNBMEDIAFORMAT

Specify the format of your input media file.

iv_outputbucketname TYPE /AWS1/TNBOUTPUTBUCKETNAME /AWS1/TNBOUTPUTBUCKETNAME

The name of the Amazon S3 bucket where you want your transcription output stored. Do not include the S3:// prefix of the specified bucket.

If you want your output to go to a sub-folder of this bucket, specify it using the OutputKey parameter; OutputBucketName only accepts the name of a bucket.

For example, if you want your output stored in S3://DOC-EXAMPLE-BUCKET, set OutputBucketName to DOC-EXAMPLE-BUCKET. However, if you want your output stored in S3://DOC-EXAMPLE-BUCKET/test-files/, set OutputBucketName to DOC-EXAMPLE-BUCKET and OutputKey to test-files/.

Note that Amazon Transcribe must have permission to use the specified location. You can change Amazon S3 permissions using the Amazon Web Services Management Console. See also Permissions Required for IAM User Roles.

If you do not specify OutputBucketName, your transcript is placed in a service-managed Amazon S3 bucket and you are provided with a URI to access your transcript.

iv_outputkey TYPE /AWS1/TNBOUTPUTKEY /AWS1/TNBOUTPUTKEY

Use in combination with OutputBucketName to specify the output location of your transcript and, optionally, a unique name for your output file. The default name for your transcription output is the same as the name you specified for your transcription job (TranscriptionJobName).

Here are some examples of how you can use OutputKey:

  • If you specify 'DOC-EXAMPLE-BUCKET' as the OutputBucketName and 'my-transcript.json' as the OutputKey, your transcription output path is s3://DOC-EXAMPLE-BUCKET/my-transcript.json.

  • If you specify 'my-first-transcription' as the TranscriptionJobName, 'DOC-EXAMPLE-BUCKET' as the OutputBucketName, and 'my-transcript' as the OutputKey, your transcription output path is s3://DOC-EXAMPLE-BUCKET/my-transcript/my-first-transcription.json.

  • If you specify 'DOC-EXAMPLE-BUCKET' as the OutputBucketName and 'test-files/my-transcript.json' as the OutputKey, your transcription output path is s3://DOC-EXAMPLE-BUCKET/test-files/my-transcript.json.

  • If you specify 'my-first-transcription' as the TranscriptionJobName, 'DOC-EXAMPLE-BUCKET' as the OutputBucketName, and 'test-files/my-transcript' as the OutputKey, your transcription output path is s3://DOC-EXAMPLE-BUCKET/test-files/my-transcript/my-first-transcription.json.

If you specify the name of an Amazon S3 bucket sub-folder that doesn't exist, one is created for you.

iv_outputencryptionkmskeyid TYPE /AWS1/TNBKMSKEYID /AWS1/TNBKMSKEYID

The Amazon Resource Name (ARN) of a KMS key that you want to use to encrypt your transcription output.

KMS key ARNs have the format arn:partition:kms:region:account:key/key-id. For example: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab. For more information, see KMS key ARNs.

If you do not specify an encryption key, your output is encrypted with the default Amazon S3 key (SSE-S3).

Note that the role making the request and the role specified in the DataAccessRoleArn request parameter (if present) must have permission to use the specified KMS key.

it_kmsencryptioncontext TYPE /AWS1/CL_TNBKMSENCCONTEXTMAP_W=>TT_KMSENCRYPTIONCONTEXTMAP TT_KMSENCRYPTIONCONTEXTMAP

A map of plain text, non-secret key:value pairs, known as encryption context pairs, that provide an added layer of security for your data. For more information, see KMS encryption context and Asymmetric keys in KMS.

io_settings TYPE REF TO /AWS1/CL_TNBSETTINGS /AWS1/CL_TNBSETTINGS

Specify additional optional settings in your
request, including channel identification, alternative transcriptions, speaker partitioning. You can use that to apply custom vocabularies and vocabulary filters.

If you want to include a custom vocabulary or a custom vocabulary filter (or both) with your request but do not want to use automatic language identification, use Settings with the VocabularyName or VocabularyFilterName (or both) sub-parameter.

If you're using automatic language identification with your request and want to include a custom language model, a custom vocabulary, or a custom vocabulary filter, use instead the parameter with the LanguageModelName, VocabularyName or VocabularyFilterName sub-parameters.

io_modelsettings TYPE REF TO /AWS1/CL_TNBMODELSETTINGS /AWS1/CL_TNBMODELSETTINGS

Specify the custom language model you want to include with your transcription job. If you include ModelSettings in your request, you must include the LanguageModelName sub-parameter.

For more information, see Custom language models.

io_jobexecutionsettings TYPE REF TO /AWS1/CL_TNBJOBEXECSETTINGS /AWS1/CL_TNBJOBEXECSETTINGS

Makes it possible to control how your transcription job is processed. Currently, the only JobExecutionSettings modification you can choose is enabling job queueing using the AllowDeferredExecution sub-parameter.

If you include JobExecutionSettings in your request, you must also include the sub-parameters: AllowDeferredExecution and DataAccessRoleArn.

io_contentredaction TYPE REF TO /AWS1/CL_TNBCONTENTREDACTION /AWS1/CL_TNBCONTENTREDACTION

Makes it possible to redact or flag specified personally identifiable information (PII) in your transcript. If you use ContentRedaction, you must also include the sub-parameters: RedactionOutput and RedactionType. You can optionally include PiiEntityTypes to choose which types of PII you want to redact. If you do not include PiiEntityTypes in your request, all PII is redacted.

iv_identifylanguage TYPE /AWS1/TNBBOOLEAN /AWS1/TNBBOOLEAN

Enables automatic language identification in your transcription job request. Use this parameter if your media file contains only one language. If your media contains multiple languages, use IdentifyMultipleLanguages instead.

If you include IdentifyLanguage, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your media file. Including LanguageOptions restricts IdentifyLanguage to only the language options that you specify, which can improve transcription accuracy.

If you want to apply a custom language model, a custom vocabulary, or a custom vocabulary filter to your automatic language identification request, include LanguageIdSettings with the relevant sub-parameters (VocabularyName, LanguageModelName, and VocabularyFilterName). If you include LanguageIdSettings, also include LanguageOptions.

Note that you must include one of LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

iv_identifymultiplelanguages TYPE /AWS1/TNBBOOLEAN /AWS1/TNBBOOLEAN

Enables automatic multi-language identification in your transcription job request. Use this parameter if your media file contains more than one language. If your media contains only one language, use IdentifyLanguage instead.

If you include IdentifyMultipleLanguages, you can optionally include a list of language codes, using LanguageOptions, that you think may be present in your media file. Including LanguageOptions restricts IdentifyLanguage to only the language options that you specify, which can improve transcription accuracy.

If you want to apply a custom vocabulary or a custom vocabulary filter to your automatic language identification request, include LanguageIdSettings with the relevant sub-parameters (VocabularyName and VocabularyFilterName). If you include LanguageIdSettings, also include LanguageOptions.

Note that you must include one of LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages in your request. If you include more than one of these parameters, your transcription job fails.

it_languageoptions TYPE /AWS1/CL_TNBLANGUAGEOPTIONS_W=>TT_LANGUAGEOPTIONS TT_LANGUAGEOPTIONS

You can specify two or more language codes that represent the languages you think may be present in your media. Including more than five is not recommended. If you're unsure what languages are present, do not include this parameter.

If you include LanguageOptions in your request, you must also include IdentifyLanguage.

For more information, refer to Supported languages.

To transcribe speech in Modern Standard Arabic (ar-SA)in Amazon Web Services GovCloud (US) (US-West, us-gov-west-1), Amazon Web Services GovCloud (US) (US-East, us-gov-east-1), in Canada (Calgary) ca-west-1 and Africa (Cape Town) af-south-1, your media file must be encoded at a sample rate of 16,000 Hz or higher.

io_subtitles TYPE REF TO /AWS1/CL_TNBSUBTITLES /AWS1/CL_TNBSUBTITLES

Produces subtitle files for your input media. You can specify WebVTT (.vtt) and SubRip (.srt) formats.

it_tags TYPE /AWS1/CL_TNBTAG=>TT_TAGLIST TT_TAGLIST

Adds one or more custom tags, each in the form of a key:value pair, to a new transcription job at the time you start this new job.

To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

it_languageidsettings TYPE /AWS1/CL_TNBLANGUAGEIDSETTINGS=>TT_LANGUAGEIDSETTINGSMAP TT_LANGUAGEIDSETTINGSMAP

If using automatic language identification in your request and you want to apply a custom language model, a custom vocabulary, or a custom vocabulary filter, include LanguageIdSettings with the relevant sub-parameters (VocabularyName, LanguageModelName, and VocabularyFilterName). Note that multi-language identification (IdentifyMultipleLanguages) doesn't support custom language models.

LanguageIdSettings supports two to five language codes. Each language code you include can have an associated custom language model, custom vocabulary, and custom vocabulary filter. The language codes that you specify must match the languages of the associated custom language models, custom vocabularies, and custom vocabulary filters.

It's recommended that you include LanguageOptions when using LanguageIdSettings to ensure that the correct language dialect is identified. For example, if you specify a custom vocabulary that is in en-US but Amazon Transcribe determines that the language spoken in your media is en-AU, your custom vocabulary is not applied to your transcription. If you include LanguageOptions and include en-US as the only English language dialect, your custom vocabulary is applied to your transcription.

If you want to include a custom language model with your request but do not want to use automatic language identification, use instead the parameter with the LanguageModelName sub-parameter. If you want to include a custom vocabulary or a custom vocabulary filter (or both) with your request but do not want to use automatic language identification, use instead the parameter with the VocabularyName or VocabularyFilterName (or both) sub-parameter.

it_toxicitydetection TYPE /AWS1/CL_TNBTOXICITYDETECTSTGS=>TT_TOXICITYDETECTION TT_TOXICITYDETECTION

Enables toxic speech detection in your transcript. If you include ToxicityDetection in your request, you must also include ToxicityCategories.

For information on the types of toxic speech Amazon Transcribe can detect, see Detecting toxic speech.

RETURNING

oo_output TYPE REF TO /aws1/cl_tnbstrttranscriptio01 /AWS1/CL_TNBSTRTTRANSCRIPTIO01

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

DATA(lo_result) = lo_client->starttranscriptionjob(
  io_contentredaction = new /aws1/cl_tnbcontentredaction(
    it_piientitytypes = VALUE /aws1/cl_tnbpiientitytypes_w=>tt_piientitytypes(
      ( new /aws1/cl_tnbpiientitytypes_w( |string| ) )
    )
    iv_redactionoutput = |string|
    iv_redactiontype = |string|
  )
  io_jobexecutionsettings = new /aws1/cl_tnbjobexecsettings(
    iv_allowdeferredexecution = ABAP_TRUE
    iv_dataaccessrolearn = |string|
  )
  io_media = new /aws1/cl_tnbmedia(
    iv_mediafileuri = |string|
    iv_redactedmediafileuri = |string|
  )
  io_modelsettings = new /aws1/cl_tnbmodelsettings( |string| )
  io_settings = new /aws1/cl_tnbsettings(
    iv_channelidentification = ABAP_TRUE
    iv_maxalternatives = 123
    iv_maxspeakerlabels = 123
    iv_showalternatives = ABAP_TRUE
    iv_showspeakerlabels = ABAP_TRUE
    iv_vocabularyfiltermethod = |string|
    iv_vocabularyfiltername = |string|
    iv_vocabularyname = |string|
  )
  io_subtitles = new /aws1/cl_tnbsubtitles(
    it_formats = VALUE /aws1/cl_tnbsubtitleformats_w=>tt_subtitleformats(
      ( new /aws1/cl_tnbsubtitleformats_w( |string| ) )
    )
    iv_outputstartindex = 123
  )
  it_kmsencryptioncontext = VALUE /aws1/cl_tnbkmsenccontextmap_w=>tt_kmsencryptioncontextmap(
    (
      VALUE /aws1/cl_tnbkmsenccontextmap_w=>ts_kmsenccontextmap_maprow(
        value = new /aws1/cl_tnbkmsenccontextmap_w( |string| )
        key = |string|
      )
    )
  )
  it_languageidsettings = VALUE /aws1/cl_tnblanguageidsettings=>tt_languageidsettingsmap(
    (
      VALUE /aws1/cl_tnblanguageidsettings=>ts_languageidstgsmap_maprow(
        value = new /aws1/cl_tnblanguageidsettings(
          iv_languagemodelname = |string|
          iv_vocabularyfiltername = |string|
          iv_vocabularyname = |string|
        )
        key = |string|
      )
    )
  )
  it_languageoptions = VALUE /aws1/cl_tnblanguageoptions_w=>tt_languageoptions(
    ( new /aws1/cl_tnblanguageoptions_w( |string| ) )
  )
  it_tags = VALUE /aws1/cl_tnbtag=>tt_taglist(
    (
      new /aws1/cl_tnbtag(
        iv_key = |string|
        iv_value = |string|
      )
    )
  )
  it_toxicitydetection = VALUE /aws1/cl_tnbtoxicitydetectstgs=>tt_toxicitydetection(
    (
      new /aws1/cl_tnbtoxicitydetectstgs(
        it_toxicitycategories = VALUE /aws1/cl_tnbtoxicitycats_w=>tt_toxicitycategories(
          ( new /aws1/cl_tnbtoxicitycats_w( |string| ) )
        )
      )
    )
  )
  iv_identifylanguage = ABAP_TRUE
  iv_identifymultiplelanguages = ABAP_TRUE
  iv_languagecode = |string|
  iv_mediaformat = |string|
  iv_mediasampleratehertz = 123
  iv_outputbucketname = |string|
  iv_outputencryptionkmskeyid = |string|
  iv_outputkey = |string|
  iv_transcriptionjobname = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lo_transcriptionjob = lo_result->get_transcriptionjob( ).
  IF lo_transcriptionjob IS NOT INITIAL.
    lv_transcriptionjobname = lo_transcriptionjob->get_transcriptionjobname( ).
    lv_transcriptionjobstatus = lo_transcriptionjob->get_transcriptionjobstatus( ).
    lv_languagecode = lo_transcriptionjob->get_languagecode( ).
    lv_mediasampleratehertz = lo_transcriptionjob->get_mediasampleratehertz( ).
    lv_mediaformat = lo_transcriptionjob->get_mediaformat( ).
    lo_media = lo_transcriptionjob->get_media( ).
    IF lo_media IS NOT INITIAL.
      lv_uri = lo_media->get_mediafileuri( ).
      lv_uri = lo_media->get_redactedmediafileuri( ).
    ENDIF.
    lo_transcript = lo_transcriptionjob->get_transcript( ).
    IF lo_transcript IS NOT INITIAL.
      lv_uri = lo_transcript->get_transcriptfileuri( ).
      lv_uri = lo_transcript->get_redactedtranscriptfile00( ).
    ENDIF.
    lv_datetime = lo_transcriptionjob->get_starttime( ).
    lv_datetime = lo_transcriptionjob->get_creationtime( ).
    lv_datetime = lo_transcriptionjob->get_completiontime( ).
    lv_failurereason = lo_transcriptionjob->get_failurereason( ).
    lo_settings = lo_transcriptionjob->get_settings( ).
    IF lo_settings IS NOT INITIAL.
      lv_vocabularyname = lo_settings->get_vocabularyname( ).
      lv_boolean = lo_settings->get_showspeakerlabels( ).
      lv_maxspeakers = lo_settings->get_maxspeakerlabels( ).
      lv_boolean = lo_settings->get_channelidentification( ).
      lv_boolean = lo_settings->get_showalternatives( ).
      lv_maxalternatives = lo_settings->get_maxalternatives( ).
      lv_vocabularyfiltername = lo_settings->get_vocabularyfiltername( ).
      lv_vocabularyfiltermethod = lo_settings->get_vocabularyfiltermethod( ).
    ENDIF.
    lo_modelsettings = lo_transcriptionjob->get_modelsettings( ).
    IF lo_modelsettings IS NOT INITIAL.
      lv_modelname = lo_modelsettings->get_languagemodelname( ).
    ENDIF.
    lo_jobexecutionsettings = lo_transcriptionjob->get_jobexecutionsettings( ).
    IF lo_jobexecutionsettings IS NOT INITIAL.
      lv_boolean = lo_jobexecutionsettings->get_allowdeferredexecution( ).
      lv_dataaccessrolearn = lo_jobexecutionsettings->get_dataaccessrolearn( ).
    ENDIF.
    lo_contentredaction = lo_transcriptionjob->get_contentredaction( ).
    IF lo_contentredaction IS NOT INITIAL.
      lv_redactiontype = lo_contentredaction->get_redactiontype( ).
      lv_redactionoutput = lo_contentredaction->get_redactionoutput( ).
      LOOP AT lo_contentredaction->get_piientitytypes( ) into lo_row.
        lo_row_1 = lo_row.
        IF lo_row_1 IS NOT INITIAL.
          lv_piientitytype = lo_row_1->get_value( ).
        ENDIF.
      ENDLOOP.
    ENDIF.
    lv_boolean = lo_transcriptionjob->get_identifylanguage( ).
    lv_boolean = lo_transcriptionjob->get_identifymultiplelangua00( ).
    LOOP AT lo_transcriptionjob->get_languageoptions( ) into lo_row_2.
      lo_row_3 = lo_row_2.
      IF lo_row_3 IS NOT INITIAL.
        lv_languagecode = lo_row_3->get_value( ).
      ENDIF.
    ENDLOOP.
    lv_identifiedlanguagescore = lo_transcriptionjob->get_identifiedlanguagescore( ).
    LOOP AT lo_transcriptionjob->get_languagecodes( ) into lo_row_4.
      lo_row_5 = lo_row_4.
      IF lo_row_5 IS NOT INITIAL.
        lv_languagecode = lo_row_5->get_languagecode( ).
        lv_durationinseconds = lo_row_5->get_durationinseconds( ).
      ENDIF.
    ENDLOOP.
    LOOP AT lo_transcriptionjob->get_tags( ) into lo_row_6.
      lo_row_7 = lo_row_6.
      IF lo_row_7 IS NOT INITIAL.
        lv_tagkey = lo_row_7->get_key( ).
        lv_tagvalue = lo_row_7->get_value( ).
      ENDIF.
    ENDLOOP.
    lo_subtitlesoutput = lo_transcriptionjob->get_subtitles( ).
    IF lo_subtitlesoutput IS NOT INITIAL.
      LOOP AT lo_subtitlesoutput->get_formats( ) into lo_row_8.
        lo_row_9 = lo_row_8.
        IF lo_row_9 IS NOT INITIAL.
          lv_subtitleformat = lo_row_9->get_value( ).
        ENDIF.
      ENDLOOP.
      LOOP AT lo_subtitlesoutput->get_subtitlefileuris( ) into lo_row_10.
        lo_row_11 = lo_row_10.
        IF lo_row_11 IS NOT INITIAL.
          lv_uri = lo_row_11->get_value( ).
        ENDIF.
      ENDLOOP.
      lv_subtitleoutputstartinde = lo_subtitlesoutput->get_outputstartindex( ).
    ENDIF.
    LOOP AT lo_transcriptionjob->get_languageidsettings( ) into ls_row_12.
      lv_key = ls_row_12-key.
      lo_value = ls_row_12-value.
      IF lo_value IS NOT INITIAL.
        lv_vocabularyname = lo_value->get_vocabularyname( ).
        lv_vocabularyfiltername = lo_value->get_vocabularyfiltername( ).
        lv_modelname = lo_value->get_languagemodelname( ).
      ENDIF.
    ENDLOOP.
    LOOP AT lo_transcriptionjob->get_toxicitydetection( ) into lo_row_13.
      lo_row_14 = lo_row_13.
      IF lo_row_14 IS NOT INITIAL.
        LOOP AT lo_row_14->get_toxicitycategories( ) into lo_row_15.
          lo_row_16 = lo_row_15.
          IF lo_row_16 IS NOT INITIAL.
            lv_toxicitycategory = lo_row_16->get_value( ).
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDLOOP.
  ENDIF.
ENDIF.