gs2 1.4.99 → 1.4.101

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 (209) hide show
  1. package/account/rest.d.ts +1 -0
  2. package/account/rest.js +445 -444
  3. package/account/rest.js.map +1 -1
  4. package/account/rest.ts +67 -65
  5. package/adReward/rest.d.ts +1 -0
  6. package/adReward/rest.js +136 -135
  7. package/adReward/rest.js.map +1 -1
  8. package/adReward/rest.ts +24 -22
  9. package/auth/rest.d.ts +1 -0
  10. package/auth/rest.js +30 -29
  11. package/auth/rest.js.map +1 -1
  12. package/auth/rest.ts +7 -5
  13. package/buff/rest.d.ts +1 -0
  14. package/buff/rest.js +162 -161
  15. package/buff/rest.js.map +1 -1
  16. package/buff/rest.ts +30 -28
  17. package/chat/rest.d.ts +1 -0
  18. package/chat/rest.js +396 -395
  19. package/chat/rest.js.map +1 -1
  20. package/chat/rest.ts +56 -54
  21. package/datastore/rest.d.ts +1 -0
  22. package/datastore/rest.js +282 -281
  23. package/datastore/rest.js.map +1 -1
  24. package/datastore/rest.ts +41 -39
  25. package/deploy/rest.d.ts +1 -0
  26. package/deploy/rest.js +122 -121
  27. package/deploy/rest.js.map +1 -1
  28. package/deploy/rest.ts +26 -24
  29. package/dictionary/rest.d.ts +1 -0
  30. package/dictionary/rest.js +317 -316
  31. package/dictionary/rest.js.map +1 -1
  32. package/dictionary/rest.ts +53 -51
  33. package/distributor/rest.d.ts +1 -0
  34. package/distributor/rest.js +295 -294
  35. package/distributor/rest.js.map +1 -1
  36. package/distributor/rest.ts +50 -48
  37. package/enchant/rest.d.ts +1 -0
  38. package/enchant/rest.js +375 -374
  39. package/enchant/rest.js.map +1 -1
  40. package/enchant/rest.ts +58 -56
  41. package/enhance/rest.d.ts +1 -0
  42. package/enhance/rest.js +338 -337
  43. package/enhance/rest.js.map +1 -1
  44. package/enhance/rest.ts +52 -50
  45. package/exchange/rest.d.ts +1 -0
  46. package/exchange/rest.js +377 -376
  47. package/exchange/rest.js.map +1 -1
  48. package/exchange/rest.ts +56 -54
  49. package/experience/rest.d.ts +1 -0
  50. package/experience/rest.js +430 -429
  51. package/experience/rest.js.map +1 -1
  52. package/experience/rest.ts +62 -60
  53. package/formation/rest.d.ts +1 -0
  54. package/formation/rest.js +549 -548
  55. package/formation/rest.js.map +1 -1
  56. package/formation/rest.ts +81 -79
  57. package/freeze/rest.d.ts +1 -0
  58. package/freeze/rest.js +27 -26
  59. package/freeze/rest.js.map +1 -1
  60. package/freeze/rest.ts +8 -6
  61. package/friend/rest.d.ts +1 -0
  62. package/friend/rest.js +442 -441
  63. package/friend/rest.js.map +1 -1
  64. package/friend/rest.ts +61 -59
  65. package/gateway/rest.d.ts +1 -0
  66. package/gateway/rest.js +180 -179
  67. package/gateway/rest.js.map +1 -1
  68. package/gateway/rest.ts +30 -28
  69. package/grade/rest.d.ts +1 -0
  70. package/grade/rest.js +329 -328
  71. package/grade/rest.js.map +1 -1
  72. package/grade/rest.ts +50 -48
  73. package/guard/rest.d.ts +1 -0
  74. package/guard/rest.js +34 -33
  75. package/guard/rest.js.map +1 -1
  76. package/guard/rest.ts +9 -7
  77. package/guild/rest.d.ts +1 -0
  78. package/guild/rest.js +770 -769
  79. package/guild/rest.js.map +1 -1
  80. package/guild/rest.ts +95 -93
  81. package/identifier/rest.d.ts +1 -0
  82. package/identifier/rest.js +145 -144
  83. package/identifier/rest.js.map +1 -1
  84. package/identifier/rest.ts +32 -30
  85. package/idle/rest.d.ts +1 -0
  86. package/idle/rest.js +266 -265
  87. package/idle/rest.js.map +1 -1
  88. package/idle/rest.ts +44 -42
  89. package/inbox/rest.d.ts +1 -0
  90. package/inbox/rest.js +319 -318
  91. package/inbox/rest.js.map +1 -1
  92. package/inbox/rest.ts +50 -48
  93. package/inventory/rest.d.ts +1 -0
  94. package/inventory/rest.js +1001 -1000
  95. package/inventory/rest.js.map +1 -1
  96. package/inventory/rest.ts +137 -135
  97. package/jobQueue/rest.d.ts +1 -0
  98. package/jobQueue/rest.js +155 -154
  99. package/jobQueue/rest.js.map +1 -1
  100. package/jobQueue/rest.ts +27 -25
  101. package/key/rest.d.ts +1 -0
  102. package/key/rest.js +107 -106
  103. package/key/rest.js.map +1 -1
  104. package/key/rest.ts +21 -19
  105. package/limit/rest.d.ts +1 -0
  106. package/limit/rest.js +264 -263
  107. package/limit/rest.js.map +1 -1
  108. package/limit/rest.ts +42 -40
  109. package/lock/rest.d.ts +1 -0
  110. package/lock/rest.js +91 -90
  111. package/lock/rest.js.map +1 -1
  112. package/lock/rest.ts +16 -14
  113. package/log/rest.d.ts +1 -0
  114. package/log/rest.js +220 -219
  115. package/log/rest.js.map +1 -1
  116. package/log/rest.ts +25 -23
  117. package/loginReward/rest.d.ts +1 -0
  118. package/loginReward/rest.js +268 -267
  119. package/loginReward/rest.js.map +1 -1
  120. package/loginReward/rest.ts +43 -41
  121. package/lottery/rest.d.ts +1 -0
  122. package/lottery/rest.js +318 -317
  123. package/lottery/rest.js.map +1 -1
  124. package/lottery/rest.ts +52 -50
  125. package/matchmaking/rest.d.ts +1 -0
  126. package/matchmaking/rest.js +540 -539
  127. package/matchmaking/rest.js.map +1 -1
  128. package/matchmaking/rest.ts +75 -73
  129. package/megaField/rest.d.ts +1 -0
  130. package/megaField/rest.js +225 -224
  131. package/megaField/rest.js.map +1 -1
  132. package/megaField/rest.ts +36 -34
  133. package/mission/rest.d.ts +1 -0
  134. package/mission/rest.js +576 -575
  135. package/mission/rest.js.map +1 -1
  136. package/mission/rest.ts +81 -79
  137. package/money/rest.d.ts +1 -0
  138. package/money/rest.js +201 -200
  139. package/money/rest.js.map +1 -1
  140. package/money/rest.ts +31 -29
  141. package/money2/rest.d.ts +1 -0
  142. package/money2/rest.js +432 -431
  143. package/money2/rest.js.map +1 -1
  144. package/money2/rest.ts +65 -63
  145. package/news/rest.d.ts +1 -0
  146. package/news/rest.js +94 -93
  147. package/news/rest.js.map +1 -1
  148. package/news/rest.ts +20 -18
  149. package/package.json +1 -1
  150. package/project/rest.d.ts +1 -0
  151. package/project/rest.js +265 -264
  152. package/project/rest.js.map +1 -1
  153. package/project/rest.ts +46 -44
  154. package/quest/rest.d.ts +1 -0
  155. package/quest/rest.js +338 -337
  156. package/quest/rest.js.map +1 -1
  157. package/quest/rest.ts +52 -50
  158. package/ranking/rest.d.ts +1 -0
  159. package/ranking/rest.js +337 -336
  160. package/ranking/rest.js.map +1 -1
  161. package/ranking/rest.ts +48 -46
  162. package/ranking2/rest.d.ts +1 -0
  163. package/ranking2/rest.js +889 -888
  164. package/ranking2/rest.js.map +1 -1
  165. package/ranking2/rest.ts +112 -110
  166. package/realtime/rest.d.ts +1 -0
  167. package/realtime/rest.js +68 -67
  168. package/realtime/rest.js.map +1 -1
  169. package/realtime/rest.ts +14 -12
  170. package/schedule/rest.d.ts +1 -0
  171. package/schedule/rest.js +311 -310
  172. package/schedule/rest.js.map +1 -1
  173. package/schedule/rest.ts +49 -47
  174. package/script/rest.d.ts +1 -0
  175. package/script/rest.js +109 -108
  176. package/script/rest.js.map +1 -1
  177. package/script/rest.ts +19 -17
  178. package/seasonRating/rest.d.ts +1 -0
  179. package/seasonRating/rest.js +205 -204
  180. package/seasonRating/rest.js.map +1 -1
  181. package/seasonRating/rest.ts +37 -35
  182. package/serialKey/rest.d.ts +1 -0
  183. package/serialKey/rest.js +246 -245
  184. package/serialKey/rest.js.map +1 -1
  185. package/serialKey/rest.ts +44 -42
  186. package/showcase/rest.d.ts +1 -0
  187. package/showcase/rest.js +395 -394
  188. package/showcase/rest.js.map +1 -1
  189. package/showcase/rest.ts +60 -58
  190. package/skillTree/rest.d.ts +1 -0
  191. package/skillTree/rest.js +267 -266
  192. package/skillTree/rest.js.map +1 -1
  193. package/skillTree/rest.ts +43 -41
  194. package/stamina/rest.d.ts +1 -0
  195. package/stamina/rest.js +596 -595
  196. package/stamina/rest.js.map +1 -1
  197. package/stamina/rest.ts +85 -83
  198. package/stateMachine/rest.d.ts +1 -0
  199. package/stateMachine/rest.js +208 -207
  200. package/stateMachine/rest.js.map +1 -1
  201. package/stateMachine/rest.ts +33 -31
  202. package/version/rest.d.ts +1 -0
  203. package/version/rest.js +259 -258
  204. package/version/rest.js.map +1 -1
  205. package/version/rest.ts +41 -39
  206. package/watch/rest.d.ts +1 -0
  207. package/watch/rest.js +334 -333
  208. package/watch/rest.js.map +1 -1
  209. package/watch/rest.ts +80 -78
