oci-mediaservices 2.56.0 → 2.58.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/lib/client.d.ts +70 -50
  2. package/lib/client.js +96 -50
  3. package/lib/client.js.map +1 -1
  4. package/lib/request/change-media-asset-compartment-request.d.ts +1 -1
  5. package/lib/request/change-media-workflow-compartment-request.d.ts +1 -1
  6. package/lib/request/change-media-workflow-configuration-compartment-request.d.ts +1 -1
  7. package/lib/request/change-media-workflow-job-compartment-request.d.ts +1 -1
  8. package/lib/request/change-stream-distribution-channel-compartment-request.d.ts +1 -1
  9. package/lib/request/create-media-asset-request.d.ts +1 -1
  10. package/lib/request/create-media-workflow-configuration-request.d.ts +1 -1
  11. package/lib/request/create-media-workflow-job-request.d.ts +1 -1
  12. package/lib/request/create-media-workflow-request.d.ts +1 -1
  13. package/lib/request/create-stream-cdn-config-request.d.ts +1 -1
  14. package/lib/request/create-stream-distribution-channel-request.d.ts +1 -1
  15. package/lib/request/create-stream-packaging-config-request.d.ts +1 -1
  16. package/lib/request/delete-media-asset-distribution-channel-attachment-request.d.ts +1 -1
  17. package/lib/request/delete-media-asset-request.d.ts +1 -1
  18. package/lib/request/delete-media-workflow-configuration-request.d.ts +1 -1
  19. package/lib/request/delete-media-workflow-job-request.d.ts +1 -1
  20. package/lib/request/delete-media-workflow-request.d.ts +1 -1
  21. package/lib/request/delete-stream-cdn-config-request.d.ts +1 -1
  22. package/lib/request/delete-stream-distribution-channel-request.d.ts +1 -1
  23. package/lib/request/delete-stream-packaging-config-request.d.ts +1 -1
  24. package/lib/request/generate-playlist-request.d.ts +1 -1
  25. package/lib/request/generate-session-token-request.d.ts +1 -1
  26. package/lib/request/get-media-asset-distribution-channel-attachment-request.d.ts +1 -1
  27. package/lib/request/get-media-asset-request.d.ts +1 -1
  28. package/lib/request/get-media-workflow-configuration-request.d.ts +1 -1
  29. package/lib/request/get-media-workflow-job-fact-request.d.ts +1 -1
  30. package/lib/request/get-media-workflow-job-request.d.ts +1 -1
  31. package/lib/request/get-media-workflow-request.d.ts +1 -1
  32. package/lib/request/get-stream-cdn-config-request.d.ts +1 -1
  33. package/lib/request/get-stream-distribution-channel-request.d.ts +1 -1
  34. package/lib/request/get-stream-packaging-config-request.d.ts +1 -1
  35. package/lib/request/ingest-stream-distribution-channel-request.d.ts +1 -1
  36. package/lib/request/list-media-asset-distribution-channel-attachments-request.d.ts +1 -1
  37. package/lib/request/list-media-assets-request.d.ts +1 -1
  38. package/lib/request/list-media-workflow-configurations-request.d.ts +1 -1
  39. package/lib/request/list-media-workflow-job-facts-request.d.ts +1 -1
  40. package/lib/request/list-media-workflow-jobs-request.d.ts +1 -1
  41. package/lib/request/list-media-workflow-task-declarations-request.d.ts +1 -1
  42. package/lib/request/list-media-workflows-request.d.ts +1 -1
  43. package/lib/request/list-stream-cdn-configs-request.d.ts +1 -1
  44. package/lib/request/list-stream-distribution-channels-request.d.ts +1 -1
  45. package/lib/request/list-stream-packaging-configs-request.d.ts +1 -1
  46. package/lib/request/list-system-media-workflows-request.d.ts +1 -1
  47. package/lib/request/update-media-asset-request.d.ts +1 -1
  48. package/lib/request/update-media-workflow-configuration-request.d.ts +1 -1
  49. package/lib/request/update-media-workflow-job-request.d.ts +1 -1
  50. package/lib/request/update-media-workflow-request.d.ts +1 -1
  51. package/lib/request/update-stream-cdn-config-request.d.ts +1 -1
  52. package/lib/request/update-stream-distribution-channel-request.d.ts +1 -1
  53. package/lib/request/update-stream-packaging-config-request.d.ts +1 -1
  54. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -59,11 +59,14 @@ var MediaServicesApiKeys;
59
59
  */
60
60
  class MediaServicesClient {
61
61
  constructor(params, clientConfiguration) {
62
+ this["_realmSpecificEndpointTemplateEnabled"] = false;
62
63
  this["_endpoint"] = "";
63
64
  this["_defaultHeaders"] = {};
64
65
  this._circuitBreaker = null;
65
66
  this._httpOptions = undefined;
66
67
  this.targetService = "MediaServices";
68
+ this._regionId = "";
69
+ this._lastSetRegionOrRegionId = "";
67
70
  const requestSigner = params.authenticationDetailsProvider
68
71
  ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
69
72
  : null;
@@ -113,13 +116,31 @@ class MediaServicesClient {
113
116
  get logger() {
114
117
  return common.LOG.logger;
115
118
  }
119
+ /**
120
+ * Determines whether realm specific endpoint should be used or not.
121
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
122
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
123
+ */
124
+ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
125
+ this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
126
+ if (this.logger)
127
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
128
+ if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
129
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(MediaServicesClient.serviceEndpointTemplate, this._region, MediaServicesClient.endpointServiceName);
130
+ }
131
+ else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
132
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(MediaServicesClient.serviceEndpointTemplate, this._regionId, MediaServicesClient.endpointServiceName);
133
+ }
134
+ }
116
135
  /**
117
136
  * Sets the region to call (ex, Region.US_PHOENIX_1).
118
137
  * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
119
138
  * @param region The region of the service.
120
139
  */
