@aws-sdk/client-eventbridge 3.622.0 → 3.623.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/auth/httpAuthSchemeProvider.js +126 -0
- package/dist-cjs/index.js +109 -56
- package/dist-cjs/runtimeConfig.shared.js +15 -0
- package/dist-es/EventBridgeClient.js +11 -3
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +122 -0
- package/dist-es/runtimeConfig.shared.js +15 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/EventBridgeClient.d.ts +6 -6
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +69 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +3 -1
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/EventBridgeClient.d.ts +8 -8
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +3 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +6 -6
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveHttpAuthSchemeConfig = exports.defaultEventBridgeHttpAuthSchemeProvider = exports.defaultEventBridgeHttpAuthSchemeParametersProvider = void 0;
|
|
4
|
+
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region");
|
|
6
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
7
|
+
const util_middleware_1 = require("@smithy/util-middleware");
|
|
8
|
+
const endpointResolver_1 = require("../endpoint/endpointResolver");
|
|
9
|
+
const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
|
|
10
|
+
if (!input) {
|
|
11
|
+
throw new Error(`Could not find \`input\` for \`defaultEndpointRuleSetHttpAuthSchemeParametersProvider\``);
|
|
12
|
+
}
|
|
13
|
+
const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);
|
|
14
|
+
const instructionsFn = (0, util_middleware_1.getSmithyContext)(context)?.commandInstance?.constructor
|
|
15
|
+
?.getEndpointParameterInstructions;
|
|
16
|
+
if (!instructionsFn) {
|
|
17
|
+
throw new Error(`getEndpointParameterInstructions() is not defined on \`${context.commandName}\``);
|
|
18
|
+
}
|
|
19
|
+
const endpointParameters = await (0, middleware_endpoint_1.resolveParams)(input, { getEndpointParameterInstructions: instructionsFn }, config);
|
|
20
|
+
return Object.assign(defaultParameters, endpointParameters);
|
|
21
|
+
};
|
|
22
|
+
const _defaultEventBridgeHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
23
|
+
return {
|
|
24
|
+
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
25
|
+
region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
|
|
26
|
+
(() => {
|
|
27
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
28
|
+
})(),
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
exports.defaultEventBridgeHttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultEventBridgeHttpAuthSchemeParametersProvider);
|
|
32
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
33
|
+
return {
|
|
34
|
+
schemeId: "aws.auth#sigv4",
|
|
35
|
+
signingProperties: {
|
|
36
|
+
name: "events",
|
|
37
|
+
region: authParameters.region,
|
|
38
|
+
},
|
|
39
|
+
propertiesExtractor: (config, context) => ({
|
|
40
|
+
signingProperties: {
|
|
41
|
+
config,
|
|
42
|
+
context,
|
|
43
|
+
},
|
|
44
|
+
}),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function createAwsAuthSigv4aHttpAuthOption(authParameters) {
|
|
48
|
+
return {
|
|
49
|
+
schemeId: "aws.auth#sigv4a",
|
|
50
|
+
signingProperties: {
|
|
51
|
+
name: "events",
|
|
52
|
+
region: authParameters.region,
|
|
53
|
+
},
|
|
54
|
+
propertiesExtractor: (config, context) => ({
|
|
55
|
+
signingProperties: {
|
|
56
|
+
config,
|
|
57
|
+
context,
|
|
58
|
+
},
|
|
59
|
+
}),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
const createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver, defaultHttpAuthSchemeResolver, createHttpAuthOptionFunctions) => {
|
|
63
|
+
const endpointRuleSetHttpAuthSchemeProvider = (authParameters) => {
|
|
64
|
+
const endpoint = defaultEndpointResolver(authParameters);
|
|
65
|
+
const authSchemes = endpoint.properties?.authSchemes;
|
|
66
|
+
if (!authSchemes) {
|
|
67
|
+
return defaultHttpAuthSchemeResolver(authParameters);
|
|
68
|
+
}
|
|
69
|
+
const options = [];
|
|
70
|
+
for (const scheme of authSchemes) {
|
|
71
|
+
const { name: resolvedName, properties = {}, ...rest } = scheme;
|
|
72
|
+
const name = resolvedName.toLowerCase();
|
|
73
|
+
if (resolvedName !== name) {
|
|
74
|
+
console.warn(`HttpAuthScheme has been normalized with lowercasing: \`${resolvedName}\` to \`${name}\``);
|
|
75
|
+
}
|
|
76
|
+
let schemeId;
|
|
77
|
+
if (name === "sigv4a") {
|
|
78
|
+
schemeId = "aws.auth#sigv4a";
|
|
79
|
+
const sigv4Present = authSchemes.find((s) => {
|
|
80
|
+
const name = s.name.toLowerCase();
|
|
81
|
+
return name !== "sigv4a" && name.startsWith("sigv4");
|
|
82
|
+
});
|
|
83
|
+
if (!signature_v4_multi_region_1.signatureV4CrtContainer.CrtSignerV4 && sigv4Present) {
|
|
84
|
+
continue;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
else if (name.startsWith("sigv4")) {
|
|
88
|
+
schemeId = "aws.auth#sigv4";
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
throw new Error(`Unknown HttpAuthScheme found in \`@smithy.rules#endpointRuleSet\`: \`${name}\``);
|
|
92
|
+
}
|
|
93
|
+
const createOption = createHttpAuthOptionFunctions[schemeId];
|
|
94
|
+
if (!createOption) {
|
|
95
|
+
throw new Error(`Could not find HttpAuthOption create function for \`${schemeId}\``);
|
|
96
|
+
}
|
|
97
|
+
const option = createOption(authParameters);
|
|
98
|
+
option.schemeId = schemeId;
|
|
99
|
+
option.signingProperties = { ...(option.signingProperties || {}), ...rest, ...properties };
|
|
100
|
+
options.push(option);
|
|
101
|
+
}
|
|
102
|
+
return options;
|
|
103
|
+
};
|
|
104
|
+
return endpointRuleSetHttpAuthSchemeProvider;
|
|
105
|
+
};
|
|
106
|
+
const _defaultEventBridgeHttpAuthSchemeProvider = (authParameters) => {
|
|
107
|
+
const options = [];
|
|
108
|
+
switch (authParameters.operation) {
|
|
109
|
+
default: {
|
|
110
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
111
|
+
options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
return options;
|
|
115
|
+
};
|
|
116
|
+
exports.defaultEventBridgeHttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemeProvider(endpointResolver_1.defaultEndpointResolver, _defaultEventBridgeHttpAuthSchemeProvider, {
|
|
117
|
+
"aws.auth#sigv4": createAwsAuthSigv4HttpAuthOption,
|
|
118
|
+
"aws.auth#sigv4a": createAwsAuthSigv4aHttpAuthOption,
|
|
119
|
+
});
|
|
120
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
121
|
+
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
122
|
+
return {
|
|
123
|
+
...config_0,
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/index.js
CHANGED
|
@@ -140,13 +140,14 @@ module.exports = __toCommonJS(src_exports);
|
|
|
140
140
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
141
141
|
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
142
142
|
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
143
|
-
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
144
143
|
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
145
144
|
var import_config_resolver = require("@smithy/config-resolver");
|
|
145
|
+
var import_core = require("@smithy/core");
|
|
146
146
|
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
147
147
|
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
148
148
|
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
149
149
|
|
|
150
|
+
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
150
151
|
|
|
151
152
|
// src/endpoint/EndpointParameters.ts
|
|
152
153
|
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
@@ -171,19 +172,62 @@ var import_runtimeConfig = require("././runtimeConfig");
|
|
|
171
172
|
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
172
173
|
var import_protocol_http = require("@smithy/protocol-http");
|
|
173
174
|
var import_smithy_client = require("@smithy/smithy-client");
|
|
175
|
+
|
|
176
|
+
// src/auth/httpAuthExtensionConfiguration.ts
|
|
177
|
+
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
178
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
179
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
180
|
+
let _credentials = runtimeConfig.credentials;
|
|
181
|
+
return {
|
|
182
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
183
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
184
|
+
if (index === -1) {
|
|
185
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
186
|
+
} else {
|
|
187
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
httpAuthSchemes() {
|
|
191
|
+
return _httpAuthSchemes;
|
|
192
|
+
},
|
|
193
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
194
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
195
|
+
},
|
|
196
|
+
httpAuthSchemeProvider() {
|
|
197
|
+
return _httpAuthSchemeProvider;
|
|
198
|
+
},
|
|
199
|
+
setCredentials(credentials) {
|
|
200
|
+
_credentials = credentials;
|
|
201
|
+
},
|
|
202
|
+
credentials() {
|
|
203
|
+
return _credentials;
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
}, "getHttpAuthExtensionConfiguration");
|
|
207
|
+
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
208
|
+
return {
|
|
209
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
210
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
211
|
+
credentials: config.credentials()
|
|
212
|
+
};
|
|
213
|
+
}, "resolveHttpAuthRuntimeConfig");
|
|
214
|
+
|
|
215
|
+
// src/runtimeExtensions.ts
|
|
174
216
|
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
175
217
|
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
176
218
|
const extensionConfiguration = {
|
|
177
219
|
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
178
220
|
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
179
|
-
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
221
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
222
|
+
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
|
|
180
223
|
};
|
|
181
224
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
182
225
|
return {
|
|
183
226
|
...runtimeConfig,
|
|
184
227
|
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
185
228
|
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
186
|
-
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
229
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
230
|
+
...resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
187
231
|
};
|
|
188
232
|
}, "resolveRuntimeExtensions");
|
|
189
233
|
|
|
@@ -197,7 +241,7 @@ var _EventBridgeClient = class _EventBridgeClient extends import_smithy_client.C
|
|
|
197
241
|
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
198
242
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
199
243
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
200
|
-
const _config_7 = (0,
|
|
244
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
201
245
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
202
246
|
super(_config_8);
|
|
203
247
|
this.config = _config_8;
|
|
@@ -207,7 +251,16 @@ var _EventBridgeClient = class _EventBridgeClient extends import_smithy_client.C
|
|
|
207
251
|
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
208
252
|
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
209
253
|
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
210
|
-
this.middlewareStack.use(
|
|
254
|
+
this.middlewareStack.use(
|
|
255
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
256
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultEventBridgeHttpAuthSchemeParametersProvider,
|
|
257
|
+
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
258
|
+
"aws.auth#sigv4": config.credentials,
|
|
259
|
+
"aws.auth#sigv4a": config.credentials
|
|
260
|
+
})
|
|
261
|
+
})
|
|
262
|
+
);
|
|
263
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
211
264
|
}
|
|
212
265
|
/**
|
|
213
266
|
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
@@ -230,7 +283,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
230
283
|
|
|
231
284
|
|
|
232
285
|
// src/protocols/Aws_json1_1.ts
|
|
233
|
-
var
|
|
286
|
+
var import_core2 = require("@aws-sdk/core");
|
|
234
287
|
|
|
235
288
|
|
|
236
289
|
|
|
@@ -1040,7 +1093,7 @@ var de_CancelReplayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1040
1093
|
if (output.statusCode >= 300) {
|
|
1041
1094
|
return de_CommandError(output, context);
|
|
1042
1095
|
}
|
|
1043
|
-
const data = await (0,
|
|
1096
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1044
1097
|
let contents = {};
|
|
1045
1098
|
contents = (0, import_smithy_client._json)(data);
|
|
1046
1099
|
const response = {
|
|
@@ -1053,7 +1106,7 @@ var de_CreateApiDestinationCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1053
1106
|
if (output.statusCode >= 300) {
|
|
1054
1107
|
return de_CommandError(output, context);
|
|
1055
1108
|
}
|
|
1056
|
-
const data = await (0,
|
|
1109
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1057
1110
|
let contents = {};
|
|
1058
1111
|
contents = de_CreateApiDestinationResponse(data, context);
|
|
1059
1112
|
const response = {
|
|
@@ -1066,7 +1119,7 @@ var de_CreateArchiveCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1066
1119
|
if (output.statusCode >= 300) {
|
|
1067
1120
|
return de_CommandError(output, context);
|
|
1068
1121
|
}
|
|
1069
|
-
const data = await (0,
|
|
1122
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1070
1123
|
let contents = {};
|
|
1071
1124
|
contents = de_CreateArchiveResponse(data, context);
|
|
1072
1125
|
const response = {
|
|
@@ -1079,7 +1132,7 @@ var de_CreateConnectionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1079
1132
|
if (output.statusCode >= 300) {
|
|
1080
1133
|
return de_CommandError(output, context);
|
|
1081
1134
|
}
|
|
1082
|
-
const data = await (0,
|
|
1135
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1083
1136
|
let contents = {};
|
|
1084
1137
|
contents = de_CreateConnectionResponse(data, context);
|
|
1085
1138
|
const response = {
|
|
@@ -1092,7 +1145,7 @@ var de_CreateEndpointCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1092
1145
|
if (output.statusCode >= 300) {
|
|
1093
1146
|
return de_CommandError(output, context);
|
|
1094
1147
|
}
|
|
1095
|
-
const data = await (0,
|
|
1148
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1096
1149
|
let contents = {};
|
|
1097
1150
|
contents = (0, import_smithy_client._json)(data);
|
|
1098
1151
|
const response = {
|
|
@@ -1105,7 +1158,7 @@ var de_CreateEventBusCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1105
1158
|
if (output.statusCode >= 300) {
|
|
1106
1159
|
return de_CommandError(output, context);
|
|
1107
1160
|
}
|
|
1108
|
-
const data = await (0,
|
|
1161
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1109
1162
|
let contents = {};
|
|
1110
1163
|
contents = (0, import_smithy_client._json)(data);
|
|
1111
1164
|
const response = {
|
|
@@ -1118,7 +1171,7 @@ var de_CreatePartnerEventSourceCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1118
1171
|
if (output.statusCode >= 300) {
|
|
1119
1172
|
return de_CommandError(output, context);
|
|
1120
1173
|
}
|
|
1121
|
-
const data = await (0,
|
|
1174
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1122
1175
|
let contents = {};
|
|
1123
1176
|
contents = (0, import_smithy_client._json)(data);
|
|
1124
1177
|
const response = {
|
|
@@ -1141,7 +1194,7 @@ var de_DeauthorizeConnectionCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1141
1194
|
if (output.statusCode >= 300) {
|
|
1142
1195
|
return de_CommandError(output, context);
|
|
1143
1196
|
}
|
|
1144
|
-
const data = await (0,
|
|
1197
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1145
1198
|
let contents = {};
|
|
1146
1199
|
contents = de_DeauthorizeConnectionResponse(data, context);
|
|
1147
1200
|
const response = {
|
|
@@ -1154,7 +1207,7 @@ var de_DeleteApiDestinationCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1154
1207
|
if (output.statusCode >= 300) {
|
|
1155
1208
|
return de_CommandError(output, context);
|
|
1156
1209
|
}
|
|
1157
|
-
const data = await (0,
|
|
1210
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1158
1211
|
let contents = {};
|
|
1159
1212
|
contents = (0, import_smithy_client._json)(data);
|
|
1160
1213
|
const response = {
|
|
@@ -1167,7 +1220,7 @@ var de_DeleteArchiveCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1167
1220
|
if (output.statusCode >= 300) {
|
|
1168
1221
|
return de_CommandError(output, context);
|
|
1169
1222
|
}
|
|
1170
|
-
const data = await (0,
|
|
1223
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1171
1224
|
let contents = {};
|
|
1172
1225
|
contents = (0, import_smithy_client._json)(data);
|
|
1173
1226
|
const response = {
|
|
@@ -1180,7 +1233,7 @@ var de_DeleteConnectionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1180
1233
|
if (output.statusCode >= 300) {
|
|
1181
1234
|
return de_CommandError(output, context);
|
|
1182
1235
|
}
|
|
1183
|
-
const data = await (0,
|
|
1236
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1184
1237
|
let contents = {};
|
|
1185
1238
|
contents = de_DeleteConnectionResponse(data, context);
|
|
1186
1239
|
const response = {
|
|
@@ -1193,7 +1246,7 @@ var de_DeleteEndpointCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1193
1246
|
if (output.statusCode >= 300) {
|
|
1194
1247
|
return de_CommandError(output, context);
|
|
1195
1248
|
}
|
|
1196
|
-
const data = await (0,
|
|
1249
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1197
1250
|
let contents = {};
|
|
1198
1251
|
contents = (0, import_smithy_client._json)(data);
|
|
1199
1252
|
const response = {
|
|
@@ -1236,7 +1289,7 @@ var de_DescribeApiDestinationCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1236
1289
|
if (output.statusCode >= 300) {
|
|
1237
1290
|
return de_CommandError(output, context);
|
|
1238
1291
|
}
|
|
1239
|
-
const data = await (0,
|
|
1292
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1240
1293
|
let contents = {};
|
|
1241
1294
|
contents = de_DescribeApiDestinationResponse(data, context);
|
|
1242
1295
|
const response = {
|
|
@@ -1249,7 +1302,7 @@ var de_DescribeArchiveCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1249
1302
|
if (output.statusCode >= 300) {
|
|
1250
1303
|
return de_CommandError(output, context);
|
|
1251
1304
|
}
|
|
1252
|
-
const data = await (0,
|
|
1305
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1253
1306
|
let contents = {};
|
|
1254
1307
|
contents = de_DescribeArchiveResponse(data, context);
|
|
1255
1308
|
const response = {
|
|
@@ -1262,7 +1315,7 @@ var de_DescribeConnectionCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1262
1315
|
if (output.statusCode >= 300) {
|
|
1263
1316
|
return de_CommandError(output, context);
|
|
1264
1317
|
}
|
|
1265
|
-
const data = await (0,
|
|
1318
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1266
1319
|
let contents = {};
|
|
1267
1320
|
contents = de_DescribeConnectionResponse(data, context);
|
|
1268
1321
|
const response = {
|
|
@@ -1275,7 +1328,7 @@ var de_DescribeEndpointCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1275
1328
|
if (output.statusCode >= 300) {
|
|
1276
1329
|
return de_CommandError(output, context);
|
|
1277
1330
|
}
|
|
1278
|
-
const data = await (0,
|
|
1331
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1279
1332
|
let contents = {};
|
|
1280
1333
|
contents = de_DescribeEndpointResponse(data, context);
|
|
1281
1334
|
const response = {
|
|
@@ -1288,7 +1341,7 @@ var de_DescribeEventBusCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1288
1341
|
if (output.statusCode >= 300) {
|
|
1289
1342
|
return de_CommandError(output, context);
|
|
1290
1343
|
}
|
|
1291
|
-
const data = await (0,
|
|
1344
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1292
1345
|
let contents = {};
|
|
1293
1346
|
contents = de_DescribeEventBusResponse(data, context);
|
|
1294
1347
|
const response = {
|
|
@@ -1301,7 +1354,7 @@ var de_DescribeEventSourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1301
1354
|
if (output.statusCode >= 300) {
|
|
1302
1355
|
return de_CommandError(output, context);
|
|
1303
1356
|
}
|
|
1304
|
-
const data = await (0,
|
|
1357
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1305
1358
|
let contents = {};
|
|
1306
1359
|
contents = de_DescribeEventSourceResponse(data, context);
|
|
1307
1360
|
const response = {
|
|
@@ -1314,7 +1367,7 @@ var de_DescribePartnerEventSourceCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1314
1367
|
if (output.statusCode >= 300) {
|
|
1315
1368
|
return de_CommandError(output, context);
|
|
1316
1369
|
}
|
|
1317
|
-
const data = await (0,
|
|
1370
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1318
1371
|
let contents = {};
|
|
1319
1372
|
contents = (0, import_smithy_client._json)(data);
|
|
1320
1373
|
const response = {
|
|
@@ -1327,7 +1380,7 @@ var de_DescribeReplayCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1327
1380
|
if (output.statusCode >= 300) {
|
|
1328
1381
|
return de_CommandError(output, context);
|
|
1329
1382
|
}
|
|
1330
|
-
const data = await (0,
|
|
1383
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1331
1384
|
let contents = {};
|
|
1332
1385
|
contents = de_DescribeReplayResponse(data, context);
|
|
1333
1386
|
const response = {
|
|
@@ -1340,7 +1393,7 @@ var de_DescribeRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1340
1393
|
if (output.statusCode >= 300) {
|
|
1341
1394
|
return de_CommandError(output, context);
|
|
1342
1395
|
}
|
|
1343
|
-
const data = await (0,
|
|
1396
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1344
1397
|
let contents = {};
|
|
1345
1398
|
contents = (0, import_smithy_client._json)(data);
|
|
1346
1399
|
const response = {
|
|
@@ -1373,7 +1426,7 @@ var de_ListApiDestinationsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1373
1426
|
if (output.statusCode >= 300) {
|
|
1374
1427
|
return de_CommandError(output, context);
|
|
1375
1428
|
}
|
|
1376
|
-
const data = await (0,
|
|
1429
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1377
1430
|
let contents = {};
|
|
1378
1431
|
contents = de_ListApiDestinationsResponse(data, context);
|
|
1379
1432
|
const response = {
|
|
@@ -1386,7 +1439,7 @@ var de_ListArchivesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1386
1439
|
if (output.statusCode >= 300) {
|
|
1387
1440
|
return de_CommandError(output, context);
|
|
1388
1441
|
}
|
|
1389
|
-
const data = await (0,
|
|
1442
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1390
1443
|
let contents = {};
|
|
1391
1444
|
contents = de_ListArchivesResponse(data, context);
|
|
1392
1445
|
const response = {
|
|
@@ -1399,7 +1452,7 @@ var de_ListConnectionsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1399
1452
|
if (output.statusCode >= 300) {
|
|
1400
1453
|
return de_CommandError(output, context);
|
|
1401
1454
|
}
|
|
1402
|
-
const data = await (0,
|
|
1455
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1403
1456
|
let contents = {};
|
|
1404
1457
|
contents = de_ListConnectionsResponse(data, context);
|
|
1405
1458
|
const response = {
|
|
@@ -1412,7 +1465,7 @@ var de_ListEndpointsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1412
1465
|
if (output.statusCode >= 300) {
|
|
1413
1466
|
return de_CommandError(output, context);
|
|
1414
1467
|
}
|
|
1415
|
-
const data = await (0,
|
|
1468
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1416
1469
|
let contents = {};
|
|
1417
1470
|
contents = de_ListEndpointsResponse(data, context);
|
|
1418
1471
|
const response = {
|
|
@@ -1425,7 +1478,7 @@ var de_ListEventBusesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1425
1478
|
if (output.statusCode >= 300) {
|
|
1426
1479
|
return de_CommandError(output, context);
|
|
1427
1480
|
}
|
|
1428
|
-
const data = await (0,
|
|
1481
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1429
1482
|
let contents = {};
|
|
1430
1483
|
contents = de_ListEventBusesResponse(data, context);
|
|
1431
1484
|
const response = {
|
|
@@ -1438,7 +1491,7 @@ var de_ListEventSourcesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1438
1491
|
if (output.statusCode >= 300) {
|
|
1439
1492
|
return de_CommandError(output, context);
|
|
1440
1493
|
}
|
|
1441
|
-
const data = await (0,
|
|
1494
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1442
1495
|
let contents = {};
|
|
1443
1496
|
contents = de_ListEventSourcesResponse(data, context);
|
|
1444
1497
|
const response = {
|
|
@@ -1451,7 +1504,7 @@ var de_ListPartnerEventSourceAccountsCommand = /* @__PURE__ */ __name(async (out
|
|
|
1451
1504
|
if (output.statusCode >= 300) {
|
|
1452
1505
|
return de_CommandError(output, context);
|
|
1453
1506
|
}
|
|
1454
|
-
const data = await (0,
|
|
1507
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1455
1508
|
let contents = {};
|
|
1456
1509
|
contents = de_ListPartnerEventSourceAccountsResponse(data, context);
|
|
1457
1510
|
const response = {
|
|
@@ -1464,7 +1517,7 @@ var de_ListPartnerEventSourcesCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1464
1517
|
if (output.statusCode >= 300) {
|
|
1465
1518
|
return de_CommandError(output, context);
|
|
1466
1519
|
}
|
|
1467
|
-
const data = await (0,
|
|
1520
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1468
1521
|
let contents = {};
|
|
1469
1522
|
contents = (0, import_smithy_client._json)(data);
|
|
1470
1523
|
const response = {
|
|
@@ -1477,7 +1530,7 @@ var de_ListReplaysCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1477
1530
|
if (output.statusCode >= 300) {
|
|
1478
1531
|
return de_CommandError(output, context);
|
|
1479
1532
|
}
|
|
1480
|
-
const data = await (0,
|
|
1533
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1481
1534
|
let contents = {};
|
|
1482
1535
|
contents = de_ListReplaysResponse(data, context);
|
|
1483
1536
|
const response = {
|
|
@@ -1490,7 +1543,7 @@ var de_ListRuleNamesByTargetCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1490
1543
|
if (output.statusCode >= 300) {
|
|
1491
1544
|
return de_CommandError(output, context);
|
|
1492
1545
|
}
|
|
1493
|
-
const data = await (0,
|
|
1546
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1494
1547
|
let contents = {};
|
|
1495
1548
|
contents = (0, import_smithy_client._json)(data);
|
|
1496
1549
|
const response = {
|
|
@@ -1503,7 +1556,7 @@ var de_ListRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1503
1556
|
if (output.statusCode >= 300) {
|
|
1504
1557
|
return de_CommandError(output, context);
|
|
1505
1558
|
}
|
|
1506
|
-
const data = await (0,
|
|
1559
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1507
1560
|
let contents = {};
|
|
1508
1561
|
contents = (0, import_smithy_client._json)(data);
|
|
1509
1562
|
const response = {
|
|
@@ -1516,7 +1569,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1516
1569
|
if (output.statusCode >= 300) {
|
|
1517
1570
|
return de_CommandError(output, context);
|
|
1518
1571
|
}
|
|
1519
|
-
const data = await (0,
|
|
1572
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1520
1573
|
let contents = {};
|
|
1521
1574
|
contents = (0, import_smithy_client._json)(data);
|
|
1522
1575
|
const response = {
|
|
@@ -1529,7 +1582,7 @@ var de_ListTargetsByRuleCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1529
1582
|
if (output.statusCode >= 300) {
|
|
1530
1583
|
return de_CommandError(output, context);
|
|
1531
1584
|
}
|
|
1532
|
-
const data = await (0,
|
|
1585
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1533
1586
|
let contents = {};
|
|
1534
1587
|
contents = (0, import_smithy_client._json)(data);
|
|
1535
1588
|
const response = {
|
|
@@ -1542,7 +1595,7 @@ var de_PutEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1542
1595
|
if (output.statusCode >= 300) {
|
|
1543
1596
|
return de_CommandError(output, context);
|
|
1544
1597
|
}
|
|
1545
|
-
const data = await (0,
|
|
1598
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1546
1599
|
let contents = {};
|
|
1547
1600
|
contents = (0, import_smithy_client._json)(data);
|
|
1548
1601
|
const response = {
|
|
@@ -1555,7 +1608,7 @@ var de_PutPartnerEventsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1555
1608
|
if (output.statusCode >= 300) {
|
|
1556
1609
|
return de_CommandError(output, context);
|
|
1557
1610
|
}
|
|
1558
|
-
const data = await (0,
|
|
1611
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1559
1612
|
let contents = {};
|
|
1560
1613
|
contents = (0, import_smithy_client._json)(data);
|
|
1561
1614
|
const response = {
|
|
@@ -1578,7 +1631,7 @@ var de_PutRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1578
1631
|
if (output.statusCode >= 300) {
|
|
1579
1632
|
return de_CommandError(output, context);
|
|
1580
1633
|
}
|
|
1581
|
-
const data = await (0,
|
|
1634
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1582
1635
|
let contents = {};
|
|
1583
1636
|
contents = (0, import_smithy_client._json)(data);
|
|
1584
1637
|
const response = {
|
|
@@ -1591,7 +1644,7 @@ var de_PutTargetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1591
1644
|
if (output.statusCode >= 300) {
|
|
1592
1645
|
return de_CommandError(output, context);
|
|
1593
1646
|
}
|
|
1594
|
-
const data = await (0,
|
|
1647
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1595
1648
|
let contents = {};
|
|
1596
1649
|
contents = (0, import_smithy_client._json)(data);
|
|
1597
1650
|
const response = {
|
|
@@ -1614,7 +1667,7 @@ var de_RemoveTargetsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1614
1667
|
if (output.statusCode >= 300) {
|
|
1615
1668
|
return de_CommandError(output, context);
|
|
1616
1669
|
}
|
|
1617
|
-
const data = await (0,
|
|
1670
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1618
1671
|
let contents = {};
|
|
1619
1672
|
contents = (0, import_smithy_client._json)(data);
|
|
1620
1673
|
const response = {
|
|
@@ -1627,7 +1680,7 @@ var de_StartReplayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1627
1680
|
if (output.statusCode >= 300) {
|
|
1628
1681
|
return de_CommandError(output, context);
|
|
1629
1682
|
}
|
|
1630
|
-
const data = await (0,
|
|
1683
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1631
1684
|
let contents = {};
|
|
1632
1685
|
contents = de_StartReplayResponse(data, context);
|
|
1633
1686
|
const response = {
|
|
@@ -1640,7 +1693,7 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1640
1693
|
if (output.statusCode >= 300) {
|
|
1641
1694
|
return de_CommandError(output, context);
|
|
1642
1695
|
}
|
|
1643
|
-
const data = await (0,
|
|
1696
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1644
1697
|
let contents = {};
|
|
1645
1698
|
contents = (0, import_smithy_client._json)(data);
|
|
1646
1699
|
const response = {
|
|
@@ -1653,7 +1706,7 @@ var de_TestEventPatternCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1653
1706
|
if (output.statusCode >= 300) {
|
|
1654
1707
|
return de_CommandError(output, context);
|
|
1655
1708
|
}
|
|
1656
|
-
const data = await (0,
|
|
1709
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1657
1710
|
let contents = {};
|
|
1658
1711
|
contents = (0, import_smithy_client._json)(data);
|
|
1659
1712
|
const response = {
|
|
@@ -1666,7 +1719,7 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1666
1719
|
if (output.statusCode >= 300) {
|
|
1667
1720
|
return de_CommandError(output, context);
|
|
1668
1721
|
}
|
|
1669
|
-
const data = await (0,
|
|
1722
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1670
1723
|
let contents = {};
|
|
1671
1724
|
contents = (0, import_smithy_client._json)(data);
|
|
1672
1725
|
const response = {
|
|
@@ -1679,7 +1732,7 @@ var de_UpdateApiDestinationCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1679
1732
|
if (output.statusCode >= 300) {
|
|
1680
1733
|
return de_CommandError(output, context);
|
|
1681
1734
|
}
|
|
1682
|
-
const data = await (0,
|
|
1735
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1683
1736
|
let contents = {};
|
|
1684
1737
|
contents = de_UpdateApiDestinationResponse(data, context);
|
|
1685
1738
|
const response = {
|
|
@@ -1692,7 +1745,7 @@ var de_UpdateArchiveCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1692
1745
|
if (output.statusCode >= 300) {
|
|
1693
1746
|
return de_CommandError(output, context);
|
|
1694
1747
|
}
|
|
1695
|
-
const data = await (0,
|
|
1748
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1696
1749
|
let contents = {};
|
|
1697
1750
|
contents = de_UpdateArchiveResponse(data, context);
|
|
1698
1751
|
const response = {
|
|
@@ -1705,7 +1758,7 @@ var de_UpdateConnectionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1705
1758
|
if (output.statusCode >= 300) {
|
|
1706
1759
|
return de_CommandError(output, context);
|
|
1707
1760
|
}
|
|
1708
|
-
const data = await (0,
|
|
1761
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1709
1762
|
let contents = {};
|
|
1710
1763
|
contents = de_UpdateConnectionResponse(data, context);
|
|
1711
1764
|
const response = {
|
|
@@ -1718,7 +1771,7 @@ var de_UpdateEndpointCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1718
1771
|
if (output.statusCode >= 300) {
|
|
1719
1772
|
return de_CommandError(output, context);
|
|
1720
1773
|
}
|
|
1721
|
-
const data = await (0,
|
|
1774
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1722
1775
|
let contents = {};
|
|
1723
1776
|
contents = (0, import_smithy_client._json)(data);
|
|
1724
1777
|
const response = {
|
|
@@ -1731,7 +1784,7 @@ var de_UpdateEventBusCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1731
1784
|
if (output.statusCode >= 300) {
|
|
1732
1785
|
return de_CommandError(output, context);
|
|
1733
1786
|
}
|
|
1734
|
-
const data = await (0,
|
|
1787
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1735
1788
|
let contents = {};
|
|
1736
1789
|
contents = (0, import_smithy_client._json)(data);
|
|
1737
1790
|
const response = {
|
|
@@ -1743,9 +1796,9 @@ var de_UpdateEventBusCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1743
1796
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1744
1797
|
const parsedOutput = {
|
|
1745
1798
|
...output,
|
|
1746
|
-
body: await (0,
|
|
1799
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1747
1800
|
};
|
|
1748
|
-
const errorCode = (0,
|
|
1801
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1749
1802
|
switch (errorCode) {
|
|
1750
1803
|
case "ConcurrentModificationException":
|
|
1751
1804
|
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|