@aws-sdk/client-codeguru-security 3.721.0 → 3.726.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/dist-cjs/index.js +189 -83
- package/dist-es/CodeGuruSecurityClient.js +1 -0
- package/dist-es/models/models_0.js +32 -16
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -155,7 +155,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
155
155
|
}, "resolveRuntimeExtensions");
|
|
156
156
|
|
|
157
157
|
// src/CodeGuruSecurityClient.ts
|
|
158
|
-
var
|
|
158
|
+
var CodeGuruSecurityClient = class extends import_smithy_client.Client {
|
|
159
|
+
static {
|
|
160
|
+
__name(this, "CodeGuruSecurityClient");
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* The resolved configuration of CodeGuruSecurityClient class. This is resolved and normalized from the {@link CodeGuruSecurityClientConfig | constructor configuration interface}.
|
|
164
|
+
*/
|
|
165
|
+
config;
|
|
159
166
|
constructor(...[configuration]) {
|
|
160
167
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
161
168
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -165,7 +172,7 @@ var _CodeGuruSecurityClient = class _CodeGuruSecurityClient extends import_smith
|
|
|
165
172
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
166
173
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
167
174
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
168
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
175
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
169
176
|
super(_config_8);
|
|
170
177
|
this.config = _config_8;
|
|
171
178
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -193,8 +200,6 @@ var _CodeGuruSecurityClient = class _CodeGuruSecurityClient extends import_smith
|
|
|
193
200
|
super.destroy();
|
|
194
201
|
}
|
|
195
202
|
};
|
|
196
|
-
__name(_CodeGuruSecurityClient, "CodeGuruSecurityClient");
|
|
197
|
-
var CodeGuruSecurityClient = _CodeGuruSecurityClient;
|
|
198
203
|
|
|
199
204
|
// src/CodeGuruSecurity.ts
|
|
200
205
|
|
|
@@ -212,7 +217,10 @@ var import_uuid = require("uuid");
|
|
|
212
217
|
|
|
213
218
|
// src/models/CodeGuruSecurityServiceException.ts
|
|
214
219
|
|
|
215
|
-
var
|
|
220
|
+
var CodeGuruSecurityServiceException = class _CodeGuruSecurityServiceException extends import_smithy_client.ServiceException {
|
|
221
|
+
static {
|
|
222
|
+
__name(this, "CodeGuruSecurityServiceException");
|
|
223
|
+
}
|
|
216
224
|
/**
|
|
217
225
|
* @internal
|
|
218
226
|
*/
|
|
@@ -221,12 +229,30 @@ var _CodeGuruSecurityServiceException = class _CodeGuruSecurityServiceException
|
|
|
221
229
|
Object.setPrototypeOf(this, _CodeGuruSecurityServiceException.prototype);
|
|
222
230
|
}
|
|
223
231
|
};
|
|
224
|
-
__name(_CodeGuruSecurityServiceException, "CodeGuruSecurityServiceException");
|
|
225
|
-
var CodeGuruSecurityServiceException = _CodeGuruSecurityServiceException;
|
|
226
232
|
|
|
227
233
|
// src/models/models_0.ts
|
|
228
234
|
|
|
229
|
-
var
|
|
235
|
+
var AccessDeniedException = class _AccessDeniedException extends CodeGuruSecurityServiceException {
|
|
236
|
+
static {
|
|
237
|
+
__name(this, "AccessDeniedException");
|
|
238
|
+
}
|
|
239
|
+
name = "AccessDeniedException";
|
|
240
|
+
$fault = "client";
|
|
241
|
+
/**
|
|
242
|
+
* <p>The identifier for the error.</p>
|
|
243
|
+
* @public
|
|
244
|
+
*/
|
|
245
|
+
errorCode;
|
|
246
|
+
/**
|
|
247
|
+
* <p>The identifier for the resource you don't have access to.</p>
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
250
|
+
resourceId;
|
|
251
|
+
/**
|
|
252
|
+
* <p>The type of resource you don't have access to.</p>
|
|
253
|
+
* @public
|
|
254
|
+
*/
|
|
255
|
+
resourceType;
|
|
230
256
|
/**
|
|
231
257
|
* @internal
|
|
232
258
|
*/
|
|
@@ -236,16 +262,12 @@ var _AccessDeniedException = class _AccessDeniedException extends CodeGuruSecuri
|
|
|
236
262
|
$fault: "client",
|
|
237
263
|
...opts
|
|
238
264
|
});
|
|
239
|
-
this.name = "AccessDeniedException";
|
|
240
|
-
this.$fault = "client";
|
|
241
265
|
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
242
266
|
this.errorCode = opts.errorCode;
|
|
243
267
|
this.resourceId = opts.resourceId;
|
|
244
268
|
this.resourceType = opts.resourceType;
|
|
245
269
|
}
|
|
246
270
|
};
|
|
247
|
-
__name(_AccessDeniedException, "AccessDeniedException");
|
|
248
|
-
var AccessDeniedException = _AccessDeniedException;
|
|
249
271
|
var AnalysisType = {
|
|
250
272
|
ALL: "All",
|
|
251
273
|
SECURITY: "Security"
|
|
@@ -269,7 +291,18 @@ var Status = {
|
|
|
269
291
|
CLOSED: "Closed",
|
|
270
292
|
OPEN: "Open"
|
|
271
293
|
};
|
|
272
|
-
var
|
|
294
|
+
var InternalServerException = class _InternalServerException extends CodeGuruSecurityServiceException {
|
|
295
|
+
static {
|
|
296
|
+
__name(this, "InternalServerException");
|
|
297
|
+
}
|
|
298
|
+
name = "InternalServerException";
|
|
299
|
+
$fault = "server";
|
|
300
|
+
$retryable = {};
|
|
301
|
+
/**
|
|
302
|
+
* <p>The internal error encountered by the server.</p>
|
|
303
|
+
* @public
|
|
304
|
+
*/
|
|
305
|
+
error;
|
|
273
306
|
/**
|
|
274
307
|
* @internal
|
|
275
308
|
*/
|
|
@@ -279,16 +312,34 @@ var _InternalServerException = class _InternalServerException extends CodeGuruSe
|
|
|
279
312
|
$fault: "server",
|
|
280
313
|
...opts
|
|
281
314
|
});
|
|
282
|
-
this.name = "InternalServerException";
|
|
283
|
-
this.$fault = "server";
|
|
284
|
-
this.$retryable = {};
|
|
285
315
|
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
286
316
|
this.error = opts.error;
|
|
287
317
|
}
|
|
288
318
|
};
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
319
|
+
var ThrottlingException = class _ThrottlingException extends CodeGuruSecurityServiceException {
|
|
320
|
+
static {
|
|
321
|
+
__name(this, "ThrottlingException");
|
|
322
|
+
}
|
|
323
|
+
name = "ThrottlingException";
|
|
324
|
+
$fault = "client";
|
|
325
|
+
$retryable = {
|
|
326
|
+
throttling: true
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* <p>The identifier for the error.</p>
|
|
330
|
+
* @public
|
|
331
|
+
*/
|
|
332
|
+
errorCode;
|
|
333
|
+
/**
|
|
334
|
+
* <p>The identifier for the originating service.</p>
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
337
|
+
serviceCode;
|
|
338
|
+
/**
|
|
339
|
+
* <p>The identifier for the originating quota.</p>
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
342
|
+
quotaCode;
|
|
292
343
|
/**
|
|
293
344
|
* @internal
|
|
294
345
|
*/
|
|
@@ -298,19 +349,12 @@ var _ThrottlingException = class _ThrottlingException extends CodeGuruSecuritySe
|
|
|
298
349
|
$fault: "client",
|
|
299
350
|
...opts
|
|
300
351
|
});
|
|
301
|
-
this.name = "ThrottlingException";
|
|
302
|
-
this.$fault = "client";
|
|
303
|
-
this.$retryable = {
|
|
304
|
-
throttling: true
|
|
305
|
-
};
|
|
306
352
|
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
307
353
|
this.errorCode = opts.errorCode;
|
|
308
354
|
this.serviceCode = opts.serviceCode;
|
|
309
355
|
this.quotaCode = opts.quotaCode;
|
|
310
356
|
}
|
|
311
357
|
};
|
|
312
|
-
__name(_ThrottlingException, "ThrottlingException");
|
|
313
|
-
var ThrottlingException = _ThrottlingException;
|
|
314
358
|
var ValidationExceptionReason = {
|
|
315
359
|
CANNOT_PARSE: "cannotParse",
|
|
316
360
|
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
@@ -318,7 +362,27 @@ var ValidationExceptionReason = {
|
|
|
318
362
|
OTHER: "other",
|
|
319
363
|
UNKNOWN_OPERATION: "unknownOperation"
|
|
320
364
|
};
|
|
321
|
-
var
|
|
365
|
+
var ValidationException = class _ValidationException extends CodeGuruSecurityServiceException {
|
|
366
|
+
static {
|
|
367
|
+
__name(this, "ValidationException");
|
|
368
|
+
}
|
|
369
|
+
name = "ValidationException";
|
|
370
|
+
$fault = "client";
|
|
371
|
+
/**
|
|
372
|
+
* <p>The identifier for the error.</p>
|
|
373
|
+
* @public
|
|
374
|
+
*/
|
|
375
|
+
errorCode;
|
|
376
|
+
/**
|
|
377
|
+
* <p>The reason the request failed validation.</p>
|
|
378
|
+
* @public
|
|
379
|
+
*/
|
|
380
|
+
reason;
|
|
381
|
+
/**
|
|
382
|
+
* <p>The field that caused the error, if applicable.</p>
|
|
383
|
+
* @public
|
|
384
|
+
*/
|
|
385
|
+
fieldList;
|
|
322
386
|
/**
|
|
323
387
|
* @internal
|
|
324
388
|
*/
|
|
@@ -328,17 +392,33 @@ var _ValidationException = class _ValidationException extends CodeGuruSecuritySe
|
|
|
328
392
|
$fault: "client",
|
|
329
393
|
...opts
|
|
330
394
|
});
|
|
331
|
-
this.name = "ValidationException";
|
|
332
|
-
this.$fault = "client";
|
|
333
395
|
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
334
396
|
this.errorCode = opts.errorCode;
|
|
335
397
|
this.reason = opts.reason;
|
|
336
398
|
this.fieldList = opts.fieldList;
|
|
337
399
|
}
|
|
338
400
|
};
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
401
|
+
var ConflictException = class _ConflictException extends CodeGuruSecurityServiceException {
|
|
402
|
+
static {
|
|
403
|
+
__name(this, "ConflictException");
|
|
404
|
+
}
|
|
405
|
+
name = "ConflictException";
|
|
406
|
+
$fault = "client";
|
|
407
|
+
/**
|
|
408
|
+
* <p>The identifier for the error.</p>
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
errorCode;
|
|
412
|
+
/**
|
|
413
|
+
* <p>The identifier for the service resource associated with the request.</p>
|
|
414
|
+
* @public
|
|
415
|
+
*/
|
|
416
|
+
resourceId;
|
|
417
|
+
/**
|
|
418
|
+
* <p>The type of resource associated with the request.</p>
|
|
419
|
+
* @public
|
|
420
|
+
*/
|
|
421
|
+
resourceType;
|
|
342
422
|
/**
|
|
343
423
|
* @internal
|
|
344
424
|
*/
|
|
@@ -348,16 +428,12 @@ var _ConflictException = class _ConflictException extends CodeGuruSecurityServic
|
|
|
348
428
|
$fault: "client",
|
|
349
429
|
...opts
|
|
350
430
|
});
|
|
351
|
-
this.name = "ConflictException";
|
|
352
|
-
this.$fault = "client";
|
|
353
431
|
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
354
432
|
this.errorCode = opts.errorCode;
|
|
355
433
|
this.resourceId = opts.resourceId;
|
|
356
434
|
this.resourceType = opts.resourceType;
|
|
357
435
|
}
|
|
358
436
|
};
|
|
359
|
-
__name(_ConflictException, "ConflictException");
|
|
360
|
-
var ConflictException = _ConflictException;
|
|
361
437
|
var ResourceId;
|
|
362
438
|
((ResourceId3) => {
|
|
363
439
|
ResourceId3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -375,7 +451,27 @@ var ScanState = {
|
|
|
375
451
|
IN_PROGRESS: "InProgress",
|
|
376
452
|
SUCCESSFUL: "Successful"
|
|
377
453
|
};
|
|
378
|
-
var
|
|
454
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends CodeGuruSecurityServiceException {
|
|
455
|
+
static {
|
|
456
|
+
__name(this, "ResourceNotFoundException");
|
|
457
|
+
}
|
|
458
|
+
name = "ResourceNotFoundException";
|
|
459
|
+
$fault = "client";
|
|
460
|
+
/**
|
|
461
|
+
* <p>The identifier for the error.</p>
|
|
462
|
+
* @public
|
|
463
|
+
*/
|
|
464
|
+
errorCode;
|
|
465
|
+
/**
|
|
466
|
+
* <p>The identifier for the resource that was not found.</p>
|
|
467
|
+
* @public
|
|
468
|
+
*/
|
|
469
|
+
resourceId;
|
|
470
|
+
/**
|
|
471
|
+
* <p>The type of resource that was not found.</p>
|
|
472
|
+
* @public
|
|
473
|
+
*/
|
|
474
|
+
resourceType;
|
|
379
475
|
/**
|
|
380
476
|
* @internal
|
|
381
477
|
*/
|
|
@@ -385,16 +481,12 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends CodeGu
|
|
|
385
481
|
$fault: "client",
|
|
386
482
|
...opts
|
|
387
483
|
});
|
|
388
|
-
this.name = "ResourceNotFoundException";
|
|
389
|
-
this.$fault = "client";
|
|
390
484
|
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
391
485
|
this.errorCode = opts.errorCode;
|
|
392
486
|
this.resourceId = opts.resourceId;
|
|
393
487
|
this.resourceType = opts.resourceType;
|
|
394
488
|
}
|
|
395
489
|
};
|
|
396
|
-
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
397
|
-
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
398
490
|
var CreateUploadUrlResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
399
491
|
...obj,
|
|
400
492
|
...obj.s3Url && { s3Url: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -987,183 +1079,196 @@ var _sD = "startDate";
|
|
|
987
1079
|
var _tK = "tagKeys";
|
|
988
1080
|
|
|
989
1081
|
// src/commands/BatchGetFindingsCommand.ts
|
|
990
|
-
var
|
|
1082
|
+
var BatchGetFindingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
991
1083
|
return [
|
|
992
1084
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
993
1085
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
994
1086
|
];
|
|
995
1087
|
}).s("AwsCodeGuruSecurity", "BatchGetFindings", {}).n("CodeGuruSecurityClient", "BatchGetFindingsCommand").f(void 0, void 0).ser(se_BatchGetFindingsCommand).de(de_BatchGetFindingsCommand).build() {
|
|
1088
|
+
static {
|
|
1089
|
+
__name(this, "BatchGetFindingsCommand");
|
|
1090
|
+
}
|
|
996
1091
|
};
|
|
997
|
-
__name(_BatchGetFindingsCommand, "BatchGetFindingsCommand");
|
|
998
|
-
var BatchGetFindingsCommand = _BatchGetFindingsCommand;
|
|
999
1092
|
|
|
1000
1093
|
// src/commands/CreateScanCommand.ts
|
|
1001
1094
|
|
|
1002
1095
|
|
|
1003
1096
|
|
|
1004
|
-
var
|
|
1097
|
+
var CreateScanCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1005
1098
|
return [
|
|
1006
1099
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1007
1100
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1008
1101
|
];
|
|
1009
1102
|
}).s("AwsCodeGuruSecurity", "CreateScan", {}).n("CodeGuruSecurityClient", "CreateScanCommand").f(void 0, void 0).ser(se_CreateScanCommand).de(de_CreateScanCommand).build() {
|
|
1103
|
+
static {
|
|
1104
|
+
__name(this, "CreateScanCommand");
|
|
1105
|
+
}
|
|
1010
1106
|
};
|
|
1011
|
-
__name(_CreateScanCommand, "CreateScanCommand");
|
|
1012
|
-
var CreateScanCommand = _CreateScanCommand;
|
|
1013
1107
|
|
|
1014
1108
|
// src/commands/CreateUploadUrlCommand.ts
|
|
1015
1109
|
|
|
1016
1110
|
|
|
1017
1111
|
|
|
1018
|
-
var
|
|
1112
|
+
var CreateUploadUrlCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1019
1113
|
return [
|
|
1020
1114
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1021
1115
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1022
1116
|
];
|
|
1023
1117
|
}).s("AwsCodeGuruSecurity", "CreateUploadUrl", {}).n("CodeGuruSecurityClient", "CreateUploadUrlCommand").f(void 0, CreateUploadUrlResponseFilterSensitiveLog).ser(se_CreateUploadUrlCommand).de(de_CreateUploadUrlCommand).build() {
|
|
1118
|
+
static {
|
|
1119
|
+
__name(this, "CreateUploadUrlCommand");
|
|
1120
|
+
}
|
|
1024
1121
|
};
|
|
1025
|
-
__name(_CreateUploadUrlCommand, "CreateUploadUrlCommand");
|
|
1026
|
-
var CreateUploadUrlCommand = _CreateUploadUrlCommand;
|
|
1027
1122
|
|
|
1028
1123
|
// src/commands/GetAccountConfigurationCommand.ts
|
|
1029
1124
|
|
|
1030
1125
|
|
|
1031
1126
|
|
|
1032
|
-
var
|
|
1127
|
+
var GetAccountConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1033
1128
|
return [
|
|
1034
1129
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1035
1130
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1036
1131
|
];
|
|
1037
1132
|
}).s("AwsCodeGuruSecurity", "GetAccountConfiguration", {}).n("CodeGuruSecurityClient", "GetAccountConfigurationCommand").f(void 0, void 0).ser(se_GetAccountConfigurationCommand).de(de_GetAccountConfigurationCommand).build() {
|
|
1133
|
+
static {
|
|
1134
|
+
__name(this, "GetAccountConfigurationCommand");
|
|
1135
|
+
}
|
|
1038
1136
|
};
|
|
1039
|
-
__name(_GetAccountConfigurationCommand, "GetAccountConfigurationCommand");
|
|
1040
|
-
var GetAccountConfigurationCommand = _GetAccountConfigurationCommand;
|
|
1041
1137
|
|
|
1042
1138
|
// src/commands/GetFindingsCommand.ts
|
|
1043
1139
|
|
|
1044
1140
|
|
|
1045
1141
|
|
|
1046
|
-
var
|
|
1142
|
+
var GetFindingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1047
1143
|
return [
|
|
1048
1144
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1049
1145
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1050
1146
|
];
|
|
1051
1147
|
}).s("AwsCodeGuruSecurity", "GetFindings", {}).n("CodeGuruSecurityClient", "GetFindingsCommand").f(void 0, void 0).ser(se_GetFindingsCommand).de(de_GetFindingsCommand).build() {
|
|
1148
|
+
static {
|
|
1149
|
+
__name(this, "GetFindingsCommand");
|
|
1150
|
+
}
|
|
1052
1151
|
};
|
|
1053
|
-
__name(_GetFindingsCommand, "GetFindingsCommand");
|
|
1054
|
-
var GetFindingsCommand = _GetFindingsCommand;
|
|
1055
1152
|
|
|
1056
1153
|
// src/commands/GetMetricsSummaryCommand.ts
|
|
1057
1154
|
|
|
1058
1155
|
|
|
1059
1156
|
|
|
1060
|
-
var
|
|
1157
|
+
var GetMetricsSummaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1061
1158
|
return [
|
|
1062
1159
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1063
1160
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1064
1161
|
];
|
|
1065
1162
|
}).s("AwsCodeGuruSecurity", "GetMetricsSummary", {}).n("CodeGuruSecurityClient", "GetMetricsSummaryCommand").f(void 0, void 0).ser(se_GetMetricsSummaryCommand).de(de_GetMetricsSummaryCommand).build() {
|
|
1163
|
+
static {
|
|
1164
|
+
__name(this, "GetMetricsSummaryCommand");
|
|
1165
|
+
}
|
|
1066
1166
|
};
|
|
1067
|
-
__name(_GetMetricsSummaryCommand, "GetMetricsSummaryCommand");
|
|
1068
|
-
var GetMetricsSummaryCommand = _GetMetricsSummaryCommand;
|
|
1069
1167
|
|
|
1070
1168
|
// src/commands/GetScanCommand.ts
|
|
1071
1169
|
|
|
1072
1170
|
|
|
1073
1171
|
|
|
1074
|
-
var
|
|
1172
|
+
var GetScanCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1075
1173
|
return [
|
|
1076
1174
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1077
1175
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1078
1176
|
];
|
|
1079
1177
|
}).s("AwsCodeGuruSecurity", "GetScan", {}).n("CodeGuruSecurityClient", "GetScanCommand").f(void 0, void 0).ser(se_GetScanCommand).de(de_GetScanCommand).build() {
|
|
1178
|
+
static {
|
|
1179
|
+
__name(this, "GetScanCommand");
|
|
1180
|
+
}
|
|
1080
1181
|
};
|
|
1081
|
-
__name(_GetScanCommand, "GetScanCommand");
|
|
1082
|
-
var GetScanCommand = _GetScanCommand;
|
|
1083
1182
|
|
|
1084
1183
|
// src/commands/ListFindingsMetricsCommand.ts
|
|
1085
1184
|
|
|
1086
1185
|
|
|
1087
1186
|
|
|
1088
|
-
var
|
|
1187
|
+
var ListFindingsMetricsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1089
1188
|
return [
|
|
1090
1189
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1091
1190
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1092
1191
|
];
|
|
1093
1192
|
}).s("AwsCodeGuruSecurity", "ListFindingsMetrics", {}).n("CodeGuruSecurityClient", "ListFindingsMetricsCommand").f(void 0, void 0).ser(se_ListFindingsMetricsCommand).de(de_ListFindingsMetricsCommand).build() {
|
|
1193
|
+
static {
|
|
1194
|
+
__name(this, "ListFindingsMetricsCommand");
|
|
1195
|
+
}
|
|
1094
1196
|
};
|
|
1095
|
-
__name(_ListFindingsMetricsCommand, "ListFindingsMetricsCommand");
|
|
1096
|
-
var ListFindingsMetricsCommand = _ListFindingsMetricsCommand;
|
|
1097
1197
|
|
|
1098
1198
|
// src/commands/ListScansCommand.ts
|
|
1099
1199
|
|
|
1100
1200
|
|
|
1101
1201
|
|
|
1102
|
-
var
|
|
1202
|
+
var ListScansCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1103
1203
|
return [
|
|
1104
1204
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1105
1205
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1106
1206
|
];
|
|
1107
1207
|
}).s("AwsCodeGuruSecurity", "ListScans", {}).n("CodeGuruSecurityClient", "ListScansCommand").f(void 0, void 0).ser(se_ListScansCommand).de(de_ListScansCommand).build() {
|
|
1208
|
+
static {
|
|
1209
|
+
__name(this, "ListScansCommand");
|
|
1210
|
+
}
|
|
1108
1211
|
};
|
|
1109
|
-
__name(_ListScansCommand, "ListScansCommand");
|
|
1110
|
-
var ListScansCommand = _ListScansCommand;
|
|
1111
1212
|
|
|
1112
1213
|
// src/commands/ListTagsForResourceCommand.ts
|
|
1113
1214
|
|
|
1114
1215
|
|
|
1115
1216
|
|
|
1116
|
-
var
|
|
1217
|
+
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1117
1218
|
return [
|
|
1118
1219
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1119
1220
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1120
1221
|
];
|
|
1121
1222
|
}).s("AwsCodeGuruSecurity", "ListTagsForResource", {}).n("CodeGuruSecurityClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1223
|
+
static {
|
|
1224
|
+
__name(this, "ListTagsForResourceCommand");
|
|
1225
|
+
}
|
|
1122
1226
|
};
|
|
1123
|
-
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
1124
|
-
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
1125
1227
|
|
|
1126
1228
|
// src/commands/TagResourceCommand.ts
|
|
1127
1229
|
|
|
1128
1230
|
|
|
1129
1231
|
|
|
1130
|
-
var
|
|
1232
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1131
1233
|
return [
|
|
1132
1234
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1133
1235
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1134
1236
|
];
|
|
1135
1237
|
}).s("AwsCodeGuruSecurity", "TagResource", {}).n("CodeGuruSecurityClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1238
|
+
static {
|
|
1239
|
+
__name(this, "TagResourceCommand");
|
|
1240
|
+
}
|
|
1136
1241
|
};
|
|
1137
|
-
__name(_TagResourceCommand, "TagResourceCommand");
|
|
1138
|
-
var TagResourceCommand = _TagResourceCommand;
|
|
1139
1242
|
|
|
1140
1243
|
// src/commands/UntagResourceCommand.ts
|
|
1141
1244
|
|
|
1142
1245
|
|
|
1143
1246
|
|
|
1144
|
-
var
|
|
1247
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1145
1248
|
return [
|
|
1146
1249
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1147
1250
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1148
1251
|
];
|
|
1149
1252
|
}).s("AwsCodeGuruSecurity", "UntagResource", {}).n("CodeGuruSecurityClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1253
|
+
static {
|
|
1254
|
+
__name(this, "UntagResourceCommand");
|
|
1255
|
+
}
|
|
1150
1256
|
};
|
|
1151
|
-
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
1152
|
-
var UntagResourceCommand = _UntagResourceCommand;
|
|
1153
1257
|
|
|
1154
1258
|
// src/commands/UpdateAccountConfigurationCommand.ts
|
|
1155
1259
|
|
|
1156
1260
|
|
|
1157
1261
|
|
|
1158
|
-
var
|
|
1262
|
+
var UpdateAccountConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1159
1263
|
return [
|
|
1160
1264
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1161
1265
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1162
1266
|
];
|
|
1163
1267
|
}).s("AwsCodeGuruSecurity", "UpdateAccountConfiguration", {}).n("CodeGuruSecurityClient", "UpdateAccountConfigurationCommand").f(void 0, void 0).ser(se_UpdateAccountConfigurationCommand).de(de_UpdateAccountConfigurationCommand).build() {
|
|
1268
|
+
static {
|
|
1269
|
+
__name(this, "UpdateAccountConfigurationCommand");
|
|
1270
|
+
}
|
|
1164
1271
|
};
|
|
1165
|
-
__name(_UpdateAccountConfigurationCommand, "UpdateAccountConfigurationCommand");
|
|
1166
|
-
var UpdateAccountConfigurationCommand = _UpdateAccountConfigurationCommand;
|
|
1167
1272
|
|
|
1168
1273
|
// src/CodeGuruSecurity.ts
|
|
1169
1274
|
var commands = {
|
|
@@ -1181,10 +1286,11 @@ var commands = {
|
|
|
1181
1286
|
UntagResourceCommand,
|
|
1182
1287
|
UpdateAccountConfigurationCommand
|
|
1183
1288
|
};
|
|
1184
|
-
var
|
|
1289
|
+
var CodeGuruSecurity = class extends CodeGuruSecurityClient {
|
|
1290
|
+
static {
|
|
1291
|
+
__name(this, "CodeGuruSecurity");
|
|
1292
|
+
}
|
|
1185
1293
|
};
|
|
1186
|
-
__name(_CodeGuruSecurity, "CodeGuruSecurity");
|
|
1187
|
-
var CodeGuruSecurity = _CodeGuruSecurity;
|
|
1188
1294
|
(0, import_smithy_client.createAggregatedClient)(commands, CodeGuruSecurity);
|
|
1189
1295
|
|
|
1190
1296
|
// src/pagination/GetFindingsPaginator.ts
|
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class CodeGuruSecurityClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { CodeGuruSecurityServiceException as __BaseException } from "./CodeGuruSecurityServiceException";
|
|
3
3
|
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
name = "AccessDeniedException";
|
|
5
|
+
$fault = "client";
|
|
6
|
+
errorCode;
|
|
7
|
+
resourceId;
|
|
8
|
+
resourceType;
|
|
4
9
|
constructor(opts) {
|
|
5
10
|
super({
|
|
6
11
|
name: "AccessDeniedException",
|
|
7
12
|
$fault: "client",
|
|
8
13
|
...opts,
|
|
9
14
|
});
|
|
10
|
-
this.name = "AccessDeniedException";
|
|
11
|
-
this.$fault = "client";
|
|
12
15
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
16
|
this.errorCode = opts.errorCode;
|
|
14
17
|
this.resourceId = opts.resourceId;
|
|
@@ -39,31 +42,35 @@ export const Status = {
|
|
|
39
42
|
OPEN: "Open",
|
|
40
43
|
};
|
|
41
44
|
export class InternalServerException extends __BaseException {
|
|
45
|
+
name = "InternalServerException";
|
|
46
|
+
$fault = "server";
|
|
47
|
+
$retryable = {};
|
|
48
|
+
error;
|
|
42
49
|
constructor(opts) {
|
|
43
50
|
super({
|
|
44
51
|
name: "InternalServerException",
|
|
45
52
|
$fault: "server",
|
|
46
53
|
...opts,
|
|
47
54
|
});
|
|
48
|
-
this.name = "InternalServerException";
|
|
49
|
-
this.$fault = "server";
|
|
50
|
-
this.$retryable = {};
|
|
51
55
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
52
56
|
this.error = opts.error;
|
|
53
57
|
}
|
|
54
58
|
}
|
|
55
59
|
export class ThrottlingException extends __BaseException {
|
|
60
|
+
name = "ThrottlingException";
|
|
61
|
+
$fault = "client";
|
|
62
|
+
$retryable = {
|
|
63
|
+
throttling: true,
|
|
64
|
+
};
|
|
65
|
+
errorCode;
|
|
66
|
+
serviceCode;
|
|
67
|
+
quotaCode;
|
|
56
68
|
constructor(opts) {
|
|
57
69
|
super({
|
|
58
70
|
name: "ThrottlingException",
|
|
59
71
|
$fault: "client",
|
|
60
72
|
...opts,
|
|
61
73
|
});
|
|
62
|
-
this.name = "ThrottlingException";
|
|
63
|
-
this.$fault = "client";
|
|
64
|
-
this.$retryable = {
|
|
65
|
-
throttling: true,
|
|
66
|
-
};
|
|
67
74
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
68
75
|
this.errorCode = opts.errorCode;
|
|
69
76
|
this.serviceCode = opts.serviceCode;
|
|
@@ -78,14 +85,17 @@ export const ValidationExceptionReason = {
|
|
|
78
85
|
UNKNOWN_OPERATION: "unknownOperation",
|
|
79
86
|
};
|
|
80
87
|
export class ValidationException extends __BaseException {
|
|
88
|
+
name = "ValidationException";
|
|
89
|
+
$fault = "client";
|
|
90
|
+
errorCode;
|
|
91
|
+
reason;
|
|
92
|
+
fieldList;
|
|
81
93
|
constructor(opts) {
|
|
82
94
|
super({
|
|
83
95
|
name: "ValidationException",
|
|
84
96
|
$fault: "client",
|
|
85
97
|
...opts,
|
|
86
98
|
});
|
|
87
|
-
this.name = "ValidationException";
|
|
88
|
-
this.$fault = "client";
|
|
89
99
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
90
100
|
this.errorCode = opts.errorCode;
|
|
91
101
|
this.reason = opts.reason;
|
|
@@ -93,14 +103,17 @@ export class ValidationException extends __BaseException {
|
|
|
93
103
|
}
|
|
94
104
|
}
|
|
95
105
|
export class ConflictException extends __BaseException {
|
|
106
|
+
name = "ConflictException";
|
|
107
|
+
$fault = "client";
|
|
108
|
+
errorCode;
|
|
109
|
+
resourceId;
|
|
110
|
+
resourceType;
|
|
96
111
|
constructor(opts) {
|
|
97
112
|
super({
|
|
98
113
|
name: "ConflictException",
|
|
99
114
|
$fault: "client",
|
|
100
115
|
...opts,
|
|
101
116
|
});
|
|
102
|
-
this.name = "ConflictException";
|
|
103
|
-
this.$fault = "client";
|
|
104
117
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
105
118
|
this.errorCode = opts.errorCode;
|
|
106
119
|
this.resourceId = opts.resourceId;
|
|
@@ -125,14 +138,17 @@ export const ScanState = {
|
|
|
125
138
|
SUCCESSFUL: "Successful",
|
|
126
139
|
};
|
|
127
140
|
export class ResourceNotFoundException extends __BaseException {
|
|
141
|
+
name = "ResourceNotFoundException";
|
|
142
|
+
$fault = "client";
|
|
143
|
+
errorCode;
|
|
144
|
+
resourceId;
|
|
145
|
+
resourceType;
|
|
128
146
|
constructor(opts) {
|
|
129
147
|
super({
|
|
130
148
|
name: "ResourceNotFoundException",
|
|
131
149
|
$fault: "client",
|
|
132
150
|
...opts,
|
|
133
151
|
});
|
|
134
|
-
this.name = "ResourceNotFoundException";
|
|
135
|
-
this.$fault = "client";
|
|
136
152
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
137
153
|
this.errorCode = opts.errorCode;
|
|
138
154
|
this.resourceId = opts.resourceId;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) =>
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) =>
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) =>
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) =>
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
input: any
|
|
13
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
_: unknown
|
|
15
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
16
|
defaultUserAgentProvider: (
|
|
15
17
|
config?:
|
|
16
18
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
init?:
|
|
15
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
16
|
+
| undefined
|
|
17
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
18
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
19
|
+
>);
|
|
18
20
|
defaultUserAgentProvider: (
|
|
19
21
|
config?:
|
|
20
22
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
|
|
|
30
30
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
31
31
|
| undefined
|
|
32
32
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
33
|
-
credentialDefaultProvider:
|
|
34
|
-
input: any
|
|
35
|
-
|
|
33
|
+
credentialDefaultProvider:
|
|
34
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
35
|
+
| ((
|
|
36
|
+
_: unknown
|
|
37
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
36
38
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
37
39
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
40
|
logger: import("@smithy/types").Logger;
|
|
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
|
|
|
52
54
|
| import("@smithy/types").RetryStrategyV2
|
|
53
55
|
| undefined;
|
|
54
56
|
endpoint?:
|
|
55
|
-
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
| ((
|
|
58
|
+
| string
|
|
59
|
+
| import("@smithy/types").Endpoint
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
61
|
+
| import("@smithy/types").EndpointV2
|
|
62
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
63
|
+
) &
|
|
64
|
+
(
|
|
65
|
+
| string
|
|
66
|
+
| import("@smithy/types").Provider<string>
|
|
67
|
+
| import("@smithy/types").Endpoint
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
69
|
+
| import("@smithy/types").EndpointV2
|
|
70
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
71
|
+
))
|
|
60
72
|
| undefined;
|
|
61
73
|
endpointProvider: (
|
|
62
74
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codeguru-security",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codeguru Security Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.726.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-codeguru-security",
|
|
@@ -20,58 +20,58 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.726.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.726.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.726.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.726.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.726.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.726.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"@types/uuid": "^9.0.1",
|
|
62
62
|
"tslib": "^2.6.2",
|
|
63
63
|
"uuid": "^9.0.1"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@tsconfig/
|
|
67
|
-
"@types/node": "^
|
|
66
|
+
"@tsconfig/node18": "18.2.4",
|
|
67
|
+
"@types/node": "^18.19.69",
|
|
68
68
|
"concurrently": "7.0.0",
|
|
69
69
|
"downlevel-dts": "0.10.1",
|
|
70
70
|
"rimraf": "3.0.2",
|
|
71
|
-
"typescript": "~
|
|
71
|
+
"typescript": "~5.2.2"
|
|
72
72
|
},
|
|
73
73
|
"engines": {
|
|
74
|
-
"node": ">=
|
|
74
|
+
"node": ">=18.0.0"
|
|
75
75
|
},
|
|
76
76
|
"typesVersions": {
|
|
77
77
|
"<4.0": {
|