oci-objectstorage 2.3.1 → 2.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/LICENSE.txt +6 -0
  2. package/lib/client.d.ts +220 -50
  3. package/lib/client.js +269 -55
  4. package/lib/client.js.map +1 -1
  5. package/lib/model/rename-object-details.d.ts +3 -1
  6. package/lib/model/rename-object-details.js.map +1 -1
  7. package/lib/request/abort-multipart-upload-request.d.ts +1 -1
  8. package/lib/request/cancel-work-request-request.d.ts +1 -1
  9. package/lib/request/commit-multipart-upload-request.d.ts +1 -1
  10. package/lib/request/copy-object-request.d.ts +7 -1
  11. package/lib/request/create-bucket-request.d.ts +1 -1
  12. package/lib/request/create-multipart-upload-request.d.ts +7 -1
  13. package/lib/request/create-preauthenticated-request-request.d.ts +1 -1
  14. package/lib/request/create-replication-policy-request.d.ts +1 -1
  15. package/lib/request/create-retention-rule-request.d.ts +1 -1
  16. package/lib/request/delete-bucket-request.d.ts +1 -1
  17. package/lib/request/delete-object-lifecycle-policy-request.d.ts +1 -1
  18. package/lib/request/delete-object-request.d.ts +1 -1
  19. package/lib/request/delete-preauthenticated-request-request.d.ts +1 -1
  20. package/lib/request/delete-replication-policy-request.d.ts +1 -1
  21. package/lib/request/delete-retention-rule-request.d.ts +1 -1
  22. package/lib/request/get-bucket-request.d.ts +4 -3
  23. package/lib/request/get-bucket-request.js.map +1 -1
  24. package/lib/request/get-namespace-metadata-request.d.ts +1 -1
  25. package/lib/request/get-namespace-request.d.ts +1 -1
  26. package/lib/request/get-object-lifecycle-policy-request.d.ts +1 -1
  27. package/lib/request/get-object-request.d.ts +4 -3
  28. package/lib/request/get-preauthenticated-request-request.d.ts +1 -1
  29. package/lib/request/get-replication-policy-request.d.ts +1 -1
  30. package/lib/request/get-retention-rule-request.d.ts +1 -1
  31. package/lib/request/get-work-request-request.d.ts +1 -1
  32. package/lib/request/head-bucket-request.d.ts +4 -3
  33. package/lib/request/head-object-request.d.ts +4 -3
  34. package/lib/request/list-buckets-request.d.ts +1 -1
  35. package/lib/request/list-multipart-upload-parts-request.d.ts +1 -1
  36. package/lib/request/list-multipart-uploads-request.d.ts +1 -1
  37. package/lib/request/list-object-versions-request.d.ts +1 -1
  38. package/lib/request/list-objects-request.d.ts +1 -1
  39. package/lib/request/list-preauthenticated-requests-request.d.ts +1 -1
  40. package/lib/request/list-replication-policies-request.d.ts +1 -1
  41. package/lib/request/list-replication-sources-request.d.ts +1 -1
  42. package/lib/request/list-retention-rules-request.d.ts +1 -1
  43. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  44. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  45. package/lib/request/list-work-requests-request.d.ts +1 -1
  46. package/lib/request/make-bucket-writable-request.d.ts +1 -1
  47. package/lib/request/put-object-lifecycle-policy-request.d.ts +1 -1
  48. package/lib/request/put-object-request.d.ts +7 -1
  49. package/lib/request/reencrypt-bucket-request.d.ts +1 -1
  50. package/lib/request/reencrypt-object-request.d.ts +1 -1
  51. package/lib/request/rename-object-request.d.ts +1 -1
  52. package/lib/request/restore-objects-request.d.ts +1 -1
  53. package/lib/request/update-bucket-request.d.ts +1 -1
  54. package/lib/request/update-namespace-metadata-request.d.ts +1 -1
  55. package/lib/request/update-object-storage-tier-request.d.ts +1 -1
  56. package/lib/request/update-retention-rule-request.d.ts +1 -1
  57. package/lib/request/upload-part-request.d.ts +7 -1
  58. package/lib/upload-manager/node-fs-blob.js +2 -1
  59. package/lib/upload-manager/node-fs-blob.js.map +1 -1
  60. package/lib/upload-manager/upload-manager.js +52 -10
  61. package/lib/upload-manager/upload-manager.js.map +1 -1
  62. package/lib/upload-manager/upload-options.d.ts +1 -0
  63. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -143,7 +143,7 @@ class ObjectStorageClient {
143
143
  * @param AbortMultipartUploadRequest
144
144
  * @return AbortMultipartUploadResponse
145
145
  * @throws OciError when an error occurs
146
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/AbortMultipartUpload.ts.html |here} to see how to use AbortMultipartUpload API.
146
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/AbortMultipartUpload.ts.html |here} to see how to use AbortMultipartUpload API.
147
147
  */
