gs2 1.4.98 → 1.4.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/account/rest.d.ts +1 -0
- package/account/rest.js +445 -444
- package/account/rest.js.map +1 -1
- package/account/rest.ts +67 -65
- package/adReward/rest.d.ts +1 -0
- package/adReward/rest.js +136 -135
- package/adReward/rest.js.map +1 -1
- package/adReward/rest.ts +24 -22
- package/auth/rest.d.ts +1 -0
- package/auth/rest.js +30 -29
- package/auth/rest.js.map +1 -1
- package/auth/rest.ts +7 -5
- package/buff/rest.d.ts +1 -0
- package/buff/rest.js +162 -161
- package/buff/rest.js.map +1 -1
- package/buff/rest.ts +30 -28
- package/chat/rest.d.ts +1 -0
- package/chat/rest.js +396 -395
- package/chat/rest.js.map +1 -1
- package/chat/rest.ts +56 -54
- package/datastore/rest.d.ts +1 -0
- package/datastore/rest.js +282 -281
- package/datastore/rest.js.map +1 -1
- package/datastore/rest.ts +41 -39
- package/deploy/rest.d.ts +1 -0
- package/deploy/rest.js +122 -121
- package/deploy/rest.js.map +1 -1
- package/deploy/rest.ts +26 -24
- package/dictionary/rest.d.ts +1 -0
- package/dictionary/rest.js +317 -316
- package/dictionary/rest.js.map +1 -1
- package/dictionary/rest.ts +53 -51
- package/distributor/rest.d.ts +1 -0
- package/distributor/rest.js +295 -294
- package/distributor/rest.js.map +1 -1
- package/distributor/rest.ts +50 -48
- package/enchant/rest.d.ts +1 -0
- package/enchant/rest.js +375 -374
- package/enchant/rest.js.map +1 -1
- package/enchant/rest.ts +58 -56
- package/enhance/rest.d.ts +1 -0
- package/enhance/rest.js +338 -337
- package/enhance/rest.js.map +1 -1
- package/enhance/rest.ts +52 -50
- package/exchange/rest.d.ts +1 -0
- package/exchange/rest.js +377 -376
- package/exchange/rest.js.map +1 -1
- package/exchange/rest.ts +56 -54
- package/experience/rest.d.ts +1 -0
- package/experience/rest.js +430 -429
- package/experience/rest.js.map +1 -1
- package/experience/rest.ts +62 -60
- package/formation/rest.d.ts +1 -0
- package/formation/rest.js +549 -548
- package/formation/rest.js.map +1 -1
- package/formation/rest.ts +81 -79
- package/freeze/rest.d.ts +1 -0
- package/freeze/rest.js +27 -26
- package/freeze/rest.js.map +1 -1
- package/freeze/rest.ts +8 -6
- package/friend/rest.d.ts +1 -0
- package/friend/rest.js +442 -441
- package/friend/rest.js.map +1 -1
- package/friend/rest.ts +61 -59
- package/gateway/model/WebSocketSession.d.ts +4 -0
- package/gateway/model/WebSocketSession.js +14 -0
- package/gateway/model/WebSocketSession.js.map +1 -1
- package/gateway/model/WebSocketSession.ts +14 -0
- package/gateway/request/SetUserIdByUserIdRequest.d.ts +4 -0
- package/gateway/request/SetUserIdByUserIdRequest.js +14 -0
- package/gateway/request/SetUserIdByUserIdRequest.js.map +1 -1
- package/gateway/request/SetUserIdByUserIdRequest.ts +14 -0
- package/gateway/request/SetUserIdRequest.d.ts +4 -0
- package/gateway/request/SetUserIdRequest.js +14 -0
- package/gateway/request/SetUserIdRequest.js.map +1 -1
- package/gateway/request/SetUserIdRequest.ts +14 -0
- package/gateway/rest.d.ts +1 -0
- package/gateway/rest.js +180 -177
- package/gateway/rest.js.map +1 -1
- package/gateway/rest.ts +32 -28
- package/grade/rest.d.ts +1 -0
- package/grade/rest.js +329 -328
- package/grade/rest.js.map +1 -1
- package/grade/rest.ts +50 -48
- package/guard/rest.d.ts +1 -0
- package/guard/rest.js +34 -33
- package/guard/rest.js.map +1 -1
- package/guard/rest.ts +9 -7
- package/guild/rest.d.ts +1 -0
- package/guild/rest.js +770 -769
- package/guild/rest.js.map +1 -1
- package/guild/rest.ts +95 -93
- package/identifier/rest.d.ts +1 -0
- package/identifier/rest.js +145 -144
- package/identifier/rest.js.map +1 -1
- package/identifier/rest.ts +32 -30
- package/idle/rest.d.ts +1 -0
- package/idle/rest.js +266 -265
- package/idle/rest.js.map +1 -1
- package/idle/rest.ts +44 -42
- package/inbox/rest.d.ts +1 -0
- package/inbox/rest.js +319 -318
- package/inbox/rest.js.map +1 -1
- package/inbox/rest.ts +50 -48
- package/inventory/rest.d.ts +1 -0
- package/inventory/rest.js +1001 -1000
- package/inventory/rest.js.map +1 -1
- package/inventory/rest.ts +137 -135
- package/jobQueue/rest.d.ts +1 -0
- package/jobQueue/rest.js +155 -154
- package/jobQueue/rest.js.map +1 -1
- package/jobQueue/rest.ts +27 -25
- package/key/rest.d.ts +1 -0
- package/key/rest.js +107 -106
- package/key/rest.js.map +1 -1
- package/key/rest.ts +21 -19
- package/limit/rest.d.ts +1 -0
- package/limit/rest.js +264 -263
- package/limit/rest.js.map +1 -1
- package/limit/rest.ts +42 -40
- package/lock/rest.d.ts +1 -0
- package/lock/rest.js +91 -90
- package/lock/rest.js.map +1 -1
- package/lock/rest.ts +16 -14
- package/log/rest.d.ts +1 -0
- package/log/rest.js +220 -219
- package/log/rest.js.map +1 -1
- package/log/rest.ts +25 -23
- package/loginReward/rest.d.ts +1 -0
- package/loginReward/rest.js +268 -267
- package/loginReward/rest.js.map +1 -1
- package/loginReward/rest.ts +43 -41
- package/lottery/rest.d.ts +1 -0
- package/lottery/rest.js +318 -317
- package/lottery/rest.js.map +1 -1
- package/lottery/rest.ts +52 -50
- package/matchmaking/rest.d.ts +1 -0
- package/matchmaking/rest.js +540 -539
- package/matchmaking/rest.js.map +1 -1
- package/matchmaking/rest.ts +75 -73
- package/megaField/rest.d.ts +1 -0
- package/megaField/rest.js +225 -224
- package/megaField/rest.js.map +1 -1
- package/megaField/rest.ts +36 -34
- package/mission/rest.d.ts +1 -0
- package/mission/rest.js +576 -575
- package/mission/rest.js.map +1 -1
- package/mission/rest.ts +81 -79
- package/money/rest.d.ts +1 -0
- package/money/rest.js +201 -200
- package/money/rest.js.map +1 -1
- package/money/rest.ts +31 -29
- package/money2/rest.d.ts +1 -0
- package/money2/rest.js +432 -431
- package/money2/rest.js.map +1 -1
- package/money2/rest.ts +65 -63
- package/news/rest.d.ts +1 -0
- package/news/rest.js +94 -93
- package/news/rest.js.map +1 -1
- package/news/rest.ts +20 -18
- package/package.json +1 -1
- package/project/rest.d.ts +1 -0
- package/project/rest.js +265 -264
- package/project/rest.js.map +1 -1
- package/project/rest.ts +46 -44
- package/quest/rest.d.ts +1 -0
- package/quest/rest.js +338 -337
- package/quest/rest.js.map +1 -1
- package/quest/rest.ts +52 -50
- package/ranking/rest.d.ts +1 -0
- package/ranking/rest.js +337 -336
- package/ranking/rest.js.map +1 -1
- package/ranking/rest.ts +48 -46
- package/ranking2/rest.d.ts +1 -0
- package/ranking2/rest.js +889 -888
- package/ranking2/rest.js.map +1 -1
- package/ranking2/rest.ts +112 -110
- package/realtime/rest.d.ts +1 -0
- package/realtime/rest.js +68 -67
- package/realtime/rest.js.map +1 -1
- package/realtime/rest.ts +14 -12
- package/schedule/rest.d.ts +1 -0
- package/schedule/rest.js +311 -310
- package/schedule/rest.js.map +1 -1
- package/schedule/rest.ts +49 -47
- package/script/rest.d.ts +1 -0
- package/script/rest.js +109 -108
- package/script/rest.js.map +1 -1
- package/script/rest.ts +19 -17
- package/seasonRating/rest.d.ts +1 -0
- package/seasonRating/rest.js +205 -204
- package/seasonRating/rest.js.map +1 -1
- package/seasonRating/rest.ts +37 -35
- package/serialKey/rest.d.ts +1 -0
- package/serialKey/rest.js +246 -245
- package/serialKey/rest.js.map +1 -1
- package/serialKey/rest.ts +44 -42
- package/showcase/rest.d.ts +1 -0
- package/showcase/rest.js +395 -394
- package/showcase/rest.js.map +1 -1
- package/showcase/rest.ts +60 -58
- package/skillTree/rest.d.ts +1 -0
- package/skillTree/rest.js +267 -266
- package/skillTree/rest.js.map +1 -1
- package/skillTree/rest.ts +43 -41
- package/stamina/rest.d.ts +1 -0
- package/stamina/rest.js +596 -595
- package/stamina/rest.js.map +1 -1
- package/stamina/rest.ts +85 -83
- package/stateMachine/rest.d.ts +1 -0
- package/stateMachine/rest.js +208 -207
- package/stateMachine/rest.js.map +1 -1
- package/stateMachine/rest.ts +33 -31
- package/version/rest.d.ts +1 -0
- package/version/rest.js +259 -258
- package/version/rest.js.map +1 -1
- package/version/rest.ts +41 -39
- package/watch/rest.d.ts +1 -0
- package/watch/rest.js +334 -333
- package/watch/rest.js.map +1 -1
- package/watch/rest.ts +80 -78
package/watch/rest.js
CHANGED
|
@@ -26,26 +26,26 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
26
26
|
return _super.call(this, session) || this;
|
|
27
27
|
}
|
|
28
28
|
Gs2WatchRestClient.prototype.getChart = function (request) {
|
|
29
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
30
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/chart/{measure}')
|
|
29
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
30
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/chart/{measure}')
|
|
31
31
|
.replace('{service}', 'watch')
|
|
32
32
|
.replace('{region}', this.session.region)
|
|
33
|
-
.replace('{measure}', String((
|
|
33
|
+
.replace('{measure}', String((_b = request.getMeasure()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getMeasure()) !== null && _c !== void 0 ? _c : 'null'));
|
|
34
34
|
var headers = this.createAuthorizedHeaders();
|
|
35
35
|
if (request.getRequestId()) {
|
|
36
36
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
37
37
|
}
|
|
38
38
|
var body = {
|
|
39
|
-
'contextStack': (
|
|
40
|
-
'grn': (
|
|
41
|
-
'round': (
|
|
42
|
-
'filters': (
|
|
43
|
-
'groupBys': (
|
|
44
|
-
'countBy': (
|
|
45
|
-
'begin': (
|
|
46
|
-
'end': (
|
|
47
|
-
'pageToken': (
|
|
48
|
-
'limit': (
|
|
39
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
40
|
+
'grn': (_e = request.getGrn()) !== null && _e !== void 0 ? _e : null,
|
|
41
|
+
'round': (_f = request.getRound()) !== null && _f !== void 0 ? _f : null,
|
|
42
|
+
'filters': (_h = (_g = request.getFilters()) === null || _g === void 0 ? void 0 : _g.map(function (item) { return item.toDict(); })) !== null && _h !== void 0 ? _h : null,
|
|
43
|
+
'groupBys': (_j = request.getGroupBys()) !== null && _j !== void 0 ? _j : null,
|
|
44
|
+
'countBy': (_k = request.getCountBy()) !== null && _k !== void 0 ? _k : null,
|
|
45
|
+
'begin': (_l = request.getBegin()) !== null && _l !== void 0 ? _l : null,
|
|
46
|
+
'end': (_m = request.getEnd()) !== null && _m !== void 0 ? _m : null,
|
|
47
|
+
'pageToken': (_o = request.getPageToken()) !== null && _o !== void 0 ? _o : null,
|
|
48
|
+
'limit': (_p = request.getLimit()) !== null && _p !== void 0 ? _p : null,
|
|
49
49
|
};
|
|
50
50
|
return axios_1.default.post(url, body, {
|
|
51
51
|
headers: headers,
|
|
@@ -61,8 +61,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
63
|
Gs2WatchRestClient.prototype.getServiceVersion = function (request) {
|
|
64
|
-
var _a;
|
|
65
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/version')
|
|
64
|
+
var _a, _b;
|
|
65
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/system/version')
|
|
66
66
|
.replace('{service}', 'watch')
|
|
67
67
|
.replace('{region}', this.session.region);
|
|
68
68
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -70,7 +70,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
70
70
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
71
71
|
}
|
|
72
72
|
var params = {
|
|
73
|
-
'contextStack': (
|
|
73
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
74
74
|
};
|
|
75
75
|
return axios_1.default.get(url, {
|
|
76
76
|
params: params,
|
|
@@ -82,24 +82,24 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
82
82
|
});
|
|
83
83
|
};
|
|
84
84
|
Gs2WatchRestClient.prototype.getDistribution = function (request) {
|
|
85
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
86
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/distribution/{measure}')
|
|
85
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
86
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/distribution/{measure}')
|
|
87
87
|
.replace('{service}', 'watch')
|
|
88
88
|
.replace('{region}', this.session.region)
|
|
89
|
-
.replace('{measure}', String((
|
|
89
|
+
.replace('{measure}', String((_b = request.getMeasure()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getMeasure()) !== null && _c !== void 0 ? _c : 'null'));
|
|
90
90
|
var headers = this.createAuthorizedHeaders();
|
|
91
91
|
if (request.getRequestId()) {
|
|
92
92
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
93
93
|
}
|
|
94
94
|
var body = {
|
|
95
|
-
'contextStack': (
|
|
96
|
-
'grn': (
|
|
97
|
-
'filters': (
|
|
98
|
-
'groupBys': (
|
|
99
|
-
'begin': (
|
|
100
|
-
'end': (
|
|
101
|
-
'pageToken': (
|
|
102
|
-
'limit': (
|
|
95
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
96
|
+
'grn': (_e = request.getGrn()) !== null && _e !== void 0 ? _e : null,
|
|
97
|
+
'filters': (_g = (_f = request.getFilters()) === null || _f === void 0 ? void 0 : _f.map(function (item) { return item.toDict(); })) !== null && _g !== void 0 ? _g : null,
|
|
98
|
+
'groupBys': (_h = request.getGroupBys()) !== null && _h !== void 0 ? _h : null,
|
|
99
|
+
'begin': (_j = request.getBegin()) !== null && _j !== void 0 ? _j : null,
|
|
100
|
+
'end': (_k = request.getEnd()) !== null && _k !== void 0 ? _k : null,
|
|
101
|
+
'pageToken': (_l = request.getPageToken()) !== null && _l !== void 0 ? _l : null,
|
|
102
|
+
'limit': (_m = request.getLimit()) !== null && _m !== void 0 ? _m : null,
|
|
103
103
|
};
|
|
104
104
|
return axios_1.default.post(url, body, {
|
|
105
105
|
headers: headers,
|
|
@@ -115,18 +115,18 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
115
115
|
});
|
|
116
116
|
};
|
|
117
117
|
Gs2WatchRestClient.prototype.getCumulative = function (request) {
|
|
118
|
-
var _a, _b, _c, _d;
|
|
119
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/cumulative/{name}')
|
|
118
|
+
var _a, _b, _c, _d, _e;
|
|
119
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/cumulative/{name}')
|
|
120
120
|
.replace('{service}', 'watch')
|
|
121
121
|
.replace('{region}', this.session.region)
|
|
122
|
-
.replace('{name}', String((
|
|
122
|
+
.replace('{name}', String((_b = request.getName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
123
123
|
var headers = this.createAuthorizedHeaders();
|
|
124
124
|
if (request.getRequestId()) {
|
|
125
125
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
126
126
|
}
|
|
127
127
|
var body = {
|
|
128
|
-
'contextStack': (
|
|
129
|
-
'resourceGrn': (
|
|
128
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
129
|
+
'resourceGrn': (_e = request.getResourceGrn()) !== null && _e !== void 0 ? _e : null,
|
|
130
130
|
};
|
|
131
131
|
return axios_1.default.post(url, body, {
|
|
132
132
|
headers: headers,
|
|
@@ -142,21 +142,21 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
142
142
|
});
|
|
143
143
|
};
|
|
144
144
|
Gs2WatchRestClient.prototype.describeBillingActivities = function (request) {
|
|
145
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
146
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/billingActivity/{year}/{month}')
|
|
145
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
146
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/billingActivity/{year}/{month}')
|
|
147
147
|
.replace('{service}', 'watch')
|
|
148
148
|
.replace('{region}', this.session.region)
|
|
149
|
-
.replace('{year}', String((
|
|
150
|
-
.replace('{month}', String((
|
|
149
|
+
.replace('{year}', String((_b = request.getYear()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getYear()) !== null && _c !== void 0 ? _c : 'null'))
|
|
150
|
+
.replace('{month}', String((_d = request.getMonth()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getMonth()) !== null && _e !== void 0 ? _e : 'null'));
|
|
151
151
|
var headers = this.createAuthorizedHeaders();
|
|
152
152
|
if (request.getRequestId()) {
|
|
153
153
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
154
154
|
}
|
|
155
155
|
var params = {
|
|
156
|
-
'contextStack': (
|
|
157
|
-
'service': String((
|
|
158
|
-
'pageToken': String((
|
|
159
|
-
'limit': String((
|
|
156
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
157
|
+
'service': String((_g = request.getService()) !== null && _g !== void 0 ? _g : null),
|
|
158
|
+
'pageToken': String((_h = request.getPageToken()) !== null && _h !== void 0 ? _h : null),
|
|
159
|
+
'limit': String((_j = request.getLimit()) !== null && _j !== void 0 ? _j : null),
|
|
160
160
|
};
|
|
161
161
|
return axios_1.default.get(url, {
|
|
162
162
|
params: params,
|
|
@@ -168,20 +168,20 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
168
168
|
});
|
|
169
169
|
};
|
|
170
170
|
Gs2WatchRestClient.prototype.getBillingActivity = function (request) {
|
|
171
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
172
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/billingActivity/{year}/{month}/{service}/{activityType}')
|
|
171
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
172
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/billingActivity/{year}/{month}/{service}/{activityType}')
|
|
173
173
|
.replace('{service}', 'watch')
|
|
174
174
|
.replace('{region}', this.session.region)
|
|
175
|
-
.replace('{year}', String((
|
|
176
|
-
.replace('{month}', String((
|
|
177
|
-
.replace('{service}', String((
|
|
178
|
-
.replace('{activityType}', String((
|
|
175
|
+
.replace('{year}', String((_b = request.getYear()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getYear()) !== null && _c !== void 0 ? _c : 'null'))
|
|
176
|
+
.replace('{month}', String((_d = request.getMonth()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getMonth()) !== null && _e !== void 0 ? _e : 'null'))
|
|
177
|
+
.replace('{service}', String((_f = request.getService()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getService()) !== null && _g !== void 0 ? _g : 'null'))
|
|
178
|
+
.replace('{activityType}', String((_h = request.getActivityType()) !== null && _h !== void 0 ? _h : 'null') === "" ? "null" : String((_j = request.getActivityType()) !== null && _j !== void 0 ? _j : 'null'));
|
|
179
179
|
var headers = this.createAuthorizedHeaders();
|
|
180
180
|
if (request.getRequestId()) {
|
|
181
181
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
182
182
|
}
|
|
183
183
|
var body = {
|
|
184
|
-
'contextStack': (
|
|
184
|
+
'contextStack': (_k = request.getContextStack()) !== null && _k !== void 0 ? _k : null,
|
|
185
185
|
};
|
|
186
186
|
return axios_1.default.post(url, body, {
|
|
187
187
|
headers: headers,
|
|
@@ -197,8 +197,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
197
197
|
});
|
|
198
198
|
};
|
|
199
199
|
Gs2WatchRestClient.prototype.getGeneralMetrics = function (request) {
|
|
200
|
-
var _a;
|
|
201
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/general')
|
|
200
|
+
var _a, _b;
|
|
201
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/general')
|
|
202
202
|
.replace('{service}', 'watch')
|
|
203
203
|
.replace('{region}', this.session.region);
|
|
204
204
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -206,7 +206,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
206
206
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
207
207
|
}
|
|
208
208
|
var params = {
|
|
209
|
-
'contextStack': (
|
|
209
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
210
210
|
};
|
|
211
211
|
return axios_1.default.get(url, {
|
|
212
212
|
params: params,
|
|
@@ -218,8 +218,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
218
218
|
});
|
|
219
219
|
};
|
|
220
220
|
Gs2WatchRestClient.prototype.describeAccountNamespaceMetrics = function (request) {
|
|
221
|
-
var _a;
|
|
222
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/account/namespace')
|
|
221
|
+
var _a, _b;
|
|
222
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/account/namespace')
|
|
223
223
|
.replace('{service}', 'watch')
|
|
224
224
|
.replace('{region}', this.session.region);
|
|
225
225
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -227,7 +227,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
227
227
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
228
228
|
}
|
|
229
229
|
var params = {
|
|
230
|
-
'contextStack': (
|
|
230
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
231
231
|
};
|
|
232
232
|
return axios_1.default.get(url, {
|
|
233
233
|
params: params,
|
|
@@ -239,17 +239,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
239
239
|
});
|
|
240
240
|
};
|
|
241
241
|
Gs2WatchRestClient.prototype.getAccountNamespaceMetrics = function (request) {
|
|
242
|
-
var _a, _b, _c;
|
|
243
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/account/namespace/{namespaceName}')
|
|
242
|
+
var _a, _b, _c, _d;
|
|
243
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/account/namespace/{namespaceName}')
|
|
244
244
|
.replace('{service}', 'watch')
|
|
245
245
|
.replace('{region}', this.session.region)
|
|
246
|
-
.replace('{namespaceName}', String((
|
|
246
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
247
247
|
var headers = this.createAuthorizedHeaders();
|
|
248
248
|
if (request.getRequestId()) {
|
|
249
249
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
250
250
|
}
|
|
251
251
|
var params = {
|
|
252
|
-
'contextStack': (
|
|
252
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
253
253
|
};
|
|
254
254
|
return axios_1.default.get(url, {
|
|
255
255
|
params: params,
|
|
@@ -261,8 +261,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
261
261
|
});
|
|
262
262
|
};
|
|
263
263
|
Gs2WatchRestClient.prototype.describeChatNamespaceMetrics = function (request) {
|
|
264
|
-
var _a;
|
|
265
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/chat/namespace')
|
|
264
|
+
var _a, _b;
|
|
265
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/chat/namespace')
|
|
266
266
|
.replace('{service}', 'watch')
|
|
267
267
|
.replace('{region}', this.session.region);
|
|
268
268
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -270,7 +270,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
270
270
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
271
271
|
}
|
|
272
272
|
var params = {
|
|
273
|
-
'contextStack': (
|
|
273
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
274
274
|
};
|
|
275
275
|
return axios_1.default.get(url, {
|
|
276
276
|
params: params,
|
|
@@ -282,17 +282,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
282
282
|
});
|
|
283
283
|
};
|
|
284
284
|
Gs2WatchRestClient.prototype.getChatNamespaceMetrics = function (request) {
|
|
285
|
-
var _a, _b, _c;
|
|
286
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/chat/namespace/{namespaceName}')
|
|
285
|
+
var _a, _b, _c, _d;
|
|
286
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/chat/namespace/{namespaceName}')
|
|
287
287
|
.replace('{service}', 'watch')
|
|
288
288
|
.replace('{region}', this.session.region)
|
|
289
|
-
.replace('{namespaceName}', String((
|
|
289
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
290
290
|
var headers = this.createAuthorizedHeaders();
|
|
291
291
|
if (request.getRequestId()) {
|
|
292
292
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
293
293
|
}
|
|
294
294
|
var params = {
|
|
295
|
-
'contextStack': (
|
|
295
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
296
296
|
};
|
|
297
297
|
return axios_1.default.get(url, {
|
|
298
298
|
params: params,
|
|
@@ -304,8 +304,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
304
304
|
});
|
|
305
305
|
};
|
|
306
306
|
Gs2WatchRestClient.prototype.describeDatastoreNamespaceMetrics = function (request) {
|
|
307
|
-
var _a;
|
|
308
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/datastore/namespace')
|
|
307
|
+
var _a, _b;
|
|
308
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/datastore/namespace')
|
|
309
309
|
.replace('{service}', 'watch')
|
|
310
310
|
.replace('{region}', this.session.region);
|
|
311
311
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -313,7 +313,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
313
313
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
314
314
|
}
|
|
315
315
|
var params = {
|
|
316
|
-
'contextStack': (
|
|
316
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
317
317
|
};
|
|
318
318
|
return axios_1.default.get(url, {
|
|
319
319
|
params: params,
|
|
@@ -325,17 +325,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
325
325
|
});
|
|
326
326
|
};
|
|
327
327
|
Gs2WatchRestClient.prototype.getDatastoreNamespaceMetrics = function (request) {
|
|
328
|
-
var _a, _b, _c;
|
|
329
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/datastore/namespace/{namespaceName}')
|
|
328
|
+
var _a, _b, _c, _d;
|
|
329
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/datastore/namespace/{namespaceName}')
|
|
330
330
|
.replace('{service}', 'watch')
|
|
331
331
|
.replace('{region}', this.session.region)
|
|
332
|
-
.replace('{namespaceName}', String((
|
|
332
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
333
333
|
var headers = this.createAuthorizedHeaders();
|
|
334
334
|
if (request.getRequestId()) {
|
|
335
335
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
336
336
|
}
|
|
337
337
|
var params = {
|
|
338
|
-
'contextStack': (
|
|
338
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
339
339
|
};
|
|
340
340
|
return axios_1.default.get(url, {
|
|
341
341
|
params: params,
|
|
@@ -347,8 +347,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
347
347
|
});
|
|
348
348
|
};
|
|
349
349
|
Gs2WatchRestClient.prototype.describeDictionaryNamespaceMetrics = function (request) {
|
|
350
|
-
var _a;
|
|
351
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/dictionary/namespace')
|
|
350
|
+
var _a, _b;
|
|
351
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/dictionary/namespace')
|
|
352
352
|
.replace('{service}', 'watch')
|
|
353
353
|
.replace('{region}', this.session.region);
|
|
354
354
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -356,7 +356,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
356
356
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
357
357
|
}
|
|
358
358
|
var params = {
|
|
359
|
-
'contextStack': (
|
|
359
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
360
360
|
};
|
|
361
361
|
return axios_1.default.get(url, {
|
|
362
362
|
params: params,
|
|
@@ -368,17 +368,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
368
368
|
});
|
|
369
369
|
};
|
|
370
370
|
Gs2WatchRestClient.prototype.getDictionaryNamespaceMetrics = function (request) {
|
|
371
|
-
var _a, _b, _c;
|
|
372
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/dictionary/namespace/{namespaceName}')
|
|
371
|
+
var _a, _b, _c, _d;
|
|
372
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/dictionary/namespace/{namespaceName}')
|
|
373
373
|
.replace('{service}', 'watch')
|
|
374
374
|
.replace('{region}', this.session.region)
|
|
375
|
-
.replace('{namespaceName}', String((
|
|
375
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
376
376
|
var headers = this.createAuthorizedHeaders();
|
|
377
377
|
if (request.getRequestId()) {
|
|
378
378
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
379
379
|
}
|
|
380
380
|
var params = {
|
|
381
|
-
'contextStack': (
|
|
381
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
382
382
|
};
|
|
383
383
|
return axios_1.default.get(url, {
|
|
384
384
|
params: params,
|
|
@@ -390,17 +390,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
390
390
|
});
|
|
391
391
|
};
|
|
392
392
|
Gs2WatchRestClient.prototype.describeExchangeRateModelMetrics = function (request) {
|
|
393
|
-
var _a, _b, _c;
|
|
394
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/exchange/namespace/{namespaceName}/rateModel')
|
|
393
|
+
var _a, _b, _c, _d;
|
|
394
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/exchange/namespace/{namespaceName}/rateModel')
|
|
395
395
|
.replace('{service}', 'watch')
|
|
396
396
|
.replace('{region}', this.session.region)
|
|
397
|
-
.replace('{namespaceName}', String((
|
|
397
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
398
398
|
var headers = this.createAuthorizedHeaders();
|
|
399
399
|
if (request.getRequestId()) {
|
|
400
400
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
401
401
|
}
|
|
402
402
|
var params = {
|
|
403
|
-
'contextStack': (
|
|
403
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
404
404
|
};
|
|
405
405
|
return axios_1.default.get(url, {
|
|
406
406
|
params: params,
|
|
@@ -412,18 +412,18 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
412
412
|
});
|
|
413
413
|
};
|
|
414
414
|
Gs2WatchRestClient.prototype.getExchangeRateModelMetrics = function (request) {
|
|
415
|
-
var _a, _b, _c, _d, _e;
|
|
416
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/exchange/namespace/{namespaceName}/rateModel/{rateName}')
|
|
415
|
+
var _a, _b, _c, _d, _e, _f;
|
|
416
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/exchange/namespace/{namespaceName}/rateModel/{rateName}')
|
|
417
417
|
.replace('{service}', 'watch')
|
|
418
418
|
.replace('{region}', this.session.region)
|
|
419
|
-
.replace('{namespaceName}', String((
|
|
420
|
-
.replace('{rateName}', String((
|
|
419
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
420
|
+
.replace('{rateName}', String((_d = request.getRateName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getRateName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
421
421
|
var headers = this.createAuthorizedHeaders();
|
|
422
422
|
if (request.getRequestId()) {
|
|
423
423
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
424
424
|
}
|
|
425
425
|
var params = {
|
|
426
|
-
'contextStack': (
|
|
426
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
427
427
|
};
|
|
428
428
|
return axios_1.default.get(url, {
|
|
429
429
|
params: params,
|
|
@@ -435,8 +435,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
435
435
|
});
|
|
436
436
|
};
|
|
437
437
|
Gs2WatchRestClient.prototype.describeExchangeNamespaceMetrics = function (request) {
|
|
438
|
-
var _a;
|
|
439
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/exchange/namespace')
|
|
438
|
+
var _a, _b;
|
|
439
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/exchange/namespace')
|
|
440
440
|
.replace('{service}', 'watch')
|
|
441
441
|
.replace('{region}', this.session.region);
|
|
442
442
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -444,7 +444,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
444
444
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
445
445
|
}
|
|
446
446
|
var params = {
|
|
447
|
-
'contextStack': (
|
|
447
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
448
448
|
};
|
|
449
449
|
return axios_1.default.get(url, {
|
|
450
450
|
params: params,
|
|
@@ -456,17 +456,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
456
456
|
});
|
|
457
457
|
};
|
|
458
458
|
Gs2WatchRestClient.prototype.getExchangeNamespaceMetrics = function (request) {
|
|
459
|
-
var _a, _b, _c;
|
|
460
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/exchange/namespace/{namespaceName}')
|
|
459
|
+
var _a, _b, _c, _d;
|
|
460
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/exchange/namespace/{namespaceName}')
|
|
461
461
|
.replace('{service}', 'watch')
|
|
462
462
|
.replace('{region}', this.session.region)
|
|
463
|
-
.replace('{namespaceName}', String((
|
|
463
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
464
464
|
var headers = this.createAuthorizedHeaders();
|
|
465
465
|
if (request.getRequestId()) {
|
|
466
466
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
467
467
|
}
|
|
468
468
|
var params = {
|
|
469
|
-
'contextStack': (
|
|
469
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
470
470
|
};
|
|
471
471
|
return axios_1.default.get(url, {
|
|
472
472
|
params: params,
|
|
@@ -478,18 +478,18 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
478
478
|
});
|
|
479
479
|
};
|
|
480
480
|
Gs2WatchRestClient.prototype.describeExperienceStatusMetrics = function (request) {
|
|
481
|
-
var _a, _b, _c, _d, _e;
|
|
482
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/experience/namespace/{namespaceName}/experienceModel/{experienceName}/status')
|
|
481
|
+
var _a, _b, _c, _d, _e, _f;
|
|
482
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/experience/namespace/{namespaceName}/experienceModel/{experienceName}/status')
|
|
483
483
|
.replace('{service}', 'watch')
|
|
484
484
|
.replace('{region}', this.session.region)
|
|
485
|
-
.replace('{namespaceName}', String((
|
|
486
|
-
.replace('{experienceName}', String((
|
|
485
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
486
|
+
.replace('{experienceName}', String((_d = request.getExperienceName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getExperienceName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
487
487
|
var headers = this.createAuthorizedHeaders();
|
|
488
488
|
if (request.getRequestId()) {
|
|
489
489
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
490
490
|
}
|
|
491
491
|
var params = {
|
|
492
|
-
'contextStack': (
|
|
492
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
493
493
|
};
|
|
494
494
|
return axios_1.default.get(url, {
|
|
495
495
|
params: params,
|
|
@@ -501,17 +501,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
501
501
|
});
|
|
502
502
|
};
|
|
503
503
|
Gs2WatchRestClient.prototype.describeExperienceExperienceModelMetrics = function (request) {
|
|
504
|
-
var _a, _b, _c;
|
|
505
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/experience/namespace/{namespaceName}/experienceModel')
|
|
504
|
+
var _a, _b, _c, _d;
|
|
505
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/experience/namespace/{namespaceName}/experienceModel')
|
|
506
506
|
.replace('{service}', 'watch')
|
|
507
507
|
.replace('{region}', this.session.region)
|
|
508
|
-
.replace('{namespaceName}', String((
|
|
508
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
509
509
|
var headers = this.createAuthorizedHeaders();
|
|
510
510
|
if (request.getRequestId()) {
|
|
511
511
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
512
512
|
}
|
|
513
513
|
var params = {
|
|
514
|
-
'contextStack': (
|
|
514
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
515
515
|
};
|
|
516
516
|
return axios_1.default.get(url, {
|
|
517
517
|
params: params,
|
|
@@ -523,18 +523,18 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
523
523
|
});
|
|
524
524
|
};
|
|
525
525
|
Gs2WatchRestClient.prototype.getExperienceExperienceModelMetrics = function (request) {
|
|
526
|
-
var _a, _b, _c, _d, _e;
|
|
527
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/experience/namespace/{namespaceName}/experienceModel/{experienceName}')
|
|
526
|
+
var _a, _b, _c, _d, _e, _f;
|
|
527
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/experience/namespace/{namespaceName}/experienceModel/{experienceName}')
|
|
528
528
|
.replace('{service}', 'watch')
|
|
529
529
|
.replace('{region}', this.session.region)
|
|
530
|
-
.replace('{namespaceName}', String((
|
|
531
|
-
.replace('{experienceName}', String((
|
|
530
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
531
|
+
.replace('{experienceName}', String((_d = request.getExperienceName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getExperienceName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
532
532
|
var headers = this.createAuthorizedHeaders();
|
|
533
533
|
if (request.getRequestId()) {
|
|
534
534
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
535
535
|
}
|
|
536
536
|
var params = {
|
|
537
|
-
'contextStack': (
|
|
537
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
538
538
|
};
|
|
539
539
|
return axios_1.default.get(url, {
|
|
540
540
|
params: params,
|
|
@@ -546,8 +546,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
546
546
|
});
|
|
547
547
|
};
|
|
548
548
|
Gs2WatchRestClient.prototype.describeExperienceNamespaceMetrics = function (request) {
|
|
549
|
-
var _a;
|
|
550
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/experience/namespace')
|
|
549
|
+
var _a, _b;
|
|
550
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/experience/namespace')
|
|
551
551
|
.replace('{service}', 'watch')
|
|
552
552
|
.replace('{region}', this.session.region);
|
|
553
553
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -555,7 +555,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
555
555
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
556
556
|
}
|
|
557
557
|
var params = {
|
|
558
|
-
'contextStack': (
|
|
558
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
559
559
|
};
|
|
560
560
|
return axios_1.default.get(url, {
|
|
561
561
|
params: params,
|
|
@@ -567,17 +567,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
567
567
|
});
|
|
568
568
|
};
|
|
569
569
|
Gs2WatchRestClient.prototype.getExperienceNamespaceMetrics = function (request) {
|
|
570
|
-
var _a, _b, _c;
|
|
571
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/experience/namespace/{namespaceName}')
|
|
570
|
+
var _a, _b, _c, _d;
|
|
571
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/experience/namespace/{namespaceName}')
|
|
572
572
|
.replace('{service}', 'watch')
|
|
573
573
|
.replace('{region}', this.session.region)
|
|
574
|
-
.replace('{namespaceName}', String((
|
|
574
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
575
575
|
var headers = this.createAuthorizedHeaders();
|
|
576
576
|
if (request.getRequestId()) {
|
|
577
577
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
578
578
|
}
|
|
579
579
|
var params = {
|
|
580
|
-
'contextStack': (
|
|
580
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
581
581
|
};
|
|
582
582
|
return axios_1.default.get(url, {
|
|
583
583
|
params: params,
|
|
@@ -589,18 +589,18 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
589
589
|
});
|
|
590
590
|
};
|
|
591
591
|
Gs2WatchRestClient.prototype.describeFormationFormMetrics = function (request) {
|
|
592
|
-
var _a, _b, _c, _d, _e;
|
|
593
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/formation/namespace/{namespaceName}/mold/{moldModelName}/form')
|
|
592
|
+
var _a, _b, _c, _d, _e, _f;
|
|
593
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/formation/namespace/{namespaceName}/mold/{moldModelName}/form')
|
|
594
594
|
.replace('{service}', 'watch')
|
|
595
595
|
.replace('{region}', this.session.region)
|
|
596
|
-
.replace('{namespaceName}', String((
|
|
597
|
-
.replace('{moldModelName}', String((
|
|
596
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
597
|
+
.replace('{moldModelName}', String((_d = request.getMoldModelName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getMoldModelName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
598
598
|
var headers = this.createAuthorizedHeaders();
|
|
599
599
|
if (request.getRequestId()) {
|
|
600
600
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
601
601
|
}
|
|
602
602
|
var params = {
|
|
603
|
-
'contextStack': (
|
|
603
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
604
604
|
};
|
|
605
605
|
return axios_1.default.get(url, {
|
|
606
606
|
params: params,
|
|
@@ -612,17 +612,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
612
612
|
});
|
|
613
613
|
};
|
|
614
614
|
Gs2WatchRestClient.prototype.describeFormationMoldMetrics = function (request) {
|
|
615
|
-
var _a, _b, _c;
|
|
616
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/formation/namespace/{namespaceName}/mold')
|
|
615
|
+
var _a, _b, _c, _d;
|
|
616
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/formation/namespace/{namespaceName}/mold')
|
|
617
617
|
.replace('{service}', 'watch')
|
|
618
618
|
.replace('{region}', this.session.region)
|
|
619
|
-
.replace('{namespaceName}', String((
|
|
619
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
620
620
|
var headers = this.createAuthorizedHeaders();
|
|
621
621
|
if (request.getRequestId()) {
|
|
622
622
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
623
623
|
}
|
|
624
624
|
var params = {
|
|
625
|
-
'contextStack': (
|
|
625
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
626
626
|
};
|
|
627
627
|
return axios_1.default.get(url, {
|
|
628
628
|
params: params,
|
|
@@ -634,8 +634,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
634
634
|
});
|
|
635
635
|
};
|
|
636
636
|
Gs2WatchRestClient.prototype.describeFormationNamespaceMetrics = function (request) {
|
|
637
|
-
var _a;
|
|
638
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/formation/namespace')
|
|
637
|
+
var _a, _b;
|
|
638
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/formation/namespace')
|
|
639
639
|
.replace('{service}', 'watch')
|
|
640
640
|
.replace('{region}', this.session.region);
|
|
641
641
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -643,7 +643,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
643
643
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
644
644
|
}
|
|
645
645
|
var params = {
|
|
646
|
-
'contextStack': (
|
|
646
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
647
647
|
};
|
|
648
648
|
return axios_1.default.get(url, {
|
|
649
649
|
params: params,
|
|
@@ -655,17 +655,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
655
655
|
});
|
|
656
656
|
};
|
|
657
657
|
Gs2WatchRestClient.prototype.getFormationNamespaceMetrics = function (request) {
|
|
658
|
-
var _a, _b, _c;
|
|
659
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/formation/namespace/{namespaceName}')
|
|
658
|
+
var _a, _b, _c, _d;
|
|
659
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/formation/namespace/{namespaceName}')
|
|
660
660
|
.replace('{service}', 'watch')
|
|
661
661
|
.replace('{region}', this.session.region)
|
|
662
|
-
.replace('{namespaceName}', String((
|
|
662
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
663
663
|
var headers = this.createAuthorizedHeaders();
|
|
664
664
|
if (request.getRequestId()) {
|
|
665
665
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
666
666
|
}
|
|
667
667
|
var params = {
|
|
668
|
-
'contextStack': (
|
|
668
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
669
669
|
};
|
|
670
670
|
return axios_1.default.get(url, {
|
|
671
671
|
params: params,
|
|
@@ -677,8 +677,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
677
677
|
});
|
|
678
678
|
};
|
|
679
679
|
Gs2WatchRestClient.prototype.describeFriendNamespaceMetrics = function (request) {
|
|
680
|
-
var _a;
|
|
681
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/friend/namespace')
|
|
680
|
+
var _a, _b;
|
|
681
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/friend/namespace')
|
|
682
682
|
.replace('{service}', 'watch')
|
|
683
683
|
.replace('{region}', this.session.region);
|
|
684
684
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -686,7 +686,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
686
686
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
687
687
|
}
|
|
688
688
|
var params = {
|
|
689
|
-
'contextStack': (
|
|
689
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
690
690
|
};
|
|
691
691
|
return axios_1.default.get(url, {
|
|
692
692
|
params: params,
|
|
@@ -698,17 +698,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
698
698
|
});
|
|
699
699
|
};
|
|
700
700
|
Gs2WatchRestClient.prototype.getFriendNamespaceMetrics = function (request) {
|
|
701
|
-
var _a, _b, _c;
|
|
702
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/friend/namespace/{namespaceName}')
|
|
701
|
+
var _a, _b, _c, _d;
|
|
702
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/friend/namespace/{namespaceName}')
|
|
703
703
|
.replace('{service}', 'watch')
|
|
704
704
|
.replace('{region}', this.session.region)
|
|
705
|
-
.replace('{namespaceName}', String((
|
|
705
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
706
706
|
var headers = this.createAuthorizedHeaders();
|
|
707
707
|
if (request.getRequestId()) {
|
|
708
708
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
709
709
|
}
|
|
710
710
|
var params = {
|
|
711
|
-
'contextStack': (
|
|
711
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
712
712
|
};
|
|
713
713
|
return axios_1.default.get(url, {
|
|
714
714
|
params: params,
|
|
@@ -720,8 +720,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
720
720
|
});
|
|
721
721
|
};
|
|
722
722
|
Gs2WatchRestClient.prototype.describeInboxNamespaceMetrics = function (request) {
|
|
723
|
-
var _a;
|
|
724
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/inbox/namespace')
|
|
723
|
+
var _a, _b;
|
|
724
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/inbox/namespace')
|
|
725
725
|
.replace('{service}', 'watch')
|
|
726
726
|
.replace('{region}', this.session.region);
|
|
727
727
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -729,7 +729,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
729
729
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
730
730
|
}
|
|
731
731
|
var params = {
|
|
732
|
-
'contextStack': (
|
|
732
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
733
733
|
};
|
|
734
734
|
return axios_1.default.get(url, {
|
|
735
735
|
params: params,
|
|
@@ -741,17 +741,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
741
741
|
});
|
|
742
742
|
};
|
|
743
743
|
Gs2WatchRestClient.prototype.getInboxNamespaceMetrics = function (request) {
|
|
744
|
-
var _a, _b, _c;
|
|
745
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/inbox/namespace/{namespaceName}')
|
|
744
|
+
var _a, _b, _c, _d;
|
|
745
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/inbox/namespace/{namespaceName}')
|
|
746
746
|
.replace('{service}', 'watch')
|
|
747
747
|
.replace('{region}', this.session.region)
|
|
748
|
-
.replace('{namespaceName}', String((
|
|
748
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
749
749
|
var headers = this.createAuthorizedHeaders();
|
|
750
750
|
if (request.getRequestId()) {
|
|
751
751
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
752
752
|
}
|
|
753
753
|
var params = {
|
|
754
|
-
'contextStack': (
|
|
754
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
755
755
|
};
|
|
756
756
|
return axios_1.default.get(url, {
|
|
757
757
|
params: params,
|
|
@@ -763,18 +763,18 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
763
763
|
});
|
|
764
764
|
};
|
|
765
765
|
Gs2WatchRestClient.prototype.describeInventoryItemSetMetrics = function (request) {
|
|
766
|
-
var _a, _b, _c, _d, _e;
|
|
767
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/inventory/namespace/{namespaceName}/inventory/{inventoryName}/itemSet')
|
|
766
|
+
var _a, _b, _c, _d, _e, _f;
|
|
767
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/inventory/namespace/{namespaceName}/inventory/{inventoryName}/itemSet')
|
|
768
768
|
.replace('{service}', 'watch')
|
|
769
769
|
.replace('{region}', this.session.region)
|
|
770
|
-
.replace('{namespaceName}', String((
|
|
771
|
-
.replace('{inventoryName}', String((
|
|
770
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
771
|
+
.replace('{inventoryName}', String((_d = request.getInventoryName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getInventoryName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
772
772
|
var headers = this.createAuthorizedHeaders();
|
|
773
773
|
if (request.getRequestId()) {
|
|
774
774
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
775
775
|
}
|
|
776
776
|
var params = {
|
|
777
|
-
'contextStack': (
|
|
777
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
778
778
|
};
|
|
779
779
|
return axios_1.default.get(url, {
|
|
780
780
|
params: params,
|
|
@@ -786,17 +786,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
786
786
|
});
|
|
787
787
|
};
|
|
788
788
|
Gs2WatchRestClient.prototype.describeInventoryInventoryMetrics = function (request) {
|
|
789
|
-
var _a, _b, _c;
|
|
790
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/inventory/namespace/{namespaceName}/inventory')
|
|
789
|
+
var _a, _b, _c, _d;
|
|
790
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/inventory/namespace/{namespaceName}/inventory')
|
|
791
791
|
.replace('{service}', 'watch')
|
|
792
792
|
.replace('{region}', this.session.region)
|
|
793
|
-
.replace('{namespaceName}', String((
|
|
793
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
794
794
|
var headers = this.createAuthorizedHeaders();
|
|
795
795
|
if (request.getRequestId()) {
|
|
796
796
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
797
797
|
}
|
|
798
798
|
var params = {
|
|
799
|
-
'contextStack': (
|
|
799
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
800
800
|
};
|
|
801
801
|
return axios_1.default.get(url, {
|
|
802
802
|
params: params,
|
|
@@ -808,8 +808,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
808
808
|
});
|
|
809
809
|
};
|
|
810
810
|
Gs2WatchRestClient.prototype.describeInventoryNamespaceMetrics = function (request) {
|
|
811
|
-
var _a;
|
|
812
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/inventory/namespace')
|
|
811
|
+
var _a, _b;
|
|
812
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/inventory/namespace')
|
|
813
813
|
.replace('{service}', 'watch')
|
|
814
814
|
.replace('{region}', this.session.region);
|
|
815
815
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -817,7 +817,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
817
817
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
818
818
|
}
|
|
819
819
|
var params = {
|
|
820
|
-
'contextStack': (
|
|
820
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
821
821
|
};
|
|
822
822
|
return axios_1.default.get(url, {
|
|
823
823
|
params: params,
|
|
@@ -829,17 +829,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
829
829
|
});
|
|
830
830
|
};
|
|
831
831
|
Gs2WatchRestClient.prototype.getInventoryNamespaceMetrics = function (request) {
|
|
832
|
-
var _a, _b, _c;
|
|
833
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/inventory/namespace/{namespaceName}')
|
|
832
|
+
var _a, _b, _c, _d;
|
|
833
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/inventory/namespace/{namespaceName}')
|
|
834
834
|
.replace('{service}', 'watch')
|
|
835
835
|
.replace('{region}', this.session.region)
|
|
836
|
-
.replace('{namespaceName}', String((
|
|
836
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
837
837
|
var headers = this.createAuthorizedHeaders();
|
|
838
838
|
if (request.getRequestId()) {
|
|
839
839
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
840
840
|
}
|
|
841
841
|
var params = {
|
|
842
|
-
'contextStack': (
|
|
842
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
843
843
|
};
|
|
844
844
|
return axios_1.default.get(url, {
|
|
845
845
|
params: params,
|
|
@@ -851,8 +851,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
851
851
|
});
|
|
852
852
|
};
|
|
853
853
|
Gs2WatchRestClient.prototype.describeKeyNamespaceMetrics = function (request) {
|
|
854
|
-
var _a;
|
|
855
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/key/namespace')
|
|
854
|
+
var _a, _b;
|
|
855
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/key/namespace')
|
|
856
856
|
.replace('{service}', 'watch')
|
|
857
857
|
.replace('{region}', this.session.region);
|
|
858
858
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -860,7 +860,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
860
860
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
861
861
|
}
|
|
862
862
|
var params = {
|
|
863
|
-
'contextStack': (
|
|
863
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
864
864
|
};
|
|
865
865
|
return axios_1.default.get(url, {
|
|
866
866
|
params: params,
|
|
@@ -872,17 +872,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
872
872
|
});
|
|
873
873
|
};
|
|
874
874
|
Gs2WatchRestClient.prototype.getKeyNamespaceMetrics = function (request) {
|
|
875
|
-
var _a, _b, _c;
|
|
876
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/key/namespace/{namespaceName}')
|
|
875
|
+
var _a, _b, _c, _d;
|
|
876
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/key/namespace/{namespaceName}')
|
|
877
877
|
.replace('{service}', 'watch')
|
|
878
878
|
.replace('{region}', this.session.region)
|
|
879
|
-
.replace('{namespaceName}', String((
|
|
879
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
880
880
|
var headers = this.createAuthorizedHeaders();
|
|
881
881
|
if (request.getRequestId()) {
|
|
882
882
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
883
883
|
}
|
|
884
884
|
var params = {
|
|
885
|
-
'contextStack': (
|
|
885
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
886
886
|
};
|
|
887
887
|
return axios_1.default.get(url, {
|
|
888
888
|
params: params,
|
|
@@ -894,18 +894,18 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
894
894
|
});
|
|
895
895
|
};
|
|
896
896
|
Gs2WatchRestClient.prototype.describeLimitCounterMetrics = function (request) {
|
|
897
|
-
var _a, _b, _c, _d, _e;
|
|
898
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/limit/namespace/{namespaceName}/limitModel/{limitName}/counter')
|
|
897
|
+
var _a, _b, _c, _d, _e, _f;
|
|
898
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/limit/namespace/{namespaceName}/limitModel/{limitName}/counter')
|
|
899
899
|
.replace('{service}', 'watch')
|
|
900
900
|
.replace('{region}', this.session.region)
|
|
901
|
-
.replace('{namespaceName}', String((
|
|
902
|
-
.replace('{limitName}', String((
|
|
901
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
902
|
+
.replace('{limitName}', String((_d = request.getLimitName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getLimitName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
903
903
|
var headers = this.createAuthorizedHeaders();
|
|
904
904
|
if (request.getRequestId()) {
|
|
905
905
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
906
906
|
}
|
|
907
907
|
var params = {
|
|
908
|
-
'contextStack': (
|
|
908
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
909
909
|
};
|
|
910
910
|
return axios_1.default.get(url, {
|
|
911
911
|
params: params,
|
|
@@ -917,17 +917,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
917
917
|
});
|
|
918
918
|
};
|
|
919
919
|
Gs2WatchRestClient.prototype.describeLimitLimitModelMetrics = function (request) {
|
|
920
|
-
var _a, _b, _c;
|
|
921
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/limit/namespace/{namespaceName}/limitModel')
|
|
920
|
+
var _a, _b, _c, _d;
|
|
921
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/limit/namespace/{namespaceName}/limitModel')
|
|
922
922
|
.replace('{service}', 'watch')
|
|
923
923
|
.replace('{region}', this.session.region)
|
|
924
|
-
.replace('{namespaceName}', String((
|
|
924
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
925
925
|
var headers = this.createAuthorizedHeaders();
|
|
926
926
|
if (request.getRequestId()) {
|
|
927
927
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
928
928
|
}
|
|
929
929
|
var params = {
|
|
930
|
-
'contextStack': (
|
|
930
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
931
931
|
};
|
|
932
932
|
return axios_1.default.get(url, {
|
|
933
933
|
params: params,
|
|
@@ -939,18 +939,18 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
939
939
|
});
|
|
940
940
|
};
|
|
941
941
|
Gs2WatchRestClient.prototype.getLimitLimitModelMetrics = function (request) {
|
|
942
|
-
var _a, _b, _c, _d, _e;
|
|
943
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/limit/namespace/{namespaceName}/limitModel/{limitName}')
|
|
942
|
+
var _a, _b, _c, _d, _e, _f;
|
|
943
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/limit/namespace/{namespaceName}/limitModel/{limitName}')
|
|
944
944
|
.replace('{service}', 'watch')
|
|
945
945
|
.replace('{region}', this.session.region)
|
|
946
|
-
.replace('{namespaceName}', String((
|
|
947
|
-
.replace('{limitName}', String((
|
|
946
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
947
|
+
.replace('{limitName}', String((_d = request.getLimitName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getLimitName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
948
948
|
var headers = this.createAuthorizedHeaders();
|
|
949
949
|
if (request.getRequestId()) {
|
|
950
950
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
951
951
|
}
|
|
952
952
|
var params = {
|
|
953
|
-
'contextStack': (
|
|
953
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
954
954
|
};
|
|
955
955
|
return axios_1.default.get(url, {
|
|
956
956
|
params: params,
|
|
@@ -962,8 +962,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
962
962
|
});
|
|
963
963
|
};
|
|
964
964
|
Gs2WatchRestClient.prototype.describeLimitNamespaceMetrics = function (request) {
|
|
965
|
-
var _a;
|
|
966
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/limit/namespace')
|
|
965
|
+
var _a, _b;
|
|
966
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/limit/namespace')
|
|
967
967
|
.replace('{service}', 'watch')
|
|
968
968
|
.replace('{region}', this.session.region);
|
|
969
969
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -971,7 +971,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
971
971
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
972
972
|
}
|
|
973
973
|
var params = {
|
|
974
|
-
'contextStack': (
|
|
974
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
975
975
|
};
|
|
976
976
|
return axios_1.default.get(url, {
|
|
977
977
|
params: params,
|
|
@@ -983,17 +983,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
983
983
|
});
|
|
984
984
|
};
|
|
985
985
|
Gs2WatchRestClient.prototype.getLimitNamespaceMetrics = function (request) {
|
|
986
|
-
var _a, _b, _c;
|
|
987
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/limit/namespace/{namespaceName}')
|
|
986
|
+
var _a, _b, _c, _d;
|
|
987
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/limit/namespace/{namespaceName}')
|
|
988
988
|
.replace('{service}', 'watch')
|
|
989
989
|
.replace('{region}', this.session.region)
|
|
990
|
-
.replace('{namespaceName}', String((
|
|
990
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
991
991
|
var headers = this.createAuthorizedHeaders();
|
|
992
992
|
if (request.getRequestId()) {
|
|
993
993
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
994
994
|
}
|
|
995
995
|
var params = {
|
|
996
|
-
'contextStack': (
|
|
996
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
997
997
|
};
|
|
998
998
|
return axios_1.default.get(url, {
|
|
999
999
|
params: params,
|
|
@@ -1005,17 +1005,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1005
1005
|
});
|
|
1006
1006
|
};
|
|
1007
1007
|
Gs2WatchRestClient.prototype.describeLotteryLotteryMetrics = function (request) {
|
|
1008
|
-
var _a, _b, _c;
|
|
1009
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/lottery/namespace/{namespaceName}/lottery')
|
|
1008
|
+
var _a, _b, _c, _d;
|
|
1009
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/lottery/namespace/{namespaceName}/lottery')
|
|
1010
1010
|
.replace('{service}', 'watch')
|
|
1011
1011
|
.replace('{region}', this.session.region)
|
|
1012
|
-
.replace('{namespaceName}', String((
|
|
1012
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1013
1013
|
var headers = this.createAuthorizedHeaders();
|
|
1014
1014
|
if (request.getRequestId()) {
|
|
1015
1015
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1016
1016
|
}
|
|
1017
1017
|
var params = {
|
|
1018
|
-
'contextStack': (
|
|
1018
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1019
1019
|
};
|
|
1020
1020
|
return axios_1.default.get(url, {
|
|
1021
1021
|
params: params,
|
|
@@ -1027,18 +1027,18 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1027
1027
|
});
|
|
1028
1028
|
};
|
|
1029
1029
|
Gs2WatchRestClient.prototype.getLotteryLotteryMetrics = function (request) {
|
|
1030
|
-
var _a, _b, _c, _d, _e;
|
|
1031
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/lottery/namespace/{namespaceName}/lotteryModel/{lotteryName}')
|
|
1030
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1031
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/lottery/namespace/{namespaceName}/lotteryModel/{lotteryName}')
|
|
1032
1032
|
.replace('{service}', 'watch')
|
|
1033
1033
|
.replace('{region}', this.session.region)
|
|
1034
|
-
.replace('{namespaceName}', String((
|
|
1035
|
-
.replace('{lotteryName}', String((
|
|
1034
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1035
|
+
.replace('{lotteryName}', String((_d = request.getLotteryName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getLotteryName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1036
1036
|
var headers = this.createAuthorizedHeaders();
|
|
1037
1037
|
if (request.getRequestId()) {
|
|
1038
1038
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1039
1039
|
}
|
|
1040
1040
|
var params = {
|
|
1041
|
-
'contextStack': (
|
|
1041
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1042
1042
|
};
|
|
1043
1043
|
return axios_1.default.get(url, {
|
|
1044
1044
|
params: params,
|
|
@@ -1050,8 +1050,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1050
1050
|
});
|
|
1051
1051
|
};
|
|
1052
1052
|
Gs2WatchRestClient.prototype.describeLotteryNamespaceMetrics = function (request) {
|
|
1053
|
-
var _a;
|
|
1054
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/lottery/namespace')
|
|
1053
|
+
var _a, _b;
|
|
1054
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/lottery/namespace')
|
|
1055
1055
|
.replace('{service}', 'watch')
|
|
1056
1056
|
.replace('{region}', this.session.region);
|
|
1057
1057
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -1059,7 +1059,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1059
1059
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1060
1060
|
}
|
|
1061
1061
|
var params = {
|
|
1062
|
-
'contextStack': (
|
|
1062
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
1063
1063
|
};
|
|
1064
1064
|
return axios_1.default.get(url, {
|
|
1065
1065
|
params: params,
|
|
@@ -1071,17 +1071,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1071
1071
|
});
|
|
1072
1072
|
};
|
|
1073
1073
|
Gs2WatchRestClient.prototype.getLotteryNamespaceMetrics = function (request) {
|
|
1074
|
-
var _a, _b, _c;
|
|
1075
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/lottery/namespace/{namespaceName}')
|
|
1074
|
+
var _a, _b, _c, _d;
|
|
1075
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/lottery/namespace/{namespaceName}')
|
|
1076
1076
|
.replace('{service}', 'watch')
|
|
1077
1077
|
.replace('{region}', this.session.region)
|
|
1078
|
-
.replace('{namespaceName}', String((
|
|
1078
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1079
1079
|
var headers = this.createAuthorizedHeaders();
|
|
1080
1080
|
if (request.getRequestId()) {
|
|
1081
1081
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1082
1082
|
}
|
|
1083
1083
|
var params = {
|
|
1084
|
-
'contextStack': (
|
|
1084
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1085
1085
|
};
|
|
1086
1086
|
return axios_1.default.get(url, {
|
|
1087
1087
|
params: params,
|
|
@@ -1093,8 +1093,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1093
1093
|
});
|
|
1094
1094
|
};
|
|
1095
1095
|
Gs2WatchRestClient.prototype.describeMatchmakingNamespaceMetrics = function (request) {
|
|
1096
|
-
var _a;
|
|
1097
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/matchmaking/namespace')
|
|
1096
|
+
var _a, _b;
|
|
1097
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/matchmaking/namespace')
|
|
1098
1098
|
.replace('{service}', 'watch')
|
|
1099
1099
|
.replace('{region}', this.session.region);
|
|
1100
1100
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -1102,7 +1102,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1102
1102
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1103
1103
|
}
|
|
1104
1104
|
var params = {
|
|
1105
|
-
'contextStack': (
|
|
1105
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
1106
1106
|
};
|
|
1107
1107
|
return axios_1.default.get(url, {
|
|
1108
1108
|
params: params,
|
|
@@ -1114,17 +1114,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1114
1114
|
});
|
|
1115
1115
|
};
|
|
1116
1116
|
Gs2WatchRestClient.prototype.getMatchmakingNamespaceMetrics = function (request) {
|
|
1117
|
-
var _a, _b, _c;
|
|
1118
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/matchmaking/namespace/{namespaceName}')
|
|
1117
|
+
var _a, _b, _c, _d;
|
|
1118
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/matchmaking/namespace/{namespaceName}')
|
|
1119
1119
|
.replace('{service}', 'watch')
|
|
1120
1120
|
.replace('{region}', this.session.region)
|
|
1121
|
-
.replace('{namespaceName}', String((
|
|
1121
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1122
1122
|
var headers = this.createAuthorizedHeaders();
|
|
1123
1123
|
if (request.getRequestId()) {
|
|
1124
1124
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1125
1125
|
}
|
|
1126
1126
|
var params = {
|
|
1127
|
-
'contextStack': (
|
|
1127
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1128
1128
|
};
|
|
1129
1129
|
return axios_1.default.get(url, {
|
|
1130
1130
|
params: params,
|
|
@@ -1136,17 +1136,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1136
1136
|
});
|
|
1137
1137
|
};
|
|
1138
1138
|
Gs2WatchRestClient.prototype.describeMissionCounterMetrics = function (request) {
|
|
1139
|
-
var _a, _b, _c;
|
|
1140
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/mission/namespace/{namespaceName}/counter')
|
|
1139
|
+
var _a, _b, _c, _d;
|
|
1140
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/mission/namespace/{namespaceName}/counter')
|
|
1141
1141
|
.replace('{service}', 'watch')
|
|
1142
1142
|
.replace('{region}', this.session.region)
|
|
1143
|
-
.replace('{namespaceName}', String((
|
|
1143
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1144
1144
|
var headers = this.createAuthorizedHeaders();
|
|
1145
1145
|
if (request.getRequestId()) {
|
|
1146
1146
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1147
1147
|
}
|
|
1148
1148
|
var params = {
|
|
1149
|
-
'contextStack': (
|
|
1149
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1150
1150
|
};
|
|
1151
1151
|
return axios_1.default.get(url, {
|
|
1152
1152
|
params: params,
|
|
@@ -1158,17 +1158,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1158
1158
|
});
|
|
1159
1159
|
};
|
|
1160
1160
|
Gs2WatchRestClient.prototype.describeMissionMissionGroupModelMetrics = function (request) {
|
|
1161
|
-
var _a, _b, _c;
|
|
1162
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/mission/namespace/{namespaceName}/missionGroupModel')
|
|
1161
|
+
var _a, _b, _c, _d;
|
|
1162
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/mission/namespace/{namespaceName}/missionGroupModel')
|
|
1163
1163
|
.replace('{service}', 'watch')
|
|
1164
1164
|
.replace('{region}', this.session.region)
|
|
1165
|
-
.replace('{namespaceName}', String((
|
|
1165
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1166
1166
|
var headers = this.createAuthorizedHeaders();
|
|
1167
1167
|
if (request.getRequestId()) {
|
|
1168
1168
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1169
1169
|
}
|
|
1170
1170
|
var params = {
|
|
1171
|
-
'contextStack': (
|
|
1171
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1172
1172
|
};
|
|
1173
1173
|
return axios_1.default.get(url, {
|
|
1174
1174
|
params: params,
|
|
@@ -1180,18 +1180,18 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1180
1180
|
});
|
|
1181
1181
|
};
|
|
1182
1182
|
Gs2WatchRestClient.prototype.getMissionMissionGroupModelMetrics = function (request) {
|
|
1183
|
-
var _a, _b, _c, _d, _e;
|
|
1184
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/mission/namespace/{namespaceName}/missionGroupModel/{missionGroupName}')
|
|
1183
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1184
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/mission/namespace/{namespaceName}/missionGroupModel/{missionGroupName}')
|
|
1185
1185
|
.replace('{service}', 'watch')
|
|
1186
1186
|
.replace('{region}', this.session.region)
|
|
1187
|
-
.replace('{namespaceName}', String((
|
|
1188
|
-
.replace('{missionGroupName}', String((
|
|
1187
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1188
|
+
.replace('{missionGroupName}', String((_d = request.getMissionGroupName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getMissionGroupName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1189
1189
|
var headers = this.createAuthorizedHeaders();
|
|
1190
1190
|
if (request.getRequestId()) {
|
|
1191
1191
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1192
1192
|
}
|
|
1193
1193
|
var params = {
|
|
1194
|
-
'contextStack': (
|
|
1194
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1195
1195
|
};
|
|
1196
1196
|
return axios_1.default.get(url, {
|
|
1197
1197
|
params: params,
|
|
@@ -1203,8 +1203,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1203
1203
|
});
|
|
1204
1204
|
};
|
|
1205
1205
|
Gs2WatchRestClient.prototype.describeMissionNamespaceMetrics = function (request) {
|
|
1206
|
-
var _a;
|
|
1207
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/mission/namespace')
|
|
1206
|
+
var _a, _b;
|
|
1207
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/mission/namespace')
|
|
1208
1208
|
.replace('{service}', 'watch')
|
|
1209
1209
|
.replace('{region}', this.session.region);
|
|
1210
1210
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -1212,7 +1212,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1212
1212
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1213
1213
|
}
|
|
1214
1214
|
var params = {
|
|
1215
|
-
'contextStack': (
|
|
1215
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
1216
1216
|
};
|
|
1217
1217
|
return axios_1.default.get(url, {
|
|
1218
1218
|
params: params,
|
|
@@ -1224,17 +1224,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1224
1224
|
});
|
|
1225
1225
|
};
|
|
1226
1226
|
Gs2WatchRestClient.prototype.getMissionNamespaceMetrics = function (request) {
|
|
1227
|
-
var _a, _b, _c;
|
|
1228
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/mission/namespace/{namespaceName}')
|
|
1227
|
+
var _a, _b, _c, _d;
|
|
1228
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/mission/namespace/{namespaceName}')
|
|
1229
1229
|
.replace('{service}', 'watch')
|
|
1230
1230
|
.replace('{region}', this.session.region)
|
|
1231
|
-
.replace('{namespaceName}', String((
|
|
1231
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1232
1232
|
var headers = this.createAuthorizedHeaders();
|
|
1233
1233
|
if (request.getRequestId()) {
|
|
1234
1234
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1235
1235
|
}
|
|
1236
1236
|
var params = {
|
|
1237
|
-
'contextStack': (
|
|
1237
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1238
1238
|
};
|
|
1239
1239
|
return axios_1.default.get(url, {
|
|
1240
1240
|
params: params,
|
|
@@ -1246,17 +1246,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1246
1246
|
});
|
|
1247
1247
|
};
|
|
1248
1248
|
Gs2WatchRestClient.prototype.describeMoneyWalletMetrics = function (request) {
|
|
1249
|
-
var _a, _b, _c;
|
|
1250
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/money/namespace/{namespaceName}/wallet')
|
|
1249
|
+
var _a, _b, _c, _d;
|
|
1250
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/money/namespace/{namespaceName}/wallet')
|
|
1251
1251
|
.replace('{service}', 'watch')
|
|
1252
1252
|
.replace('{region}', this.session.region)
|
|
1253
|
-
.replace('{namespaceName}', String((
|
|
1253
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1254
1254
|
var headers = this.createAuthorizedHeaders();
|
|
1255
1255
|
if (request.getRequestId()) {
|
|
1256
1256
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1257
1257
|
}
|
|
1258
1258
|
var params = {
|
|
1259
|
-
'contextStack': (
|
|
1259
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1260
1260
|
};
|
|
1261
1261
|
return axios_1.default.get(url, {
|
|
1262
1262
|
params: params,
|
|
@@ -1268,17 +1268,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1268
1268
|
});
|
|
1269
1269
|
};
|
|
1270
1270
|
Gs2WatchRestClient.prototype.describeMoneyReceiptMetrics = function (request) {
|
|
1271
|
-
var _a, _b, _c;
|
|
1272
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/money/namespace/{namespaceName}/receipt')
|
|
1271
|
+
var _a, _b, _c, _d;
|
|
1272
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/money/namespace/{namespaceName}/receipt')
|
|
1273
1273
|
.replace('{service}', 'watch')
|
|
1274
1274
|
.replace('{region}', this.session.region)
|
|
1275
|
-
.replace('{namespaceName}', String((
|
|
1275
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1276
1276
|
var headers = this.createAuthorizedHeaders();
|
|
1277
1277
|
if (request.getRequestId()) {
|
|
1278
1278
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1279
1279
|
}
|
|
1280
1280
|
var params = {
|
|
1281
|
-
'contextStack': (
|
|
1281
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1282
1282
|
};
|
|
1283
1283
|
return axios_1.default.get(url, {
|
|
1284
1284
|
params: params,
|
|
@@ -1290,8 +1290,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1290
1290
|
});
|
|
1291
1291
|
};
|
|
1292
1292
|
Gs2WatchRestClient.prototype.describeMoneyNamespaceMetrics = function (request) {
|
|
1293
|
-
var _a;
|
|
1294
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/money/namespace')
|
|
1293
|
+
var _a, _b;
|
|
1294
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/money/namespace')
|
|
1295
1295
|
.replace('{service}', 'watch')
|
|
1296
1296
|
.replace('{region}', this.session.region);
|
|
1297
1297
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -1299,7 +1299,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1299
1299
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1300
1300
|
}
|
|
1301
1301
|
var params = {
|
|
1302
|
-
'contextStack': (
|
|
1302
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
1303
1303
|
};
|
|
1304
1304
|
return axios_1.default.get(url, {
|
|
1305
1305
|
params: params,
|
|
@@ -1311,17 +1311,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1311
1311
|
});
|
|
1312
1312
|
};
|
|
1313
1313
|
Gs2WatchRestClient.prototype.getMoneyNamespaceMetrics = function (request) {
|
|
1314
|
-
var _a, _b, _c;
|
|
1315
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/money/namespace/{namespaceName}')
|
|
1314
|
+
var _a, _b, _c, _d;
|
|
1315
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/money/namespace/{namespaceName}')
|
|
1316
1316
|
.replace('{service}', 'watch')
|
|
1317
1317
|
.replace('{region}', this.session.region)
|
|
1318
|
-
.replace('{namespaceName}', String((
|
|
1318
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1319
1319
|
var headers = this.createAuthorizedHeaders();
|
|
1320
1320
|
if (request.getRequestId()) {
|
|
1321
1321
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1322
1322
|
}
|
|
1323
1323
|
var params = {
|
|
1324
|
-
'contextStack': (
|
|
1324
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1325
1325
|
};
|
|
1326
1326
|
return axios_1.default.get(url, {
|
|
1327
1327
|
params: params,
|
|
@@ -1333,18 +1333,18 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1333
1333
|
});
|
|
1334
1334
|
};
|
|
1335
1335
|
Gs2WatchRestClient.prototype.describeQuestQuestModelMetrics = function (request) {
|
|
1336
|
-
var _a, _b, _c, _d, _e;
|
|
1337
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/quest/namespace/{namespaceName}/questGroupModel/{questGroupName}/questModel')
|
|
1336
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1337
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/quest/namespace/{namespaceName}/questGroupModel/{questGroupName}/questModel')
|
|
1338
1338
|
.replace('{service}', 'watch')
|
|
1339
1339
|
.replace('{region}', this.session.region)
|
|
1340
|
-
.replace('{namespaceName}', String((
|
|
1341
|
-
.replace('{questGroupName}', String((
|
|
1340
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1341
|
+
.replace('{questGroupName}', String((_d = request.getQuestGroupName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getQuestGroupName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1342
1342
|
var headers = this.createAuthorizedHeaders();
|
|
1343
1343
|
if (request.getRequestId()) {
|
|
1344
1344
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1345
1345
|
}
|
|
1346
1346
|
var params = {
|
|
1347
|
-
'contextStack': (
|
|
1347
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1348
1348
|
};
|
|
1349
1349
|
return axios_1.default.get(url, {
|
|
1350
1350
|
params: params,
|
|
@@ -1356,19 +1356,19 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1356
1356
|
});
|
|
1357
1357
|
};
|
|
1358
1358
|
Gs2WatchRestClient.prototype.getQuestQuestModelMetrics = function (request) {
|
|
1359
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
1360
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/quest/namespace/{namespaceName}/questGroupModel/{questGroupName}/questModel/{questName}')
|
|
1359
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1360
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/quest/namespace/{namespaceName}/questGroupModel/{questGroupName}/questModel/{questName}')
|
|
1361
1361
|
.replace('{service}', 'watch')
|
|
1362
1362
|
.replace('{region}', this.session.region)
|
|
1363
|
-
.replace('{namespaceName}', String((
|
|
1364
|
-
.replace('{questGroupName}', String((
|
|
1365
|
-
.replace('{questName}', String((
|
|
1363
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1364
|
+
.replace('{questGroupName}', String((_d = request.getQuestGroupName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getQuestGroupName()) !== null && _e !== void 0 ? _e : 'null'))
|
|
1365
|
+
.replace('{questName}', String((_f = request.getQuestName()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getQuestName()) !== null && _g !== void 0 ? _g : 'null'));
|
|
1366
1366
|
var headers = this.createAuthorizedHeaders();
|
|
1367
1367
|
if (request.getRequestId()) {
|
|
1368
1368
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1369
1369
|
}
|
|
1370
1370
|
var params = {
|
|
1371
|
-
'contextStack': (
|
|
1371
|
+
'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
|
|
1372
1372
|
};
|
|
1373
1373
|
return axios_1.default.get(url, {
|
|
1374
1374
|
params: params,
|
|
@@ -1380,17 +1380,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1380
1380
|
});
|
|
1381
1381
|
};
|
|
1382
1382
|
Gs2WatchRestClient.prototype.describeQuestQuestGroupModelMetrics = function (request) {
|
|
1383
|
-
var _a, _b, _c;
|
|
1384
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/quest/namespace/{namespaceName}/questGroupModel')
|
|
1383
|
+
var _a, _b, _c, _d;
|
|
1384
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/quest/namespace/{namespaceName}/questGroupModel')
|
|
1385
1385
|
.replace('{service}', 'watch')
|
|
1386
1386
|
.replace('{region}', this.session.region)
|
|
1387
|
-
.replace('{namespaceName}', String((
|
|
1387
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1388
1388
|
var headers = this.createAuthorizedHeaders();
|
|
1389
1389
|
if (request.getRequestId()) {
|
|
1390
1390
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1391
1391
|
}
|
|
1392
1392
|
var params = {
|
|
1393
|
-
'contextStack': (
|
|
1393
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1394
1394
|
};
|
|
1395
1395
|
return axios_1.default.get(url, {
|
|
1396
1396
|
params: params,
|
|
@@ -1402,18 +1402,18 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1402
1402
|
});
|
|
1403
1403
|
};
|
|
1404
1404
|
Gs2WatchRestClient.prototype.getQuestQuestGroupModelMetrics = function (request) {
|
|
1405
|
-
var _a, _b, _c, _d, _e;
|
|
1406
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/quest/namespace/{namespaceName}/questGroupModel/{questGroupName}')
|
|
1405
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1406
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/quest/namespace/{namespaceName}/questGroupModel/{questGroupName}')
|
|
1407
1407
|
.replace('{service}', 'watch')
|
|
1408
1408
|
.replace('{region}', this.session.region)
|
|
1409
|
-
.replace('{namespaceName}', String((
|
|
1410
|
-
.replace('{questGroupName}', String((
|
|
1409
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1410
|
+
.replace('{questGroupName}', String((_d = request.getQuestGroupName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getQuestGroupName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1411
1411
|
var headers = this.createAuthorizedHeaders();
|
|
1412
1412
|
if (request.getRequestId()) {
|
|
1413
1413
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1414
1414
|
}
|
|
1415
1415
|
var params = {
|
|
1416
|
-
'contextStack': (
|
|
1416
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1417
1417
|
};
|
|
1418
1418
|
return axios_1.default.get(url, {
|
|
1419
1419
|
params: params,
|
|
@@ -1425,8 +1425,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1425
1425
|
});
|
|
1426
1426
|
};
|
|
1427
1427
|
Gs2WatchRestClient.prototype.describeQuestNamespaceMetrics = function (request) {
|
|
1428
|
-
var _a;
|
|
1429
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/quest/namespace')
|
|
1428
|
+
var _a, _b;
|
|
1429
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/quest/namespace')
|
|
1430
1430
|
.replace('{service}', 'watch')
|
|
1431
1431
|
.replace('{region}', this.session.region);
|
|
1432
1432
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -1434,7 +1434,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1434
1434
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1435
1435
|
}
|
|
1436
1436
|
var params = {
|
|
1437
|
-
'contextStack': (
|
|
1437
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
1438
1438
|
};
|
|
1439
1439
|
return axios_1.default.get(url, {
|
|
1440
1440
|
params: params,
|
|
@@ -1446,17 +1446,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1446
1446
|
});
|
|
1447
1447
|
};
|
|
1448
1448
|
Gs2WatchRestClient.prototype.getQuestNamespaceMetrics = function (request) {
|
|
1449
|
-
var _a, _b, _c;
|
|
1450
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/quest/namespace/{namespaceName}')
|
|
1449
|
+
var _a, _b, _c, _d;
|
|
1450
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/quest/namespace/{namespaceName}')
|
|
1451
1451
|
.replace('{service}', 'watch')
|
|
1452
1452
|
.replace('{region}', this.session.region)
|
|
1453
|
-
.replace('{namespaceName}', String((
|
|
1453
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1454
1454
|
var headers = this.createAuthorizedHeaders();
|
|
1455
1455
|
if (request.getRequestId()) {
|
|
1456
1456
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1457
1457
|
}
|
|
1458
1458
|
var params = {
|
|
1459
|
-
'contextStack': (
|
|
1459
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1460
1460
|
};
|
|
1461
1461
|
return axios_1.default.get(url, {
|
|
1462
1462
|
params: params,
|
|
@@ -1468,17 +1468,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1468
1468
|
});
|
|
1469
1469
|
};
|
|
1470
1470
|
Gs2WatchRestClient.prototype.describeRankingCategoryModelMetrics = function (request) {
|
|
1471
|
-
var _a, _b, _c;
|
|
1472
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/ranking/namespace/{namespaceName}/categoryModel')
|
|
1471
|
+
var _a, _b, _c, _d;
|
|
1472
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/ranking/namespace/{namespaceName}/categoryModel')
|
|
1473
1473
|
.replace('{service}', 'watch')
|
|
1474
1474
|
.replace('{region}', this.session.region)
|
|
1475
|
-
.replace('{namespaceName}', String((
|
|
1475
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1476
1476
|
var headers = this.createAuthorizedHeaders();
|
|
1477
1477
|
if (request.getRequestId()) {
|
|
1478
1478
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1479
1479
|
}
|
|
1480
1480
|
var params = {
|
|
1481
|
-
'contextStack': (
|
|
1481
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1482
1482
|
};
|
|
1483
1483
|
return axios_1.default.get(url, {
|
|
1484
1484
|
params: params,
|
|
@@ -1490,18 +1490,18 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1490
1490
|
});
|
|
1491
1491
|
};
|
|
1492
1492
|
Gs2WatchRestClient.prototype.getRankingCategoryModelMetrics = function (request) {
|
|
1493
|
-
var _a, _b, _c, _d, _e;
|
|
1494
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/ranking/namespace/{namespaceName}/categoryModel/{categoryName}')
|
|
1493
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1494
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/ranking/namespace/{namespaceName}/categoryModel/{categoryName}')
|
|
1495
1495
|
.replace('{service}', 'watch')
|
|
1496
1496
|
.replace('{region}', this.session.region)
|
|
1497
|
-
.replace('{namespaceName}', String((
|
|
1498
|
-
.replace('{categoryName}', String((
|
|
1497
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1498
|
+
.replace('{categoryName}', String((_d = request.getCategoryName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getCategoryName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1499
1499
|
var headers = this.createAuthorizedHeaders();
|
|
1500
1500
|
if (request.getRequestId()) {
|
|
1501
1501
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1502
1502
|
}
|
|
1503
1503
|
var params = {
|
|
1504
|
-
'contextStack': (
|
|
1504
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1505
1505
|
};
|
|
1506
1506
|
return axios_1.default.get(url, {
|
|
1507
1507
|
params: params,
|
|
@@ -1513,8 +1513,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1513
1513
|
});
|
|
1514
1514
|
};
|
|
1515
1515
|
Gs2WatchRestClient.prototype.describeRankingNamespaceMetrics = function (request) {
|
|
1516
|
-
var _a;
|
|
1517
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/ranking/namespace')
|
|
1516
|
+
var _a, _b;
|
|
1517
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/ranking/namespace')
|
|
1518
1518
|
.replace('{service}', 'watch')
|
|
1519
1519
|
.replace('{region}', this.session.region);
|
|
1520
1520
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -1522,7 +1522,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1522
1522
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1523
1523
|
}
|
|
1524
1524
|
var params = {
|
|
1525
|
-
'contextStack': (
|
|
1525
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
1526
1526
|
};
|
|
1527
1527
|
return axios_1.default.get(url, {
|
|
1528
1528
|
params: params,
|
|
@@ -1534,17 +1534,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1534
1534
|
});
|
|
1535
1535
|
};
|
|
1536
1536
|
Gs2WatchRestClient.prototype.getRankingNamespaceMetrics = function (request) {
|
|
1537
|
-
var _a, _b, _c;
|
|
1538
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/ranking/namespace/{namespaceName}')
|
|
1537
|
+
var _a, _b, _c, _d;
|
|
1538
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/ranking/namespace/{namespaceName}')
|
|
1539
1539
|
.replace('{service}', 'watch')
|
|
1540
1540
|
.replace('{region}', this.session.region)
|
|
1541
|
-
.replace('{namespaceName}', String((
|
|
1541
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1542
1542
|
var headers = this.createAuthorizedHeaders();
|
|
1543
1543
|
if (request.getRequestId()) {
|
|
1544
1544
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1545
1545
|
}
|
|
1546
1546
|
var params = {
|
|
1547
|
-
'contextStack': (
|
|
1547
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1548
1548
|
};
|
|
1549
1549
|
return axios_1.default.get(url, {
|
|
1550
1550
|
params: params,
|
|
@@ -1556,18 +1556,18 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1556
1556
|
});
|
|
1557
1557
|
};
|
|
1558
1558
|
Gs2WatchRestClient.prototype.describeShowcaseDisplayItemMetrics = function (request) {
|
|
1559
|
-
var _a, _b, _c, _d, _e;
|
|
1560
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/showcase/namespace/{namespaceName}/showcase/{showcaseName}/displayItem')
|
|
1559
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1560
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/showcase/namespace/{namespaceName}/showcase/{showcaseName}/displayItem')
|
|
1561
1561
|
.replace('{service}', 'watch')
|
|
1562
1562
|
.replace('{region}', this.session.region)
|
|
1563
|
-
.replace('{namespaceName}', String((
|
|
1564
|
-
.replace('{showcaseName}', String((
|
|
1563
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1564
|
+
.replace('{showcaseName}', String((_d = request.getShowcaseName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getShowcaseName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1565
1565
|
var headers = this.createAuthorizedHeaders();
|
|
1566
1566
|
if (request.getRequestId()) {
|
|
1567
1567
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1568
1568
|
}
|
|
1569
1569
|
var params = {
|
|
1570
|
-
'contextStack': (
|
|
1570
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1571
1571
|
};
|
|
1572
1572
|
return axios_1.default.get(url, {
|
|
1573
1573
|
params: params,
|
|
@@ -1579,19 +1579,19 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1579
1579
|
});
|
|
1580
1580
|
};
|
|
1581
1581
|
Gs2WatchRestClient.prototype.getShowcaseDisplayItemMetrics = function (request) {
|
|
1582
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
1583
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/showcase/namespace/{namespaceName}/showcase/{showcaseName}/displayItem/{displayItemId}')
|
|
1582
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1583
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/showcase/namespace/{namespaceName}/showcase/{showcaseName}/displayItem/{displayItemId}')
|
|
1584
1584
|
.replace('{service}', 'watch')
|
|
1585
1585
|
.replace('{region}', this.session.region)
|
|
1586
|
-
.replace('{namespaceName}', String((
|
|
1587
|
-
.replace('{showcaseName}', String((
|
|
1588
|
-
.replace('{displayItemId}', String((
|
|
1586
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1587
|
+
.replace('{showcaseName}', String((_d = request.getShowcaseName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getShowcaseName()) !== null && _e !== void 0 ? _e : 'null'))
|
|
1588
|
+
.replace('{displayItemId}', String((_f = request.getDisplayItemId()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getDisplayItemId()) !== null && _g !== void 0 ? _g : 'null'));
|
|
1589
1589
|
var headers = this.createAuthorizedHeaders();
|
|
1590
1590
|
if (request.getRequestId()) {
|
|
1591
1591
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1592
1592
|
}
|
|
1593
1593
|
var params = {
|
|
1594
|
-
'contextStack': (
|
|
1594
|
+
'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
|
|
1595
1595
|
};
|
|
1596
1596
|
return axios_1.default.get(url, {
|
|
1597
1597
|
params: params,
|
|
@@ -1603,17 +1603,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1603
1603
|
});
|
|
1604
1604
|
};
|
|
1605
1605
|
Gs2WatchRestClient.prototype.describeShowcaseShowcaseMetrics = function (request) {
|
|
1606
|
-
var _a, _b, _c;
|
|
1607
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/showcase/namespace/{namespaceName}/showcase')
|
|
1606
|
+
var _a, _b, _c, _d;
|
|
1607
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/showcase/namespace/{namespaceName}/showcase')
|
|
1608
1608
|
.replace('{service}', 'watch')
|
|
1609
1609
|
.replace('{region}', this.session.region)
|
|
1610
|
-
.replace('{namespaceName}', String((
|
|
1610
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1611
1611
|
var headers = this.createAuthorizedHeaders();
|
|
1612
1612
|
if (request.getRequestId()) {
|
|
1613
1613
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1614
1614
|
}
|
|
1615
1615
|
var params = {
|
|
1616
|
-
'contextStack': (
|
|
1616
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1617
1617
|
};
|
|
1618
1618
|
return axios_1.default.get(url, {
|
|
1619
1619
|
params: params,
|
|
@@ -1625,18 +1625,18 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1625
1625
|
});
|
|
1626
1626
|
};
|
|
1627
1627
|
Gs2WatchRestClient.prototype.getShowcaseShowcaseMetrics = function (request) {
|
|
1628
|
-
var _a, _b, _c, _d, _e;
|
|
1629
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/showcase/namespace/{namespaceName}/showcase/{showcaseName}')
|
|
1628
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1629
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/showcase/namespace/{namespaceName}/showcase/{showcaseName}')
|
|
1630
1630
|
.replace('{service}', 'watch')
|
|
1631
1631
|
.replace('{region}', this.session.region)
|
|
1632
|
-
.replace('{namespaceName}', String((
|
|
1633
|
-
.replace('{showcaseName}', String((
|
|
1632
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1633
|
+
.replace('{showcaseName}', String((_d = request.getShowcaseName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getShowcaseName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1634
1634
|
var headers = this.createAuthorizedHeaders();
|
|
1635
1635
|
if (request.getRequestId()) {
|
|
1636
1636
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1637
1637
|
}
|
|
1638
1638
|
var params = {
|
|
1639
|
-
'contextStack': (
|
|
1639
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1640
1640
|
};
|
|
1641
1641
|
return axios_1.default.get(url, {
|
|
1642
1642
|
params: params,
|
|
@@ -1648,8 +1648,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1648
1648
|
});
|
|
1649
1649
|
};
|
|
1650
1650
|
Gs2WatchRestClient.prototype.describeShowcaseNamespaceMetrics = function (request) {
|
|
1651
|
-
var _a;
|
|
1652
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/showcase/namespace')
|
|
1651
|
+
var _a, _b;
|
|
1652
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/showcase/namespace')
|
|
1653
1653
|
.replace('{service}', 'watch')
|
|
1654
1654
|
.replace('{region}', this.session.region);
|
|
1655
1655
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -1657,7 +1657,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1657
1657
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1658
1658
|
}
|
|
1659
1659
|
var params = {
|
|
1660
|
-
'contextStack': (
|
|
1660
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
1661
1661
|
};
|
|
1662
1662
|
return axios_1.default.get(url, {
|
|
1663
1663
|
params: params,
|
|
@@ -1669,17 +1669,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1669
1669
|
});
|
|
1670
1670
|
};
|
|
1671
1671
|
Gs2WatchRestClient.prototype.getShowcaseNamespaceMetrics = function (request) {
|
|
1672
|
-
var _a, _b, _c;
|
|
1673
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/showcase/namespace/{namespaceName}')
|
|
1672
|
+
var _a, _b, _c, _d;
|
|
1673
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/showcase/namespace/{namespaceName}')
|
|
1674
1674
|
.replace('{service}', 'watch')
|
|
1675
1675
|
.replace('{region}', this.session.region)
|
|
1676
|
-
.replace('{namespaceName}', String((
|
|
1676
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1677
1677
|
var headers = this.createAuthorizedHeaders();
|
|
1678
1678
|
if (request.getRequestId()) {
|
|
1679
1679
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1680
1680
|
}
|
|
1681
1681
|
var params = {
|
|
1682
|
-
'contextStack': (
|
|
1682
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1683
1683
|
};
|
|
1684
1684
|
return axios_1.default.get(url, {
|
|
1685
1685
|
params: params,
|
|
@@ -1691,17 +1691,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1691
1691
|
});
|
|
1692
1692
|
};
|
|
1693
1693
|
Gs2WatchRestClient.prototype.describeStaminaStaminaModelMetrics = function (request) {
|
|
1694
|
-
var _a, _b, _c;
|
|
1695
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/stamina/namespace/{namespaceName}/staminaModel')
|
|
1694
|
+
var _a, _b, _c, _d;
|
|
1695
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/stamina/namespace/{namespaceName}/staminaModel')
|
|
1696
1696
|
.replace('{service}', 'watch')
|
|
1697
1697
|
.replace('{region}', this.session.region)
|
|
1698
|
-
.replace('{namespaceName}', String((
|
|
1698
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1699
1699
|
var headers = this.createAuthorizedHeaders();
|
|
1700
1700
|
if (request.getRequestId()) {
|
|
1701
1701
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1702
1702
|
}
|
|
1703
1703
|
var params = {
|
|
1704
|
-
'contextStack': (
|
|
1704
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1705
1705
|
};
|
|
1706
1706
|
return axios_1.default.get(url, {
|
|
1707
1707
|
params: params,
|
|
@@ -1713,18 +1713,18 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1713
1713
|
});
|
|
1714
1714
|
};
|
|
1715
1715
|
Gs2WatchRestClient.prototype.getStaminaStaminaModelMetrics = function (request) {
|
|
1716
|
-
var _a, _b, _c, _d, _e;
|
|
1717
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/stamina/namespace/{namespaceName}/staminaModel/{staminaName}')
|
|
1716
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1717
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/stamina/namespace/{namespaceName}/staminaModel/{staminaName}')
|
|
1718
1718
|
.replace('{service}', 'watch')
|
|
1719
1719
|
.replace('{region}', this.session.region)
|
|
1720
|
-
.replace('{namespaceName}', String((
|
|
1721
|
-
.replace('{staminaName}', String((
|
|
1720
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
|
|
1721
|
+
.replace('{staminaName}', String((_d = request.getStaminaName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getStaminaName()) !== null && _e !== void 0 ? _e : 'null'));
|
|
1722
1722
|
var headers = this.createAuthorizedHeaders();
|
|
1723
1723
|
if (request.getRequestId()) {
|
|
1724
1724
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1725
1725
|
}
|
|
1726
1726
|
var params = {
|
|
1727
|
-
'contextStack': (
|
|
1727
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1728
1728
|
};
|
|
1729
1729
|
return axios_1.default.get(url, {
|
|
1730
1730
|
params: params,
|
|
@@ -1736,8 +1736,8 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1736
1736
|
});
|
|
1737
1737
|
};
|
|
1738
1738
|
Gs2WatchRestClient.prototype.describeStaminaNamespaceMetrics = function (request) {
|
|
1739
|
-
var _a;
|
|
1740
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/stamina/namespace')
|
|
1739
|
+
var _a, _b;
|
|
1740
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/stamina/namespace')
|
|
1741
1741
|
.replace('{service}', 'watch')
|
|
1742
1742
|
.replace('{region}', this.session.region);
|
|
1743
1743
|
var headers = this.createAuthorizedHeaders();
|
|
@@ -1745,7 +1745,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1745
1745
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1746
1746
|
}
|
|
1747
1747
|
var params = {
|
|
1748
|
-
'contextStack': (
|
|
1748
|
+
'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
|
|
1749
1749
|
};
|
|
1750
1750
|
return axios_1.default.get(url, {
|
|
1751
1751
|
params: params,
|
|
@@ -1757,17 +1757,17 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1757
1757
|
});
|
|
1758
1758
|
};
|
|
1759
1759
|
Gs2WatchRestClient.prototype.getStaminaNamespaceMetrics = function (request) {
|
|
1760
|
-
var _a, _b, _c;
|
|
1761
|
-
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/stamina/namespace/{namespaceName}')
|
|
1760
|
+
var _a, _b, _c, _d;
|
|
1761
|
+
var url = ((_a = Gs2WatchRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/metrics/stamina/namespace/{namespaceName}')
|
|
1762
1762
|
.replace('{service}', 'watch')
|
|
1763
1763
|
.replace('{region}', this.session.region)
|
|
1764
|
-
.replace('{namespaceName}', String((
|
|
1764
|
+
.replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
|
|
1765
1765
|
var headers = this.createAuthorizedHeaders();
|
|
1766
1766
|
if (request.getRequestId()) {
|
|
1767
1767
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1768
1768
|
}
|
|
1769
1769
|
var params = {
|
|
1770
|
-
'contextStack': (
|
|
1770
|
+
'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
|
|
1771
1771
|
};
|
|
1772
1772
|
return axios_1.default.get(url, {
|
|
1773
1773
|
params: params,
|
|
@@ -1778,6 +1778,7 @@ var Gs2WatchRestClient = /** @class */ (function (_super) {
|
|
|
1778
1778
|
throw JSON.parse(error.response.data.message);
|
|
1779
1779
|
});
|
|
1780
1780
|
};
|
|
1781
|
+
Gs2WatchRestClient.ENDPOINT_HOST = null;
|
|
1781
1782
|
return Gs2WatchRestClient;
|
|
1782
1783
|
}(AbstractGs2RestClient_1.default));
|
|
1783
1784
|
exports.default = Gs2WatchRestClient;
|