Struct aws_sdk_s3control::input::CreateJobInput
source · [−]#[non_exhaustive]pub struct CreateJobInput {
pub account_id: Option<String>,
pub confirmation_required: Option<bool>,
pub operation: Option<JobOperation>,
pub report: Option<JobReport>,
pub client_request_token: Option<String>,
pub manifest: Option<JobManifest>,
pub description: Option<String>,
pub priority: Option<i32>,
pub role_arn: Option<String>,
pub tags: Option<Vec<S3Tag>>,
pub manifest_generator: Option<JobManifestGenerator>,
}
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.account_id: Option<String>
The Amazon Web Services account ID that creates the job.
confirmation_required: Option<bool>
Indicates whether confirmation is required before Amazon S3 runs the job. Confirmation is only required for jobs created through the Amazon S3 console.
operation: Option<JobOperation>
The action that you want this job to perform on every object listed in the manifest. For more information about the available actions, see Operations in the Amazon S3 User Guide.
report: Option<JobReport>
Configuration parameters for the optional job-completion report.
client_request_token: Option<String>
An idempotency token to ensure that you don't accidentally submit the same request twice. You can use any string up to the maximum length.
manifest: Option<JobManifest>
Configuration parameters for the manifest.
description: Option<String>
A description for this job. You can use any string within the permitted length. Descriptions don't need to be unique and can be used for multiple jobs.
priority: Option<i32>
The numerical priority for this job. Higher numbers indicate higher priority.
role_arn: Option<String>
The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role that Batch Operations will use to run this job's action on every object in the manifest.
A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.
manifest_generator: Option<JobManifestGenerator>
The attribute container for the ManifestGenerator details. Jobs must be created with either a manifest file or a ManifestGenerator, but not both.
Implementations
sourceimpl CreateJobInput
impl CreateJobInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateJob, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateJob, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateJob
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateJobInput
sourceimpl CreateJobInput
impl CreateJobInput
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The Amazon Web Services account ID that creates the job.
sourcepub fn confirmation_required(&self) -> Option<bool>
pub fn confirmation_required(&self) -> Option<bool>
Indicates whether confirmation is required before Amazon S3 runs the job. Confirmation is only required for jobs created through the Amazon S3 console.
sourcepub fn operation(&self) -> Option<&JobOperation>
pub fn operation(&self) -> Option<&JobOperation>
The action that you want this job to perform on every object listed in the manifest. For more information about the available actions, see Operations in the Amazon S3 User Guide.
sourcepub fn report(&self) -> Option<&JobReport>
pub fn report(&self) -> Option<&JobReport>
Configuration parameters for the optional job-completion report.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
An idempotency token to ensure that you don't accidentally submit the same request twice. You can use any string up to the maximum length.
sourcepub fn manifest(&self) -> Option<&JobManifest>
pub fn manifest(&self) -> Option<&JobManifest>
Configuration parameters for the manifest.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for this job. You can use any string within the permitted length. Descriptions don't need to be unique and can be used for multiple jobs.
sourcepub fn priority(&self) -> Option<i32>
pub fn priority(&self) -> Option<i32>
The numerical priority for this job. Higher numbers indicate higher priority.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role that Batch Operations will use to run this job's action on every object in the manifest.
A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.
sourcepub fn manifest_generator(&self) -> Option<&JobManifestGenerator>
pub fn manifest_generator(&self) -> Option<&JobManifestGenerator>
The attribute container for the ManifestGenerator details. Jobs must be created with either a manifest file or a ManifestGenerator, but not both.
Trait Implementations
sourceimpl Clone for CreateJobInput
impl Clone for CreateJobInput
sourcefn clone(&self) -> CreateJobInput
fn clone(&self) -> CreateJobInput
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 CreateJobInput
impl Debug for CreateJobInput
sourceimpl PartialEq<CreateJobInput> for CreateJobInput
impl PartialEq<CreateJobInput> for CreateJobInput
sourcefn eq(&self, other: &CreateJobInput) -> bool
fn eq(&self, other: &CreateJobInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateJobInput) -> bool
fn ne(&self, other: &CreateJobInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateJobInput
Auto Trait Implementations
impl RefUnwindSafe for CreateJobInput
impl Send for CreateJobInput
impl Sync for CreateJobInput
impl Unpin for CreateJobInput
impl UnwindSafe for CreateJobInput
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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