Struct aws_sdk_transcribe::model::JobExecutionSettings
source · [−]#[non_exhaustive]pub struct JobExecutionSettings { /* private fields */ }Expand description
Allows you 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.
Implementations
sourceimpl JobExecutionSettings
impl JobExecutionSettings
sourcepub fn allow_deferred_execution(&self) -> Option<bool>
pub fn allow_deferred_execution(&self) -> Option<bool>
Allows you 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.
Note that job queuing is enabled by default for Call Analytics jobs.
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 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.
sourceimpl JobExecutionSettings
impl JobExecutionSettings
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture JobExecutionSettings.
Trait Implementations
sourceimpl Clone for JobExecutionSettings
impl Clone for JobExecutionSettings
sourcefn clone(&self) -> JobExecutionSettings
fn clone(&self) -> JobExecutionSettings
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 JobExecutionSettings
impl Debug for JobExecutionSettings
sourceimpl PartialEq<JobExecutionSettings> for JobExecutionSettings
impl PartialEq<JobExecutionSettings> for JobExecutionSettings
sourcefn eq(&self, other: &JobExecutionSettings) -> bool
fn eq(&self, other: &JobExecutionSettings) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for JobExecutionSettings
Auto Trait Implementations
impl RefUnwindSafe for JobExecutionSettings
impl Send for JobExecutionSettings
impl Sync for JobExecutionSettings
impl Unpin for JobExecutionSettings
impl UnwindSafe for JobExecutionSettings
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