Class: Aws::TranscribeService::Types::SubtitlesOutput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb

Overview

Provides information about your subtitle file, including format, start index, and Amazon S3 location.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#formatsArray<String>

Provides the format of your subtitle files. If your request included both WebVTT (vtt) and SubRip (srt) formats, both formats are shown.

Returns:

  • (Array<String>)


4936
4937
4938
4939
4940
4941
4942
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 4936

class SubtitlesOutput < Struct.new(
  :formats,
  :subtitle_file_uris,
  :output_start_index)
  SENSITIVE = []
  include Aws::Structure
end

#output_start_indexInteger

Provides the start index value for your subtitle files. If you did not specify a value in your request, the default value of 0 is used.

Returns:

  • (Integer)


4936
4937
4938
4939
4940
4941
4942
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 4936

class SubtitlesOutput < Struct.new(
  :formats,
  :subtitle_file_uris,
  :output_start_index)
  SENSITIVE = []
  include Aws::Structure
end

#subtitle_file_urisArray<String>

The Amazon S3 location of your transcript. You can use this URI to access or download your subtitle file. Your subtitle file is stored in the same location as your transcript. If you specified both WebVTT and SubRip subtitle formats, two URIs are provided.

If you included OutputBucketName in your transcription job request, this is the URI of that bucket. If you also included OutputKey in your request, your output is located in the path you specified in your request.

If you didn't include OutputBucketName in your transcription job request, your subtitle file is stored in a service-managed bucket, and TranscriptFileUri provides you with a temporary URI you can use for secure access to your subtitle file.

Temporary URIs for service-managed Amazon S3 buckets are only valid for 15 minutes. If you get an AccesDenied error, you can get a new temporary URI by running a GetTranscriptionJob or ListTranscriptionJob request.

Returns:

  • (Array<String>)


4936
4937
4938
4939
4940
4941
4942
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 4936

class SubtitlesOutput < Struct.new(
  :formats,
  :subtitle_file_uris,
  :output_start_index)
  SENSITIVE = []
  include Aws::Structure
end