pub struct Client { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AbortBucketWormOps for Client
impl AbortBucketWormOps for Client
Source§impl AppendObjectOperations for Client
impl AppendObjectOperations for Client
Source§async fn append_object<T>(
&self,
object_key: impl Into<String>,
position: u64,
body: T,
options: Option<AppendObjectOptions>,
) -> Result<AppendObjectResponse>
async fn append_object<T>( &self, object_key: impl Into<String>, position: u64, body: T, options: Option<AppendObjectOptions>, ) -> Result<AppendObjectResponse>
Append data to an Appendable object.
Source§async fn append_object_stream<S>(
&self,
object_key: impl Into<String>,
position: u64,
body: S,
options: Option<AppendObjectOptions>,
) -> Result<AppendObjectResponse>
async fn append_object_stream<S>( &self, object_key: impl Into<String>, position: u64, body: S, options: Option<AppendObjectOptions>, ) -> Result<AppendObjectResponse>
Append streaming data to an Appendable object.
Source§impl CloseMetaQueryOps for Client
impl CloseMetaQueryOps for Client
Source§impl CompleteBucketWormOps for Client
impl CompleteBucketWormOps for Client
Source§impl CompleteMultipartUploadOperations for Client
impl CompleteMultipartUploadOperations for Client
Source§async fn complete_multipart_upload(
&self,
object_key: impl Into<String>,
upload_id: impl Into<String>,
parts: Vec<Part>,
options: Option<CompleteMultipartUploadOptions>,
) -> Result<CompleteMultipartUploadResult>
async fn complete_multipart_upload( &self, object_key: impl Into<String>, upload_id: impl Into<String>, parts: Vec<Part>, options: Option<CompleteMultipartUploadOptions>, ) -> Result<CompleteMultipartUploadResult>
Complete multipart upload Read more
Source§async fn complete_multipart_upload_auto(
&self,
object_key: impl Into<String>,
upload_id: impl Into<String>,
options: Option<CompleteMultipartUploadOptions>,
) -> Result<CompleteMultipartUploadResult>
async fn complete_multipart_upload_auto( &self, object_key: impl Into<String>, upload_id: impl Into<String>, options: Option<CompleteMultipartUploadOptions>, ) -> Result<CompleteMultipartUploadResult>
Automatically complete multipart upload (server lists and sorts all parts)
Source§impl CopyObjectOperations for Client
impl CopyObjectOperations for Client
Source§async fn copy_object(
&self,
source_bucket: impl Into<String>,
source_key: impl Into<String>,
target_key: impl Into<String>,
options: Option<CopyObjectOptions>,
) -> Result<CopyObjectResult>
async fn copy_object( &self, source_bucket: impl Into<String>, source_key: impl Into<String>, target_key: impl Into<String>, options: Option<CopyObjectOptions>, ) -> Result<CopyObjectResult>
Copy an object within a bucket or between buckets in the same region Read more
Source§async fn copy_object_with_version_id(
&self,
source_bucket: impl Into<String>,
source_key: impl Into<String>,
source_version_id: impl Into<String>,
target_key: impl Into<String>,
options: Option<CopyObjectOptions>,
) -> Result<CopyObjectResult>
async fn copy_object_with_version_id( &self, source_bucket: impl Into<String>, source_key: impl Into<String>, source_version_id: impl Into<String>, target_key: impl Into<String>, options: Option<CopyObjectOptions>, ) -> Result<CopyObjectResult>
Copy an object within a bucket or between buckets in the same region Read more
Source§impl CreateAccessPointForObjectProcessOps for Client
impl CreateAccessPointForObjectProcessOps for Client
Source§async fn create_access_point_for_object_process(
&self,
fc_ap_name: impl Into<String>,
config: CreateAccessPointForObjectProcessConfiguration,
) -> Result<CreateAccessPointForObjectProcessResult>
async fn create_access_point_for_object_process( &self, fc_ap_name: impl Into<String>, config: CreateAccessPointForObjectProcessConfiguration, ) -> Result<CreateAccessPointForObjectProcessResult>
Create an Object FC access point backed by a Function Compute function. Read more
Source§impl CreateAccessPointOps for Client
impl CreateAccessPointOps for Client
Source§async fn create_access_point(
&self,
config: CreateAccessPointConfiguration,
) -> Result<CreateAccessPointResult>
async fn create_access_point( &self, config: CreateAccessPointConfiguration, ) -> Result<CreateAccessPointResult>
Create an access point for the bucket. Read more
Source§impl CreateBucketDataRedundancyTransitionOps for Client
impl CreateBucketDataRedundancyTransitionOps for Client
Source§async fn create_bucket_data_redundancy_transition(
&self,
target: DataRedundancyType,
) -> Result<CreateBucketDataRedundancyTransitionResponse>
async fn create_bucket_data_redundancy_transition( &self, target: DataRedundancyType, ) -> Result<CreateBucketDataRedundancyTransitionResponse>
Start a redundancy type conversion task on the bucket. Read more
Source§impl CreateCnameTokenOps for Client
impl CreateCnameTokenOps for Client
Source§async fn create_cname_token(
&self,
domain: impl Into<String>,
) -> Result<CnameToken>
async fn create_cname_token( &self, domain: impl Into<String>, ) -> Result<CnameToken>
Create a CNAME token used to verify ownership of a custom domain. Read more
Source§impl CreateDirectoryOperations for Client
impl CreateDirectoryOperations for Client
Source§impl CreateSelectObjectMetaOps for Client
impl CreateSelectObjectMetaOps for Client
Source§async fn create_select_csv_object_meta(
&self,
key: impl Into<String>,
request: CsvMetaRequest,
) -> Result<SelectFrameStream<Response>>
async fn create_select_csv_object_meta( &self, key: impl Into<String>, request: CsvMetaRequest, ) -> Result<SelectFrameStream<Response>>
Build a meta-index for a CSV object. Read more
Source§async fn create_select_json_object_meta(
&self,
key: impl Into<String>,
request: JsonMetaRequest,
) -> Result<SelectFrameStream<Response>>
async fn create_select_json_object_meta( &self, key: impl Into<String>, request: JsonMetaRequest, ) -> Result<SelectFrameStream<Response>>
Build a meta-index for a JSON-Lines object.
Source§impl DataIndexingOperations for Client
impl DataIndexingOperations for Client
Source§async fn do_meta_query(
&self,
mode: DoMetaQueryMode,
body: MetaQueryBody,
query: DoMetaQueryParams,
) -> Result<MetaQueryResponse>
async fn do_meta_query( &self, mode: DoMetaQueryMode, body: MetaQueryBody, query: DoMetaQueryParams, ) -> Result<MetaQueryResponse>
Query files (objects) that meet the specified conditions Read more
Source§impl DeleteAccessPointOps for Client
impl DeleteAccessPointOps for Client
Source§impl DeleteAccessPointPolicyOps for Client
impl DeleteAccessPointPolicyOps for Client
Source§impl DeleteBucketCorsOps for Client
impl DeleteBucketCorsOps for Client
Source§impl DeleteBucketEncryptionOps for Client
impl DeleteBucketEncryptionOps for Client
Source§impl DeleteBucketInventoryOps for Client
impl DeleteBucketInventoryOps for Client
Source§impl DeleteBucketLifecycleOps for Client
impl DeleteBucketLifecycleOps for Client
Source§impl DeleteBucketLoggingOps for Client
impl DeleteBucketLoggingOps for Client
Source§impl DeleteBucketOps for Client
impl DeleteBucketOps for Client
Source§impl DeleteBucketPolicyOps for Client
impl DeleteBucketPolicyOps for Client
Source§impl DeleteBucketQoSInfoOps for Client
impl DeleteBucketQoSInfoOps for Client
Source§impl DeleteBucketReplicationOps for Client
impl DeleteBucketReplicationOps for Client
Source§impl DeleteBucketTagsOps for Client
impl DeleteBucketTagsOps for Client
Delete the tags configured on the bucket. Read more
Source§impl DeleteBucketWebsiteOps for Client
impl DeleteBucketWebsiteOps for Client
Source§impl DeleteCnameOps for Client
impl DeleteCnameOps for Client
Source§impl DeleteDirectoryOperations for Client
impl DeleteDirectoryOperations for Client
async fn delete_directory( &self, object_key: impl Into<String>, options: Option<DeleteDirectoryOptions>, ) -> Result<DeleteDirectoryResponse>
Source§impl DeleteLiveChannelOperations for Client
impl DeleteLiveChannelOperations for Client
Source§impl DeleteMultipleObjectsOperations for Client
impl DeleteMultipleObjectsOperations for Client
Source§async fn delete_multiple_objects(
&self,
configuration: DeleteMultipleObjectsConfiguration,
encoding_type: Option<String>,
) -> Result<DeleteMultipleObjectsResponse>
async fn delete_multiple_objects( &self, configuration: DeleteMultipleObjectsConfiguration, encoding_type: Option<String>, ) -> Result<DeleteMultipleObjectsResponse>
Delete multiple objects in a single request.
Source§impl DeleteObjectOperations for Client
impl DeleteObjectOperations for Client
Source§async fn delete_object(
&self,
object_key: impl Into<String>,
params: Option<DeleteObjectParams>,
) -> Result<()>
async fn delete_object( &self, object_key: impl Into<String>, params: Option<DeleteObjectParams>, ) -> Result<()>
Delete an object Read more
Source§impl DeleteObjectTaggingOperations for Client
impl DeleteObjectTaggingOperations for Client
async fn delete_object_tagging( &self, object_key: impl Into<String>, params: Option<DeleteObjectTaggingParams>, ) -> Result<()>
Source§impl DeletePublicAccessBlockOps for Client
impl DeletePublicAccessBlockOps for Client
Source§impl DeleteStyleOps for Client
impl DeleteStyleOps for Client
Source§impl DeleteVectorBucketOps for Client
impl DeleteVectorBucketOps for Client
Source§impl DeleteVectorIndexOps for Client
impl DeleteVectorIndexOps for Client
Source§impl DeleteVectorsOps for Client
impl DeleteVectorsOps for Client
Source§async fn delete_vectors(&self, request: DeleteVectorsRequest) -> Result<()>
async fn delete_vectors(&self, request: DeleteVectorsRequest) -> Result<()>
Batch-delete up to 500 vectors by key. Missing keys are silently
skipped. The operation is not atomic — a 5xx response can leave
partial deletions. Read more
Source§impl DescribeRegionsOps for Client
impl DescribeRegionsOps for Client
Source§async fn describe_regions(&self) -> Result<RegionInfoList>
async fn describe_regions(&self) -> Result<RegionInfoList>
Query endpoints of all supported OSS regions. Read more
Source§async fn describe_region(
&self,
region: impl Into<String>,
) -> Result<RegionInfoList>
async fn describe_region( &self, region: impl Into<String>, ) -> Result<RegionInfoList>
Query endpoints of a single OSS region.
Source§impl ExtendBucketWormOps for Client
impl ExtendBucketWormOps for Client
Source§impl GetAccessPointConfigForObjectProcessOps for Client
impl GetAccessPointConfigForObjectProcessOps for Client
Source§async fn get_access_point_config_for_object_process(
&self,
fc_ap_name: impl Into<String>,
) -> Result<GetAccessPointConfigForObjectProcessResult>
async fn get_access_point_config_for_object_process( &self, fc_ap_name: impl Into<String>, ) -> Result<GetAccessPointConfigForObjectProcessResult>
Retrieve the current configuration of an Object FC access point. Read more
Source§impl GetAccessPointForObjectProcessOps for Client
impl GetAccessPointForObjectProcessOps for Client
Source§async fn get_access_point_for_object_process(
&self,
fc_ap_name: impl Into<String>,
) -> Result<GetAccessPointForObjectProcessResult>
async fn get_access_point_for_object_process( &self, fc_ap_name: impl Into<String>, ) -> Result<GetAccessPointForObjectProcessResult>
Retrieve basic information about an Object FC access point. Read more
Source§impl GetAccessPointOps for Client
impl GetAccessPointOps for Client
Source§async fn get_access_point(
&self,
name: impl Into<String>,
) -> Result<GetAccessPointResult>
async fn get_access_point( &self, name: impl Into<String>, ) -> Result<GetAccessPointResult>
Retrieve the full configuration of a named access point. Read more
Source§impl GetAccessPointPolicyOps for Client
impl GetAccessPointPolicyOps for Client
Source§impl GetAccessPointPublicAccessBlockOps for Client
impl GetAccessPointPublicAccessBlockOps for Client
Source§async fn get_access_point_public_access_block(
&self,
name: impl Into<String>,
) -> Result<PublicAccessBlockConfiguration>
async fn get_access_point_public_access_block( &self, name: impl Into<String>, ) -> Result<PublicAccessBlockConfiguration>
Retrieve the Block Public Access configuration of an access point. Read more
Source§impl GetBucketAccessMonitorOps for Client
impl GetBucketAccessMonitorOps for Client
Source§async fn get_bucket_access_monitor(&self) -> Result<AccessMonitorConfiguration>
async fn get_bucket_access_monitor(&self) -> Result<AccessMonitorConfiguration>
Query the bucket access-tracking status. Read more
Source§impl GetBucketAclOps for Client
impl GetBucketAclOps for Client
Source§async fn get_bucket_acl(&self) -> Result<AccessControlPolicy>
async fn get_bucket_acl(&self) -> Result<AccessControlPolicy>
Query the ACL of the bucket. Read more
Source§impl GetBucketArchiveDirectReadOps for Client
impl GetBucketArchiveDirectReadOps for Client
Source§async fn get_bucket_archive_direct_read(
&self,
) -> Result<ArchiveDirectReadConfiguration>
async fn get_bucket_archive_direct_read( &self, ) -> Result<ArchiveDirectReadConfiguration>
Query whether real-time Archive access is enabled for the bucket. Read more
Source§impl GetBucketCorsOps for Client
impl GetBucketCorsOps for Client
Source§async fn get_bucket_cors(&self) -> Result<CorsConfiguration>
async fn get_bucket_cors(&self) -> Result<CorsConfiguration>
Query the bucket CORS configuration. Read more
Source§impl GetBucketDataAcceleratorOps for Client
impl GetBucketDataAcceleratorOps for Client
Source§async fn get_bucket_data_accelerator(
&self,
available_zone: Option<String>,
verbose: bool,
) -> Result<DataAccelerator>
async fn get_bucket_data_accelerator( &self, available_zone: Option<String>, verbose: bool, ) -> Result<DataAccelerator>
Query the OSS accelerator configuration of a bucket. Read more
Source§impl GetBucketDataRedundancyTransitionOps for Client
impl GetBucketDataRedundancyTransitionOps for Client
Source§async fn get_bucket_data_redundancy_transition(
&self,
task_id: impl Into<String>,
) -> Result<GetBucketDataRedundancyTransitionResponse>
async fn get_bucket_data_redundancy_transition( &self, task_id: impl Into<String>, ) -> Result<GetBucketDataRedundancyTransitionResponse>
Query the status of a single redundancy type conversion task. Read more
Source§impl GetBucketEncryptionOps for Client
impl GetBucketEncryptionOps for Client
Source§async fn get_bucket_encryption(&self) -> Result<ServerSideEncryptionRule>
async fn get_bucket_encryption(&self) -> Result<ServerSideEncryptionRule>
Query the bucket’s default server-side encryption rule. Read more
Source§impl GetBucketHttpsConfigOps for Client
impl GetBucketHttpsConfigOps for Client
Source§async fn get_bucket_https_config(&self) -> Result<HttpsConfiguration>
async fn get_bucket_https_config(&self) -> Result<HttpsConfiguration>
Query the bucket’s TLS and cipher-suite configuration. Read more
Source§impl GetBucketInfoOps for Client
impl GetBucketInfoOps for Client
Source§async fn get_bucket_info(&self) -> Result<BucketDetail>
async fn get_bucket_info(&self) -> Result<BucketDetail>
Get bucket information Read more
Source§impl GetBucketInventoryOps for Client
impl GetBucketInventoryOps for Client
Source§async fn get_bucket_inventory(
&self,
inventory_id: impl Into<String>,
) -> Result<InventoryConfiguration>
async fn get_bucket_inventory( &self, inventory_id: impl Into<String>, ) -> Result<InventoryConfiguration>
Retrieve a single inventory rule by ID. Read more
Source§impl GetBucketLifecycleOps for Client
impl GetBucketLifecycleOps for Client
Source§async fn get_bucket_lifecycle(&self) -> Result<LifecycleConfiguration>
async fn get_bucket_lifecycle(&self) -> Result<LifecycleConfiguration>
Query the lifecycle rules of a bucket. Read more
Source§impl GetBucketLocationOps for Client
impl GetBucketLocationOps for Client
Source§impl GetBucketLoggingOps for Client
impl GetBucketLoggingOps for Client
Source§async fn get_bucket_logging(&self) -> Result<BucketLoggingStatus>
async fn get_bucket_logging(&self) -> Result<BucketLoggingStatus>
Query the bucket access-logging configuration. Read more
Source§impl GetBucketPolicyOps for Client
impl GetBucketPolicyOps for Client
Source§impl GetBucketPolicyStatusOps for Client
impl GetBucketPolicyStatusOps for Client
Source§async fn get_bucket_policy_status(&self) -> Result<PolicyStatus>
async fn get_bucket_policy_status(&self) -> Result<PolicyStatus>
Query whether the bucket’s policy allows public access. Read more
Source§impl GetBucketPublicAccessBlockOps for Client
impl GetBucketPublicAccessBlockOps for Client
Source§async fn get_bucket_public_access_block(
&self,
) -> Result<PublicAccessBlockConfiguration>
async fn get_bucket_public_access_block( &self, ) -> Result<PublicAccessBlockConfiguration>
Retrieve the bucket-level Block Public Access configuration. Read more
Source§impl GetBucketQoSInfoOps for Client
impl GetBucketQoSInfoOps for Client
Source§async fn get_bucket_qos_info(&self) -> Result<QoSConfiguration>
async fn get_bucket_qos_info(&self) -> Result<QoSConfiguration>
Fetch the bucket’s QoS configuration. Read more
Source§impl GetBucketRefererOps for Client
impl GetBucketRefererOps for Client
Source§async fn get_bucket_referer(&self) -> Result<RefererConfiguration>
async fn get_bucket_referer(&self) -> Result<RefererConfiguration>
Retrieve the Referer configuration. Read more
Source§impl GetBucketReplicationLocationOps for Client
impl GetBucketReplicationLocationOps for Client
Source§async fn get_bucket_replication_location(&self) -> Result<ReplicationLocation>
async fn get_bucket_replication_location(&self) -> Result<ReplicationLocation>
List the regions to which the current bucket can replicate. Read more
Source§impl GetBucketReplicationOps for Client
impl GetBucketReplicationOps for Client
Source§async fn get_bucket_replication(&self) -> Result<ReplicationConfiguration>
async fn get_bucket_replication(&self) -> Result<ReplicationConfiguration>
Retrieve the replication rules configured on the bucket. Read more
Source§impl GetBucketReplicationProgressOps for Client
impl GetBucketReplicationProgressOps for Client
Source§async fn get_bucket_replication_progress(
&self,
rule_id: impl Into<String>,
) -> Result<ReplicationProgress>
async fn get_bucket_replication_progress( &self, rule_id: impl Into<String>, ) -> Result<ReplicationProgress>
Query the replication progress for a specific rule. Read more
Source§impl GetBucketRequestPaymentOps for Client
impl GetBucketRequestPaymentOps for Client
Source§async fn get_bucket_request_payment(
&self,
) -> Result<RequestPaymentConfiguration>
async fn get_bucket_request_payment( &self, ) -> Result<RequestPaymentConfiguration>
Query the pay-by-requester configuration of the bucket. Read more
Source§impl GetBucketRequesterQoSInfoOps for Client
impl GetBucketRequesterQoSInfoOps for Client
Source§async fn get_bucket_requester_qos_info(
&self,
qos_requester: impl Into<String>,
) -> Result<RequesterQoSInfo>
async fn get_bucket_requester_qos_info( &self, qos_requester: impl Into<String>, ) -> Result<RequesterQoSInfo>
Fetch the bucket’s per-requester QoS for a given UID. Read more
Source§impl GetBucketResourceGroupOps for Client
impl GetBucketResourceGroupOps for Client
Source§async fn get_bucket_resource_group(
&self,
) -> Result<BucketResourceGroupConfiguration>
async fn get_bucket_resource_group( &self, ) -> Result<BucketResourceGroupConfiguration>
Query the resource group of the bucket. Read more
Source§impl GetBucketStatOps for Client
impl GetBucketStatOps for Client
Source§async fn get_bucket_stat(&self) -> Result<BucketStat>
async fn get_bucket_stat(&self) -> Result<BucketStat>
Get bucket statistics data Read more
Source§impl GetBucketTagsOps for Client
impl GetBucketTagsOps for Client
Query the tags configured on the bucket. Read more
Source§impl GetBucketTransferAccelerationOps for Client
impl GetBucketTransferAccelerationOps for Client
Source§async fn get_bucket_transfer_acceleration(
&self,
) -> Result<TransferAccelerationConfiguration>
async fn get_bucket_transfer_acceleration( &self, ) -> Result<TransferAccelerationConfiguration>
Query the transfer acceleration state of the bucket. Read more
Source§impl GetBucketVersioningOps for Client
impl GetBucketVersioningOps for Client
Source§async fn get_bucket_versioning(&self) -> Result<VersioningConfiguration>
async fn get_bucket_versioning(&self) -> Result<VersioningConfiguration>
Query the versioning state of the bucket. Read more
Source§impl GetBucketWebsiteOps for Client
impl GetBucketWebsiteOps for Client
Source§async fn get_bucket_website(&self) -> Result<WebsiteConfiguration>
async fn get_bucket_website(&self) -> Result<WebsiteConfiguration>
Retrieve the static-website-hosting configuration. Read more
Source§impl GetBucketWormOps for Client
impl GetBucketWormOps for Client
Source§async fn get_bucket_worm(&self) -> Result<WormConfiguration>
async fn get_bucket_worm(&self) -> Result<WormConfiguration>
Query the retention (WORM) policy configured on the bucket. Read more
Source§impl GetCnameTokenOps for Client
impl GetCnameTokenOps for Client
Source§async fn get_cname_token(&self, domain: impl Into<String>) -> Result<CnameToken>
async fn get_cname_token(&self, domain: impl Into<String>) -> Result<CnameToken>
Retrieve the CNAME token for a custom domain. Read more
Source§impl GetLiveChannelHistoryOperations for Client
impl GetLiveChannelHistoryOperations for Client
async fn get_live_channel_history( &self, channel_name: impl Into<String>, ) -> Result<GetLiveChannelHistoryResponse>
Source§impl GetLiveChannelInfoOperations for Client
impl GetLiveChannelInfoOperations for Client
async fn get_live_channel_info( &self, channel_name: impl Into<String>, ) -> Result<LiveChannelConfiguration>
Source§impl GetLiveChannelStatOperations for Client
impl GetLiveChannelStatOperations for Client
async fn get_live_channel_stat( &self, channel_name: impl Into<String>, ) -> Result<GetLiveChannelStatResponse>
Source§impl GetMetaQueryStatusOps for Client
impl GetMetaQueryStatusOps for Client
Source§async fn get_meta_query_status(&self) -> Result<MetaQueryStatus>
async fn get_meta_query_status(&self) -> Result<MetaQueryStatus>
Query the status of the metadata-index library. Read more
Source§impl GetObjectAclOperations for Client
impl GetObjectAclOperations for Client
async fn get_object_acl( &self, object_key: impl Into<String>, params: Option<GetObjectAclParams>, ) -> Result<GetObjectAclResponse>
Source§impl GetObjectMetaOperations for Client
impl GetObjectMetaOperations for Client
async fn get_object_meta( &self, object_key: impl Into<String>, params: Option<GetObjectMetaParams>, ) -> Result<GetObjectMetaResponse>
Source§impl GetObjectOperations for Client
impl GetObjectOperations for Client
Source§async fn get_object(
&self,
object_key: impl Into<String>,
params: GetObjectParams,
options: Option<GetObjectOptions>,
) -> Result<Bytes>
async fn get_object( &self, object_key: impl Into<String>, params: GetObjectParams, options: Option<GetObjectOptions>, ) -> Result<Bytes>
Get an object (file) Read more
async fn presign_get_object( &self, object_key: impl Into<String>, public: bool, params: GetObjectParams, options: Option<GetObjectOptions>, query_auth_options: QueryAuthOptions, ) -> Result<String>
Source§impl GetObjectTaggingOperations for Client
impl GetObjectTaggingOperations for Client
async fn get_object_tagging( &self, object_key: impl Into<String>, params: Option<GetObjectTaggingParams>, ) -> Result<Tagging>
Source§impl GetPublicAccessBlockOps for Client
impl GetPublicAccessBlockOps for Client
Source§async fn get_public_access_block(
&self,
) -> Result<PublicAccessBlockConfiguration>
async fn get_public_access_block( &self, ) -> Result<PublicAccessBlockConfiguration>
Retrieve the global Block Public Access configuration. Read more
Source§impl GetResourcePoolBucketGroupQoSInfoOps for Client
impl GetResourcePoolBucketGroupQoSInfoOps for Client
Source§async fn get_resource_pool_bucket_group_qos_info(
&self,
resource_pool: impl Into<String>,
resource_pool_bucket_group: impl Into<String>,
) -> Result<ResourcePoolBucketGroupQoSInfo>
async fn get_resource_pool_bucket_group_qos_info( &self, resource_pool: impl Into<String>, resource_pool_bucket_group: impl Into<String>, ) -> Result<ResourcePoolBucketGroupQoSInfo>
Fetch QoS for a bucket-group inside a resource pool. Read more
Source§impl GetResourcePoolInfoOps for Client
impl GetResourcePoolInfoOps for Client
Source§async fn get_resource_pool_info(
&self,
resource_pool: impl Into<String>,
) -> Result<GetResourcePoolInfoResult>
async fn get_resource_pool_info( &self, resource_pool: impl Into<String>, ) -> Result<GetResourcePoolInfoResult>
Fetch info and QoS configuration for a resource pool. Read more
Source§impl GetResourcePoolRequesterQoSInfoOps for Client
impl GetResourcePoolRequesterQoSInfoOps for Client
Source§async fn get_resource_pool_requester_qos_info(
&self,
resource_pool: impl Into<String>,
qos_requester: impl Into<String>,
) -> Result<RequesterQoSInfo>
async fn get_resource_pool_requester_qos_info( &self, resource_pool: impl Into<String>, qos_requester: impl Into<String>, ) -> Result<RequesterQoSInfo>
Fetch per-requester QoS against a resource pool. Read more
Source§impl GetStyleOps for Client
impl GetStyleOps for Client
Source§impl GetSymlinkOperations for Client
impl GetSymlinkOperations for Client
Source§async fn get_symlink(
&self,
object_key: impl Into<String>,
params: GetSymlinkParams,
) -> Result<GetSymlinkResponse>
async fn get_symlink( &self, object_key: impl Into<String>, params: GetSymlinkParams, ) -> Result<GetSymlinkResponse>
Get a symbolic link information Read more
Source§impl GetUserAntiDDosInfoOps for Client
impl GetUserAntiDDosInfoOps for Client
Source§async fn get_user_anti_ddos_info(&self) -> Result<AntiDdosListConfiguration>
async fn get_user_anti_ddos_info(&self) -> Result<AntiDdosListConfiguration>
List all account-level Anti-DDoS instances. Read more
Source§impl GetUserDefinedLogFieldsConfigOps for Client
impl GetUserDefinedLogFieldsConfigOps for Client
Source§async fn get_user_defined_log_fields_config(
&self,
) -> Result<UserDefinedLogFieldsConfiguration>
async fn get_user_defined_log_fields_config( &self, ) -> Result<UserDefinedLogFieldsConfiguration>
Retrieve the custom logging-field configuration. Read more
Source§impl GetVectorBucketOps for Client
impl GetVectorBucketOps for Client
Source§async fn get_vector_bucket(&self) -> Result<GetVectorBucketResult>
async fn get_vector_bucket(&self) -> Result<GetVectorBucketResult>
Fetch metadata of the current vector bucket. Read more
Source§impl GetVectorIndexOps for Client
impl GetVectorIndexOps for Client
Source§async fn get_vector_index(
&self,
index_name: impl Into<String>,
) -> Result<GetVectorIndexResult>
async fn get_vector_index( &self, index_name: impl Into<String>, ) -> Result<GetVectorIndexResult>
Fetch metadata of a vector index. Read more
Source§impl GetVectorsOps for Client
impl GetVectorsOps for Client
Source§async fn get_vectors(
&self,
request: GetVectorsRequest,
) -> Result<GetVectorsResult>
async fn get_vectors( &self, request: GetVectorsRequest, ) -> Result<GetVectorsResult>
Batch-read vectors by key (1–100 keys per call). Read more
Source§impl GetVodPlaylistOperations for Client
impl GetVodPlaylistOperations for Client
Source§impl HeadObjectOperations for Client
impl HeadObjectOperations for Client
Source§async fn head_object(
&self,
object_name: impl Into<String>,
params: HeadObjectParams,
options: Option<HeadObjectOptions>,
) -> Result<HeadObjectResponse>
async fn head_object( &self, object_name: impl Into<String>, params: HeadObjectParams, options: Option<HeadObjectOptions>, ) -> Result<HeadObjectResponse>
Get metadata for an object (file) Read more
Source§impl InitBucketAntiDDosInfoOps for Client
impl InitBucketAntiDDosInfoOps for Client
Source§impl InitUserAntiDDosInfoOps for Client
impl InitUserAntiDDosInfoOps for Client
Source§async fn init_user_anti_ddos_info(&self) -> Result<InitUserAntiDDosInfoResponse>
async fn init_user_anti_ddos_info(&self) -> Result<InitUserAntiDDosInfoResponse>
Create an OSS Anti-DDoS instance for the current account. Read more
Source§impl InitiateBucketWormOps for Client
impl InitiateBucketWormOps for Client
Source§async fn initiate_bucket_worm(
&self,
retention_period_in_days: u32,
) -> Result<InitiateBucketWormResponse>
async fn initiate_bucket_worm( &self, retention_period_in_days: u32, ) -> Result<InitiateBucketWormResponse>
Create a retention policy on the bucket. Returns the new
WormId. Read moreSource§impl InitiateMultipartUploadOperations for Client
impl InitiateMultipartUploadOperations for Client
Source§async fn initiate_multipart_upload(
&self,
object_key: impl Into<String>,
options: Option<InitiateMultipartUploadOptions>,
) -> Result<InitiateMultipartUploadResult>
async fn initiate_multipart_upload( &self, object_key: impl Into<String>, options: Option<InitiateMultipartUploadOptions>, ) -> Result<InitiateMultipartUploadResult>
Initialize multipart upload Read more
Source§impl ListAccessPointsForObjectProcessOps for Client
impl ListAccessPointsForObjectProcessOps for Client
Source§async fn list_access_points_for_object_process(
&self,
max_keys: Option<u32>,
continuation_token: Option<String>,
) -> Result<ListAccessPointsForObjectProcessResult>
async fn list_access_points_for_object_process( &self, max_keys: Option<u32>, continuation_token: Option<String>, ) -> Result<ListAccessPointsForObjectProcessResult>
List Object FC access points. Read more
Source§impl ListAccessPointsOps for Client
impl ListAccessPointsOps for Client
Source§async fn list_access_points(
&self,
max_keys: Option<u32>,
continuation_token: Option<String>,
) -> Result<ListAccessPointsResult>
async fn list_access_points( &self, max_keys: Option<u32>, continuation_token: Option<String>, ) -> Result<ListAccessPointsResult>
List bucket-level access points. Issue the request against a user-level
host (no bucket) to receive user-level access points instead. Read more
Source§impl ListBucketAntiDDosInfoOps for Client
impl ListBucketAntiDDosInfoOps for Client
Source§async fn list_bucket_anti_ddos_info(
&self,
marker: Option<String>,
max_keys: Option<u32>,
) -> Result<AntiDdosListConfiguration>
async fn list_bucket_anti_ddos_info( &self, marker: Option<String>, max_keys: Option<u32>, ) -> Result<AntiDdosListConfiguration>
List the Anti-DDoS instances that protect this bucket. Read more
Source§impl ListBucketDataRedundancyTransitionOps for Client
impl ListBucketDataRedundancyTransitionOps for Client
Source§async fn list_bucket_data_redundancy_transition(
&self,
) -> Result<ListBucketDataRedundancyTransitionResult>
async fn list_bucket_data_redundancy_transition( &self, ) -> Result<ListBucketDataRedundancyTransitionResult>
List all redundancy-type-conversion tasks on the bucket. Read more
Source§impl ListBucketInventoryOps for Client
impl ListBucketInventoryOps for Client
Source§async fn list_bucket_inventory(
&self,
params: Option<ListBucketInventoryParams>,
) -> Result<ListInventoryConfigurationsResult>
async fn list_bucket_inventory( &self, params: Option<ListBucketInventoryParams>, ) -> Result<ListInventoryConfigurationsResult>
List all inventory rules on the bucket (paginated, up to 100 per page). Read more
Source§impl ListBucketRequesterQoSInfosOps for Client
impl ListBucketRequesterQoSInfosOps for Client
Source§async fn list_bucket_requester_qos_infos(
&self,
params: Option<ListBucketRequesterQoSInfosParams>,
) -> Result<ListBucketRequesterQoSInfosResult>
async fn list_bucket_requester_qos_infos( &self, params: Option<ListBucketRequesterQoSInfosParams>, ) -> Result<ListBucketRequesterQoSInfosResult>
List all per-requester QoS configurations for the current bucket. Read more
Source§impl ListBucketsOps for Client
impl ListBucketsOps for Client
Source§async fn list_buckets(
&self,
params: Option<ListBucketsParams>,
) -> Result<ListAllMyBucketsResult>
async fn list_buckets( &self, params: Option<ListBucketsParams>, ) -> Result<ListAllMyBucketsResult>
Lists all buckets that belong to your Alibaba Cloud account.
You can specify the prefix, marker, or max-keys parameter to list buckets that meet specific conditions. Read more
Source§impl ListCnameOps for Client
impl ListCnameOps for Client
Source§async fn list_cname(&self) -> Result<ListCnameResult>
async fn list_cname(&self) -> Result<ListCnameResult>
List every CNAME record mapped to the bucket. Read more
Source§impl ListLiveChannelOperations for Client
impl ListLiveChannelOperations for Client
async fn list_live_channel( &self, params: Option<ListLiveChannelParams>, ) -> Result<ListLiveChannelResponse>
Source§impl ListMultipartUploadsOperations for Client
impl ListMultipartUploadsOperations for Client
Source§async fn list_multipart_uploads(
&self,
params: Option<ListMultipartUploadsParams>,
) -> Result<ListMultipartUploadsResult>
async fn list_multipart_uploads( &self, params: Option<ListMultipartUploadsParams>, ) -> Result<ListMultipartUploadsResult>
List multipart upload events Read more
Source§impl ListObjectVersionsOps for Client
impl ListObjectVersionsOps for Client
Source§async fn list_object_versions(
&self,
params: Option<ListObjectVersionsParams>,
) -> Result<ListObjectVersionsResult>
async fn list_object_versions( &self, params: Option<ListObjectVersionsParams>, ) -> Result<ListObjectVersionsResult>
List all object versions in a bucket, including delete markers. Read more
Source§impl ListObjectsOps for Client
impl ListObjectsOps for Client
Source§async fn list_objects(
&self,
params: Option<ListObjectsV2Params>,
) -> Result<ListObjectsResult>
async fn list_objects( &self, params: Option<ListObjectsV2Params>, ) -> Result<ListObjectsResult>
List objects in a bucket (V2) Read more
Source§async fn presign_list_objects(
&self,
public: bool,
params: Option<ListObjectsV2Params>,
query_auth_options: QueryAuthOptions,
) -> Result<String>
async fn presign_list_objects( &self, public: bool, params: Option<ListObjectsV2Params>, query_auth_options: QueryAuthOptions, ) -> Result<String>
Presign list objects operation
Source§impl ListObjectsV1Ops for Client
impl ListObjectsV1Ops for Client
Source§async fn list_objects_v1(
&self,
params: Option<ListObjectsV1Params>,
) -> Result<ListObjectsV1Result>
async fn list_objects_v1( &self, params: Option<ListObjectsV1Params>, ) -> Result<ListObjectsV1Result>
List objects in a bucket using the legacy V1 (GetBucket) protocol. Read more
Source§async fn presign_list_objects_v1(
&self,
public: bool,
params: Option<ListObjectsV1Params>,
query_auth_options: QueryAuthOptions,
) -> Result<String>
async fn presign_list_objects_v1( &self, public: bool, params: Option<ListObjectsV1Params>, query_auth_options: QueryAuthOptions, ) -> Result<String>
Presign a list-objects V1 URL.
Source§impl ListPartsOperations for Client
impl ListPartsOperations for Client
Source§async fn list_parts(
&self,
object_key: impl Into<String>,
upload_id: impl Into<String>,
params: Option<ListPartsParams>,
) -> Result<ListPartsResult>
async fn list_parts( &self, object_key: impl Into<String>, upload_id: impl Into<String>, params: Option<ListPartsParams>, ) -> Result<ListPartsResult>
List uploaded parts Read more
Source§impl ListResourcePoolBucketGroupQoSInfosOps for Client
impl ListResourcePoolBucketGroupQoSInfosOps for Client
Source§async fn list_resource_pool_bucket_group_qos_infos(
&self,
params: ListResourcePoolBucketGroupQoSInfosParams,
) -> Result<ListResourcePoolBucketGroupQoSInfosResult>
async fn list_resource_pool_bucket_group_qos_infos( &self, params: ListResourcePoolBucketGroupQoSInfosParams, ) -> Result<ListResourcePoolBucketGroupQoSInfosResult>
List QoS configurations for all bucket-groups in a resource pool. Read more
Source§impl ListResourcePoolBucketGroupsOps for Client
impl ListResourcePoolBucketGroupsOps for Client
Source§async fn list_resource_pool_bucket_groups(
&self,
params: ListResourcePoolBucketGroupsParams,
) -> Result<ListResourcePoolBucketGroupsResult>
async fn list_resource_pool_bucket_groups( &self, params: ListResourcePoolBucketGroupsParams, ) -> Result<ListResourcePoolBucketGroupsResult>
List bucket-groups inside a resource pool. Read more
Source§impl ListResourcePoolBucketsOps for Client
impl ListResourcePoolBucketsOps for Client
Source§async fn list_resource_pool_buckets(
&self,
params: ListResourcePoolBucketsParams,
) -> Result<ListResourcePoolBucketsResult>
async fn list_resource_pool_buckets( &self, params: ListResourcePoolBucketsParams, ) -> Result<ListResourcePoolBucketsResult>
List buckets inside the given resource pool. Read more
Source§impl ListResourcePoolRequesterQoSInfosOps for Client
impl ListResourcePoolRequesterQoSInfosOps for Client
Source§async fn list_resource_pool_requester_qos_infos(
&self,
params: ListResourcePoolRequesterQoSInfosParams,
) -> Result<ListResourcePoolRequesterQoSInfosResult>
async fn list_resource_pool_requester_qos_infos( &self, params: ListResourcePoolRequesterQoSInfosParams, ) -> Result<ListResourcePoolRequesterQoSInfosResult>
List all per-requester QoS entries for the resource pool. Read more
Source§impl ListResourcePoolsOps for Client
impl ListResourcePoolsOps for Client
Source§async fn list_resource_pools(
&self,
params: Option<ListResourcePoolsParams>,
) -> Result<ListResourcePoolsResult>
async fn list_resource_pools( &self, params: Option<ListResourcePoolsParams>, ) -> Result<ListResourcePoolsResult>
List all resource pools owned by the current account. Read more
Source§impl ListStyleOps for Client
impl ListStyleOps for Client
Source§impl ListUserDataRedundancyTransitionOps for Client
impl ListUserDataRedundancyTransitionOps for Client
Source§async fn list_user_data_redundancy_transition(
&self,
params: Option<ListUserDataRedundancyTransitionParams>,
) -> Result<ListUserDataRedundancyTransitionResult>
async fn list_user_data_redundancy_transition( &self, params: Option<ListUserDataRedundancyTransitionParams>, ) -> Result<ListUserDataRedundancyTransitionResult>
Lists all data redundancy transition tasks of the current account. Read more
Source§impl ListVectorBucketsOps for Client
impl ListVectorBucketsOps for Client
Source§async fn list_vector_buckets(
&self,
params: Option<ListVectorBucketsParams>,
) -> Result<ListVectorBucketsResult>
async fn list_vector_buckets( &self, params: Option<ListVectorBucketsParams>, ) -> Result<ListVectorBucketsResult>
List vector buckets belonging to the current account/region. Read more
Source§impl ListVectorIndexesOps for Client
impl ListVectorIndexesOps for Client
Source§async fn list_vector_indexes(
&self,
request: Option<ListVectorIndexesRequest>,
) -> Result<ListVectorIndexesResult>
async fn list_vector_indexes( &self, request: Option<ListVectorIndexesRequest>, ) -> Result<ListVectorIndexesResult>
List all vector indexes in the current vector bucket. Read more
Source§impl ListVectorsOps for Client
impl ListVectorsOps for Client
Source§async fn list_vectors(
&self,
request: ListVectorsRequest,
) -> Result<ListVectorsResult>
async fn list_vectors( &self, request: ListVectorsRequest, ) -> Result<ListVectorsResult>
Paginate (optionally in parallel) through every vector in an index. Read more
Source§impl OpenMetaQueryOps for Client
impl OpenMetaQueryOps for Client
Source§async fn open_meta_query(
&self,
mode: MetaQueryMode,
config: OpenMetaQueryConfig,
) -> Result<()>
async fn open_meta_query( &self, mode: MetaQueryMode, config: OpenMetaQueryConfig, ) -> Result<()>
Enable the metadata-index library on the bucket. Read more
Source§impl OptionsObjectOps for Client
impl OptionsObjectOps for Client
Source§async fn options_object(
&self,
request: OptionsObjectRequest,
) -> Result<OptionsObjectResponse>
async fn options_object( &self, request: OptionsObjectRequest, ) -> Result<OptionsObjectResponse>
Send a CORS preflight (OPTIONS) request for an object. Read more
Source§impl PostVodPlaylistOperations for Client
impl PostVodPlaylistOperations for Client
Source§impl PutAccessPointConfigForObjectProcessOps for Client
impl PutAccessPointConfigForObjectProcessOps for Client
Source§async fn put_access_point_config_for_object_process(
&self,
fc_ap_name: impl Into<String>,
config: PutAccessPointConfigForObjectProcessConfiguration,
) -> Result<()>
async fn put_access_point_config_for_object_process( &self, fc_ap_name: impl Into<String>, config: PutAccessPointConfigForObjectProcessConfiguration, ) -> Result<()>
Change the configuration of an Object FC access point. Read more
Source§impl PutAccessPointPolicyOps for Client
impl PutAccessPointPolicyOps for Client
Source§impl PutBucketAccessMonitorOps for Client
impl PutBucketAccessMonitorOps for Client
Source§async fn put_bucket_access_monitor(
&self,
status: AccessMonitorStatus,
) -> Result<()>
async fn put_bucket_access_monitor( &self, status: AccessMonitorStatus, ) -> Result<()>
Enable or disable access tracking for the bucket. Read more
Source§impl PutBucketAclOps for Client
impl PutBucketAclOps for Client
Source§impl PutBucketCorsOps for Client
impl PutBucketCorsOps for Client
Source§async fn put_bucket_cors(&self, config: CorsConfiguration) -> Result<()>
async fn put_bucket_cors(&self, config: CorsConfiguration) -> Result<()>
Set the bucket’s CORS rules. Overwrites any existing rules. Read more
Source§impl PutBucketDataAcceleratorOps for Client
impl PutBucketDataAcceleratorOps for Client
Source§async fn put_bucket_data_accelerator(
&self,
config: DataAcceleratorConfiguration,
) -> Result<()>
async fn put_bucket_data_accelerator( &self, config: DataAcceleratorConfiguration, ) -> Result<()>
Create or modify the OSS accelerator configuration for this bucket. Read more
Source§impl PutBucketEncryptionOps for Client
impl PutBucketEncryptionOps for Client
Source§async fn put_bucket_encryption(
&self,
rule: ServerSideEncryptionRule,
) -> Result<()>
async fn put_bucket_encryption( &self, rule: ServerSideEncryptionRule, ) -> Result<()>
Configure the default server-side encryption rule for the bucket. Read more
Source§impl PutBucketHttpsConfigOps for Client
impl PutBucketHttpsConfigOps for Client
Source§async fn put_bucket_https_config(
&self,
config: HttpsConfiguration,
) -> Result<()>
async fn put_bucket_https_config( &self, config: HttpsConfiguration, ) -> Result<()>
Configure the bucket’s TLS versions and cipher-suite policy. Read more
Source§impl PutBucketInventoryOps for Client
impl PutBucketInventoryOps for Client
Source§async fn put_bucket_inventory(
&self,
config: InventoryConfiguration,
) -> Result<()>
async fn put_bucket_inventory( &self, config: InventoryConfiguration, ) -> Result<()>
Configure an inventory rule for the bucket. The rule’s
id is used as
both the inventoryId query parameter and the <Id> body element, so
it must be set in config. Read moreSource§impl PutBucketLifecycleOps for Client
impl PutBucketLifecycleOps for Client
Source§async fn put_bucket_lifecycle(
&self,
config: LifecycleConfiguration,
options: Option<PutBucketLifecycleOptions>,
) -> Result<()>
async fn put_bucket_lifecycle( &self, config: LifecycleConfiguration, options: Option<PutBucketLifecycleOptions>, ) -> Result<()>
Configure (overwrite) the lifecycle rules of a bucket. Read more
Source§impl PutBucketLoggingOps for Client
impl PutBucketLoggingOps for Client
Source§async fn put_bucket_logging(&self, status: BucketLoggingStatus) -> Result<()>
async fn put_bucket_logging(&self, status: BucketLoggingStatus) -> Result<()>
Enable or update bucket access logging. Read more
Source§impl PutBucketOps for Client
impl PutBucketOps for Client
Source§async fn put_bucket(
&self,
config: PutBucketConfiguration,
options: Option<PutBucketOptions>,
) -> Result<()>
async fn put_bucket( &self, config: PutBucketConfiguration, options: Option<PutBucketOptions>, ) -> Result<()>
Create a new bucket Read more
Source§impl PutBucketPolicyOps for Client
impl PutBucketPolicyOps for Client
Source§impl PutBucketQoSInfoOps for Client
impl PutBucketQoSInfoOps for Client
Source§async fn put_bucket_qos_info(
&self,
configuration: QoSConfiguration,
) -> Result<()>
async fn put_bucket_qos_info( &self, configuration: QoSConfiguration, ) -> Result<()>
Set the bucket’s total QoS configuration. Read more
Source§impl PutBucketRefererOps for Client
impl PutBucketRefererOps for Client
Source§async fn put_bucket_referer(&self, config: RefererConfiguration) -> Result<()>
async fn put_bucket_referer(&self, config: RefererConfiguration) -> Result<()>
Configure the Referer whitelist / blacklist on the bucket. Read more
Source§impl PutBucketReplicationOps for Client
impl PutBucketReplicationOps for Client
Source§async fn put_bucket_replication(
&self,
config: ReplicationConfiguration,
) -> Result<()>
async fn put_bucket_replication( &self, config: ReplicationConfiguration, ) -> Result<()>
Create a data replication rule for the bucket. Read more
Source§impl PutBucketRequestPaymentOps for Client
impl PutBucketRequestPaymentOps for Client
Source§impl PutBucketRequesterQoSInfoOps for Client
impl PutBucketRequesterQoSInfoOps for Client
Source§async fn put_bucket_requester_qos_info(
&self,
qos_requester: impl Into<String>,
configuration: QoSConfiguration,
) -> Result<()>
async fn put_bucket_requester_qos_info( &self, qos_requester: impl Into<String>, configuration: QoSConfiguration, ) -> Result<()>
Set the per-requester QoS for the given UID on the current bucket. Read more
Source§impl PutBucketResourceGroupOps for Client
impl PutBucketResourceGroupOps for Client
Source§impl PutBucketRtcOps for Client
impl PutBucketRtcOps for Client
Source§impl PutBucketTagsOps for Client
impl PutBucketTagsOps for Client
Add or modify tags on a bucket. Existing tags with matching keys are
overwritten. Read more
Source§impl PutBucketVersioningOps for Client
impl PutBucketVersioningOps for Client
Source§async fn put_bucket_versioning(&self, status: VersioningStatus) -> Result<()>
async fn put_bucket_versioning(&self, status: VersioningStatus) -> Result<()>
Enable or suspend versioning on the bucket. Read more
Source§impl PutBucketWebsiteOps for Client
impl PutBucketWebsiteOps for Client
Source§async fn put_bucket_website(&self, config: WebsiteConfiguration) -> Result<()>
async fn put_bucket_website(&self, config: WebsiteConfiguration) -> Result<()>
Enable static website hosting on the bucket, optionally with redirect /
mirroring-based back-to-origin rules. Read more
Source§impl PutCnameOps for Client
impl PutCnameOps for Client
Source§impl PutLiveChannelOperations for Client
impl PutLiveChannelOperations for Client
async fn put_live_channel( &self, channel_name: impl Into<String>, configuration: LiveChannelConfiguration, ) -> Result<PutLiveChannelResponse>
Source§impl PutLiveChannelStatusOperations for Client
impl PutLiveChannelStatusOperations for Client
async fn put_live_channel_status( &self, channel_name: impl Into<String>, status: LiveChannelStatus, ) -> Result<()>
Source§impl PutObjectAclOperations for Client
impl PutObjectAclOperations for Client
Source§async fn put_object_acl(
&self,
object_key: impl Into<String>,
acl: ObjectAcl,
params: Option<PutObjectAclParams>,
) -> Result<()>
async fn put_object_acl( &self, object_key: impl Into<String>, acl: ObjectAcl, params: Option<PutObjectAclParams>, ) -> Result<()>
Set the ACL of an object.
Source§impl PutObjectOperations for Client
impl PutObjectOperations for Client
Source§async fn put_object<T>(
&self,
object_key: impl Into<String>,
body: T,
options: Option<PutObjectOptions>,
) -> Result<PutObjectResponse>
async fn put_object<T>( &self, object_key: impl Into<String>, body: T, options: Option<PutObjectOptions>, ) -> Result<PutObjectResponse>
Upload an object to OSS Read more
Source§impl PutObjectTaggingOperations for Client
impl PutObjectTaggingOperations for Client
async fn put_object_tagging( &self, object_key: impl Into<String>, tagging: Tagging, params: Option<PutObjectTaggingParams>, ) -> Result<()>
Source§impl PutPublicAccessBlockOps for Client
impl PutPublicAccessBlockOps for Client
Source§impl PutStyleOps for Client
impl PutStyleOps for Client
Source§impl PutSymlinkOperations for Client
impl PutSymlinkOperations for Client
Source§async fn put_symlink(
&self,
symlink_key: impl Into<String>,
target_object: impl Into<String>,
options: Option<PutSymlinkOptions>,
) -> Result<PutSymlinkResponse>
async fn put_symlink( &self, symlink_key: impl Into<String>, target_object: impl Into<String>, options: Option<PutSymlinkOptions>, ) -> Result<PutSymlinkResponse>
Create a symbolic link that points to a destination object Read more
Source§impl PutUserDefinedLogFieldsConfigOps for Client
impl PutUserDefinedLogFieldsConfigOps for Client
Source§async fn put_user_defined_log_fields_config(
&self,
config: UserDefinedLogFieldsConfiguration,
) -> Result<()>
async fn put_user_defined_log_fields_config( &self, config: UserDefinedLogFieldsConfiguration, ) -> Result<()>
Configure custom headers / query parameters to include in the
user_defined_log_fields real-time log field. Read moreSource§impl PutVectorBucketOps for Client
impl PutVectorBucketOps for Client
Source§impl PutVectorIndexOps for Client
impl PutVectorIndexOps for Client
Source§async fn put_vector_index(&self, request: PutVectorIndexRequest) -> Result<()>
async fn put_vector_index(&self, request: PutVectorIndexRequest) -> Result<()>
Create a vector index. Read more
Source§impl PutVectorsOps for Client
impl PutVectorsOps for Client
Source§async fn put_vectors(&self, request: PutVectorsRequest) -> Result<()>
async fn put_vectors(&self, request: PutVectorsRequest) -> Result<()>
Batch-insert or overwrite up to 500 vectors in a single call. Read more
Source§impl QueryVectorsOps for Client
impl QueryVectorsOps for Client
Source§async fn query_vectors(
&self,
request: QueryVectorsRequest,
) -> Result<QueryVectorsResult>
async fn query_vectors( &self, request: QueryVectorsRequest, ) -> Result<QueryVectorsResult>
Find the top-K nearest neighbors of
query_vector in index_name,
optionally filtered by metadata. Read moreSource§impl RenameOperations for Client
impl RenameOperations for Client
Source§impl RestoreObjectOperations for Client
impl RestoreObjectOperations for Client
async fn restore_object( &self, object_key: impl Into<String>, params: Option<RestoreObjectParams>, body: Option<RestoreRequest>, ) -> Result<RestoreObjectResponse>
Source§impl SealAppendObjectOperations for Client
impl SealAppendObjectOperations for Client
Source§async fn seal_append_object(
&self,
object_key: impl Into<String>,
position: u64,
) -> Result<SealAppendObjectResponse>
async fn seal_append_object( &self, object_key: impl Into<String>, position: u64, ) -> Result<SealAppendObjectResponse>
Seal an Appendable Object, preventing further appends.
Source§impl SelectObjectOps for Client
impl SelectObjectOps for Client
Source§async fn select_object_csv(
&self,
key: impl Into<String>,
request: SelectRequest,
) -> Result<SelectFrameStream<Response>>
async fn select_object_csv( &self, key: impl Into<String>, request: SelectRequest, ) -> Result<SelectFrameStream<Response>>
Run a CSV Select query and return a
SelectFrameStream over the
decoded frames. The caller must inspect the final End /
MetaEnd* frame and treat any non-2xx status as a failure
(the outer HTTP response may be 206 even when the select itself
ultimately errored). Read moreSource§async fn select_object_json(
&self,
key: impl Into<String>,
request: SelectRequest,
) -> Result<SelectFrameStream<Response>>
async fn select_object_json( &self, key: impl Into<String>, request: SelectRequest, ) -> Result<SelectFrameStream<Response>>
Run a JSON Select query; see [
select_object_csv] for details.Source§impl UpdateBucketAntiDDosInfoOps for Client
impl UpdateBucketAntiDDosInfoOps for Client
Source§impl UpdateUserAntiDDosInfoOps for Client
impl UpdateUserAntiDDosInfoOps for Client
Source§async fn update_user_anti_ddos_info(
&self,
instance_id: impl Into<String>,
status: AntiDdosStatus,
) -> Result<()>
async fn update_user_anti_ddos_info( &self, instance_id: impl Into<String>, status: AntiDdosStatus, ) -> Result<()>
Update the status of an account-level Anti-DDoS instance. Read more
Source§impl UploadPartCopyOperations for Client
impl UploadPartCopyOperations for Client
Source§async fn upload_part_copy(
&self,
object_key: impl Into<String>,
upload_id: impl Into<String>,
part_number: u32,
source_bucket: impl Into<String>,
source_key: impl Into<String>,
options: Option<UploadPartCopyOptions>,
) -> Result<UploadPartCopyResult>
async fn upload_part_copy( &self, object_key: impl Into<String>, upload_id: impl Into<String>, part_number: u32, source_bucket: impl Into<String>, source_key: impl Into<String>, options: Option<UploadPartCopyOptions>, ) -> Result<UploadPartCopyResult>
Upload part copy Read more
Source§async fn upload_part_copy_with_version_id(
&self,
object_key: impl Into<String>,
upload_id: impl Into<String>,
part_number: u32,
source_bucket: impl Into<String>,
source_key: impl Into<String>,
source_version_id: impl Into<String>,
options: Option<UploadPartCopyOptions>,
) -> Result<UploadPartCopyResult>
async fn upload_part_copy_with_version_id( &self, object_key: impl Into<String>, upload_id: impl Into<String>, part_number: u32, source_bucket: impl Into<String>, source_key: impl Into<String>, source_version_id: impl Into<String>, options: Option<UploadPartCopyOptions>, ) -> Result<UploadPartCopyResult>
Upload part copy Read more
Source§impl UploadPartOperations for Client
impl UploadPartOperations for Client
impl BucketLiveChannelOperations for Client
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin for Client
impl !UnwindSafe for Client
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