Struct aws_sdk_s3control::types::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 PutObjectAcl
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 to every object to the underlying PutObjectLegalHold
API operation. 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 operation. 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§
source§impl 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 PutObjectAcl
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 to every object to the underlying PutObjectLegalHold
API operation. 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 operation. 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.
source§impl JobOperation
impl JobOperation
sourcepub fn builder() -> JobOperationBuilder
pub fn builder() -> JobOperationBuilder
Creates a new builder-style object to manufacture JobOperation
.
Trait Implementations§
source§impl Clone for JobOperation
impl Clone for JobOperation
source§fn clone(&self) -> JobOperation
fn clone(&self) -> JobOperation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobOperation
impl Debug for JobOperation
source§impl PartialEq for JobOperation
impl PartialEq for JobOperation
source§fn eq(&self, other: &JobOperation) -> bool
fn eq(&self, other: &JobOperation) -> bool
self
and other
values to be equal, and is used
by ==
.