Struct aws_sdk_transcribe::types::JobExecutionSettings
source · #[non_exhaustive]pub struct JobExecutionSettings {
pub allow_deferred_execution: Option<bool>,
pub data_access_role_arn: Option<String>,
}Expand description
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.
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.allow_deferred_execution: Option<bool>Makes it possible to enable job queuing when your concurrent request limit is exceeded. When AllowDeferredExecution is set to true, transcription job requests are placed in a queue until the number of jobs falls below the concurrent request limit. If AllowDeferredExecution is set to false and the number of transcription job requests exceed the concurrent request limit, you get a LimitExceededException error.
If you include AllowDeferredExecution in your request, you must also include DataAccessRoleArn.
data_access_role_arn: Option<String>The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files. If the role that you specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails.
IAM role ARNs have the format arn:partition:iam::account:role/role-name-with-path. For example: arn:aws:iam::111122223333:role/Admin. For more information, see IAM ARNs.
Note that if you include DataAccessRoleArn in your request, you must also include AllowDeferredExecution.
Implementations§
source§impl JobExecutionSettings
impl JobExecutionSettings
sourcepub fn allow_deferred_execution(&self) -> Option<bool>
pub fn allow_deferred_execution(&self) -> Option<bool>
Makes it possible to enable job queuing when your concurrent request limit is exceeded. When AllowDeferredExecution is set to true, transcription job requests are placed in a queue until the number of jobs falls below the concurrent request limit. If AllowDeferredExecution is set to false and the number of transcription job requests exceed the concurrent request limit, you get a LimitExceededException error.
If you include AllowDeferredExecution in your request, you must also include DataAccessRoleArn.
sourcepub fn data_access_role_arn(&self) -> Option<&str>
pub fn data_access_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files. If the role that you specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails.
IAM role ARNs have the format arn:partition:iam::account:role/role-name-with-path. For example: arn:aws:iam::111122223333:role/Admin. For more information, see IAM ARNs.
Note that if you include DataAccessRoleArn in your request, you must also include AllowDeferredExecution.
source§impl JobExecutionSettings
impl JobExecutionSettings
sourcepub fn builder() -> JobExecutionSettingsBuilder
pub fn builder() -> JobExecutionSettingsBuilder
Creates a new builder-style object to manufacture JobExecutionSettings.
Trait Implementations§
source§impl Clone for JobExecutionSettings
impl Clone for JobExecutionSettings
source§fn clone(&self) -> JobExecutionSettings
fn clone(&self) -> JobExecutionSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for JobExecutionSettings
impl Debug for JobExecutionSettings
source§impl PartialEq for JobExecutionSettings
impl PartialEq for JobExecutionSettings
source§fn eq(&self, other: &JobExecutionSettings) -> bool
fn eq(&self, other: &JobExecutionSettings) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for JobExecutionSettings
Auto Trait Implementations§
impl Freeze for JobExecutionSettings
impl RefUnwindSafe for JobExecutionSettings
impl Send for JobExecutionSettings
impl Sync for JobExecutionSettings
impl Unpin for JobExecutionSettings
impl UnwindSafe for JobExecutionSettings
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