Struct aws_sdk_transcribe::types::Media
source · #[non_exhaustive]pub struct Media {
pub media_file_uri: Option<String>,
pub redacted_media_file_uri: Option<String>,
}
Expand description
Describes the Amazon S3 location of the media file you want to use in your request.
For information on supported media formats, refer to the MediaFormat
parameter or the Media formats section in the Amazon S3 Developer Guide.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.media_file_uri: Option<String>
The Amazon S3 location of the media file you want to transcribe. For example:
-
s3://DOC-EXAMPLE-BUCKET/my-media-file.flac
-
s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac
Note that the Amazon S3 bucket that contains your input media must be located in the same Amazon Web Services Region where you're making your transcription request.
redacted_media_file_uri: Option<String>
The Amazon S3 location of the media file you want to redact. For example:
-
s3://DOC-EXAMPLE-BUCKET/my-media-file.flac
-
s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac
Note that the Amazon S3 bucket that contains your input media must be located in the same Amazon Web Services Region where you're making your transcription request.
RedactedMediaFileUri
produces a redacted audio file in addition to a redacted transcript. It is only supported for Call Analytics (StartCallAnalyticsJob
) transcription requests.
Implementations§
source§impl Media
impl Media
sourcepub fn media_file_uri(&self) -> Option<&str>
pub fn media_file_uri(&self) -> Option<&str>
The Amazon S3 location of the media file you want to transcribe. For example:
-
s3://DOC-EXAMPLE-BUCKET/my-media-file.flac
-
s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac
Note that the Amazon S3 bucket that contains your input media must be located in the same Amazon Web Services Region where you're making your transcription request.
sourcepub fn redacted_media_file_uri(&self) -> Option<&str>
pub fn redacted_media_file_uri(&self) -> Option<&str>
The Amazon S3 location of the media file you want to redact. For example:
-
s3://DOC-EXAMPLE-BUCKET/my-media-file.flac
-
s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac
Note that the Amazon S3 bucket that contains your input media must be located in the same Amazon Web Services Region where you're making your transcription request.
RedactedMediaFileUri
produces a redacted audio file in addition to a redacted transcript. It is only supported for Call Analytics (StartCallAnalyticsJob
) transcription requests.
Trait Implementations§
source§impl PartialEq for Media
impl PartialEq for Media
impl StructuralPartialEq for Media
Auto Trait Implementations§
impl Freeze for Media
impl RefUnwindSafe for Media
impl Send for Media
impl Sync for Media
impl Unpin for Media
impl UnwindSafe for Media
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more