package/watch/rest.ts CHANGED
@@ -23,12 +23,14 @@ import axios from 'axios';
23
23
 
24
24
  export default class Gs2WatchRestClient extends AbstractGs2RestClient {
25
25
 
26
+ public static ENDPOINT_HOST: string|null = null;
27
+
26
28
  constructor(session: Gs2RestSession) {
27
29
  super(session);
28
30
  }
29
31
 
30
32
  public getChart(request: Request.GetChartRequest): Promise<Result.GetChartResult> {
31
- const url = (Gs2Constant.ENDPOINT_HOST + '/chart/{measure}')
33
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/chart/{measure}')
32
34
  .replace('{service}', 'watch')
33
35
  .replace('{region}', this.session.region)
34
36
  .replace('{measure}', String(request.getMeasure() ?? 'null') === "" ? "null" : String(request.getMeasure() ?? 'null'));
@@ -67,7 +69,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
67
69
  }
68
70
 
69
71
  public getServiceVersion(request: Request.GetServiceVersionRequest): Promise<Result.GetServiceVersionResult> {
70
- const url = (Gs2Constant.ENDPOINT_HOST + '/system/version')
72
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/system/version')
71
73
  .replace('{service}', 'watch')
72
74
  .replace('{region}', this.session.region);
73
75
 
@@ -92,7 +94,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
92
94
  }
93
95
 
94
96
  public getDistribution(request: Request.GetDistributionRequest): Promise<Result.GetDistributionResult> {
95
- const url = (Gs2Constant.ENDPOINT_HOST + '/distribution/{measure}')
97
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/distribution/{measure}')
96
98
  .replace('{service}', 'watch')
97
99
  .replace('{region}', this.session.region)
98
100
  .replace('{measure}', String(request.getMeasure() ?? 'null') === "" ? "null" : String(request.getMeasure() ?? 'null'));
@@ -129,7 +131,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
129
131
  }
130
132
 
131
133
  public getCumulative(request: Request.GetCumulativeRequest): Promise<Result.GetCumulativeResult> {
132
- const url = (Gs2Constant.ENDPOINT_HOST + '/cumulative/{name}')
134
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/cumulative/{name}')
133
135
  .replace('{service}', 'watch')
134
136
  .replace('{region}', this.session.region)
135
137
  .replace('{name}', String(request.getName() ?? 'null') === "" ? "null" : String(request.getName() ?? 'null'));
@@ -160,7 +162,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
160
162
  }
161
163
 
162
164
  public describeBillingActivities(request: Request.DescribeBillingActivitiesRequest): Promise<Result.DescribeBillingActivitiesResult> {
163
- const url = (Gs2Constant.ENDPOINT_HOST + '/billingActivity/{year}/{month}')
165
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/billingActivity/{year}/{month}')
164
166
  .replace('{service}', 'watch')
165
167
  .replace('{region}', this.session.region)
166
168
  .replace('{year}', String(request.getYear() ?? 'null') === "" ? "null" : String(request.getYear() ?? 'null'))
@@ -190,7 +192,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
190
192
  }
191
193
 
192
194
  public getBillingActivity(request: Request.GetBillingActivityRequest): Promise<Result.GetBillingActivityResult> {
193
- const url = (Gs2Constant.ENDPOINT_HOST + '/billingActivity/{year}/{month}/{service}/{activityType}')
195
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/billingActivity/{year}/{month}/{service}/{activityType}')
194
196
  .replace('{service}', 'watch')
195
197
  .replace('{region}', this.session.region)
196
198
  .replace('{year}', String(request.getYear() ?? 'null') === "" ? "null" : String(request.getYear() ?? 'null'))
@@ -223,7 +225,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
223
225
  }
224
226
 
225
227
  public getGeneralMetrics(request: Request.GetGeneralMetricsRequest): Promise<Result.GetGeneralMetricsResult> {
226
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/general')
228
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/general')
227
229
  .replace('{service}', 'watch')
228
230
  .replace('{region}', this.session.region);
229
231
 
@@ -248,7 +250,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
248
250
  }
249
251
 
250
252
  public describeAccountNamespaceMetrics(request: Request.DescribeAccountNamespaceMetricsRequest): Promise<Result.DescribeAccountNamespaceMetricsResult> {
251
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/account/namespace')
253
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/account/namespace')
252
254
  .replace('{service}', 'watch')
253
255
  .replace('{region}', this.session.region);
254
256
 
@@ -273,7 +275,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
273
275
  }
274
276
 
275
277
  public getAccountNamespaceMetrics(request: Request.GetAccountNamespaceMetricsRequest): Promise<Result.GetAccountNamespaceMetricsResult> {
276
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/account/namespace/{namespaceName}')
278
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/account/namespace/{namespaceName}')
277
279
  .replace('{service}', 'watch')
278
280
  .replace('{region}', this.session.region)
279
281
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -299,7 +301,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
299
301
  }
300
302
 
301
303
  public describeChatNamespaceMetrics(request: Request.DescribeChatNamespaceMetricsRequest): Promise<Result.DescribeChatNamespaceMetricsResult> {
302
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/chat/namespace')
304
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/chat/namespace')
303
305
  .replace('{service}', 'watch')
304
306
  .replace('{region}', this.session.region);
305
307
 
@@ -324,7 +326,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
324
326
  }
325
327
 
326
328
  public getChatNamespaceMetrics(request: Request.GetChatNamespaceMetricsRequest): Promise<Result.GetChatNamespaceMetricsResult> {
327
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/chat/namespace/{namespaceName}')
329
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/chat/namespace/{namespaceName}')
328
330
  .replace('{service}', 'watch')
329
331
  .replace('{region}', this.session.region)
330
332
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -350,7 +352,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
350
352
  }
351
353
 
352
354
  public describeDatastoreNamespaceMetrics(request: Request.DescribeDatastoreNamespaceMetricsRequest): Promise<Result.DescribeDatastoreNamespaceMetricsResult> {
353
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/datastore/namespace')
355
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/datastore/namespace')
354
356
  .replace('{service}', 'watch')
355
357
  .replace('{region}', this.session.region);
356
358
 
@@ -375,7 +377,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
375
377
  }
376
378
 
377
379
  public getDatastoreNamespaceMetrics(request: Request.GetDatastoreNamespaceMetricsRequest): Promise<Result.GetDatastoreNamespaceMetricsResult> {
378
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/datastore/namespace/{namespaceName}')
380
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/datastore/namespace/{namespaceName}')
379
381
  .replace('{service}', 'watch')
380
382
  .replace('{region}', this.session.region)
381
383
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -401,7 +403,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
401
403
  }
402
404
 
403
405
  public describeDictionaryNamespaceMetrics(request: Request.DescribeDictionaryNamespaceMetricsRequest): Promise<Result.DescribeDictionaryNamespaceMetricsResult> {
404
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/dictionary/namespace')
406
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/dictionary/namespace')
405
407
  .replace('{service}', 'watch')
406
408
  .replace('{region}', this.session.region);
407
409
 
@@ -426,7 +428,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
426
428
  }
427
429
 
428
430
  public getDictionaryNamespaceMetrics(request: Request.GetDictionaryNamespaceMetricsRequest): Promise<Result.GetDictionaryNamespaceMetricsResult> {
429
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/dictionary/namespace/{namespaceName}')
431
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/dictionary/namespace/{namespaceName}')
430
432
  .replace('{service}', 'watch')
431
433
  .replace('{region}', this.session.region)
432
434
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -452,7 +454,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
452
454
  }
453
455
 
454
456
  public describeExchangeRateModelMetrics(request: Request.DescribeExchangeRateModelMetricsRequest): Promise<Result.DescribeExchangeRateModelMetricsResult> {
455
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/exchange/namespace/{namespaceName}/rateModel')
457
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/exchange/namespace/{namespaceName}/rateModel')
456
458
  .replace('{service}', 'watch')
457
459
  .replace('{region}', this.session.region)
458
460
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -478,7 +480,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
478
480
  }
479
481
 
480
482
  public getExchangeRateModelMetrics(request: Request.GetExchangeRateModelMetricsRequest): Promise<Result.GetExchangeRateModelMetricsResult> {
481
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/exchange/namespace/{namespaceName}/rateModel/{rateName}')
483
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/exchange/namespace/{namespaceName}/rateModel/{rateName}')
482
484
  .replace('{service}', 'watch')
483
485
  .replace('{region}', this.session.region)
484
486
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -505,7 +507,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
505
507
  }
506
508
 
507
509
  public describeExchangeNamespaceMetrics(request: Request.DescribeExchangeNamespaceMetricsRequest): Promise<Result.DescribeExchangeNamespaceMetricsResult> {
508
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/exchange/namespace')
510
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/exchange/namespace')
509
511
  .replace('{service}', 'watch')
510
512
  .replace('{region}', this.session.region);
511
513
 
@@ -530,7 +532,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
530
532
  }
531
533
 
532
534
  public getExchangeNamespaceMetrics(request: Request.GetExchangeNamespaceMetricsRequest): Promise<Result.GetExchangeNamespaceMetricsResult> {
533
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/exchange/namespace/{namespaceName}')
535
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/exchange/namespace/{namespaceName}')
534
536
  .replace('{service}', 'watch')
535
537
  .replace('{region}', this.session.region)
536
538
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -556,7 +558,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
556
558
  }
557
559
 
558
560
  public describeExperienceStatusMetrics(request: Request.DescribeExperienceStatusMetricsRequest): Promise<Result.DescribeExperienceStatusMetricsResult> {
559
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/experience/namespace/{namespaceName}/experienceModel/{experienceName}/status')
561
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/experience/namespace/{namespaceName}/experienceModel/{experienceName}/status')
560
562
  .replace('{service}', 'watch')
561
563
  .replace('{region}', this.session.region)
562
564
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -583,7 +585,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
583
585
  }
584
586
 
585
587
  public describeExperienceExperienceModelMetrics(request: Request.DescribeExperienceExperienceModelMetricsRequest): Promise<Result.DescribeExperienceExperienceModelMetricsResult> {
586
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/experience/namespace/{namespaceName}/experienceModel')
588
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/experience/namespace/{namespaceName}/experienceModel')
587
589
  .replace('{service}', 'watch')
588
590
  .replace('{region}', this.session.region)
589
591
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -609,7 +611,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
609
611
  }
610
612
 
611
613
  public getExperienceExperienceModelMetrics(request: Request.GetExperienceExperienceModelMetricsRequest): Promise<Result.GetExperienceExperienceModelMetricsResult> {
612
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/experience/namespace/{namespaceName}/experienceModel/{experienceName}')
614
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/experience/namespace/{namespaceName}/experienceModel/{experienceName}')
613
615
  .replace('{service}', 'watch')
614
616
  .replace('{region}', this.session.region)
615
617
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -636,7 +638,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
636
638
  }
637
639
 
638
640
  public describeExperienceNamespaceMetrics(request: Request.DescribeExperienceNamespaceMetricsRequest): Promise<Result.DescribeExperienceNamespaceMetricsResult> {
639
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/experience/namespace')
641
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/experience/namespace')
640
642
  .replace('{service}', 'watch')
641
643
  .replace('{region}', this.session.region);
642
644
 
@@ -661,7 +663,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
661
663
  }
662
664
 
663
665
  public getExperienceNamespaceMetrics(request: Request.GetExperienceNamespaceMetricsRequest): Promise<Result.GetExperienceNamespaceMetricsResult> {
664
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/experience/namespace/{namespaceName}')
666
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/experience/namespace/{namespaceName}')
665
667
  .replace('{service}', 'watch')
666
668
  .replace('{region}', this.session.region)
667
669
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -687,7 +689,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
687
689
  }
688
690
 
689
691
  public describeFormationFormMetrics(request: Request.DescribeFormationFormMetricsRequest): Promise<Result.DescribeFormationFormMetricsResult> {
690
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/formation/namespace/{namespaceName}/mold/{moldModelName}/form')
692
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/formation/namespace/{namespaceName}/mold/{moldModelName}/form')
691
693
  .replace('{service}', 'watch')
692
694
  .replace('{region}', this.session.region)
693
695
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -714,7 +716,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
714
716
  }
715
717
 
716
718
  public describeFormationMoldMetrics(request: Request.DescribeFormationMoldMetricsRequest): Promise<Result.DescribeFormationMoldMetricsResult> {
717
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/formation/namespace/{namespaceName}/mold')
719
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/formation/namespace/{namespaceName}/mold')
718
720
  .replace('{service}', 'watch')
719
721
  .replace('{region}', this.session.region)
720
722
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -740,7 +742,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
740
742
  }
741
743
 
742
744
  public describeFormationNamespaceMetrics(request: Request.DescribeFormationNamespaceMetricsRequest): Promise<Result.DescribeFormationNamespaceMetricsResult> {
743
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/formation/namespace')
745
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/formation/namespace')
744
746
  .replace('{service}', 'watch')
745
747
  .replace('{region}', this.session.region);
746
748
 
@@ -765,7 +767,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
765
767
  }
766
768
 
767
769
  public getFormationNamespaceMetrics(request: Request.GetFormationNamespaceMetricsRequest): Promise<Result.GetFormationNamespaceMetricsResult> {
768
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/formation/namespace/{namespaceName}')
770
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/formation/namespace/{namespaceName}')
769
771
  .replace('{service}', 'watch')
770
772
  .replace('{region}', this.session.region)
771
773
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -791,7 +793,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
791
793
  }
792
794
 
793
795
  public describeFriendNamespaceMetrics(request: Request.DescribeFriendNamespaceMetricsRequest): Promise<Result.DescribeFriendNamespaceMetricsResult> {
794
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/friend/namespace')
796
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/friend/namespace')
795
797
  .replace('{service}', 'watch')
796
798
  .replace('{region}', this.session.region);
797
799
 
@@ -816,7 +818,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
816
818
  }
817
819
 
818
820
  public getFriendNamespaceMetrics(request: Request.GetFriendNamespaceMetricsRequest): Promise<Result.GetFriendNamespaceMetricsResult> {
819
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/friend/namespace/{namespaceName}')
821
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/friend/namespace/{namespaceName}')
820
822
  .replace('{service}', 'watch')
821
823
  .replace('{region}', this.session.region)
822
824
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -842,7 +844,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
842
844
  }
843
845
 
844
846
  public describeInboxNamespaceMetrics(request: Request.DescribeInboxNamespaceMetricsRequest): Promise<Result.DescribeInboxNamespaceMetricsResult> {
845
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/inbox/namespace')
847
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/inbox/namespace')
846
848
  .replace('{service}', 'watch')
847
849
  .replace('{region}', this.session.region);
848
850
 
@@ -867,7 +869,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
867
869
  }
868
870
 
869
871
  public getInboxNamespaceMetrics(request: Request.GetInboxNamespaceMetricsRequest): Promise<Result.GetInboxNamespaceMetricsResult> {
870
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/inbox/namespace/{namespaceName}')
872
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/inbox/namespace/{namespaceName}')
871
873
  .replace('{service}', 'watch')
872
874
  .replace('{region}', this.session.region)
873
875
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -893,7 +895,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
893
895
  }
894
896
 
895
897
  public describeInventoryItemSetMetrics(request: Request.DescribeInventoryItemSetMetricsRequest): Promise<Result.DescribeInventoryItemSetMetricsResult> {
896
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/inventory/namespace/{namespaceName}/inventory/{inventoryName}/itemSet')
898
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/inventory/namespace/{namespaceName}/inventory/{inventoryName}/itemSet')
897
899
  .replace('{service}', 'watch')
898
900
  .replace('{region}', this.session.region)
899
901
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -920,7 +922,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
920
922
  }
921
923
 
922
924
  public describeInventoryInventoryMetrics(request: Request.DescribeInventoryInventoryMetricsRequest): Promise<Result.DescribeInventoryInventoryMetricsResult> {
923
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/inventory/namespace/{namespaceName}/inventory')
925
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/inventory/namespace/{namespaceName}/inventory')
924
926
  .replace('{service}', 'watch')
925
927
  .replace('{region}', this.session.region)
926
928
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -946,7 +948,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
946
948
  }
947
949
 
948
950
  public describeInventoryNamespaceMetrics(request: Request.DescribeInventoryNamespaceMetricsRequest): Promise<Result.DescribeInventoryNamespaceMetricsResult> {
949
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/inventory/namespace')
951
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/inventory/namespace')
950
952
  .replace('{service}', 'watch')
951
953
  .replace('{region}', this.session.region);
952
954
 
@@ -971,7 +973,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
971
973
  }
972
974
 
973
975
  public getInventoryNamespaceMetrics(request: Request.GetInventoryNamespaceMetricsRequest): Promise<Result.GetInventoryNamespaceMetricsResult> {
974
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/inventory/namespace/{namespaceName}')
976
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/inventory/namespace/{namespaceName}')
975
977
  .replace('{service}', 'watch')
976
978
  .replace('{region}', this.session.region)
977
979
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -997,7 +999,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
997
999
  }
998
1000
 
999
1001
  public describeKeyNamespaceMetrics(request: Request.DescribeKeyNamespaceMetricsRequest): Promise<Result.DescribeKeyNamespaceMetricsResult> {
1000
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/key/namespace')
1002
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/key/namespace')
1001
1003
  .replace('{service}', 'watch')
1002
1004
  .replace('{region}', this.session.region);
1003
1005
 
@@ -1022,7 +1024,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1022
1024
  }
1023
1025
 
1024
1026
  public getKeyNamespaceMetrics(request: Request.GetKeyNamespaceMetricsRequest): Promise<Result.GetKeyNamespaceMetricsResult> {
1025
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/key/namespace/{namespaceName}')
1027
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/key/namespace/{namespaceName}')
1026
1028
  .replace('{service}', 'watch')
1027
1029
  .replace('{region}', this.session.region)
1028
1030
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1048,7 +1050,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1048
1050
  }
1049
1051
 
1050
1052
  public describeLimitCounterMetrics(request: Request.DescribeLimitCounterMetricsRequest): Promise<Result.DescribeLimitCounterMetricsResult> {
1051
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/limit/namespace/{namespaceName}/limitModel/{limitName}/counter')
1053
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/limit/namespace/{namespaceName}/limitModel/{limitName}/counter')
1052
1054
  .replace('{service}', 'watch')
1053
1055
  .replace('{region}', this.session.region)
1054
1056
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -1075,7 +1077,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1075
1077
  }
1076
1078
 
1077
1079
  public describeLimitLimitModelMetrics(request: Request.DescribeLimitLimitModelMetricsRequest): Promise<Result.DescribeLimitLimitModelMetricsResult> {
1078
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/limit/namespace/{namespaceName}/limitModel')
1080
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/limit/namespace/{namespaceName}/limitModel')
1079
1081
  .replace('{service}', 'watch')
1080
1082
  .replace('{region}', this.session.region)
1081
1083
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1101,7 +1103,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1101
1103
  }
1102
1104
 
1103
1105
  public getLimitLimitModelMetrics(request: Request.GetLimitLimitModelMetricsRequest): Promise<Result.GetLimitLimitModelMetricsResult> {
1104
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/limit/namespace/{namespaceName}/limitModel/{limitName}')
1106
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/limit/namespace/{namespaceName}/limitModel/{limitName}')
1105
1107
  .replace('{service}', 'watch')
1106
1108
  .replace('{region}', this.session.region)
1107
1109
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -1128,7 +1130,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1128
1130
  }
1129
1131
 
1130
1132
  public describeLimitNamespaceMetrics(request: Request.DescribeLimitNamespaceMetricsRequest): Promise<Result.DescribeLimitNamespaceMetricsResult> {
1131
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/limit/namespace')
1133
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/limit/namespace')
1132
1134
  .replace('{service}', 'watch')
1133
1135
  .replace('{region}', this.session.region);
1134
1136
 
@@ -1153,7 +1155,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1153
1155
  }
1154
1156
 
1155
1157
  public getLimitNamespaceMetrics(request: Request.GetLimitNamespaceMetricsRequest): Promise<Result.GetLimitNamespaceMetricsResult> {
1156
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/limit/namespace/{namespaceName}')
1158
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/limit/namespace/{namespaceName}')
1157
1159
  .replace('{service}', 'watch')
1158
1160
  .replace('{region}', this.session.region)
1159
1161
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1179,7 +1181,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1179
1181
  }
1180
1182
 
1181
1183
  public describeLotteryLotteryMetrics(request: Request.DescribeLotteryLotteryMetricsRequest): Promise<Result.DescribeLotteryLotteryMetricsResult> {
1182
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/lottery/namespace/{namespaceName}/lottery')
1184
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/lottery/namespace/{namespaceName}/lottery')
1183
1185
  .replace('{service}', 'watch')
1184
1186
  .replace('{region}', this.session.region)
1185
1187
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1205,7 +1207,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1205
1207
  }
1206
1208
 
1207
1209
  public getLotteryLotteryMetrics(request: Request.GetLotteryLotteryMetricsRequest): Promise<Result.GetLotteryLotteryMetricsResult> {
1208
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/lottery/namespace/{namespaceName}/lotteryModel/{lotteryName}')
1210
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/lottery/namespace/{namespaceName}/lotteryModel/{lotteryName}')
1209
1211
  .replace('{service}', 'watch')
1210
1212
  .replace('{region}', this.session.region)
1211
1213
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -1232,7 +1234,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1232
1234
  }
1233
1235
 
1234
1236
  public describeLotteryNamespaceMetrics(request: Request.DescribeLotteryNamespaceMetricsRequest): Promise<Result.DescribeLotteryNamespaceMetricsResult> {
1235
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/lottery/namespace')
1237
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/lottery/namespace')
1236
1238
  .replace('{service}', 'watch')
1237
1239
  .replace('{region}', this.session.region);
1238
1240
 
@@ -1257,7 +1259,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1257
1259
  }
1258
1260
 
1259
1261
  public getLotteryNamespaceMetrics(request: Request.GetLotteryNamespaceMetricsRequest): Promise<Result.GetLotteryNamespaceMetricsResult> {
1260
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/lottery/namespace/{namespaceName}')
1262
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/lottery/namespace/{namespaceName}')
1261
1263
  .replace('{service}', 'watch')
1262
1264
  .replace('{region}', this.session.region)
1263
1265
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1283,7 +1285,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1283
1285
  }
1284
1286
 
1285
1287
  public describeMatchmakingNamespaceMetrics(request: Request.DescribeMatchmakingNamespaceMetricsRequest): Promise<Result.DescribeMatchmakingNamespaceMetricsResult> {
1286
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/matchmaking/namespace')
1288
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/matchmaking/namespace')
1287
1289
  .replace('{service}', 'watch')
1288
1290
  .replace('{region}', this.session.region);
1289
1291
 
@@ -1308,7 +1310,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1308
1310
  }
1309
1311
 
1310
1312
  public getMatchmakingNamespaceMetrics(request: Request.GetMatchmakingNamespaceMetricsRequest): Promise<Result.GetMatchmakingNamespaceMetricsResult> {
1311
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/matchmaking/namespace/{namespaceName}')
1313
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/matchmaking/namespace/{namespaceName}')
1312
1314
  .replace('{service}', 'watch')
1313
1315
  .replace('{region}', this.session.region)
1314
1316
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1334,7 +1336,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1334
1336
  }
1335
1337
 
1336
1338
  public describeMissionCounterMetrics(request: Request.DescribeMissionCounterMetricsRequest): Promise<Result.DescribeMissionCounterMetricsResult> {
1337
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/mission/namespace/{namespaceName}/counter')
1339
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/mission/namespace/{namespaceName}/counter')
1338
1340
  .replace('{service}', 'watch')
1339
1341
  .replace('{region}', this.session.region)
1340
1342
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1360,7 +1362,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1360
1362
  }
1361
1363
 
1362
1364
  public describeMissionMissionGroupModelMetrics(request: Request.DescribeMissionMissionGroupModelMetricsRequest): Promise<Result.DescribeMissionMissionGroupModelMetricsResult> {
1363
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/mission/namespace/{namespaceName}/missionGroupModel')
1365
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/mission/namespace/{namespaceName}/missionGroupModel')
1364
1366
  .replace('{service}', 'watch')
1365
1367
  .replace('{region}', this.session.region)
1366
1368
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1386,7 +1388,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1386
1388
  }
1387
1389
 
1388
1390
  public getMissionMissionGroupModelMetrics(request: Request.GetMissionMissionGroupModelMetricsRequest): Promise<Result.GetMissionMissionGroupModelMetricsResult> {
1389
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/mission/namespace/{namespaceName}/missionGroupModel/{missionGroupName}')
1391
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/mission/namespace/{namespaceName}/missionGroupModel/{missionGroupName}')
1390
1392
  .replace('{service}', 'watch')
1391
1393
  .replace('{region}', this.session.region)
1392
1394
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -1413,7 +1415,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1413
1415
  }
1414
1416
 
1415
1417
  public describeMissionNamespaceMetrics(request: Request.DescribeMissionNamespaceMetricsRequest): Promise<Result.DescribeMissionNamespaceMetricsResult> {
1416
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/mission/namespace')
1418
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/mission/namespace')
1417
1419
  .replace('{service}', 'watch')
1418
1420
  .replace('{region}', this.session.region);
1419
1421
 
@@ -1438,7 +1440,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1438
1440
  }
1439
1441
 
1440
1442
  public getMissionNamespaceMetrics(request: Request.GetMissionNamespaceMetricsRequest): Promise<Result.GetMissionNamespaceMetricsResult> {
1441
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/mission/namespace/{namespaceName}')
1443
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/mission/namespace/{namespaceName}')
1442
1444
  .replace('{service}', 'watch')
1443
1445
  .replace('{region}', this.session.region)
1444
1446
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1464,7 +1466,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1464
1466
  }
1465
1467
 
1466
1468
  public describeMoneyWalletMetrics(request: Request.DescribeMoneyWalletMetricsRequest): Promise<Result.DescribeMoneyWalletMetricsResult> {
1467
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/money/namespace/{namespaceName}/wallet')
1469
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/money/namespace/{namespaceName}/wallet')
1468
1470
  .replace('{service}', 'watch')
1469
1471
  .replace('{region}', this.session.region)
1470
1472
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1490,7 +1492,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1490
1492
  }
1491
1493
 
1492
1494
  public describeMoneyReceiptMetrics(request: Request.DescribeMoneyReceiptMetricsRequest): Promise<Result.DescribeMoneyReceiptMetricsResult> {
1493
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/money/namespace/{namespaceName}/receipt')
1495
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/money/namespace/{namespaceName}/receipt')
1494
1496
  .replace('{service}', 'watch')
1495
1497
  .replace('{region}', this.session.region)
1496
1498
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1516,7 +1518,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1516
1518
  }
1517
1519
 
1518
1520
  public describeMoneyNamespaceMetrics(request: Request.DescribeMoneyNamespaceMetricsRequest): Promise<Result.DescribeMoneyNamespaceMetricsResult> {
1519
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/money/namespace')
1521
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/money/namespace')
1520
1522
  .replace('{service}', 'watch')
1521
1523
  .replace('{region}', this.session.region);
1522
1524
 
@@ -1541,7 +1543,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1541
1543
  }
1542
1544
 
1543
1545
  public getMoneyNamespaceMetrics(request: Request.GetMoneyNamespaceMetricsRequest): Promise<Result.GetMoneyNamespaceMetricsResult> {
1544
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/money/namespace/{namespaceName}')
1546
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/money/namespace/{namespaceName}')
1545
1547
  .replace('{service}', 'watch')
1546
1548
  .replace('{region}', this.session.region)
1547
1549
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1567,7 +1569,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1567
1569
  }
1568
1570
 
1569
1571
  public describeQuestQuestModelMetrics(request: Request.DescribeQuestQuestModelMetricsRequest): Promise<Result.DescribeQuestQuestModelMetricsResult> {
1570
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/quest/namespace/{namespaceName}/questGroupModel/{questGroupName}/questModel')
1572
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/quest/namespace/{namespaceName}/questGroupModel/{questGroupName}/questModel')
1571
1573
  .replace('{service}', 'watch')
1572
1574
  .replace('{region}', this.session.region)
1573
1575
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -1594,7 +1596,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1594
1596
  }
1595
1597
 
1596
1598
  public getQuestQuestModelMetrics(request: Request.GetQuestQuestModelMetricsRequest): Promise<Result.GetQuestQuestModelMetricsResult> {
1597
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/quest/namespace/{namespaceName}/questGroupModel/{questGroupName}/questModel/{questName}')
1599
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/quest/namespace/{namespaceName}/questGroupModel/{questGroupName}/questModel/{questName}')
1598
1600
  .replace('{service}', 'watch')
1599
1601
  .replace('{region}', this.session.region)
1600
1602
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -1622,7 +1624,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1622
1624
  }
1623
1625
 
1624
1626
  public describeQuestQuestGroupModelMetrics(request: Request.DescribeQuestQuestGroupModelMetricsRequest): Promise<Result.DescribeQuestQuestGroupModelMetricsResult> {
1625
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/quest/namespace/{namespaceName}/questGroupModel')
1627
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/quest/namespace/{namespaceName}/questGroupModel')
1626
1628
  .replace('{service}', 'watch')
1627
1629
  .replace('{region}', this.session.region)
1628
1630
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1648,7 +1650,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1648
1650
  }
1649
1651
 
1650
1652
  public getQuestQuestGroupModelMetrics(request: Request.GetQuestQuestGroupModelMetricsRequest): Promise<Result.GetQuestQuestGroupModelMetricsResult> {
1651
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/quest/namespace/{namespaceName}/questGroupModel/{questGroupName}')
1653
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/quest/namespace/{namespaceName}/questGroupModel/{questGroupName}')
1652
1654
  .replace('{service}', 'watch')
1653
1655
  .replace('{region}', this.session.region)
1654
1656
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -1675,7 +1677,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1675
1677
  }
1676
1678
 
1677
1679
  public describeQuestNamespaceMetrics(request: Request.DescribeQuestNamespaceMetricsRequest): Promise<Result.DescribeQuestNamespaceMetricsResult> {
1678
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/quest/namespace')
1680
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/quest/namespace')
1679
1681
  .replace('{service}', 'watch')
1680
1682
  .replace('{region}', this.session.region);
1681
1683
 
@@ -1700,7 +1702,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1700
1702
  }
1701
1703
 
1702
1704
  public getQuestNamespaceMetrics(request: Request.GetQuestNamespaceMetricsRequest): Promise<Result.GetQuestNamespaceMetricsResult> {
1703
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/quest/namespace/{namespaceName}')
1705
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/quest/namespace/{namespaceName}')
1704
1706
  .replace('{service}', 'watch')
1705
1707
  .replace('{region}', this.session.region)
1706
1708
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1726,7 +1728,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1726
1728
  }
1727
1729
 
1728
1730
  public describeRankingCategoryModelMetrics(request: Request.DescribeRankingCategoryModelMetricsRequest): Promise<Result.DescribeRankingCategoryModelMetricsResult> {
1729
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/ranking/namespace/{namespaceName}/categoryModel')
1731
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/ranking/namespace/{namespaceName}/categoryModel')
1730
1732
  .replace('{service}', 'watch')
1731
1733
  .replace('{region}', this.session.region)
1732
1734
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1752,7 +1754,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1752
1754
  }
1753
1755
 
1754
1756
  public getRankingCategoryModelMetrics(request: Request.GetRankingCategoryModelMetricsRequest): Promise<Result.GetRankingCategoryModelMetricsResult> {
1755
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/ranking/namespace/{namespaceName}/categoryModel/{categoryName}')
1757
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/ranking/namespace/{namespaceName}/categoryModel/{categoryName}')
1756
1758
  .replace('{service}', 'watch')
1757
1759
  .replace('{region}', this.session.region)
1758
1760
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -1779,7 +1781,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1779
1781
  }
1780
1782
 
1781
1783
  public describeRankingNamespaceMetrics(request: Request.DescribeRankingNamespaceMetricsRequest): Promise<Result.DescribeRankingNamespaceMetricsResult> {
1782
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/ranking/namespace')
1784
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/ranking/namespace')
1783
1785
  .replace('{service}', 'watch')
1784
1786
  .replace('{region}', this.session.region);
1785
1787
 
@@ -1804,7 +1806,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1804
1806
  }
1805
1807
 
1806
1808
  public getRankingNamespaceMetrics(request: Request.GetRankingNamespaceMetricsRequest): Promise<Result.GetRankingNamespaceMetricsResult> {
1807
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/ranking/namespace/{namespaceName}')
1809
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/ranking/namespace/{namespaceName}')
1808
1810
  .replace('{service}', 'watch')
1809
1811
  .replace('{region}', this.session.region)
1810
1812
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1830,7 +1832,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1830
1832
  }
1831
1833
 
1832
1834
  public describeShowcaseDisplayItemMetrics(request: Request.DescribeShowcaseDisplayItemMetricsRequest): Promise<Result.DescribeShowcaseDisplayItemMetricsResult> {
1833
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/showcase/namespace/{namespaceName}/showcase/{showcaseName}/displayItem')
1835
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/showcase/namespace/{namespaceName}/showcase/{showcaseName}/displayItem')
1834
1836
  .replace('{service}', 'watch')
1835
1837
  .replace('{region}', this.session.region)
1836
1838
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -1857,7 +1859,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1857
1859
  }
1858
1860
 
1859
1861
  public getShowcaseDisplayItemMetrics(request: Request.GetShowcaseDisplayItemMetricsRequest): Promise<Result.GetShowcaseDisplayItemMetricsResult> {
1860
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/showcase/namespace/{namespaceName}/showcase/{showcaseName}/displayItem/{displayItemId}')
1862
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/showcase/namespace/{namespaceName}/showcase/{showcaseName}/displayItem/{displayItemId}')
1861
1863
  .replace('{service}', 'watch')
1862
1864
  .replace('{region}', this.session.region)
1863
1865
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -1885,7 +1887,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1885
1887
  }
1886
1888
 
1887
1889
  public describeShowcaseShowcaseMetrics(request: Request.DescribeShowcaseShowcaseMetricsRequest): Promise<Result.DescribeShowcaseShowcaseMetricsResult> {
1888
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/showcase/namespace/{namespaceName}/showcase')
1890
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/showcase/namespace/{namespaceName}/showcase')
1889
1891
  .replace('{service}', 'watch')
1890
1892
  .replace('{region}', this.session.region)
1891
1893
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1911,7 +1913,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1911
1913
  }
1912
1914
 
1913
1915
  public getShowcaseShowcaseMetrics(request: Request.GetShowcaseShowcaseMetricsRequest): Promise<Result.GetShowcaseShowcaseMetricsResult> {
1914
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/showcase/namespace/{namespaceName}/showcase/{showcaseName}')
1916
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/showcase/namespace/{namespaceName}/showcase/{showcaseName}')
1915
1917
  .replace('{service}', 'watch')
1916
1918
  .replace('{region}', this.session.region)
1917
1919
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -1938,7 +1940,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1938
1940
  }
1939
1941
 
1940
1942
  public describeShowcaseNamespaceMetrics(request: Request.DescribeShowcaseNamespaceMetricsRequest): Promise<Result.DescribeShowcaseNamespaceMetricsResult> {
1941
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/showcase/namespace')
1943
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/showcase/namespace')
1942
1944
  .replace('{service}', 'watch')
1943
1945
  .replace('{region}', this.session.region);
1944
1946
 
@@ -1963,7 +1965,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1963
1965
  }
1964
1966
 
1965
1967
  public getShowcaseNamespaceMetrics(request: Request.GetShowcaseNamespaceMetricsRequest): Promise<Result.GetShowcaseNamespaceMetricsResult> {
1966
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/showcase/namespace/{namespaceName}')
1968
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/showcase/namespace/{namespaceName}')
1967
1969
  .replace('{service}', 'watch')
1968
1970
  .replace('{region}', this.session.region)
1969
1971
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1989,7 +1991,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
1989
1991
  }
1990
1992
 
1991
1993
  public describeStaminaStaminaModelMetrics(request: Request.DescribeStaminaStaminaModelMetricsRequest): Promise<Result.DescribeStaminaStaminaModelMetricsResult> {
1992
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/stamina/namespace/{namespaceName}/staminaModel')
1994
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/stamina/namespace/{namespaceName}/staminaModel')
1993
1995
  .replace('{service}', 'watch')
1994
1996
  .replace('{region}', this.session.region)
1995
1997
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -2015,7 +2017,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
2015
2017
  }
2016
2018
 
2017
2019
  public getStaminaStaminaModelMetrics(request: Request.GetStaminaStaminaModelMetricsRequest): Promise<Result.GetStaminaStaminaModelMetricsResult> {
2018
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/stamina/namespace/{namespaceName}/staminaModel/{staminaName}')
2020
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/stamina/namespace/{namespaceName}/staminaModel/{staminaName}')
2019
2021
  .replace('{service}', 'watch')
2020
2022
  .replace('{region}', this.session.region)
2021
2023
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -2042,7 +2044,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
2042
2044
  }
2043
2045
 
2044
2046
  public describeStaminaNamespaceMetrics(request: Request.DescribeStaminaNamespaceMetricsRequest): Promise<Result.DescribeStaminaNamespaceMetricsResult> {
2045
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/stamina/namespace')
2047
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/stamina/namespace')
2046
2048
  .replace('{service}', 'watch')
2047
2049
  .replace('{region}', this.session.region);
2048
2050
 
@@ -2067,7 +2069,7 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
2067
2069
  }
2068
2070
 
2069
2071
  public getStaminaNamespaceMetrics(request: Request.GetStaminaNamespaceMetricsRequest): Promise<Result.GetStaminaNamespaceMetricsResult> {
2070
- const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/stamina/namespace/{namespaceName}')
2072
+ const url = ((Gs2WatchRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST) + '/metrics/stamina/namespace/{namespaceName}')
2071
2073
  .replace('{service}', 'watch')
2072
2074
  .replace('{region}', this.session.region)
2073
2075
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));