@aws-sdk/client-codestar-notifications 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/CreateNotificationRuleCommand.js +1 -3
- package/dist-es/commands/DeleteNotificationRuleCommand.js +1 -3
- package/dist-es/commands/DeleteTargetCommand.js +1 -3
- package/dist-es/commands/DescribeNotificationRuleCommand.js +1 -3
- package/dist-es/commands/ListEventTypesCommand.js +1 -3
- package/dist-es/commands/ListNotificationRulesCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/ListTargetsCommand.js +1 -3
- package/dist-es/commands/SubscribeCommand.js +1 -3
- package/dist-es/commands/TagResourceCommand.js +1 -3
- package/dist-es/commands/UnsubscribeCommand.js +1 -3
- package/dist-es/commands/UntagResourceCommand.js +1 -3
- package/dist-es/commands/UpdateNotificationRuleCommand.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
|
@@ -1005,9 +1005,7 @@ var _TK = "TagKeys";
|
|
|
1005
1005
|
var _tK = "tagKeys";
|
|
1006
1006
|
|
|
1007
1007
|
// src/commands/CreateNotificationRuleCommand.ts
|
|
1008
|
-
var _CreateNotificationRuleCommand = class _CreateNotificationRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1009
|
-
...commonParams
|
|
1010
|
-
}).m(function(Command, cs, config, o) {
|
|
1008
|
+
var _CreateNotificationRuleCommand = class _CreateNotificationRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1011
1009
|
return [
|
|
1012
1010
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1013
1011
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1021,9 +1019,7 @@ var CreateNotificationRuleCommand = _CreateNotificationRuleCommand;
|
|
|
1021
1019
|
|
|
1022
1020
|
|
|
1023
1021
|
|
|
1024
|
-
var _DeleteNotificationRuleCommand = class _DeleteNotificationRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1025
|
-
...commonParams
|
|
1026
|
-
}).m(function(Command, cs, config, o) {
|
|
1022
|
+
var _DeleteNotificationRuleCommand = class _DeleteNotificationRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1027
1023
|
return [
|
|
1028
1024
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1029
1025
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1037,9 +1033,7 @@ var DeleteNotificationRuleCommand = _DeleteNotificationRuleCommand;
|
|
|
1037
1033
|
|
|
1038
1034
|
|
|
1039
1035
|
|
|
1040
|
-
var _DeleteTargetCommand = class _DeleteTargetCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1041
|
-
...commonParams
|
|
1042
|
-
}).m(function(Command, cs, config, o) {
|
|
1036
|
+
var _DeleteTargetCommand = class _DeleteTargetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1043
1037
|
return [
|
|
1044
1038
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1045
1039
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1053,9 +1047,7 @@ var DeleteTargetCommand = _DeleteTargetCommand;
|
|
|
1053
1047
|
|
|
1054
1048
|
|
|
1055
1049
|
|
|
1056
|
-
var _DescribeNotificationRuleCommand = class _DescribeNotificationRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1057
|
-
...commonParams
|
|
1058
|
-
}).m(function(Command, cs, config, o) {
|
|
1050
|
+
var _DescribeNotificationRuleCommand = class _DescribeNotificationRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1059
1051
|
return [
|
|
1060
1052
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1061
1053
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1069,9 +1061,7 @@ var DescribeNotificationRuleCommand = _DescribeNotificationRuleCommand;
|
|
|
1069
1061
|
|
|
1070
1062
|
|
|
1071
1063
|
|
|
1072
|
-
var _ListEventTypesCommand = class _ListEventTypesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1073
|
-
...commonParams
|
|
1074
|
-
}).m(function(Command, cs, config, o) {
|
|
1064
|
+
var _ListEventTypesCommand = class _ListEventTypesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1075
1065
|
return [
|
|
1076
1066
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1077
1067
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1085,9 +1075,7 @@ var ListEventTypesCommand = _ListEventTypesCommand;
|
|
|
1085
1075
|
|
|
1086
1076
|
|
|
1087
1077
|
|
|
1088
|
-
var _ListNotificationRulesCommand = class _ListNotificationRulesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1089
|
-
...commonParams
|
|
1090
|
-
}).m(function(Command, cs, config, o) {
|
|
1078
|
+
var _ListNotificationRulesCommand = class _ListNotificationRulesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1091
1079
|
return [
|
|
1092
1080
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1093
1081
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1101,9 +1089,7 @@ var ListNotificationRulesCommand = _ListNotificationRulesCommand;
|
|
|
1101
1089
|
|
|
1102
1090
|
|
|
1103
1091
|
|
|
1104
|
-
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1105
|
-
...commonParams
|
|
1106
|
-
}).m(function(Command, cs, config, o) {
|
|
1092
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1107
1093
|
return [
|
|
1108
1094
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1109
1095
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1117,9 +1103,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
|
1117
1103
|
|
|
1118
1104
|
|
|
1119
1105
|
|
|
1120
|
-
var _ListTargetsCommand = class _ListTargetsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1121
|
-
...commonParams
|
|
1122
|
-
}).m(function(Command, cs, config, o) {
|
|
1106
|
+
var _ListTargetsCommand = class _ListTargetsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1123
1107
|
return [
|
|
1124
1108
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1125
1109
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1133,9 +1117,7 @@ var ListTargetsCommand = _ListTargetsCommand;
|
|
|
1133
1117
|
|
|
1134
1118
|
|
|
1135
1119
|
|
|
1136
|
-
var _SubscribeCommand = class _SubscribeCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1137
|
-
...commonParams
|
|
1138
|
-
}).m(function(Command, cs, config, o) {
|
|
1120
|
+
var _SubscribeCommand = class _SubscribeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1139
1121
|
return [
|
|
1140
1122
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1141
1123
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1149,9 +1131,7 @@ var SubscribeCommand = _SubscribeCommand;
|
|
|
1149
1131
|
|
|
1150
1132
|
|
|
1151
1133
|
|
|
1152
|
-
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1153
|
-
...commonParams
|
|
1154
|
-
}).m(function(Command, cs, config, o) {
|
|
1134
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1155
1135
|
return [
|
|
1156
1136
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1157
1137
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1165,9 +1145,7 @@ var TagResourceCommand = _TagResourceCommand;
|
|
|
1165
1145
|
|
|
1166
1146
|
|
|
1167
1147
|
|
|
1168
|
-
var _UnsubscribeCommand = class _UnsubscribeCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1169
|
-
...commonParams
|
|
1170
|
-
}).m(function(Command, cs, config, o) {
|
|
1148
|
+
var _UnsubscribeCommand = class _UnsubscribeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1171
1149
|
return [
|
|
1172
1150
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1173
1151
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1181,9 +1159,7 @@ var UnsubscribeCommand = _UnsubscribeCommand;
|
|
|
1181
1159
|
|
|
1182
1160
|
|
|
1183
1161
|
|
|
1184
|
-
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1185
|
-
...commonParams
|
|
1186
|
-
}).m(function(Command, cs, config, o) {
|
|
1162
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1187
1163
|
return [
|
|
1188
1164
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1189
1165
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1197,9 +1173,7 @@ var UntagResourceCommand = _UntagResourceCommand;
|
|
|
1197
1173
|
|
|
1198
1174
|
|
|
1199
1175
|
|
|
1200
|
-
var _UpdateNotificationRuleCommand = class _UpdateNotificationRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1201
|
-
...commonParams
|
|
1202
|
-
}).m(function(Command, cs, config, o) {
|
|
1176
|
+
var _UpdateNotificationRuleCommand = class _UpdateNotificationRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1203
1177
|
return [
|
|
1204
1178
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1205
1179
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -7,9 +7,7 @@ import { de_CreateNotificationRuleCommand, se_CreateNotificationRuleCommand } fr
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class CreateNotificationRuleCommand 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_DeleteNotificationRuleCommand, se_DeleteNotificationRuleCommand } fr
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeleteNotificationRuleCommand 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_DeleteTargetCommand, se_DeleteTargetCommand } from "../protocols/Aws
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class DeleteTargetCommand 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),
|
|
@@ -7,9 +7,7 @@ import { de_DescribeNotificationRuleCommand, se_DescribeNotificationRuleCommand
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class DescribeNotificationRuleCommand 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_ListEventTypesCommand, se_ListEventTypesCommand } from "../protocols
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListEventTypesCommand 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_ListNotificationRulesCommand, se_ListNotificationRulesCommand } from
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListNotificationRulesCommand 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),
|
|
@@ -7,9 +7,7 @@ import { de_ListTargetsCommand, se_ListTargetsCommand } from "../protocols/Aws_r
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class ListTargetsCommand 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),
|
|
@@ -7,9 +7,7 @@ import { de_SubscribeCommand, se_SubscribeCommand } from "../protocols/Aws_restJ
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class SubscribeCommand 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_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),
|
|
@@ -7,9 +7,7 @@ import { de_UnsubscribeCommand, se_UnsubscribeCommand } from "../protocols/Aws_r
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class UnsubscribeCommand 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_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),
|
|
@@ -7,9 +7,7 @@ import { de_UpdateNotificationRuleCommand, se_UpdateNotificationRuleCommand } fr
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class UpdateNotificationRuleCommand 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),
|
|
@@ -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: CodestarNotificationsClientConfi
|
|
|
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: CodestarNotificationsClientConfi
|
|
|
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").CodestarNotificationsHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: CodestarNotificationsClientConfi
|
|
|
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: CodestarNotificationsClientConfi
|
|
|
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").CodestarNotificationsHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: CodestarNotificationsClientConfi
|
|
|
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: CodestarNotificationsClientConfi
|
|
|
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").CodestarNotificationsHttpAuthSchemeProvider;
|
|
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").CodestarNotificationsHttpAuthSchemeProvider;
|
|
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").CodestarNotificationsHttpAuthSchemeProvider;
|
|
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").CodestarNotificationsHttpAuthSchemeProvider;
|
|
62
64
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codestar-notifications",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codestar Notifications 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-codestar-notifications",
|
|
@@ -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"
|