Struct aws_sdk_s3control::operation::create_job::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§
source§impl 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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
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.
source§impl CreateJobInput
impl CreateJobInput
sourcepub fn builder() -> CreateJobInputBuilder
pub fn builder() -> CreateJobInputBuilder
Creates a new builder-style object to manufacture CreateJobInput
.
Trait Implementations§
source§impl Clone for CreateJobInput
impl Clone for CreateJobInput
source§fn clone(&self) -> CreateJobInput
fn clone(&self) -> CreateJobInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateJobInput
impl Debug for CreateJobInput
source§impl PartialEq for CreateJobInput
impl PartialEq for CreateJobInput
impl StructuralPartialEq for CreateJobInput
Auto Trait Implementations§
impl Freeze for CreateJobInput
impl RefUnwindSafe for CreateJobInput
impl Send for CreateJobInput
impl Sync for CreateJobInput
impl Unpin for CreateJobInput
impl UnwindSafe for CreateJobInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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