@aws-sdk/client-codebuild 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/CodeBuildClient.js +13 -13
- package/dist-cjs/commands/BatchDeleteBuildsCommand.js +3 -3
- package/dist-cjs/commands/BatchGetBuildBatchesCommand.js +3 -3
- package/dist-cjs/commands/BatchGetBuildsCommand.js +3 -3
- package/dist-cjs/commands/BatchGetProjectsCommand.js +3 -3
- package/dist-cjs/commands/BatchGetReportGroupsCommand.js +3 -3
- package/dist-cjs/commands/BatchGetReportsCommand.js +3 -3
- package/dist-cjs/commands/CreateProjectCommand.js +3 -3
- package/dist-cjs/commands/CreateReportGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateWebhookCommand.js +3 -3
- package/dist-cjs/commands/DeleteBuildBatchCommand.js +3 -3
- package/dist-cjs/commands/DeleteProjectCommand.js +3 -3
- package/dist-cjs/commands/DeleteReportCommand.js +3 -3
- package/dist-cjs/commands/DeleteReportGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteSourceCredentialsCommand.js +3 -3
- package/dist-cjs/commands/DeleteWebhookCommand.js +3 -3
- package/dist-cjs/commands/DescribeCodeCoveragesCommand.js +3 -3
- package/dist-cjs/commands/DescribeTestCasesCommand.js +3 -3
- package/dist-cjs/commands/GetReportGroupTrendCommand.js +3 -3
- package/dist-cjs/commands/GetResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/ImportSourceCredentialsCommand.js +3 -3
- package/dist-cjs/commands/InvalidateProjectCacheCommand.js +3 -3
- package/dist-cjs/commands/ListBuildBatchesCommand.js +3 -3
- package/dist-cjs/commands/ListBuildBatchesForProjectCommand.js +3 -3
- package/dist-cjs/commands/ListBuildsCommand.js +3 -3
- package/dist-cjs/commands/ListBuildsForProjectCommand.js +3 -3
- package/dist-cjs/commands/ListCuratedEnvironmentImagesCommand.js +3 -3
- package/dist-cjs/commands/ListProjectsCommand.js +3 -3
- package/dist-cjs/commands/ListReportGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListReportsCommand.js +3 -3
- package/dist-cjs/commands/ListReportsForReportGroupCommand.js +3 -3
- package/dist-cjs/commands/ListSharedProjectsCommand.js +3 -3
- package/dist-cjs/commands/ListSharedReportGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListSourceCredentialsCommand.js +3 -3
- package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/RetryBuildBatchCommand.js +3 -3
- package/dist-cjs/commands/RetryBuildCommand.js +3 -3
- package/dist-cjs/commands/StartBuildBatchCommand.js +3 -3
- package/dist-cjs/commands/StartBuildCommand.js +3 -3
- package/dist-cjs/commands/StopBuildBatchCommand.js +3 -3
- package/dist-cjs/commands/StopBuildCommand.js +3 -3
- package/dist-cjs/commands/UpdateProjectCommand.js +3 -3
- package/dist-cjs/commands/UpdateProjectVisibilityCommand.js +3 -3
- package/dist-cjs/commands/UpdateReportGroupCommand.js +3 -3
- package/dist-cjs/commands/UpdateWebhookCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +308 -308
- 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/CodeBuild.js +45 -45
- package/dist-es/pagination/DescribeCodeCoveragesPaginator.js +4 -4
- package/dist-es/pagination/DescribeTestCasesPaginator.js +4 -4
- package/dist-es/pagination/ListBuildBatchesForProjectPaginator.js +4 -4
- package/dist-es/pagination/ListBuildBatchesPaginator.js +4 -4
- package/dist-es/pagination/ListBuildsForProjectPaginator.js +4 -4
- package/dist-es/pagination/ListBuildsPaginator.js +4 -4
- package/dist-es/pagination/ListProjectsPaginator.js +4 -4
- package/dist-es/pagination/ListReportGroupsPaginator.js +4 -4
- package/dist-es/pagination/ListReportsForReportGroupPaginator.js +4 -4
- package/dist-es/pagination/ListReportsPaginator.js +4 -4
- package/dist-es/pagination/ListSharedProjectsPaginator.js +4 -4
- package/dist-es/pagination/ListSharedReportGroupsPaginator.js +4 -4
- 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/CodeBuild.js
CHANGED
|
@@ -57,7 +57,7 @@ var CodeBuild = (function (_super) {
|
|
|
57
57
|
}
|
|
58
58
|
else if (typeof cb === "function") {
|
|
59
59
|
if (typeof optionsOrCb !== "object")
|
|
60
|
-
throw new Error("Expect http options but get "
|
|
60
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
61
61
|
this.send(command, optionsOrCb || {}, cb);
|
|
62
62
|
}
|
|
63
63
|
else {
|
|
@@ -71,7 +71,7 @@ var CodeBuild = (function (_super) {
|
|
|
71
71
|
}
|
|
72
72
|
else if (typeof cb === "function") {
|
|
73
73
|
if (typeof optionsOrCb !== "object")
|
|
74
|
-
throw new Error("Expect http options but get "
|
|
74
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
75
75
|
this.send(command, optionsOrCb || {}, cb);
|
|
76
76
|
}
|
|
77
77
|
else {
|
|
@@ -85,7 +85,7 @@ var CodeBuild = (function (_super) {
|
|
|
85
85
|
}
|
|
86
86
|
else if (typeof cb === "function") {
|
|
87
87
|
if (typeof optionsOrCb !== "object")
|
|
88
|
-
throw new Error("Expect http options but get "
|
|
88
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
89
89
|
this.send(command, optionsOrCb || {}, cb);
|
|
90
90
|
}
|
|
91
91
|
else {
|
|
@@ -99,7 +99,7 @@ var CodeBuild = (function (_super) {
|
|
|
99
99
|
}
|
|
100
100
|
else if (typeof cb === "function") {
|
|
101
101
|
if (typeof optionsOrCb !== "object")
|
|
102
|
-
throw new Error("Expect http options but get "
|
|
102
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
103
103
|
this.send(command, optionsOrCb || {}, cb);
|
|
104
104
|
}
|
|
105
105
|
else {
|
|
@@ -113,7 +113,7 @@ var CodeBuild = (function (_super) {
|
|
|
113
113
|
}
|
|
114
114
|
else if (typeof cb === "function") {
|
|
115
115
|
if (typeof optionsOrCb !== "object")
|
|
116
|
-
throw new Error("Expect http options but get "
|
|
116
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
117
117
|
this.send(command, optionsOrCb || {}, cb);
|
|
118
118
|
}
|
|
119
119
|
else {
|
|
@@ -127,7 +127,7 @@ var CodeBuild = (function (_super) {
|
|
|
127
127
|
}
|
|
128
128
|
else if (typeof cb === "function") {
|
|
129
129
|
if (typeof optionsOrCb !== "object")
|
|
130
|
-
throw new Error("Expect http options but get "
|
|
130
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
131
131
|
this.send(command, optionsOrCb || {}, cb);
|
|
132
132
|
}
|
|
133
133
|
else {
|
|
@@ -141,7 +141,7 @@ var CodeBuild = (function (_super) {
|
|
|
141
141
|
}
|
|
142
142
|
else if (typeof cb === "function") {
|
|
143
143
|
if (typeof optionsOrCb !== "object")
|
|
144
|
-
throw new Error("Expect http options but get "
|
|
144
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
145
145
|
this.send(command, optionsOrCb || {}, cb);
|
|
146
146
|
}
|
|
147
147
|
else {
|
|
@@ -155,7 +155,7 @@ var CodeBuild = (function (_super) {
|
|
|
155
155
|
}
|
|
156
156
|
else if (typeof cb === "function") {
|
|
157
157
|
if (typeof optionsOrCb !== "object")
|
|
158
|
-
throw new Error("Expect http options but get "
|
|
158
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
159
159
|
this.send(command, optionsOrCb || {}, cb);
|
|
160
160
|
}
|
|
161
161
|
else {
|
|
@@ -169,7 +169,7 @@ var CodeBuild = (function (_super) {
|
|
|
169
169
|
}
|
|
170
170
|
else if (typeof cb === "function") {
|
|
171
171
|
if (typeof optionsOrCb !== "object")
|
|
172
|
-
throw new Error("Expect http options but get "
|
|
172
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
173
173
|
this.send(command, optionsOrCb || {}, cb);
|
|
174
174
|
}
|
|
175
175
|
else {
|
|
@@ -183,7 +183,7 @@ var CodeBuild = (function (_super) {
|
|
|
183
183
|
}
|
|
184
184
|
else if (typeof cb === "function") {
|
|
185
185
|
if (typeof optionsOrCb !== "object")
|
|
186
|
-
throw new Error("Expect http options but get "
|
|
186
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
187
187
|
this.send(command, optionsOrCb || {}, cb);
|
|
188
188
|
}
|
|
189
189
|
else {
|
|
@@ -197,7 +197,7 @@ var CodeBuild = (function (_super) {
|
|
|
197
197
|
}
|
|
198
198
|
else if (typeof cb === "function") {
|
|
199
199
|
if (typeof optionsOrCb !== "object")
|
|
200
|
-
throw new Error("Expect http options but get "
|
|
200
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
201
201
|
this.send(command, optionsOrCb || {}, cb);
|
|
202
202
|
}
|
|
203
203
|
else {
|
|
@@ -211,7 +211,7 @@ var CodeBuild = (function (_super) {
|
|
|
211
211
|
}
|
|
212
212
|
else if (typeof cb === "function") {
|
|
213
213
|
if (typeof optionsOrCb !== "object")
|
|
214
|
-
throw new Error("Expect http options but get "
|
|
214
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
215
215
|
this.send(command, optionsOrCb || {}, cb);
|
|
216
216
|
}
|
|
217
217
|
else {
|
|
@@ -225,7 +225,7 @@ var CodeBuild = (function (_super) {
|
|
|
225
225
|
}
|
|
226
226
|
else if (typeof cb === "function") {
|
|
227
227
|
if (typeof optionsOrCb !== "object")
|
|
228
|
-
throw new Error("Expect http options but get "
|
|
228
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
229
229
|
this.send(command, optionsOrCb || {}, cb);
|
|
230
230
|
}
|
|
231
231
|
else {
|
|
@@ -239,7 +239,7 @@ var CodeBuild = (function (_super) {
|
|
|
239
239
|
}
|
|
240
240
|
else if (typeof cb === "function") {
|
|
241
241
|
if (typeof optionsOrCb !== "object")
|
|
242
|
-
throw new Error("Expect http options but get "
|
|
242
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
243
243
|
this.send(command, optionsOrCb || {}, cb);
|
|
244
244
|
}
|
|
245
245
|
else {
|
|
@@ -253,7 +253,7 @@ var CodeBuild = (function (_super) {
|
|
|
253
253
|
}
|
|
254
254
|
else if (typeof cb === "function") {
|
|
255
255
|
if (typeof optionsOrCb !== "object")
|
|
256
|
-
throw new Error("Expect http options but get "
|
|
256
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
257
257
|
this.send(command, optionsOrCb || {}, cb);
|
|
258
258
|
}
|
|
259
259
|
else {
|
|
@@ -267,7 +267,7 @@ var CodeBuild = (function (_super) {
|
|
|
267
267
|
}
|
|
268
268
|
else if (typeof cb === "function") {
|
|
269
269
|
if (typeof optionsOrCb !== "object")
|
|
270
|
-
throw new Error("Expect http options but get "
|
|
270
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
271
271
|
this.send(command, optionsOrCb || {}, cb);
|
|
272
272
|
}
|
|
273
273
|
else {
|
|
@@ -281,7 +281,7 @@ var CodeBuild = (function (_super) {
|
|
|
281
281
|
}
|
|
282
282
|
else if (typeof cb === "function") {
|
|
283
283
|
if (typeof optionsOrCb !== "object")
|
|
284
|
-
throw new Error("Expect http options but get "
|
|
284
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
285
285
|
this.send(command, optionsOrCb || {}, cb);
|
|
286
286
|
}
|
|
287
287
|
else {
|
|
@@ -295,7 +295,7 @@ var CodeBuild = (function (_super) {
|
|
|
295
295
|
}
|
|
296
296
|
else if (typeof cb === "function") {
|
|
297
297
|
if (typeof optionsOrCb !== "object")
|
|
298
|
-
throw new Error("Expect http options but get "
|
|
298
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
299
299
|
this.send(command, optionsOrCb || {}, cb);
|
|
300
300
|
}
|
|
301
301
|
else {
|
|
@@ -309,7 +309,7 @@ var CodeBuild = (function (_super) {
|
|
|
309
309
|
}
|
|
310
310
|
else if (typeof cb === "function") {
|
|
311
311
|
if (typeof optionsOrCb !== "object")
|
|
312
|
-
throw new Error("Expect http options but get "
|
|
312
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
313
313
|
this.send(command, optionsOrCb || {}, cb);
|
|
314
314
|
}
|
|
315
315
|
else {
|
|
@@ -323,7 +323,7 @@ var CodeBuild = (function (_super) {
|
|
|
323
323
|
}
|
|
324
324
|
else if (typeof cb === "function") {
|
|
325
325
|
if (typeof optionsOrCb !== "object")
|
|
326
|
-
throw new Error("Expect http options but get "
|
|
326
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
327
327
|
this.send(command, optionsOrCb || {}, cb);
|
|
328
328
|
}
|
|
329
329
|
else {
|
|
@@ -337,7 +337,7 @@ var CodeBuild = (function (_super) {
|
|
|
337
337
|
}
|
|
338
338
|
else if (typeof cb === "function") {
|
|
339
339
|
if (typeof optionsOrCb !== "object")
|
|
340
|
-
throw new Error("Expect http options but get "
|
|
340
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
341
341
|
this.send(command, optionsOrCb || {}, cb);
|
|
342
342
|
}
|
|
343
343
|
else {
|
|
@@ -351,7 +351,7 @@ var CodeBuild = (function (_super) {
|
|
|
351
351
|
}
|
|
352
352
|
else if (typeof cb === "function") {
|
|
353
353
|
if (typeof optionsOrCb !== "object")
|
|
354
|
-
throw new Error("Expect http options but get "
|
|
354
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
355
355
|
this.send(command, optionsOrCb || {}, cb);
|
|
356
356
|
}
|
|
357
357
|
else {
|
|
@@ -365,7 +365,7 @@ var CodeBuild = (function (_super) {
|
|
|
365
365
|
}
|
|
366
366
|
else if (typeof cb === "function") {
|
|
367
367
|
if (typeof optionsOrCb !== "object")
|
|
368
|
-
throw new Error("Expect http options but get "
|
|
368
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
369
369
|
this.send(command, optionsOrCb || {}, cb);
|
|
370
370
|
}
|
|
371
371
|
else {
|
|
@@ -379,7 +379,7 @@ var CodeBuild = (function (_super) {
|
|
|
379
379
|
}
|
|
380
380
|
else if (typeof cb === "function") {
|
|
381
381
|
if (typeof optionsOrCb !== "object")
|
|
382
|
-
throw new Error("Expect http options but get "
|
|
382
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
383
383
|
this.send(command, optionsOrCb || {}, cb);
|
|
384
384
|
}
|
|
385
385
|
else {
|
|
@@ -393,7 +393,7 @@ var CodeBuild = (function (_super) {
|
|
|
393
393
|
}
|
|
394
394
|
else if (typeof cb === "function") {
|
|
395
395
|
if (typeof optionsOrCb !== "object")
|
|
396
|
-
throw new Error("Expect http options but get "
|
|
396
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
397
397
|
this.send(command, optionsOrCb || {}, cb);
|
|
398
398
|
}
|
|
399
399
|
else {
|
|
@@ -407,7 +407,7 @@ var CodeBuild = (function (_super) {
|
|
|
407
407
|
}
|
|
408
408
|
else if (typeof cb === "function") {
|
|
409
409
|
if (typeof optionsOrCb !== "object")
|
|
410
|
-
throw new Error("Expect http options but get "
|
|
410
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
411
411
|
this.send(command, optionsOrCb || {}, cb);
|
|
412
412
|
}
|
|
413
413
|
else {
|
|
@@ -421,7 +421,7 @@ var CodeBuild = (function (_super) {
|
|
|
421
421
|
}
|
|
422
422
|
else if (typeof cb === "function") {
|
|
423
423
|
if (typeof optionsOrCb !== "object")
|
|
424
|
-
throw new Error("Expect http options but get "
|
|
424
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
425
425
|
this.send(command, optionsOrCb || {}, cb);
|
|
426
426
|
}
|
|
427
427
|
else {
|
|
@@ -435,7 +435,7 @@ var CodeBuild = (function (_super) {
|
|
|
435
435
|
}
|
|
436
436
|
else if (typeof cb === "function") {
|
|
437
437
|
if (typeof optionsOrCb !== "object")
|
|
438
|
-
throw new Error("Expect http options but get "
|
|
438
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
439
439
|
this.send(command, optionsOrCb || {}, cb);
|
|
440
440
|
}
|
|
441
441
|
else {
|
|
@@ -449,7 +449,7 @@ var CodeBuild = (function (_super) {
|
|
|
449
449
|
}
|
|
450
450
|
else if (typeof cb === "function") {
|
|
451
451
|
if (typeof optionsOrCb !== "object")
|
|
452
|
-
throw new Error("Expect http options but get "
|
|
452
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
453
453
|
this.send(command, optionsOrCb || {}, cb);
|
|
454
454
|
}
|
|
455
455
|
else {
|
|
@@ -463,7 +463,7 @@ var CodeBuild = (function (_super) {
|
|
|
463
463
|
}
|
|
464
464
|
else if (typeof cb === "function") {
|
|
465
465
|
if (typeof optionsOrCb !== "object")
|
|
466
|
-
throw new Error("Expect http options but get "
|
|
466
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
467
467
|
this.send(command, optionsOrCb || {}, cb);
|
|
468
468
|
}
|
|
469
469
|
else {
|
|
@@ -477,7 +477,7 @@ var CodeBuild = (function (_super) {
|
|
|
477
477
|
}
|
|
478
478
|
else if (typeof cb === "function") {
|
|
479
479
|
if (typeof optionsOrCb !== "object")
|
|
480
|
-
throw new Error("Expect http options but get "
|
|
480
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
481
481
|
this.send(command, optionsOrCb || {}, cb);
|
|
482
482
|
}
|
|
483
483
|
else {
|
|
@@ -491,7 +491,7 @@ var CodeBuild = (function (_super) {
|
|
|
491
491
|
}
|
|
492
492
|
else if (typeof cb === "function") {
|
|
493
493
|
if (typeof optionsOrCb !== "object")
|
|
494
|
-
throw new Error("Expect http options but get "
|
|
494
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
495
495
|
this.send(command, optionsOrCb || {}, cb);
|
|
496
496
|
}
|
|
497
497
|
else {
|
|
@@ -505,7 +505,7 @@ var CodeBuild = (function (_super) {
|
|
|
505
505
|
}
|
|
506
506
|
else if (typeof cb === "function") {
|
|
507
507
|
if (typeof optionsOrCb !== "object")
|
|
508
|
-
throw new Error("Expect http options but get "
|
|
508
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
509
509
|
this.send(command, optionsOrCb || {}, cb);
|
|
510
510
|
}
|
|
511
511
|
else {
|
|
@@ -519,7 +519,7 @@ var CodeBuild = (function (_super) {
|
|
|
519
519
|
}
|
|
520
520
|
else if (typeof cb === "function") {
|
|
521
521
|
if (typeof optionsOrCb !== "object")
|
|
522
|
-
throw new Error("Expect http options but get "
|
|
522
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
523
523
|
this.send(command, optionsOrCb || {}, cb);
|
|
524
524
|
}
|
|
525
525
|
else {
|
|
@@ -533,7 +533,7 @@ var CodeBuild = (function (_super) {
|
|
|
533
533
|
}
|
|
534
534
|
else if (typeof cb === "function") {
|
|
535
535
|
if (typeof optionsOrCb !== "object")
|
|
536
|
-
throw new Error("Expect http options but get "
|
|
536
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
537
537
|
this.send(command, optionsOrCb || {}, cb);
|
|
538
538
|
}
|
|
539
539
|
else {
|
|
@@ -547,7 +547,7 @@ var CodeBuild = (function (_super) {
|
|
|
547
547
|
}
|
|
548
548
|
else if (typeof cb === "function") {
|
|
549
549
|
if (typeof optionsOrCb !== "object")
|
|
550
|
-
throw new Error("Expect http options but get "
|
|
550
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
551
551
|
this.send(command, optionsOrCb || {}, cb);
|
|
552
552
|
}
|
|
553
553
|
else {
|
|
@@ -561,7 +561,7 @@ var CodeBuild = (function (_super) {
|
|
|
561
561
|
}
|
|
562
562
|
else if (typeof cb === "function") {
|
|
563
563
|
if (typeof optionsOrCb !== "object")
|
|
564
|
-
throw new Error("Expect http options but get "
|
|
564
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
565
565
|
this.send(command, optionsOrCb || {}, cb);
|
|
566
566
|
}
|
|
567
567
|
else {
|
|
@@ -575,7 +575,7 @@ var CodeBuild = (function (_super) {
|
|
|
575
575
|
}
|
|
576
576
|
else if (typeof cb === "function") {
|
|
577
577
|
if (typeof optionsOrCb !== "object")
|
|
578
|
-
throw new Error("Expect http options but get "
|
|
578
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
579
579
|
this.send(command, optionsOrCb || {}, cb);
|
|
580
580
|
}
|
|
581
581
|
else {
|
|
@@ -589,7 +589,7 @@ var CodeBuild = (function (_super) {
|
|
|
589
589
|
}
|
|
590
590
|
else if (typeof cb === "function") {
|
|
591
591
|
if (typeof optionsOrCb !== "object")
|
|
592
|
-
throw new Error("Expect http options but get "
|
|
592
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
593
593
|
this.send(command, optionsOrCb || {}, cb);
|
|
594
594
|
}
|
|
595
595
|
else {
|
|
@@ -603,7 +603,7 @@ var CodeBuild = (function (_super) {
|
|
|
603
603
|
}
|
|
604
604
|
else if (typeof cb === "function") {
|
|
605
605
|
if (typeof optionsOrCb !== "object")
|
|
606
|
-
throw new Error("Expect http options but get "
|
|
606
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
607
607
|
this.send(command, optionsOrCb || {}, cb);
|
|
608
608
|
}
|
|
609
609
|
else {
|
|
@@ -617,7 +617,7 @@ var CodeBuild = (function (_super) {
|
|
|
617
617
|
}
|
|
618
618
|
else if (typeof cb === "function") {
|
|
619
619
|
if (typeof optionsOrCb !== "object")
|
|
620
|
-
throw new Error("Expect http options but get "
|
|
620
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
621
621
|
this.send(command, optionsOrCb || {}, cb);
|
|
622
622
|
}
|
|
623
623
|
else {
|
|
@@ -631,7 +631,7 @@ var CodeBuild = (function (_super) {
|
|
|
631
631
|
}
|
|
632
632
|
else if (typeof cb === "function") {
|
|
633
633
|
if (typeof optionsOrCb !== "object")
|
|
634
|
-
throw new Error("Expect http options but get "
|
|
634
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
635
635
|
this.send(command, optionsOrCb || {}, cb);
|
|
636
636
|
}
|
|
637
637
|
else {
|
|
@@ -645,7 +645,7 @@ var CodeBuild = (function (_super) {
|
|
|
645
645
|
}
|
|
646
646
|
else if (typeof cb === "function") {
|
|
647
647
|
if (typeof optionsOrCb !== "object")
|
|
648
|
-
throw new Error("Expect http options but get "
|
|
648
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
649
649
|
this.send(command, optionsOrCb || {}, cb);
|
|
650
650
|
}
|
|
651
651
|
else {
|
|
@@ -659,7 +659,7 @@ var CodeBuild = (function (_super) {
|
|
|
659
659
|
}
|
|
660
660
|
else if (typeof cb === "function") {
|
|
661
661
|
if (typeof optionsOrCb !== "object")
|
|
662
|
-
throw new Error("Expect http options but get "
|
|
662
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
663
663
|
this.send(command, optionsOrCb || {}, cb);
|
|
664
664
|
}
|
|
665
665
|
else {
|
|
@@ -673,7 +673,7 @@ var CodeBuild = (function (_super) {
|
|
|
673
673
|
}
|
|
674
674
|
else if (typeof cb === "function") {
|
|
675
675
|
if (typeof optionsOrCb !== "object")
|
|
676
|
-
throw new Error("Expect http options but get "
|
|
676
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
677
677
|
this.send(command, optionsOrCb || {}, cb);
|
|
678
678
|
}
|
|
679
679
|
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 DescribeCodeCoveragesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeCodeCoveragesCommand(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.describeCodeCoverages.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.describeCodeCoverages.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 paginateDescribeCodeCoverages(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof CodeBuild)) 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 CodeBuildClient)) 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 DescribeTestCasesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeTestCasesCommand(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.describeTestCases.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.describeTestCases.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 paginateDescribeTestCases(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof CodeBuild)) 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 CodeBuildClient)) 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 ListBuildBatchesForProjectCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListBuildBatchesForProjectCommand(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.listBuildBatchesForProject.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listBuildBatchesForProject.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 paginateListBuildBatchesForProject(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof CodeBuild)) 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 CodeBuildClient)) 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 ListBuildBatchesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListBuildBatchesCommand(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.listBuildBatches.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listBuildBatches.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 paginateListBuildBatches(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof CodeBuild)) 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 CodeBuildClient)) 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 ListBuildsForProjectCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListBuildsForProjectCommand(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.listBuildsForProject.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listBuildsForProject.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 paginateListBuildsForProject(config, input) {
|
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
if (!(config.client instanceof CodeBuild)) 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 CodeBuildClient)) 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];
|