Struct aws_sdk_transcribe::model::SubtitlesOutput
source · [−]#[non_exhaustive]pub struct SubtitlesOutput { /* private fields */ }Expand description
Provides information about your subtitle file, including format, start index, and Amazon S3 location.
Implementations
sourceimpl SubtitlesOutput
impl SubtitlesOutput
sourcepub fn formats(&self) -> Option<&[SubtitleFormat]>
pub fn formats(&self) -> Option<&[SubtitleFormat]>
Provides the format of your subtitle files. If your request included both WebVTT (vtt) and SubRip (srt) formats, both formats are shown.
sourcepub fn subtitle_file_uris(&self) -> Option<&[String]>
pub fn subtitle_file_uris(&self) -> Option<&[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.
sourcepub fn output_start_index(&self) -> Option<i32>
pub fn output_start_index(&self) -> Option<i32>
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.
sourceimpl SubtitlesOutput
impl SubtitlesOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SubtitlesOutput.
Trait Implementations
sourceimpl Clone for SubtitlesOutput
impl Clone for SubtitlesOutput
sourcefn clone(&self) -> SubtitlesOutput
fn clone(&self) -> SubtitlesOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SubtitlesOutput
impl Debug for SubtitlesOutput
sourceimpl PartialEq<SubtitlesOutput> for SubtitlesOutput
impl PartialEq<SubtitlesOutput> for SubtitlesOutput
sourcefn eq(&self, other: &SubtitlesOutput) -> bool
fn eq(&self, other: &SubtitlesOutput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for SubtitlesOutput
Auto Trait Implementations
impl RefUnwindSafe for SubtitlesOutput
impl Send for SubtitlesOutput
impl Sync for SubtitlesOutput
impl Unpin for SubtitlesOutput
impl UnwindSafe for SubtitlesOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more