oci-artifacts 2.25.0 → 2.28.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 +31 -30
- package/lib/client.js +121 -60
- package/lib/client.js.map +1 -1
- package/lib/model/create-repository-details.js +2 -2
- package/lib/model/create-repository-details.js.map +1 -1
- package/lib/model/repository-summary.js +2 -2
- package/lib/model/repository-summary.js.map +1 -1
- package/lib/model/repository.js +2 -2
- package/lib/model/repository.js.map +1 -1
- package/lib/model/update-repository-details.js +2 -2
- package/lib/model/update-repository-details.js.map +1 -1
- package/lib/request/change-container-repository-compartment-request.d.ts +1 -1
- package/lib/request/change-repository-compartment-request.d.ts +1 -1
- package/lib/request/create-container-image-signature-request.d.ts +1 -1
- package/lib/request/create-container-repository-request.d.ts +1 -1
- package/lib/request/create-repository-request.d.ts +1 -1
- package/lib/request/delete-container-image-request.d.ts +1 -1
- package/lib/request/delete-container-image-signature-request.d.ts +1 -1
- package/lib/request/delete-container-repository-request.d.ts +1 -1
- package/lib/request/delete-generic-artifact-by-path-request.d.ts +1 -1
- package/lib/request/delete-generic-artifact-request.d.ts +1 -1
- package/lib/request/delete-repository-request.d.ts +1 -1
- package/lib/request/get-container-configuration-request.d.ts +1 -1
- package/lib/request/get-container-image-request.d.ts +1 -1
- package/lib/request/get-container-image-signature-request.d.ts +1 -1
- package/lib/request/get-container-repository-request.d.ts +1 -1
- package/lib/request/get-generic-artifact-by-path-request.d.ts +1 -1
- package/lib/request/get-generic-artifact-request.d.ts +1 -1
- package/lib/request/get-repository-request.d.ts +1 -1
- package/lib/request/list-container-image-signatures-request.d.ts +1 -1
- package/lib/request/list-container-images-request.d.ts +1 -1
- package/lib/request/list-container-repositories-request.d.ts +1 -1
- package/lib/request/list-generic-artifacts-request.d.ts +1 -1
- package/lib/request/list-repositories-request.d.ts +1 -1
- package/lib/request/remove-container-version-request.d.ts +1 -1
- package/lib/request/restore-container-image-request.d.ts +1 -1
- package/lib/request/update-container-configuration-request.d.ts +1 -1
- package/lib/request/update-container-repository-request.d.ts +1 -1
- package/lib/request/update-generic-artifact-by-path-request.d.ts +1 -1
- package/lib/request/update-generic-artifact-request.d.ts +1 -1
- package/lib/request/update-repository-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -62,6 +62,7 @@ class ArtifactsClient {
|
|
|
62
62
|
this["_defaultHeaders"] = {};
|
|
63
63
|
this._circuitBreaker = null;
|
|
64
64
|
this._httpOptions = undefined;
|
|
65
|
+
this.targetService = "Artifacts";
|
|
65
66
|
const requestSigner = params.authenticationDetailsProvider
|
|
66
67
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
67
68
|
: null;
|
|
@@ -160,12 +161,14 @@ class ArtifactsClient {
|
|
|
160
161
|
* @param ChangeContainerRepositoryCompartmentRequest
|
|
161
162
|
* @return ChangeContainerRepositoryCompartmentResponse
|
|
162
163
|
* @throws OciError when an error occurs
|
|
163
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
164
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/ChangeContainerRepositoryCompartment.ts.html |here} to see how to use ChangeContainerRepositoryCompartment API.
|
|
164
165
|
*/
|
|
165
166
|
changeContainerRepositoryCompartment(changeContainerRepositoryCompartmentRequest) {
|
|
166
167
|
return __awaiter(this, void 0, void 0, function* () {
|
|
167
168
|
if (this.logger)
|
|
168
169
|
this.logger.debug("Calling operation ArtifactsClient#changeContainerRepositoryCompartment.");
|
|
170
|
+
const operationName = "changeContainerRepositoryCompartment";
|
|
171
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerRepository/ChangeContainerRepositoryCompartment";
|
|
169
172
|
const pathParams = {
|
|
170
173
|
"{repositoryId}": changeContainerRepositoryCompartmentRequest.repositoryId
|
|
171
174
|
};
|
|
@@ -191,7 +194,7 @@ class ArtifactsClient {
|
|
|
191
194
|
queryParams: queryParams
|
|
192
195
|
});
|
|
193
196
|
try {
|
|
194
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
197
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
195
198
|
const sdkResponse = oci_common_1.composeResponse({
|
|
196
199
|
responseObject: {},
|
|
197
200
|
responseHeaders: [
|
|
@@ -218,12 +221,14 @@ class ArtifactsClient {
|
|
|
218
221
|
* @param ChangeRepositoryCompartmentRequest
|
|
219
222
|
* @return ChangeRepositoryCompartmentResponse
|
|
220
223
|
* @throws OciError when an error occurs
|
|
221
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
224
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/ChangeRepositoryCompartment.ts.html |here} to see how to use ChangeRepositoryCompartment API.
|
|
222
225
|
*/
|
|
223
226
|
changeRepositoryCompartment(changeRepositoryCompartmentRequest) {
|
|
224
227
|
return __awaiter(this, void 0, void 0, function* () {
|
|
225
228
|
if (this.logger)
|
|
226
229
|
this.logger.debug("Calling operation ArtifactsClient#changeRepositoryCompartment.");
|
|
230
|
+
const operationName = "changeRepositoryCompartment";
|
|
231
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/Repository/ChangeRepositoryCompartment";
|
|
227
232
|
const pathParams = {
|
|
228
233
|
"{repositoryId}": changeRepositoryCompartmentRequest.repositoryId
|
|
229
234
|
};
|
|
@@ -249,7 +254,7 @@ class ArtifactsClient {
|
|
|
249
254
|
queryParams: queryParams
|
|
250
255
|
});
|
|
251
256
|
try {
|
|
252
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
257
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
253
258
|
const sdkResponse = oci_common_1.composeResponse({
|
|
254
259
|
responseObject: {},
|
|
255
260
|
responseHeaders: [
|
|
@@ -273,12 +278,14 @@ class ArtifactsClient {
|
|
|
273
278
|
* @param CreateContainerImageSignatureRequest
|
|
274
279
|
* @return CreateContainerImageSignatureResponse
|
|
275
280
|
* @throws OciError when an error occurs
|
|
276
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
281
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/CreateContainerImageSignature.ts.html |here} to see how to use CreateContainerImageSignature API.
|
|
277
282
|
*/
|
|
278
283
|
createContainerImageSignature(createContainerImageSignatureRequest) {
|
|
279
284
|
return __awaiter(this, void 0, void 0, function* () {
|
|
280
285
|
if (this.logger)
|
|
281
286
|
this.logger.debug("Calling operation ArtifactsClient#createContainerImageSignature.");
|
|
287
|
+
const operationName = "createContainerImageSignature";
|
|
288
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImageSignature/CreateContainerImageSignature";
|
|
282
289
|
const pathParams = {};
|
|
283
290
|
const queryParams = {};
|
|
284
291
|
let headerParams = {
|
|
@@ -302,7 +309,7 @@ class ArtifactsClient {
|
|
|
302
309
|
queryParams: queryParams
|
|
303
310
|
});
|
|
304
311
|
try {
|
|
305
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
312
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
306
313
|
const sdkResponse = oci_common_1.composeResponse({
|
|
307
314
|
responseObject: {},
|
|
308
315
|
body: yield response.json(),
|
|
@@ -335,12 +342,14 @@ class ArtifactsClient {
|
|
|
335
342
|
* @param CreateContainerRepositoryRequest
|
|
336
343
|
* @return CreateContainerRepositoryResponse
|
|
337
344
|
* @throws OciError when an error occurs
|
|
338
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
345
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/CreateContainerRepository.ts.html |here} to see how to use CreateContainerRepository API.
|
|
339
346
|
*/
|
|
340
347
|
createContainerRepository(createContainerRepositoryRequest) {
|
|
341
348
|
return __awaiter(this, void 0, void 0, function* () {
|
|
342
349
|
if (this.logger)
|
|
343
350
|
this.logger.debug("Calling operation ArtifactsClient#createContainerRepository.");
|
|
351
|
+
const operationName = "createContainerRepository";
|
|
352
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerRepository/CreateContainerRepository";
|
|
344
353
|
const pathParams = {};
|
|
345
354
|
const queryParams = {};
|
|
346
355
|
let headerParams = {
|
|
@@ -363,7 +372,7 @@ class ArtifactsClient {
|
|
|
363
372
|
queryParams: queryParams
|
|
364
373
|
});
|
|
365
374
|
try {
|
|
366
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
375
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
367
376
|
const sdkResponse = oci_common_1.composeResponse({
|
|
368
377
|
responseObject: {},
|
|
369
378
|
body: yield response.json(),
|
|
@@ -396,12 +405,14 @@ class ArtifactsClient {
|
|
|
396
405
|
* @param CreateRepositoryRequest
|
|
397
406
|
* @return CreateRepositoryResponse
|
|
398
407
|
* @throws OciError when an error occurs
|
|
399
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
408
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/CreateRepository.ts.html |here} to see how to use CreateRepository API.
|
|
400
409
|
*/
|
|
401
410
|
createRepository(createRepositoryRequest) {
|
|
402
411
|
return __awaiter(this, void 0, void 0, function* () {
|
|
403
412
|
if (this.logger)
|
|
404
413
|
this.logger.debug("Calling operation ArtifactsClient#createRepository.");
|
|
414
|
+
const operationName = "createRepository";
|
|
415
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/Repository/CreateRepository";
|
|
405
416
|
const pathParams = {};
|
|
406
417
|
const queryParams = {};
|
|
407
418
|
let headerParams = {
|
|
@@ -424,7 +435,7 @@ class ArtifactsClient {
|
|
|
424
435
|
queryParams: queryParams
|
|
425
436
|
});
|
|
426
437
|
try {
|
|
427
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
438
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
428
439
|
const sdkResponse = oci_common_1.composeResponse({
|
|
429
440
|
responseObject: {},
|
|
430
441
|
body: yield response.json(),
|
|
@@ -457,12 +468,14 @@ class ArtifactsClient {
|
|
|
457
468
|
* @param DeleteContainerImageRequest
|
|
458
469
|
* @return DeleteContainerImageResponse
|
|
459
470
|
* @throws OciError when an error occurs
|
|
460
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
471
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/DeleteContainerImage.ts.html |here} to see how to use DeleteContainerImage API.
|
|
461
472
|
*/
|
|
462
473
|
deleteContainerImage(deleteContainerImageRequest) {
|
|
463
474
|
return __awaiter(this, void 0, void 0, function* () {
|
|
464
475
|
if (this.logger)
|
|
465
476
|
this.logger.debug("Calling operation ArtifactsClient#deleteContainerImage.");
|
|
477
|
+
const operationName = "deleteContainerImage";
|
|
478
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImage/DeleteContainerImage";
|
|
466
479
|
const pathParams = {
|
|
467
480
|
"{imageId}": deleteContainerImageRequest.imageId
|
|
468
481
|
};
|
|
@@ -486,7 +499,7 @@ class ArtifactsClient {
|
|
|
486
499
|
queryParams: queryParams
|
|
487
500
|
});
|
|
488
501
|
try {
|
|
489
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
502
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
490
503
|
const sdkResponse = oci_common_1.composeResponse({
|
|
491
504
|
responseObject: {},
|
|
492
505
|
responseHeaders: [
|
|
@@ -510,12 +523,14 @@ class ArtifactsClient {
|
|
|
510
523
|
* @param DeleteContainerImageSignatureRequest
|
|
511
524
|
* @return DeleteContainerImageSignatureResponse
|
|
512
525
|
* @throws OciError when an error occurs
|
|
513
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
526
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/DeleteContainerImageSignature.ts.html |here} to see how to use DeleteContainerImageSignature API.
|
|
514
527
|
*/
|
|
515
528
|
deleteContainerImageSignature(deleteContainerImageSignatureRequest) {
|
|
516
529
|
return __awaiter(this, void 0, void 0, function* () {
|
|
517
530
|
if (this.logger)
|
|
518
531
|
this.logger.debug("Calling operation ArtifactsClient#deleteContainerImageSignature.");
|
|
532
|
+
const operationName = "deleteContainerImageSignature";
|
|
533
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImageSignature/DeleteContainerImageSignature";
|
|
519
534
|
const pathParams = {
|
|
520
535
|
"{imageSignatureId}": deleteContainerImageSignatureRequest.imageSignatureId
|
|
521
536
|
};
|
|
@@ -539,7 +554,7 @@ class ArtifactsClient {
|
|
|
539
554
|
queryParams: queryParams
|
|
540
555
|
});
|
|
541
556
|
try {
|
|
542
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
557
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
543
558
|
const sdkResponse = oci_common_1.composeResponse({
|
|
544
559
|
responseObject: {},
|
|
545
560
|
responseHeaders: [
|
|
@@ -563,12 +578,14 @@ class ArtifactsClient {
|
|
|
563
578
|
* @param DeleteContainerRepositoryRequest
|
|
564
579
|
* @return DeleteContainerRepositoryResponse
|
|
565
580
|
* @throws OciError when an error occurs
|
|
566
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
581
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/DeleteContainerRepository.ts.html |here} to see how to use DeleteContainerRepository API.
|
|
567
582
|
*/
|
|
568
583
|
deleteContainerRepository(deleteContainerRepositoryRequest) {
|
|
569
584
|
return __awaiter(this, void 0, void 0, function* () {
|
|
570
585
|
if (this.logger)
|
|
571
586
|
this.logger.debug("Calling operation ArtifactsClient#deleteContainerRepository.");
|
|
587
|
+
const operationName = "deleteContainerRepository";
|
|
588
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerRepository/DeleteContainerRepository";
|
|
572
589
|
const pathParams = {
|
|
573
590
|
"{repositoryId}": deleteContainerRepositoryRequest.repositoryId
|
|
574
591
|
};
|
|
@@ -592,7 +609,7 @@ class ArtifactsClient {
|
|
|
592
609
|
queryParams: queryParams
|
|
593
610
|
});
|
|
594
611
|
try {
|
|
595
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
612
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
596
613
|
const sdkResponse = oci_common_1.composeResponse({
|
|
597
614
|
responseObject: {},
|
|
598
615
|
responseHeaders: [
|
|
@@ -616,12 +633,14 @@ class ArtifactsClient {
|
|
|
616
633
|
* @param DeleteGenericArtifactRequest
|
|
617
634
|
* @return DeleteGenericArtifactResponse
|
|
618
635
|
* @throws OciError when an error occurs
|
|
619
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
636
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/DeleteGenericArtifact.ts.html |here} to see how to use DeleteGenericArtifact API.
|
|
620
637
|
*/
|
|
621
638
|
deleteGenericArtifact(deleteGenericArtifactRequest) {
|
|
622
639
|
return __awaiter(this, void 0, void 0, function* () {
|
|
623
640
|
if (this.logger)
|
|
624
641
|
this.logger.debug("Calling operation ArtifactsClient#deleteGenericArtifact.");
|
|
642
|
+
const operationName = "deleteGenericArtifact";
|
|
643
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/GenericArtifact/DeleteGenericArtifact";
|
|
625
644
|
const pathParams = {
|
|
626
645
|
"{artifactId}": deleteGenericArtifactRequest.artifactId
|
|
627
646
|
};
|
|
@@ -645,7 +664,7 @@ class ArtifactsClient {
|
|
|
645
664
|
queryParams: queryParams
|
|
646
665
|
});
|
|
647
666
|
try {
|
|
648
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
667
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
649
668
|
const sdkResponse = oci_common_1.composeResponse({
|
|
650
669
|
responseObject: {},
|
|
651
670
|
responseHeaders: [
|
|
@@ -669,12 +688,14 @@ class ArtifactsClient {
|
|
|
669
688
|
* @param DeleteGenericArtifactByPathRequest
|
|
670
689
|
* @return DeleteGenericArtifactByPathResponse
|
|
671
690
|
* @throws OciError when an error occurs
|
|
672
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
691
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/DeleteGenericArtifactByPath.ts.html |here} to see how to use DeleteGenericArtifactByPath API.
|
|
673
692
|
*/
|
|
674
693
|
deleteGenericArtifactByPath(deleteGenericArtifactByPathRequest) {
|
|
675
694
|
return __awaiter(this, void 0, void 0, function* () {
|
|
676
695
|
if (this.logger)
|
|
677
696
|
this.logger.debug("Calling operation ArtifactsClient#deleteGenericArtifactByPath.");
|
|
697
|
+
const operationName = "deleteGenericArtifactByPath";
|
|
698
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/GenericArtifact/DeleteGenericArtifactByPath";
|
|
678
699
|
const pathParams = {
|
|
679
700
|
"{repositoryId}": deleteGenericArtifactByPathRequest.repositoryId,
|
|
680
701
|
"{artifactPath}": deleteGenericArtifactByPathRequest.artifactPath,
|
|
@@ -700,7 +721,7 @@ class ArtifactsClient {
|
|
|
700
721
|
queryParams: queryParams
|
|
701
722
|
});
|
|
702
723
|
try {
|
|
703
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
724
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
704
725
|
const sdkResponse = oci_common_1.composeResponse({
|
|
705
726
|
responseObject: {},
|
|
706
727
|
responseHeaders: [
|
|
@@ -724,12 +745,14 @@ class ArtifactsClient {
|
|
|
724
745
|
* @param DeleteRepositoryRequest
|
|
725
746
|
* @return DeleteRepositoryResponse
|
|
726
747
|
* @throws OciError when an error occurs
|
|
727
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
748
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/DeleteRepository.ts.html |here} to see how to use DeleteRepository API.
|
|
728
749
|
*/
|
|
729
750
|
deleteRepository(deleteRepositoryRequest) {
|
|
730
751
|
return __awaiter(this, void 0, void 0, function* () {
|
|
731
752
|
if (this.logger)
|
|
732
753
|
this.logger.debug("Calling operation ArtifactsClient#deleteRepository.");
|
|
754
|
+
const operationName = "deleteRepository";
|
|
755
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/Repository/DeleteRepository";
|
|
733
756
|
const pathParams = {
|
|
734
757
|
"{repositoryId}": deleteRepositoryRequest.repositoryId
|
|
735
758
|
};
|
|
@@ -753,7 +776,7 @@ class ArtifactsClient {
|
|
|
753
776
|
queryParams: queryParams
|
|
754
777
|
});
|
|
755
778
|
try {
|
|
756
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
779
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
757
780
|
const sdkResponse = oci_common_1.composeResponse({
|
|
758
781
|
responseObject: {},
|
|
759
782
|
responseHeaders: [
|
|
@@ -777,12 +800,14 @@ class ArtifactsClient {
|
|
|
777
800
|
* @param GetContainerConfigurationRequest
|
|
778
801
|
* @return GetContainerConfigurationResponse
|
|
779
802
|
* @throws OciError when an error occurs
|
|
780
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
803
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/GetContainerConfiguration.ts.html |here} to see how to use GetContainerConfiguration API.
|
|
781
804
|
*/
|
|
782
805
|
getContainerConfiguration(getContainerConfigurationRequest) {
|
|
783
806
|
return __awaiter(this, void 0, void 0, function* () {
|
|
784
807
|
if (this.logger)
|
|
785
808
|
this.logger.debug("Calling operation ArtifactsClient#getContainerConfiguration.");
|
|
809
|
+
const operationName = "getContainerConfiguration";
|
|
810
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerConfiguration/GetContainerConfiguration";
|
|
786
811
|
const pathParams = {};
|
|
787
812
|
const queryParams = {
|
|
788
813
|
"compartmentId": getContainerConfigurationRequest.compartmentId
|
|
@@ -805,7 +830,7 @@ class ArtifactsClient {
|
|
|
805
830
|
queryParams: queryParams
|
|
806
831
|
});
|
|
807
832
|
try {
|
|
808
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
833
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
809
834
|
const sdkResponse = oci_common_1.composeResponse({
|
|
810
835
|
responseObject: {},
|
|
811
836
|
body: yield response.json(),
|
|
@@ -838,12 +863,14 @@ class ArtifactsClient {
|
|
|
838
863
|
* @param GetContainerImageRequest
|
|
839
864
|
* @return GetContainerImageResponse
|
|
840
865
|
* @throws OciError when an error occurs
|
|
841
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
866
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/GetContainerImage.ts.html |here} to see how to use GetContainerImage API.
|
|
842
867
|
*/
|
|
843
868
|
getContainerImage(getContainerImageRequest) {
|
|
844
869
|
return __awaiter(this, void 0, void 0, function* () {
|
|
845
870
|
if (this.logger)
|
|
846
871
|
this.logger.debug("Calling operation ArtifactsClient#getContainerImage.");
|
|
872
|
+
const operationName = "getContainerImage";
|
|
873
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImage/GetContainerImage";
|
|
847
874
|
const pathParams = {
|
|
848
875
|
"{imageId}": getContainerImageRequest.imageId
|
|
849
876
|
};
|
|
@@ -866,7 +893,7 @@ class ArtifactsClient {
|
|
|
866
893
|
queryParams: queryParams
|
|
867
894
|
});
|
|
868
895
|
try {
|
|
869
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
896
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
870
897
|
const sdkResponse = oci_common_1.composeResponse({
|
|
871
898
|
responseObject: {},
|
|
872
899
|
body: yield response.json(),
|
|
@@ -899,12 +926,14 @@ class ArtifactsClient {
|
|
|
899
926
|
* @param GetContainerImageSignatureRequest
|
|
900
927
|
* @return GetContainerImageSignatureResponse
|
|
901
928
|
* @throws OciError when an error occurs
|
|
902
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
929
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/GetContainerImageSignature.ts.html |here} to see how to use GetContainerImageSignature API.
|
|
903
930
|
*/
|
|
904
931
|
getContainerImageSignature(getContainerImageSignatureRequest) {
|
|
905
932
|
return __awaiter(this, void 0, void 0, function* () {
|
|
906
933
|
if (this.logger)
|
|
907
934
|
this.logger.debug("Calling operation ArtifactsClient#getContainerImageSignature.");
|
|
935
|
+
const operationName = "getContainerImageSignature";
|
|
936
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImageSignature/GetContainerImageSignature";
|
|
908
937
|
const pathParams = {
|
|
909
938
|
"{imageSignatureId}": getContainerImageSignatureRequest.imageSignatureId
|
|
910
939
|
};
|
|
@@ -927,7 +956,7 @@ class ArtifactsClient {
|
|
|
927
956
|
queryParams: queryParams
|
|
928
957
|
});
|
|
929
958
|
try {
|
|
930
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
959
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
931
960
|
const sdkResponse = oci_common_1.composeResponse({
|
|
932
961
|
responseObject: {},
|
|
933
962
|
body: yield response.json(),
|
|
@@ -960,12 +989,14 @@ class ArtifactsClient {
|
|
|
960
989
|
* @param GetContainerRepositoryRequest
|
|
961
990
|
* @return GetContainerRepositoryResponse
|
|
962
991
|
* @throws OciError when an error occurs
|
|
963
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
992
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/GetContainerRepository.ts.html |here} to see how to use GetContainerRepository API.
|
|
964
993
|
*/
|
|
965
994
|
getContainerRepository(getContainerRepositoryRequest) {
|
|
966
995
|
return __awaiter(this, void 0, void 0, function* () {
|
|
967
996
|
if (this.logger)
|
|
968
997
|
this.logger.debug("Calling operation ArtifactsClient#getContainerRepository.");
|
|
998
|
+
const operationName = "getContainerRepository";
|
|
999
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerRepository/GetContainerRepository";
|
|
969
1000
|
const pathParams = {
|
|
970
1001
|
"{repositoryId}": getContainerRepositoryRequest.repositoryId
|
|
971
1002
|
};
|
|
@@ -988,7 +1019,7 @@ class ArtifactsClient {
|
|
|
988
1019
|
queryParams: queryParams
|
|
989
1020
|
});
|
|
990
1021
|
try {
|
|
991
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1022
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
992
1023
|
const sdkResponse = oci_common_1.composeResponse({
|
|
993
1024
|
responseObject: {},
|
|
994
1025
|
body: yield response.json(),
|
|
@@ -1021,12 +1052,14 @@ class ArtifactsClient {
|
|
|
1021
1052
|
* @param GetGenericArtifactRequest
|
|
1022
1053
|
* @return GetGenericArtifactResponse
|
|
1023
1054
|
* @throws OciError when an error occurs
|
|
1024
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1055
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/GetGenericArtifact.ts.html |here} to see how to use GetGenericArtifact API.
|
|
1025
1056
|
*/
|
|
1026
1057
|
getGenericArtifact(getGenericArtifactRequest) {
|
|
1027
1058
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1028
1059
|
if (this.logger)
|
|
1029
1060
|
this.logger.debug("Calling operation ArtifactsClient#getGenericArtifact.");
|
|
1061
|
+
const operationName = "getGenericArtifact";
|
|
1062
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/GenericArtifact/GetGenericArtifact";
|
|
1030
1063
|
const pathParams = {
|
|
1031
1064
|
"{artifactId}": getGenericArtifactRequest.artifactId
|
|
1032
1065
|
};
|
|
@@ -1049,7 +1082,7 @@ class ArtifactsClient {
|
|
|
1049
1082
|
queryParams: queryParams
|
|
1050
1083
|
});
|
|
1051
1084
|
try {
|
|
1052
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1085
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1053
1086
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1054
1087
|
responseObject: {},
|
|
1055
1088
|
body: yield response.json(),
|
|
@@ -1082,12 +1115,14 @@ class ArtifactsClient {
|
|
|
1082
1115
|
* @param GetGenericArtifactByPathRequest
|
|
1083
1116
|
* @return GetGenericArtifactByPathResponse
|
|
1084
1117
|
* @throws OciError when an error occurs
|
|
1085
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1118
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/GetGenericArtifactByPath.ts.html |here} to see how to use GetGenericArtifactByPath API.
|
|
1086
1119
|
*/
|
|
1087
1120
|
getGenericArtifactByPath(getGenericArtifactByPathRequest) {
|
|
1088
1121
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1089
1122
|
if (this.logger)
|
|
1090
1123
|
this.logger.debug("Calling operation ArtifactsClient#getGenericArtifactByPath.");
|
|
1124
|
+
const operationName = "getGenericArtifactByPath";
|
|
1125
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/GenericArtifact/GetGenericArtifactByPath";
|
|
1091
1126
|
const pathParams = {
|
|
1092
1127
|
"{repositoryId}": getGenericArtifactByPathRequest.repositoryId,
|
|
1093
1128
|
"{artifactPath}": getGenericArtifactByPathRequest.artifactPath,
|
|
@@ -1112,7 +1147,7 @@ class ArtifactsClient {
|
|
|
1112
1147
|
queryParams: queryParams
|
|
1113
1148
|
});
|
|
1114
1149
|
try {
|
|
1115
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1150
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1116
1151
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1117
1152
|
responseObject: {},
|
|
1118
1153
|
body: yield response.json(),
|
|
@@ -1145,12 +1180,14 @@ class ArtifactsClient {
|
|
|
1145
1180
|
* @param GetRepositoryRequest
|
|
1146
1181
|
* @return GetRepositoryResponse
|
|
1147
1182
|
* @throws OciError when an error occurs
|
|
1148
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1183
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/GetRepository.ts.html |here} to see how to use GetRepository API.
|
|
1149
1184
|
*/
|
|
1150
1185
|
getRepository(getRepositoryRequest) {
|
|
1151
1186
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1152
1187
|
if (this.logger)
|
|
1153
1188
|
this.logger.debug("Calling operation ArtifactsClient#getRepository.");
|
|
1189
|
+
const operationName = "getRepository";
|
|
1190
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/Repository/GetRepository";
|
|
1154
1191
|
const pathParams = {
|
|
1155
1192
|
"{repositoryId}": getRepositoryRequest.repositoryId
|
|
1156
1193
|
};
|
|
@@ -1173,7 +1210,7 @@ class ArtifactsClient {
|
|
|
1173
1210
|
queryParams: queryParams
|
|
1174
1211
|
});
|
|
1175
1212
|
try {
|
|
1176
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1213
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1177
1214
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1178
1215
|
responseObject: {},
|
|
1179
1216
|
body: yield response.json(),
|
|
@@ -1206,12 +1243,14 @@ class ArtifactsClient {
|
|
|
1206
1243
|
* @param ListContainerImageSignaturesRequest
|
|
1207
1244
|
* @return ListContainerImageSignaturesResponse
|
|
1208
1245
|
* @throws OciError when an error occurs
|
|
1209
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1246
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/ListContainerImageSignatures.ts.html |here} to see how to use ListContainerImageSignatures API.
|
|
1210
1247
|
*/
|
|
1211
1248
|
listContainerImageSignatures(listContainerImageSignaturesRequest) {
|
|
1212
1249
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1213
1250
|
if (this.logger)
|
|
1214
1251
|
this.logger.debug("Calling operation ArtifactsClient#listContainerImageSignatures.");
|
|
1252
|
+
const operationName = "listContainerImageSignatures";
|
|
1253
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImageSignatureSummary/ListContainerImageSignatures";
|
|
1215
1254
|
const pathParams = {};
|
|
1216
1255
|
const queryParams = {
|
|
1217
1256
|
"compartmentIdInSubtree": listContainerImageSignaturesRequest.compartmentIdInSubtree,
|
|
@@ -1247,7 +1286,7 @@ class ArtifactsClient {
|
|
|
1247
1286
|
queryParams: queryParams
|
|
1248
1287
|
});
|
|
1249
1288
|
try {
|
|
1250
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1289
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1251
1290
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1252
1291
|
responseObject: {},
|
|
1253
1292
|
body: yield response.json(),
|
|
@@ -1280,12 +1319,14 @@ class ArtifactsClient {
|
|
|
1280
1319
|
* @param ListContainerImagesRequest
|
|
1281
1320
|
* @return ListContainerImagesResponse
|
|
1282
1321
|
* @throws OciError when an error occurs
|
|
1283
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1322
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/ListContainerImages.ts.html |here} to see how to use ListContainerImages API.
|
|
1284
1323
|
*/
|
|
1285
1324
|
listContainerImages(listContainerImagesRequest) {
|
|
1286
1325
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1287
1326
|
if (this.logger)
|
|
1288
1327
|
this.logger.debug("Calling operation ArtifactsClient#listContainerImages.");
|
|
1328
|
+
const operationName = "listContainerImages";
|
|
1329
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImageSummary/ListContainerImages";
|
|
1289
1330
|
const pathParams = {};
|
|
1290
1331
|
const queryParams = {
|
|
1291
1332
|
"compartmentIdInSubtree": listContainerImagesRequest.compartmentIdInSubtree,
|
|
@@ -1320,7 +1361,7 @@ class ArtifactsClient {
|
|
|
1320
1361
|
queryParams: queryParams
|
|
1321
1362
|
});
|
|
1322
1363
|
try {
|
|
1323
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1364
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1324
1365
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1325
1366
|
responseObject: {},
|
|
1326
1367
|
body: yield response.json(),
|
|
@@ -1353,12 +1394,14 @@ class ArtifactsClient {
|
|
|
1353
1394
|
* @param ListContainerRepositoriesRequest
|
|
1354
1395
|
* @return ListContainerRepositoriesResponse
|
|
1355
1396
|
* @throws OciError when an error occurs
|
|
1356
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1397
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/ListContainerRepositories.ts.html |here} to see how to use ListContainerRepositories API.
|
|
1357
1398
|
*/
|
|
1358
1399
|
listContainerRepositories(listContainerRepositoriesRequest) {
|
|
1359
1400
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1360
1401
|
if (this.logger)
|
|
1361
1402
|
this.logger.debug("Calling operation ArtifactsClient#listContainerRepositories.");
|
|
1403
|
+
const operationName = "listContainerRepositories";
|
|
1404
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerRepository/ListContainerRepositories";
|
|
1362
1405
|
const pathParams = {};
|
|
1363
1406
|
const queryParams = {
|
|
1364
1407
|
"compartmentIdInSubtree": listContainerRepositoriesRequest.compartmentIdInSubtree,
|
|
@@ -1390,7 +1433,7 @@ class ArtifactsClient {
|
|
|
1390
1433
|
queryParams: queryParams
|
|
1391
1434
|
});
|
|
1392
1435
|
try {
|
|
1393
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1436
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1394
1437
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1395
1438
|
responseObject: {},
|
|
1396
1439
|
body: yield response.json(),
|
|
@@ -1423,12 +1466,14 @@ class ArtifactsClient {
|
|
|
1423
1466
|
* @param ListGenericArtifactsRequest
|
|
1424
1467
|
* @return ListGenericArtifactsResponse
|
|
1425
1468
|
* @throws OciError when an error occurs
|
|
1426
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1469
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/ListGenericArtifacts.ts.html |here} to see how to use ListGenericArtifacts API.
|
|
1427
1470
|
*/
|
|
1428
1471
|
listGenericArtifacts(listGenericArtifactsRequest) {
|
|
1429
1472
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1430
1473
|
if (this.logger)
|
|
1431
1474
|
this.logger.debug("Calling operation ArtifactsClient#listGenericArtifacts.");
|
|
1475
|
+
const operationName = "listGenericArtifacts";
|
|
1476
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/GenericArtifact/ListGenericArtifacts";
|
|
1432
1477
|
const pathParams = {};
|
|
1433
1478
|
const queryParams = {
|
|
1434
1479
|
"compartmentId": listGenericArtifactsRequest.compartmentId,
|
|
@@ -1462,7 +1507,7 @@ class ArtifactsClient {
|
|
|
1462
1507
|
queryParams: queryParams
|
|
1463
1508
|
});
|
|
1464
1509
|
try {
|
|
1465
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1510
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1466
1511
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1467
1512
|
responseObject: {},
|
|
1468
1513
|
body: yield response.json(),
|
|
@@ -1495,12 +1540,14 @@ class ArtifactsClient {
|
|
|
1495
1540
|
* @param ListRepositoriesRequest
|
|
1496
1541
|
* @return ListRepositoriesResponse
|
|
1497
1542
|
* @throws OciError when an error occurs
|
|
1498
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1543
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/ListRepositories.ts.html |here} to see how to use ListRepositories API.
|
|
1499
1544
|
*/
|
|
1500
1545
|
listRepositories(listRepositoriesRequest) {
|
|
1501
1546
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1502
1547
|
if (this.logger)
|
|
1503
1548
|
this.logger.debug("Calling operation ArtifactsClient#listRepositories.");
|
|
1549
|
+
const operationName = "listRepositories";
|
|
1550
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/Repository/ListRepositories";
|
|
1504
1551
|
const pathParams = {};
|
|
1505
1552
|
const queryParams = {
|
|
1506
1553
|
"compartmentId": listRepositoriesRequest.compartmentId,
|
|
@@ -1531,7 +1578,7 @@ class ArtifactsClient {
|
|
|
1531
1578
|
queryParams: queryParams
|
|
1532
1579
|
});
|
|
1533
1580
|
try {
|
|
1534
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1581
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1535
1582
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1536
1583
|
responseObject: {},
|
|
1537
1584
|
body: yield response.json(),
|
|
@@ -1564,12 +1611,14 @@ class ArtifactsClient {
|
|
|
1564
1611
|
* @param RemoveContainerVersionRequest
|
|
1565
1612
|
* @return RemoveContainerVersionResponse
|
|
1566
1613
|
* @throws OciError when an error occurs
|
|
1567
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1614
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/RemoveContainerVersion.ts.html |here} to see how to use RemoveContainerVersion API.
|
|
1568
1615
|
*/
|
|
1569
1616
|
removeContainerVersion(removeContainerVersionRequest) {
|
|
1570
1617
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1571
1618
|
if (this.logger)
|
|
1572
1619
|
this.logger.debug("Calling operation ArtifactsClient#removeContainerVersion.");
|
|
1620
|
+
const operationName = "removeContainerVersion";
|
|
1621
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImage/RemoveContainerVersion";
|
|
1573
1622
|
const pathParams = {
|
|
1574
1623
|
"{imageId}": removeContainerVersionRequest.imageId
|
|
1575
1624
|
};
|
|
@@ -1595,7 +1644,7 @@ class ArtifactsClient {
|
|
|
1595
1644
|
queryParams: queryParams
|
|
1596
1645
|
});
|
|
1597
1646
|
try {
|
|
1598
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1647
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1599
1648
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1600
1649
|
responseObject: {},
|
|
1601
1650
|
body: yield response.json(),
|
|
@@ -1628,12 +1677,14 @@ class ArtifactsClient {
|
|
|
1628
1677
|
* @param RestoreContainerImageRequest
|
|
1629
1678
|
* @return RestoreContainerImageResponse
|
|
1630
1679
|
* @throws OciError when an error occurs
|
|
1631
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1680
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/RestoreContainerImage.ts.html |here} to see how to use RestoreContainerImage API.
|
|
1632
1681
|
*/
|
|
1633
1682
|
restoreContainerImage(restoreContainerImageRequest) {
|
|
1634
1683
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1635
1684
|
if (this.logger)
|
|
1636
1685
|
this.logger.debug("Calling operation ArtifactsClient#restoreContainerImage.");
|
|
1686
|
+
const operationName = "restoreContainerImage";
|
|
1687
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImage/RestoreContainerImage";
|
|
1637
1688
|
const pathParams = {
|
|
1638
1689
|
"{imageId}": restoreContainerImageRequest.imageId
|
|
1639
1690
|
};
|
|
@@ -1659,7 +1710,7 @@ class ArtifactsClient {
|
|
|
1659
1710
|
queryParams: queryParams
|
|
1660
1711
|
});
|
|
1661
1712
|
try {
|
|
1662
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1713
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1663
1714
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1664
1715
|
responseObject: {},
|
|
1665
1716
|
body: yield response.json(),
|
|
@@ -1692,12 +1743,14 @@ class ArtifactsClient {
|
|
|
1692
1743
|
* @param UpdateContainerConfigurationRequest
|
|
1693
1744
|
* @return UpdateContainerConfigurationResponse
|
|
1694
1745
|
* @throws OciError when an error occurs
|
|
1695
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1746
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/UpdateContainerConfiguration.ts.html |here} to see how to use UpdateContainerConfiguration API.
|
|
1696
1747
|
*/
|
|
1697
1748
|
updateContainerConfiguration(updateContainerConfigurationRequest) {
|
|
1698
1749
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1699
1750
|
if (this.logger)
|
|
1700
1751
|
this.logger.debug("Calling operation ArtifactsClient#updateContainerConfiguration.");
|
|
1752
|
+
const operationName = "updateContainerConfiguration";
|
|
1753
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerConfiguration/UpdateContainerConfiguration";
|
|
1701
1754
|
const pathParams = {};
|
|
1702
1755
|
const queryParams = {
|
|
1703
1756
|
"compartmentId": updateContainerConfigurationRequest.compartmentId
|
|
@@ -1722,7 +1775,7 @@ class ArtifactsClient {
|
|
|
1722
1775
|
queryParams: queryParams
|
|
1723
1776
|
});
|
|
1724
1777
|
try {
|
|
1725
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1778
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1726
1779
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1727
1780
|
responseObject: {},
|
|
1728
1781
|
body: yield response.json(),
|
|
@@ -1755,12 +1808,14 @@ class ArtifactsClient {
|
|
|
1755
1808
|
* @param UpdateContainerRepositoryRequest
|
|
1756
1809
|
* @return UpdateContainerRepositoryResponse
|
|
1757
1810
|
* @throws OciError when an error occurs
|
|
1758
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1811
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/UpdateContainerRepository.ts.html |here} to see how to use UpdateContainerRepository API.
|
|
1759
1812
|
*/
|
|
1760
1813
|
updateContainerRepository(updateContainerRepositoryRequest) {
|
|
1761
1814
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1762
1815
|
if (this.logger)
|
|
1763
1816
|
this.logger.debug("Calling operation ArtifactsClient#updateContainerRepository.");
|
|
1817
|
+
const operationName = "updateContainerRepository";
|
|
1818
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerRepository/UpdateContainerRepository";
|
|
1764
1819
|
const pathParams = {
|
|
1765
1820
|
"{repositoryId}": updateContainerRepositoryRequest.repositoryId
|
|
1766
1821
|
};
|
|
@@ -1785,7 +1840,7 @@ class ArtifactsClient {
|
|
|
1785
1840
|
queryParams: queryParams
|
|
1786
1841
|
});
|
|
1787
1842
|
try {
|
|
1788
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1843
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1789
1844
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1790
1845
|
responseObject: {},
|
|
1791
1846
|
body: yield response.json(),
|
|
@@ -1818,12 +1873,14 @@ class ArtifactsClient {
|
|
|
1818
1873
|
* @param UpdateGenericArtifactRequest
|
|
1819
1874
|
* @return UpdateGenericArtifactResponse
|
|
1820
1875
|
* @throws OciError when an error occurs
|
|
1821
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1876
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/UpdateGenericArtifact.ts.html |here} to see how to use UpdateGenericArtifact API.
|
|
1822
1877
|
*/
|
|
1823
1878
|
updateGenericArtifact(updateGenericArtifactRequest) {
|
|
1824
1879
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1825
1880
|
if (this.logger)
|
|
1826
1881
|
this.logger.debug("Calling operation ArtifactsClient#updateGenericArtifact.");
|
|
1882
|
+
const operationName = "updateGenericArtifact";
|
|
1883
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/GenericArtifact/UpdateGenericArtifact";
|
|
1827
1884
|
const pathParams = {
|
|
1828
1885
|
"{artifactId}": updateGenericArtifactRequest.artifactId
|
|
1829
1886
|
};
|
|
@@ -1848,7 +1905,7 @@ class ArtifactsClient {
|
|
|
1848
1905
|
queryParams: queryParams
|
|
1849
1906
|
});
|
|
1850
1907
|
try {
|
|
1851
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1908
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1852
1909
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1853
1910
|
responseObject: {},
|
|
1854
1911
|
body: yield response.json(),
|
|
@@ -1881,12 +1938,14 @@ class ArtifactsClient {
|
|
|
1881
1938
|
* @param UpdateGenericArtifactByPathRequest
|
|
1882
1939
|
* @return UpdateGenericArtifactByPathResponse
|
|
1883
1940
|
* @throws OciError when an error occurs
|
|
1884
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1941
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/UpdateGenericArtifactByPath.ts.html |here} to see how to use UpdateGenericArtifactByPath API.
|
|
1885
1942
|
*/
|
|
1886
1943
|
updateGenericArtifactByPath(updateGenericArtifactByPathRequest) {
|
|
1887
1944
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1888
1945
|
if (this.logger)
|
|
1889
1946
|
this.logger.debug("Calling operation ArtifactsClient#updateGenericArtifactByPath.");
|
|
1947
|
+
const operationName = "updateGenericArtifactByPath";
|
|
1948
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/GenericArtifact/UpdateGenericArtifactByPath";
|
|
1890
1949
|
const pathParams = {
|
|
1891
1950
|
"{repositoryId}": updateGenericArtifactByPathRequest.repositoryId,
|
|
1892
1951
|
"{artifactPath}": updateGenericArtifactByPathRequest.artifactPath,
|
|
@@ -1913,7 +1972,7 @@ class ArtifactsClient {
|
|
|
1913
1972
|
queryParams: queryParams
|
|
1914
1973
|
});
|
|
1915
1974
|
try {
|
|
1916
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1975
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1917
1976
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1918
1977
|
responseObject: {},
|
|
1919
1978
|
body: yield response.json(),
|
|
@@ -1946,12 +2005,14 @@ class ArtifactsClient {
|
|
|
1946
2005
|
* @param UpdateRepositoryRequest
|
|
1947
2006
|
* @return UpdateRepositoryResponse
|
|
1948
2007
|
* @throws OciError when an error occurs
|
|
1949
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2008
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/artifacts/UpdateRepository.ts.html |here} to see how to use UpdateRepository API.
|
|
1950
2009
|
*/
|
|
1951
2010
|
updateRepository(updateRepositoryRequest) {
|
|
1952
2011
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1953
2012
|
if (this.logger)
|
|
1954
2013
|
this.logger.debug("Calling operation ArtifactsClient#updateRepository.");
|
|
2014
|
+
const operationName = "updateRepository";
|
|
2015
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/Repository/UpdateRepository";
|
|
1955
2016
|
const pathParams = {
|
|
1956
2017
|
"{repositoryId}": updateRepositoryRequest.repositoryId
|
|
1957
2018
|
};
|
|
@@ -1976,7 +2037,7 @@ class ArtifactsClient {
|
|
|
1976
2037
|
queryParams: queryParams
|
|
1977
2038
|
});
|
|
1978
2039
|
try {
|
|
1979
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2040
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1980
2041
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1981
2042
|
responseObject: {},
|
|
1982
2043
|
body: yield response.json(),
|