@aws-sdk/client-codeguru-security 3.645.0 → 3.650.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/endpoint/endpointResolver.js +6 -2
- package/dist-cjs/index.js +13 -39
- package/dist-es/commands/BatchGetFindingsCommand.js +1 -3
- package/dist-es/commands/CreateScanCommand.js +1 -3
- package/dist-es/commands/CreateUploadUrlCommand.js +1 -3
- package/dist-es/commands/GetAccountConfigurationCommand.js +1 -3
- package/dist-es/commands/GetFindingsCommand.js +1 -3
- package/dist-es/commands/GetMetricsSummaryCommand.js +1 -3
- package/dist-es/commands/GetScanCommand.js +1 -3
- package/dist-es/commands/ListFindingsMetricsCommand.js +1 -3
- package/dist-es/commands/ListScansCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/TagResourceCommand.js +1 -3
- package/dist-es/commands/UntagResourceCommand.js +1 -3
- package/dist-es/commands/UpdateAccountConfigurationCommand.js +1 -3
- package/dist-es/endpoint/endpointResolver.js +7 -3
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +35 -35
|
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
|
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
5
|
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
6
6
|
const ruleset_1 = require("./ruleset");
|
|
7
|
+
const cache = new util_endpoints_2.EndpointCache({
|
|
8
|
+
size: 50,
|
|
9
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
|
+
});
|
|
7
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
8
|
-
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
9
13
|
endpointParams: endpointParams,
|
|
10
14
|
logger: context.logger,
|
|
11
|
-
});
|
|
15
|
+
}));
|
|
12
16
|
};
|
|
13
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
18
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -990,9 +990,7 @@ var _sD = "startDate";
|
|
|
990
990
|
var _tK = "tagKeys";
|
|
991
991
|
|
|
992
992
|
// src/commands/BatchGetFindingsCommand.ts
|
|
993
|
-
var _BatchGetFindingsCommand = class _BatchGetFindingsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
994
|
-
...commonParams
|
|
995
|
-
}).m(function(Command, cs, config, o) {
|
|
993
|
+
var _BatchGetFindingsCommand = class _BatchGetFindingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
996
994
|
return [
|
|
997
995
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
998
996
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1006,9 +1004,7 @@ var BatchGetFindingsCommand = _BatchGetFindingsCommand;
|
|
|
1006
1004
|
|
|
1007
1005
|
|
|
1008
1006
|
|
|
1009
|
-
var _CreateScanCommand = class _CreateScanCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1010
|
-
...commonParams
|
|
1011
|
-
}).m(function(Command, cs, config, o) {
|
|
1007
|
+
var _CreateScanCommand = class _CreateScanCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1012
1008
|
return [
|
|
1013
1009
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1014
1010
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1022,9 +1018,7 @@ var CreateScanCommand = _CreateScanCommand;
|
|
|
1022
1018
|
|
|
1023
1019
|
|
|
1024
1020
|
|
|
1025
|
-
var _CreateUploadUrlCommand = class _CreateUploadUrlCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1026
|
-
...commonParams
|
|
1027
|
-
}).m(function(Command, cs, config, o) {
|
|
1021
|
+
var _CreateUploadUrlCommand = class _CreateUploadUrlCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1028
1022
|
return [
|
|
1029
1023
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1030
1024
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1038,9 +1032,7 @@ var CreateUploadUrlCommand = _CreateUploadUrlCommand;
|
|
|
1038
1032
|
|
|
1039
1033
|
|
|
1040
1034
|
|
|
1041
|
-
var _GetAccountConfigurationCommand = class _GetAccountConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1042
|
-
...commonParams
|
|
1043
|
-
}).m(function(Command, cs, config, o) {
|
|
1035
|
+
var _GetAccountConfigurationCommand = class _GetAccountConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1044
1036
|
return [
|
|
1045
1037
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1046
1038
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1054,9 +1046,7 @@ var GetAccountConfigurationCommand = _GetAccountConfigurationCommand;
|
|
|
1054
1046
|
|
|
1055
1047
|
|
|
1056
1048
|
|
|
1057
|
-
var _GetFindingsCommand = class _GetFindingsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1058
|
-
...commonParams
|
|
1059
|
-
}).m(function(Command, cs, config, o) {
|
|
1049
|
+
var _GetFindingsCommand = class _GetFindingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1060
1050
|
return [
|
|
1061
1051
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1062
1052
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1070,9 +1060,7 @@ var GetFindingsCommand = _GetFindingsCommand;
|
|
|
1070
1060
|
|
|
1071
1061
|
|
|
1072
1062
|
|
|
1073
|
-
var _GetMetricsSummaryCommand = class _GetMetricsSummaryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1074
|
-
...commonParams
|
|
1075
|
-
}).m(function(Command, cs, config, o) {
|
|
1063
|
+
var _GetMetricsSummaryCommand = class _GetMetricsSummaryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1076
1064
|
return [
|
|
1077
1065
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1078
1066
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1086,9 +1074,7 @@ var GetMetricsSummaryCommand = _GetMetricsSummaryCommand;
|
|
|
1086
1074
|
|
|
1087
1075
|
|
|
1088
1076
|
|
|
1089
|
-
var _GetScanCommand = class _GetScanCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1090
|
-
...commonParams
|
|
1091
|
-
}).m(function(Command, cs, config, o) {
|
|
1077
|
+
var _GetScanCommand = class _GetScanCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1092
1078
|
return [
|
|
1093
1079
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1094
1080
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1102,9 +1088,7 @@ var GetScanCommand = _GetScanCommand;
|
|
|
1102
1088
|
|
|
1103
1089
|
|
|
1104
1090
|
|
|
1105
|
-
var _ListFindingsMetricsCommand = class _ListFindingsMetricsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1106
|
-
...commonParams
|
|
1107
|
-
}).m(function(Command, cs, config, o) {
|
|
1091
|
+
var _ListFindingsMetricsCommand = class _ListFindingsMetricsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1108
1092
|
return [
|
|
1109
1093
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1110
1094
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1118,9 +1102,7 @@ var ListFindingsMetricsCommand = _ListFindingsMetricsCommand;
|
|
|
1118
1102
|
|
|
1119
1103
|
|
|
1120
1104
|
|
|
1121
|
-
var _ListScansCommand = class _ListScansCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1122
|
-
...commonParams
|
|
1123
|
-
}).m(function(Command, cs, config, o) {
|
|
1105
|
+
var _ListScansCommand = class _ListScansCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1124
1106
|
return [
|
|
1125
1107
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1126
1108
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1134,9 +1116,7 @@ var ListScansCommand = _ListScansCommand;
|
|
|
1134
1116
|
|
|
1135
1117
|
|
|
1136
1118
|
|
|
1137
|
-
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1138
|
-
...commonParams
|
|
1139
|
-
}).m(function(Command, cs, config, o) {
|
|
1119
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1140
1120
|
return [
|
|
1141
1121
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1142
1122
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1150,9 +1130,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
|
1150
1130
|
|
|
1151
1131
|
|
|
1152
1132
|
|
|
1153
|
-
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1154
|
-
...commonParams
|
|
1155
|
-
}).m(function(Command, cs, config, o) {
|
|
1133
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1156
1134
|
return [
|
|
1157
1135
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1158
1136
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1166,9 +1144,7 @@ var TagResourceCommand = _TagResourceCommand;
|
|
|
1166
1144
|
|
|
1167
1145
|
|
|
1168
1146
|
|
|
1169
|
-
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1170
|
-
...commonParams
|
|
1171
|
-
}).m(function(Command, cs, config, o) {
|
|
1147
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1172
1148
|
return [
|
|
1173
1149
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1174
1150
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1182,9 +1158,7 @@ var UntagResourceCommand = _UntagResourceCommand;
|
|
|
1182
1158
|
|
|
1183
1159
|
|
|
1184
1160
|
|
|
1185
|
-
var _UpdateAccountConfigurationCommand = class _UpdateAccountConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1186
|
-
...commonParams
|
|
1187
|
-
}).m(function(Command, cs, config, o) {
|
|
1161
|
+
var _UpdateAccountConfigurationCommand = class _UpdateAccountConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1188
1162
|
return [
|
|
1189
1163
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1190
1164
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -6,9 +6,7 @@ import { de_BatchGetFindingsCommand, se_BatchGetFindingsCommand } from "../proto
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class BatchGetFindingsCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_CreateScanCommand, se_CreateScanCommand } from "../protocols/Aws_res
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class CreateScanCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_CreateUploadUrlCommand, se_CreateUploadUrlCommand } from "../protoco
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class CreateUploadUrlCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_GetAccountConfigurationCommand, se_GetAccountConfigurationCommand }
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetAccountConfigurationCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_GetFindingsCommand, se_GetFindingsCommand } from "../protocols/Aws_r
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetFindingsCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_GetMetricsSummaryCommand, se_GetMetricsSummaryCommand } from "../pro
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetMetricsSummaryCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_GetScanCommand, se_GetScanCommand } from "../protocols/Aws_restJson1
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetScanCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_ListFindingsMetricsCommand, se_ListFindingsMetricsCommand } from "..
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListFindingsMetricsCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_ListScansCommand, se_ListScansCommand } from "../protocols/Aws_restJ
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListScansCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "..
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListTagsForResourceCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_r
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class TagResourceCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class UntagResourceCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_UpdateAccountConfigurationCommand, se_UpdateAccountConfigurationComm
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class UpdateAccountConfigurationCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
3
|
import { ruleSet } from "./ruleset";
|
|
4
|
+
const cache = new EndpointCache({
|
|
5
|
+
size: 50,
|
|
6
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
|
+
});
|
|
4
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
5
|
-
return resolveEndpoint(ruleSet, {
|
|
9
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
6
10
|
endpointParams: endpointParams,
|
|
7
11
|
logger: context.logger,
|
|
8
|
-
});
|
|
12
|
+
}));
|
|
9
13
|
};
|
|
10
14
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) =>
|
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
apiVersion: string;
|
|
21
|
+
cacheMiddleware?: boolean | undefined;
|
|
21
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
23
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
24
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) =>
|
|
|
34
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
35
36
|
}) => import("@smithy/types").EndpointV2;
|
|
36
37
|
tls?: boolean | undefined;
|
|
38
|
+
serviceConfiguredEndpoint?: undefined;
|
|
37
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
40
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeGuruSecurityHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) =>
|
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
apiVersion: string;
|
|
21
|
+
cacheMiddleware?: boolean | undefined;
|
|
21
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
23
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
24
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) =>
|
|
|
34
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
35
36
|
}) => import("@smithy/types").EndpointV2;
|
|
36
37
|
tls?: boolean | undefined;
|
|
38
|
+
serviceConfiguredEndpoint?: undefined;
|
|
37
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
40
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeGuruSecurityHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) =>
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
|
+
cacheMiddleware?: boolean | undefined;
|
|
10
11
|
urlParser: import("@smithy/types").UrlParser;
|
|
11
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
13
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) =>
|
|
|
33
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
34
35
|
}) => import("@smithy/types").EndpointV2;
|
|
35
36
|
tls?: boolean | undefined;
|
|
37
|
+
serviceConfiguredEndpoint?: undefined;
|
|
36
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
37
39
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeGuruSecurityHttpAuthSchemeProvider;
|
|
38
40
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (
|
|
|
25
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
26
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
27
|
apiVersion: string;
|
|
28
|
+
cacheMiddleware?: boolean | undefined;
|
|
28
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
29
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
30
31
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -63,6 +64,7 @@ export declare const getRuntimeConfig: (
|
|
|
63
64
|
}
|
|
64
65
|
) => import("@smithy/types").EndpointV2;
|
|
65
66
|
tls?: boolean | undefined;
|
|
67
|
+
serviceConfiguredEndpoint?: undefined;
|
|
66
68
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
67
69
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeGuruSecurityHttpAuthSchemeProvider;
|
|
68
70
|
credentials?:
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (
|
|
|
29
29
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
30
30
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
31
31
|
apiVersion: string;
|
|
32
|
+
cacheMiddleware?: boolean | undefined;
|
|
32
33
|
urlParser: import("@smithy/types").UrlParser;
|
|
33
34
|
base64Decoder: import("@smithy/types").Decoder;
|
|
34
35
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -67,6 +68,7 @@ export declare const getRuntimeConfig: (
|
|
|
67
68
|
}
|
|
68
69
|
) => import("@smithy/types").EndpointV2;
|
|
69
70
|
tls?: boolean | undefined;
|
|
71
|
+
serviceConfiguredEndpoint?: undefined;
|
|
70
72
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
71
73
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeGuruSecurityHttpAuthSchemeProvider;
|
|
72
74
|
credentials?:
|
|
@@ -11,6 +11,7 @@ export declare const getRuntimeConfig: (
|
|
|
11
11
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
12
12
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
13
13
|
apiVersion: string;
|
|
14
|
+
cacheMiddleware?: boolean | undefined;
|
|
14
15
|
urlParser: import("@smithy/types").UrlParser;
|
|
15
16
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
16
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -57,6 +58,7 @@ export declare const getRuntimeConfig: (
|
|
|
57
58
|
}
|
|
58
59
|
) => import("@smithy/types").EndpointV2;
|
|
59
60
|
tls?: boolean | undefined;
|
|
61
|
+
serviceConfiguredEndpoint?: undefined;
|
|
60
62
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
61
63
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeGuruSecurityHttpAuthSchemeProvider;
|
|
62
64
|
credentials?:
|
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.650.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,43 +20,43 @@
|
|
|
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": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.4.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.1.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.650.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.650.0",
|
|
25
|
+
"@aws-sdk/core": "3.649.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.650.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.649.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.649.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.649.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.649.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.649.0",
|
|
32
|
+
"@aws-sdk/types": "3.649.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.649.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.649.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.649.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.6",
|
|
37
|
+
"@smithy/core": "^2.4.1",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.5",
|
|
39
|
+
"@smithy/hash-node": "^3.0.4",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.4",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.6",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.1.1",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.16",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.4",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.4",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.5",
|
|
47
|
+
"@smithy/node-http-handler": "^3.2.0",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.1",
|
|
49
|
+
"@smithy/smithy-client": "^3.3.0",
|
|
50
|
+
"@smithy/types": "^3.4.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.4",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.0
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.16",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.16",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.0",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.4",
|
|
59
|
+
"@smithy/util-retry": "^3.0.4",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
61
|
"tslib": "^2.6.2",
|
|
62
62
|
"uuid": "^9.0.1"
|