148
148
  abortMultipartUpload(abortMultipartUploadRequest) {
149
149
  return __awaiter(this, void 0, void 0, function* () {
@@ -203,7 +203,7 @@ class ObjectStorageClient {
203
203
  * @param CancelWorkRequestRequest
204
204
  * @return CancelWorkRequestResponse
205
205
  * @throws OciError when an error occurs
206
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
206
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
207
207
  */
208
208
  cancelWorkRequest(cancelWorkRequestRequest) {
209
209
  return __awaiter(this, void 0, void 0, function* () {
@@ -259,7 +259,7 @@ class ObjectStorageClient {
259
259
  * @param CommitMultipartUploadRequest
260
260
  * @return CommitMultipartUploadResponse
261
261
  * @throws OciError when an error occurs
262
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/CommitMultipartUpload.ts.html |here} to see how to use CommitMultipartUpload API.
262
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/CommitMultipartUpload.ts.html |here} to see how to use CommitMultipartUpload API.
263
263
  */
264
264
  commitMultipartUpload(commitMultipartUploadRequest) {
265
265
  return __awaiter(this, void 0, void 0, function* () {
@@ -342,7 +342,7 @@ class ObjectStorageClient {
342
342
  * @param CopyObjectRequest
343
343
  * @return CopyObjectResponse
344
344
  * @throws OciError when an error occurs
345
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/CopyObject.ts.html |here} to see how to use CopyObject API.
345
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/CopyObject.ts.html |here} to see how to use CopyObject API.
346
346
  */
347
347
  copyObject(copyObjectRequest) {
348
348
  return __awaiter(this, void 0, void 0, function* () {
@@ -361,7 +361,8 @@ class ObjectStorageClient {
361
361
  "opc-sse-customer-key-sha256": copyObjectRequest.opcSseCustomerKeySha256,
362
362
  "opc-source-sse-customer-algorithm": copyObjectRequest.opcSourceSseCustomerAlgorithm,
363
363
  "opc-source-sse-customer-key": copyObjectRequest.opcSourceSseCustomerKey,
364
- "opc-source-sse-customer-key-sha256": copyObjectRequest.opcSourceSseCustomerKeySha256
364
+ "opc-source-sse-customer-key-sha256": copyObjectRequest.opcSourceSseCustomerKeySha256,
365
+ "opc-sse-kms-key-id": copyObjectRequest.opcSseKmsKeyId
365
366
  };
366
367
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, copyObjectRequest.retryConfiguration);
367
368
  if (this.logger)
@@ -412,7 +413,7 @@ class ObjectStorageClient {
412
413
  * @param CreateBucketRequest
413
414
  * @return CreateBucketResponse
414
415
  * @throws OciError when an error occurs
415
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/CreateBucket.ts.html |here} to see how to use CreateBucket API.
416
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/CreateBucket.ts.html |here} to see how to use CreateBucket API.
416
417
  */
417
418
  createBucket(createBucketRequest) {
418
419
  return __awaiter(this, void 0, void 0, function* () {
@@ -483,7 +484,7 @@ class ObjectStorageClient {
483
484
  * @param CreateMultipartUploadRequest
484
485
  * @return CreateMultipartUploadResponse
485
486
  * @throws OciError when an error occurs
486
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/CreateMultipartUpload.ts.html |here} to see how to use CreateMultipartUpload API.
487
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/CreateMultipartUpload.ts.html |here} to see how to use CreateMultipartUpload API.
487
488
  */
488
489
  createMultipartUpload(createMultipartUploadRequest) {
489
490
  return __awaiter(this, void 0, void 0, function* () {
@@ -501,7 +502,8 @@ class ObjectStorageClient {
501
502
  "opc-client-request-id": createMultipartUploadRequest.opcClientRequestId,
502
503
  "opc-sse-customer-algorithm": createMultipartUploadRequest.opcSseCustomerAlgorithm,
503
504
  "opc-sse-customer-key": createMultipartUploadRequest.opcSseCustomerKey,
504
- "opc-sse-customer-key-sha256": createMultipartUploadRequest.opcSseCustomerKeySha256
505
+ "opc-sse-customer-key-sha256": createMultipartUploadRequest.opcSseCustomerKeySha256,
506
+ "opc-sse-kms-key-id": createMultipartUploadRequest.opcSseKmsKeyId
505
507
  };
506
508
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createMultipartUploadRequest.retryConfiguration);
507
509
  if (this.logger)
@@ -555,7 +557,7 @@ class ObjectStorageClient {
555
557
  * @param CreatePreauthenticatedRequestRequest
556
558
  * @return CreatePreauthenticatedRequestResponse
557
559
  * @throws OciError when an error occurs
558
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/CreatePreauthenticatedRequest.ts.html |here} to see how to use CreatePreauthenticatedRequest API.
560
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/CreatePreauthenticatedRequest.ts.html |here} to see how to use CreatePreauthenticatedRequest API.
559
561
  */
560
562
  createPreauthenticatedRequest(createPreauthenticatedRequestRequest) {
561
563
  return __awaiter(this, void 0, void 0, function* () {
@@ -617,7 +619,7 @@ class ObjectStorageClient {
617
619
  * @param CreateReplicationPolicyRequest
618
620
  * @return CreateReplicationPolicyResponse
619
621
  * @throws OciError when an error occurs
620
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/CreateReplicationPolicy.ts.html |here} to see how to use CreateReplicationPolicy API.
622
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/CreateReplicationPolicy.ts.html |here} to see how to use CreateReplicationPolicy API.
621
623
  */
622
624
  createReplicationPolicy(createReplicationPolicyRequest) {
623
625
  return __awaiter(this, void 0, void 0, function* () {
@@ -680,7 +682,7 @@ class ObjectStorageClient {
680
682
  * @param CreateRetentionRuleRequest
681
683
  * @return CreateRetentionRuleResponse
682
684
  * @throws OciError when an error occurs
683
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/CreateRetentionRule.ts.html |here} to see how to use CreateRetentionRule API.
685
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/CreateRetentionRule.ts.html |here} to see how to use CreateRetentionRule API.
684
686
  */
685
687
  createRetentionRule(createRetentionRuleRequest) {
686
688
  return __awaiter(this, void 0, void 0, function* () {
@@ -750,7 +752,7 @@ class ObjectStorageClient {
750
752
  * @param DeleteBucketRequest
751
753
  * @return DeleteBucketResponse
752
754
  * @throws OciError when an error occurs
753
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/DeleteBucket.ts.html |here} to see how to use DeleteBucket API.
755
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/DeleteBucket.ts.html |here} to see how to use DeleteBucket API.
754
756
  */
755
757
  deleteBucket(deleteBucketRequest) {
756
758
  return __awaiter(this, void 0, void 0, function* () {
@@ -808,7 +810,7 @@ class ObjectStorageClient {
808
810
  * @param DeleteObjectRequest
809
811
  * @return DeleteObjectResponse
810
812
  * @throws OciError when an error occurs
811
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/DeleteObject.ts.html |here} to see how to use DeleteObject API.
813
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/DeleteObject.ts.html |here} to see how to use DeleteObject API.
812
814
  */
813
815
  deleteObject(deleteObjectRequest) {
814
816
  return __awaiter(this, void 0, void 0, function* () {
@@ -884,7 +886,7 @@ class ObjectStorageClient {
884
886
  * @param DeleteObjectLifecyclePolicyRequest
885
887
  * @return DeleteObjectLifecyclePolicyResponse
886
888
  * @throws OciError when an error occurs
887
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/DeleteObjectLifecyclePolicy.ts.html |here} to see how to use DeleteObjectLifecyclePolicy API.
889
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/DeleteObjectLifecyclePolicy.ts.html |here} to see how to use DeleteObjectLifecyclePolicy API.
888
890
  */
889
891
  deleteObjectLifecyclePolicy(deleteObjectLifecyclePolicyRequest) {
890
892
  return __awaiter(this, void 0, void 0, function* () {
@@ -941,7 +943,7 @@ class ObjectStorageClient {
941
943
  * @param DeletePreauthenticatedRequestRequest
942
944
  * @return DeletePreauthenticatedRequestResponse
943
945
  * @throws OciError when an error occurs
944
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/DeletePreauthenticatedRequest.ts.html |here} to see how to use DeletePreauthenticatedRequest API.
946
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/DeletePreauthenticatedRequest.ts.html |here} to see how to use DeletePreauthenticatedRequest API.
945
947
  */
946
948
  deletePreauthenticatedRequest(deletePreauthenticatedRequestRequest) {
947
949
  return __awaiter(this, void 0, void 0, function* () {
@@ -999,7 +1001,7 @@ class ObjectStorageClient {
999
1001
  * @param DeleteReplicationPolicyRequest
1000
1002
  * @return DeleteReplicationPolicyResponse
1001
1003
  * @throws OciError when an error occurs
1002
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/DeleteReplicationPolicy.ts.html |here} to see how to use DeleteReplicationPolicy API.
1004
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/DeleteReplicationPolicy.ts.html |here} to see how to use DeleteReplicationPolicy API.
1003
1005
  */
1004
1006
  deleteReplicationPolicy(deleteReplicationPolicyRequest) {
1005
1007
  return __awaiter(this, void 0, void 0, function* () {
@@ -1056,7 +1058,7 @@ class ObjectStorageClient {
1056
1058
  * @param DeleteRetentionRuleRequest
1057
1059
  * @return DeleteRetentionRuleResponse
1058
1060
  * @throws OciError when an error occurs
1059
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/DeleteRetentionRule.ts.html |here} to see how to use DeleteRetentionRule API.
1061
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/DeleteRetentionRule.ts.html |here} to see how to use DeleteRetentionRule API.
1060
1062
  */
1061
1063
  deleteRetentionRule(deleteRetentionRuleRequest) {
1062
1064
  return __awaiter(this, void 0, void 0, function* () {
@@ -1115,7 +1117,7 @@ class ObjectStorageClient {
1115
1117
  * @param GetBucketRequest
1116
1118
  * @return GetBucketResponse
1117
1119
  * @throws OciError when an error occurs
1118
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/GetBucket.ts.html |here} to see how to use GetBucket API.
1120
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/GetBucket.ts.html |here} to see how to use GetBucket API.
1119
1121
  */
1120
1122
  getBucket(getBucketRequest) {
1121
1123
  return __awaiter(this, void 0, void 0, function* () {
@@ -1191,7 +1193,7 @@ class ObjectStorageClient {
1191
1193
  * @param GetNamespaceRequest
1192
1194
  * @return GetNamespaceResponse
1193
1195
  * @throws OciError when an error occurs
1194
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/GetNamespace.ts.html |here} to see how to use GetNamespace API.
1196
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/GetNamespace.ts.html |here} to see how to use GetNamespace API.
1195
1197
  */
1196
1198
  getNamespace(getNamespaceRequest) {
1197
1199
  return __awaiter(this, void 0, void 0, function* () {
@@ -1246,7 +1248,7 @@ class ObjectStorageClient {
1246
1248
  * @param GetNamespaceMetadataRequest
1247
1249
  * @return GetNamespaceMetadataResponse
1248
1250
  * @throws OciError when an error occurs
1249
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/GetNamespaceMetadata.ts.html |here} to see how to use GetNamespaceMetadata API.
1251
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/GetNamespaceMetadata.ts.html |here} to see how to use GetNamespaceMetadata API.
1250
1252
  */
1251
1253
  getNamespaceMetadata(getNamespaceMetadataRequest) {
1252
1254
  return __awaiter(this, void 0, void 0, function* () {
@@ -1306,7 +1308,7 @@ class ObjectStorageClient {
1306
1308
  * @param GetObjectRequest
1307
1309
  * @return GetObjectResponse
1308
1310
  * @throws OciError when an error occurs
1309
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/GetObject.ts.html |here} to see how to use GetObject API.
1311
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/GetObject.ts.html |here} to see how to use GetObject API.
1310
1312
  */
1311
1313
  getObject(getObjectRequest) {
1312
1314
  return __awaiter(this, void 0, void 0, function* () {
@@ -1452,7 +1454,7 @@ class ObjectStorageClient {
1452
1454
  const pattern = "opc-meta-";
1453
1455
  response.headers.forEach((v, k) => {
1454
1456
  if (k.startsWith(pattern)) {
1455
- Object.assign(opcMeta, { k: v });
1457
+ Object.assign(opcMeta, { [k]: v });
1456
1458
  }
1457
1459
  });
1458
1460
  sdkResponse.opcMeta = opcMeta;
@@ -1469,7 +1471,7 @@ class ObjectStorageClient {
1469
1471
  * @param GetObjectLifecyclePolicyRequest
1470
1472
  * @return GetObjectLifecyclePolicyResponse
1471
1473
  * @throws OciError when an error occurs
1472
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/GetObjectLifecyclePolicy.ts.html |here} to see how to use GetObjectLifecyclePolicy API.
1474
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/GetObjectLifecyclePolicy.ts.html |here} to see how to use GetObjectLifecyclePolicy API.
1473
1475
  */
1474
1476
  getObjectLifecyclePolicy(getObjectLifecyclePolicyRequest) {
1475
1477
  return __awaiter(this, void 0, void 0, function* () {
@@ -1534,7 +1536,7 @@ class ObjectStorageClient {
1534
1536
  * @param GetPreauthenticatedRequestRequest
1535
1537
  * @return GetPreauthenticatedRequestResponse
1536
1538
  * @throws OciError when an error occurs
1537
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/GetPreauthenticatedRequest.ts.html |here} to see how to use GetPreauthenticatedRequest API.
1539
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/GetPreauthenticatedRequest.ts.html |here} to see how to use GetPreauthenticatedRequest API.
1538
1540
  */
1539
1541
  getPreauthenticatedRequest(getPreauthenticatedRequestRequest) {
1540
1542
  return __awaiter(this, void 0, void 0, function* () {
@@ -1596,7 +1598,7 @@ class ObjectStorageClient {
1596
1598
  * @param GetReplicationPolicyRequest
1597
1599
  * @return GetReplicationPolicyResponse
1598
1600
  * @throws OciError when an error occurs
1599
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/GetReplicationPolicy.ts.html |here} to see how to use GetReplicationPolicy API.
1601
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/GetReplicationPolicy.ts.html |here} to see how to use GetReplicationPolicy API.
1600
1602
  */
1601
1603
  getReplicationPolicy(getReplicationPolicyRequest) {
1602
1604
  return __awaiter(this, void 0, void 0, function* () {
@@ -1657,7 +1659,7 @@ class ObjectStorageClient {
1657
1659
  * @param GetRetentionRuleRequest
1658
1660
  * @return GetRetentionRuleResponse
1659
1661
  * @throws OciError when an error occurs
1660
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/GetRetentionRule.ts.html |here} to see how to use GetRetentionRule API.
1662
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/GetRetentionRule.ts.html |here} to see how to use GetRetentionRule API.
1661
1663
  */
1662
1664
  getRetentionRule(getRetentionRuleRequest) {
1663
1665
  return __awaiter(this, void 0, void 0, function* () {
@@ -1728,7 +1730,7 @@ class ObjectStorageClient {
1728
1730
  * @param GetWorkRequestRequest
1729
1731
  * @return GetWorkRequestResponse
1730
1732
  * @throws OciError when an error occurs
1731
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1733
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1732
1734
  */
1733
1735
  getWorkRequest(getWorkRequestRequest) {
1734
1736
  return __awaiter(this, void 0, void 0, function* () {
@@ -1793,7 +1795,7 @@ class ObjectStorageClient {
1793
1795
  * @param HeadBucketRequest
1794
1796
  * @return HeadBucketResponse
1795
1797
  * @throws OciError when an error occurs
1796
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/HeadBucket.ts.html |here} to see how to use HeadBucket API.
1798
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/HeadBucket.ts.html |here} to see how to use HeadBucket API.
1797
1799
  */
1798
1800
  headBucket(headBucketRequest) {
1799
1801
  return __awaiter(this, void 0, void 0, function* () {
@@ -1857,7 +1859,7 @@ class ObjectStorageClient {
1857
1859
  * @param HeadObjectRequest
1858
1860
  * @return HeadObjectResponse
1859
1861
  * @throws OciError when an error occurs
1860
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/HeadObject.ts.html |here} to see how to use HeadObject API.
1862
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/HeadObject.ts.html |here} to see how to use HeadObject API.
1861
1863
  */
1862
1864
  headObject(headObjectRequest) {
1863
1865
  return __awaiter(this, void 0, void 0, function* () {
@@ -1983,7 +1985,7 @@ class ObjectStorageClient {
1983
1985
  const pattern = "opc-meta-";
1984
1986
  response.headers.forEach((v, k) => {
1985
1987
  if (k.startsWith(pattern)) {
1986
- Object.assign(opcMeta, { k: v });
1988
+ Object.assign(opcMeta, { [k]: v });
1987
1989
  }
1988
1990
  });
1989
1991
  sdkResponse.opcMeta = opcMeta;
@@ -2008,7 +2010,7 @@ class ObjectStorageClient {
2008
2010
  * @param ListBucketsRequest
2009
2011
  * @return ListBucketsResponse
2010
2012
  * @throws OciError when an error occurs
2011
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/ListBuckets.ts.html |here} to see how to use ListBuckets API.
2013
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/ListBuckets.ts.html |here} to see how to use ListBuckets API.
2012
2014
  */
2013
2015
  listBuckets(listBucketsRequest) {
2014
2016
  return __awaiter(this, void 0, void 0, function* () {
@@ -2073,6 +2075,7 @@ class ObjectStorageClient {
2073
2075
  });
2074
2076
  }
2075
2077
  /**
2078
+ * NOTE: This function is deprecated in favor of listBucketsRecordIterator function.
2076
2079
  * Creates a new async iterator which will iterate over the models.BucketSummary objects
2077
2080
  * contained in responses from the listBuckets operation. This iterator will fetch more data from the
2078
2081
  * server as needed.
@@ -2083,6 +2086,7 @@ class ObjectStorageClient {
2083
2086
  return oci_common_1.paginateRecords(request, req => this.listBuckets(req));
2084
2087
  }
2085
2088
  /**
2089
+ * NOTE: This function is deprecated in favor of listBucketsResponseIterator function.
2086
2090
  * Creates a new async iterator which will iterate over the responses received from the listBuckets operation. This iterator
2087
2091
  * will fetch more data from the server as needed.
2088
2092
  *
@@ -2091,13 +2095,32 @@ class ObjectStorageClient {
2091
2095
  listAllBucketsResponses(request) {
2092
2096
  return oci_common_1.paginateResponses(request, req => this.listBuckets(req));
2093
2097
  }
2098
+ /**
2099
+ * Creates a new async iterator which will iterate over the models.BucketSummary objects
2100
+ * contained in responses from the listBuckets operation. This iterator will fetch more data from the
2101
+ * server as needed.
2102
+ *
2103
+ * @param request a request which can be sent to the service operation
2104
+ */
2105
+ listBucketsRecordIterator(request) {
2106
+ return oci_common_1.paginateRecords(request, req => this.listBuckets(req));
2107
+ }
2108
+ /**
2109
+ * Creates a new async iterator which will iterate over the responses received from the listBuckets operation. This iterator
2110
+ * will fetch more data from the server as needed.
2111
+ *
2112
+ * @param request a request which can be sent to the service operation
2113
+ */
2114
+ listBucketsResponseIterator(request) {
2115
+ return oci_common_1.paginateResponses(request, req => this.listBuckets(req));
2116
+ }
2094
2117
  /**
2095
2118
  * Lists the parts of an in-progress multipart upload.
2096
2119
  *
2097
2120
  * @param ListMultipartUploadPartsRequest
2098
2121
  * @return ListMultipartUploadPartsResponse
2099
2122
  * @throws OciError when an error occurs
2100
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/ListMultipartUploadParts.ts.html |here} to see how to use ListMultipartUploadParts API.
2123
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/ListMultipartUploadParts.ts.html |here} to see how to use ListMultipartUploadParts API.
2101
2124
  */
2102
2125
  listMultipartUploadParts(listMultipartUploadPartsRequest) {
2103
2126
  return __awaiter(this, void 0, void 0, function* () {
@@ -2163,6 +2186,7 @@ class ObjectStorageClient {
2163
2186
  });
2164
2187
  }
2165
2188
  /**
2189
+ * NOTE: This function is deprecated in favor of listMultipartUploadPartsRecordIterator function.
2166
2190
  * Creates a new async iterator which will iterate over the models.MultipartUploadPartSummary objects
2167
2191
  * contained in responses from the listMultipartUploadParts operation. This iterator will fetch more data from the
2168
2192
  * server as needed.
@@ -2173,6 +2197,7 @@ class ObjectStorageClient {
2173
2197
  return oci_common_1.paginateRecords(request, req => this.listMultipartUploadParts(req));
2174
2198
  }
2175
2199
  /**
2200
+ * NOTE: This function is deprecated in favor of listMultipartUploadPartsResponseIterator function.
2176
2201
  * Creates a new async iterator which will iterate over the responses received from the listMultipartUploadParts operation. This iterator
2177
2202
  * will fetch more data from the server as needed.
2178
2203
  *
@@ -2181,13 +2206,32 @@ class ObjectStorageClient {
2181
2206
  listAllMultipartUploadPartsResponses(request) {
2182
2207
  return oci_common_1.paginateResponses(request, req => this.listMultipartUploadParts(req));
2183
2208
  }
2209
+ /**
2210
+ * Creates a new async iterator which will iterate over the models.MultipartUploadPartSummary objects
2211
+ * contained in responses from the listMultipartUploadParts operation. This iterator will fetch more data from the
2212
+ * server as needed.
2213
+ *
2214
+ * @param request a request which can be sent to the service operation
2215
+ */
2216
+ listMultipartUploadPartsRecordIterator(request) {
2217
+ return oci_common_1.paginateRecords(request, req => this.listMultipartUploadParts(req));
2218
+ }
2219
+ /**
2220
+ * Creates a new async iterator which will iterate over the responses received from the listMultipartUploadParts operation. This iterator
2221
+ * will fetch more data from the server as needed.
2222
+ *
2223
+ * @param request a request which can be sent to the service operation
2224
+ */
2225
+ listMultipartUploadPartsResponseIterator(request) {
2226
+ return oci_common_1.paginateResponses(request, req => this.listMultipartUploadParts(req));
2227
+ }
2184
2228
  /**
2185
2229
  * Lists all of the in-progress multipart uploads for the given bucket in the given Object Storage namespace.
2186
2230
  *
2187
2231
  * @param ListMultipartUploadsRequest
2188
2232
  * @return ListMultipartUploadsResponse
2189
2233
  * @throws OciError when an error occurs
2190
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/ListMultipartUploads.ts.html |here} to see how to use ListMultipartUploads API.
2234
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/ListMultipartUploads.ts.html |here} to see how to use ListMultipartUploads API.
2191
2235
  */
2192
2236
  listMultipartUploads(listMultipartUploadsRequest) {
2193
2237
  return __awaiter(this, void 0, void 0, function* () {
@@ -2251,6 +2295,7 @@ class ObjectStorageClient {
2251
2295
  });
2252
2296
  }
2253
2297
  /**
2298
+ * NOTE: This function is deprecated in favor of listMultipartUploadsRecordIterator function.
2254
2299
  * Creates a new async iterator which will iterate over the models.MultipartUpload objects
2255
2300
  * contained in responses from the listMultipartUploads operation. This iterator will fetch more data from the
2256
2301
  * server as needed.
@@ -2261,6 +2306,7 @@ class ObjectStorageClient {
2261
2306
  return oci_common_1.paginateRecords(request, req => this.listMultipartUploads(req));
2262
2307
  }
2263
2308
  /**
2309
+ * NOTE: This function is deprecated in favor of listMultipartUploadsResponseIterator function.
2264
2310
  * Creates a new async iterator which will iterate over the responses received from the listMultipartUploads operation. This iterator
2265
2311
  * will fetch more data from the server as needed.
2266
2312
  *
@@ -2269,6 +2315,25 @@ class ObjectStorageClient {
2269
2315
  listAllMultipartUploadsResponses(request) {
2270
2316
  return oci_common_1.paginateResponses(request, req => this.listMultipartUploads(req));
2271
2317
  }
2318
+ /**
2319
+ * Creates a new async iterator which will iterate over the models.MultipartUpload objects
2320
+ * contained in responses from the listMultipartUploads operation. This iterator will fetch more data from the
2321
+ * server as needed.
2322
+ *
2323
+ * @param request a request which can be sent to the service operation
2324
+ */
2325
+ listMultipartUploadsRecordIterator(request) {
2326
+ return oci_common_1.paginateRecords(request, req => this.listMultipartUploads(req));
2327
+ }
2328
+ /**
2329
+ * Creates a new async iterator which will iterate over the responses received from the listMultipartUploads operation. This iterator
2330
+ * will fetch more data from the server as needed.
2331
+ *
2332
+ * @param request a request which can be sent to the service operation
2333
+ */
2334
+ listMultipartUploadsResponseIterator(request) {
2335
+ return oci_common_1.paginateResponses(request, req => this.listMultipartUploads(req));
2336
+ }
2272
2337
  /**
2273
2338
  * Lists the object versions in a bucket.
2274
2339
  * <p>
@@ -2282,7 +2347,7 @@ class ObjectStorageClient {
2282
2347
  * @param ListObjectVersionsRequest
2283
2348
  * @return ListObjectVersionsResponse
2284
2349
  * @throws OciError when an error occurs
2285
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/ListObjectVersions.ts.html |here} to see how to use ListObjectVersions API.
2350
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/ListObjectVersions.ts.html |here} to see how to use ListObjectVersions API.
2286
2351
  */
2287
2352
  listObjectVersions(listObjectVersionsRequest) {
2288
2353
  return __awaiter(this, void 0, void 0, function* () {
@@ -2366,7 +2431,7 @@ class ObjectStorageClient {
2366
2431
  * @param ListObjectsRequest
2367
2432
  * @return ListObjectsResponse
2368
2433
  * @throws OciError when an error occurs
2369
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/ListObjects.ts.html |here} to see how to use ListObjects API.
2434
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/ListObjects.ts.html |here} to see how to use ListObjects API.
2370
2435
  */
2371
2436
  listObjects(listObjectsRequest) {
2372
2437
  return __awaiter(this, void 0, void 0, function* () {
@@ -2430,6 +2495,7 @@ class ObjectStorageClient {
2430
2495
  });
2431
2496
  }
2432
2497
  /**
2498
+ * NOTE: This function is deprecated in favor of listObjectsRecordIterator function.
2433
2499
  * Creates a new async iterator which will iterate over the models.ObjectSummary objects
2434
2500
  * contained in responses from the listObjects operation. This iterator will fetch more data from the
2435
2501
  * server as needed.
@@ -2440,6 +2506,7 @@ class ObjectStorageClient {
2440
2506
  return oci_common_1.genericPaginateRecords(request, req => this.listObjects(req), res => res.listObjects.nextStartWith, (req, nextPageToken) => (req.start = nextPageToken), res => res.listObjects.objects);
2441
2507
  }
2442
2508
  /**
2509
+ * NOTE: This function is deprecated in favor of listObjectsResponseIterator function.
2443
2510
  * Creates a new async iterator which will iterate over the responses received from the listObjects operation. This iterator
2444
2511
  * will fetch more data from the server as needed.
2445
2512
  *
@@ -2448,13 +2515,32 @@ class ObjectStorageClient {
2448
2515
  listAllObjectsResponses(request) {
2449
2516
  return oci_common_1.genericPaginateResponses(request, req => this.listObjects(req), res => res.listObjects.nextStartWith, (req, nextPageToken) => (req.start = nextPageToken));
2450
2517
  }
2518
+ /**
2519
+ * Creates a new async iterator which will iterate over the models.ObjectSummary objects
2520
+ * contained in responses from the listObjects operation. This iterator will fetch more data from the
2521
+ * server as needed.
2522
+ *
2523
+ * @param request a request which can be sent to the service operation
2524
+ */
2525
+ listObjectsRecordIterator(request) {
2526
+ return oci_common_1.genericPaginateRecords(request, req => this.listObjects(req), res => res.listObjects.nextStartWith, (req, nextPageToken) => (req.start = nextPageToken), res => res.listObjects.objects);
2527
+ }
2528
+ /**
2529
+ * Creates a new async iterator which will iterate over the responses received from the listObjects operation. This iterator
2530
+ * will fetch more data from the server as needed.
2531
+ *
2532
+ * @param request a request which can be sent to the service operation
2533
+ */
2534
+ listObjectsResponseIterator(request) {
2535
+ return oci_common_1.genericPaginateResponses(request, req => this.listObjects(req), res => res.listObjects.nextStartWith, (req, nextPageToken) => (req.start = nextPageToken));
2536
+ }
2451
2537
  /**
2452
2538
  * Lists pre-authenticated requests for the bucket.
2453
2539
  *
2454
2540
  * @param ListPreauthenticatedRequestsRequest
2455
2541
  * @return ListPreauthenticatedRequestsResponse
2456
2542
  * @throws OciError when an error occurs
2457
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/ListPreauthenticatedRequests.ts.html |here} to see how to use ListPreauthenticatedRequests API.
2543
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/ListPreauthenticatedRequests.ts.html |here} to see how to use ListPreauthenticatedRequests API.
2458
2544
  */
2459
2545
  listPreauthenticatedRequests(listPreauthenticatedRequestsRequest) {
2460
2546
  return __awaiter(this, void 0, void 0, function* () {
@@ -2519,6 +2605,7 @@ class ObjectStorageClient {
2519
2605
  });
2520
2606
  }
2521
2607
  /**
2608
+ * NOTE: This function is deprecated in favor of listPreauthenticatedRequestsRecordIterator function.
2522
2609
  * Creates a new async iterator which will iterate over the models.PreauthenticatedRequestSummary objects
2523
2610
  * contained in responses from the listPreauthenticatedRequests operation. This iterator will fetch more data from the
2524
2611
  * server as needed.
@@ -2529,6 +2616,7 @@ class ObjectStorageClient {
2529
2616
  return oci_common_1.paginateRecords(request, req => this.listPreauthenticatedRequests(req));
2530
2617
  }
2531
2618
  /**
2619
+ * NOTE: This function is deprecated in favor of listPreauthenticatedRequestsResponseIterator function.
2532
2620
  * Creates a new async iterator which will iterate over the responses received from the listPreauthenticatedRequests operation. This iterator
2533
2621
  * will fetch more data from the server as needed.
2534
2622
  *
@@ -2537,13 +2625,32 @@ class ObjectStorageClient {
2537
2625
  listAllPreauthenticatedRequestsResponses(request) {
2538
2626
  return oci_common_1.paginateResponses(request, req => this.listPreauthenticatedRequests(req));
2539
2627
  }
2628
+ /**
2629
+ * Creates a new async iterator which will iterate over the models.PreauthenticatedRequestSummary objects
2630
+ * contained in responses from the listPreauthenticatedRequests operation. This iterator will fetch more data from the
2631
+ * server as needed.
2632
+ *
2633
+ * @param request a request which can be sent to the service operation
2634
+ */
2635
+ listPreauthenticatedRequestsRecordIterator(request) {
2636
+ return oci_common_1.paginateRecords(request, req => this.listPreauthenticatedRequests(req));
2637
+ }
2638
+ /**
2639
+ * Creates a new async iterator which will iterate over the responses received from the listPreauthenticatedRequests operation. This iterator
2640
+ * will fetch more data from the server as needed.
2641
+ *
2642
+ * @param request a request which can be sent to the service operation
2643
+ */
2644
+ listPreauthenticatedRequestsResponseIterator(request) {
2645
+ return oci_common_1.paginateResponses(request, req => this.listPreauthenticatedRequests(req));
2646
+ }
2540
2647
  /**
2541
2648
  * List the replication policies associated with a bucket.
2542
2649
  *
2543
2650
  * @param ListReplicationPoliciesRequest
2544
2651
  * @return ListReplicationPoliciesResponse
2545
2652
  * @throws OciError when an error occurs
2546
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/ListReplicationPolicies.ts.html |here} to see how to use ListReplicationPolicies API.
2653
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/ListReplicationPolicies.ts.html |here} to see how to use ListReplicationPolicies API.
2547
2654
  */
2548
2655
  listReplicationPolicies(listReplicationPoliciesRequest) {
2549
2656
  return __awaiter(this, void 0, void 0, function* () {
@@ -2607,6 +2714,7 @@ class ObjectStorageClient {
2607
2714
  });
2608
2715
  }
2609
2716
  /**
2717
+ * NOTE: This function is deprecated in favor of listReplicationPoliciesRecordIterator function.
2610
2718
  * Creates a new async iterator which will iterate over the models.ReplicationPolicySummary objects
2611
2719
  * contained in responses from the listReplicationPolicies operation. This iterator will fetch more data from the
2612
2720
  * server as needed.
@@ -2617,6 +2725,7 @@ class ObjectStorageClient {
2617
2725
  return oci_common_1.paginateRecords(request, req => this.listReplicationPolicies(req));
2618
2726
  }
2619
2727
  /**
2728
+ * NOTE: This function is deprecated in favor of listReplicationPoliciesResponseIterator function.
2620
2729
  * Creates a new async iterator which will iterate over the responses received from the listReplicationPolicies operation. This iterator
2621
2730
  * will fetch more data from the server as needed.
2622
2731
  *
@@ -2625,13 +2734,32 @@ class ObjectStorageClient {
2625
2734
  listAllReplicationPoliciesResponses(request) {
2626
2735
  return oci_common_1.paginateResponses(request, req => this.listReplicationPolicies(req));
2627
2736
  }
2737
+ /**
2738
+ * Creates a new async iterator which will iterate over the models.ReplicationPolicySummary objects
2739
+ * contained in responses from the listReplicationPolicies operation. This iterator will fetch more data from the
2740
+ * server as needed.
2741
+ *
2742
+ * @param request a request which can be sent to the service operation
2743
+ */
2744
+ listReplicationPoliciesRecordIterator(request) {
2745
+ return oci_common_1.paginateRecords(request, req => this.listReplicationPolicies(req));
2746
+ }
2747
+ /**
2748
+ * Creates a new async iterator which will iterate over the responses received from the listReplicationPolicies operation. This iterator
2749
+ * will fetch more data from the server as needed.
2750
+ *
2751
+ * @param request a request which can be sent to the service operation
2752
+ */
2753
+ listReplicationPoliciesResponseIterator(request) {
2754
+ return oci_common_1.paginateResponses(request, req => this.listReplicationPolicies(req));
2755
+ }
2628
2756
  /**
2629
2757
  * List the replication sources of a destination bucket.
2630
2758
  *
2631
2759
  * @param ListReplicationSourcesRequest
2632
2760
  * @return ListReplicationSourcesResponse
2633
2761
  * @throws OciError when an error occurs
2634
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/ListReplicationSources.ts.html |here} to see how to use ListReplicationSources API.
2762
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/ListReplicationSources.ts.html |here} to see how to use ListReplicationSources API.
2635
2763
  */
2636
2764
  listReplicationSources(listReplicationSourcesRequest) {
2637
2765
  return __awaiter(this, void 0, void 0, function* () {
@@ -2695,6 +2823,7 @@ class ObjectStorageClient {
2695
2823
  });
2696
2824
  }
2697
2825
  /**
2826
+ * NOTE: This function is deprecated in favor of listReplicationSourcesRecordIterator function.
2698
2827
  * Creates a new async iterator which will iterate over the models.ReplicationSource objects
2699
2828
  * contained in responses from the listReplicationSources operation. This iterator will fetch more data from the
2700
2829
  * server as needed.
@@ -2705,6 +2834,7 @@ class ObjectStorageClient {
2705
2834
  return oci_common_1.paginateRecords(request, req => this.listReplicationSources(req));
2706
2835
  }
2707
2836
  /**
2837
+ * NOTE: This function is deprecated in favor of listReplicationSourcesResponseIterator function.
2708
2838
  * Creates a new async iterator which will iterate over the responses received from the listReplicationSources operation. This iterator
2709
2839
  * will fetch more data from the server as needed.
2710
2840
  *
@@ -2713,6 +2843,25 @@ class ObjectStorageClient {
2713
2843
  listAllReplicationSourcesResponses(request) {
2714
2844
  return oci_common_1.paginateResponses(request, req => this.listReplicationSources(req));
2715
2845
  }
2846
+ /**
2847
+ * Creates a new async iterator which will iterate over the models.ReplicationSource objects
2848
+ * contained in responses from the listReplicationSources operation. This iterator will fetch more data from the
2849
+ * server as needed.
2850
+ *
2851
+ * @param request a request which can be sent to the service operation
2852
+ */
2853
+ listReplicationSourcesRecordIterator(request) {
2854
+ return oci_common_1.paginateRecords(request, req => this.listReplicationSources(req));
2855
+ }
2856
+ /**
2857
+ * Creates a new async iterator which will iterate over the responses received from the listReplicationSources operation. This iterator
2858
+ * will fetch more data from the server as needed.
2859
+ *
2860
+ * @param request a request which can be sent to the service operation
2861
+ */
2862
+ listReplicationSourcesResponseIterator(request) {
2863
+ return oci_common_1.paginateResponses(request, req => this.listReplicationSources(req));
2864
+ }
2716
2865
  /**
2717
2866
  * List the retention rules for a bucket. The retention rules are sorted based on creation time,
2718
2867
  * with the most recently created retention rule returned first.
@@ -2720,7 +2869,7 @@ class ObjectStorageClient {
2720
2869
  * @param ListRetentionRulesRequest
2721
2870
  * @return ListRetentionRulesResponse
2722
2871
  * @throws OciError when an error occurs
2723
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/ListRetentionRules.ts.html |here} to see how to use ListRetentionRules API.
2872
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/ListRetentionRules.ts.html |here} to see how to use ListRetentionRules API.
2724
2873
  */
2725
2874
  listRetentionRules(listRetentionRulesRequest) {
2726
2875
  return __awaiter(this, void 0, void 0, function* () {
@@ -2786,7 +2935,7 @@ class ObjectStorageClient {
2786
2935
  * @param ListWorkRequestErrorsRequest
2787
2936
  * @return ListWorkRequestErrorsResponse
2788
2937
  * @throws OciError when an error occurs
2789
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2938
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
2790
2939
  */
2791
2940
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
2792
2941
  return __awaiter(this, void 0, void 0, function* () {
@@ -2849,6 +2998,7 @@ class ObjectStorageClient {
2849
2998
  });
2850
2999
  }
2851
3000
  /**
3001
+ * NOTE: This function is deprecated in favor of listWorkRequestErrorsRecordIterator function.
2852
3002
  * Creates a new async iterator which will iterate over the models.WorkRequestError objects
2853
3003
  * contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the
2854
3004
  * server as needed.
@@ -2859,6 +3009,7 @@ class ObjectStorageClient {
2859
3009
  return oci_common_1.paginateRecords(request, req => this.listWorkRequestErrors(req));
2860
3010
  }
2861
3011
  /**
3012
+ * NOTE: This function is deprecated in favor of listWorkRequestErrorsResponseIterator function.
2862
3013
  * Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator
2863
3014
  * will fetch more data from the server as needed.
2864
3015
  *
@@ -2867,12 +3018,31 @@ class ObjectStorageClient {
2867
3018
  listAllWorkRequestErrorsResponses(request) {
2868
3019
  return oci_common_1.paginateResponses(request, req => this.listWorkRequestErrors(req));
2869
3020
  }
3021
+ /**
3022
+ * Creates a new async iterator which will iterate over the models.WorkRequestError objects
3023
+ * contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the
3024
+ * server as needed.
3025
+ *
3026
+ * @param request a request which can be sent to the service operation
3027
+ */
3028
+ listWorkRequestErrorsRecordIterator(request) {
3029
+ return oci_common_1.paginateRecords(request, req => this.listWorkRequestErrors(req));
3030
+ }
3031
+ /**
3032
+ * Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator
3033
+ * will fetch more data from the server as needed.
3034
+ *
3035
+ * @param request a request which can be sent to the service operation
3036
+ */
3037
+ listWorkRequestErrorsResponseIterator(request) {
3038
+ return oci_common_1.paginateResponses(request, req => this.listWorkRequestErrors(req));
3039
+ }
2870
3040
  /**
2871
3041
  * Lists the logs of the work request with the given ID.
2872
3042
  * @param ListWorkRequestLogsRequest
2873
3043
  * @return ListWorkRequestLogsResponse
2874
3044
  * @throws OciError when an error occurs
2875
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
3045
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
2876
3046
  */
2877
3047
  listWorkRequestLogs(listWorkRequestLogsRequest) {
2878
3048
  return __awaiter(this, void 0, void 0, function* () {
@@ -2935,6 +3105,7 @@ class ObjectStorageClient {
2935
3105
  });
2936
3106
  }
2937
3107
  /**
3108
+ * NOTE: This function is deprecated in favor of listWorkRequestLogsRecordIterator function.
2938
3109
  * Creates a new async iterator which will iterate over the models.WorkRequestLogEntry objects
2939
3110
  * contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the
2940
3111
  * server as needed.
@@ -2945,6 +3116,7 @@ class ObjectStorageClient {
2945
3116
  return oci_common_1.paginateRecords(request, req => this.listWorkRequestLogs(req));
2946
3117
  }
2947
3118
  /**
3119
+ * NOTE: This function is deprecated in favor of listWorkRequestLogsResponseIterator function.
2948
3120
  * Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator
2949
3121
  * will fetch more data from the server as needed.
2950
3122
  *
@@ -2953,13 +3125,32 @@ class ObjectStorageClient {
2953
3125
  listAllWorkRequestLogsResponses(request) {
2954
3126
  return oci_common_1.paginateResponses(request, req => this.listWorkRequestLogs(req));
2955
3127
  }
3128
+ /**
3129
+ * Creates a new async iterator which will iterate over the models.WorkRequestLogEntry objects
3130
+ * contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the
3131
+ * server as needed.
3132
+ *
3133
+ * @param request a request which can be sent to the service operation
3134
+ */
3135
+ listWorkRequestLogsRecordIterator(request) {
3136
+ return oci_common_1.paginateRecords(request, req => this.listWorkRequestLogs(req));
3137
+ }
3138
+ /**
3139
+ * Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator
3140
+ * will fetch more data from the server as needed.
3141
+ *
3142
+ * @param request a request which can be sent to the service operation
3143
+ */
3144
+ listWorkRequestLogsResponseIterator(request) {
3145
+ return oci_common_1.paginateResponses(request, req => this.listWorkRequestLogs(req));
3146
+ }
2956
3147
  /**
2957
3148
  * Lists the work requests in a compartment.
2958
3149
  *
2959
3150
  * @param ListWorkRequestsRequest
2960
3151
  * @return ListWorkRequestsResponse
2961
3152
  * @throws OciError when an error occurs
2962
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
3153
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
2963
3154
  */
2964
3155
  listWorkRequests(listWorkRequestsRequest) {
2965
3156
  return __awaiter(this, void 0, void 0, function* () {
@@ -3021,6 +3212,7 @@ class ObjectStorageClient {
3021
3212
  });
3022
3213
  }
3023
3214
  /**
3215
+ * NOTE: This function is deprecated in favor of listWorkRequestsRecordIterator function.
3024
3216
  * Creates a new async iterator which will iterate over the models.WorkRequestSummary objects
3025
3217
  * contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
3026
3218
  * server as needed.
@@ -3031,6 +3223,7 @@ class ObjectStorageClient {
3031
3223
  return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
3032
3224
  }
3033
3225
  /**
3226
+ * NOTE: This function is deprecated in favor of listWorkRequestsResponseIterator function.
3034
3227
  * Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
3035
3228
  * will fetch more data from the server as needed.
3036
3229
  *
@@ -3039,6 +3232,25 @@ class ObjectStorageClient {
3039
3232
  listAllWorkRequestsResponses(request) {
3040
3233
  return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
3041
3234
  }
3235
+ /**
3236
+ * Creates a new async iterator which will iterate over the models.WorkRequestSummary objects
3237
+ * contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
3238
+ * server as needed.
3239
+ *
3240
+ * @param request a request which can be sent to the service operation
3241
+ */
3242
+ listWorkRequestsRecordIterator(request) {
3243
+ return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
3244
+ }
3245
+ /**
3246
+ * Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
3247
+ * will fetch more data from the server as needed.
3248
+ *
3249
+ * @param request a request which can be sent to the service operation
3250
+ */
3251
+ listWorkRequestsResponseIterator(request) {
3252
+ return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
3253
+ }
3042
3254
  /**
3043
3255
  * Stops replication to the destination bucket and removes the replication policy. When the replication
3044
3256
  * policy was created, this destination bucket became read-only except for new and changed objects replicated
@@ -3048,7 +3260,7 @@ class ObjectStorageClient {
3048
3260
  * @param MakeBucketWritableRequest
3049
3261
  * @return MakeBucketWritableResponse
3050
3262
  * @throws OciError when an error occurs
3051
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/MakeBucketWritable.ts.html |here} to see how to use MakeBucketWritable API.
3263
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/MakeBucketWritable.ts.html |here} to see how to use MakeBucketWritable API.
3052
3264
  */
3053
3265
  makeBucketWritable(makeBucketWritableRequest) {
3054
3266
  return __awaiter(this, void 0, void 0, function* () {
@@ -3112,7 +3324,7 @@ class ObjectStorageClient {
3112
3324
  * @param PutObjectRequest
3113
3325
  * @return PutObjectResponse
3114
3326
  * @throws OciError when an error occurs
3115
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/PutObject.ts.html |here} to see how to use PutObject API.
3327
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/PutObject.ts.html |here} to see how to use PutObject API.
3116
3328
  */
3117
3329
  putObject(putObjectRequest) {
3118
3330
  return __awaiter(this, void 0, void 0, function* () {
@@ -3139,6 +3351,7 @@ class ObjectStorageClient {
3139
3351
  "opc-sse-customer-algorithm": putObjectRequest.opcSseCustomerAlgorithm,
3140
3352
  "opc-sse-customer-key": putObjectRequest.opcSseCustomerKey,
3141
3353
  "opc-sse-customer-key-sha256": putObjectRequest.opcSseCustomerKeySha256,
3354
+ "opc-sse-kms-key-id": putObjectRequest.opcSseKmsKeyId,
3142
3355
  "storage-tier": putObjectRequest.storageTier
3143
3356
  };
3144
3357
  if (putObjectRequest.opcMeta) {
@@ -3210,7 +3423,7 @@ class ObjectStorageClient {
3210
3423
  * @param PutObjectLifecyclePolicyRequest
3211
3424
  * @return PutObjectLifecyclePolicyResponse
3212
3425
  * @throws OciError when an error occurs
3213
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/PutObjectLifecyclePolicy.ts.html |here} to see how to use PutObjectLifecyclePolicy API.
3426
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/PutObjectLifecyclePolicy.ts.html |here} to see how to use PutObjectLifecyclePolicy API.
3214
3427
  */
3215
3428
  putObjectLifecyclePolicy(putObjectLifecyclePolicyRequest) {
3216
3429
  return __awaiter(this, void 0, void 0, function* () {
@@ -3293,7 +3506,7 @@ class ObjectStorageClient {
3293
3506
  * @param ReencryptBucketRequest
3294
3507
  * @return ReencryptBucketResponse
3295
3508
  * @throws OciError when an error occurs
3296
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/ReencryptBucket.ts.html |here} to see how to use ReencryptBucket API.
3509
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/ReencryptBucket.ts.html |here} to see how to use ReencryptBucket API.
3297
3510
  */
3298
3511
  reencryptBucket(reencryptBucketRequest) {
3299
3512
  return __awaiter(this, void 0, void 0, function* () {
@@ -3363,7 +3576,7 @@ class ObjectStorageClient {
3363
3576
  * @param ReencryptObjectRequest
3364
3577
  * @return ReencryptObjectResponse
3365
3578
  * @throws OciError when an error occurs
3366
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/ReencryptObject.ts.html |here} to see how to use ReencryptObject API.
3579
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/ReencryptObject.ts.html |here} to see how to use ReencryptObject API.
3367
3580
  */
3368
3581
  reencryptObject(reencryptObjectRequest) {
3369
3582
  return __awaiter(this, void 0, void 0, function* () {
@@ -3427,7 +3640,7 @@ class ObjectStorageClient {
3427
3640
  * @param RenameObjectRequest
3428
3641
  * @return RenameObjectResponse
3429
3642
  * @throws OciError when an error occurs
3430
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/RenameObject.ts.html |here} to see how to use RenameObject API.
3643
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/RenameObject.ts.html |here} to see how to use RenameObject API.
3431
3644
  */
3432
3645
  renameObject(renameObjectRequest) {
3433
3646
  return __awaiter(this, void 0, void 0, function* () {
@@ -3501,7 +3714,7 @@ class ObjectStorageClient {
3501
3714
  * @param RestoreObjectsRequest
3502
3715
  * @return RestoreObjectsResponse
3503
3716
  * @throws OciError when an error occurs
3504
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/RestoreObjects.ts.html |here} to see how to use RestoreObjects API.
3717
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/RestoreObjects.ts.html |here} to see how to use RestoreObjects API.
3505
3718
  */
3506
3719
  restoreObjects(restoreObjectsRequest) {
3507
3720
  return __awaiter(this, void 0, void 0, function* () {
@@ -3563,7 +3776,7 @@ class ObjectStorageClient {
3563
3776
  * @param UpdateBucketRequest
3564
3777
  * @return UpdateBucketResponse
3565
3778
  * @throws OciError when an error occurs
3566
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/UpdateBucket.ts.html |here} to see how to use UpdateBucket API.
3779
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/UpdateBucket.ts.html |here} to see how to use UpdateBucket API.
3567
3780
  */
3568
3781
  updateBucket(updateBucketRequest) {
3569
3782
  return __awaiter(this, void 0, void 0, function* () {
@@ -3637,7 +3850,7 @@ class ObjectStorageClient {
3637
3850
  * @param UpdateNamespaceMetadataRequest
3638
3851
  * @return UpdateNamespaceMetadataResponse
3639
3852
  * @throws OciError when an error occurs
3640
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/UpdateNamespaceMetadata.ts.html |here} to see how to use UpdateNamespaceMetadata API.
3853
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/UpdateNamespaceMetadata.ts.html |here} to see how to use UpdateNamespaceMetadata API.
3641
3854
  */
3642
3855
  updateNamespaceMetadata(updateNamespaceMetadataRequest) {
3643
3856
  return __awaiter(this, void 0, void 0, function* () {
@@ -3698,7 +3911,7 @@ class ObjectStorageClient {
3698
3911
  * @param UpdateObjectStorageTierRequest
3699
3912
  * @return UpdateObjectStorageTierResponse
3700
3913
  * @throws OciError when an error occurs
3701
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/UpdateObjectStorageTier.ts.html |here} to see how to use UpdateObjectStorageTier API.
3914
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/UpdateObjectStorageTier.ts.html |here} to see how to use UpdateObjectStorageTier API.
3702
3915
  */
3703
3916
  updateObjectStorageTier(updateObjectStorageTierRequest) {
3704
3917
  return __awaiter(this, void 0, void 0, function* () {
@@ -3756,7 +3969,7 @@ class ObjectStorageClient {
3756
3969
  * @param UpdateRetentionRuleRequest
3757
3970
  * @return UpdateRetentionRuleResponse
3758
3971
  * @throws OciError when an error occurs
3759
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/UpdateRetentionRule.ts.html |here} to see how to use UpdateRetentionRule API.
3972
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/UpdateRetentionRule.ts.html |here} to see how to use UpdateRetentionRule API.
3760
3973
  */
3761
3974
  updateRetentionRule(updateRetentionRuleRequest) {
3762
3975
  return __awaiter(this, void 0, void 0, function* () {
@@ -3825,7 +4038,7 @@ class ObjectStorageClient {
3825
4038
  * @param UploadPartRequest
3826
4039
  * @return UploadPartResponse
3827
4040
  * @throws OciError when an error occurs
3828
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.3.1/objectstorage/UploadPart.ts.html |here} to see how to use UploadPart API.
4041
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/objectstorage/UploadPart.ts.html |here} to see how to use UploadPart API.
3829
4042
  */
3830
4043
  uploadPart(uploadPartRequest) {
3831
4044
  return __awaiter(this, void 0, void 0, function* () {
@@ -3849,7 +4062,8 @@ class ObjectStorageClient {
3849
4062
  "Content-MD5": uploadPartRequest.contentMD5,
3850
4063
  "opc-sse-customer-algorithm": uploadPartRequest.opcSseCustomerAlgorithm,
3851
4064
  "opc-sse-customer-key": uploadPartRequest.opcSseCustomerKey,
3852
- "opc-sse-customer-key-sha256": uploadPartRequest.opcSseCustomerKeySha256
4065
+ "opc-sse-customer-key-sha256": uploadPartRequest.opcSseCustomerKeySha256,
4066
+ "opc-sse-kms-key-id": uploadPartRequest.opcSseKmsKeyId
3853
4067
  };
3854
4068
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, uploadPartRequest.retryConfiguration);
3855
4069
  if (this.logger)