Struct aws_sdk_s3control::model::JobOperation
source · [−]#[non_exhaustive]pub struct JobOperation {
pub lambda_invoke: Option<LambdaInvokeOperation>,
pub s3_put_object_copy: Option<S3CopyObjectOperation>,
pub s3_put_object_acl: Option<S3SetObjectAclOperation>,
pub s3_put_object_tagging: Option<S3SetObjectTaggingOperation>,
pub s3_delete_object_tagging: Option<S3DeleteObjectTaggingOperation>,
pub s3_initiate_restore_object: Option<S3InitiateRestoreObjectOperation>,
pub s3_put_object_legal_hold: Option<S3SetObjectLegalHoldOperation>,
pub s3_put_object_retention: Option<S3SetObjectRetentionOperation>,
pub s3_replicate_object: Option<S3ReplicateObjectOperation>,
}
Expand description
The operation that you want this job to perform on every object listed in the manifest. For more information about the available operations, see Operations in the Amazon S3 User 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.lambda_invoke: Option<LambdaInvokeOperation>
Directs the specified job to invoke an Lambda function on every object in the manifest.
s3_put_object_copy: Option<S3CopyObjectOperation>
Directs the specified job to run a PUT Copy object call on every object in the manifest.
s3_put_object_acl: Option<S3SetObjectAclOperation>
Directs the specified job to run a PUT Object acl call on every object in the manifest.
s3_put_object_tagging: Option<S3SetObjectTaggingOperation>
Directs the specified job to run a PUT Object tagging call on every object in the manifest.
s3_delete_object_tagging: Option<S3DeleteObjectTaggingOperation>
Directs the specified job to execute a DELETE Object tagging call on every object in the manifest.
s3_initiate_restore_object: Option<S3InitiateRestoreObjectOperation>
Directs the specified job to initiate restore requests for every archived object in the manifest.
s3_put_object_legal_hold: Option<S3SetObjectLegalHoldOperation>
Contains the configuration for an S3 Object Lock legal hold operation that an S3 Batch Operations job passes every object to the underlying PutObjectLegalHold
API. For more information, see Using S3 Object Lock legal hold with S3 Batch Operations in the Amazon S3 User Guide.
s3_put_object_retention: Option<S3SetObjectRetentionOperation>
Contains the configuration parameters for the Object Lock retention action for an S3 Batch Operations job. Batch Operations passes every object to the underlying PutObjectRetention
API. For more information, see Using S3 Object Lock retention with S3 Batch Operations in the Amazon S3 User Guide.
s3_replicate_object: Option<S3ReplicateObjectOperation>
Directs the specified job to invoke ReplicateObject
on every object in the job's manifest.
Implementations
sourceimpl JobOperation
impl JobOperation
sourcepub fn lambda_invoke(&self) -> Option<&LambdaInvokeOperation>
pub fn lambda_invoke(&self) -> Option<&LambdaInvokeOperation>
Directs the specified job to invoke an Lambda function on every object in the manifest.
sourcepub fn s3_put_object_copy(&self) -> Option<&S3CopyObjectOperation>
pub fn s3_put_object_copy(&self) -> Option<&S3CopyObjectOperation>
Directs the specified job to run a PUT Copy object call on every object in the manifest.
sourcepub fn s3_put_object_acl(&self) -> Option<&S3SetObjectAclOperation>
pub fn s3_put_object_acl(&self) -> Option<&S3SetObjectAclOperation>
Directs the specified job to run a PUT Object acl call on every object in the manifest.
sourcepub fn s3_put_object_tagging(&self) -> Option<&S3SetObjectTaggingOperation>
pub fn s3_put_object_tagging(&self) -> Option<&S3SetObjectTaggingOperation>
Directs the specified job to run a PUT Object tagging call on every object in the manifest.
sourcepub fn s3_delete_object_tagging(
&self
) -> Option<&S3DeleteObjectTaggingOperation>
pub fn s3_delete_object_tagging(
&self
) -> Option<&S3DeleteObjectTaggingOperation>
Directs the specified job to execute a DELETE Object tagging call on every object in the manifest.
sourcepub fn s3_initiate_restore_object(
&self
) -> Option<&S3InitiateRestoreObjectOperation>
pub fn s3_initiate_restore_object(
&self
) -> Option<&S3InitiateRestoreObjectOperation>
Directs the specified job to initiate restore requests for every archived object in the manifest.
sourcepub fn s3_put_object_legal_hold(&self) -> Option<&S3SetObjectLegalHoldOperation>
pub fn s3_put_object_legal_hold(&self) -> Option<&S3SetObjectLegalHoldOperation>
Contains the configuration for an S3 Object Lock legal hold operation that an S3 Batch Operations job passes every object to the underlying PutObjectLegalHold
API. For more information, see Using S3 Object Lock legal hold with S3 Batch Operations in the Amazon S3 User Guide.
sourcepub fn s3_put_object_retention(&self) -> Option<&S3SetObjectRetentionOperation>
pub fn s3_put_object_retention(&self) -> Option<&S3SetObjectRetentionOperation>
Contains the configuration parameters for the Object Lock retention action for an S3 Batch Operations job. Batch Operations passes every object to the underlying PutObjectRetention
API. For more information, see Using S3 Object Lock retention with S3 Batch Operations in the Amazon S3 User Guide.
sourcepub fn s3_replicate_object(&self) -> Option<&S3ReplicateObjectOperation>
pub fn s3_replicate_object(&self) -> Option<&S3ReplicateObjectOperation>
Directs the specified job to invoke ReplicateObject
on every object in the job's manifest.
sourceimpl JobOperation
impl JobOperation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture JobOperation
Trait Implementations
sourceimpl Clone for JobOperation
impl Clone for JobOperation
sourcefn clone(&self) -> JobOperation
fn clone(&self) -> JobOperation
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 JobOperation
impl Debug for JobOperation
sourceimpl PartialEq<JobOperation> for JobOperation
impl PartialEq<JobOperation> for JobOperation
sourcefn eq(&self, other: &JobOperation) -> bool
fn eq(&self, other: &JobOperation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &JobOperation) -> bool
fn ne(&self, other: &JobOperation) -> bool
This method tests for !=
.
impl StructuralPartialEq for JobOperation
Auto Trait Implementations
impl RefUnwindSafe for JobOperation
impl Send for JobOperation
impl Sync for JobOperation
impl Unpin for JobOperation
impl UnwindSafe for JobOperation
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