pub struct BucketOperations { /* private fields */ }Implementations§
Source§impl BucketOperations
impl BucketOperations
pub fn bucket_name(&self) -> &BucketName
Source§impl BucketOperations
impl BucketOperations
pub fn create(&self) -> PutBucketBuilder
pub fn delete(&self) -> DeleteBucketBuilder
pub fn get_info(&self) -> GetBucketInfoBuilder
pub fn get_stat(&self) -> GetBucketStatBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_access_monitor( &self, status: impl Into<String>, ) -> PutBucketAccessMonitorBuilder
pub fn get_access_monitor(&self) -> GetBucketAccessMonitorBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_acl(&self, acl: BucketAcl) -> PutBucketAclBuilder
pub fn get_acl(&self) -> GetBucketAclBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_archive_direct_read( &self, enabled: bool, ) -> PutBucketArchiveReadBuilder
pub fn get_archive_direct_read(&self) -> GetBucketArchiveReadBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_cname(&self, domain: impl Into<String>) -> PutBucketCnameBuilder
pub fn list_cname(&self) -> ListBucketCnameBuilder
pub fn delete_cname( &self, domain: impl Into<String>, ) -> DeleteBucketCnameBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_cors(&self, rules: Vec<CorsRule>) -> PutBucketCorsBuilder
pub fn get_cors(&self) -> GetBucketCorsBuilder
pub fn delete_cors(&self) -> DeleteBucketCorsBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_encryption( &self, config: ServerSideEncryptionConfiguration, ) -> PutBucketEncryptionBuilder
pub fn get_encryption(&self) -> GetBucketEncryptionBuilder
pub fn delete_encryption(&self) -> DeleteBucketEncryptionBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_inventory( &self, inventory_id: String, body_xml: String, ) -> PutBucketInventoryBuilder
pub fn get_inventory(&self, inventory_id: String) -> GetBucketInventoryBuilder
pub fn delete_inventory( &self, inventory_id: String, ) -> DeleteBucketInventoryBuilder
pub fn list_inventory(&self) -> ListBucketInventoryBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_lifecycle( &self, rules: Vec<LifecycleRule>, ) -> PutBucketLifecycleBuilder
pub fn get_lifecycle(&self) -> GetBucketLifecycleBuilder
pub fn delete_lifecycle(&self) -> DeleteBucketLifecycleBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_logging(&self) -> PutBucketLoggingBuilder
pub fn get_logging(&self) -> GetBucketLoggingBuilder
pub fn delete_logging(&self) -> DeleteBucketLoggingBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_policy(&self, policy: String) -> PutBucketPolicyBuilder
pub fn get_policy(&self) -> GetBucketPolicyBuilder
pub fn delete_policy(&self) -> DeleteBucketPolicyBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_public_access_block( &self, block: bool, ) -> PutPublicAccessBlockBuilder
pub fn get_public_access_block(&self) -> GetPublicAccessBlockBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_redundancy_transition( &self, task_id: impl Into<String>, ) -> PutBucketRedundancyBuilder
pub fn get_redundancy_transition(&self) -> GetBucketRedundancyBuilder
pub fn delete_redundancy_transition( &self, task_id: impl Into<String>, ) -> DeleteBucketRedundancyBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_referer(&self) -> PutBucketRefererBuilder
pub fn get_referer(&self) -> GetBucketRefererBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_replication(&self, body_xml: String) -> PutBucketReplicationBuilder
pub fn get_replication(&self) -> GetBucketReplicationBuilder
pub fn delete_replication( &self, replication_rule_id: String, ) -> DeleteBucketReplicationBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_request_payment( &self, payer: impl Into<String>, ) -> PutBucketRequestPaymentBuilder
pub fn get_request_payment(&self) -> GetBucketRequestPaymentBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_resource_group( &self, group_id: impl Into<String>, ) -> PutBucketResourceGroupBuilder
pub fn get_resource_group(&self) -> GetBucketResourceGroupBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_style( &self, name: impl Into<String>, content: impl Into<String>, ) -> PutBucketStyleBuilder
pub fn get_style(&self, name: impl Into<String>) -> GetBucketStyleBuilder
pub fn list_style(&self) -> ListBucketStyleBuilder
pub fn delete_style(&self, name: impl Into<String>) -> DeleteBucketStyleBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_tls(&self, versions: Vec<String>) -> PutBucketTlsBuilder
pub fn get_tls(&self) -> GetBucketTlsBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_transfer_acceleration( &self, enabled: bool, ) -> PutBucketTransferAccelBuilder
pub fn get_transfer_acceleration(&self) -> GetBucketTransferAccelBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_versioning( &self, status: impl Into<String>, ) -> PutBucketVersioningBuilder
pub fn get_versioning(&self) -> GetBucketVersioningBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_website( &self, index_suffix: impl Into<String>, ) -> PutBucketWebsiteBuilder
pub fn get_website(&self) -> GetBucketWebsiteBuilder
pub fn delete_website(&self) -> DeleteBucketWebsiteBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn initiate_worm(&self, retention_days: i32) -> InitiateBucketWormBuilder
pub fn abort_worm(&self) -> AbortBucketWormBuilder
pub fn complete_worm(&self, worm_id: String) -> CompleteBucketWormBuilder
pub fn extend_worm( &self, worm_id: String, extension_days: i32, ) -> ExtendBucketWormBuilder
pub fn get_worm(&self) -> GetBucketWormBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn put_object(&self, key: impl Into<String>) -> Result<PutObjectBuilder>
pub fn get_object(&self, key: impl Into<String>) -> Result<GetObjectBuilder>
pub fn head_object(&self, key: impl Into<String>) -> Result<HeadObjectBuilder>
pub fn delete_object( &self, key: impl Into<String>, ) -> Result<DeleteObjectBuilder>
pub fn get_object_meta( &self, key: impl Into<String>, ) -> Result<GetObjectMetaBuilder>
pub fn delete_multiple_objects( &self, keys: Vec<String>, ) -> DeleteMultipleObjectsBuilder
pub fn process_object( &self, key: impl Into<String>, style: impl Into<String>, ) -> Result<GetObjectBuilder>
Source§impl BucketOperations
impl BucketOperations
pub fn get_object_acl( &self, key: impl Into<String>, ) -> Result<GetObjectAclBuilder>
pub fn put_object_acl( &self, key: impl Into<String>, acl: ObjectAcl, ) -> Result<PutObjectAclBuilder>
Source§impl BucketOperations
impl BucketOperations
pub fn append_object( &self, key: impl Into<String>, position: u64, body: impl Into<Bytes>, ) -> Result<AppendObjectBuilder>
Source§impl BucketOperations
impl BucketOperations
pub fn copy_object( &self, dest_key: impl Into<String>, source_bucket: &BucketName, source_key: &ObjectKey, ) -> Result<CopyObjectBuilder>
Source§impl BucketOperations
impl BucketOperations
pub fn list_objects(&self) -> ListObjectsBuilder
pub fn list_objects_v2(&self) -> ListObjectsV2Builder
pub fn list_object_versions(&self) -> ListObjectVersionsBuilder
Source§impl BucketOperations
impl BucketOperations
pub fn initiate_multipart_upload( &self, key: impl Into<String>, ) -> Result<InitiateMultipartUploadBuilder>
pub fn upload_part( &self, key: impl Into<String>, upload_id: impl Into<String>, part_number: u32, ) -> Result<UploadPartBuilder>
pub fn upload_part_copy( &self, key: impl Into<String>, upload_id: impl Into<String>, part_number: u32, ) -> Result<UploadPartCopyBuilder>
pub fn complete_multipart_upload( &self, key: impl Into<String>, upload_id: impl Into<String>, ) -> Result<CompleteMultipartUploadBuilder>
pub fn abort_multipart_upload( &self, key: impl Into<String>, upload_id: impl Into<String>, ) -> Result<AbortMultipartUploadBuilder>
pub fn list_multipart_uploads(&self) -> ListMultipartUploadsBuilder
pub fn list_parts( &self, key: impl Into<String>, upload_id: impl Into<String>, ) -> Result<ListPartsBuilder>
Source§impl BucketOperations
impl BucketOperations
pub fn restore_object( &self, key: impl Into<String>, days: i32, ) -> Result<RestoreObjectBuilder>
Source§impl BucketOperations
impl BucketOperations
pub fn put_symlink( &self, key: impl Into<String>, target: impl Into<String>, ) -> Result<PutSymlinkBuilder>
pub fn get_symlink(&self, key: impl Into<String>) -> Result<GetSymlinkBuilder>
Source§impl BucketOperations
impl BucketOperations
pub fn put_object_tagging( &self, key: impl Into<String>, ) -> Result<PutObjectTaggingBuilder>
pub fn get_object_tagging( &self, key: impl Into<String>, ) -> Result<GetObjectTaggingBuilder>
pub fn delete_object_tagging( &self, key: impl Into<String>, ) -> Result<DeleteObjectTaggingBuilder>
Auto Trait Implementations§
impl Freeze for BucketOperations
impl !RefUnwindSafe for BucketOperations
impl Send for BucketOperations
impl Sync for BucketOperations
impl Unpin for BucketOperations
impl UnsafeUnpin for BucketOperations
impl !UnwindSafe for BucketOperations
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
Mutably borrows from an owned value. Read more