@aws-sdk/client-xray 3.54.0 → 3.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/XRayClient.js +13 -13
- package/dist-cjs/commands/BatchGetTracesCommand.js +3 -3
- package/dist-cjs/commands/CreateGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateSamplingRuleCommand.js +3 -3
- package/dist-cjs/commands/DeleteGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteSamplingRuleCommand.js +3 -3
- package/dist-cjs/commands/GetEncryptionConfigCommand.js +3 -3
- package/dist-cjs/commands/GetGroupCommand.js +3 -3
- package/dist-cjs/commands/GetGroupsCommand.js +3 -3
- package/dist-cjs/commands/GetInsightCommand.js +3 -3
- package/dist-cjs/commands/GetInsightEventsCommand.js +3 -3
- package/dist-cjs/commands/GetInsightImpactGraphCommand.js +3 -3
- package/dist-cjs/commands/GetInsightSummariesCommand.js +3 -3
- package/dist-cjs/commands/GetSamplingRulesCommand.js +3 -3
- package/dist-cjs/commands/GetSamplingStatisticSummariesCommand.js +3 -3
- package/dist-cjs/commands/GetSamplingTargetsCommand.js +3 -3
- package/dist-cjs/commands/GetServiceGraphCommand.js +3 -3
- package/dist-cjs/commands/GetTimeSeriesServiceStatisticsCommand.js +3 -3
- package/dist-cjs/commands/GetTraceGraphCommand.js +3 -3
- package/dist-cjs/commands/GetTraceSummariesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutEncryptionConfigCommand.js +3 -3
- package/dist-cjs/commands/PutTelemetryRecordsCommand.js +3 -3
- package/dist-cjs/commands/PutTraceSegmentsCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateGroupCommand.js +3 -3
- package/dist-cjs/commands/UpdateSamplingRuleCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +248 -248
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/XRay.js +27 -27
- package/dist-es/pagination/BatchGetTracesPaginator.js +4 -4
- package/dist-es/pagination/GetGroupsPaginator.js +4 -4
- package/dist-es/pagination/GetInsightEventsPaginator.js +4 -4
- package/dist-es/pagination/GetInsightSummariesPaginator.js +4 -4
- package/dist-es/pagination/GetSamplingRulesPaginator.js +4 -4
- package/dist-es/pagination/GetSamplingStatisticSummariesPaginator.js +4 -4
- package/dist-es/pagination/GetServiceGraphPaginator.js +4 -4
- package/dist-es/pagination/GetTimeSeriesServiceStatisticsPaginator.js +4 -4
- package/dist-es/pagination/GetTraceGraphPaginator.js +4 -4
- package/dist-es/pagination/GetTraceSummariesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +27 -27
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
-
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
21
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
|
|
|
29
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
30
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
31
31
|
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
32
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
34
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
35
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
36
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const getRuntimeConfig = (config) => {
|
|
21
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
-
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
22
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
return {
|
|
26
26
|
...clientSharedValues,
|
|
27
27
|
...config,
|
|
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
|
|
|
30
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
31
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
32
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
33
|
-
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
|
|
34
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
-
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
+
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
34
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
+
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
37
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
|
|
39
39
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
40
|
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
41
|
}),
|
|
42
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
43
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
44
|
-
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
-
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
46
|
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
47
47
|
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
48
48
|
};
|
|
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a;
|
|
8
|
-
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
8
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
9
|
return {
|
|
10
10
|
...browserDefaults,
|
|
11
11
|
...config,
|
package/dist-es/XRay.js
CHANGED
|
@@ -39,7 +39,7 @@ var XRay = (function (_super) {
|
|
|
39
39
|
}
|
|
40
40
|
else if (typeof cb === "function") {
|
|
41
41
|
if (typeof optionsOrCb !== "object")
|
|
42
|
-
throw new Error("Expect http options but get "
|
|
42
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
43
43
|
this.send(command, optionsOrCb || {}, cb);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
@@ -53,7 +53,7 @@ var XRay = (function (_super) {
|
|
|
53
53
|
}
|
|
54
54
|
else if (typeof cb === "function") {
|
|
55
55
|
if (typeof optionsOrCb !== "object")
|
|
56
|
-
throw new Error("Expect http options but get "
|
|
56
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
57
57
|
this.send(command, optionsOrCb || {}, cb);
|
|
58
58
|
}
|
|
59
59
|
else {
|
|
@@ -67,7 +67,7 @@ var XRay = (function (_super) {
|
|
|
67
67
|
}
|
|
68
68
|
else if (typeof cb === "function") {
|
|
69
69
|
if (typeof optionsOrCb !== "object")
|
|
70
|
-
throw new Error("Expect http options but get "
|
|
70
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
71
71
|
this.send(command, optionsOrCb || {}, cb);
|
|
72
72
|
}
|
|
73
73
|
else {
|
|
@@ -81,7 +81,7 @@ var XRay = (function (_super) {
|
|
|
81
81
|
}
|
|
82
82
|
else if (typeof cb === "function") {
|
|
83
83
|
if (typeof optionsOrCb !== "object")
|
|
84
|
-
throw new Error("Expect http options but get "
|
|
84
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
85
85
|
this.send(command, optionsOrCb || {}, cb);
|
|
86
86
|
}
|
|
87
87
|
else {
|
|
@@ -95,7 +95,7 @@ var XRay = (function (_super) {
|
|
|
95
95
|
}
|
|
96
96
|
else if (typeof cb === "function") {
|
|
97
97
|
if (typeof optionsOrCb !== "object")
|
|
98
|
-
throw new Error("Expect http options but get "
|
|
98
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
99
99
|
this.send(command, optionsOrCb || {}, cb);
|
|
100
100
|
}
|
|
101
101
|
else {
|
|
@@ -109,7 +109,7 @@ var XRay = (function (_super) {
|
|
|
109
109
|
}
|
|
110
110
|
else if (typeof cb === "function") {
|
|
111
111
|
if (typeof optionsOrCb !== "object")
|
|
112
|
-
throw new Error("Expect http options but get "
|
|
112
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
113
113
|
this.send(command, optionsOrCb || {}, cb);
|
|
114
114
|
}
|
|
115
115
|
else {
|
|
@@ -123,7 +123,7 @@ var XRay = (function (_super) {
|
|
|
123
123
|
}
|
|
124
124
|
else if (typeof cb === "function") {
|
|
125
125
|
if (typeof optionsOrCb !== "object")
|
|
126
|
-
throw new Error("Expect http options but get "
|
|
126
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
127
127
|
this.send(command, optionsOrCb || {}, cb);
|
|
128
128
|
}
|
|
129
129
|
else {
|
|
@@ -137,7 +137,7 @@ var XRay = (function (_super) {
|
|
|
137
137
|
}
|
|
138
138
|
else if (typeof cb === "function") {
|
|
139
139
|
if (typeof optionsOrCb !== "object")
|
|
140
|
-
throw new Error("Expect http options but get "
|
|
140
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
141
141
|
this.send(command, optionsOrCb || {}, cb);
|
|
142
142
|
}
|
|
143
143
|
else {
|
|
@@ -151,7 +151,7 @@ var XRay = (function (_super) {
|
|
|
151
151
|
}
|
|
152
152
|
else if (typeof cb === "function") {
|
|
153
153
|
if (typeof optionsOrCb !== "object")
|
|
154
|
-
throw new Error("Expect http options but get "
|
|
154
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
155
155
|
this.send(command, optionsOrCb || {}, cb);
|
|
156
156
|
}
|
|
157
157
|
else {
|
|
@@ -165,7 +165,7 @@ var XRay = (function (_super) {
|
|
|
165
165
|
}
|
|
166
166
|
else if (typeof cb === "function") {
|
|
167
167
|
if (typeof optionsOrCb !== "object")
|
|
168
|
-
throw new Error("Expect http options but get "
|
|
168
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
169
169
|
this.send(command, optionsOrCb || {}, cb);
|
|
170
170
|
}
|
|
171
171
|
else {
|
|
@@ -179,7 +179,7 @@ var XRay = (function (_super) {
|
|
|
179
179
|
}
|
|
180
180
|
else if (typeof cb === "function") {
|
|
181
181
|
if (typeof optionsOrCb !== "object")
|
|
182
|
-
throw new Error("Expect http options but get "
|
|
182
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
183
183
|
this.send(command, optionsOrCb || {}, cb);
|
|
184
184
|
}
|
|
185
185
|
else {
|
|
@@ -193,7 +193,7 @@ var XRay = (function (_super) {
|
|
|
193
193
|
}
|
|
194
194
|
else if (typeof cb === "function") {
|
|
195
195
|
if (typeof optionsOrCb !== "object")
|
|
196
|
-
throw new Error("Expect http options but get "
|
|
196
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
197
197
|
this.send(command, optionsOrCb || {}, cb);
|
|
198
198
|
}
|
|
199
199
|
else {
|
|
@@ -207,7 +207,7 @@ var XRay = (function (_super) {
|
|
|
207
207
|
}
|
|
208
208
|
else if (typeof cb === "function") {
|
|
209
209
|
if (typeof optionsOrCb !== "object")
|
|
210
|
-
throw new Error("Expect http options but get "
|
|
210
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
211
211
|
this.send(command, optionsOrCb || {}, cb);
|
|
212
212
|
}
|
|
213
213
|
else {
|
|
@@ -221,7 +221,7 @@ var XRay = (function (_super) {
|
|
|
221
221
|
}
|
|
222
222
|
else if (typeof cb === "function") {
|
|
223
223
|
if (typeof optionsOrCb !== "object")
|
|
224
|
-
throw new Error("Expect http options but get "
|
|
224
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
225
225
|
this.send(command, optionsOrCb || {}, cb);
|
|
226
226
|
}
|
|
227
227
|
else {
|
|
@@ -235,7 +235,7 @@ var XRay = (function (_super) {
|
|
|
235
235
|
}
|
|
236
236
|
else if (typeof cb === "function") {
|
|
237
237
|
if (typeof optionsOrCb !== "object")
|
|
238
|
-
throw new Error("Expect http options but get "
|
|
238
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
239
239
|
this.send(command, optionsOrCb || {}, cb);
|
|
240
240
|
}
|
|
241
241
|
else {
|
|
@@ -249,7 +249,7 @@ var XRay = (function (_super) {
|
|
|
249
249
|
}
|
|
250
250
|
else if (typeof cb === "function") {
|
|
251
251
|
if (typeof optionsOrCb !== "object")
|
|
252
|
-
throw new Error("Expect http options but get "
|
|
252
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
253
253
|
this.send(command, optionsOrCb || {}, cb);
|
|
254
254
|
}
|
|
255
255
|
else {
|
|
@@ -263,7 +263,7 @@ var XRay = (function (_super) {
|
|
|
263
263
|
}
|
|
264
264
|
else if (typeof cb === "function") {
|
|
265
265
|
if (typeof optionsOrCb !== "object")
|
|
266
|
-
throw new Error("Expect http options but get "
|
|
266
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
267
267
|
this.send(command, optionsOrCb || {}, cb);
|
|
268
268
|
}
|
|
269
269
|
else {
|
|
@@ -277,7 +277,7 @@ var XRay = (function (_super) {
|
|
|
277
277
|
}
|
|
278
278
|
else if (typeof cb === "function") {
|
|
279
279
|
if (typeof optionsOrCb !== "object")
|
|
280
|
-
throw new Error("Expect http options but get "
|
|
280
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
281
281
|
this.send(command, optionsOrCb || {}, cb);
|
|
282
282
|
}
|
|
283
283
|
else {
|
|
@@ -291,7 +291,7 @@ var XRay = (function (_super) {
|
|
|
291
291
|
}
|
|
292
292
|
else if (typeof cb === "function") {
|
|
293
293
|
if (typeof optionsOrCb !== "object")
|
|
294
|
-
throw new Error("Expect http options but get "
|
|
294
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
295
295
|
this.send(command, optionsOrCb || {}, cb);
|
|
296
296
|
}
|
|
297
297
|
else {
|
|
@@ -305,7 +305,7 @@ var XRay = (function (_super) {
|
|
|
305
305
|
}
|
|
306
306
|
else if (typeof cb === "function") {
|
|
307
307
|
if (typeof optionsOrCb !== "object")
|
|
308
|
-
throw new Error("Expect http options but get "
|
|
308
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
309
309
|
this.send(command, optionsOrCb || {}, cb);
|
|
310
310
|
}
|
|
311
311
|
else {
|
|
@@ -319,7 +319,7 @@ var XRay = (function (_super) {
|
|
|
319
319
|
}
|
|
320
320
|
else if (typeof cb === "function") {
|
|
321
321
|
if (typeof optionsOrCb !== "object")
|
|
322
|
-
throw new Error("Expect http options but get "
|
|
322
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
323
323
|
this.send(command, optionsOrCb || {}, cb);
|
|
324
324
|
}
|
|
325
325
|
else {
|
|
@@ -333,7 +333,7 @@ var XRay = (function (_super) {
|
|
|
333
333
|
}
|
|
334
334
|
else if (typeof cb === "function") {
|
|
335
335
|
if (typeof optionsOrCb !== "object")
|
|
336
|
-
throw new Error("Expect http options but get "
|
|
336
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
337
337
|
this.send(command, optionsOrCb || {}, cb);
|
|
338
338
|
}
|
|
339
339
|
else {
|
|
@@ -347,7 +347,7 @@ var XRay = (function (_super) {
|
|
|
347
347
|
}
|
|
348
348
|
else if (typeof cb === "function") {
|
|
349
349
|
if (typeof optionsOrCb !== "object")
|
|
350
|
-
throw new Error("Expect http options but get "
|
|
350
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
351
351
|
this.send(command, optionsOrCb || {}, cb);
|
|
352
352
|
}
|
|
353
353
|
else {
|
|
@@ -361,7 +361,7 @@ var XRay = (function (_super) {
|
|
|
361
361
|
}
|
|
362
362
|
else if (typeof cb === "function") {
|
|
363
363
|
if (typeof optionsOrCb !== "object")
|
|
364
|
-
throw new Error("Expect http options but get "
|
|
364
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
365
365
|
this.send(command, optionsOrCb || {}, cb);
|
|
366
366
|
}
|
|
367
367
|
else {
|
|
@@ -375,7 +375,7 @@ var XRay = (function (_super) {
|
|
|
375
375
|
}
|
|
376
376
|
else if (typeof cb === "function") {
|
|
377
377
|
if (typeof optionsOrCb !== "object")
|
|
378
|
-
throw new Error("Expect http options but get "
|
|
378
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
379
379
|
this.send(command, optionsOrCb || {}, cb);
|
|
380
380
|
}
|
|
381
381
|
else {
|
|
@@ -389,7 +389,7 @@ var XRay = (function (_super) {
|
|
|
389
389
|
}
|
|
390
390
|
else if (typeof cb === "function") {
|
|
391
391
|
if (typeof optionsOrCb !== "object")
|
|
392
|
-
throw new Error("Expect http options but get "
|
|
392
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
393
393
|
this.send(command, optionsOrCb || {}, cb);
|
|
394
394
|
}
|
|
395
395
|
else {
|
|
@@ -403,7 +403,7 @@ var XRay = (function (_super) {
|
|
|
403
403
|
}
|
|
404
404
|
else if (typeof cb === "function") {
|
|
405
405
|
if (typeof optionsOrCb !== "object")
|
|
406
|
-
throw new Error("Expect http options but get "
|
|
406
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
407
407
|
this.send(command, optionsOrCb || {}, cb);
|
|
408
408
|
}
|
|
409
409
|
else {
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new BatchGetTracesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new BatchGetTracesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.batchGetTraces.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.batchGetTraces.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -47,13 +47,13 @@ export function paginateBatchGetTraces(config, input) {
|
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
if (!(config.client instanceof XRay)) return [3, 3];
|
|
50
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
51
|
case 2:
|
|
52
52
|
page = _a.sent();
|
|
53
53
|
return [3, 6];
|
|
54
54
|
case 3:
|
|
55
55
|
if (!(config.client instanceof XRayClient)) return [3, 5];
|
|
56
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
57
|
case 4:
|
|
58
58
|
page = _a.sent();
|
|
59
59
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new GetGroupsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetGroupsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.getGroups.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getGroups.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -47,13 +47,13 @@ export function paginateGetGroups(config, input) {
|
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
if (!(config.client instanceof XRay)) return [3, 3];
|
|
50
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
51
|
case 2:
|
|
52
52
|
page = _a.sent();
|
|
53
53
|
return [3, 6];
|
|
54
54
|
case 3:
|
|
55
55
|
if (!(config.client instanceof XRayClient)) return [3, 5];
|
|
56
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
57
|
case 4:
|
|
58
58
|
page = _a.sent();
|
|
59
59
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new GetInsightEventsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetInsightEventsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.getInsightEvents.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getInsightEvents.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateGetInsightEvents(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof XRay)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof XRayClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new GetInsightSummariesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetInsightSummariesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.getInsightSummaries.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getInsightSummaries.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateGetInsightSummaries(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof XRay)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof XRayClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new GetSamplingRulesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetSamplingRulesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.getSamplingRules.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getSamplingRules.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -47,13 +47,13 @@ export function paginateGetSamplingRules(config, input) {
|
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
if (!(config.client instanceof XRay)) return [3, 3];
|
|
50
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
51
|
case 2:
|
|
52
52
|
page = _a.sent();
|
|
53
53
|
return [3, 6];
|
|
54
54
|
case 3:
|
|
55
55
|
if (!(config.client instanceof XRayClient)) return [3, 5];
|
|
56
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
57
|
case 4:
|
|
58
58
|
page = _a.sent();
|
|
59
59
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new GetSamplingStatisticSummariesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetSamplingStatisticSummariesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.getSamplingStatisticSummaries.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getSamplingStatisticSummaries.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -47,13 +47,13 @@ export function paginateGetSamplingStatisticSummaries(config, input) {
|
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
if (!(config.client instanceof XRay)) return [3, 3];
|
|
50
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
51
|
case 2:
|
|
52
52
|
page = _a.sent();
|
|
53
53
|
return [3, 6];
|
|
54
54
|
case 3:
|
|
55
55
|
if (!(config.client instanceof XRayClient)) return [3, 5];
|
|
56
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
57
|
case 4:
|
|
58
58
|
page = _a.sent();
|
|
59
59
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new GetServiceGraphCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetServiceGraphCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.getServiceGraph.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getServiceGraph.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -47,13 +47,13 @@ export function paginateGetServiceGraph(config, input) {
|
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
if (!(config.client instanceof XRay)) return [3, 3];
|
|
50
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
51
|
case 2:
|
|
52
52
|
page = _a.sent();
|
|
53
53
|
return [3, 6];
|
|
54
54
|
case 3:
|
|
55
55
|
if (!(config.client instanceof XRayClient)) return [3, 5];
|
|
56
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
57
|
case 4:
|
|
58
58
|
page = _a.sent();
|
|
59
59
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new GetTimeSeriesServiceStatisticsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetTimeSeriesServiceStatisticsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.getTimeSeriesServiceStatistics.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getTimeSeriesServiceStatistics.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -47,13 +47,13 @@ export function paginateGetTimeSeriesServiceStatistics(config, input) {
|
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
if (!(config.client instanceof XRay)) return [3, 3];
|
|
50
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
51
|
case 2:
|
|
52
52
|
page = _a.sent();
|
|
53
53
|
return [3, 6];
|
|
54
54
|
case 3:
|
|
55
55
|
if (!(config.client instanceof XRayClient)) return [3, 5];
|
|
56
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
57
|
case 4:
|
|
58
58
|
page = _a.sent();
|
|
59
59
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new GetTraceGraphCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetTraceGraphCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.getTraceGraph.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getTraceGraph.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -47,13 +47,13 @@ export function paginateGetTraceGraph(config, input) {
|
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
if (!(config.client instanceof XRay)) return [3, 3];
|
|
50
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
51
|
case 2:
|
|
52
52
|
page = _a.sent();
|
|
53
53
|
return [3, 6];
|
|
54
54
|
case 3:
|
|
55
55
|
if (!(config.client instanceof XRayClient)) return [3, 5];
|
|
56
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
57
|
case 4:
|
|
58
58
|
page = _a.sent();
|
|
59
59
|
return [3, 6];
|