121
140
  set region(region) {
141
+ this._region = region;
122
142
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(MediaServicesClient.serviceEndpointTemplate, region, MediaServicesClient.endpointServiceName);
143
+ this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
123
144
  }
124
145
  /**
125
146
  * Sets the regionId to call (ex, 'us-phoenix-1').
@@ -130,7 +151,9 @@ class MediaServicesClient {
130
151
  * @param regionId The public region ID.
131
152
  */
132
153
  set regionId(regionId) {
154
+ this._regionId = regionId;
133
155
  this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(MediaServicesClient.serviceEndpointTemplate, regionId, MediaServicesClient.endpointServiceName);
156
+ this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
134
157
  }
135
158
  /**
136
159
  * Creates a new MediaServicesWaiter for resources for this service.
@@ -159,7 +182,7 @@ class MediaServicesClient {
159
182
  * @param ChangeMediaAssetCompartmentRequest
160
183
  * @return ChangeMediaAssetCompartmentResponse
161
184
  * @throws OciError when an error occurs
162
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/ChangeMediaAssetCompartment.ts.html |here} to see how to use ChangeMediaAssetCompartment API.
185
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/ChangeMediaAssetCompartment.ts.html |here} to see how to use ChangeMediaAssetCompartment API.
163
186
  */
164
187
  changeMediaAssetCompartment(changeMediaAssetCompartmentRequest) {
165
188
  return __awaiter(this, void 0, void 0, function* () {
@@ -216,7 +239,7 @@ class MediaServicesClient {
216
239
  * @param ChangeMediaWorkflowCompartmentRequest
217
240
  * @return ChangeMediaWorkflowCompartmentResponse
218
241
  * @throws OciError when an error occurs
219
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/ChangeMediaWorkflowCompartment.ts.html |here} to see how to use ChangeMediaWorkflowCompartment API.
242
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/ChangeMediaWorkflowCompartment.ts.html |here} to see how to use ChangeMediaWorkflowCompartment API.
220
243
  */
221
244
  changeMediaWorkflowCompartment(changeMediaWorkflowCompartmentRequest) {
222
245
  return __awaiter(this, void 0, void 0, function* () {
@@ -278,7 +301,7 @@ class MediaServicesClient {
278
301
  * @param ChangeMediaWorkflowConfigurationCompartmentRequest
279
302
  * @return ChangeMediaWorkflowConfigurationCompartmentResponse
280
303
  * @throws OciError when an error occurs
281
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/ChangeMediaWorkflowConfigurationCompartment.ts.html |here} to see how to use ChangeMediaWorkflowConfigurationCompartment API.
304
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/ChangeMediaWorkflowConfigurationCompartment.ts.html |here} to see how to use ChangeMediaWorkflowConfigurationCompartment API.
282
305
  */
283
306
  changeMediaWorkflowConfigurationCompartment(changeMediaWorkflowConfigurationCompartmentRequest) {
284
307
  return __awaiter(this, void 0, void 0, function* () {
@@ -340,7 +363,7 @@ class MediaServicesClient {
340
363
  * @param ChangeMediaWorkflowJobCompartmentRequest
341
364
  * @return ChangeMediaWorkflowJobCompartmentResponse
342
365
  * @throws OciError when an error occurs
343
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/ChangeMediaWorkflowJobCompartment.ts.html |here} to see how to use ChangeMediaWorkflowJobCompartment API.
366
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/ChangeMediaWorkflowJobCompartment.ts.html |here} to see how to use ChangeMediaWorkflowJobCompartment API.
344
367
  */
345
368
  changeMediaWorkflowJobCompartment(changeMediaWorkflowJobCompartmentRequest) {
346
369
  return __awaiter(this, void 0, void 0, function* () {
@@ -402,7 +425,7 @@ class MediaServicesClient {
402
425
  * @param ChangeStreamDistributionChannelCompartmentRequest
403
426
  * @return ChangeStreamDistributionChannelCompartmentResponse
404
427
  * @throws OciError when an error occurs
405
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/ChangeStreamDistributionChannelCompartment.ts.html |here} to see how to use ChangeStreamDistributionChannelCompartment API.
428
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/ChangeStreamDistributionChannelCompartment.ts.html |here} to see how to use ChangeStreamDistributionChannelCompartment API.
406
429
  */
407
430
  changeStreamDistributionChannelCompartment(changeStreamDistributionChannelCompartmentRequest) {
408
431
  return __awaiter(this, void 0, void 0, function* () {
@@ -465,7 +488,7 @@ class MediaServicesClient {
465
488
  * @param CreateMediaAssetRequest
466
489
  * @return CreateMediaAssetResponse
467
490
  * @throws OciError when an error occurs
468
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/CreateMediaAsset.ts.html |here} to see how to use CreateMediaAsset API.
491
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/CreateMediaAsset.ts.html |here} to see how to use CreateMediaAsset API.
469
492
  */
470
493
  createMediaAsset(createMediaAssetRequest) {
471
494
  return __awaiter(this, void 0, void 0, function* () {
@@ -529,7 +552,7 @@ class MediaServicesClient {
529
552
  * @param CreateMediaWorkflowRequest
530
553
  * @return CreateMediaWorkflowResponse
531
554
  * @throws OciError when an error occurs
532
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/CreateMediaWorkflow.ts.html |here} to see how to use CreateMediaWorkflow API.
555
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/CreateMediaWorkflow.ts.html |here} to see how to use CreateMediaWorkflow API.
533
556
  */
534
557
  createMediaWorkflow(createMediaWorkflowRequest) {
535
558
  return __awaiter(this, void 0, void 0, function* () {
@@ -593,7 +616,7 @@ class MediaServicesClient {
593
616
  * @param CreateMediaWorkflowConfigurationRequest
594
617
  * @return CreateMediaWorkflowConfigurationResponse
595
618
  * @throws OciError when an error occurs
596
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/CreateMediaWorkflowConfiguration.ts.html |here} to see how to use CreateMediaWorkflowConfiguration API.
619
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/CreateMediaWorkflowConfiguration.ts.html |here} to see how to use CreateMediaWorkflowConfiguration API.
597
620
  */
598
621
  createMediaWorkflowConfiguration(createMediaWorkflowConfigurationRequest) {
599
622
  return __awaiter(this, void 0, void 0, function* () {
@@ -656,7 +679,7 @@ class MediaServicesClient {
656
679
  * @param CreateMediaWorkflowJobRequest
657
680
  * @return CreateMediaWorkflowJobResponse
658
681
  * @throws OciError when an error occurs
659
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/CreateMediaWorkflowJob.ts.html |here} to see how to use CreateMediaWorkflowJob API.
682
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/CreateMediaWorkflowJob.ts.html |here} to see how to use CreateMediaWorkflowJob API.
660
683
  */
661
684
  createMediaWorkflowJob(createMediaWorkflowJobRequest) {
662
685
  return __awaiter(this, void 0, void 0, function* () {
@@ -720,7 +743,7 @@ class MediaServicesClient {
720
743
  * @param CreateStreamCdnConfigRequest
721
744
  * @return CreateStreamCdnConfigResponse
722
745
  * @throws OciError when an error occurs
723
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/CreateStreamCdnConfig.ts.html |here} to see how to use CreateStreamCdnConfig API.
746
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/CreateStreamCdnConfig.ts.html |here} to see how to use CreateStreamCdnConfig API.
724
747
  */
725
748
  createStreamCdnConfig(createStreamCdnConfigRequest) {
726
749
  return __awaiter(this, void 0, void 0, function* () {
@@ -784,7 +807,7 @@ class MediaServicesClient {
784
807
  * @param CreateStreamDistributionChannelRequest
785
808
  * @return CreateStreamDistributionChannelResponse
786
809
  * @throws OciError when an error occurs
787
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/CreateStreamDistributionChannel.ts.html |here} to see how to use CreateStreamDistributionChannel API.
810
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/CreateStreamDistributionChannel.ts.html |here} to see how to use CreateStreamDistributionChannel API.
788
811
  */
789
812
  createStreamDistributionChannel(createStreamDistributionChannelRequest) {
790
813
  return __awaiter(this, void 0, void 0, function* () {
@@ -848,7 +871,7 @@ class MediaServicesClient {
848
871
  * @param CreateStreamPackagingConfigRequest
849
872
  * @return CreateStreamPackagingConfigResponse
850
873
  * @throws OciError when an error occurs
851
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/CreateStreamPackagingConfig.ts.html |here} to see how to use CreateStreamPackagingConfig API.
874
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/CreateStreamPackagingConfig.ts.html |here} to see how to use CreateStreamPackagingConfig API.
852
875
  */
853
876
  createStreamPackagingConfig(createStreamPackagingConfigRequest) {
854
877
  return __awaiter(this, void 0, void 0, function* () {
@@ -911,7 +934,7 @@ class MediaServicesClient {
911
934
  * @param DeleteMediaAssetRequest
912
935
  * @return DeleteMediaAssetResponse
913
936
  * @throws OciError when an error occurs
914
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/DeleteMediaAsset.ts.html |here} to see how to use DeleteMediaAsset API.
937
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/DeleteMediaAsset.ts.html |here} to see how to use DeleteMediaAsset API.
915
938
  */
916
939
  deleteMediaAsset(deleteMediaAssetRequest) {
917
940
  return __awaiter(this, void 0, void 0, function* () {
@@ -968,7 +991,7 @@ class MediaServicesClient {
968
991
  * @param DeleteMediaAssetDistributionChannelAttachmentRequest
969
992
  * @return DeleteMediaAssetDistributionChannelAttachmentResponse
970
993
  * @throws OciError when an error occurs
971
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/DeleteMediaAssetDistributionChannelAttachment.ts.html |here} to see how to use DeleteMediaAssetDistributionChannelAttachment API.
994
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/DeleteMediaAssetDistributionChannelAttachment.ts.html |here} to see how to use DeleteMediaAssetDistributionChannelAttachment API.
972
995
  */
973
996
  deleteMediaAssetDistributionChannelAttachment(deleteMediaAssetDistributionChannelAttachmentRequest) {
974
997
  return __awaiter(this, void 0, void 0, function* () {
@@ -1026,7 +1049,7 @@ class MediaServicesClient {
1026
1049
  * @param DeleteMediaWorkflowRequest
1027
1050
  * @return DeleteMediaWorkflowResponse
1028
1051
  * @throws OciError when an error occurs
1029
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/DeleteMediaWorkflow.ts.html |here} to see how to use DeleteMediaWorkflow API.
1052
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/DeleteMediaWorkflow.ts.html |here} to see how to use DeleteMediaWorkflow API.
1030
1053
  */
1031
1054
  deleteMediaWorkflow(deleteMediaWorkflowRequest) {
1032
1055
  return __awaiter(this, void 0, void 0, function* () {
@@ -1081,7 +1104,7 @@ class MediaServicesClient {
1081
1104
  * @param DeleteMediaWorkflowConfigurationRequest
1082
1105
  * @return DeleteMediaWorkflowConfigurationResponse
1083
1106
  * @throws OciError when an error occurs
1084
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/DeleteMediaWorkflowConfiguration.ts.html |here} to see how to use DeleteMediaWorkflowConfiguration API.
1107
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/DeleteMediaWorkflowConfiguration.ts.html |here} to see how to use DeleteMediaWorkflowConfiguration API.
1085
1108
  */
1086
1109
  deleteMediaWorkflowConfiguration(deleteMediaWorkflowConfigurationRequest) {
1087
1110
  return __awaiter(this, void 0, void 0, function* () {
@@ -1141,7 +1164,7 @@ class MediaServicesClient {
1141
1164
  * @param DeleteMediaWorkflowJobRequest
1142
1165
  * @return DeleteMediaWorkflowJobResponse
1143
1166
  * @throws OciError when an error occurs
1144
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/DeleteMediaWorkflowJob.ts.html |here} to see how to use DeleteMediaWorkflowJob API.
1167
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/DeleteMediaWorkflowJob.ts.html |here} to see how to use DeleteMediaWorkflowJob API.
1145
1168
  */
1146
1169
  deleteMediaWorkflowJob(deleteMediaWorkflowJobRequest) {
1147
1170
  return __awaiter(this, void 0, void 0, function* () {
@@ -1201,7 +1224,7 @@ class MediaServicesClient {
1201
1224
  * @param DeleteStreamCdnConfigRequest
1202
1225
  * @return DeleteStreamCdnConfigResponse
1203
1226
  * @throws OciError when an error occurs
1204
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/DeleteStreamCdnConfig.ts.html |here} to see how to use DeleteStreamCdnConfig API.
1227
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/DeleteStreamCdnConfig.ts.html |here} to see how to use DeleteStreamCdnConfig API.
1205
1228
  */
1206
1229
  deleteStreamCdnConfig(deleteStreamCdnConfigRequest) {
1207
1230
  return __awaiter(this, void 0, void 0, function* () {
@@ -1256,7 +1279,7 @@ class MediaServicesClient {
1256
1279
  * @param DeleteStreamDistributionChannelRequest
1257
1280
  * @return DeleteStreamDistributionChannelResponse
1258
1281
  * @throws OciError when an error occurs
1259
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/DeleteStreamDistributionChannel.ts.html |here} to see how to use DeleteStreamDistributionChannel API.
1282
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/DeleteStreamDistributionChannel.ts.html |here} to see how to use DeleteStreamDistributionChannel API.
1260
1283
  */
1261
1284
  deleteStreamDistributionChannel(deleteStreamDistributionChannelRequest) {
1262
1285
  return __awaiter(this, void 0, void 0, function* () {
@@ -1311,7 +1334,7 @@ class MediaServicesClient {
1311
1334
  * @param DeleteStreamPackagingConfigRequest
1312
1335
  * @return DeleteStreamPackagingConfigResponse
1313
1336
  * @throws OciError when an error occurs
1314
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/DeleteStreamPackagingConfig.ts.html |here} to see how to use DeleteStreamPackagingConfig API.
1337
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/DeleteStreamPackagingConfig.ts.html |here} to see how to use DeleteStreamPackagingConfig API.
1315
1338
  */
1316
1339
  deleteStreamPackagingConfig(deleteStreamPackagingConfigRequest) {
1317
1340
  return __awaiter(this, void 0, void 0, function* () {
@@ -1366,7 +1389,7 @@ class MediaServicesClient {
1366
1389
  * @param GetMediaAssetRequest
1367
1390
  * @return GetMediaAssetResponse
1368
1391
  * @throws OciError when an error occurs
1369
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/GetMediaAsset.ts.html |here} to see how to use GetMediaAsset API.
1392
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/GetMediaAsset.ts.html |here} to see how to use GetMediaAsset API.
1370
1393
  */
1371
1394
  getMediaAsset(getMediaAssetRequest) {
1372
1395
  return __awaiter(this, void 0, void 0, function* () {
@@ -1429,7 +1452,7 @@ class MediaServicesClient {
1429
1452
  * @param GetMediaAssetDistributionChannelAttachmentRequest
1430
1453
  * @return GetMediaAssetDistributionChannelAttachmentResponse
1431
1454
  * @throws OciError when an error occurs
1432
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/GetMediaAssetDistributionChannelAttachment.ts.html |here} to see how to use GetMediaAssetDistributionChannelAttachment API.
1455
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/GetMediaAssetDistributionChannelAttachment.ts.html |here} to see how to use GetMediaAssetDistributionChannelAttachment API.
1433
1456
  */
1434
1457
  getMediaAssetDistributionChannelAttachment(getMediaAssetDistributionChannelAttachmentRequest) {
1435
1458
  return __awaiter(this, void 0, void 0, function* () {
@@ -1495,7 +1518,7 @@ class MediaServicesClient {
1495
1518
  * @param GetMediaWorkflowRequest
1496
1519
  * @return GetMediaWorkflowResponse
1497
1520
  * @throws OciError when an error occurs
1498
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/GetMediaWorkflow.ts.html |here} to see how to use GetMediaWorkflow API.
1521
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/GetMediaWorkflow.ts.html |here} to see how to use GetMediaWorkflow API.
1499
1522
  */
1500
1523
  getMediaWorkflow(getMediaWorkflowRequest) {
1501
1524
  return __awaiter(this, void 0, void 0, function* () {
@@ -1558,7 +1581,7 @@ class MediaServicesClient {
1558
1581
  * @param GetMediaWorkflowConfigurationRequest
1559
1582
  * @return GetMediaWorkflowConfigurationResponse
1560
1583
  * @throws OciError when an error occurs
1561
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/GetMediaWorkflowConfiguration.ts.html |here} to see how to use GetMediaWorkflowConfiguration API.
1584
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/GetMediaWorkflowConfiguration.ts.html |here} to see how to use GetMediaWorkflowConfiguration API.
1562
1585
  */
1563
1586
  getMediaWorkflowConfiguration(getMediaWorkflowConfigurationRequest) {
1564
1587
  return __awaiter(this, void 0, void 0, function* () {
@@ -1621,7 +1644,7 @@ class MediaServicesClient {
1621
1644
  * @param GetMediaWorkflowJobRequest
1622
1645
  * @return GetMediaWorkflowJobResponse
1623
1646
  * @throws OciError when an error occurs
1624
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/GetMediaWorkflowJob.ts.html |here} to see how to use GetMediaWorkflowJob API.
1647
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/GetMediaWorkflowJob.ts.html |here} to see how to use GetMediaWorkflowJob API.
1625
1648
  */
1626
1649
  getMediaWorkflowJob(getMediaWorkflowJobRequest) {
1627
1650
  return __awaiter(this, void 0, void 0, function* () {
@@ -1684,7 +1707,7 @@ class MediaServicesClient {
1684
1707
  * @param GetMediaWorkflowJobFactRequest
1685
1708
  * @return GetMediaWorkflowJobFactResponse
1686
1709
  * @throws OciError when an error occurs
1687
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/GetMediaWorkflowJobFact.ts.html |here} to see how to use GetMediaWorkflowJobFact API.
1710
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/GetMediaWorkflowJobFact.ts.html |here} to see how to use GetMediaWorkflowJobFact API.
1688
1711
  */
1689
1712
  getMediaWorkflowJobFact(getMediaWorkflowJobFactRequest) {
1690
1713
  return __awaiter(this, void 0, void 0, function* () {
@@ -1748,7 +1771,7 @@ class MediaServicesClient {
1748
1771
  * @param GetStreamCdnConfigRequest
1749
1772
  * @return GetStreamCdnConfigResponse
1750
1773
  * @throws OciError when an error occurs
1751
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/GetStreamCdnConfig.ts.html |here} to see how to use GetStreamCdnConfig API.
1774
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/GetStreamCdnConfig.ts.html |here} to see how to use GetStreamCdnConfig API.
1752
1775
  */
1753
1776
  getStreamCdnConfig(getStreamCdnConfigRequest) {
1754
1777
  return __awaiter(this, void 0, void 0, function* () {
@@ -1811,7 +1834,7 @@ class MediaServicesClient {
1811
1834
  * @param GetStreamDistributionChannelRequest
1812
1835
  * @return GetStreamDistributionChannelResponse
1813
1836
  * @throws OciError when an error occurs
1814
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/GetStreamDistributionChannel.ts.html |here} to see how to use GetStreamDistributionChannel API.
1837
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/GetStreamDistributionChannel.ts.html |here} to see how to use GetStreamDistributionChannel API.
1815
1838
  */
1816
1839
  getStreamDistributionChannel(getStreamDistributionChannelRequest) {
1817
1840
  return __awaiter(this, void 0, void 0, function* () {
@@ -1874,7 +1897,7 @@ class MediaServicesClient {
1874
1897
  * @param GetStreamPackagingConfigRequest
1875
1898
  * @return GetStreamPackagingConfigResponse
1876
1899
  * @throws OciError when an error occurs
1877
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/GetStreamPackagingConfig.ts.html |here} to see how to use GetStreamPackagingConfig API.
1900
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/GetStreamPackagingConfig.ts.html |here} to see how to use GetStreamPackagingConfig API.
1878
1901
  */
1879
1902
  getStreamPackagingConfig(getStreamPackagingConfigRequest) {
1880
1903
  return __awaiter(this, void 0, void 0, function* () {
@@ -1937,7 +1960,7 @@ class MediaServicesClient {
1937
1960
  * @param IngestStreamDistributionChannelRequest
1938
1961
  * @return IngestStreamDistributionChannelResponse
1939
1962
  * @throws OciError when an error occurs
1940
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/IngestStreamDistributionChannel.ts.html |here} to see how to use IngestStreamDistributionChannel API.
1963
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/IngestStreamDistributionChannel.ts.html |here} to see how to use IngestStreamDistributionChannel API.
1941
1964
  */
1942
1965
  ingestStreamDistributionChannel(ingestStreamDistributionChannelRequest) {
1943
1966
  return __awaiter(this, void 0, void 0, function* () {
@@ -1997,7 +2020,7 @@ class MediaServicesClient {
1997
2020
  * @param ListMediaAssetDistributionChannelAttachmentsRequest
1998
2021
  * @return ListMediaAssetDistributionChannelAttachmentsResponse
1999
2022
  * @throws OciError when an error occurs
2000
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/ListMediaAssetDistributionChannelAttachments.ts.html |here} to see how to use ListMediaAssetDistributionChannelAttachments API.
2023
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/ListMediaAssetDistributionChannelAttachments.ts.html |here} to see how to use ListMediaAssetDistributionChannelAttachments API.
2001
2024
  */
2002
2025
  listMediaAssetDistributionChannelAttachments(listMediaAssetDistributionChannelAttachmentsRequest) {
2003
2026
  return __awaiter(this, void 0, void 0, function* () {
@@ -2068,7 +2091,7 @@ class MediaServicesClient {
2068
2091
  * @param ListMediaAssetsRequest
2069
2092
  * @return ListMediaAssetsResponse
2070
2093
  * @throws OciError when an error occurs
2071
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/ListMediaAssets.ts.html |here} to see how to use ListMediaAssets API.
2094
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/ListMediaAssets.ts.html |here} to see how to use ListMediaAssets API.
2072
2095
  */
2073
2096
  listMediaAssets(listMediaAssetsRequest) {
2074
2097
  return __awaiter(this, void 0, void 0, function* () {
@@ -2147,7 +2170,7 @@ class MediaServicesClient {
2147
2170
  * @param ListMediaWorkflowConfigurationsRequest
2148
2171
  * @return ListMediaWorkflowConfigurationsResponse
2149
2172
  * @throws OciError when an error occurs
2150
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/ListMediaWorkflowConfigurations.ts.html |here} to see how to use ListMediaWorkflowConfigurations API.
2173
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/ListMediaWorkflowConfigurations.ts.html |here} to see how to use ListMediaWorkflowConfigurations API.
2151
2174
  */
2152
2175
  listMediaWorkflowConfigurations(listMediaWorkflowConfigurationsRequest) {
2153
2176
  return __awaiter(this, void 0, void 0, function* () {
@@ -2217,7 +2240,7 @@ class MediaServicesClient {
2217
2240
  * @param ListMediaWorkflowJobFactsRequest
2218
2241
  * @return ListMediaWorkflowJobFactsResponse
2219
2242
  * @throws OciError when an error occurs
2220
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/ListMediaWorkflowJobFacts.ts.html |here} to see how to use ListMediaWorkflowJobFacts API.
2243
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/ListMediaWorkflowJobFacts.ts.html |here} to see how to use ListMediaWorkflowJobFacts API.
2221
2244
  */
2222
2245
  listMediaWorkflowJobFacts(listMediaWorkflowJobFactsRequest) {
2223
2246
  return __awaiter(this, void 0, void 0, function* () {
@@ -2287,7 +2310,7 @@ class MediaServicesClient {
2287
2310
  * @param ListMediaWorkflowJobsRequest
2288
2311
  * @return ListMediaWorkflowJobsResponse
2289
2312
  * @throws OciError when an error occurs
2290
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/ListMediaWorkflowJobs.ts.html |here} to see how to use ListMediaWorkflowJobs API.
2313
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/ListMediaWorkflowJobs.ts.html |here} to see how to use ListMediaWorkflowJobs API.
2291
2314
  */
2292
2315
  listMediaWorkflowJobs(listMediaWorkflowJobsRequest) {
2293
2316
  return __awaiter(this, void 0, void 0, function* () {
@@ -2359,7 +2382,7 @@ class MediaServicesClient {
2359
2382
  * @param ListMediaWorkflowTaskDeclarationsRequest
2360
2383
  * @return ListMediaWorkflowTaskDeclarationsResponse
2361
2384
  * @throws OciError when an error occurs
2362
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/ListMediaWorkflowTaskDeclarations.ts.html |here} to see how to use ListMediaWorkflowTaskDeclarations API.
2385
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/ListMediaWorkflowTaskDeclarations.ts.html |here} to see how to use ListMediaWorkflowTaskDeclarations API.
2363
2386
  */
2364
2387
  listMediaWorkflowTaskDeclarations(listMediaWorkflowTaskDeclarationsRequest) {
2365
2388
  return __awaiter(this, void 0, void 0, function* () {
@@ -2429,7 +2452,7 @@ class MediaServicesClient {
2429
2452
  * @param ListMediaWorkflowsRequest
2430
2453
  * @return ListMediaWorkflowsResponse
2431
2454
  * @throws OciError when an error occurs
2432
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/ListMediaWorkflows.ts.html |here} to see how to use ListMediaWorkflows API.
2455
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/ListMediaWorkflows.ts.html |here} to see how to use ListMediaWorkflows API.
2433
2456
  */
2434
2457
  listMediaWorkflows(listMediaWorkflowsRequest) {
2435
2458
  return __awaiter(this, void 0, void 0, function* () {
@@ -2499,7 +2522,7 @@ class MediaServicesClient {
2499
2522
  * @param ListStreamCdnConfigsRequest
2500
2523
  * @return ListStreamCdnConfigsResponse
2501
2524
  * @throws OciError when an error occurs
2502
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/ListStreamCdnConfigs.ts.html |here} to see how to use ListStreamCdnConfigs API.
2525
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/ListStreamCdnConfigs.ts.html |here} to see how to use ListStreamCdnConfigs API.
2503
2526
  */
2504
2527
  listStreamCdnConfigs(listStreamCdnConfigsRequest) {
2505
2528
  return __awaiter(this, void 0, void 0, function* () {
@@ -2569,7 +2592,7 @@ class MediaServicesClient {
2569
2592
  * @param ListStreamDistributionChannelsRequest
2570
2593
  * @return ListStreamDistributionChannelsResponse
2571
2594
  * @throws OciError when an error occurs
2572
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/ListStreamDistributionChannels.ts.html |here} to see how to use ListStreamDistributionChannels API.
2595
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/ListStreamDistributionChannels.ts.html |here} to see how to use ListStreamDistributionChannels API.
2573
2596
  */
2574
2597
  listStreamDistributionChannels(listStreamDistributionChannelsRequest) {
2575
2598
  return __awaiter(this, void 0, void 0, function* () {
@@ -2639,7 +2662,7 @@ class MediaServicesClient {
2639
2662
  * @param ListStreamPackagingConfigsRequest
2640
2663
  * @return ListStreamPackagingConfigsResponse
2641
2664
  * @throws OciError when an error occurs
2642
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/ListStreamPackagingConfigs.ts.html |here} to see how to use ListStreamPackagingConfigs API.
2665
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/ListStreamPackagingConfigs.ts.html |here} to see how to use ListStreamPackagingConfigs API.
2643
2666
  */
2644
2667
  listStreamPackagingConfigs(listStreamPackagingConfigsRequest) {
2645
2668
  return __awaiter(this, void 0, void 0, function* () {
@@ -2710,7 +2733,7 @@ class MediaServicesClient {
2710
2733
  * @param ListSystemMediaWorkflowsRequest
2711
2734
  * @return ListSystemMediaWorkflowsResponse
2712
2735
  * @throws OciError when an error occurs
2713
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/ListSystemMediaWorkflows.ts.html |here} to see how to use ListSystemMediaWorkflows API.
2736
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/ListSystemMediaWorkflows.ts.html |here} to see how to use ListSystemMediaWorkflows API.
2714
2737
  */
2715
2738
  listSystemMediaWorkflows(listSystemMediaWorkflowsRequest) {
2716
2739
  return __awaiter(this, void 0, void 0, function* () {
@@ -2777,7 +2800,7 @@ class MediaServicesClient {
2777
2800
  * @param UpdateMediaAssetRequest
2778
2801
  * @return UpdateMediaAssetResponse
2779
2802
  * @throws OciError when an error occurs
2780
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/UpdateMediaAsset.ts.html |here} to see how to use UpdateMediaAsset API.
2803
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/UpdateMediaAsset.ts.html |here} to see how to use UpdateMediaAsset API.
2781
2804
  */
2782
2805
  updateMediaAsset(updateMediaAssetRequest) {
2783
2806
  return __awaiter(this, void 0, void 0, function* () {
@@ -2842,7 +2865,7 @@ class MediaServicesClient {
2842
2865
  * @param UpdateMediaWorkflowRequest
2843
2866
  * @return UpdateMediaWorkflowResponse
2844
2867
  * @throws OciError when an error occurs
2845
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/UpdateMediaWorkflow.ts.html |here} to see how to use UpdateMediaWorkflow API.
2868
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/UpdateMediaWorkflow.ts.html |here} to see how to use UpdateMediaWorkflow API.
2846
2869
  */
2847
2870
  updateMediaWorkflow(updateMediaWorkflowRequest) {
2848
2871
  return __awaiter(this, void 0, void 0, function* () {
@@ -2907,7 +2930,7 @@ class MediaServicesClient {
2907
2930
  * @param UpdateMediaWorkflowConfigurationRequest
2908
2931
  * @return UpdateMediaWorkflowConfigurationResponse
2909
2932
  * @throws OciError when an error occurs
2910
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/UpdateMediaWorkflowConfiguration.ts.html |here} to see how to use UpdateMediaWorkflowConfiguration API.
2933
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/UpdateMediaWorkflowConfiguration.ts.html |here} to see how to use UpdateMediaWorkflowConfiguration API.
2911
2934
  */
2912
2935
  updateMediaWorkflowConfiguration(updateMediaWorkflowConfigurationRequest) {
2913
2936
  return __awaiter(this, void 0, void 0, function* () {
@@ -2972,7 +2995,7 @@ class MediaServicesClient {
2972
2995
  * @param UpdateMediaWorkflowJobRequest
2973
2996
  * @return UpdateMediaWorkflowJobResponse
2974
2997
  * @throws OciError when an error occurs
2975
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/UpdateMediaWorkflowJob.ts.html |here} to see how to use UpdateMediaWorkflowJob API.
2998
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/UpdateMediaWorkflowJob.ts.html |here} to see how to use UpdateMediaWorkflowJob API.
2976
2999
  */
2977
3000
  updateMediaWorkflowJob(updateMediaWorkflowJobRequest) {
2978
3001
  return __awaiter(this, void 0, void 0, function* () {
@@ -3037,7 +3060,7 @@ class MediaServicesClient {
3037
3060
  * @param UpdateStreamCdnConfigRequest
3038
3061
  * @return UpdateStreamCdnConfigResponse
3039
3062
  * @throws OciError when an error occurs
3040
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/UpdateStreamCdnConfig.ts.html |here} to see how to use UpdateStreamCdnConfig API.
3063
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/UpdateStreamCdnConfig.ts.html |here} to see how to use UpdateStreamCdnConfig API.
3041
3064
  */
3042
3065
  updateStreamCdnConfig(updateStreamCdnConfigRequest) {
3043
3066
  return __awaiter(this, void 0, void 0, function* () {
@@ -3102,7 +3125,7 @@ class MediaServicesClient {
3102
3125
  * @param UpdateStreamDistributionChannelRequest
3103
3126
  * @return UpdateStreamDistributionChannelResponse
3104
3127
  * @throws OciError when an error occurs
3105
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/UpdateStreamDistributionChannel.ts.html |here} to see how to use UpdateStreamDistributionChannel API.
3128
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/UpdateStreamDistributionChannel.ts.html |here} to see how to use UpdateStreamDistributionChannel API.
3106
3129
  */
3107
3130
  updateStreamDistributionChannel(updateStreamDistributionChannelRequest) {
3108
3131
  return __awaiter(this, void 0, void 0, function* () {
@@ -3167,7 +3190,7 @@ class MediaServicesClient {
3167
3190
  * @param UpdateStreamPackagingConfigRequest
3168
3191
  * @return UpdateStreamPackagingConfigResponse
3169
3192
  * @throws OciError when an error occurs
3170
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/UpdateStreamPackagingConfig.ts.html |here} to see how to use UpdateStreamPackagingConfig API.
3193
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/UpdateStreamPackagingConfig.ts.html |here} to see how to use UpdateStreamPackagingConfig API.
3171
3194
  */
3172
3195
  updateStreamPackagingConfig(updateStreamPackagingConfigRequest) {
3173
3196
  return __awaiter(this, void 0, void 0, function* () {
@@ -3243,11 +3266,14 @@ var MediaStreamApiKeys;
3243
3266
  */
3244
3267
  class MediaStreamClient {
3245
3268
  constructor(params, clientConfiguration) {
3269
+ this["_realmSpecificEndpointTemplateEnabled"] = false;
3246
3270
  this["_endpoint"] = "";
3247
3271
  this["_defaultHeaders"] = {};
3248
3272
  this._circuitBreaker = null;
3249
3273
  this._httpOptions = undefined;
3250
3274
  this.targetService = "MediaStream";
3275
+ this._regionId = "";
3276
+ this._lastSetRegionOrRegionId = "";
3251
3277
  const requestSigner = params.authenticationDetailsProvider
3252
3278
  ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
3253
3279
  : null;
@@ -3297,13 +3323,31 @@ class MediaStreamClient {
3297
3323
  get logger() {
3298
3324
  return common.LOG.logger;
3299
3325
  }
3326
+ /**
3327
+ * Determines whether realm specific endpoint should be used or not.
3328
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
3329
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
3330
+ */
3331
+ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
3332
+ this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
3333
+ if (this.logger)
3334
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
3335
+ if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
3336
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(MediaStreamClient.serviceEndpointTemplate, this._region, MediaStreamClient.endpointServiceName);
3337
+ }
3338
+ else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
3339
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(MediaStreamClient.serviceEndpointTemplate, this._regionId, MediaStreamClient.endpointServiceName);
3340
+ }
3341
+ }
3300
3342
  /**
3301
3343
  * Sets the region to call (ex, Region.US_PHOENIX_1).
3302
3344
  * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
3303
3345
  * @param region The region of the service.
3304
3346
  */
3305
3347
  set region(region) {
3348
+ this._region = region;
3306
3349
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(MediaStreamClient.serviceEndpointTemplate, region, MediaStreamClient.endpointServiceName);
3350
+ this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
3307
3351
  }
3308
3352
  /**
3309
3353
  * Sets the regionId to call (ex, 'us-phoenix-1').
@@ -3314,7 +3358,9 @@ class MediaStreamClient {
3314
3358
  * @param regionId The public region ID.
3315
3359
  */
3316
3360
  set regionId(regionId) {
3361
+ this._regionId = regionId;
3317
3362
  this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(MediaStreamClient.serviceEndpointTemplate, regionId, MediaStreamClient.endpointServiceName);
3363
+ this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
3318
3364
  }
3319
3365
  /**
3320
3366
  * Gets the playlist content for the specified Packaging Configuration and Media Asset combination.
@@ -3322,7 +3368,7 @@ class MediaStreamClient {
3322
3368
  * @param GeneratePlaylistRequest
3323
3369
  * @return GeneratePlaylistResponse
3324
3370
  * @throws OciError when an error occurs
3325
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/GeneratePlaylist.ts.html |here} to see how to use GeneratePlaylist API.
3371
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/GeneratePlaylist.ts.html |here} to see how to use GeneratePlaylist API.
3326
3372
  */
3327
3373
  generatePlaylist(generatePlaylistRequest) {
3328
3374
  return __awaiter(this, void 0, void 0, function* () {
@@ -3386,7 +3432,7 @@ class MediaStreamClient {
3386
3432
  * @param GenerateSessionTokenRequest
3387
3433
  * @return GenerateSessionTokenResponse
3388
3434
  * @throws OciError when an error occurs
3389
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.56.0/mediaservices/GenerateSessionToken.ts.html |here} to see how to use GenerateSessionToken API.
3435
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/mediaservices/GenerateSessionToken.ts.html |here} to see how to use GenerateSessionToken API.
3390
3436
  */
3391
3437
  generateSessionToken(generateSessionTokenRequest) {
3392
3438
  return __awaiter(this, void 0, void 0, function* () {