oci-objectstorage 2.5.2 → 2.8.0
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.
- package/lib/client.d.ts +103 -50
- package/lib/client.js +210 -100
- package/lib/client.js.map +1 -1
- package/lib/request/abort-multipart-upload-request.d.ts +1 -1
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/commit-multipart-upload-request.d.ts +1 -1
- package/lib/request/copy-object-request.d.ts +1 -1
- package/lib/request/create-bucket-request.d.ts +1 -1
- package/lib/request/create-multipart-upload-request.d.ts +1 -1
- package/lib/request/create-preauthenticated-request-request.d.ts +1 -1
- package/lib/request/create-replication-policy-request.d.ts +1 -1
- package/lib/request/create-retention-rule-request.d.ts +1 -1
- package/lib/request/delete-bucket-request.d.ts +1 -1
- package/lib/request/delete-object-lifecycle-policy-request.d.ts +1 -1
- package/lib/request/delete-object-request.d.ts +1 -1
- package/lib/request/delete-preauthenticated-request-request.d.ts +1 -1
- package/lib/request/delete-replication-policy-request.d.ts +1 -1
- package/lib/request/delete-retention-rule-request.d.ts +1 -1
- package/lib/request/get-bucket-request.d.ts +1 -1
- package/lib/request/get-namespace-metadata-request.d.ts +1 -1
- package/lib/request/get-namespace-request.d.ts +1 -1
- package/lib/request/get-object-lifecycle-policy-request.d.ts +1 -1
- package/lib/request/get-object-request.d.ts +1 -1
- package/lib/request/get-preauthenticated-request-request.d.ts +1 -1
- package/lib/request/get-replication-policy-request.d.ts +1 -1
- package/lib/request/get-retention-rule-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/head-bucket-request.d.ts +1 -1
- package/lib/request/head-object-request.d.ts +1 -1
- package/lib/request/list-buckets-request.d.ts +1 -1
- package/lib/request/list-multipart-upload-parts-request.d.ts +1 -1
- package/lib/request/list-multipart-uploads-request.d.ts +1 -1
- package/lib/request/list-object-versions-request.d.ts +1 -1
- package/lib/request/list-objects-request.d.ts +1 -1
- package/lib/request/list-preauthenticated-requests-request.d.ts +1 -1
- package/lib/request/list-replication-policies-request.d.ts +1 -1
- package/lib/request/list-replication-sources-request.d.ts +1 -1
- package/lib/request/list-retention-rules-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/make-bucket-writable-request.d.ts +1 -1
- package/lib/request/put-object-lifecycle-policy-request.d.ts +1 -1
- package/lib/request/put-object-request.d.ts +1 -1
- package/lib/request/reencrypt-bucket-request.d.ts +1 -1
- package/lib/request/reencrypt-object-request.d.ts +1 -1
- package/lib/request/rename-object-request.d.ts +1 -1
- package/lib/request/restore-objects-request.d.ts +1 -1
- package/lib/request/update-bucket-request.d.ts +1 -1
- package/lib/request/update-namespace-metadata-request.d.ts +1 -1
- package/lib/request/update-object-storage-tier-request.d.ts +1 -1
- package/lib/request/update-retention-rule-request.d.ts +1 -1
- package/lib/request/upload-part-request.d.ts +1 -1
- package/lib/upload-manager/upload-manager.d.ts +1 -0
- package/lib/upload-manager/upload-manager.js +3 -2
- package/lib/upload-manager/upload-manager.js.map +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -55,6 +55,9 @@ const oci_common_2 = require("oci-common");
|
|
|
55
55
|
var ObjectStorageApiKeys;
|
|
56
56
|
(function (ObjectStorageApiKeys) {
|
|
57
57
|
})(ObjectStorageApiKeys = exports.ObjectStorageApiKeys || (exports.ObjectStorageApiKeys = {}));
|
|
58
|
+
/**
|
|
59
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
60
|
+
*/
|
|
58
61
|
class ObjectStorageClient {
|
|
59
62
|
constructor(params, clientConfiguration) {
|
|
60
63
|
this["_endpoint"] = "";
|
|
@@ -69,6 +72,13 @@ class ObjectStorageClient {
|
|
|
69
72
|
? clientConfiguration.circuitBreaker.circuit
|
|
70
73
|
: null;
|
|
71
74
|
}
|
|
75
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
76
|
+
const specCircuitBreakerEnabled = true;
|
|
77
|
+
if (!this._circuitBreaker &&
|
|
78
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
79
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
80
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
81
|
+
}
|
|
72
82
|
this._httpClient =
|
|
73
83
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
74
84
|
if (params.authenticationDetailsProvider &&
|
|
@@ -140,10 +150,11 @@ class ObjectStorageClient {
|
|
|
140
150
|
/**
|
|
141
151
|
* Aborts an in-progress multipart upload and deletes all parts that have been uploaded.
|
|
142
152
|
*
|
|
153
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
143
154
|
* @param AbortMultipartUploadRequest
|
|
144
155
|
* @return AbortMultipartUploadResponse
|
|
145
156
|
* @throws OciError when an error occurs
|
|
146
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
157
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/AbortMultipartUpload.ts.html |here} to see how to use AbortMultipartUpload API.
|
|
147
158
|
*/
|
|
148
159
|
abortMultipartUpload(abortMultipartUploadRequest) {
|
|
149
160
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -161,7 +172,8 @@ class ObjectStorageClient {
|
|
|
161
172
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
162
173
|
"opc-client-request-id": abortMultipartUploadRequest.opcClientRequestId
|
|
163
174
|
};
|
|
164
|
-
const
|
|
175
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
176
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, abortMultipartUploadRequest.retryConfiguration, specRetryConfiguration);
|
|
165
177
|
if (this.logger)
|
|
166
178
|
retrier.logger = this.logger;
|
|
167
179
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -200,10 +212,11 @@ class ObjectStorageClient {
|
|
|
200
212
|
/**
|
|
201
213
|
* Cancels a work request.
|
|
202
214
|
*
|
|
215
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
203
216
|
* @param CancelWorkRequestRequest
|
|
204
217
|
* @return CancelWorkRequestResponse
|
|
205
218
|
* @throws OciError when an error occurs
|
|
206
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
219
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
207
220
|
*/
|
|
208
221
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
209
222
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -217,7 +230,8 @@ class ObjectStorageClient {
|
|
|
217
230
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
218
231
|
"opc-client-request-id": cancelWorkRequestRequest.opcClientRequestId
|
|
219
232
|
};
|
|
220
|
-
const
|
|
233
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
234
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
221
235
|
if (this.logger)
|
|
222
236
|
retrier.logger = this.logger;
|
|
223
237
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -256,10 +270,11 @@ class ObjectStorageClient {
|
|
|
256
270
|
/**
|
|
257
271
|
* Commits a multipart upload, which involves checking part numbers and entity tags (ETags) of the parts, to create an aggregate object.
|
|
258
272
|
*
|
|
273
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
259
274
|
* @param CommitMultipartUploadRequest
|
|
260
275
|
* @return CommitMultipartUploadResponse
|
|
261
276
|
* @throws OciError when an error occurs
|
|
262
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
277
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/CommitMultipartUpload.ts.html |here} to see how to use CommitMultipartUpload API.
|
|
263
278
|
*/
|
|
264
279
|
commitMultipartUpload(commitMultipartUploadRequest) {
|
|
265
280
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -279,7 +294,8 @@ class ObjectStorageClient {
|
|
|
279
294
|
"if-none-match": commitMultipartUploadRequest.ifNoneMatch,
|
|
280
295
|
"opc-client-request-id": commitMultipartUploadRequest.opcClientRequestId
|
|
281
296
|
};
|
|
282
|
-
const
|
|
297
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
298
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, commitMultipartUploadRequest.retryConfiguration, specRetryConfiguration);
|
|
283
299
|
if (this.logger)
|
|
284
300
|
retrier.logger = this.logger;
|
|
285
301
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -339,10 +355,11 @@ class ObjectStorageClient {
|
|
|
339
355
|
/**
|
|
340
356
|
* Creates a request to copy an object within a region or to another region.
|
|
341
357
|
*
|
|
358
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
342
359
|
* @param CopyObjectRequest
|
|
343
360
|
* @return CopyObjectResponse
|
|
344
361
|
* @throws OciError when an error occurs
|
|
345
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
362
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/CopyObject.ts.html |here} to see how to use CopyObject API.
|
|
346
363
|
*/
|
|
347
364
|
copyObject(copyObjectRequest) {
|
|
348
365
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -364,7 +381,8 @@ class ObjectStorageClient {
|
|
|
364
381
|
"opc-source-sse-customer-key-sha256": copyObjectRequest.opcSourceSseCustomerKeySha256,
|
|
365
382
|
"opc-sse-kms-key-id": copyObjectRequest.opcSseKmsKeyId
|
|
366
383
|
};
|
|
367
|
-
const
|
|
384
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
385
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, copyObjectRequest.retryConfiguration, specRetryConfiguration);
|
|
368
386
|
if (this.logger)
|
|
369
387
|
retrier.logger = this.logger;
|
|
370
388
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -410,10 +428,11 @@ class ObjectStorageClient {
|
|
|
410
428
|
* Creates a bucket in the given namespace with a bucket name and optional user-defined metadata. Avoid entering
|
|
411
429
|
* confidential information in bucket names.
|
|
412
430
|
*
|
|
431
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
413
432
|
* @param CreateBucketRequest
|
|
414
433
|
* @return CreateBucketResponse
|
|
415
434
|
* @throws OciError when an error occurs
|
|
416
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
435
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/CreateBucket.ts.html |here} to see how to use CreateBucket API.
|
|
417
436
|
*/
|
|
418
437
|
createBucket(createBucketRequest) {
|
|
419
438
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -427,7 +446,8 @@ class ObjectStorageClient {
|
|
|
427
446
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
428
447
|
"opc-client-request-id": createBucketRequest.opcClientRequestId
|
|
429
448
|
};
|
|
430
|
-
const
|
|
449
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
450
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBucketRequest.retryConfiguration, specRetryConfiguration);
|
|
431
451
|
if (this.logger)
|
|
432
452
|
retrier.logger = this.logger;
|
|
433
453
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -481,10 +501,11 @@ class ObjectStorageClient {
|
|
|
481
501
|
/**
|
|
482
502
|
* Starts a new multipart upload to a specific object in the given bucket in the given namespace.
|
|
483
503
|
*
|
|
504
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
484
505
|
* @param CreateMultipartUploadRequest
|
|
485
506
|
* @return CreateMultipartUploadResponse
|
|
486
507
|
* @throws OciError when an error occurs
|
|
487
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
508
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/CreateMultipartUpload.ts.html |here} to see how to use CreateMultipartUpload API.
|
|
488
509
|
*/
|
|
489
510
|
createMultipartUpload(createMultipartUploadRequest) {
|
|
490
511
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -505,7 +526,8 @@ class ObjectStorageClient {
|
|
|
505
526
|
"opc-sse-customer-key-sha256": createMultipartUploadRequest.opcSseCustomerKeySha256,
|
|
506
527
|
"opc-sse-kms-key-id": createMultipartUploadRequest.opcSseKmsKeyId
|
|
507
528
|
};
|
|
508
|
-
const
|
|
529
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
530
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createMultipartUploadRequest.retryConfiguration, specRetryConfiguration);
|
|
509
531
|
if (this.logger)
|
|
510
532
|
retrier.logger = this.logger;
|
|
511
533
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -554,10 +576,11 @@ class ObjectStorageClient {
|
|
|
554
576
|
/**
|
|
555
577
|
* Creates a pre-authenticated request specific to the bucket.
|
|
556
578
|
*
|
|
579
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
557
580
|
* @param CreatePreauthenticatedRequestRequest
|
|
558
581
|
* @return CreatePreauthenticatedRequestResponse
|
|
559
582
|
* @throws OciError when an error occurs
|
|
560
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
583
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/CreatePreauthenticatedRequest.ts.html |here} to see how to use CreatePreauthenticatedRequest API.
|
|
561
584
|
*/
|
|
562
585
|
createPreauthenticatedRequest(createPreauthenticatedRequestRequest) {
|
|
563
586
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -572,7 +595,8 @@ class ObjectStorageClient {
|
|
|
572
595
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
573
596
|
"opc-client-request-id": createPreauthenticatedRequestRequest.opcClientRequestId
|
|
574
597
|
};
|
|
575
|
-
const
|
|
598
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
599
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPreauthenticatedRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
576
600
|
if (this.logger)
|
|
577
601
|
retrier.logger = this.logger;
|
|
578
602
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -616,10 +640,11 @@ class ObjectStorageClient {
|
|
|
616
640
|
/**
|
|
617
641
|
* Creates a replication policy for the specified bucket.
|
|
618
642
|
*
|
|
643
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
619
644
|
* @param CreateReplicationPolicyRequest
|
|
620
645
|
* @return CreateReplicationPolicyResponse
|
|
621
646
|
* @throws OciError when an error occurs
|
|
622
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
647
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/CreateReplicationPolicy.ts.html |here} to see how to use CreateReplicationPolicy API.
|
|
623
648
|
*/
|
|
624
649
|
createReplicationPolicy(createReplicationPolicyRequest) {
|
|
625
650
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -634,7 +659,8 @@ class ObjectStorageClient {
|
|
|
634
659
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
635
660
|
"opc-client-request-id": createReplicationPolicyRequest.opcClientRequestId
|
|
636
661
|
};
|
|
637
|
-
const
|
|
662
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
663
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createReplicationPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
638
664
|
if (this.logger)
|
|
639
665
|
retrier.logger = this.logger;
|
|
640
666
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -679,10 +705,11 @@ class ObjectStorageClient {
|
|
|
679
705
|
* Creates a new retention rule in the specified bucket. The new rule will take effect typically within 30 seconds.
|
|
680
706
|
* Note that a maximum of 100 rules are supported on a bucket.
|
|
681
707
|
*
|
|
708
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
682
709
|
* @param CreateRetentionRuleRequest
|
|
683
710
|
* @return CreateRetentionRuleResponse
|
|
684
711
|
* @throws OciError when an error occurs
|
|
685
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
712
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/CreateRetentionRule.ts.html |here} to see how to use CreateRetentionRule API.
|
|
686
713
|
*/
|
|
687
714
|
createRetentionRule(createRetentionRuleRequest) {
|
|
688
715
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -697,7 +724,8 @@ class ObjectStorageClient {
|
|
|
697
724
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
698
725
|
"opc-client-request-id": createRetentionRuleRequest.opcClientRequestId
|
|
699
726
|
};
|
|
700
|
-
const
|
|
727
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
728
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRetentionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
701
729
|
if (this.logger)
|
|
702
730
|
retrier.logger = this.logger;
|
|
703
731
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -749,10 +777,11 @@ class ObjectStorageClient {
|
|
|
749
777
|
* you cannot delete a bucket that has a multipart upload in progress or a pre-authenticated
|
|
750
778
|
* request associated with that bucket.
|
|
751
779
|
*
|
|
780
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
752
781
|
* @param DeleteBucketRequest
|
|
753
782
|
* @return DeleteBucketResponse
|
|
754
783
|
* @throws OciError when an error occurs
|
|
755
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
784
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/DeleteBucket.ts.html |here} to see how to use DeleteBucket API.
|
|
756
785
|
*/
|
|
757
786
|
deleteBucket(deleteBucketRequest) {
|
|
758
787
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -768,7 +797,8 @@ class ObjectStorageClient {
|
|
|
768
797
|
"if-match": deleteBucketRequest.ifMatch,
|
|
769
798
|
"opc-client-request-id": deleteBucketRequest.opcClientRequestId
|
|
770
799
|
};
|
|
771
|
-
const
|
|
800
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
801
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBucketRequest.retryConfiguration, specRetryConfiguration);
|
|
772
802
|
if (this.logger)
|
|
773
803
|
retrier.logger = this.logger;
|
|
774
804
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -807,10 +837,11 @@ class ObjectStorageClient {
|
|
|
807
837
|
/**
|
|
808
838
|
* Deletes an object.
|
|
809
839
|
*
|
|
840
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
810
841
|
* @param DeleteObjectRequest
|
|
811
842
|
* @return DeleteObjectResponse
|
|
812
843
|
* @throws OciError when an error occurs
|
|
813
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
844
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/DeleteObject.ts.html |here} to see how to use DeleteObject API.
|
|
814
845
|
*/
|
|
815
846
|
deleteObject(deleteObjectRequest) {
|
|
816
847
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -829,7 +860,8 @@ class ObjectStorageClient {
|
|
|
829
860
|
"if-match": deleteObjectRequest.ifMatch,
|
|
830
861
|
"opc-client-request-id": deleteObjectRequest.opcClientRequestId
|
|
831
862
|
};
|
|
832
|
-
const
|
|
863
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
864
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteObjectRequest.retryConfiguration, specRetryConfiguration);
|
|
833
865
|
if (this.logger)
|
|
834
866
|
retrier.logger = this.logger;
|
|
835
867
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -883,10 +915,11 @@ class ObjectStorageClient {
|
|
|
883
915
|
/**
|
|
884
916
|
* Deletes the object lifecycle policy for the bucket.
|
|
885
917
|
*
|
|
918
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
886
919
|
* @param DeleteObjectLifecyclePolicyRequest
|
|
887
920
|
* @return DeleteObjectLifecyclePolicyResponse
|
|
888
921
|
* @throws OciError when an error occurs
|
|
889
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
922
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/DeleteObjectLifecyclePolicy.ts.html |here} to see how to use DeleteObjectLifecyclePolicy API.
|
|
890
923
|
*/
|
|
891
924
|
deleteObjectLifecyclePolicy(deleteObjectLifecyclePolicyRequest) {
|
|
892
925
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -902,7 +935,8 @@ class ObjectStorageClient {
|
|
|
902
935
|
"opc-client-request-id": deleteObjectLifecyclePolicyRequest.opcClientRequestId,
|
|
903
936
|
"if-match": deleteObjectLifecyclePolicyRequest.ifMatch
|
|
904
937
|
};
|
|
905
|
-
const
|
|
938
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
939
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteObjectLifecyclePolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
906
940
|
if (this.logger)
|
|
907
941
|
retrier.logger = this.logger;
|
|
908
942
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -940,10 +974,11 @@ class ObjectStorageClient {
|
|
|
940
974
|
}
|
|
941
975
|
/**
|
|
942
976
|
* Deletes the pre-authenticated request for the bucket.
|
|
977
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
943
978
|
* @param DeletePreauthenticatedRequestRequest
|
|
944
979
|
* @return DeletePreauthenticatedRequestResponse
|
|
945
980
|
* @throws OciError when an error occurs
|
|
946
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
981
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/DeletePreauthenticatedRequest.ts.html |here} to see how to use DeletePreauthenticatedRequest API.
|
|
947
982
|
*/
|
|
948
983
|
deletePreauthenticatedRequest(deletePreauthenticatedRequestRequest) {
|
|
949
984
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -959,7 +994,8 @@ class ObjectStorageClient {
|
|
|
959
994
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
960
995
|
"opc-client-request-id": deletePreauthenticatedRequestRequest.opcClientRequestId
|
|
961
996
|
};
|
|
962
|
-
const
|
|
997
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
998
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePreauthenticatedRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
963
999
|
if (this.logger)
|
|
964
1000
|
retrier.logger = this.logger;
|
|
965
1001
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -998,10 +1034,11 @@ class ObjectStorageClient {
|
|
|
998
1034
|
/**
|
|
999
1035
|
* Deletes the replication policy associated with the source bucket.
|
|
1000
1036
|
*
|
|
1037
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1001
1038
|
* @param DeleteReplicationPolicyRequest
|
|
1002
1039
|
* @return DeleteReplicationPolicyResponse
|
|
1003
1040
|
* @throws OciError when an error occurs
|
|
1004
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1041
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/DeleteReplicationPolicy.ts.html |here} to see how to use DeleteReplicationPolicy API.
|
|
1005
1042
|
*/
|
|
1006
1043
|
deleteReplicationPolicy(deleteReplicationPolicyRequest) {
|
|
1007
1044
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1017,7 +1054,8 @@ class ObjectStorageClient {
|
|
|
1017
1054
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1018
1055
|
"opc-client-request-id": deleteReplicationPolicyRequest.opcClientRequestId
|
|
1019
1056
|
};
|
|
1020
|
-
const
|
|
1057
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1058
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteReplicationPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1021
1059
|
if (this.logger)
|
|
1022
1060
|
retrier.logger = this.logger;
|
|
1023
1061
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1055,10 +1093,11 @@ class ObjectStorageClient {
|
|
|
1055
1093
|
}
|
|
1056
1094
|
/**
|
|
1057
1095
|
* Deletes the specified rule. The deletion takes effect typically within 30 seconds.
|
|
1096
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1058
1097
|
* @param DeleteRetentionRuleRequest
|
|
1059
1098
|
* @return DeleteRetentionRuleResponse
|
|
1060
1099
|
* @throws OciError when an error occurs
|
|
1061
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1100
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/DeleteRetentionRule.ts.html |here} to see how to use DeleteRetentionRule API.
|
|
1062
1101
|
*/
|
|
1063
1102
|
deleteRetentionRule(deleteRetentionRuleRequest) {
|
|
1064
1103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1075,7 +1114,8 @@ class ObjectStorageClient {
|
|
|
1075
1114
|
"if-match": deleteRetentionRuleRequest.ifMatch,
|
|
1076
1115
|
"opc-client-request-id": deleteRetentionRuleRequest.opcClientRequestId
|
|
1077
1116
|
};
|
|
1078
|
-
const
|
|
1117
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1118
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRetentionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1079
1119
|
if (this.logger)
|
|
1080
1120
|
retrier.logger = this.logger;
|
|
1081
1121
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1114,10 +1154,11 @@ class ObjectStorageClient {
|
|
|
1114
1154
|
/**
|
|
1115
1155
|
* Gets the current representation of the given bucket in the given Object Storage namespace.
|
|
1116
1156
|
*
|
|
1157
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1117
1158
|
* @param GetBucketRequest
|
|
1118
1159
|
* @return GetBucketResponse
|
|
1119
1160
|
* @throws OciError when an error occurs
|
|
1120
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1161
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/GetBucket.ts.html |here} to see how to use GetBucket API.
|
|
1121
1162
|
*/
|
|
1122
1163
|
getBucket(getBucketRequest) {
|
|
1123
1164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1136,7 +1177,8 @@ class ObjectStorageClient {
|
|
|
1136
1177
|
"if-none-match": getBucketRequest.ifNoneMatch,
|
|
1137
1178
|
"opc-client-request-id": getBucketRequest.opcClientRequestId
|
|
1138
1179
|
};
|
|
1139
|
-
const
|
|
1180
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1181
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBucketRequest.retryConfiguration, specRetryConfiguration);
|
|
1140
1182
|
if (this.logger)
|
|
1141
1183
|
retrier.logger = this.logger;
|
|
1142
1184
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1190,10 +1232,11 @@ class ObjectStorageClient {
|
|
|
1190
1232
|
* If an optional compartmentId query parameter is provided, GetNamespace returns the namespace name of the corresponding
|
|
1191
1233
|
* tenancy, provided the user has access to it.
|
|
1192
1234
|
*
|
|
1235
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1193
1236
|
* @param GetNamespaceRequest
|
|
1194
1237
|
* @return GetNamespaceResponse
|
|
1195
1238
|
* @throws OciError when an error occurs
|
|
1196
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1239
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/GetNamespace.ts.html |here} to see how to use GetNamespace API.
|
|
1197
1240
|
*/
|
|
1198
1241
|
getNamespace(getNamespaceRequest) {
|
|
1199
1242
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1207,7 +1250,8 @@ class ObjectStorageClient {
|
|
|
1207
1250
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1208
1251
|
"opc-client-request-id": getNamespaceRequest.opcClientRequestId
|
|
1209
1252
|
};
|
|
1210
|
-
const
|
|
1253
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1254
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getNamespaceRequest.retryConfiguration, specRetryConfiguration);
|
|
1211
1255
|
if (this.logger)
|
|
1212
1256
|
retrier.logger = this.logger;
|
|
1213
1257
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1245,10 +1289,11 @@ class ObjectStorageClient {
|
|
|
1245
1289
|
* to give users access, see
|
|
1246
1290
|
* [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
1247
1291
|
*
|
|
1292
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1248
1293
|
* @param GetNamespaceMetadataRequest
|
|
1249
1294
|
* @return GetNamespaceMetadataResponse
|
|
1250
1295
|
* @throws OciError when an error occurs
|
|
1251
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1296
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/GetNamespaceMetadata.ts.html |here} to see how to use GetNamespaceMetadata API.
|
|
1252
1297
|
*/
|
|
1253
1298
|
getNamespaceMetadata(getNamespaceMetadataRequest) {
|
|
1254
1299
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1262,7 +1307,8 @@ class ObjectStorageClient {
|
|
|
1262
1307
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1263
1308
|
"opc-client-request-id": getNamespaceMetadataRequest.opcClientRequestId
|
|
1264
1309
|
};
|
|
1265
|
-
const
|
|
1310
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1311
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getNamespaceMetadataRequest.retryConfiguration, specRetryConfiguration);
|
|
1266
1312
|
if (this.logger)
|
|
1267
1313
|
retrier.logger = this.logger;
|
|
1268
1314
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1305,10 +1351,11 @@ class ObjectStorageClient {
|
|
|
1305
1351
|
/**
|
|
1306
1352
|
* Gets the metadata and body of an object.
|
|
1307
1353
|
*
|
|
1354
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1308
1355
|
* @param GetObjectRequest
|
|
1309
1356
|
* @return GetObjectResponse
|
|
1310
1357
|
* @throws OciError when an error occurs
|
|
1311
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1358
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/GetObject.ts.html |here} to see how to use GetObject API.
|
|
1312
1359
|
*/
|
|
1313
1360
|
getObject(getObjectRequest) {
|
|
1314
1361
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1338,7 +1385,8 @@ class ObjectStorageClient {
|
|
|
1338
1385
|
"opc-sse-customer-key": getObjectRequest.opcSseCustomerKey,
|
|
1339
1386
|
"opc-sse-customer-key-sha256": getObjectRequest.opcSseCustomerKeySha256
|
|
1340
1387
|
};
|
|
1341
|
-
const
|
|
1388
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1389
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getObjectRequest.retryConfiguration, specRetryConfiguration);
|
|
1342
1390
|
if (this.logger)
|
|
1343
1391
|
retrier.logger = this.logger;
|
|
1344
1392
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1468,10 +1516,11 @@ class ObjectStorageClient {
|
|
|
1468
1516
|
/**
|
|
1469
1517
|
* Gets the object lifecycle policy for the bucket.
|
|
1470
1518
|
*
|
|
1519
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1471
1520
|
* @param GetObjectLifecyclePolicyRequest
|
|
1472
1521
|
* @return GetObjectLifecyclePolicyResponse
|
|
1473
1522
|
* @throws OciError when an error occurs
|
|
1474
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1523
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/GetObjectLifecyclePolicy.ts.html |here} to see how to use GetObjectLifecyclePolicy API.
|
|
1475
1524
|
*/
|
|
1476
1525
|
getObjectLifecyclePolicy(getObjectLifecyclePolicyRequest) {
|
|
1477
1526
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1486,7 +1535,8 @@ class ObjectStorageClient {
|
|
|
1486
1535
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1487
1536
|
"opc-client-request-id": getObjectLifecyclePolicyRequest.opcClientRequestId
|
|
1488
1537
|
};
|
|
1489
|
-
const
|
|
1538
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1539
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getObjectLifecyclePolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1490
1540
|
if (this.logger)
|
|
1491
1541
|
retrier.logger = this.logger;
|
|
1492
1542
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1533,10 +1583,11 @@ class ObjectStorageClient {
|
|
|
1533
1583
|
}
|
|
1534
1584
|
/**
|
|
1535
1585
|
* Gets the pre-authenticated request for the bucket.
|
|
1586
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1536
1587
|
* @param GetPreauthenticatedRequestRequest
|
|
1537
1588
|
* @return GetPreauthenticatedRequestResponse
|
|
1538
1589
|
* @throws OciError when an error occurs
|
|
1539
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1590
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/GetPreauthenticatedRequest.ts.html |here} to see how to use GetPreauthenticatedRequest API.
|
|
1540
1591
|
*/
|
|
1541
1592
|
getPreauthenticatedRequest(getPreauthenticatedRequestRequest) {
|
|
1542
1593
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1552,7 +1603,8 @@ class ObjectStorageClient {
|
|
|
1552
1603
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1553
1604
|
"opc-client-request-id": getPreauthenticatedRequestRequest.opcClientRequestId
|
|
1554
1605
|
};
|
|
1555
|
-
const
|
|
1606
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1607
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPreauthenticatedRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1556
1608
|
if (this.logger)
|
|
1557
1609
|
retrier.logger = this.logger;
|
|
1558
1610
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1595,10 +1647,11 @@ class ObjectStorageClient {
|
|
|
1595
1647
|
/**
|
|
1596
1648
|
* Get the replication policy.
|
|
1597
1649
|
*
|
|
1650
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1598
1651
|
* @param GetReplicationPolicyRequest
|
|
1599
1652
|
* @return GetReplicationPolicyResponse
|
|
1600
1653
|
* @throws OciError when an error occurs
|
|
1601
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1654
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/GetReplicationPolicy.ts.html |here} to see how to use GetReplicationPolicy API.
|
|
1602
1655
|
*/
|
|
1603
1656
|
getReplicationPolicy(getReplicationPolicyRequest) {
|
|
1604
1657
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1614,7 +1667,8 @@ class ObjectStorageClient {
|
|
|
1614
1667
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1615
1668
|
"opc-client-request-id": getReplicationPolicyRequest.opcClientRequestId
|
|
1616
1669
|
};
|
|
1617
|
-
const
|
|
1670
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1671
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getReplicationPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1618
1672
|
if (this.logger)
|
|
1619
1673
|
retrier.logger = this.logger;
|
|
1620
1674
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1656,10 +1710,11 @@ class ObjectStorageClient {
|
|
|
1656
1710
|
}
|
|
1657
1711
|
/**
|
|
1658
1712
|
* Get the specified retention rule.
|
|
1713
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1659
1714
|
* @param GetRetentionRuleRequest
|
|
1660
1715
|
* @return GetRetentionRuleResponse
|
|
1661
1716
|
* @throws OciError when an error occurs
|
|
1662
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1717
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/GetRetentionRule.ts.html |here} to see how to use GetRetentionRule API.
|
|
1663
1718
|
*/
|
|
1664
1719
|
getRetentionRule(getRetentionRuleRequest) {
|
|
1665
1720
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1675,7 +1730,8 @@ class ObjectStorageClient {
|
|
|
1675
1730
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1676
1731
|
"opc-client-request-id": getRetentionRuleRequest.opcClientRequestId
|
|
1677
1732
|
};
|
|
1678
|
-
const
|
|
1733
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1734
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRetentionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1679
1735
|
if (this.logger)
|
|
1680
1736
|
retrier.logger = this.logger;
|
|
1681
1737
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1727,10 +1783,11 @@ class ObjectStorageClient {
|
|
|
1727
1783
|
}
|
|
1728
1784
|
/**
|
|
1729
1785
|
* Gets the status of the work request for the given ID.
|
|
1786
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1730
1787
|
* @param GetWorkRequestRequest
|
|
1731
1788
|
* @return GetWorkRequestResponse
|
|
1732
1789
|
* @throws OciError when an error occurs
|
|
1733
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1790
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1734
1791
|
*/
|
|
1735
1792
|
getWorkRequest(getWorkRequestRequest) {
|
|
1736
1793
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1744,7 +1801,8 @@ class ObjectStorageClient {
|
|
|
1744
1801
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1745
1802
|
"opc-client-request-id": getWorkRequestRequest.opcClientRequestId
|
|
1746
1803
|
};
|
|
1747
|
-
const
|
|
1804
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1805
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1748
1806
|
if (this.logger)
|
|
1749
1807
|
retrier.logger = this.logger;
|
|
1750
1808
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1792,10 +1850,11 @@ class ObjectStorageClient {
|
|
|
1792
1850
|
/**
|
|
1793
1851
|
* Efficiently checks to see if a bucket exists and gets the current entity tag (ETag) for the bucket.
|
|
1794
1852
|
*
|
|
1853
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1795
1854
|
* @param HeadBucketRequest
|
|
1796
1855
|
* @return HeadBucketResponse
|
|
1797
1856
|
* @throws OciError when an error occurs
|
|
1798
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1857
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/HeadBucket.ts.html |here} to see how to use HeadBucket API.
|
|
1799
1858
|
*/
|
|
1800
1859
|
headBucket(headBucketRequest) {
|
|
1801
1860
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1812,7 +1871,8 @@ class ObjectStorageClient {
|
|
|
1812
1871
|
"if-none-match": headBucketRequest.ifNoneMatch,
|
|
1813
1872
|
"opc-client-request-id": headBucketRequest.opcClientRequestId
|
|
1814
1873
|
};
|
|
1815
|
-
const
|
|
1874
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1875
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, headBucketRequest.retryConfiguration, specRetryConfiguration);
|
|
1816
1876
|
if (this.logger)
|
|
1817
1877
|
retrier.logger = this.logger;
|
|
1818
1878
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1856,10 +1916,11 @@ class ObjectStorageClient {
|
|
|
1856
1916
|
/**
|
|
1857
1917
|
* Gets the user-defined metadata and entity tag (ETag) for an object.
|
|
1858
1918
|
*
|
|
1919
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1859
1920
|
* @param HeadObjectRequest
|
|
1860
1921
|
* @return HeadObjectResponse
|
|
1861
1922
|
* @throws OciError when an error occurs
|
|
1862
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1923
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/HeadObject.ts.html |here} to see how to use HeadObject API.
|
|
1863
1924
|
*/
|
|
1864
1925
|
headObject(headObjectRequest) {
|
|
1865
1926
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1882,7 +1943,8 @@ class ObjectStorageClient {
|
|
|
1882
1943
|
"opc-sse-customer-key": headObjectRequest.opcSseCustomerKey,
|
|
1883
1944
|
"opc-sse-customer-key-sha256": headObjectRequest.opcSseCustomerKeySha256
|
|
1884
1945
|
};
|
|
1885
|
-
const
|
|
1946
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1947
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, headObjectRequest.retryConfiguration, specRetryConfiguration);
|
|
1886
1948
|
if (this.logger)
|
|
1887
1949
|
retrier.logger = this.logger;
|
|
1888
1950
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2007,10 +2069,11 @@ class ObjectStorageClient {
|
|
|
2007
2069
|
* talk to an administrator. If you are an administrator who needs to write policies to give users access, see
|
|
2008
2070
|
* [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
2009
2071
|
*
|
|
2072
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2010
2073
|
* @param ListBucketsRequest
|
|
2011
2074
|
* @return ListBucketsResponse
|
|
2012
2075
|
* @throws OciError when an error occurs
|
|
2013
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2076
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/ListBuckets.ts.html |here} to see how to use ListBuckets API.
|
|
2014
2077
|
*/
|
|
2015
2078
|
listBuckets(listBucketsRequest) {
|
|
2016
2079
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2029,7 +2092,8 @@ class ObjectStorageClient {
|
|
|
2029
2092
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2030
2093
|
"opc-client-request-id": listBucketsRequest.opcClientRequestId
|
|
2031
2094
|
};
|
|
2032
|
-
const
|
|
2095
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2096
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBucketsRequest.retryConfiguration, specRetryConfiguration);
|
|
2033
2097
|
if (this.logger)
|
|
2034
2098
|
retrier.logger = this.logger;
|
|
2035
2099
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2117,10 +2181,11 @@ class ObjectStorageClient {
|
|
|
2117
2181
|
/**
|
|
2118
2182
|
* Lists the parts of an in-progress multipart upload.
|
|
2119
2183
|
*
|
|
2184
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2120
2185
|
* @param ListMultipartUploadPartsRequest
|
|
2121
2186
|
* @return ListMultipartUploadPartsResponse
|
|
2122
2187
|
* @throws OciError when an error occurs
|
|
2123
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2188
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/ListMultipartUploadParts.ts.html |here} to see how to use ListMultipartUploadParts API.
|
|
2124
2189
|
*/
|
|
2125
2190
|
listMultipartUploadParts(listMultipartUploadPartsRequest) {
|
|
2126
2191
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2140,7 +2205,8 @@ class ObjectStorageClient {
|
|
|
2140
2205
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2141
2206
|
"opc-client-request-id": listMultipartUploadPartsRequest.opcClientRequestId
|
|
2142
2207
|
};
|
|
2143
|
-
const
|
|
2208
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2209
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMultipartUploadPartsRequest.retryConfiguration, specRetryConfiguration);
|
|
2144
2210
|
if (this.logger)
|
|
2145
2211
|
retrier.logger = this.logger;
|
|
2146
2212
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2228,10 +2294,11 @@ class ObjectStorageClient {
|
|
|
2228
2294
|
/**
|
|
2229
2295
|
* Lists all of the in-progress multipart uploads for the given bucket in the given Object Storage namespace.
|
|
2230
2296
|
*
|
|
2297
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2231
2298
|
* @param ListMultipartUploadsRequest
|
|
2232
2299
|
* @return ListMultipartUploadsResponse
|
|
2233
2300
|
* @throws OciError when an error occurs
|
|
2234
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2301
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/ListMultipartUploads.ts.html |here} to see how to use ListMultipartUploads API.
|
|
2235
2302
|
*/
|
|
2236
2303
|
listMultipartUploads(listMultipartUploadsRequest) {
|
|
2237
2304
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2249,7 +2316,8 @@ class ObjectStorageClient {
|
|
|
2249
2316
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2250
2317
|
"opc-client-request-id": listMultipartUploadsRequest.opcClientRequestId
|
|
2251
2318
|
};
|
|
2252
|
-
const
|
|
2319
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2320
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMultipartUploadsRequest.retryConfiguration, specRetryConfiguration);
|
|
2253
2321
|
if (this.logger)
|
|
2254
2322
|
retrier.logger = this.logger;
|
|
2255
2323
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2344,10 +2412,11 @@ class ObjectStorageClient {
|
|
|
2344
2412
|
* talk to an administrator. If you are an administrator who needs to write policies to give users access, see
|
|
2345
2413
|
* [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
2346
2414
|
*
|
|
2415
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2347
2416
|
* @param ListObjectVersionsRequest
|
|
2348
2417
|
* @return ListObjectVersionsResponse
|
|
2349
2418
|
* @throws OciError when an error occurs
|
|
2350
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2419
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/ListObjectVersions.ts.html |here} to see how to use ListObjectVersions API.
|
|
2351
2420
|
*/
|
|
2352
2421
|
listObjectVersions(listObjectVersionsRequest) {
|
|
2353
2422
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2371,7 +2440,8 @@ class ObjectStorageClient {
|
|
|
2371
2440
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2372
2441
|
"opc-client-request-id": listObjectVersionsRequest.opcClientRequestId
|
|
2373
2442
|
};
|
|
2374
|
-
const
|
|
2443
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2444
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listObjectVersionsRequest.retryConfiguration, specRetryConfiguration);
|
|
2375
2445
|
if (this.logger)
|
|
2376
2446
|
retrier.logger = this.logger;
|
|
2377
2447
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2428,10 +2498,11 @@ class ObjectStorageClient {
|
|
|
2428
2498
|
* talk to an administrator. If you are an administrator who needs to write policies to give users access, see
|
|
2429
2499
|
* [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
2430
2500
|
*
|
|
2501
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2431
2502
|
* @param ListObjectsRequest
|
|
2432
2503
|
* @return ListObjectsResponse
|
|
2433
2504
|
* @throws OciError when an error occurs
|
|
2434
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2505
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/ListObjects.ts.html |here} to see how to use ListObjects API.
|
|
2435
2506
|
*/
|
|
2436
2507
|
listObjects(listObjectsRequest) {
|
|
2437
2508
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2454,7 +2525,8 @@ class ObjectStorageClient {
|
|
|
2454
2525
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2455
2526
|
"opc-client-request-id": listObjectsRequest.opcClientRequestId
|
|
2456
2527
|
};
|
|
2457
|
-
const
|
|
2528
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2529
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listObjectsRequest.retryConfiguration, specRetryConfiguration);
|
|
2458
2530
|
if (this.logger)
|
|
2459
2531
|
retrier.logger = this.logger;
|
|
2460
2532
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2537,10 +2609,11 @@ class ObjectStorageClient {
|
|
|
2537
2609
|
/**
|
|
2538
2610
|
* Lists pre-authenticated requests for the bucket.
|
|
2539
2611
|
*
|
|
2612
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2540
2613
|
* @param ListPreauthenticatedRequestsRequest
|
|
2541
2614
|
* @return ListPreauthenticatedRequestsResponse
|
|
2542
2615
|
* @throws OciError when an error occurs
|
|
2543
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2616
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/ListPreauthenticatedRequests.ts.html |here} to see how to use ListPreauthenticatedRequests API.
|
|
2544
2617
|
*/
|
|
2545
2618
|
listPreauthenticatedRequests(listPreauthenticatedRequestsRequest) {
|
|
2546
2619
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2559,7 +2632,8 @@ class ObjectStorageClient {
|
|
|
2559
2632
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2560
2633
|
"opc-client-request-id": listPreauthenticatedRequestsRequest.opcClientRequestId
|
|
2561
2634
|
};
|
|
2562
|
-
const
|
|
2635
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2636
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPreauthenticatedRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
2563
2637
|
if (this.logger)
|
|
2564
2638
|
retrier.logger = this.logger;
|
|
2565
2639
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2647,10 +2721,11 @@ class ObjectStorageClient {
|
|
|
2647
2721
|
/**
|
|
2648
2722
|
* List the replication policies associated with a bucket.
|
|
2649
2723
|
*
|
|
2724
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2650
2725
|
* @param ListReplicationPoliciesRequest
|
|
2651
2726
|
* @return ListReplicationPoliciesResponse
|
|
2652
2727
|
* @throws OciError when an error occurs
|
|
2653
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2728
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/ListReplicationPolicies.ts.html |here} to see how to use ListReplicationPolicies API.
|
|
2654
2729
|
*/
|
|
2655
2730
|
listReplicationPolicies(listReplicationPoliciesRequest) {
|
|
2656
2731
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2668,7 +2743,8 @@ class ObjectStorageClient {
|
|
|
2668
2743
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2669
2744
|
"opc-client-request-id": listReplicationPoliciesRequest.opcClientRequestId
|
|
2670
2745
|
};
|
|
2671
|
-
const
|
|
2746
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2747
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listReplicationPoliciesRequest.retryConfiguration, specRetryConfiguration);
|
|
2672
2748
|
if (this.logger)
|
|
2673
2749
|
retrier.logger = this.logger;
|
|
2674
2750
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2756,10 +2832,11 @@ class ObjectStorageClient {
|
|
|
2756
2832
|
/**
|
|
2757
2833
|
* List the replication sources of a destination bucket.
|
|
2758
2834
|
*
|
|
2835
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2759
2836
|
* @param ListReplicationSourcesRequest
|
|
2760
2837
|
* @return ListReplicationSourcesResponse
|
|
2761
2838
|
* @throws OciError when an error occurs
|
|
2762
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2839
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/ListReplicationSources.ts.html |here} to see how to use ListReplicationSources API.
|
|
2763
2840
|
*/
|
|
2764
2841
|
listReplicationSources(listReplicationSourcesRequest) {
|
|
2765
2842
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2777,7 +2854,8 @@ class ObjectStorageClient {
|
|
|
2777
2854
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2778
2855
|
"opc-client-request-id": listReplicationSourcesRequest.opcClientRequestId
|
|
2779
2856
|
};
|
|
2780
|
-
const
|
|
2857
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2858
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listReplicationSourcesRequest.retryConfiguration, specRetryConfiguration);
|
|
2781
2859
|
if (this.logger)
|
|
2782
2860
|
retrier.logger = this.logger;
|
|
2783
2861
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2866,10 +2944,11 @@ class ObjectStorageClient {
|
|
|
2866
2944
|
* List the retention rules for a bucket. The retention rules are sorted based on creation time,
|
|
2867
2945
|
* with the most recently created retention rule returned first.
|
|
2868
2946
|
*
|
|
2947
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2869
2948
|
* @param ListRetentionRulesRequest
|
|
2870
2949
|
* @return ListRetentionRulesResponse
|
|
2871
2950
|
* @throws OciError when an error occurs
|
|
2872
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2951
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/ListRetentionRules.ts.html |here} to see how to use ListRetentionRules API.
|
|
2873
2952
|
*/
|
|
2874
2953
|
listRetentionRules(listRetentionRulesRequest) {
|
|
2875
2954
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2885,7 +2964,8 @@ class ObjectStorageClient {
|
|
|
2885
2964
|
let headerParams = {
|
|
2886
2965
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
2887
2966
|
};
|
|
2888
|
-
const
|
|
2967
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2968
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRetentionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
2889
2969
|
if (this.logger)
|
|
2890
2970
|
retrier.logger = this.logger;
|
|
2891
2971
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2932,10 +3012,11 @@ class ObjectStorageClient {
|
|
|
2932
3012
|
}
|
|
2933
3013
|
/**
|
|
2934
3014
|
* Lists the errors of the work request with the given ID.
|
|
3015
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2935
3016
|
* @param ListWorkRequestErrorsRequest
|
|
2936
3017
|
* @return ListWorkRequestErrorsResponse
|
|
2937
3018
|
* @throws OciError when an error occurs
|
|
2938
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3019
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
2939
3020
|
*/
|
|
2940
3021
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
2941
3022
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2952,7 +3033,8 @@ class ObjectStorageClient {
|
|
|
2952
3033
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2953
3034
|
"opc-client-request-id": listWorkRequestErrorsRequest.opcClientRequestId
|
|
2954
3035
|
};
|
|
2955
|
-
const
|
|
3036
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3037
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
2956
3038
|
if (this.logger)
|
|
2957
3039
|
retrier.logger = this.logger;
|
|
2958
3040
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3039,10 +3121,11 @@ class ObjectStorageClient {
|
|
|
3039
3121
|
}
|
|
3040
3122
|
/**
|
|
3041
3123
|
* Lists the logs of the work request with the given ID.
|
|
3124
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3042
3125
|
* @param ListWorkRequestLogsRequest
|
|
3043
3126
|
* @return ListWorkRequestLogsResponse
|
|
3044
3127
|
* @throws OciError when an error occurs
|
|
3045
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3128
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3046
3129
|
*/
|
|
3047
3130
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3048
3131
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3059,7 +3142,8 @@ class ObjectStorageClient {
|
|
|
3059
3142
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3060
3143
|
"opc-client-request-id": listWorkRequestLogsRequest.opcClientRequestId
|
|
3061
3144
|
};
|
|
3062
|
-
const
|
|
3145
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3146
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
3063
3147
|
if (this.logger)
|
|
3064
3148
|
retrier.logger = this.logger;
|
|
3065
3149
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3147,10 +3231,11 @@ class ObjectStorageClient {
|
|
|
3147
3231
|
/**
|
|
3148
3232
|
* Lists the work requests in a compartment.
|
|
3149
3233
|
*
|
|
3234
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3150
3235
|
* @param ListWorkRequestsRequest
|
|
3151
3236
|
* @return ListWorkRequestsResponse
|
|
3152
3237
|
* @throws OciError when an error occurs
|
|
3153
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3238
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
3154
3239
|
*/
|
|
3155
3240
|
listWorkRequests(listWorkRequestsRequest) {
|
|
3156
3241
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3166,7 +3251,8 @@ class ObjectStorageClient {
|
|
|
3166
3251
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3167
3252
|
"opc-client-request-id": listWorkRequestsRequest.opcClientRequestId
|
|
3168
3253
|
};
|
|
3169
|
-
const
|
|
3254
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3255
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3170
3256
|
if (this.logger)
|
|
3171
3257
|
retrier.logger = this.logger;
|
|
3172
3258
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3257,10 +3343,11 @@ class ObjectStorageClient {
|
|
|
3257
3343
|
* automatically from the source bucket. MakeBucketWritable removes the replication policy. This bucket is no
|
|
3258
3344
|
* longer the target for replication and is now writable, allowing users to make changes to bucket contents.
|
|
3259
3345
|
*
|
|
3346
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3260
3347
|
* @param MakeBucketWritableRequest
|
|
3261
3348
|
* @return MakeBucketWritableResponse
|
|
3262
3349
|
* @throws OciError when an error occurs
|
|
3263
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3350
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/MakeBucketWritable.ts.html |here} to see how to use MakeBucketWritable API.
|
|
3264
3351
|
*/
|
|
3265
3352
|
makeBucketWritable(makeBucketWritableRequest) {
|
|
3266
3353
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3275,7 +3362,8 @@ class ObjectStorageClient {
|
|
|
3275
3362
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3276
3363
|
"opc-client-request-id": makeBucketWritableRequest.opcClientRequestId
|
|
3277
3364
|
};
|
|
3278
|
-
const
|
|
3365
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3366
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, makeBucketWritableRequest.retryConfiguration, specRetryConfiguration);
|
|
3279
3367
|
if (this.logger)
|
|
3280
3368
|
retrier.logger = this.logger;
|
|
3281
3369
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3321,10 +3409,11 @@ class ObjectStorageClient {
|
|
|
3321
3409
|
See [Special Instructions for Object Storage PUT](https://docs.cloud.oracle.com/Content/API/Concepts/signingrequests.htm#ObjectStoragePut)
|
|
3322
3410
|
* for request signature requirements.
|
|
3323
3411
|
*
|
|
3412
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3324
3413
|
* @param PutObjectRequest
|
|
3325
3414
|
* @return PutObjectResponse
|
|
3326
3415
|
* @throws OciError when an error occurs
|
|
3327
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3416
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/PutObject.ts.html |here} to see how to use PutObject API.
|
|
3328
3417
|
*/
|
|
3329
3418
|
putObject(putObjectRequest) {
|
|
3330
3419
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3359,7 +3448,8 @@ class ObjectStorageClient {
|
|
|
3359
3448
|
Object.assign(headerParams, { ["opc-meta-" + key]: value });
|
|
3360
3449
|
});
|
|
3361
3450
|
}
|
|
3362
|
-
const
|
|
3451
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3452
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, putObjectRequest.retryConfiguration, specRetryConfiguration);
|
|
3363
3453
|
if (this.logger)
|
|
3364
3454
|
retrier.logger = this.logger;
|
|
3365
3455
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3420,10 +3510,11 @@ class ObjectStorageClient {
|
|
|
3420
3510
|
/**
|
|
3421
3511
|
* Creates or replaces the object lifecycle policy for the bucket.
|
|
3422
3512
|
*
|
|
3513
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3423
3514
|
* @param PutObjectLifecyclePolicyRequest
|
|
3424
3515
|
* @return PutObjectLifecyclePolicyResponse
|
|
3425
3516
|
* @throws OciError when an error occurs
|
|
3426
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3517
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/PutObjectLifecyclePolicy.ts.html |here} to see how to use PutObjectLifecyclePolicy API.
|
|
3427
3518
|
*/
|
|
3428
3519
|
putObjectLifecyclePolicy(putObjectLifecyclePolicyRequest) {
|
|
3429
3520
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3440,7 +3531,8 @@ class ObjectStorageClient {
|
|
|
3440
3531
|
"if-match": putObjectLifecyclePolicyRequest.ifMatch,
|
|
3441
3532
|
"if-none-match": putObjectLifecyclePolicyRequest.ifNoneMatch
|
|
3442
3533
|
};
|
|
3443
|
-
const
|
|
3534
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3535
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, putObjectLifecyclePolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
3444
3536
|
if (this.logger)
|
|
3445
3537
|
retrier.logger = this.logger;
|
|
3446
3538
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3503,10 +3595,11 @@ class ObjectStorageClient {
|
|
|
3503
3595
|
* of the work request task.
|
|
3504
3596
|
* All the versions of objects will be re-encrypted whether versioning is enabled or suspended at the bucket.
|
|
3505
3597
|
*
|
|
3598
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3506
3599
|
* @param ReencryptBucketRequest
|
|
3507
3600
|
* @return ReencryptBucketResponse
|
|
3508
3601
|
* @throws OciError when an error occurs
|
|
3509
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3602
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/ReencryptBucket.ts.html |here} to see how to use ReencryptBucket API.
|
|
3510
3603
|
*/
|
|
3511
3604
|
reencryptBucket(reencryptBucketRequest) {
|
|
3512
3605
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3521,7 +3614,8 @@ class ObjectStorageClient {
|
|
|
3521
3614
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3522
3615
|
"opc-client-request-id": reencryptBucketRequest.opcClientRequestId
|
|
3523
3616
|
};
|
|
3524
|
-
const
|
|
3617
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3618
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, reencryptBucketRequest.retryConfiguration, specRetryConfiguration);
|
|
3525
3619
|
if (this.logger)
|
|
3526
3620
|
retrier.logger = this.logger;
|
|
3527
3621
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3573,10 +3667,11 @@ class ObjectStorageClient {
|
|
|
3573
3667
|
* <p>
|
|
3574
3668
|
- You can encrypt an object using your own encryption key. The key you supply is known as a customer-provided encryption key (SSE-C).
|
|
3575
3669
|
*
|
|
3670
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3576
3671
|
* @param ReencryptObjectRequest
|
|
3577
3672
|
* @return ReencryptObjectResponse
|
|
3578
3673
|
* @throws OciError when an error occurs
|
|
3579
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3674
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/ReencryptObject.ts.html |here} to see how to use ReencryptObject API.
|
|
3580
3675
|
*/
|
|
3581
3676
|
reencryptObject(reencryptObjectRequest) {
|
|
3582
3677
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3594,7 +3689,8 @@ class ObjectStorageClient {
|
|
|
3594
3689
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3595
3690
|
"opc-client-request-id": reencryptObjectRequest.opcClientRequestId
|
|
3596
3691
|
};
|
|
3597
|
-
const
|
|
3692
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3693
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, reencryptObjectRequest.retryConfiguration, specRetryConfiguration);
|
|
3598
3694
|
if (this.logger)
|
|
3599
3695
|
retrier.logger = this.logger;
|
|
3600
3696
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3637,10 +3733,11 @@ class ObjectStorageClient {
|
|
|
3637
3733
|
See [Object Names](https://docs.cloud.oracle.com/Content/Object/Tasks/managingobjects.htm#namerequirements)
|
|
3638
3734
|
* for object naming requirements.
|
|
3639
3735
|
*
|
|
3736
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3640
3737
|
* @param RenameObjectRequest
|
|
3641
3738
|
* @return RenameObjectResponse
|
|
3642
3739
|
* @throws OciError when an error occurs
|
|
3643
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3740
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/RenameObject.ts.html |here} to see how to use RenameObject API.
|
|
3644
3741
|
*/
|
|
3645
3742
|
renameObject(renameObjectRequest) {
|
|
3646
3743
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3655,7 +3752,8 @@ class ObjectStorageClient {
|
|
|
3655
3752
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3656
3753
|
"opc-client-request-id": renameObjectRequest.opcClientRequestId
|
|
3657
3754
|
};
|
|
3658
|
-
const
|
|
3755
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3756
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, renameObjectRequest.retryConfiguration, specRetryConfiguration);
|
|
3659
3757
|
if (this.logger)
|
|
3660
3758
|
retrier.logger = this.logger;
|
|
3661
3759
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3711,10 +3809,11 @@ class ObjectStorageClient {
|
|
|
3711
3809
|
* Restores one or more objects specified by the objectName parameter.
|
|
3712
3810
|
* By default objects will be restored for 24 hours. Duration can be configured using the hours parameter.
|
|
3713
3811
|
*
|
|
3812
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3714
3813
|
* @param RestoreObjectsRequest
|
|
3715
3814
|
* @return RestoreObjectsResponse
|
|
3716
3815
|
* @throws OciError when an error occurs
|
|
3717
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3816
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/RestoreObjects.ts.html |here} to see how to use RestoreObjects API.
|
|
3718
3817
|
*/
|
|
3719
3818
|
restoreObjects(restoreObjectsRequest) {
|
|
3720
3819
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3729,7 +3828,8 @@ class ObjectStorageClient {
|
|
|
3729
3828
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3730
3829
|
"opc-client-request-id": restoreObjectsRequest.opcClientRequestId
|
|
3731
3830
|
};
|
|
3732
|
-
const
|
|
3831
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3832
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restoreObjectsRequest.retryConfiguration, specRetryConfiguration);
|
|
3733
3833
|
if (this.logger)
|
|
3734
3834
|
retrier.logger = this.logger;
|
|
3735
3835
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3773,10 +3873,11 @@ class ObjectStorageClient {
|
|
|
3773
3873
|
* of the compartment that you want to move the bucket to. For more information about moving resources between compartments,
|
|
3774
3874
|
* see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
3775
3875
|
*
|
|
3876
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3776
3877
|
* @param UpdateBucketRequest
|
|
3777
3878
|
* @return UpdateBucketResponse
|
|
3778
3879
|
* @throws OciError when an error occurs
|
|
3779
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3880
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/UpdateBucket.ts.html |here} to see how to use UpdateBucket API.
|
|
3780
3881
|
*/
|
|
3781
3882
|
updateBucket(updateBucketRequest) {
|
|
3782
3883
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3792,7 +3893,8 @@ class ObjectStorageClient {
|
|
|
3792
3893
|
"if-match": updateBucketRequest.ifMatch,
|
|
3793
3894
|
"opc-client-request-id": updateBucketRequest.opcClientRequestId
|
|
3794
3895
|
};
|
|
3795
|
-
const
|
|
3896
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3897
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBucketRequest.retryConfiguration, specRetryConfiguration);
|
|
3796
3898
|
if (this.logger)
|
|
3797
3899
|
retrier.logger = this.logger;
|
|
3798
3900
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3847,10 +3949,11 @@ class ObjectStorageClient {
|
|
|
3847
3949
|
* buckets will be modified. A user must have OBJECTSTORAGE_NAMESPACE_UPDATE permission to make changes to the default
|
|
3848
3950
|
* compartments for Amazon S3 and Swift.
|
|
3849
3951
|
*
|
|
3952
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3850
3953
|
* @param UpdateNamespaceMetadataRequest
|
|
3851
3954
|
* @return UpdateNamespaceMetadataResponse
|
|
3852
3955
|
* @throws OciError when an error occurs
|
|
3853
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3956
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/UpdateNamespaceMetadata.ts.html |here} to see how to use UpdateNamespaceMetadata API.
|
|
3854
3957
|
*/
|
|
3855
3958
|
updateNamespaceMetadata(updateNamespaceMetadataRequest) {
|
|
3856
3959
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3864,7 +3967,8 @@ class ObjectStorageClient {
|
|
|
3864
3967
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3865
3968
|
"opc-client-request-id": updateNamespaceMetadataRequest.opcClientRequestId
|
|
3866
3969
|
};
|
|
3867
|
-
const
|
|
3970
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3971
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateNamespaceMetadataRequest.retryConfiguration, specRetryConfiguration);
|
|
3868
3972
|
if (this.logger)
|
|
3869
3973
|
retrier.logger = this.logger;
|
|
3870
3974
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3908,10 +4012,11 @@ class ObjectStorageClient {
|
|
|
3908
4012
|
/**
|
|
3909
4013
|
* Changes the storage tier of the object specified by the objectName parameter.
|
|
3910
4014
|
*
|
|
4015
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3911
4016
|
* @param UpdateObjectStorageTierRequest
|
|
3912
4017
|
* @return UpdateObjectStorageTierResponse
|
|
3913
4018
|
* @throws OciError when an error occurs
|
|
3914
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4019
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/UpdateObjectStorageTier.ts.html |here} to see how to use UpdateObjectStorageTier API.
|
|
3915
4020
|
*/
|
|
3916
4021
|
updateObjectStorageTier(updateObjectStorageTierRequest) {
|
|
3917
4022
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3926,7 +4031,8 @@ class ObjectStorageClient {
|
|
|
3926
4031
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3927
4032
|
"opc-client-request-id": updateObjectStorageTierRequest.opcClientRequestId
|
|
3928
4033
|
};
|
|
3929
|
-
const
|
|
4034
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4035
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateObjectStorageTierRequest.retryConfiguration, specRetryConfiguration);
|
|
3930
4036
|
if (this.logger)
|
|
3931
4037
|
retrier.logger = this.logger;
|
|
3932
4038
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3966,10 +4072,11 @@ class ObjectStorageClient {
|
|
|
3966
4072
|
/**
|
|
3967
4073
|
* Updates the specified retention rule. Rule changes take effect typically within 30 seconds.
|
|
3968
4074
|
*
|
|
4075
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3969
4076
|
* @param UpdateRetentionRuleRequest
|
|
3970
4077
|
* @return UpdateRetentionRuleResponse
|
|
3971
4078
|
* @throws OciError when an error occurs
|
|
3972
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4079
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/UpdateRetentionRule.ts.html |here} to see how to use UpdateRetentionRule API.
|
|
3973
4080
|
*/
|
|
3974
4081
|
updateRetentionRule(updateRetentionRuleRequest) {
|
|
3975
4082
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3986,7 +4093,8 @@ class ObjectStorageClient {
|
|
|
3986
4093
|
"if-match": updateRetentionRuleRequest.ifMatch,
|
|
3987
4094
|
"opc-client-request-id": updateRetentionRuleRequest.opcClientRequestId
|
|
3988
4095
|
};
|
|
3989
|
-
const
|
|
4096
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4097
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRetentionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
3990
4098
|
if (this.logger)
|
|
3991
4099
|
retrier.logger = this.logger;
|
|
3992
4100
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4035,10 +4143,11 @@ class ObjectStorageClient {
|
|
|
4035
4143
|
/**
|
|
4036
4144
|
* Uploads a single part of a multipart upload.
|
|
4037
4145
|
*
|
|
4146
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4038
4147
|
* @param UploadPartRequest
|
|
4039
4148
|
* @return UploadPartResponse
|
|
4040
4149
|
* @throws OciError when an error occurs
|
|
4041
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4150
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/objectstorage/UploadPart.ts.html |here} to see how to use UploadPart API.
|
|
4042
4151
|
*/
|
|
4043
4152
|
uploadPart(uploadPartRequest) {
|
|
4044
4153
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4065,7 +4174,8 @@ class ObjectStorageClient {
|
|
|
4065
4174
|
"opc-sse-customer-key-sha256": uploadPartRequest.opcSseCustomerKeySha256,
|
|
4066
4175
|
"opc-sse-kms-key-id": uploadPartRequest.opcSseKmsKeyId
|
|
4067
4176
|
};
|
|
4068
|
-
const
|
|
4177
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4178
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, uploadPartRequest.retryConfiguration, specRetryConfiguration);
|
|
4069
4179
|
if (this.logger)
|
|
4070
4180
|
retrier.logger = this.logger;
|
|
4071
4181
|
const request = yield oci_common_2.composeRequest({
|