diff --git a/docs/obs/api-ref/ALL_META.TXT.json b/docs/obs/api-ref/ALL_META.TXT.json index 91a634b9e..d3879bf16 100644 --- a/docs/obs/api-ref/ALL_META.TXT.json +++ b/docs/obs/api-ref/ALL_META.TXT.json @@ -440,9 +440,39 @@ "githuburl":"" }, { - "uri":"obs_04_0049.html", + "uri":"obs_04_0046.html", "product_code":"obs", "code":"45", + "des":"Cross-region replication refers to the automatic and asynchronous replication of objects across buckets in different regions. By activating the cross-region replication f", + "doc_type":"api", + "kw":"Configuring Cross-Region Replication for a Bucket,Advanced Bucket Settings,API Reference", + "title":"Configuring Cross-Region Replication for a Bucket", + "githuburl":"" + }, + { + "uri":"obs_04_0047.html", + "product_code":"obs", + "code":"46", + "des":"This operation obtains the replication configuration information of a specified bucket. To perform this operation, you must have the GetReplicationConfiguration permissio", + "doc_type":"api", + "kw":"Obtaining the Cross-Region Replication Configuration of a Bucket,Advanced Bucket Settings,API Refere", + "title":"Obtaining the Cross-Region Replication Configuration of a Bucket", + "githuburl":"" + }, + { + "uri":"obs_04_0048.html", + "product_code":"obs", + "code":"47", + "des":"You can perform this operation to delete the bucket replication configuration. To perform this operation, you must have the DeleteReplicationConfiguration permission.This", + "doc_type":"api", + "kw":"Deleting the Cross-Region Replication Configuration of a Bucket,Advanced Bucket Settings,API Referen", + "title":"Deleting the Cross-Region Replication Configuration of a Bucket", + "githuburl":"" + }, + { + "uri":"obs_04_0049.html", + "product_code":"obs", + "code":"48", "des":"This operation adds tags to a bucket.After tags are added to a bucket, all charging data records (CDRs) generated by the requests for this bucket will take the same tags.", "doc_type":"api", "kw":"Configuring Tags for a Bucket,Advanced Bucket Settings,API Reference", @@ -452,7 +482,7 @@ { "uri":"obs_04_0050.html", "product_code":"obs", - "code":"46", + "code":"49", "des":"This operation obtains information about tags of a bucket.To perform this operation, you must have the GetBucketTagging permission. By default, only the bucket owner can ", "doc_type":"api", "kw":"Obtaining Bucket Tags,Advanced Bucket Settings,API Reference", @@ -462,7 +492,7 @@ { "uri":"obs_04_0051.html", "product_code":"obs", - "code":"47", + "code":"50", "des":"This operation deletes the tags of a bucket.To perform this operation, you must have the PutBucketTagging permission. By default, only the bucket owner can delete the tag", "doc_type":"api", "kw":"Deleting Tags,Advanced Bucket Settings,API Reference", @@ -472,7 +502,7 @@ { "uri":"obs_04_0052.html", "product_code":"obs", - "code":"48", + "code":"51", "des":"The bucket storage quota must be a positive integer in the unit of byte. The maximum storage quota is 263 – 1 bytes. The default bucket storage quota is 0, indicating tha", "doc_type":"api", "kw":"Configuring Bucket Storage Quota,Advanced Bucket Settings,API Reference", @@ -482,7 +512,7 @@ { "uri":"obs_04_0053.html", "product_code":"obs", - "code":"49", + "code":"52", "des":"Only the bucket owner can query information about the bucket storage quota. However, an inactive owner is not allowed to get the bucket quota. The bucket storage quota is", "doc_type":"api", "kw":"Querying Bucket Storage Quota,Advanced Bucket Settings,API Reference", @@ -492,7 +522,7 @@ { "uri":"obs_04_0054.html", "product_code":"obs", - "code":"50", + "code":"53", "des":"This operation queries the number of bucket objects and the space occupied by the objects. The size of the object space is a positive integer, measured by bytes.The OBS b", "doc_type":"api", "kw":"Querying Information About Used Space in a Bucket,Advanced Bucket Settings,API Reference", @@ -502,7 +532,7 @@ { "uri":"obs_04_0059.html", "product_code":"obs", - "code":"51", + "code":"54", "des":"OBS uses the PUT method to configure a custom domain name for a bucket. After the configuration is successful, you can access the bucket through the domain name.Ensure th", "doc_type":"api", "kw":"Configuring a Custom Domain Name for a Bucket,Advanced Bucket Settings,API Reference", @@ -512,7 +542,7 @@ { "uri":"obs_04_0060.html", "product_code":"obs", - "code":"52", + "code":"55", "des":"OBS uses the GET method to obtain the custom domain name of a bucket.This request message does not contain the request parameters.This request uses common headers. For de", "doc_type":"api", "kw":"Obtaining the Custom Domain Name of a Bucket,Advanced Bucket Settings,API Reference", @@ -522,7 +552,7 @@ { "uri":"obs_04_0061.html", "product_code":"obs", - "code":"53", + "code":"56", "des":"OBS uses the DELETE method to delete the custom domain name of a bucket.This request uses common headers. For details, see Table 3.This request involves no elements.The r", "doc_type":"api", "kw":"Deleting the Custom Domain Name of a Bucket,Advanced Bucket Settings,API Reference", @@ -532,7 +562,7 @@ { "uri":"obs_04_0062.html", "product_code":"obs", - "code":"54", + "code":"57", "des":"OBS uses the PUT method to create or update the default server-side encryption for a bucket.After encryption is enabled for a bucket, objects uploaded to the bucket are e", "doc_type":"api", "kw":"Configuring Bucket Encryption,Advanced Bucket Settings,API Reference", @@ -542,7 +572,7 @@ { "uri":"obs_04_0063.html", "product_code":"obs", - "code":"55", + "code":"58", "des":"OBS uses the GET method to obtain the encryption configuration of a specified bucket.To perform this operation, you must have the GetEncryptionConfiguration permission. B", "doc_type":"api", "kw":"Obtaining Bucket Encryption Configuration,Advanced Bucket Settings,API Reference", @@ -552,7 +582,7 @@ { "uri":"obs_04_0064.html", "product_code":"obs", - "code":"56", + "code":"59", "des":"OBS uses the DELETE method to delete the encryption configuration of a specified bucket.To perform this operation, you must have the PutEncryptionConfiguration permission", "doc_type":"api", "kw":"Deleting the Encryption Configuration of a Bucket,Advanced Bucket Settings,API Reference", @@ -562,7 +592,7 @@ { "uri":"obs_04_0070.html", "product_code":"obs", - "code":"57", + "code":"60", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Static Website Hosting", @@ -572,7 +602,7 @@ { "uri":"obs_04_0071.html", "product_code":"obs", - "code":"58", + "code":"61", "des":"OBS allows you to store static web page resources such as HTML web pages, flash files, videos, and audios in a bucket. When a client accesses these resources from the web", "doc_type":"api", "kw":"Configuring Static Website Hosting for a Bucket,Static Website Hosting,API Reference", @@ -582,7 +612,7 @@ { "uri":"obs_04_0072.html", "product_code":"obs", - "code":"59", + "code":"62", "des":"You can perform this operation to get the static website hosting configuration of a bucket.To perform this operation, you must have the GetBucketWebsite permission. By de", "doc_type":"api", "kw":"Obtaining the Static Website Hosting Configuration of a Bucket,Static Website Hosting,API Reference", @@ -592,7 +622,7 @@ { "uri":"obs_04_0073.html", "product_code":"obs", - "code":"60", + "code":"63", "des":"You can perform this operation to delete the website configuration of a bucket.To perform this operation, you must have the DeleteBucketWebsite permission. By default, on", "doc_type":"api", "kw":"Deleting the Static Website Hosting Configuration of a Bucket,Static Website Hosting,API Reference", @@ -602,7 +632,7 @@ { "uri":"obs_04_0074.html", "product_code":"obs", - "code":"61", + "code":"64", "des":"Cross-origin resource sharing (CORS) is a standard mechanism proposed by World Wide Web Consortium (W3C) and allows cross-origin requests from clients. For standard web p", "doc_type":"api", "kw":"Configuring Bucket CORS,Static Website Hosting,API Reference", @@ -612,7 +642,7 @@ { "uri":"obs_04_0075.html", "product_code":"obs", - "code":"62", + "code":"65", "des":"You can perform this operation to obtain CORS configuration information about a specified bucket.To perform this operation, you must have the GetBucketCORS permission. By", "doc_type":"api", "kw":"Obtaining the CORS Configuration of a Bucket,Static Website Hosting,API Reference", @@ -622,7 +652,7 @@ { "uri":"obs_04_0076.html", "product_code":"obs", - "code":"63", + "code":"66", "des":"This operation is used to delete the CORS configuration of a bucket. After the CORS configuration is deleted, the bucket and objects in it cannot be accessed by requests ", "doc_type":"api", "kw":"Deleting the CORS Configuration of a Bucket,Static Website Hosting,API Reference", @@ -632,7 +662,7 @@ { "uri":"obs_04_0077.html", "product_code":"obs", - "code":"64", + "code":"67", "des":"OPTIONS refers to pre-requests that are sent to servers by clients. Generally, the requests are used to check whether clients have permissions to perform operations on se", "doc_type":"api", "kw":"OPTIONS Bucket,Static Website Hosting,API Reference", @@ -642,7 +672,7 @@ { "uri":"obs_04_0078.html", "product_code":"obs", - "code":"65", + "code":"68", "des":"For details, see OPTIONS Bucket.With the OPTIONS Object, you need to specify an object name in the URL, but an object name is not required with the OPTIONS Bucket, which ", "doc_type":"api", "kw":"OPTIONS Object,Static Website Hosting,API Reference", @@ -652,7 +682,7 @@ { "uri":"obs_04_0079.html", "product_code":"obs", - "code":"66", + "code":"69", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Operations on Objects", @@ -662,7 +692,7 @@ { "uri":"obs_04_0080.html", "product_code":"obs", - "code":"67", + "code":"70", "des":"After bucket creation in OBS, you can use this operation to upload an object to the bucket. Uploading an object adds it to a bucket. This requires users to have the write", "doc_type":"api", "kw":"Uploading Objects - PUT,Operations on Objects,API Reference", @@ -672,7 +702,7 @@ { "uri":"obs_04_0081.html", "product_code":"obs", - "code":"68", + "code":"71", "des":"This operation uploads an object to a bucket. To use this operation, you must have the write permission on the bucket.The name of each object in a bucket must be unique.W", "doc_type":"api", "kw":"Uploading Objects - POST,Operations on Objects,API Reference", @@ -682,7 +712,7 @@ { "uri":"obs_04_0082.html", "product_code":"obs", - "code":"69", + "code":"72", "des":"You can perform this operation to create a copy of an existing object in OBS.Users can determine whether to copy the metadata of the source object to the target object (b", "doc_type":"api", "kw":"Copying Objects,Operations on Objects,API Reference", @@ -692,7 +722,7 @@ { "uri":"obs_04_0083.html", "product_code":"obs", - "code":"70", + "code":"73", "des":"This operation downloads objects from OBS. Before using this GET operation, check that you have the read permission for the target object. If the object owner has granted", "doc_type":"api", "kw":"Downloading Objects,Operations on Objects,API Reference", @@ -702,7 +732,7 @@ { "uri":"obs_04_0084.html", "product_code":"obs", - "code":"71", + "code":"74", "des":"Users with the read permission on objects can perform the HeadObject operation to obtain metadata of objects. The object metadata is included in the response.This operati", "doc_type":"api", "kw":"Querying Object Metadata,Operations on Objects,API Reference", @@ -712,7 +742,7 @@ { "uri":"obs_04_0085.html", "product_code":"obs", - "code":"72", + "code":"75", "des":"You can perform this operation to delete an object. If you try to delete an object that does not exist, OBS will return a success message.When versioning is enabled for a", "doc_type":"api", "kw":"Deleting an Object,Operations on Objects,API Reference", @@ -722,7 +752,7 @@ { "uri":"obs_04_0086.html", "product_code":"obs", - "code":"73", + "code":"76", "des":"This operation can be used to batch delete some objects in a bucket. The deletion cannot be undone. After the operation is implemented, the returned information contains ", "doc_type":"api", "kw":"Deleting Objects,Operations on Objects,API Reference", @@ -732,7 +762,7 @@ { "uri":"obs_04_0087.html", "product_code":"obs", - "code":"74", + "code":"77", "des":"To obtain the content of an object in the Cold storage class, you need to restore the object first and then you can download it. After an object is restored, a copy of th", "doc_type":"api", "kw":"Restoring Cold Objects,Operations on Objects,API Reference", @@ -742,7 +772,7 @@ { "uri":"obs_04_0089.html", "product_code":"obs", - "code":"75", + "code":"78", "des":"OBS supports the control of access permission for objects. By default, only the object creator has the read and write permissions for the object. However, the creator can", "doc_type":"api", "kw":"Configuring an Object ACL,Operations on Objects,API Reference", @@ -752,7 +782,7 @@ { "uri":"obs_04_0090.html", "product_code":"obs", - "code":"76", + "code":"79", "des":"The implementation of this operation returns the ACL configuration of an object. You can perform this operation to view the ACL of an object, as long as you have the read", "doc_type":"api", "kw":"Obtaining Object ACL Configuration,Operations on Objects,API Reference", @@ -762,7 +792,7 @@ { "uri":"obs_04_0091.html", "product_code":"obs", - "code":"77", + "code":"80", "des":"This operation modifies, deletes, or adds metadata to uploaded objects in a bucket.OBS supports the six HTTP request headers: Cache-Control, Expires, Content-Encoding, Co", "doc_type":"api", "kw":"Modifying Object Metadata,Operations on Objects,API Reference", @@ -772,7 +802,7 @@ { "uri":"obs_04_0092.html", "product_code":"obs", - "code":"78", + "code":"81", "des":"This operation can modify an object from a specified position.This API is supported only by parallel file systems. For details about how to create a parallel file system,", "doc_type":"api", "kw":"Modifying an Object,Operations on Objects,API Reference", @@ -782,7 +812,7 @@ { "uri":"obs_04_0093.html", "product_code":"obs", - "code":"79", + "code":"82", "des":"This operation can truncate an object to a specified size.This API is supported only by parallel file systems. For details about how to create a parallel file system, see", "doc_type":"api", "kw":"Truncating an Object,Operations on Objects,API Reference", @@ -792,7 +822,7 @@ { "uri":"obs_04_0094.html", "product_code":"obs", - "code":"80", + "code":"83", "des":"This operation can rename an object.This API is supported only by parallel file systems. For details about how to create a parallel file system, see Sample Request 4. Ren", "doc_type":"api", "kw":"Renaming an Object,Operations on Objects,API Reference", @@ -802,7 +832,7 @@ { "uri":"obs_04_0096.html", "product_code":"obs", - "code":"81", + "code":"84", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Operations on Multipart Upload", @@ -812,7 +842,7 @@ { "uri":"obs_04_0097.html", "product_code":"obs", - "code":"82", + "code":"85", "des":"This operation queries all the multipart upload tasks that are initialized but have not been merged or canceled in a bucket.This request uses parameters to specify the qu", "doc_type":"api", "kw":"Listing Initiated Multipart Uploads in a Bucket,Operations on Multipart Upload,API Reference", @@ -822,7 +852,7 @@ { "uri":"obs_04_0098.html", "product_code":"obs", - "code":"83", + "code":"86", "des":"Before using this operation, make an API operation call to create a multipart upload task. The system will return a globally unique upload ID as the multipart upload iden", "doc_type":"api", "kw":"Initiating a Multipart Upload,Operations on Multipart Upload,API Reference", @@ -832,7 +862,7 @@ { "uri":"obs_04_0099.html", "product_code":"obs", - "code":"84", + "code":"87", "des":"After initiating a multipart upload, you can use this operation to upload parts for the multipart upload using its task ID. When parts are uploaded in a multipart upload ", "doc_type":"api", "kw":"Multipart Upload,Operations on Multipart Upload,API Reference", @@ -842,7 +872,7 @@ { "uri":"obs_04_0100.html", "product_code":"obs", - "code":"85", + "code":"88", "des":"After creating a multipart upload job, you can specify its upload ID and upload a part to the job in OBS. Alternatively, you can make an API call to add a part (part of a", "doc_type":"api", "kw":"Uploading a Part of an Object - Copy,Operations on Multipart Upload,API Reference", @@ -852,7 +882,7 @@ { "uri":"obs_04_0101.html", "product_code":"obs", - "code":"86", + "code":"89", "des":"You can perform this operation to query all parts associated to a multipart upload. The size of each part listed by this API is the same as the size of the part uploaded.", "doc_type":"api", "kw":"Listing Uploaded Parts of an Object,Operations on Multipart Upload,API Reference", @@ -862,7 +892,7 @@ { "uri":"obs_04_0102.html", "product_code":"obs", - "code":"87", + "code":"90", "des":"After uploading all parts for a multipart upload, you can use this operation to complete the multipart upload. Before performing this operation, you cannot download the u", "doc_type":"api", "kw":"Completing a Multipart Upload,Operations on Multipart Upload,API Reference", @@ -872,7 +902,7 @@ { "uri":"obs_04_0103.html", "product_code":"obs", - "code":"88", + "code":"91", "des":"You can perform this operation to abort a multipart upload. You cannot upload or list parts after operations to merge parts or abort a multipart upload are performed.This", "doc_type":"api", "kw":"Canceling a Multipart Upload Task,Operations on Multipart Upload,API Reference", @@ -882,7 +912,7 @@ { "uri":"obs_04_0104.html", "product_code":"obs", - "code":"89", + "code":"92", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Server-Side Encryption", @@ -892,7 +922,7 @@ { "uri":"obs_04_0105.html", "product_code":"obs", - "code":"90", + "code":"93", "des":"Users can upload and download objects in common mode or using server-side encryption.OBS supports server-side encryption.Users can implement this function based on the ke", "doc_type":"api", "kw":"Server-Side Encryption Overview,Server-Side Encryption,API Reference", @@ -902,7 +932,7 @@ { "uri":"obs_04_0106.html", "product_code":"obs", - "code":"91", + "code":"94", "des":"In the SSE-KMS mode, OBS uses the keys provided by KMS for server-side encryption. When an object encrypted using SSE-KMS is added to a bucket in a region for the first t", "doc_type":"api", "kw":"Server-Side Encryption (SSE-KMS),Server-Side Encryption,API Reference", @@ -912,7 +942,7 @@ { "uri":"obs_04_0107.html", "product_code":"obs", - "code":"92", + "code":"95", "des":"In the SSE-C mode, OBS uses the keys and MD5 values provided by customers for server-side encryption.OBS does not store your encryption keys. If you lost your encryption ", "doc_type":"api", "kw":"Server-Side Encryption (SSE-C),Server-Side Encryption,API Reference", @@ -922,7 +952,7 @@ { "uri":"obs_04_0108.html", "product_code":"obs", - "code":"93", + "code":"96", "des":"This section lists the operations related to server-side encryption and describes HTTP protocols applicable to the operations.The following table describes the requiremen", "doc_type":"api", "kw":"API Operations Related to Server-Side Encryption,Server-Side Encryption,API Reference", @@ -932,7 +962,7 @@ { "uri":"obs_04_0113.html", "product_code":"obs", - "code":"94", + "code":"97", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Appendixes", @@ -942,8 +972,8 @@ { "uri":"obs_04_0114.html", "product_code":"obs", - "code":"95", - "des":"Table 1 lists the status codes and prompt message returned by the server to the user.", + "code":"98", + "des":"Table 1 lists the status codes and prompt message returned by the server to the user.Send API requests using the HTTP/HTTPS format that complies with https://www.ietf.org", "doc_type":"api", "kw":"Status Codes,Appendixes,API Reference", "title":"Status Codes", @@ -952,7 +982,7 @@ { "uri":"obs_04_0115.html", "product_code":"obs", - "code":"96", + "code":"99", "des":"If an API call fails, no result data is returned. You can locate the cause of the error according to the error code of each API. If an API call fails, HTTP status code 3x", "doc_type":"api", "kw":"Error Codes,Appendixes,API Reference", @@ -962,7 +992,7 @@ { "uri":"obs_04_0116.html", "product_code":"obs", - "code":"97", + "code":"100", "des":"When you call APIs, you need to use the AK and SK for authentication. To obtain the AK and SK, perform the following steps:Keep AKs and SKs properly to prevent informatio", "doc_type":"api", "kw":"Obtaining Access Keys (AK/SK),Appendixes,API Reference", @@ -972,7 +1002,7 @@ { "uri":"obs_04_0117.html", "product_code":"obs", - "code":"98", + "code":"101", "des":"During API calls, the domain ID (DomainID) and user ID (UserID) need to be specified in some requests. Therefore, you need to obtain them from the console. The procedure ", "doc_type":"api", "kw":"Obtaining the Domain ID and User ID,Appendixes,API Reference", @@ -982,7 +1012,7 @@ { "uri":"obs_04_0118.html", "product_code":"obs", - "code":"99", + "code":"102", "des":"After a success message is returned in response to a client's write or deletion request, the client can obtain the latest data. If a client that initiates a write request", "doc_type":"api", "kw":"Consistency of Concurrent Operations,Appendixes,API Reference", @@ -992,7 +1022,7 @@ { "uri":"obs_04_0000.html", "product_code":"obs", - "code":"100", + "code":"103", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Change History,API Reference", diff --git a/docs/obs/api-ref/CLASS.TXT.json b/docs/obs/api-ref/CLASS.TXT.json index ae0d583c6..332ff4cec 100644 --- a/docs/obs/api-ref/CLASS.TXT.json +++ b/docs/obs/api-ref/CLASS.TXT.json @@ -395,6 +395,33 @@ "p_code":"28", "code":"44" }, + { + "desc":"Cross-region replication refers to the automatic and asynchronous replication of objects across buckets in different regions. By activating the cross-region replication f", + "product_code":"obs", + "title":"Configuring Cross-Region Replication for a Bucket", + "uri":"obs_04_0046.html", + "doc_type":"api", + "p_code":"28", + "code":"45" + }, + { + "desc":"This operation obtains the replication configuration information of a specified bucket. To perform this operation, you must have the GetReplicationConfiguration permissio", + "product_code":"obs", + "title":"Obtaining the Cross-Region Replication Configuration of a Bucket", + "uri":"obs_04_0047.html", + "doc_type":"api", + "p_code":"28", + "code":"46" + }, + { + "desc":"You can perform this operation to delete the bucket replication configuration. To perform this operation, you must have the DeleteReplicationConfiguration permission.This", + "product_code":"obs", + "title":"Deleting the Cross-Region Replication Configuration of a Bucket", + "uri":"obs_04_0048.html", + "doc_type":"api", + "p_code":"28", + "code":"47" + }, { "desc":"This operation adds tags to a bucket.After tags are added to a bucket, all charging data records (CDRs) generated by the requests for this bucket will take the same tags.", "product_code":"obs", @@ -402,7 +429,7 @@ "uri":"obs_04_0049.html", "doc_type":"api", "p_code":"28", - "code":"45" + "code":"48" }, { "desc":"This operation obtains information about tags of a bucket.To perform this operation, you must have the GetBucketTagging permission. By default, only the bucket owner can ", @@ -411,7 +438,7 @@ "uri":"obs_04_0050.html", "doc_type":"api", "p_code":"28", - "code":"46" + "code":"49" }, { "desc":"This operation deletes the tags of a bucket.To perform this operation, you must have the PutBucketTagging permission. By default, only the bucket owner can delete the tag", @@ -420,7 +447,7 @@ "uri":"obs_04_0051.html", "doc_type":"api", "p_code":"28", - "code":"47" + "code":"50" }, { "desc":"The bucket storage quota must be a positive integer in the unit of byte. The maximum storage quota is 263 – 1 bytes. The default bucket storage quota is 0, indicating tha", @@ -429,7 +456,7 @@ "uri":"obs_04_0052.html", "doc_type":"api", "p_code":"28", - "code":"48" + "code":"51" }, { "desc":"Only the bucket owner can query information about the bucket storage quota. However, an inactive owner is not allowed to get the bucket quota. The bucket storage quota is", @@ -438,7 +465,7 @@ "uri":"obs_04_0053.html", "doc_type":"api", "p_code":"28", - "code":"49" + "code":"52" }, { "desc":"This operation queries the number of bucket objects and the space occupied by the objects. The size of the object space is a positive integer, measured by bytes.The OBS b", @@ -447,7 +474,7 @@ "uri":"obs_04_0054.html", "doc_type":"api", "p_code":"28", - "code":"50" + "code":"53" }, { "desc":"OBS uses the PUT method to configure a custom domain name for a bucket. After the configuration is successful, you can access the bucket through the domain name.Ensure th", @@ -456,7 +483,7 @@ "uri":"obs_04_0059.html", "doc_type":"api", "p_code":"28", - "code":"51" + "code":"54" }, { "desc":"OBS uses the GET method to obtain the custom domain name of a bucket.This request message does not contain the request parameters.This request uses common headers. For de", @@ -465,7 +492,7 @@ "uri":"obs_04_0060.html", "doc_type":"api", "p_code":"28", - "code":"52" + "code":"55" }, { "desc":"OBS uses the DELETE method to delete the custom domain name of a bucket.This request uses common headers. For details, see Table 3.This request involves no elements.The r", @@ -474,7 +501,7 @@ "uri":"obs_04_0061.html", "doc_type":"api", "p_code":"28", - "code":"53" + "code":"56" }, { "desc":"OBS uses the PUT method to create or update the default server-side encryption for a bucket.After encryption is enabled for a bucket, objects uploaded to the bucket are e", @@ -483,7 +510,7 @@ "uri":"obs_04_0062.html", "doc_type":"api", "p_code":"28", - "code":"54" + "code":"57" }, { "desc":"OBS uses the GET method to obtain the encryption configuration of a specified bucket.To perform this operation, you must have the GetEncryptionConfiguration permission. B", @@ -492,7 +519,7 @@ "uri":"obs_04_0063.html", "doc_type":"api", "p_code":"28", - "code":"55" + "code":"58" }, { "desc":"OBS uses the DELETE method to delete the encryption configuration of a specified bucket.To perform this operation, you must have the PutEncryptionConfiguration permission", @@ -501,7 +528,7 @@ "uri":"obs_04_0064.html", "doc_type":"api", "p_code":"28", - "code":"56" + "code":"59" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -510,7 +537,7 @@ "uri":"obs_04_0070.html", "doc_type":"api", "p_code":"19", - "code":"57" + "code":"60" }, { "desc":"OBS allows you to store static web page resources such as HTML web pages, flash files, videos, and audios in a bucket. When a client accesses these resources from the web", @@ -518,8 +545,8 @@ "title":"Configuring Static Website Hosting for a Bucket", "uri":"obs_04_0071.html", "doc_type":"api", - "p_code":"57", - "code":"58" + "p_code":"60", + "code":"61" }, { "desc":"You can perform this operation to get the static website hosting configuration of a bucket.To perform this operation, you must have the GetBucketWebsite permission. By de", @@ -527,8 +554,8 @@ "title":"Obtaining the Static Website Hosting Configuration of a Bucket", "uri":"obs_04_0072.html", "doc_type":"api", - "p_code":"57", - "code":"59" + "p_code":"60", + "code":"62" }, { "desc":"You can perform this operation to delete the website configuration of a bucket.To perform this operation, you must have the DeleteBucketWebsite permission. By default, on", @@ -536,8 +563,8 @@ "title":"Deleting the Static Website Hosting Configuration of a Bucket", "uri":"obs_04_0073.html", "doc_type":"api", - "p_code":"57", - "code":"60" + "p_code":"60", + "code":"63" }, { "desc":"Cross-origin resource sharing (CORS) is a standard mechanism proposed by World Wide Web Consortium (W3C) and allows cross-origin requests from clients. For standard web p", @@ -545,8 +572,8 @@ "title":"Configuring Bucket CORS", "uri":"obs_04_0074.html", "doc_type":"api", - "p_code":"57", - "code":"61" + "p_code":"60", + "code":"64" }, { "desc":"You can perform this operation to obtain CORS configuration information about a specified bucket.To perform this operation, you must have the GetBucketCORS permission. By", @@ -554,8 +581,8 @@ "title":"Obtaining the CORS Configuration of a Bucket", "uri":"obs_04_0075.html", "doc_type":"api", - "p_code":"57", - "code":"62" + "p_code":"60", + "code":"65" }, { "desc":"This operation is used to delete the CORS configuration of a bucket. After the CORS configuration is deleted, the bucket and objects in it cannot be accessed by requests ", @@ -563,8 +590,8 @@ "title":"Deleting the CORS Configuration of a Bucket", "uri":"obs_04_0076.html", "doc_type":"api", - "p_code":"57", - "code":"63" + "p_code":"60", + "code":"66" }, { "desc":"OPTIONS refers to pre-requests that are sent to servers by clients. Generally, the requests are used to check whether clients have permissions to perform operations on se", @@ -572,8 +599,8 @@ "title":"OPTIONS Bucket", "uri":"obs_04_0077.html", "doc_type":"api", - "p_code":"57", - "code":"64" + "p_code":"60", + "code":"67" }, { "desc":"For details, see OPTIONS Bucket.With the OPTIONS Object, you need to specify an object name in the URL, but an object name is not required with the OPTIONS Bucket, which ", @@ -581,8 +608,8 @@ "title":"OPTIONS Object", "uri":"obs_04_0078.html", "doc_type":"api", - "p_code":"57", - "code":"65" + "p_code":"60", + "code":"68" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -591,7 +618,7 @@ "uri":"obs_04_0079.html", "doc_type":"api", "p_code":"19", - "code":"66" + "code":"69" }, { "desc":"After bucket creation in OBS, you can use this operation to upload an object to the bucket. Uploading an object adds it to a bucket. This requires users to have the write", @@ -599,8 +626,8 @@ "title":"Uploading Objects - PUT", "uri":"obs_04_0080.html", "doc_type":"api", - "p_code":"66", - "code":"67" + "p_code":"69", + "code":"70" }, { "desc":"This operation uploads an object to a bucket. To use this operation, you must have the write permission on the bucket.The name of each object in a bucket must be unique.W", @@ -608,8 +635,8 @@ "title":"Uploading Objects - POST", "uri":"obs_04_0081.html", "doc_type":"api", - "p_code":"66", - "code":"68" + "p_code":"69", + "code":"71" }, { "desc":"You can perform this operation to create a copy of an existing object in OBS.Users can determine whether to copy the metadata of the source object to the target object (b", @@ -617,8 +644,8 @@ "title":"Copying Objects", "uri":"obs_04_0082.html", "doc_type":"api", - "p_code":"66", - "code":"69" + "p_code":"69", + "code":"72" }, { "desc":"This operation downloads objects from OBS. Before using this GET operation, check that you have the read permission for the target object. If the object owner has granted", @@ -626,8 +653,8 @@ "title":"Downloading Objects", "uri":"obs_04_0083.html", "doc_type":"api", - "p_code":"66", - "code":"70" + "p_code":"69", + "code":"73" }, { "desc":"Users with the read permission on objects can perform the HeadObject operation to obtain metadata of objects. The object metadata is included in the response.This operati", @@ -635,8 +662,8 @@ "title":"Querying Object Metadata", "uri":"obs_04_0084.html", "doc_type":"api", - "p_code":"66", - "code":"71" + "p_code":"69", + "code":"74" }, { "desc":"You can perform this operation to delete an object. If you try to delete an object that does not exist, OBS will return a success message.When versioning is enabled for a", @@ -644,8 +671,8 @@ "title":"Deleting an Object", "uri":"obs_04_0085.html", "doc_type":"api", - "p_code":"66", - "code":"72" + "p_code":"69", + "code":"75" }, { "desc":"This operation can be used to batch delete some objects in a bucket. The deletion cannot be undone. After the operation is implemented, the returned information contains ", @@ -653,8 +680,8 @@ "title":"Deleting Objects", "uri":"obs_04_0086.html", "doc_type":"api", - "p_code":"66", - "code":"73" + "p_code":"69", + "code":"76" }, { "desc":"To obtain the content of an object in the Cold storage class, you need to restore the object first and then you can download it. After an object is restored, a copy of th", @@ -662,8 +689,8 @@ "title":"Restoring Cold Objects", "uri":"obs_04_0087.html", "doc_type":"api", - "p_code":"66", - "code":"74" + "p_code":"69", + "code":"77" }, { "desc":"OBS supports the control of access permission for objects. By default, only the object creator has the read and write permissions for the object. However, the creator can", @@ -671,8 +698,8 @@ "title":"Configuring an Object ACL", "uri":"obs_04_0089.html", "doc_type":"api", - "p_code":"66", - "code":"75" + "p_code":"69", + "code":"78" }, { "desc":"The implementation of this operation returns the ACL configuration of an object. You can perform this operation to view the ACL of an object, as long as you have the read", @@ -680,8 +707,8 @@ "title":"Obtaining Object ACL Configuration", "uri":"obs_04_0090.html", "doc_type":"api", - "p_code":"66", - "code":"76" + "p_code":"69", + "code":"79" }, { "desc":"This operation modifies, deletes, or adds metadata to uploaded objects in a bucket.OBS supports the six HTTP request headers: Cache-Control, Expires, Content-Encoding, Co", @@ -689,8 +716,8 @@ "title":"Modifying Object Metadata", "uri":"obs_04_0091.html", "doc_type":"api", - "p_code":"66", - "code":"77" + "p_code":"69", + "code":"80" }, { "desc":"This operation can modify an object from a specified position.This API is supported only by parallel file systems. For details about how to create a parallel file system,", @@ -698,8 +725,8 @@ "title":"Modifying an Object", "uri":"obs_04_0092.html", "doc_type":"api", - "p_code":"66", - "code":"78" + "p_code":"69", + "code":"81" }, { "desc":"This operation can truncate an object to a specified size.This API is supported only by parallel file systems. For details about how to create a parallel file system, see", @@ -707,8 +734,8 @@ "title":"Truncating an Object", "uri":"obs_04_0093.html", "doc_type":"api", - "p_code":"66", - "code":"79" + "p_code":"69", + "code":"82" }, { "desc":"This operation can rename an object.This API is supported only by parallel file systems. For details about how to create a parallel file system, see Sample Request 4. Ren", @@ -716,8 +743,8 @@ "title":"Renaming an Object", "uri":"obs_04_0094.html", "doc_type":"api", - "p_code":"66", - "code":"80" + "p_code":"69", + "code":"83" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -726,7 +753,7 @@ "uri":"obs_04_0096.html", "doc_type":"api", "p_code":"19", - "code":"81" + "code":"84" }, { "desc":"This operation queries all the multipart upload tasks that are initialized but have not been merged or canceled in a bucket.This request uses parameters to specify the qu", @@ -734,8 +761,8 @@ "title":"Listing Initiated Multipart Uploads in a Bucket", "uri":"obs_04_0097.html", "doc_type":"api", - "p_code":"81", - "code":"82" + "p_code":"84", + "code":"85" }, { "desc":"Before using this operation, make an API operation call to create a multipart upload task. The system will return a globally unique upload ID as the multipart upload iden", @@ -743,8 +770,8 @@ "title":"Initiating a Multipart Upload", "uri":"obs_04_0098.html", "doc_type":"api", - "p_code":"81", - "code":"83" + "p_code":"84", + "code":"86" }, { "desc":"After initiating a multipart upload, you can use this operation to upload parts for the multipart upload using its task ID. When parts are uploaded in a multipart upload ", @@ -752,8 +779,8 @@ "title":"Multipart Upload", "uri":"obs_04_0099.html", "doc_type":"api", - "p_code":"81", - "code":"84" + "p_code":"84", + "code":"87" }, { "desc":"After creating a multipart upload job, you can specify its upload ID and upload a part to the job in OBS. Alternatively, you can make an API call to add a part (part of a", @@ -761,8 +788,8 @@ "title":"Uploading a Part of an Object - Copy", "uri":"obs_04_0100.html", "doc_type":"api", - "p_code":"81", - "code":"85" + "p_code":"84", + "code":"88" }, { "desc":"You can perform this operation to query all parts associated to a multipart upload. The size of each part listed by this API is the same as the size of the part uploaded.", @@ -770,8 +797,8 @@ "title":"Listing Uploaded Parts of an Object", "uri":"obs_04_0101.html", "doc_type":"api", - "p_code":"81", - "code":"86" + "p_code":"84", + "code":"89" }, { "desc":"After uploading all parts for a multipart upload, you can use this operation to complete the multipart upload. Before performing this operation, you cannot download the u", @@ -779,8 +806,8 @@ "title":"Completing a Multipart Upload", "uri":"obs_04_0102.html", "doc_type":"api", - "p_code":"81", - "code":"87" + "p_code":"84", + "code":"90" }, { "desc":"You can perform this operation to abort a multipart upload. You cannot upload or list parts after operations to merge parts or abort a multipart upload are performed.This", @@ -788,8 +815,8 @@ "title":"Canceling a Multipart Upload Task", "uri":"obs_04_0103.html", "doc_type":"api", - "p_code":"81", - "code":"88" + "p_code":"84", + "code":"91" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -798,7 +825,7 @@ "uri":"obs_04_0104.html", "doc_type":"api", "p_code":"19", - "code":"89" + "code":"92" }, { "desc":"Users can upload and download objects in common mode or using server-side encryption.OBS supports server-side encryption.Users can implement this function based on the ke", @@ -806,8 +833,8 @@ "title":"Server-Side Encryption Overview", "uri":"obs_04_0105.html", "doc_type":"api", - "p_code":"89", - "code":"90" + "p_code":"92", + "code":"93" }, { "desc":"In the SSE-KMS mode, OBS uses the keys provided by KMS for server-side encryption. When an object encrypted using SSE-KMS is added to a bucket in a region for the first t", @@ -815,8 +842,8 @@ "title":"Server-Side Encryption (SSE-KMS)", "uri":"obs_04_0106.html", "doc_type":"api", - "p_code":"89", - "code":"91" + "p_code":"92", + "code":"94" }, { "desc":"In the SSE-C mode, OBS uses the keys and MD5 values provided by customers for server-side encryption.OBS does not store your encryption keys. If you lost your encryption ", @@ -824,8 +851,8 @@ "title":"Server-Side Encryption (SSE-C)", "uri":"obs_04_0107.html", "doc_type":"api", - "p_code":"89", - "code":"92" + "p_code":"92", + "code":"95" }, { "desc":"This section lists the operations related to server-side encryption and describes HTTP protocols applicable to the operations.The following table describes the requiremen", @@ -833,8 +860,8 @@ "title":"API Operations Related to Server-Side Encryption", "uri":"obs_04_0108.html", "doc_type":"api", - "p_code":"89", - "code":"93" + "p_code":"92", + "code":"96" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -843,16 +870,16 @@ "uri":"obs_04_0113.html", "doc_type":"api", "p_code":"", - "code":"94" + "code":"97" }, { - "desc":"Table 1 lists the status codes and prompt message returned by the server to the user.", + "desc":"Table 1 lists the status codes and prompt message returned by the server to the user.Send API requests using the HTTP/HTTPS format that complies with https://www.ietf.org", "product_code":"obs", "title":"Status Codes", "uri":"obs_04_0114.html", "doc_type":"api", - "p_code":"94", - "code":"95" + "p_code":"97", + "code":"98" }, { "desc":"If an API call fails, no result data is returned. You can locate the cause of the error according to the error code of each API. If an API call fails, HTTP status code 3x", @@ -860,8 +887,8 @@ "title":"Error Codes", "uri":"obs_04_0115.html", "doc_type":"api", - "p_code":"94", - "code":"96" + "p_code":"97", + "code":"99" }, { "desc":"When you call APIs, you need to use the AK and SK for authentication. To obtain the AK and SK, perform the following steps:Keep AKs and SKs properly to prevent informatio", @@ -869,8 +896,8 @@ "title":"Obtaining Access Keys (AK/SK)", "uri":"obs_04_0116.html", "doc_type":"api", - "p_code":"94", - "code":"97" + "p_code":"97", + "code":"100" }, { "desc":"During API calls, the domain ID (DomainID) and user ID (UserID) need to be specified in some requests. Therefore, you need to obtain them from the console. The procedure ", @@ -878,8 +905,8 @@ "title":"Obtaining the Domain ID and User ID", "uri":"obs_04_0117.html", "doc_type":"api", - "p_code":"94", - "code":"98" + "p_code":"97", + "code":"101" }, { "desc":"After a success message is returned in response to a client's write or deletion request, the client can obtain the latest data. If a client that initiates a write request", @@ -887,8 +914,8 @@ "title":"Consistency of Concurrent Operations", "uri":"obs_04_0118.html", "doc_type":"api", - "p_code":"94", - "code":"99" + "p_code":"97", + "code":"102" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -897,6 +924,6 @@ "uri":"obs_04_0000.html", "doc_type":"api", "p_code":"", - "code":"100" + "code":"103" } ] \ No newline at end of file diff --git a/docs/obs/api-ref/obs_04_0000.html b/docs/obs/api-ref/obs_04_0000.html index b44b78a10..664f1fd56 100644 --- a/docs/obs/api-ref/obs_04_0000.html +++ b/docs/obs/api-ref/obs_04_0000.html @@ -8,7 +8,14 @@ -
2023-01-30
+2023-05-04
+This is the sixth official release.
+This issue incorporates the following change:
+2023-01-30
This is the fifth official release.
This issue incorporates the following changes:
diff --git a/docs/obs/api-ref/obs_04_0005.html b/docs/obs/api-ref/obs_04_0005.html index 5eb953c2a..9461162ff 100644 --- a/docs/obs/api-ref/obs_04_0005.html +++ b/docs/obs/api-ref/obs_04_0005.html @@ -129,9 +129,24 @@Obtains the default storage class configuration of a bucket.
Configures the cross-region replication function for a bucket. By activating the cross-region replication function, OBS can copy new objects and modified objects from a source bucket to destination buckets in different regions.
+Obtaining the Cross-Region Replication Configuration of a Bucket
+Obtains the cross-region replication configuration of a specified bucket.
+Deleting the Cross-Region Replication Configuration of a Bucket
+Deletes the cross-region replication configuration of a specified bucket.
+Adds a tag to an existing bucket. After tags are added to a bucket, all charging data records (CDRs) generated by the requests for this bucket will have the same tags. Thus, CDR reports can be categorized for detailed cost analysis.
+Adds a tag to an existing bucket. After tags are added to a bucket, all service detail records (SDRs) generated by the requests for this bucket will have the same tags. You can categorize the SDRs for detailed cost analysis.
Restores Cold objects. These objects must be restored before they can be downloaded.
+Restores objects in the Cold storage class. You can download these objects only after they are restored.
A bucket name must be unique in OBS. If a user creates a bucket with the same name as that of an existing bucket under the same account and in the same region, a 200 code (indicating success) is returned. In scenarios other than the preceding one, the request for creating a bucket with the same name as that of an existing one will receive the 409 code (indicating that a namesake bucket already exists). To set an access control policy for the bucket to be created, you can add the x-obs-acl parameter to request headers.
-You can create buckets with different storage classes. The x-obs-storage-class header in a bucket creation request specifies the storage class for a bucket. If you do not specify a storage class when you upload an object to the bucket, the object inherits the storage class of the bucket. There are three storage classes: STANDARD (Standard storage class), WARM (Warm storage class), and COLD (Cold storage class) If this header is not in the request, the storage class of the created bucket is Standard.
+You can create buckets with different storage classes. The x-obs-storage-class header in a bucket creation request specifies the storage class for a bucket. If you do not specify a storage class when you upload an object to the bucket, the object inherits the storage class of the bucket. There are three storage classes: STANDARD (Standard storage class), WARM (Warm storage class), and COLD (Cold storage class) If this header is not in the request, the storage class of the created bucket is Standard.
If the storage class of an object is not specified when it is uploaded to a bucket (see Uploading Objects - PUT), the object will be stored in the default storage class of the bucket.
x-obs-storage-class
When creating a bucket, you can add this header to set the default storage class of the bucket. The default storage classes are as follows: STANDARD (Standard storage class), WARM (Warm storage class), and COLD (Cold storage class). If this header is not in the request, the storage class of the bucket created is Standard.
+When creating a bucket, you can add this header to specify the default storage class of the bucket. The default storage classes are as follows: STANDARD (Standard storage class), WARM (Warm storage class), and COLD (Cold storage class). If this header is not in the request, the storage class of the bucket created is Standard.
Type: string
No
diff --git a/docs/obs/api-ref/obs_04_0026.html b/docs/obs/api-ref/obs_04_0026.html index 183a3d54d..e286c5560 100644 --- a/docs/obs/api-ref/obs_04_0026.html +++ b/docs/obs/api-ref/obs_04_0026.html @@ -36,6 +36,12 @@This operation configures lifecycle rules that can delete or migrate objects from a bucket at a specified time. Typical application scenarios:
You can perform this operation to create or update the lifecycle configuration of a bucket.
-
Objects are permanently deleted upon the expiration of their lifecycle time, and the deleted objects cannot be restored.
+
To perform this operation, you must have the PutLifecycleConfiguration permission. By default, only the bucket owner can perform this operation. The bucket owner can grant the permission to other users by configuring the bucket policy or user policy.
The lifecycle configuration enables OBS to delete objects and transition object storage classes at a scheduled time. To prevent a user from doing so, the following permissions granted to the user must be revoked:
@@ -126,7 +126,8 @@ Content-MD5: MD5If the object of the latest version has the DeleteMarker and the object has this version only, this version will be deleted.
If the object of the latest version has the DeleteMarker and the object has other versions, all versions of the object remain unchanged.
-Name |
@@ -219,7 +220,7 @@ Content-MD5: MD5
Required if the Transition, Expiration, AbortIncompleteMultipartUpload, or NoncurrentVersionExpiration element is absent. + | Required if the Transition, Expiration, AbortIncompleteMultipartUpload, or NoncurrentVersionExpiration element is absent. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NoncurrentVersionExpiration @@ -255,7 +256,7 @@ Content-MD5: MD5 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Prefix |
-Object name prefix identifying one or more objects to which the rule applies. + | Object name prefix that identifies one or more objects to which the rule applies. Type: string Ancestor node: Rule Constraints: @@ -298,7 +299,7 @@ Content-Length: lengthResponse HeadersThe response to the request uses common headers. For details, see Table 1. Response ElementsThis response contains no elements. +Response ElementsThis response involves no elements. Error ResponsesNo special error responses are returned. For details about error responses, see Table 2. Specifies the default storage class for a bucket. Type: string Value options: STANDARD | WARM | COLD -There are three storage classes: STANDARD (Standard storage class), WARM (Warm storage class), and COLD (Cold storage class) Therefore, the following values can be configured: STANDARD, WARM, and COLD. +The available storage classes include Standard (STANDARD), Warm (WARM), and Cold (COLD). |
diff --git a/docs/obs/api-ref/obs_04_0046.html b/docs/obs/api-ref/obs_04_0046.html
new file mode 100644
index 000000000..fdb55a658
--- /dev/null
+++ b/docs/obs/api-ref/obs_04_0046.html
@@ -0,0 +1,286 @@
+
+
+Yes Configuring Cross-Region Replication for a Bucket+FunctionsCross-region replication refers to the automatic and asynchronous replication of objects across buckets in different regions. By activating the cross-region replication function, OBS can copy new objects and modified objects from a source bucket to destination buckets in different regions. +The following two requirements must be met when configuring the cross-region replication for a bucket: +
For details about how to configure the bucket policy, see Configuring a Bucket Policy. After the bucket policy is set, the agency (OBS) can read objects from the source bucket and copy objects to the destination bucket. +Request Syntax
Request ParametersThis request contains no message parameters. +Request HeadersThe request uses one header, as described in the following table. + +
Request ElementsThis request contains elements to specify the replication configuration for the bucket in XML format. The following table lists request elements: + +
Response Syntax
Response HeadersThe response to the request uses common headers. For details, see Table 1. +Response ElementsThis response involves no elements. +Error ResponsesNo special error responses are returned for this request. +Sample Request
Sample Response
+
+
diff --git a/docs/obs/api-ref/obs_04_0047.html b/docs/obs/api-ref/obs_04_0047.html
new file mode 100644
index 000000000..05a6d0764
--- /dev/null
+++ b/docs/obs/api-ref/obs_04_0047.html
@@ -0,0 +1,260 @@
+
+
+
+
+Parent topic: Advanced Bucket Settings
+Obtaining the Cross-Region Replication Configuration of a Bucket+FunctionsThis operation obtains the replication configuration information of a specified bucket. To perform this operation, you must have the GetReplicationConfiguration permission. +Request Syntax
Request ParametersThis request contains no message parameters. +Request HeadersThis request uses common headers. For details, see Table 3. +Request ElementsThis request involves no elements. +Response Syntax
Response HeadersThe response to the request uses common headers. For details, see Table 1. +Response ElementsThis response contains elements to detail the configuration. The following table describes the elements. + +
Error ResponsesThe following table describes the error response for this request. + +
Sample Request
Sample Response
+
+
diff --git a/docs/obs/api-ref/obs_04_0048.html b/docs/obs/api-ref/obs_04_0048.html
new file mode 100644
index 000000000..c3f4cdfa8
--- /dev/null
+++ b/docs/obs/api-ref/obs_04_0048.html
@@ -0,0 +1,74 @@
+
+
+
+
+Parent topic: Advanced Bucket Settings
+Deleting the Cross-Region Replication Configuration of a Bucket+FunctionsYou can perform this operation to delete the bucket replication configuration. To perform this operation, you must have the DeleteReplicationConfiguration permission. +Request Syntax
Request ParametersThis request contains no message parameters. +Request HeadersThis request uses common headers. For details, see Table 3. +Request ElementsThis request involves no elements. +Response Syntax
Response HeadersThe response to the request uses common headers. For details, see Table 1. +Response ElementsThis response involves no elements. +Error ResponsesNo special error responses are returned for this request. +Sample Request
Sample Response
+
+
diff --git a/docs/obs/api-ref/obs_04_0080.html b/docs/obs/api-ref/obs_04_0080.html
index 3d38e30c3..8cc3dbaf4 100644
--- a/docs/obs/api-ref/obs_04_0080.html
+++ b/docs/obs/api-ref/obs_04_0080.html
@@ -8,7 +8,7 @@
+
+Parent topic: Advanced Bucket Settings
+You can also specify the value of the x-obs-acl parameter to configure an access control policy for the object. If the x-obs-acl parameter is not specified when an anonymous user uploads an object, the object can be accessed by all OBS users by default. This operation supports server-side encryption. For a single upload, the size of the object to be uploaded ranges [0, 5 GB]. To upload a file greater than 5 GB, see Operations on Multipart Upload. -OBS does not have real folders. To facilitate data management, OBS provides a method to simulate a folder by adding a slash (/) to the object name, for example, test/123.jpg. You can simulate test as a folder and 123.jpg as the name of a file under the test folder. However, the object key remains test/123.jpg. Objects named in this format appear as folders on the console. +OBS does not have real folders. To facilitate data management, OBS provides a method to simulate a folder by adding a slash (/) to the object name, for example, test/123.jpg. You can simulate test as a folder and 123.jpg as the name of a file under the test folder. However, the object key remains test/123.jpg. Objects named in this format appear as folders on the console. When you upload an object larger than 0 in size using this format, an empty folder will be displayed on the console, but the occupied storage capacity is the actual object size. Differences Between PUT and POST MethodsParameters are passed through the request header if the PUT method is used to upload objects; if the POST method is used to upload objects, parameters are passed through the form field in the message body. With the PUT method, you need to specify the object name in the URL, but object name is not required with the POST method, which uses the bucket domain name as the URL. The request lines of the two methods are as follows: @@ -196,7 +196,7 @@ Date: datesuccess-action-redirect Indicates the address (URL) to which a successfully responded request is redirected. -
Type: string No @@ -230,7 +230,7 @@ Content-Type: typeResponse HeadersThe response to the request uses common headers. For details, see Table 1. In addition to the common response headers, the following message headers may also be used. For details, see Table 2. -
|