@aws-sdk/client-eventbridge 3.312.0 → 3.315.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/protocols/Aws_json1_1.js +504 -2406
- package/dist-es/protocols/Aws_json1_1.js +505 -2407
- package/package.json +6 -6
|
@@ -10,287 +10,287 @@ const models_0_1 = require("../models/models_0");
|
|
|
10
10
|
const se_ActivateEventSourceCommand = async (input, context) => {
|
|
11
11
|
const headers = sharedHeaders("ActivateEventSource");
|
|
12
12
|
let body;
|
|
13
|
-
body = JSON.stringify(
|
|
13
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
14
14
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
15
15
|
};
|
|
16
16
|
exports.se_ActivateEventSourceCommand = se_ActivateEventSourceCommand;
|
|
17
17
|
const se_CancelReplayCommand = async (input, context) => {
|
|
18
18
|
const headers = sharedHeaders("CancelReplay");
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
23
|
exports.se_CancelReplayCommand = se_CancelReplayCommand;
|
|
24
24
|
const se_CreateApiDestinationCommand = async (input, context) => {
|
|
25
25
|
const headers = sharedHeaders("CreateApiDestination");
|
|
26
26
|
let body;
|
|
27
|
-
body = JSON.stringify(
|
|
27
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
28
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
29
|
};
|
|
30
30
|
exports.se_CreateApiDestinationCommand = se_CreateApiDestinationCommand;
|
|
31
31
|
const se_CreateArchiveCommand = async (input, context) => {
|
|
32
32
|
const headers = sharedHeaders("CreateArchive");
|
|
33
33
|
let body;
|
|
34
|
-
body = JSON.stringify(
|
|
34
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
35
35
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
36
|
};
|
|
37
37
|
exports.se_CreateArchiveCommand = se_CreateArchiveCommand;
|
|
38
38
|
const se_CreateConnectionCommand = async (input, context) => {
|
|
39
39
|
const headers = sharedHeaders("CreateConnection");
|
|
40
40
|
let body;
|
|
41
|
-
body = JSON.stringify(
|
|
41
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
42
42
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
43
43
|
};
|
|
44
44
|
exports.se_CreateConnectionCommand = se_CreateConnectionCommand;
|
|
45
45
|
const se_CreateEndpointCommand = async (input, context) => {
|
|
46
46
|
const headers = sharedHeaders("CreateEndpoint");
|
|
47
47
|
let body;
|
|
48
|
-
body = JSON.stringify(
|
|
48
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
49
49
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
50
50
|
};
|
|
51
51
|
exports.se_CreateEndpointCommand = se_CreateEndpointCommand;
|
|
52
52
|
const se_CreateEventBusCommand = async (input, context) => {
|
|
53
53
|
const headers = sharedHeaders("CreateEventBus");
|
|
54
54
|
let body;
|
|
55
|
-
body = JSON.stringify(
|
|
55
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
56
56
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
57
57
|
};
|
|
58
58
|
exports.se_CreateEventBusCommand = se_CreateEventBusCommand;
|
|
59
59
|
const se_CreatePartnerEventSourceCommand = async (input, context) => {
|
|
60
60
|
const headers = sharedHeaders("CreatePartnerEventSource");
|
|
61
61
|
let body;
|
|
62
|
-
body = JSON.stringify(
|
|
62
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
63
63
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
64
64
|
};
|
|
65
65
|
exports.se_CreatePartnerEventSourceCommand = se_CreatePartnerEventSourceCommand;
|
|
66
66
|
const se_DeactivateEventSourceCommand = async (input, context) => {
|
|
67
67
|
const headers = sharedHeaders("DeactivateEventSource");
|
|
68
68
|
let body;
|
|
69
|
-
body = JSON.stringify(
|
|
69
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
70
70
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
71
71
|
};
|
|
72
72
|
exports.se_DeactivateEventSourceCommand = se_DeactivateEventSourceCommand;
|
|
73
73
|
const se_DeauthorizeConnectionCommand = async (input, context) => {
|
|
74
74
|
const headers = sharedHeaders("DeauthorizeConnection");
|
|
75
75
|
let body;
|
|
76
|
-
body = JSON.stringify(
|
|
76
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
77
77
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
78
78
|
};
|
|
79
79
|
exports.se_DeauthorizeConnectionCommand = se_DeauthorizeConnectionCommand;
|
|
80
80
|
const se_DeleteApiDestinationCommand = async (input, context) => {
|
|
81
81
|
const headers = sharedHeaders("DeleteApiDestination");
|
|
82
82
|
let body;
|
|
83
|
-
body = JSON.stringify(
|
|
83
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
86
86
|
exports.se_DeleteApiDestinationCommand = se_DeleteApiDestinationCommand;
|
|
87
87
|
const se_DeleteArchiveCommand = async (input, context) => {
|
|
88
88
|
const headers = sharedHeaders("DeleteArchive");
|
|
89
89
|
let body;
|
|
90
|
-
body = JSON.stringify(
|
|
90
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
91
91
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
92
92
|
};
|
|
93
93
|
exports.se_DeleteArchiveCommand = se_DeleteArchiveCommand;
|
|
94
94
|
const se_DeleteConnectionCommand = async (input, context) => {
|
|
95
95
|
const headers = sharedHeaders("DeleteConnection");
|
|
96
96
|
let body;
|
|
97
|
-
body = JSON.stringify(
|
|
97
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
98
98
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
99
99
|
};
|
|
100
100
|
exports.se_DeleteConnectionCommand = se_DeleteConnectionCommand;
|
|
101
101
|
const se_DeleteEndpointCommand = async (input, context) => {
|
|
102
102
|
const headers = sharedHeaders("DeleteEndpoint");
|
|
103
103
|
let body;
|
|
104
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
105
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
106
106
|
};
|
|
107
107
|
exports.se_DeleteEndpointCommand = se_DeleteEndpointCommand;
|
|
108
108
|
const se_DeleteEventBusCommand = async (input, context) => {
|
|
109
109
|
const headers = sharedHeaders("DeleteEventBus");
|
|
110
110
|
let body;
|
|
111
|
-
body = JSON.stringify(
|
|
111
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
112
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
113
|
};
|
|
114
114
|
exports.se_DeleteEventBusCommand = se_DeleteEventBusCommand;
|
|
115
115
|
const se_DeletePartnerEventSourceCommand = async (input, context) => {
|
|
116
116
|
const headers = sharedHeaders("DeletePartnerEventSource");
|
|
117
117
|
let body;
|
|
118
|
-
body = JSON.stringify(
|
|
118
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
119
119
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
120
120
|
};
|
|
121
121
|
exports.se_DeletePartnerEventSourceCommand = se_DeletePartnerEventSourceCommand;
|
|
122
122
|
const se_DeleteRuleCommand = async (input, context) => {
|
|
123
123
|
const headers = sharedHeaders("DeleteRule");
|
|
124
124
|
let body;
|
|
125
|
-
body = JSON.stringify(
|
|
125
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
126
126
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
127
127
|
};
|
|
128
128
|
exports.se_DeleteRuleCommand = se_DeleteRuleCommand;
|
|
129
129
|
const se_DescribeApiDestinationCommand = async (input, context) => {
|
|
130
130
|
const headers = sharedHeaders("DescribeApiDestination");
|
|
131
131
|
let body;
|
|
132
|
-
body = JSON.stringify(
|
|
132
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
133
133
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
134
134
|
};
|
|
135
135
|
exports.se_DescribeApiDestinationCommand = se_DescribeApiDestinationCommand;
|
|
136
136
|
const se_DescribeArchiveCommand = async (input, context) => {
|
|
137
137
|
const headers = sharedHeaders("DescribeArchive");
|
|
138
138
|
let body;
|
|
139
|
-
body = JSON.stringify(
|
|
139
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
140
140
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
141
141
|
};
|
|
142
142
|
exports.se_DescribeArchiveCommand = se_DescribeArchiveCommand;
|
|
143
143
|
const se_DescribeConnectionCommand = async (input, context) => {
|
|
144
144
|
const headers = sharedHeaders("DescribeConnection");
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
149
|
exports.se_DescribeConnectionCommand = se_DescribeConnectionCommand;
|
|
150
150
|
const se_DescribeEndpointCommand = async (input, context) => {
|
|
151
151
|
const headers = sharedHeaders("DescribeEndpoint");
|
|
152
152
|
let body;
|
|
153
|
-
body = JSON.stringify(
|
|
153
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
154
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
155
|
};
|
|
156
156
|
exports.se_DescribeEndpointCommand = se_DescribeEndpointCommand;
|
|
157
157
|
const se_DescribeEventBusCommand = async (input, context) => {
|
|
158
158
|
const headers = sharedHeaders("DescribeEventBus");
|
|
159
159
|
let body;
|
|
160
|
-
body = JSON.stringify(
|
|
160
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
161
161
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
162
162
|
};
|
|
163
163
|
exports.se_DescribeEventBusCommand = se_DescribeEventBusCommand;
|
|
164
164
|
const se_DescribeEventSourceCommand = async (input, context) => {
|
|
165
165
|
const headers = sharedHeaders("DescribeEventSource");
|
|
166
166
|
let body;
|
|
167
|
-
body = JSON.stringify(
|
|
167
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
168
168
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
169
169
|
};
|
|
170
170
|
exports.se_DescribeEventSourceCommand = se_DescribeEventSourceCommand;
|
|
171
171
|
const se_DescribePartnerEventSourceCommand = async (input, context) => {
|
|
172
172
|
const headers = sharedHeaders("DescribePartnerEventSource");
|
|
173
173
|
let body;
|
|
174
|
-
body = JSON.stringify(
|
|
174
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
175
175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
176
176
|
};
|
|
177
177
|
exports.se_DescribePartnerEventSourceCommand = se_DescribePartnerEventSourceCommand;
|
|
178
178
|
const se_DescribeReplayCommand = async (input, context) => {
|
|
179
179
|
const headers = sharedHeaders("DescribeReplay");
|
|
180
180
|
let body;
|
|
181
|
-
body = JSON.stringify(
|
|
181
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
182
182
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
183
183
|
};
|
|
184
184
|
exports.se_DescribeReplayCommand = se_DescribeReplayCommand;
|
|
185
185
|
const se_DescribeRuleCommand = async (input, context) => {
|
|
186
186
|
const headers = sharedHeaders("DescribeRule");
|
|
187
187
|
let body;
|
|
188
|
-
body = JSON.stringify(
|
|
188
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
189
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
190
190
|
};
|
|
191
191
|
exports.se_DescribeRuleCommand = se_DescribeRuleCommand;
|
|
192
192
|
const se_DisableRuleCommand = async (input, context) => {
|
|
193
193
|
const headers = sharedHeaders("DisableRule");
|
|
194
194
|
let body;
|
|
195
|
-
body = JSON.stringify(
|
|
195
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
196
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
197
|
};
|
|
198
198
|
exports.se_DisableRuleCommand = se_DisableRuleCommand;
|
|
199
199
|
const se_EnableRuleCommand = async (input, context) => {
|
|
200
200
|
const headers = sharedHeaders("EnableRule");
|
|
201
201
|
let body;
|
|
202
|
-
body = JSON.stringify(
|
|
202
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
203
203
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
204
204
|
};
|
|
205
205
|
exports.se_EnableRuleCommand = se_EnableRuleCommand;
|
|
206
206
|
const se_ListApiDestinationsCommand = async (input, context) => {
|
|
207
207
|
const headers = sharedHeaders("ListApiDestinations");
|
|
208
208
|
let body;
|
|
209
|
-
body = JSON.stringify(
|
|
209
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
210
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
211
211
|
};
|
|
212
212
|
exports.se_ListApiDestinationsCommand = se_ListApiDestinationsCommand;
|
|
213
213
|
const se_ListArchivesCommand = async (input, context) => {
|
|
214
214
|
const headers = sharedHeaders("ListArchives");
|
|
215
215
|
let body;
|
|
216
|
-
body = JSON.stringify(
|
|
216
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
217
217
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
218
218
|
};
|
|
219
219
|
exports.se_ListArchivesCommand = se_ListArchivesCommand;
|
|
220
220
|
const se_ListConnectionsCommand = async (input, context) => {
|
|
221
221
|
const headers = sharedHeaders("ListConnections");
|
|
222
222
|
let body;
|
|
223
|
-
body = JSON.stringify(
|
|
223
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
224
224
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
225
225
|
};
|
|
226
226
|
exports.se_ListConnectionsCommand = se_ListConnectionsCommand;
|
|
227
227
|
const se_ListEndpointsCommand = async (input, context) => {
|
|
228
228
|
const headers = sharedHeaders("ListEndpoints");
|
|
229
229
|
let body;
|
|
230
|
-
body = JSON.stringify(
|
|
230
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
231
231
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
232
232
|
};
|
|
233
233
|
exports.se_ListEndpointsCommand = se_ListEndpointsCommand;
|
|
234
234
|
const se_ListEventBusesCommand = async (input, context) => {
|
|
235
235
|
const headers = sharedHeaders("ListEventBuses");
|
|
236
236
|
let body;
|
|
237
|
-
body = JSON.stringify(
|
|
237
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
238
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
239
|
};
|
|
240
240
|
exports.se_ListEventBusesCommand = se_ListEventBusesCommand;
|
|
241
241
|
const se_ListEventSourcesCommand = async (input, context) => {
|
|
242
242
|
const headers = sharedHeaders("ListEventSources");
|
|
243
243
|
let body;
|
|
244
|
-
body = JSON.stringify(
|
|
244
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
245
245
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
246
246
|
};
|
|
247
247
|
exports.se_ListEventSourcesCommand = se_ListEventSourcesCommand;
|
|
248
248
|
const se_ListPartnerEventSourceAccountsCommand = async (input, context) => {
|
|
249
249
|
const headers = sharedHeaders("ListPartnerEventSourceAccounts");
|
|
250
250
|
let body;
|
|
251
|
-
body = JSON.stringify(
|
|
251
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
252
252
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
253
253
|
};
|
|
254
254
|
exports.se_ListPartnerEventSourceAccountsCommand = se_ListPartnerEventSourceAccountsCommand;
|
|
255
255
|
const se_ListPartnerEventSourcesCommand = async (input, context) => {
|
|
256
256
|
const headers = sharedHeaders("ListPartnerEventSources");
|
|
257
257
|
let body;
|
|
258
|
-
body = JSON.stringify(
|
|
258
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
259
259
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
260
260
|
};
|
|
261
261
|
exports.se_ListPartnerEventSourcesCommand = se_ListPartnerEventSourcesCommand;
|
|
262
262
|
const se_ListReplaysCommand = async (input, context) => {
|
|
263
263
|
const headers = sharedHeaders("ListReplays");
|
|
264
264
|
let body;
|
|
265
|
-
body = JSON.stringify(
|
|
265
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
266
266
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
267
267
|
};
|
|
268
268
|
exports.se_ListReplaysCommand = se_ListReplaysCommand;
|
|
269
269
|
const se_ListRuleNamesByTargetCommand = async (input, context) => {
|
|
270
270
|
const headers = sharedHeaders("ListRuleNamesByTarget");
|
|
271
271
|
let body;
|
|
272
|
-
body = JSON.stringify(
|
|
272
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
273
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
274
274
|
};
|
|
275
275
|
exports.se_ListRuleNamesByTargetCommand = se_ListRuleNamesByTargetCommand;
|
|
276
276
|
const se_ListRulesCommand = async (input, context) => {
|
|
277
277
|
const headers = sharedHeaders("ListRules");
|
|
278
278
|
let body;
|
|
279
|
-
body = JSON.stringify(
|
|
279
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
280
280
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
281
|
};
|
|
282
282
|
exports.se_ListRulesCommand = se_ListRulesCommand;
|
|
283
283
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
284
284
|
const headers = sharedHeaders("ListTagsForResource");
|
|
285
285
|
let body;
|
|
286
|
-
body = JSON.stringify(
|
|
286
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
287
287
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
288
288
|
};
|
|
289
289
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
290
290
|
const se_ListTargetsByRuleCommand = async (input, context) => {
|
|
291
291
|
const headers = sharedHeaders("ListTargetsByRule");
|
|
292
292
|
let body;
|
|
293
|
-
body = JSON.stringify(
|
|
293
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
294
294
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
295
295
|
};
|
|
296
296
|
exports.se_ListTargetsByRuleCommand = se_ListTargetsByRuleCommand;
|
|
@@ -311,35 +311,35 @@ exports.se_PutPartnerEventsCommand = se_PutPartnerEventsCommand;
|
|
|
311
311
|
const se_PutPermissionCommand = async (input, context) => {
|
|
312
312
|
const headers = sharedHeaders("PutPermission");
|
|
313
313
|
let body;
|
|
314
|
-
body = JSON.stringify(
|
|
314
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
315
315
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
316
316
|
};
|
|
317
317
|
exports.se_PutPermissionCommand = se_PutPermissionCommand;
|
|
318
318
|
const se_PutRuleCommand = async (input, context) => {
|
|
319
319
|
const headers = sharedHeaders("PutRule");
|
|
320
320
|
let body;
|
|
321
|
-
body = JSON.stringify(
|
|
321
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
322
322
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
323
323
|
};
|
|
324
324
|
exports.se_PutRuleCommand = se_PutRuleCommand;
|
|
325
325
|
const se_PutTargetsCommand = async (input, context) => {
|
|
326
326
|
const headers = sharedHeaders("PutTargets");
|
|
327
327
|
let body;
|
|
328
|
-
body = JSON.stringify(
|
|
328
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
329
329
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
330
330
|
};
|
|
331
331
|
exports.se_PutTargetsCommand = se_PutTargetsCommand;
|
|
332
332
|
const se_RemovePermissionCommand = async (input, context) => {
|
|
333
333
|
const headers = sharedHeaders("RemovePermission");
|
|
334
334
|
let body;
|
|
335
|
-
body = JSON.stringify(
|
|
335
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
336
336
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
337
337
|
};
|
|
338
338
|
exports.se_RemovePermissionCommand = se_RemovePermissionCommand;
|
|
339
339
|
const se_RemoveTargetsCommand = async (input, context) => {
|
|
340
340
|
const headers = sharedHeaders("RemoveTargets");
|
|
341
341
|
let body;
|
|
342
|
-
body = JSON.stringify(
|
|
342
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
343
343
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
344
344
|
};
|
|
345
345
|
exports.se_RemoveTargetsCommand = se_RemoveTargetsCommand;
|
|
@@ -353,49 +353,49 @@ exports.se_StartReplayCommand = se_StartReplayCommand;
|
|
|
353
353
|
const se_TagResourceCommand = async (input, context) => {
|
|
354
354
|
const headers = sharedHeaders("TagResource");
|
|
355
355
|
let body;
|
|
356
|
-
body = JSON.stringify(
|
|
356
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
357
357
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
358
358
|
};
|
|
359
359
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
360
360
|
const se_TestEventPatternCommand = async (input, context) => {
|
|
361
361
|
const headers = sharedHeaders("TestEventPattern");
|
|
362
362
|
let body;
|
|
363
|
-
body = JSON.stringify(
|
|
363
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
364
364
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
365
365
|
};
|
|
366
366
|
exports.se_TestEventPatternCommand = se_TestEventPatternCommand;
|
|
367
367
|
const se_UntagResourceCommand = async (input, context) => {
|
|
368
368
|
const headers = sharedHeaders("UntagResource");
|
|
369
369
|
let body;
|
|
370
|
-
body = JSON.stringify(
|
|
370
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
371
371
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
372
372
|
};
|
|
373
373
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
374
374
|
const se_UpdateApiDestinationCommand = async (input, context) => {
|
|
375
375
|
const headers = sharedHeaders("UpdateApiDestination");
|
|
376
376
|
let body;
|
|
377
|
-
body = JSON.stringify(
|
|
377
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
378
378
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
379
379
|
};
|
|
380
380
|
exports.se_UpdateApiDestinationCommand = se_UpdateApiDestinationCommand;
|
|
381
381
|
const se_UpdateArchiveCommand = async (input, context) => {
|
|
382
382
|
const headers = sharedHeaders("UpdateArchive");
|
|
383
383
|
let body;
|
|
384
|
-
body = JSON.stringify(
|
|
384
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
385
385
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
386
386
|
};
|
|
387
387
|
exports.se_UpdateArchiveCommand = se_UpdateArchiveCommand;
|
|
388
388
|
const se_UpdateConnectionCommand = async (input, context) => {
|
|
389
389
|
const headers = sharedHeaders("UpdateConnection");
|
|
390
390
|
let body;
|
|
391
|
-
body = JSON.stringify(
|
|
391
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
392
392
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
393
393
|
};
|
|
394
394
|
exports.se_UpdateConnectionCommand = se_UpdateConnectionCommand;
|
|
395
395
|
const se_UpdateEndpointCommand = async (input, context) => {
|
|
396
396
|
const headers = sharedHeaders("UpdateEndpoint");
|
|
397
397
|
let body;
|
|
398
|
-
body = JSON.stringify(
|
|
398
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
399
399
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
400
400
|
};
|
|
401
401
|
exports.se_UpdateEndpointCommand = se_UpdateEndpointCommand;
|
|
@@ -407,7 +407,7 @@ const de_ActivateEventSourceCommand = async (output, context) => {
|
|
|
407
407
|
const response = {
|
|
408
408
|
$metadata: deserializeMetadata(output),
|
|
409
409
|
};
|
|
410
|
-
return
|
|
410
|
+
return response;
|
|
411
411
|
};
|
|
412
412
|
exports.de_ActivateEventSourceCommand = de_ActivateEventSourceCommand;
|
|
413
413
|
const de_ActivateEventSourceCommandError = async (output, context) => {
|
|
@@ -434,10 +434,9 @@ const de_ActivateEventSourceCommandError = async (output, context) => {
|
|
|
434
434
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
435
435
|
default:
|
|
436
436
|
const parsedBody = parsedOutput.body;
|
|
437
|
-
|
|
437
|
+
return throwDefaultError({
|
|
438
438
|
output,
|
|
439
439
|
parsedBody,
|
|
440
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
441
440
|
errorCode,
|
|
442
441
|
});
|
|
443
442
|
}
|
|
@@ -448,12 +447,12 @@ const de_CancelReplayCommand = async (output, context) => {
|
|
|
448
447
|
}
|
|
449
448
|
const data = await parseBody(output.body, context);
|
|
450
449
|
let contents = {};
|
|
451
|
-
contents =
|
|
450
|
+
contents = (0, smithy_client_1._json)(data);
|
|
452
451
|
const response = {
|
|
453
452
|
$metadata: deserializeMetadata(output),
|
|
454
453
|
...contents,
|
|
455
454
|
};
|
|
456
|
-
return
|
|
455
|
+
return response;
|
|
457
456
|
};
|
|
458
457
|
exports.de_CancelReplayCommand = de_CancelReplayCommand;
|
|
459
458
|
const de_CancelReplayCommandError = async (output, context) => {
|
|
@@ -477,10 +476,9 @@ const de_CancelReplayCommandError = async (output, context) => {
|
|
|
477
476
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
478
477
|
default:
|
|
479
478
|
const parsedBody = parsedOutput.body;
|
|
480
|
-
|
|
479
|
+
return throwDefaultError({
|
|
481
480
|
output,
|
|
482
481
|
parsedBody,
|
|
483
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
484
482
|
errorCode,
|
|
485
483
|
});
|
|
486
484
|
}
|
|
@@ -496,7 +494,7 @@ const de_CreateApiDestinationCommand = async (output, context) => {
|
|
|
496
494
|
$metadata: deserializeMetadata(output),
|
|
497
495
|
...contents,
|
|
498
496
|
};
|
|
499
|
-
return
|
|
497
|
+
return response;
|
|
500
498
|
};
|
|
501
499
|
exports.de_CreateApiDestinationCommand = de_CreateApiDestinationCommand;
|
|
502
500
|
const de_CreateApiDestinationCommandError = async (output, context) => {
|
|
@@ -520,10 +518,9 @@ const de_CreateApiDestinationCommandError = async (output, context) => {
|
|
|
520
518
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
521
519
|
default:
|
|
522
520
|
const parsedBody = parsedOutput.body;
|
|
523
|
-
|
|
521
|
+
return throwDefaultError({
|
|
524
522
|
output,
|
|
525
523
|
parsedBody,
|
|
526
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
527
524
|
errorCode,
|
|
528
525
|
});
|
|
529
526
|
}
|
|
@@ -539,7 +536,7 @@ const de_CreateArchiveCommand = async (output, context) => {
|
|
|
539
536
|
$metadata: deserializeMetadata(output),
|
|
540
537
|
...contents,
|
|
541
538
|
};
|
|
542
|
-
return
|
|
539
|
+
return response;
|
|
543
540
|
};
|
|
544
541
|
exports.de_CreateArchiveCommand = de_CreateArchiveCommand;
|
|
545
542
|
const de_CreateArchiveCommandError = async (output, context) => {
|
|
@@ -569,10 +566,9 @@ const de_CreateArchiveCommandError = async (output, context) => {
|
|
|
569
566
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
570
567
|
default:
|
|
571
568
|
const parsedBody = parsedOutput.body;
|
|
572
|
-
|
|
569
|
+
return throwDefaultError({
|
|
573
570
|
output,
|
|
574
571
|
parsedBody,
|
|
575
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
576
572
|
errorCode,
|
|
577
573
|
});
|
|
578
574
|
}
|
|
@@ -588,7 +584,7 @@ const de_CreateConnectionCommand = async (output, context) => {
|
|
|
588
584
|
$metadata: deserializeMetadata(output),
|
|
589
585
|
...contents,
|
|
590
586
|
};
|
|
591
|
-
return
|
|
587
|
+
return response;
|
|
592
588
|
};
|
|
593
589
|
exports.de_CreateConnectionCommand = de_CreateConnectionCommand;
|
|
594
590
|
const de_CreateConnectionCommandError = async (output, context) => {
|
|
@@ -609,10 +605,9 @@ const de_CreateConnectionCommandError = async (output, context) => {
|
|
|
609
605
|
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
610
606
|
default:
|
|
611
607
|
const parsedBody = parsedOutput.body;
|
|
612
|
-
|
|
608
|
+
return throwDefaultError({
|
|
613
609
|
output,
|
|
614
610
|
parsedBody,
|
|
615
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
616
611
|
errorCode,
|
|
617
612
|
});
|
|
618
613
|
}
|
|
@@ -623,12 +618,12 @@ const de_CreateEndpointCommand = async (output, context) => {
|
|
|
623
618
|
}
|
|
624
619
|
const data = await parseBody(output.body, context);
|
|
625
620
|
let contents = {};
|
|
626
|
-
contents =
|
|
621
|
+
contents = (0, smithy_client_1._json)(data);
|
|
627
622
|
const response = {
|
|
628
623
|
$metadata: deserializeMetadata(output),
|
|
629
624
|
...contents,
|
|
630
625
|
};
|
|
631
|
-
return
|
|
626
|
+
return response;
|
|
632
627
|
};
|
|
633
628
|
exports.de_CreateEndpointCommand = de_CreateEndpointCommand;
|
|
634
629
|
const de_CreateEndpointCommandError = async (output, context) => {
|
|
@@ -649,10 +644,9 @@ const de_CreateEndpointCommandError = async (output, context) => {
|
|
|
649
644
|
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
650
645
|
default:
|
|
651
646
|
const parsedBody = parsedOutput.body;
|
|
652
|
-
|
|
647
|
+
return throwDefaultError({
|
|
653
648
|
output,
|
|
654
649
|
parsedBody,
|
|
655
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
656
650
|
errorCode,
|
|
657
651
|
});
|
|
658
652
|
}
|
|
@@ -663,12 +657,12 @@ const de_CreateEventBusCommand = async (output, context) => {
|
|
|
663
657
|
}
|
|
664
658
|
const data = await parseBody(output.body, context);
|
|
665
659
|
let contents = {};
|
|
666
|
-
contents =
|
|
660
|
+
contents = (0, smithy_client_1._json)(data);
|
|
667
661
|
const response = {
|
|
668
662
|
$metadata: deserializeMetadata(output),
|
|
669
663
|
...contents,
|
|
670
664
|
};
|
|
671
|
-
return
|
|
665
|
+
return response;
|
|
672
666
|
};
|
|
673
667
|
exports.de_CreateEventBusCommand = de_CreateEventBusCommand;
|
|
674
668
|
const de_CreateEventBusCommandError = async (output, context) => {
|
|
@@ -701,10 +695,9 @@ const de_CreateEventBusCommandError = async (output, context) => {
|
|
|
701
695
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
702
696
|
default:
|
|
703
697
|
const parsedBody = parsedOutput.body;
|
|
704
|
-
|
|
698
|
+
return throwDefaultError({
|
|
705
699
|
output,
|
|
706
700
|
parsedBody,
|
|
707
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
708
701
|
errorCode,
|
|
709
702
|
});
|
|
710
703
|
}
|
|
@@ -715,12 +708,12 @@ const de_CreatePartnerEventSourceCommand = async (output, context) => {
|
|
|
715
708
|
}
|
|
716
709
|
const data = await parseBody(output.body, context);
|
|
717
710
|
let contents = {};
|
|
718
|
-
contents =
|
|
711
|
+
contents = (0, smithy_client_1._json)(data);
|
|
719
712
|
const response = {
|
|
720
713
|
$metadata: deserializeMetadata(output),
|
|
721
714
|
...contents,
|
|
722
715
|
};
|
|
723
|
-
return
|
|
716
|
+
return response;
|
|
724
717
|
};
|
|
725
718
|
exports.de_CreatePartnerEventSourceCommand = de_CreatePartnerEventSourceCommand;
|
|
726
719
|
const de_CreatePartnerEventSourceCommandError = async (output, context) => {
|
|
@@ -747,10 +740,9 @@ const de_CreatePartnerEventSourceCommandError = async (output, context) => {
|
|
|
747
740
|
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
748
741
|
default:
|
|
749
742
|
const parsedBody = parsedOutput.body;
|
|
750
|
-
|
|
743
|
+
return throwDefaultError({
|
|
751
744
|
output,
|
|
752
745
|
parsedBody,
|
|
753
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
754
746
|
errorCode,
|
|
755
747
|
});
|
|
756
748
|
}
|
|
@@ -763,7 +755,7 @@ const de_DeactivateEventSourceCommand = async (output, context) => {
|
|
|
763
755
|
const response = {
|
|
764
756
|
$metadata: deserializeMetadata(output),
|
|
765
757
|
};
|
|
766
|
-
return
|
|
758
|
+
return response;
|
|
767
759
|
};
|
|
768
760
|
exports.de_DeactivateEventSourceCommand = de_DeactivateEventSourceCommand;
|
|
769
761
|
const de_DeactivateEventSourceCommandError = async (output, context) => {
|
|
@@ -790,10 +782,9 @@ const de_DeactivateEventSourceCommandError = async (output, context) => {
|
|
|
790
782
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
791
783
|
default:
|
|
792
784
|
const parsedBody = parsedOutput.body;
|
|
793
|
-
|
|
785
|
+
return throwDefaultError({
|
|
794
786
|
output,
|
|
795
787
|
parsedBody,
|
|
796
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
797
788
|
errorCode,
|
|
798
789
|
});
|
|
799
790
|
}
|
|
@@ -809,7 +800,7 @@ const de_DeauthorizeConnectionCommand = async (output, context) => {
|
|
|
809
800
|
$metadata: deserializeMetadata(output),
|
|
810
801
|
...contents,
|
|
811
802
|
};
|
|
812
|
-
return
|
|
803
|
+
return response;
|
|
813
804
|
};
|
|
814
805
|
exports.de_DeauthorizeConnectionCommand = de_DeauthorizeConnectionCommand;
|
|
815
806
|
const de_DeauthorizeConnectionCommandError = async (output, context) => {
|
|
@@ -830,10 +821,9 @@ const de_DeauthorizeConnectionCommandError = async (output, context) => {
|
|
|
830
821
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
831
822
|
default:
|
|
832
823
|
const parsedBody = parsedOutput.body;
|
|
833
|
-
|
|
824
|
+
return throwDefaultError({
|
|
834
825
|
output,
|
|
835
826
|
parsedBody,
|
|
836
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
837
827
|
errorCode,
|
|
838
828
|
});
|
|
839
829
|
}
|
|
@@ -844,12 +834,12 @@ const de_DeleteApiDestinationCommand = async (output, context) => {
|
|
|
844
834
|
}
|
|
845
835
|
const data = await parseBody(output.body, context);
|
|
846
836
|
let contents = {};
|
|
847
|
-
contents =
|
|
837
|
+
contents = (0, smithy_client_1._json)(data);
|
|
848
838
|
const response = {
|
|
849
839
|
$metadata: deserializeMetadata(output),
|
|
850
840
|
...contents,
|
|
851
841
|
};
|
|
852
|
-
return
|
|
842
|
+
return response;
|
|
853
843
|
};
|
|
854
844
|
exports.de_DeleteApiDestinationCommand = de_DeleteApiDestinationCommand;
|
|
855
845
|
const de_DeleteApiDestinationCommandError = async (output, context) => {
|
|
@@ -870,10 +860,9 @@ const de_DeleteApiDestinationCommandError = async (output, context) => {
|
|
|
870
860
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
871
861
|
default:
|
|
872
862
|
const parsedBody = parsedOutput.body;
|
|
873
|
-
|
|
863
|
+
return throwDefaultError({
|
|
874
864
|
output,
|
|
875
865
|
parsedBody,
|
|
876
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
877
866
|
errorCode,
|
|
878
867
|
});
|
|
879
868
|
}
|
|
@@ -884,12 +873,12 @@ const de_DeleteArchiveCommand = async (output, context) => {
|
|
|
884
873
|
}
|
|
885
874
|
const data = await parseBody(output.body, context);
|
|
886
875
|
let contents = {};
|
|
887
|
-
contents =
|
|
876
|
+
contents = (0, smithy_client_1._json)(data);
|
|
888
877
|
const response = {
|
|
889
878
|
$metadata: deserializeMetadata(output),
|
|
890
879
|
...contents,
|
|
891
880
|
};
|
|
892
|
-
return
|
|
881
|
+
return response;
|
|
893
882
|
};
|
|
894
883
|
exports.de_DeleteArchiveCommand = de_DeleteArchiveCommand;
|
|
895
884
|
const de_DeleteArchiveCommandError = async (output, context) => {
|
|
@@ -910,10 +899,9 @@ const de_DeleteArchiveCommandError = async (output, context) => {
|
|
|
910
899
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
911
900
|
default:
|
|
912
901
|
const parsedBody = parsedOutput.body;
|
|
913
|
-
|
|
902
|
+
return throwDefaultError({
|
|
914
903
|
output,
|
|
915
904
|
parsedBody,
|
|
916
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
917
905
|
errorCode,
|
|
918
906
|
});
|
|
919
907
|
}
|
|
@@ -929,7 +917,7 @@ const de_DeleteConnectionCommand = async (output, context) => {
|
|
|
929
917
|
$metadata: deserializeMetadata(output),
|
|
930
918
|
...contents,
|
|
931
919
|
};
|
|
932
|
-
return
|
|
920
|
+
return response;
|
|
933
921
|
};
|
|
934
922
|
exports.de_DeleteConnectionCommand = de_DeleteConnectionCommand;
|
|
935
923
|
const de_DeleteConnectionCommandError = async (output, context) => {
|
|
@@ -950,10 +938,9 @@ const de_DeleteConnectionCommandError = async (output, context) => {
|
|
|
950
938
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
951
939
|
default:
|
|
952
940
|
const parsedBody = parsedOutput.body;
|
|
953
|
-
|
|
941
|
+
return throwDefaultError({
|
|
954
942
|
output,
|
|
955
943
|
parsedBody,
|
|
956
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
957
944
|
errorCode,
|
|
958
945
|
});
|
|
959
946
|
}
|
|
@@ -964,12 +951,12 @@ const de_DeleteEndpointCommand = async (output, context) => {
|
|
|
964
951
|
}
|
|
965
952
|
const data = await parseBody(output.body, context);
|
|
966
953
|
let contents = {};
|
|
967
|
-
contents =
|
|
954
|
+
contents = (0, smithy_client_1._json)(data);
|
|
968
955
|
const response = {
|
|
969
956
|
$metadata: deserializeMetadata(output),
|
|
970
957
|
...contents,
|
|
971
958
|
};
|
|
972
|
-
return
|
|
959
|
+
return response;
|
|
973
960
|
};
|
|
974
961
|
exports.de_DeleteEndpointCommand = de_DeleteEndpointCommand;
|
|
975
962
|
const de_DeleteEndpointCommandError = async (output, context) => {
|
|
@@ -990,10 +977,9 @@ const de_DeleteEndpointCommandError = async (output, context) => {
|
|
|
990
977
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
991
978
|
default:
|
|
992
979
|
const parsedBody = parsedOutput.body;
|
|
993
|
-
|
|
980
|
+
return throwDefaultError({
|
|
994
981
|
output,
|
|
995
982
|
parsedBody,
|
|
996
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
997
983
|
errorCode,
|
|
998
984
|
});
|
|
999
985
|
}
|
|
@@ -1006,7 +992,7 @@ const de_DeleteEventBusCommand = async (output, context) => {
|
|
|
1006
992
|
const response = {
|
|
1007
993
|
$metadata: deserializeMetadata(output),
|
|
1008
994
|
};
|
|
1009
|
-
return
|
|
995
|
+
return response;
|
|
1010
996
|
};
|
|
1011
997
|
exports.de_DeleteEventBusCommand = de_DeleteEventBusCommand;
|
|
1012
998
|
const de_DeleteEventBusCommandError = async (output, context) => {
|
|
@@ -1024,10 +1010,9 @@ const de_DeleteEventBusCommandError = async (output, context) => {
|
|
|
1024
1010
|
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1025
1011
|
default:
|
|
1026
1012
|
const parsedBody = parsedOutput.body;
|
|
1027
|
-
|
|
1013
|
+
return throwDefaultError({
|
|
1028
1014
|
output,
|
|
1029
1015
|
parsedBody,
|
|
1030
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1031
1016
|
errorCode,
|
|
1032
1017
|
});
|
|
1033
1018
|
}
|
|
@@ -1040,7 +1025,7 @@ const de_DeletePartnerEventSourceCommand = async (output, context) => {
|
|
|
1040
1025
|
const response = {
|
|
1041
1026
|
$metadata: deserializeMetadata(output),
|
|
1042
1027
|
};
|
|
1043
|
-
return
|
|
1028
|
+
return response;
|
|
1044
1029
|
};
|
|
1045
1030
|
exports.de_DeletePartnerEventSourceCommand = de_DeletePartnerEventSourceCommand;
|
|
1046
1031
|
const de_DeletePartnerEventSourceCommandError = async (output, context) => {
|
|
@@ -1061,10 +1046,9 @@ const de_DeletePartnerEventSourceCommandError = async (output, context) => {
|
|
|
1061
1046
|
throw await de_OperationDisabledExceptionRes(parsedOutput, context);
|
|
1062
1047
|
default:
|
|
1063
1048
|
const parsedBody = parsedOutput.body;
|
|
1064
|
-
|
|
1049
|
+
return throwDefaultError({
|
|
1065
1050
|
output,
|
|
1066
1051
|
parsedBody,
|
|
1067
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1068
1052
|
errorCode,
|
|
1069
1053
|
});
|
|
1070
1054
|
}
|
|
@@ -1077,7 +1061,7 @@ const de_DeleteRuleCommand = async (output, context) => {
|
|
|
1077
1061
|
const response = {
|
|
1078
1062
|
$metadata: deserializeMetadata(output),
|
|
1079
1063
|
};
|
|
1080
|
-
return
|
|
1064
|
+
return response;
|
|
1081
1065
|
};
|
|
1082
1066
|
exports.de_DeleteRuleCommand = de_DeleteRuleCommand;
|
|
1083
1067
|
const de_DeleteRuleCommandError = async (output, context) => {
|
|
@@ -1101,10 +1085,9 @@ const de_DeleteRuleCommandError = async (output, context) => {
|
|
|
1101
1085
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1102
1086
|
default:
|
|
1103
1087
|
const parsedBody = parsedOutput.body;
|
|
1104
|
-
|
|
1088
|
+
return throwDefaultError({
|
|
1105
1089
|
output,
|
|
1106
1090
|
parsedBody,
|
|
1107
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1108
1091
|
errorCode,
|
|
1109
1092
|
});
|
|
1110
1093
|
}
|
|
@@ -1120,7 +1103,7 @@ const de_DescribeApiDestinationCommand = async (output, context) => {
|
|
|
1120
1103
|
$metadata: deserializeMetadata(output),
|
|
1121
1104
|
...contents,
|
|
1122
1105
|
};
|
|
1123
|
-
return
|
|
1106
|
+
return response;
|
|
1124
1107
|
};
|
|
1125
1108
|
exports.de_DescribeApiDestinationCommand = de_DescribeApiDestinationCommand;
|
|
1126
1109
|
const de_DescribeApiDestinationCommandError = async (output, context) => {
|
|
@@ -1138,10 +1121,9 @@ const de_DescribeApiDestinationCommandError = async (output, context) => {
|
|
|
1138
1121
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1139
1122
|
default:
|
|
1140
1123
|
const parsedBody = parsedOutput.body;
|
|
1141
|
-
|
|
1124
|
+
return throwDefaultError({
|
|
1142
1125
|
output,
|
|
1143
1126
|
parsedBody,
|
|
1144
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1145
1127
|
errorCode,
|
|
1146
1128
|
});
|
|
1147
1129
|
}
|
|
@@ -1157,7 +1139,7 @@ const de_DescribeArchiveCommand = async (output, context) => {
|
|
|
1157
1139
|
$metadata: deserializeMetadata(output),
|
|
1158
1140
|
...contents,
|
|
1159
1141
|
};
|
|
1160
|
-
return
|
|
1142
|
+
return response;
|
|
1161
1143
|
};
|
|
1162
1144
|
exports.de_DescribeArchiveCommand = de_DescribeArchiveCommand;
|
|
1163
1145
|
const de_DescribeArchiveCommandError = async (output, context) => {
|
|
@@ -1178,10 +1160,9 @@ const de_DescribeArchiveCommandError = async (output, context) => {
|
|
|
1178
1160
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1179
1161
|
default:
|
|
1180
1162
|
const parsedBody = parsedOutput.body;
|
|
1181
|
-
|
|
1163
|
+
return throwDefaultError({
|
|
1182
1164
|
output,
|
|
1183
1165
|
parsedBody,
|
|
1184
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1185
1166
|
errorCode,
|
|
1186
1167
|
});
|
|
1187
1168
|
}
|
|
@@ -1197,7 +1178,7 @@ const de_DescribeConnectionCommand = async (output, context) => {
|
|
|
1197
1178
|
$metadata: deserializeMetadata(output),
|
|
1198
1179
|
...contents,
|
|
1199
1180
|
};
|
|
1200
|
-
return
|
|
1181
|
+
return response;
|
|
1201
1182
|
};
|
|
1202
1183
|
exports.de_DescribeConnectionCommand = de_DescribeConnectionCommand;
|
|
1203
1184
|
const de_DescribeConnectionCommandError = async (output, context) => {
|
|
@@ -1215,10 +1196,9 @@ const de_DescribeConnectionCommandError = async (output, context) => {
|
|
|
1215
1196
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1216
1197
|
default:
|
|
1217
1198
|
const parsedBody = parsedOutput.body;
|
|
1218
|
-
|
|
1199
|
+
return throwDefaultError({
|
|
1219
1200
|
output,
|
|
1220
1201
|
parsedBody,
|
|
1221
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1222
1202
|
errorCode,
|
|
1223
1203
|
});
|
|
1224
1204
|
}
|
|
@@ -1234,7 +1214,7 @@ const de_DescribeEndpointCommand = async (output, context) => {
|
|
|
1234
1214
|
$metadata: deserializeMetadata(output),
|
|
1235
1215
|
...contents,
|
|
1236
1216
|
};
|
|
1237
|
-
return
|
|
1217
|
+
return response;
|
|
1238
1218
|
};
|
|
1239
1219
|
exports.de_DescribeEndpointCommand = de_DescribeEndpointCommand;
|
|
1240
1220
|
const de_DescribeEndpointCommandError = async (output, context) => {
|
|
@@ -1252,10 +1232,9 @@ const de_DescribeEndpointCommandError = async (output, context) => {
|
|
|
1252
1232
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1253
1233
|
default:
|
|
1254
1234
|
const parsedBody = parsedOutput.body;
|
|
1255
|
-
|
|
1235
|
+
return throwDefaultError({
|
|
1256
1236
|
output,
|
|
1257
1237
|
parsedBody,
|
|
1258
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1259
1238
|
errorCode,
|
|
1260
1239
|
});
|
|
1261
1240
|
}
|
|
@@ -1266,12 +1245,12 @@ const de_DescribeEventBusCommand = async (output, context) => {
|
|
|
1266
1245
|
}
|
|
1267
1246
|
const data = await parseBody(output.body, context);
|
|
1268
1247
|
let contents = {};
|
|
1269
|
-
contents =
|
|
1248
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1270
1249
|
const response = {
|
|
1271
1250
|
$metadata: deserializeMetadata(output),
|
|
1272
1251
|
...contents,
|
|
1273
1252
|
};
|
|
1274
|
-
return
|
|
1253
|
+
return response;
|
|
1275
1254
|
};
|
|
1276
1255
|
exports.de_DescribeEventBusCommand = de_DescribeEventBusCommand;
|
|
1277
1256
|
const de_DescribeEventBusCommandError = async (output, context) => {
|
|
@@ -1289,10 +1268,9 @@ const de_DescribeEventBusCommandError = async (output, context) => {
|
|
|
1289
1268
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1290
1269
|
default:
|
|
1291
1270
|
const parsedBody = parsedOutput.body;
|
|
1292
|
-
|
|
1271
|
+
return throwDefaultError({
|
|
1293
1272
|
output,
|
|
1294
1273
|
parsedBody,
|
|
1295
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1296
1274
|
errorCode,
|
|
1297
1275
|
});
|
|
1298
1276
|
}
|
|
@@ -1308,7 +1286,7 @@ const de_DescribeEventSourceCommand = async (output, context) => {
|
|
|
1308
1286
|
$metadata: deserializeMetadata(output),
|
|
1309
1287
|
...contents,
|
|
1310
1288
|
};
|
|
1311
|
-
return
|
|
1289
|
+
return response;
|
|
1312
1290
|
};
|
|
1313
1291
|
exports.de_DescribeEventSourceCommand = de_DescribeEventSourceCommand;
|
|
1314
1292
|
const de_DescribeEventSourceCommandError = async (output, context) => {
|
|
@@ -1329,10 +1307,9 @@ const de_DescribeEventSourceCommandError = async (output, context) => {
|
|
|
1329
1307
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1330
1308
|
default:
|
|
1331
1309
|
const parsedBody = parsedOutput.body;
|
|
1332
|
-
|
|
1310
|
+
return throwDefaultError({
|
|
1333
1311
|
output,
|
|
1334
1312
|
parsedBody,
|
|
1335
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1336
1313
|
errorCode,
|
|
1337
1314
|
});
|
|
1338
1315
|
}
|
|
@@ -1343,12 +1320,12 @@ const de_DescribePartnerEventSourceCommand = async (output, context) => {
|
|
|
1343
1320
|
}
|
|
1344
1321
|
const data = await parseBody(output.body, context);
|
|
1345
1322
|
let contents = {};
|
|
1346
|
-
contents =
|
|
1323
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1347
1324
|
const response = {
|
|
1348
1325
|
$metadata: deserializeMetadata(output),
|
|
1349
1326
|
...contents,
|
|
1350
1327
|
};
|
|
1351
|
-
return
|
|
1328
|
+
return response;
|
|
1352
1329
|
};
|
|
1353
1330
|
exports.de_DescribePartnerEventSourceCommand = de_DescribePartnerEventSourceCommand;
|
|
1354
1331
|
const de_DescribePartnerEventSourceCommandError = async (output, context) => {
|
|
@@ -1369,10 +1346,9 @@ const de_DescribePartnerEventSourceCommandError = async (output, context) => {
|
|
|
1369
1346
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1370
1347
|
default:
|
|
1371
1348
|
const parsedBody = parsedOutput.body;
|
|
1372
|
-
|
|
1349
|
+
return throwDefaultError({
|
|
1373
1350
|
output,
|
|
1374
1351
|
parsedBody,
|
|
1375
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1376
1352
|
errorCode,
|
|
1377
1353
|
});
|
|
1378
1354
|
}
|
|
@@ -1388,7 +1364,7 @@ const de_DescribeReplayCommand = async (output, context) => {
|
|
|
1388
1364
|
$metadata: deserializeMetadata(output),
|
|
1389
1365
|
...contents,
|
|
1390
1366
|
};
|
|
1391
|
-
return
|
|
1367
|
+
return response;
|
|
1392
1368
|
};
|
|
1393
1369
|
exports.de_DescribeReplayCommand = de_DescribeReplayCommand;
|
|
1394
1370
|
const de_DescribeReplayCommandError = async (output, context) => {
|
|
@@ -1406,10 +1382,9 @@ const de_DescribeReplayCommandError = async (output, context) => {
|
|
|
1406
1382
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1407
1383
|
default:
|
|
1408
1384
|
const parsedBody = parsedOutput.body;
|
|
1409
|
-
|
|
1385
|
+
return throwDefaultError({
|
|
1410
1386
|
output,
|
|
1411
1387
|
parsedBody,
|
|
1412
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1413
1388
|
errorCode,
|
|
1414
1389
|
});
|
|
1415
1390
|
}
|
|
@@ -1420,12 +1395,12 @@ const de_DescribeRuleCommand = async (output, context) => {
|
|
|
1420
1395
|
}
|
|
1421
1396
|
const data = await parseBody(output.body, context);
|
|
1422
1397
|
let contents = {};
|
|
1423
|
-
contents =
|
|
1398
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1424
1399
|
const response = {
|
|
1425
1400
|
$metadata: deserializeMetadata(output),
|
|
1426
1401
|
...contents,
|
|
1427
1402
|
};
|
|
1428
|
-
return
|
|
1403
|
+
return response;
|
|
1429
1404
|
};
|
|
1430
1405
|
exports.de_DescribeRuleCommand = de_DescribeRuleCommand;
|
|
1431
1406
|
const de_DescribeRuleCommandError = async (output, context) => {
|
|
@@ -1443,10 +1418,9 @@ const de_DescribeRuleCommandError = async (output, context) => {
|
|
|
1443
1418
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1444
1419
|
default:
|
|
1445
1420
|
const parsedBody = parsedOutput.body;
|
|
1446
|
-
|
|
1421
|
+
return throwDefaultError({
|
|
1447
1422
|
output,
|
|
1448
1423
|
parsedBody,
|
|
1449
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1450
1424
|
errorCode,
|
|
1451
1425
|
});
|
|
1452
1426
|
}
|
|
@@ -1459,7 +1433,7 @@ const de_DisableRuleCommand = async (output, context) => {
|
|
|
1459
1433
|
const response = {
|
|
1460
1434
|
$metadata: deserializeMetadata(output),
|
|
1461
1435
|
};
|
|
1462
|
-
return
|
|
1436
|
+
return response;
|
|
1463
1437
|
};
|
|
1464
1438
|
exports.de_DisableRuleCommand = de_DisableRuleCommand;
|
|
1465
1439
|
const de_DisableRuleCommandError = async (output, context) => {
|
|
@@ -1483,10 +1457,9 @@ const de_DisableRuleCommandError = async (output, context) => {
|
|
|
1483
1457
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1484
1458
|
default:
|
|
1485
1459
|
const parsedBody = parsedOutput.body;
|
|
1486
|
-
|
|
1460
|
+
return throwDefaultError({
|
|
1487
1461
|
output,
|
|
1488
1462
|
parsedBody,
|
|
1489
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1490
1463
|
errorCode,
|
|
1491
1464
|
});
|
|
1492
1465
|
}
|
|
@@ -1499,7 +1472,7 @@ const de_EnableRuleCommand = async (output, context) => {
|
|
|
1499
1472
|
const response = {
|
|
1500
1473
|
$metadata: deserializeMetadata(output),
|
|
1501
1474
|
};
|
|
1502
|
-
return
|
|
1475
|
+
return response;
|
|
1503
1476
|
};
|
|
1504
1477
|
exports.de_EnableRuleCommand = de_EnableRuleCommand;
|
|
1505
1478
|
const de_EnableRuleCommandError = async (output, context) => {
|
|
@@ -1523,10 +1496,9 @@ const de_EnableRuleCommandError = async (output, context) => {
|
|
|
1523
1496
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1524
1497
|
default:
|
|
1525
1498
|
const parsedBody = parsedOutput.body;
|
|
1526
|
-
|
|
1499
|
+
return throwDefaultError({
|
|
1527
1500
|
output,
|
|
1528
1501
|
parsedBody,
|
|
1529
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1530
1502
|
errorCode,
|
|
1531
1503
|
});
|
|
1532
1504
|
}
|
|
@@ -1542,7 +1514,7 @@ const de_ListApiDestinationsCommand = async (output, context) => {
|
|
|
1542
1514
|
$metadata: deserializeMetadata(output),
|
|
1543
1515
|
...contents,
|
|
1544
1516
|
};
|
|
1545
|
-
return
|
|
1517
|
+
return response;
|
|
1546
1518
|
};
|
|
1547
1519
|
exports.de_ListApiDestinationsCommand = de_ListApiDestinationsCommand;
|
|
1548
1520
|
const de_ListApiDestinationsCommandError = async (output, context) => {
|
|
@@ -1557,10 +1529,9 @@ const de_ListApiDestinationsCommandError = async (output, context) => {
|
|
|
1557
1529
|
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1558
1530
|
default:
|
|
1559
1531
|
const parsedBody = parsedOutput.body;
|
|
1560
|
-
|
|
1532
|
+
return throwDefaultError({
|
|
1561
1533
|
output,
|
|
1562
1534
|
parsedBody,
|
|
1563
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1564
1535
|
errorCode,
|
|
1565
1536
|
});
|
|
1566
1537
|
}
|
|
@@ -1576,7 +1547,7 @@ const de_ListArchivesCommand = async (output, context) => {
|
|
|
1576
1547
|
$metadata: deserializeMetadata(output),
|
|
1577
1548
|
...contents,
|
|
1578
1549
|
};
|
|
1579
|
-
return
|
|
1550
|
+
return response;
|
|
1580
1551
|
};
|
|
1581
1552
|
exports.de_ListArchivesCommand = de_ListArchivesCommand;
|
|
1582
1553
|
const de_ListArchivesCommandError = async (output, context) => {
|
|
@@ -1594,10 +1565,9 @@ const de_ListArchivesCommandError = async (output, context) => {
|
|
|
1594
1565
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1595
1566
|
default:
|
|
1596
1567
|
const parsedBody = parsedOutput.body;
|
|
1597
|
-
|
|
1568
|
+
return throwDefaultError({
|
|
1598
1569
|
output,
|
|
1599
1570
|
parsedBody,
|
|
1600
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1601
1571
|
errorCode,
|
|
1602
1572
|
});
|
|
1603
1573
|
}
|
|
@@ -1613,7 +1583,7 @@ const de_ListConnectionsCommand = async (output, context) => {
|
|
|
1613
1583
|
$metadata: deserializeMetadata(output),
|
|
1614
1584
|
...contents,
|
|
1615
1585
|
};
|
|
1616
|
-
return
|
|
1586
|
+
return response;
|
|
1617
1587
|
};
|
|
1618
1588
|
exports.de_ListConnectionsCommand = de_ListConnectionsCommand;
|
|
1619
1589
|
const de_ListConnectionsCommandError = async (output, context) => {
|
|
@@ -1628,10 +1598,9 @@ const de_ListConnectionsCommandError = async (output, context) => {
|
|
|
1628
1598
|
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1629
1599
|
default:
|
|
1630
1600
|
const parsedBody = parsedOutput.body;
|
|
1631
|
-
|
|
1601
|
+
return throwDefaultError({
|
|
1632
1602
|
output,
|
|
1633
1603
|
parsedBody,
|
|
1634
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1635
1604
|
errorCode,
|
|
1636
1605
|
});
|
|
1637
1606
|
}
|
|
@@ -1647,7 +1616,7 @@ const de_ListEndpointsCommand = async (output, context) => {
|
|
|
1647
1616
|
$metadata: deserializeMetadata(output),
|
|
1648
1617
|
...contents,
|
|
1649
1618
|
};
|
|
1650
|
-
return
|
|
1619
|
+
return response;
|
|
1651
1620
|
};
|
|
1652
1621
|
exports.de_ListEndpointsCommand = de_ListEndpointsCommand;
|
|
1653
1622
|
const de_ListEndpointsCommandError = async (output, context) => {
|
|
@@ -1662,10 +1631,9 @@ const de_ListEndpointsCommandError = async (output, context) => {
|
|
|
1662
1631
|
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1663
1632
|
default:
|
|
1664
1633
|
const parsedBody = parsedOutput.body;
|
|
1665
|
-
|
|
1634
|
+
return throwDefaultError({
|
|
1666
1635
|
output,
|
|
1667
1636
|
parsedBody,
|
|
1668
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1669
1637
|
errorCode,
|
|
1670
1638
|
});
|
|
1671
1639
|
}
|
|
@@ -1676,12 +1644,12 @@ const de_ListEventBusesCommand = async (output, context) => {
|
|
|
1676
1644
|
}
|
|
1677
1645
|
const data = await parseBody(output.body, context);
|
|
1678
1646
|
let contents = {};
|
|
1679
|
-
contents =
|
|
1647
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1680
1648
|
const response = {
|
|
1681
1649
|
$metadata: deserializeMetadata(output),
|
|
1682
1650
|
...contents,
|
|
1683
1651
|
};
|
|
1684
|
-
return
|
|
1652
|
+
return response;
|
|
1685
1653
|
};
|
|
1686
1654
|
exports.de_ListEventBusesCommand = de_ListEventBusesCommand;
|
|
1687
1655
|
const de_ListEventBusesCommandError = async (output, context) => {
|
|
@@ -1696,10 +1664,9 @@ const de_ListEventBusesCommandError = async (output, context) => {
|
|
|
1696
1664
|
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1697
1665
|
default:
|
|
1698
1666
|
const parsedBody = parsedOutput.body;
|
|
1699
|
-
|
|
1667
|
+
return throwDefaultError({
|
|
1700
1668
|
output,
|
|
1701
1669
|
parsedBody,
|
|
1702
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1703
1670
|
errorCode,
|
|
1704
1671
|
});
|
|
1705
1672
|
}
|
|
@@ -1715,7 +1682,7 @@ const de_ListEventSourcesCommand = async (output, context) => {
|
|
|
1715
1682
|
$metadata: deserializeMetadata(output),
|
|
1716
1683
|
...contents,
|
|
1717
1684
|
};
|
|
1718
|
-
return
|
|
1685
|
+
return response;
|
|
1719
1686
|
};
|
|
1720
1687
|
exports.de_ListEventSourcesCommand = de_ListEventSourcesCommand;
|
|
1721
1688
|
const de_ListEventSourcesCommandError = async (output, context) => {
|
|
@@ -1733,10 +1700,9 @@ const de_ListEventSourcesCommandError = async (output, context) => {
|
|
|
1733
1700
|
throw await de_OperationDisabledExceptionRes(parsedOutput, context);
|
|
1734
1701
|
default:
|
|
1735
1702
|
const parsedBody = parsedOutput.body;
|
|
1736
|
-
|
|
1703
|
+
return throwDefaultError({
|
|
1737
1704
|
output,
|
|
1738
1705
|
parsedBody,
|
|
1739
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1740
1706
|
errorCode,
|
|
1741
1707
|
});
|
|
1742
1708
|
}
|
|
@@ -1752,7 +1718,7 @@ const de_ListPartnerEventSourceAccountsCommand = async (output, context) => {
|
|
|
1752
1718
|
$metadata: deserializeMetadata(output),
|
|
1753
1719
|
...contents,
|
|
1754
1720
|
};
|
|
1755
|
-
return
|
|
1721
|
+
return response;
|
|
1756
1722
|
};
|
|
1757
1723
|
exports.de_ListPartnerEventSourceAccountsCommand = de_ListPartnerEventSourceAccountsCommand;
|
|
1758
1724
|
const de_ListPartnerEventSourceAccountsCommandError = async (output, context) => {
|
|
@@ -1773,10 +1739,9 @@ const de_ListPartnerEventSourceAccountsCommandError = async (output, context) =>
|
|
|
1773
1739
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1774
1740
|
default:
|
|
1775
1741
|
const parsedBody = parsedOutput.body;
|
|
1776
|
-
|
|
1742
|
+
return throwDefaultError({
|
|
1777
1743
|
output,
|
|
1778
1744
|
parsedBody,
|
|
1779
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1780
1745
|
errorCode,
|
|
1781
1746
|
});
|
|
1782
1747
|
}
|
|
@@ -1787,12 +1752,12 @@ const de_ListPartnerEventSourcesCommand = async (output, context) => {
|
|
|
1787
1752
|
}
|
|
1788
1753
|
const data = await parseBody(output.body, context);
|
|
1789
1754
|
let contents = {};
|
|
1790
|
-
contents =
|
|
1755
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1791
1756
|
const response = {
|
|
1792
1757
|
$metadata: deserializeMetadata(output),
|
|
1793
1758
|
...contents,
|
|
1794
1759
|
};
|
|
1795
|
-
return
|
|
1760
|
+
return response;
|
|
1796
1761
|
};
|
|
1797
1762
|
exports.de_ListPartnerEventSourcesCommand = de_ListPartnerEventSourcesCommand;
|
|
1798
1763
|
const de_ListPartnerEventSourcesCommandError = async (output, context) => {
|
|
@@ -1810,10 +1775,9 @@ const de_ListPartnerEventSourcesCommandError = async (output, context) => {
|
|
|
1810
1775
|
throw await de_OperationDisabledExceptionRes(parsedOutput, context);
|
|
1811
1776
|
default:
|
|
1812
1777
|
const parsedBody = parsedOutput.body;
|
|
1813
|
-
|
|
1778
|
+
return throwDefaultError({
|
|
1814
1779
|
output,
|
|
1815
1780
|
parsedBody,
|
|
1816
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1817
1781
|
errorCode,
|
|
1818
1782
|
});
|
|
1819
1783
|
}
|
|
@@ -1829,7 +1793,7 @@ const de_ListReplaysCommand = async (output, context) => {
|
|
|
1829
1793
|
$metadata: deserializeMetadata(output),
|
|
1830
1794
|
...contents,
|
|
1831
1795
|
};
|
|
1832
|
-
return
|
|
1796
|
+
return response;
|
|
1833
1797
|
};
|
|
1834
1798
|
exports.de_ListReplaysCommand = de_ListReplaysCommand;
|
|
1835
1799
|
const de_ListReplaysCommandError = async (output, context) => {
|
|
@@ -1844,10 +1808,9 @@ const de_ListReplaysCommandError = async (output, context) => {
|
|
|
1844
1808
|
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1845
1809
|
default:
|
|
1846
1810
|
const parsedBody = parsedOutput.body;
|
|
1847
|
-
|
|
1811
|
+
return throwDefaultError({
|
|
1848
1812
|
output,
|
|
1849
1813
|
parsedBody,
|
|
1850
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1851
1814
|
errorCode,
|
|
1852
1815
|
});
|
|
1853
1816
|
}
|
|
@@ -1858,12 +1821,12 @@ const de_ListRuleNamesByTargetCommand = async (output, context) => {
|
|
|
1858
1821
|
}
|
|
1859
1822
|
const data = await parseBody(output.body, context);
|
|
1860
1823
|
let contents = {};
|
|
1861
|
-
contents =
|
|
1824
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1862
1825
|
const response = {
|
|
1863
1826
|
$metadata: deserializeMetadata(output),
|
|
1864
1827
|
...contents,
|
|
1865
1828
|
};
|
|
1866
|
-
return
|
|
1829
|
+
return response;
|
|
1867
1830
|
};
|
|
1868
1831
|
exports.de_ListRuleNamesByTargetCommand = de_ListRuleNamesByTargetCommand;
|
|
1869
1832
|
const de_ListRuleNamesByTargetCommandError = async (output, context) => {
|
|
@@ -1881,10 +1844,9 @@ const de_ListRuleNamesByTargetCommandError = async (output, context) => {
|
|
|
1881
1844
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1882
1845
|
default:
|
|
1883
1846
|
const parsedBody = parsedOutput.body;
|
|
1884
|
-
|
|
1847
|
+
return throwDefaultError({
|
|
1885
1848
|
output,
|
|
1886
1849
|
parsedBody,
|
|
1887
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1888
1850
|
errorCode,
|
|
1889
1851
|
});
|
|
1890
1852
|
}
|
|
@@ -1895,12 +1857,12 @@ const de_ListRulesCommand = async (output, context) => {
|
|
|
1895
1857
|
}
|
|
1896
1858
|
const data = await parseBody(output.body, context);
|
|
1897
1859
|
let contents = {};
|
|
1898
|
-
contents =
|
|
1860
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1899
1861
|
const response = {
|
|
1900
1862
|
$metadata: deserializeMetadata(output),
|
|
1901
1863
|
...contents,
|
|
1902
1864
|
};
|
|
1903
|
-
return
|
|
1865
|
+
return response;
|
|
1904
1866
|
};
|
|
1905
1867
|
exports.de_ListRulesCommand = de_ListRulesCommand;
|
|
1906
1868
|
const de_ListRulesCommandError = async (output, context) => {
|
|
@@ -1918,10 +1880,9 @@ const de_ListRulesCommandError = async (output, context) => {
|
|
|
1918
1880
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1919
1881
|
default:
|
|
1920
1882
|
const parsedBody = parsedOutput.body;
|
|
1921
|
-
|
|
1883
|
+
return throwDefaultError({
|
|
1922
1884
|
output,
|
|
1923
1885
|
parsedBody,
|
|
1924
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1925
1886
|
errorCode,
|
|
1926
1887
|
});
|
|
1927
1888
|
}
|
|
@@ -1932,12 +1893,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1932
1893
|
}
|
|
1933
1894
|
const data = await parseBody(output.body, context);
|
|
1934
1895
|
let contents = {};
|
|
1935
|
-
contents =
|
|
1896
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1936
1897
|
const response = {
|
|
1937
1898
|
$metadata: deserializeMetadata(output),
|
|
1938
1899
|
...contents,
|
|
1939
1900
|
};
|
|
1940
|
-
return
|
|
1901
|
+
return response;
|
|
1941
1902
|
};
|
|
1942
1903
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
1943
1904
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -1955,10 +1916,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1955
1916
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1956
1917
|
default:
|
|
1957
1918
|
const parsedBody = parsedOutput.body;
|
|
1958
|
-
|
|
1919
|
+
return throwDefaultError({
|
|
1959
1920
|
output,
|
|
1960
1921
|
parsedBody,
|
|
1961
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1962
1922
|
errorCode,
|
|
1963
1923
|
});
|
|
1964
1924
|
}
|
|
@@ -1969,12 +1929,12 @@ const de_ListTargetsByRuleCommand = async (output, context) => {
|
|
|
1969
1929
|
}
|
|
1970
1930
|
const data = await parseBody(output.body, context);
|
|
1971
1931
|
let contents = {};
|
|
1972
|
-
contents =
|
|
1932
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1973
1933
|
const response = {
|
|
1974
1934
|
$metadata: deserializeMetadata(output),
|
|
1975
1935
|
...contents,
|
|
1976
1936
|
};
|
|
1977
|
-
return
|
|
1937
|
+
return response;
|
|
1978
1938
|
};
|
|
1979
1939
|
exports.de_ListTargetsByRuleCommand = de_ListTargetsByRuleCommand;
|
|
1980
1940
|
const de_ListTargetsByRuleCommandError = async (output, context) => {
|
|
@@ -1992,10 +1952,9 @@ const de_ListTargetsByRuleCommandError = async (output, context) => {
|
|
|
1992
1952
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1993
1953
|
default:
|
|
1994
1954
|
const parsedBody = parsedOutput.body;
|
|
1995
|
-
|
|
1955
|
+
return throwDefaultError({
|
|
1996
1956
|
output,
|
|
1997
1957
|
parsedBody,
|
|
1998
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1999
1958
|
errorCode,
|
|
2000
1959
|
});
|
|
2001
1960
|
}
|
|
@@ -2006,12 +1965,12 @@ const de_PutEventsCommand = async (output, context) => {
|
|
|
2006
1965
|
}
|
|
2007
1966
|
const data = await parseBody(output.body, context);
|
|
2008
1967
|
let contents = {};
|
|
2009
|
-
contents =
|
|
1968
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2010
1969
|
const response = {
|
|
2011
1970
|
$metadata: deserializeMetadata(output),
|
|
2012
1971
|
...contents,
|
|
2013
1972
|
};
|
|
2014
|
-
return
|
|
1973
|
+
return response;
|
|
2015
1974
|
};
|
|
2016
1975
|
exports.de_PutEventsCommand = de_PutEventsCommand;
|
|
2017
1976
|
const de_PutEventsCommandError = async (output, context) => {
|
|
@@ -2026,10 +1985,9 @@ const de_PutEventsCommandError = async (output, context) => {
|
|
|
2026
1985
|
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2027
1986
|
default:
|
|
2028
1987
|
const parsedBody = parsedOutput.body;
|
|
2029
|
-
|
|
1988
|
+
return throwDefaultError({
|
|
2030
1989
|
output,
|
|
2031
1990
|
parsedBody,
|
|
2032
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2033
1991
|
errorCode,
|
|
2034
1992
|
});
|
|
2035
1993
|
}
|
|
@@ -2040,12 +1998,12 @@ const de_PutPartnerEventsCommand = async (output, context) => {
|
|
|
2040
1998
|
}
|
|
2041
1999
|
const data = await parseBody(output.body, context);
|
|
2042
2000
|
let contents = {};
|
|
2043
|
-
contents =
|
|
2001
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2044
2002
|
const response = {
|
|
2045
2003
|
$metadata: deserializeMetadata(output),
|
|
2046
2004
|
...contents,
|
|
2047
2005
|
};
|
|
2048
|
-
return
|
|
2006
|
+
return response;
|
|
2049
2007
|
};
|
|
2050
2008
|
exports.de_PutPartnerEventsCommand = de_PutPartnerEventsCommand;
|
|
2051
2009
|
const de_PutPartnerEventsCommandError = async (output, context) => {
|
|
@@ -2063,10 +2021,9 @@ const de_PutPartnerEventsCommandError = async (output, context) => {
|
|
|
2063
2021
|
throw await de_OperationDisabledExceptionRes(parsedOutput, context);
|
|
2064
2022
|
default:
|
|
2065
2023
|
const parsedBody = parsedOutput.body;
|
|
2066
|
-
|
|
2024
|
+
return throwDefaultError({
|
|
2067
2025
|
output,
|
|
2068
2026
|
parsedBody,
|
|
2069
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2070
2027
|
errorCode,
|
|
2071
2028
|
});
|
|
2072
2029
|
}
|
|
@@ -2079,7 +2036,7 @@ const de_PutPermissionCommand = async (output, context) => {
|
|
|
2079
2036
|
const response = {
|
|
2080
2037
|
$metadata: deserializeMetadata(output),
|
|
2081
2038
|
};
|
|
2082
|
-
return
|
|
2039
|
+
return response;
|
|
2083
2040
|
};
|
|
2084
2041
|
exports.de_PutPermissionCommand = de_PutPermissionCommand;
|
|
2085
2042
|
const de_PutPermissionCommandError = async (output, context) => {
|
|
@@ -2106,10 +2063,9 @@ const de_PutPermissionCommandError = async (output, context) => {
|
|
|
2106
2063
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2107
2064
|
default:
|
|
2108
2065
|
const parsedBody = parsedOutput.body;
|
|
2109
|
-
|
|
2066
|
+
return throwDefaultError({
|
|
2110
2067
|
output,
|
|
2111
2068
|
parsedBody,
|
|
2112
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2113
2069
|
errorCode,
|
|
2114
2070
|
});
|
|
2115
2071
|
}
|
|
@@ -2120,12 +2076,12 @@ const de_PutRuleCommand = async (output, context) => {
|
|
|
2120
2076
|
}
|
|
2121
2077
|
const data = await parseBody(output.body, context);
|
|
2122
2078
|
let contents = {};
|
|
2123
|
-
contents =
|
|
2079
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2124
2080
|
const response = {
|
|
2125
2081
|
$metadata: deserializeMetadata(output),
|
|
2126
2082
|
...contents,
|
|
2127
2083
|
};
|
|
2128
|
-
return
|
|
2084
|
+
return response;
|
|
2129
2085
|
};
|
|
2130
2086
|
exports.de_PutRuleCommand = de_PutRuleCommand;
|
|
2131
2087
|
const de_PutRuleCommandError = async (output, context) => {
|
|
@@ -2155,10 +2111,9 @@ const de_PutRuleCommandError = async (output, context) => {
|
|
|
2155
2111
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2156
2112
|
default:
|
|
2157
2113
|
const parsedBody = parsedOutput.body;
|
|
2158
|
-
|
|
2114
|
+
return throwDefaultError({
|
|
2159
2115
|
output,
|
|
2160
2116
|
parsedBody,
|
|
2161
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2162
2117
|
errorCode,
|
|
2163
2118
|
});
|
|
2164
2119
|
}
|
|
@@ -2169,12 +2124,12 @@ const de_PutTargetsCommand = async (output, context) => {
|
|
|
2169
2124
|
}
|
|
2170
2125
|
const data = await parseBody(output.body, context);
|
|
2171
2126
|
let contents = {};
|
|
2172
|
-
contents =
|
|
2127
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2173
2128
|
const response = {
|
|
2174
2129
|
$metadata: deserializeMetadata(output),
|
|
2175
2130
|
...contents,
|
|
2176
2131
|
};
|
|
2177
|
-
return
|
|
2132
|
+
return response;
|
|
2178
2133
|
};
|
|
2179
2134
|
exports.de_PutTargetsCommand = de_PutTargetsCommand;
|
|
2180
2135
|
const de_PutTargetsCommandError = async (output, context) => {
|
|
@@ -2201,10 +2156,9 @@ const de_PutTargetsCommandError = async (output, context) => {
|
|
|
2201
2156
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2202
2157
|
default:
|
|
2203
2158
|
const parsedBody = parsedOutput.body;
|
|
2204
|
-
|
|
2159
|
+
return throwDefaultError({
|
|
2205
2160
|
output,
|
|
2206
2161
|
parsedBody,
|
|
2207
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2208
2162
|
errorCode,
|
|
2209
2163
|
});
|
|
2210
2164
|
}
|
|
@@ -2217,7 +2171,7 @@ const de_RemovePermissionCommand = async (output, context) => {
|
|
|
2217
2171
|
const response = {
|
|
2218
2172
|
$metadata: deserializeMetadata(output),
|
|
2219
2173
|
};
|
|
2220
|
-
return
|
|
2174
|
+
return response;
|
|
2221
2175
|
};
|
|
2222
2176
|
exports.de_RemovePermissionCommand = de_RemovePermissionCommand;
|
|
2223
2177
|
const de_RemovePermissionCommandError = async (output, context) => {
|
|
@@ -2241,10 +2195,9 @@ const de_RemovePermissionCommandError = async (output, context) => {
|
|
|
2241
2195
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2242
2196
|
default:
|
|
2243
2197
|
const parsedBody = parsedOutput.body;
|
|
2244
|
-
|
|
2198
|
+
return throwDefaultError({
|
|
2245
2199
|
output,
|
|
2246
2200
|
parsedBody,
|
|
2247
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2248
2201
|
errorCode,
|
|
2249
2202
|
});
|
|
2250
2203
|
}
|
|
@@ -2255,12 +2208,12 @@ const de_RemoveTargetsCommand = async (output, context) => {
|
|
|
2255
2208
|
}
|
|
2256
2209
|
const data = await parseBody(output.body, context);
|
|
2257
2210
|
let contents = {};
|
|
2258
|
-
contents =
|
|
2211
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2259
2212
|
const response = {
|
|
2260
2213
|
$metadata: deserializeMetadata(output),
|
|
2261
2214
|
...contents,
|
|
2262
2215
|
};
|
|
2263
|
-
return
|
|
2216
|
+
return response;
|
|
2264
2217
|
};
|
|
2265
2218
|
exports.de_RemoveTargetsCommand = de_RemoveTargetsCommand;
|
|
2266
2219
|
const de_RemoveTargetsCommandError = async (output, context) => {
|
|
@@ -2284,10 +2237,9 @@ const de_RemoveTargetsCommandError = async (output, context) => {
|
|
|
2284
2237
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2285
2238
|
default:
|
|
2286
2239
|
const parsedBody = parsedOutput.body;
|
|
2287
|
-
|
|
2240
|
+
return throwDefaultError({
|
|
2288
2241
|
output,
|
|
2289
2242
|
parsedBody,
|
|
2290
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2291
2243
|
errorCode,
|
|
2292
2244
|
});
|
|
2293
2245
|
}
|
|
@@ -2303,7 +2255,7 @@ const de_StartReplayCommand = async (output, context) => {
|
|
|
2303
2255
|
$metadata: deserializeMetadata(output),
|
|
2304
2256
|
...contents,
|
|
2305
2257
|
};
|
|
2306
|
-
return
|
|
2258
|
+
return response;
|
|
2307
2259
|
};
|
|
2308
2260
|
exports.de_StartReplayCommand = de_StartReplayCommand;
|
|
2309
2261
|
const de_StartReplayCommandError = async (output, context) => {
|
|
@@ -2330,10 +2282,9 @@ const de_StartReplayCommandError = async (output, context) => {
|
|
|
2330
2282
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2331
2283
|
default:
|
|
2332
2284
|
const parsedBody = parsedOutput.body;
|
|
2333
|
-
|
|
2285
|
+
return throwDefaultError({
|
|
2334
2286
|
output,
|
|
2335
2287
|
parsedBody,
|
|
2336
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2337
2288
|
errorCode,
|
|
2338
2289
|
});
|
|
2339
2290
|
}
|
|
@@ -2344,12 +2295,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
2344
2295
|
}
|
|
2345
2296
|
const data = await parseBody(output.body, context);
|
|
2346
2297
|
let contents = {};
|
|
2347
|
-
contents =
|
|
2298
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2348
2299
|
const response = {
|
|
2349
2300
|
$metadata: deserializeMetadata(output),
|
|
2350
2301
|
...contents,
|
|
2351
2302
|
};
|
|
2352
|
-
return
|
|
2303
|
+
return response;
|
|
2353
2304
|
};
|
|
2354
2305
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
2355
2306
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -2373,10 +2324,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2373
2324
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2374
2325
|
default:
|
|
2375
2326
|
const parsedBody = parsedOutput.body;
|
|
2376
|
-
|
|
2327
|
+
return throwDefaultError({
|
|
2377
2328
|
output,
|
|
2378
2329
|
parsedBody,
|
|
2379
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2380
2330
|
errorCode,
|
|
2381
2331
|
});
|
|
2382
2332
|
}
|
|
@@ -2387,12 +2337,12 @@ const de_TestEventPatternCommand = async (output, context) => {
|
|
|
2387
2337
|
}
|
|
2388
2338
|
const data = await parseBody(output.body, context);
|
|
2389
2339
|
let contents = {};
|
|
2390
|
-
contents =
|
|
2340
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2391
2341
|
const response = {
|
|
2392
2342
|
$metadata: deserializeMetadata(output),
|
|
2393
2343
|
...contents,
|
|
2394
2344
|
};
|
|
2395
|
-
return
|
|
2345
|
+
return response;
|
|
2396
2346
|
};
|
|
2397
2347
|
exports.de_TestEventPatternCommand = de_TestEventPatternCommand;
|
|
2398
2348
|
const de_TestEventPatternCommandError = async (output, context) => {
|
|
@@ -2410,10 +2360,9 @@ const de_TestEventPatternCommandError = async (output, context) => {
|
|
|
2410
2360
|
throw await de_InvalidEventPatternExceptionRes(parsedOutput, context);
|
|
2411
2361
|
default:
|
|
2412
2362
|
const parsedBody = parsedOutput.body;
|
|
2413
|
-
|
|
2363
|
+
return throwDefaultError({
|
|
2414
2364
|
output,
|
|
2415
2365
|
parsedBody,
|
|
2416
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2417
2366
|
errorCode,
|
|
2418
2367
|
});
|
|
2419
2368
|
}
|
|
@@ -2424,12 +2373,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
2424
2373
|
}
|
|
2425
2374
|
const data = await parseBody(output.body, context);
|
|
2426
2375
|
let contents = {};
|
|
2427
|
-
contents =
|
|
2376
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2428
2377
|
const response = {
|
|
2429
2378
|
$metadata: deserializeMetadata(output),
|
|
2430
2379
|
...contents,
|
|
2431
2380
|
};
|
|
2432
|
-
return
|
|
2381
|
+
return response;
|
|
2433
2382
|
};
|
|
2434
2383
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
2435
2384
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -2453,10 +2402,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2453
2402
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2454
2403
|
default:
|
|
2455
2404
|
const parsedBody = parsedOutput.body;
|
|
2456
|
-
|
|
2405
|
+
return throwDefaultError({
|
|
2457
2406
|
output,
|
|
2458
2407
|
parsedBody,
|
|
2459
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2460
2408
|
errorCode,
|
|
2461
2409
|
});
|
|
2462
2410
|
}
|
|
@@ -2472,7 +2420,7 @@ const de_UpdateApiDestinationCommand = async (output, context) => {
|
|
|
2472
2420
|
$metadata: deserializeMetadata(output),
|
|
2473
2421
|
...contents,
|
|
2474
2422
|
};
|
|
2475
|
-
return
|
|
2423
|
+
return response;
|
|
2476
2424
|
};
|
|
2477
2425
|
exports.de_UpdateApiDestinationCommand = de_UpdateApiDestinationCommand;
|
|
2478
2426
|
const de_UpdateApiDestinationCommandError = async (output, context) => {
|
|
@@ -2496,10 +2444,9 @@ const de_UpdateApiDestinationCommandError = async (output, context) => {
|
|
|
2496
2444
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2497
2445
|
default:
|
|
2498
2446
|
const parsedBody = parsedOutput.body;
|
|
2499
|
-
|
|
2447
|
+
return throwDefaultError({
|
|
2500
2448
|
output,
|
|
2501
2449
|
parsedBody,
|
|
2502
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2503
2450
|
errorCode,
|
|
2504
2451
|
});
|
|
2505
2452
|
}
|
|
@@ -2515,7 +2462,7 @@ const de_UpdateArchiveCommand = async (output, context) => {
|
|
|
2515
2462
|
$metadata: deserializeMetadata(output),
|
|
2516
2463
|
...contents,
|
|
2517
2464
|
};
|
|
2518
|
-
return
|
|
2465
|
+
return response;
|
|
2519
2466
|
};
|
|
2520
2467
|
exports.de_UpdateArchiveCommand = de_UpdateArchiveCommand;
|
|
2521
2468
|
const de_UpdateArchiveCommandError = async (output, context) => {
|
|
@@ -2542,10 +2489,9 @@ const de_UpdateArchiveCommandError = async (output, context) => {
|
|
|
2542
2489
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2543
2490
|
default:
|
|
2544
2491
|
const parsedBody = parsedOutput.body;
|
|
2545
|
-
|
|
2492
|
+
return throwDefaultError({
|
|
2546
2493
|
output,
|
|
2547
2494
|
parsedBody,
|
|
2548
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2549
2495
|
errorCode,
|
|
2550
2496
|
});
|
|
2551
2497
|
}
|
|
@@ -2561,7 +2507,7 @@ const de_UpdateConnectionCommand = async (output, context) => {
|
|
|
2561
2507
|
$metadata: deserializeMetadata(output),
|
|
2562
2508
|
...contents,
|
|
2563
2509
|
};
|
|
2564
|
-
return
|
|
2510
|
+
return response;
|
|
2565
2511
|
};
|
|
2566
2512
|
exports.de_UpdateConnectionCommand = de_UpdateConnectionCommand;
|
|
2567
2513
|
const de_UpdateConnectionCommandError = async (output, context) => {
|
|
@@ -2585,10 +2531,9 @@ const de_UpdateConnectionCommandError = async (output, context) => {
|
|
|
2585
2531
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2586
2532
|
default:
|
|
2587
2533
|
const parsedBody = parsedOutput.body;
|
|
2588
|
-
|
|
2534
|
+
return throwDefaultError({
|
|
2589
2535
|
output,
|
|
2590
2536
|
parsedBody,
|
|
2591
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2592
2537
|
errorCode,
|
|
2593
2538
|
});
|
|
2594
2539
|
}
|
|
@@ -2599,12 +2544,12 @@ const de_UpdateEndpointCommand = async (output, context) => {
|
|
|
2599
2544
|
}
|
|
2600
2545
|
const data = await parseBody(output.body, context);
|
|
2601
2546
|
let contents = {};
|
|
2602
|
-
contents =
|
|
2547
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2603
2548
|
const response = {
|
|
2604
2549
|
$metadata: deserializeMetadata(output),
|
|
2605
2550
|
...contents,
|
|
2606
2551
|
};
|
|
2607
|
-
return
|
|
2552
|
+
return response;
|
|
2608
2553
|
};
|
|
2609
2554
|
exports.de_UpdateEndpointCommand = de_UpdateEndpointCommand;
|
|
2610
2555
|
const de_UpdateEndpointCommandError = async (output, context) => {
|
|
@@ -2625,17 +2570,16 @@ const de_UpdateEndpointCommandError = async (output, context) => {
|
|
|
2625
2570
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2626
2571
|
default:
|
|
2627
2572
|
const parsedBody = parsedOutput.body;
|
|
2628
|
-
|
|
2573
|
+
return throwDefaultError({
|
|
2629
2574
|
output,
|
|
2630
2575
|
parsedBody,
|
|
2631
|
-
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2632
2576
|
errorCode,
|
|
2633
2577
|
});
|
|
2634
2578
|
}
|
|
2635
2579
|
};
|
|
2636
2580
|
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
2637
2581
|
const body = parsedOutput.body;
|
|
2638
|
-
const deserialized =
|
|
2582
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2639
2583
|
const exception = new models_0_1.ConcurrentModificationException({
|
|
2640
2584
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2641
2585
|
...deserialized,
|
|
@@ -2644,7 +2588,7 @@ const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
|
2644
2588
|
};
|
|
2645
2589
|
const de_IllegalStatusExceptionRes = async (parsedOutput, context) => {
|
|
2646
2590
|
const body = parsedOutput.body;
|
|
2647
|
-
const deserialized =
|
|
2591
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2648
2592
|
const exception = new models_0_1.IllegalStatusException({
|
|
2649
2593
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2650
2594
|
...deserialized,
|
|
@@ -2653,7 +2597,7 @@ const de_IllegalStatusExceptionRes = async (parsedOutput, context) => {
|
|
|
2653
2597
|
};
|
|
2654
2598
|
const de_InternalExceptionRes = async (parsedOutput, context) => {
|
|
2655
2599
|
const body = parsedOutput.body;
|
|
2656
|
-
const deserialized =
|
|
2600
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2657
2601
|
const exception = new models_0_1.InternalException({
|
|
2658
2602
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2659
2603
|
...deserialized,
|
|
@@ -2662,7 +2606,7 @@ const de_InternalExceptionRes = async (parsedOutput, context) => {
|
|
|
2662
2606
|
};
|
|
2663
2607
|
const de_InvalidEventPatternExceptionRes = async (parsedOutput, context) => {
|
|
2664
2608
|
const body = parsedOutput.body;
|
|
2665
|
-
const deserialized =
|
|
2609
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2666
2610
|
const exception = new models_0_1.InvalidEventPatternException({
|
|
2667
2611
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2668
2612
|
...deserialized,
|
|
@@ -2671,7 +2615,7 @@ const de_InvalidEventPatternExceptionRes = async (parsedOutput, context) => {
|
|
|
2671
2615
|
};
|
|
2672
2616
|
const de_InvalidStateExceptionRes = async (parsedOutput, context) => {
|
|
2673
2617
|
const body = parsedOutput.body;
|
|
2674
|
-
const deserialized =
|
|
2618
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2675
2619
|
const exception = new models_0_1.InvalidStateException({
|
|
2676
2620
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2677
2621
|
...deserialized,
|
|
@@ -2680,7 +2624,7 @@ const de_InvalidStateExceptionRes = async (parsedOutput, context) => {
|
|
|
2680
2624
|
};
|
|
2681
2625
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2682
2626
|
const body = parsedOutput.body;
|
|
2683
|
-
const deserialized =
|
|
2627
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2684
2628
|
const exception = new models_0_1.LimitExceededException({
|
|
2685
2629
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2686
2630
|
...deserialized,
|
|
@@ -2689,7 +2633,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2689
2633
|
};
|
|
2690
2634
|
const de_ManagedRuleExceptionRes = async (parsedOutput, context) => {
|
|
2691
2635
|
const body = parsedOutput.body;
|
|
2692
|
-
const deserialized =
|
|
2636
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2693
2637
|
const exception = new models_0_1.ManagedRuleException({
|
|
2694
2638
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2695
2639
|
...deserialized,
|
|
@@ -2698,7 +2642,7 @@ const de_ManagedRuleExceptionRes = async (parsedOutput, context) => {
|
|
|
2698
2642
|
};
|
|
2699
2643
|
const de_OperationDisabledExceptionRes = async (parsedOutput, context) => {
|
|
2700
2644
|
const body = parsedOutput.body;
|
|
2701
|
-
const deserialized =
|
|
2645
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2702
2646
|
const exception = new models_0_1.OperationDisabledException({
|
|
2703
2647
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2704
2648
|
...deserialized,
|
|
@@ -2707,7 +2651,7 @@ const de_OperationDisabledExceptionRes = async (parsedOutput, context) => {
|
|
|
2707
2651
|
};
|
|
2708
2652
|
const de_PolicyLengthExceededExceptionRes = async (parsedOutput, context) => {
|
|
2709
2653
|
const body = parsedOutput.body;
|
|
2710
|
-
const deserialized =
|
|
2654
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2711
2655
|
const exception = new models_0_1.PolicyLengthExceededException({
|
|
2712
2656
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2713
2657
|
...deserialized,
|
|
@@ -2716,7 +2660,7 @@ const de_PolicyLengthExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2716
2660
|
};
|
|
2717
2661
|
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2718
2662
|
const body = parsedOutput.body;
|
|
2719
|
-
const deserialized =
|
|
2663
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2720
2664
|
const exception = new models_0_1.ResourceAlreadyExistsException({
|
|
2721
2665
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2722
2666
|
...deserialized,
|
|
@@ -2725,2259 +2669,412 @@ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
2725
2669
|
};
|
|
2726
2670
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2727
2671
|
const body = parsedOutput.body;
|
|
2728
|
-
const deserialized =
|
|
2672
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2729
2673
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
2730
2674
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2731
2675
|
...deserialized,
|
|
2732
2676
|
});
|
|
2733
2677
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2734
2678
|
};
|
|
2735
|
-
const
|
|
2736
|
-
return {
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
};
|
|
2740
|
-
const se_AwsVpcConfiguration = (input, context) => {
|
|
2741
|
-
return {
|
|
2742
|
-
...(input.AssignPublicIp != null && { AssignPublicIp: input.AssignPublicIp }),
|
|
2743
|
-
...(input.SecurityGroups != null && { SecurityGroups: se_StringList(input.SecurityGroups, context) }),
|
|
2744
|
-
...(input.Subnets != null && { Subnets: se_StringList(input.Subnets, context) }),
|
|
2745
|
-
};
|
|
2746
|
-
};
|
|
2747
|
-
const se_BatchArrayProperties = (input, context) => {
|
|
2748
|
-
return {
|
|
2749
|
-
...(input.Size != null && { Size: input.Size }),
|
|
2750
|
-
};
|
|
2751
|
-
};
|
|
2752
|
-
const se_BatchParameters = (input, context) => {
|
|
2753
|
-
return {
|
|
2754
|
-
...(input.ArrayProperties != null && { ArrayProperties: se_BatchArrayProperties(input.ArrayProperties, context) }),
|
|
2755
|
-
...(input.JobDefinition != null && { JobDefinition: input.JobDefinition }),
|
|
2756
|
-
...(input.JobName != null && { JobName: input.JobName }),
|
|
2757
|
-
...(input.RetryStrategy != null && { RetryStrategy: se_BatchRetryStrategy(input.RetryStrategy, context) }),
|
|
2758
|
-
};
|
|
2759
|
-
};
|
|
2760
|
-
const se_BatchRetryStrategy = (input, context) => {
|
|
2761
|
-
return {
|
|
2762
|
-
...(input.Attempts != null && { Attempts: input.Attempts }),
|
|
2763
|
-
};
|
|
2764
|
-
};
|
|
2765
|
-
const se_CancelReplayRequest = (input, context) => {
|
|
2766
|
-
return {
|
|
2767
|
-
...(input.ReplayName != null && { ReplayName: input.ReplayName }),
|
|
2768
|
-
};
|
|
2769
|
-
};
|
|
2770
|
-
const se_CapacityProviderStrategy = (input, context) => {
|
|
2771
|
-
return input
|
|
2772
|
-
.filter((e) => e != null)
|
|
2773
|
-
.map((entry) => {
|
|
2774
|
-
return se_CapacityProviderStrategyItem(entry, context);
|
|
2775
|
-
});
|
|
2776
|
-
};
|
|
2777
|
-
const se_CapacityProviderStrategyItem = (input, context) => {
|
|
2778
|
-
return {
|
|
2779
|
-
...(input.base != null && { base: input.base }),
|
|
2780
|
-
...(input.capacityProvider != null && { capacityProvider: input.capacityProvider }),
|
|
2781
|
-
...(input.weight != null && { weight: input.weight }),
|
|
2782
|
-
};
|
|
2783
|
-
};
|
|
2784
|
-
const se_Condition = (input, context) => {
|
|
2785
|
-
return {
|
|
2786
|
-
...(input.Key != null && { Key: input.Key }),
|
|
2787
|
-
...(input.Type != null && { Type: input.Type }),
|
|
2788
|
-
...(input.Value != null && { Value: input.Value }),
|
|
2789
|
-
};
|
|
2790
|
-
};
|
|
2791
|
-
const se_ConnectionBodyParameter = (input, context) => {
|
|
2792
|
-
return {
|
|
2793
|
-
...(input.IsValueSecret != null && { IsValueSecret: input.IsValueSecret }),
|
|
2794
|
-
...(input.Key != null && { Key: input.Key }),
|
|
2795
|
-
...(input.Value != null && { Value: input.Value }),
|
|
2796
|
-
};
|
|
2797
|
-
};
|
|
2798
|
-
const se_ConnectionBodyParametersList = (input, context) => {
|
|
2799
|
-
return input
|
|
2800
|
-
.filter((e) => e != null)
|
|
2801
|
-
.map((entry) => {
|
|
2802
|
-
return se_ConnectionBodyParameter(entry, context);
|
|
2803
|
-
});
|
|
2804
|
-
};
|
|
2805
|
-
const se_ConnectionHeaderParameter = (input, context) => {
|
|
2806
|
-
return {
|
|
2807
|
-
...(input.IsValueSecret != null && { IsValueSecret: input.IsValueSecret }),
|
|
2808
|
-
...(input.Key != null && { Key: input.Key }),
|
|
2809
|
-
...(input.Value != null && { Value: input.Value }),
|
|
2810
|
-
};
|
|
2811
|
-
};
|
|
2812
|
-
const se_ConnectionHeaderParametersList = (input, context) => {
|
|
2813
|
-
return input
|
|
2814
|
-
.filter((e) => e != null)
|
|
2815
|
-
.map((entry) => {
|
|
2816
|
-
return se_ConnectionHeaderParameter(entry, context);
|
|
2817
|
-
});
|
|
2818
|
-
};
|
|
2819
|
-
const se_ConnectionHttpParameters = (input, context) => {
|
|
2820
|
-
return {
|
|
2821
|
-
...(input.BodyParameters != null && {
|
|
2822
|
-
BodyParameters: se_ConnectionBodyParametersList(input.BodyParameters, context),
|
|
2823
|
-
}),
|
|
2824
|
-
...(input.HeaderParameters != null && {
|
|
2825
|
-
HeaderParameters: se_ConnectionHeaderParametersList(input.HeaderParameters, context),
|
|
2826
|
-
}),
|
|
2827
|
-
...(input.QueryStringParameters != null && {
|
|
2828
|
-
QueryStringParameters: se_ConnectionQueryStringParametersList(input.QueryStringParameters, context),
|
|
2829
|
-
}),
|
|
2830
|
-
};
|
|
2831
|
-
};
|
|
2832
|
-
const se_ConnectionQueryStringParameter = (input, context) => {
|
|
2833
|
-
return {
|
|
2834
|
-
...(input.IsValueSecret != null && { IsValueSecret: input.IsValueSecret }),
|
|
2835
|
-
...(input.Key != null && { Key: input.Key }),
|
|
2836
|
-
...(input.Value != null && { Value: input.Value }),
|
|
2837
|
-
};
|
|
2838
|
-
};
|
|
2839
|
-
const se_ConnectionQueryStringParametersList = (input, context) => {
|
|
2840
|
-
return input
|
|
2841
|
-
.filter((e) => e != null)
|
|
2842
|
-
.map((entry) => {
|
|
2843
|
-
return se_ConnectionQueryStringParameter(entry, context);
|
|
2844
|
-
});
|
|
2845
|
-
};
|
|
2846
|
-
const se_CreateApiDestinationRequest = (input, context) => {
|
|
2847
|
-
return {
|
|
2848
|
-
...(input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn }),
|
|
2849
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2850
|
-
...(input.HttpMethod != null && { HttpMethod: input.HttpMethod }),
|
|
2851
|
-
...(input.InvocationEndpoint != null && { InvocationEndpoint: input.InvocationEndpoint }),
|
|
2852
|
-
...(input.InvocationRateLimitPerSecond != null && {
|
|
2853
|
-
InvocationRateLimitPerSecond: input.InvocationRateLimitPerSecond,
|
|
2854
|
-
}),
|
|
2855
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2856
|
-
};
|
|
2857
|
-
};
|
|
2858
|
-
const se_CreateArchiveRequest = (input, context) => {
|
|
2859
|
-
return {
|
|
2860
|
-
...(input.ArchiveName != null && { ArchiveName: input.ArchiveName }),
|
|
2861
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2862
|
-
...(input.EventPattern != null && { EventPattern: input.EventPattern }),
|
|
2863
|
-
...(input.EventSourceArn != null && { EventSourceArn: input.EventSourceArn }),
|
|
2864
|
-
...(input.RetentionDays != null && { RetentionDays: input.RetentionDays }),
|
|
2865
|
-
};
|
|
2866
|
-
};
|
|
2867
|
-
const se_CreateConnectionApiKeyAuthRequestParameters = (input, context) => {
|
|
2868
|
-
return {
|
|
2869
|
-
...(input.ApiKeyName != null && { ApiKeyName: input.ApiKeyName }),
|
|
2870
|
-
...(input.ApiKeyValue != null && { ApiKeyValue: input.ApiKeyValue }),
|
|
2871
|
-
};
|
|
2872
|
-
};
|
|
2873
|
-
const se_CreateConnectionAuthRequestParameters = (input, context) => {
|
|
2874
|
-
return {
|
|
2875
|
-
...(input.ApiKeyAuthParameters != null && {
|
|
2876
|
-
ApiKeyAuthParameters: se_CreateConnectionApiKeyAuthRequestParameters(input.ApiKeyAuthParameters, context),
|
|
2877
|
-
}),
|
|
2878
|
-
...(input.BasicAuthParameters != null && {
|
|
2879
|
-
BasicAuthParameters: se_CreateConnectionBasicAuthRequestParameters(input.BasicAuthParameters, context),
|
|
2880
|
-
}),
|
|
2881
|
-
...(input.InvocationHttpParameters != null && {
|
|
2882
|
-
InvocationHttpParameters: se_ConnectionHttpParameters(input.InvocationHttpParameters, context),
|
|
2883
|
-
}),
|
|
2884
|
-
...(input.OAuthParameters != null && {
|
|
2885
|
-
OAuthParameters: se_CreateConnectionOAuthRequestParameters(input.OAuthParameters, context),
|
|
2886
|
-
}),
|
|
2887
|
-
};
|
|
2888
|
-
};
|
|
2889
|
-
const se_CreateConnectionBasicAuthRequestParameters = (input, context) => {
|
|
2890
|
-
return {
|
|
2891
|
-
...(input.Password != null && { Password: input.Password }),
|
|
2892
|
-
...(input.Username != null && { Username: input.Username }),
|
|
2893
|
-
};
|
|
2894
|
-
};
|
|
2895
|
-
const se_CreateConnectionOAuthClientRequestParameters = (input, context) => {
|
|
2896
|
-
return {
|
|
2897
|
-
...(input.ClientID != null && { ClientID: input.ClientID }),
|
|
2898
|
-
...(input.ClientSecret != null && { ClientSecret: input.ClientSecret }),
|
|
2899
|
-
};
|
|
2900
|
-
};
|
|
2901
|
-
const se_CreateConnectionOAuthRequestParameters = (input, context) => {
|
|
2902
|
-
return {
|
|
2903
|
-
...(input.AuthorizationEndpoint != null && { AuthorizationEndpoint: input.AuthorizationEndpoint }),
|
|
2904
|
-
...(input.ClientParameters != null && {
|
|
2905
|
-
ClientParameters: se_CreateConnectionOAuthClientRequestParameters(input.ClientParameters, context),
|
|
2906
|
-
}),
|
|
2907
|
-
...(input.HttpMethod != null && { HttpMethod: input.HttpMethod }),
|
|
2908
|
-
...(input.OAuthHttpParameters != null && {
|
|
2909
|
-
OAuthHttpParameters: se_ConnectionHttpParameters(input.OAuthHttpParameters, context),
|
|
2910
|
-
}),
|
|
2911
|
-
};
|
|
2912
|
-
};
|
|
2913
|
-
const se_CreateConnectionRequest = (input, context) => {
|
|
2914
|
-
return {
|
|
2915
|
-
...(input.AuthParameters != null && {
|
|
2916
|
-
AuthParameters: se_CreateConnectionAuthRequestParameters(input.AuthParameters, context),
|
|
2917
|
-
}),
|
|
2918
|
-
...(input.AuthorizationType != null && { AuthorizationType: input.AuthorizationType }),
|
|
2919
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2920
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2921
|
-
};
|
|
2922
|
-
};
|
|
2923
|
-
const se_CreateEndpointRequest = (input, context) => {
|
|
2924
|
-
return {
|
|
2925
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2926
|
-
...(input.EventBuses != null && { EventBuses: se_EndpointEventBusList(input.EventBuses, context) }),
|
|
2927
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2928
|
-
...(input.ReplicationConfig != null && {
|
|
2929
|
-
ReplicationConfig: se_ReplicationConfig(input.ReplicationConfig, context),
|
|
2930
|
-
}),
|
|
2931
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
2932
|
-
...(input.RoutingConfig != null && { RoutingConfig: se_RoutingConfig(input.RoutingConfig, context) }),
|
|
2933
|
-
};
|
|
2934
|
-
};
|
|
2935
|
-
const se_CreateEventBusRequest = (input, context) => {
|
|
2936
|
-
return {
|
|
2937
|
-
...(input.EventSourceName != null && { EventSourceName: input.EventSourceName }),
|
|
2938
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2939
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2940
|
-
};
|
|
2941
|
-
};
|
|
2942
|
-
const se_CreatePartnerEventSourceRequest = (input, context) => {
|
|
2943
|
-
return {
|
|
2944
|
-
...(input.Account != null && { Account: input.Account }),
|
|
2945
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2946
|
-
};
|
|
2947
|
-
};
|
|
2948
|
-
const se_DeactivateEventSourceRequest = (input, context) => {
|
|
2949
|
-
return {
|
|
2950
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2951
|
-
};
|
|
2952
|
-
};
|
|
2953
|
-
const se_DeadLetterConfig = (input, context) => {
|
|
2954
|
-
return {
|
|
2955
|
-
...(input.Arn != null && { Arn: input.Arn }),
|
|
2956
|
-
};
|
|
2957
|
-
};
|
|
2958
|
-
const se_DeauthorizeConnectionRequest = (input, context) => {
|
|
2959
|
-
return {
|
|
2960
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2961
|
-
};
|
|
2962
|
-
};
|
|
2963
|
-
const se_DeleteApiDestinationRequest = (input, context) => {
|
|
2964
|
-
return {
|
|
2965
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2966
|
-
};
|
|
2967
|
-
};
|
|
2968
|
-
const se_DeleteArchiveRequest = (input, context) => {
|
|
2969
|
-
return {
|
|
2970
|
-
...(input.ArchiveName != null && { ArchiveName: input.ArchiveName }),
|
|
2971
|
-
};
|
|
2972
|
-
};
|
|
2973
|
-
const se_DeleteConnectionRequest = (input, context) => {
|
|
2974
|
-
return {
|
|
2975
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2976
|
-
};
|
|
2977
|
-
};
|
|
2978
|
-
const se_DeleteEndpointRequest = (input, context) => {
|
|
2979
|
-
return {
|
|
2980
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2981
|
-
};
|
|
2982
|
-
};
|
|
2983
|
-
const se_DeleteEventBusRequest = (input, context) => {
|
|
2984
|
-
return {
|
|
2985
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2986
|
-
};
|
|
2987
|
-
};
|
|
2988
|
-
const se_DeletePartnerEventSourceRequest = (input, context) => {
|
|
2989
|
-
return {
|
|
2990
|
-
...(input.Account != null && { Account: input.Account }),
|
|
2991
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2992
|
-
};
|
|
2993
|
-
};
|
|
2994
|
-
const se_DeleteRuleRequest = (input, context) => {
|
|
2995
|
-
return {
|
|
2996
|
-
...(input.EventBusName != null && { EventBusName: input.EventBusName }),
|
|
2997
|
-
...(input.Force != null && { Force: input.Force }),
|
|
2998
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2999
|
-
};
|
|
3000
|
-
};
|
|
3001
|
-
const se_DescribeApiDestinationRequest = (input, context) => {
|
|
3002
|
-
return {
|
|
3003
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3004
|
-
};
|
|
3005
|
-
};
|
|
3006
|
-
const se_DescribeArchiveRequest = (input, context) => {
|
|
3007
|
-
return {
|
|
3008
|
-
...(input.ArchiveName != null && { ArchiveName: input.ArchiveName }),
|
|
3009
|
-
};
|
|
3010
|
-
};
|
|
3011
|
-
const se_DescribeConnectionRequest = (input, context) => {
|
|
3012
|
-
return {
|
|
3013
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3014
|
-
};
|
|
3015
|
-
};
|
|
3016
|
-
const se_DescribeEndpointRequest = (input, context) => {
|
|
3017
|
-
return {
|
|
3018
|
-
...(input.HomeRegion != null && { HomeRegion: input.HomeRegion }),
|
|
3019
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3020
|
-
};
|
|
3021
|
-
};
|
|
3022
|
-
const se_DescribeEventBusRequest = (input, context) => {
|
|
3023
|
-
return {
|
|
3024
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3025
|
-
};
|
|
3026
|
-
};
|
|
3027
|
-
const se_DescribeEventSourceRequest = (input, context) => {
|
|
3028
|
-
return {
|
|
3029
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3030
|
-
};
|
|
3031
|
-
};
|
|
3032
|
-
const se_DescribePartnerEventSourceRequest = (input, context) => {
|
|
3033
|
-
return {
|
|
3034
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3035
|
-
};
|
|
3036
|
-
};
|
|
3037
|
-
const se_DescribeReplayRequest = (input, context) => {
|
|
3038
|
-
return {
|
|
3039
|
-
...(input.ReplayName != null && { ReplayName: input.ReplayName }),
|
|
3040
|
-
};
|
|
3041
|
-
};
|
|
3042
|
-
const se_DescribeRuleRequest = (input, context) => {
|
|
3043
|
-
return {
|
|
3044
|
-
...(input.EventBusName != null && { EventBusName: input.EventBusName }),
|
|
3045
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3046
|
-
};
|
|
3047
|
-
};
|
|
3048
|
-
const se_DisableRuleRequest = (input, context) => {
|
|
3049
|
-
return {
|
|
3050
|
-
...(input.EventBusName != null && { EventBusName: input.EventBusName }),
|
|
3051
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3052
|
-
};
|
|
3053
|
-
};
|
|
3054
|
-
const se_EcsParameters = (input, context) => {
|
|
3055
|
-
return {
|
|
3056
|
-
...(input.CapacityProviderStrategy != null && {
|
|
3057
|
-
CapacityProviderStrategy: se_CapacityProviderStrategy(input.CapacityProviderStrategy, context),
|
|
3058
|
-
}),
|
|
3059
|
-
...(input.EnableECSManagedTags != null && { EnableECSManagedTags: input.EnableECSManagedTags }),
|
|
3060
|
-
...(input.EnableExecuteCommand != null && { EnableExecuteCommand: input.EnableExecuteCommand }),
|
|
3061
|
-
...(input.Group != null && { Group: input.Group }),
|
|
3062
|
-
...(input.LaunchType != null && { LaunchType: input.LaunchType }),
|
|
3063
|
-
...(input.NetworkConfiguration != null && {
|
|
3064
|
-
NetworkConfiguration: se_NetworkConfiguration(input.NetworkConfiguration, context),
|
|
3065
|
-
}),
|
|
3066
|
-
...(input.PlacementConstraints != null && {
|
|
3067
|
-
PlacementConstraints: se_PlacementConstraints(input.PlacementConstraints, context),
|
|
3068
|
-
}),
|
|
3069
|
-
...(input.PlacementStrategy != null && {
|
|
3070
|
-
PlacementStrategy: se_PlacementStrategies(input.PlacementStrategy, context),
|
|
3071
|
-
}),
|
|
3072
|
-
...(input.PlatformVersion != null && { PlatformVersion: input.PlatformVersion }),
|
|
3073
|
-
...(input.PropagateTags != null && { PropagateTags: input.PropagateTags }),
|
|
3074
|
-
...(input.ReferenceId != null && { ReferenceId: input.ReferenceId }),
|
|
3075
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3076
|
-
...(input.TaskCount != null && { TaskCount: input.TaskCount }),
|
|
3077
|
-
...(input.TaskDefinitionArn != null && { TaskDefinitionArn: input.TaskDefinitionArn }),
|
|
3078
|
-
};
|
|
3079
|
-
};
|
|
3080
|
-
const se_EnableRuleRequest = (input, context) => {
|
|
3081
|
-
return {
|
|
3082
|
-
...(input.EventBusName != null && { EventBusName: input.EventBusName }),
|
|
3083
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3084
|
-
};
|
|
3085
|
-
};
|
|
3086
|
-
const se_EndpointEventBus = (input, context) => {
|
|
3087
|
-
return {
|
|
3088
|
-
...(input.EventBusArn != null && { EventBusArn: input.EventBusArn }),
|
|
3089
|
-
};
|
|
3090
|
-
};
|
|
3091
|
-
const se_EndpointEventBusList = (input, context) => {
|
|
3092
|
-
return input
|
|
3093
|
-
.filter((e) => e != null)
|
|
3094
|
-
.map((entry) => {
|
|
3095
|
-
return se_EndpointEventBus(entry, context);
|
|
3096
|
-
});
|
|
3097
|
-
};
|
|
3098
|
-
const se_EventResourceList = (input, context) => {
|
|
3099
|
-
return input
|
|
3100
|
-
.filter((e) => e != null)
|
|
3101
|
-
.map((entry) => {
|
|
3102
|
-
return entry;
|
|
3103
|
-
});
|
|
3104
|
-
};
|
|
3105
|
-
const se_FailoverConfig = (input, context) => {
|
|
3106
|
-
return {
|
|
3107
|
-
...(input.Primary != null && { Primary: se_Primary(input.Primary, context) }),
|
|
3108
|
-
...(input.Secondary != null && { Secondary: se_Secondary(input.Secondary, context) }),
|
|
3109
|
-
};
|
|
3110
|
-
};
|
|
3111
|
-
const se_HeaderParametersMap = (input, context) => {
|
|
3112
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3113
|
-
if (value === null) {
|
|
3114
|
-
return acc;
|
|
3115
|
-
}
|
|
3116
|
-
acc[key] = value;
|
|
3117
|
-
return acc;
|
|
3118
|
-
}, {});
|
|
3119
|
-
};
|
|
3120
|
-
const se_HttpParameters = (input, context) => {
|
|
3121
|
-
return {
|
|
3122
|
-
...(input.HeaderParameters != null && {
|
|
3123
|
-
HeaderParameters: se_HeaderParametersMap(input.HeaderParameters, context),
|
|
3124
|
-
}),
|
|
3125
|
-
...(input.PathParameterValues != null && {
|
|
3126
|
-
PathParameterValues: se_PathParameterList(input.PathParameterValues, context),
|
|
3127
|
-
}),
|
|
3128
|
-
...(input.QueryStringParameters != null && {
|
|
3129
|
-
QueryStringParameters: se_QueryStringParametersMap(input.QueryStringParameters, context),
|
|
3130
|
-
}),
|
|
3131
|
-
};
|
|
3132
|
-
};
|
|
3133
|
-
const se_InputTransformer = (input, context) => {
|
|
3134
|
-
return {
|
|
3135
|
-
...(input.InputPathsMap != null && { InputPathsMap: se_TransformerPaths(input.InputPathsMap, context) }),
|
|
3136
|
-
...(input.InputTemplate != null && { InputTemplate: input.InputTemplate }),
|
|
3137
|
-
};
|
|
3138
|
-
};
|
|
3139
|
-
const se_KinesisParameters = (input, context) => {
|
|
3140
|
-
return {
|
|
3141
|
-
...(input.PartitionKeyPath != null && { PartitionKeyPath: input.PartitionKeyPath }),
|
|
3142
|
-
};
|
|
3143
|
-
};
|
|
3144
|
-
const se_ListApiDestinationsRequest = (input, context) => {
|
|
3145
|
-
return {
|
|
3146
|
-
...(input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn }),
|
|
3147
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
3148
|
-
...(input.NamePrefix != null && { NamePrefix: input.NamePrefix }),
|
|
3149
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3150
|
-
};
|
|
3151
|
-
};
|
|
3152
|
-
const se_ListArchivesRequest = (input, context) => {
|
|
3153
|
-
return {
|
|
3154
|
-
...(input.EventSourceArn != null && { EventSourceArn: input.EventSourceArn }),
|
|
3155
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
3156
|
-
...(input.NamePrefix != null && { NamePrefix: input.NamePrefix }),
|
|
3157
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3158
|
-
...(input.State != null && { State: input.State }),
|
|
3159
|
-
};
|
|
3160
|
-
};
|
|
3161
|
-
const se_ListConnectionsRequest = (input, context) => {
|
|
3162
|
-
return {
|
|
3163
|
-
...(input.ConnectionState != null && { ConnectionState: input.ConnectionState }),
|
|
3164
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
3165
|
-
...(input.NamePrefix != null && { NamePrefix: input.NamePrefix }),
|
|
3166
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3167
|
-
};
|
|
3168
|
-
};
|
|
3169
|
-
const se_ListEndpointsRequest = (input, context) => {
|
|
3170
|
-
return {
|
|
3171
|
-
...(input.HomeRegion != null && { HomeRegion: input.HomeRegion }),
|
|
3172
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3173
|
-
...(input.NamePrefix != null && { NamePrefix: input.NamePrefix }),
|
|
3174
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3175
|
-
};
|
|
3176
|
-
};
|
|
3177
|
-
const se_ListEventBusesRequest = (input, context) => {
|
|
3178
|
-
return {
|
|
3179
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
3180
|
-
...(input.NamePrefix != null && { NamePrefix: input.NamePrefix }),
|
|
3181
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3182
|
-
};
|
|
3183
|
-
};
|
|
3184
|
-
const se_ListEventSourcesRequest = (input, context) => {
|
|
3185
|
-
return {
|
|
3186
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
3187
|
-
...(input.NamePrefix != null && { NamePrefix: input.NamePrefix }),
|
|
3188
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3189
|
-
};
|
|
3190
|
-
};
|
|
3191
|
-
const se_ListPartnerEventSourceAccountsRequest = (input, context) => {
|
|
3192
|
-
return {
|
|
3193
|
-
...(input.EventSourceName != null && { EventSourceName: input.EventSourceName }),
|
|
3194
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
3195
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3196
|
-
};
|
|
3197
|
-
};
|
|
3198
|
-
const se_ListPartnerEventSourcesRequest = (input, context) => {
|
|
3199
|
-
return {
|
|
3200
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
3201
|
-
...(input.NamePrefix != null && { NamePrefix: input.NamePrefix }),
|
|
3202
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3203
|
-
};
|
|
3204
|
-
};
|
|
3205
|
-
const se_ListReplaysRequest = (input, context) => {
|
|
3206
|
-
return {
|
|
3207
|
-
...(input.EventSourceArn != null && { EventSourceArn: input.EventSourceArn }),
|
|
3208
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
3209
|
-
...(input.NamePrefix != null && { NamePrefix: input.NamePrefix }),
|
|
3210
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3211
|
-
...(input.State != null && { State: input.State }),
|
|
3212
|
-
};
|
|
3213
|
-
};
|
|
3214
|
-
const se_ListRuleNamesByTargetRequest = (input, context) => {
|
|
3215
|
-
return {
|
|
3216
|
-
...(input.EventBusName != null && { EventBusName: input.EventBusName }),
|
|
3217
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
3218
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3219
|
-
...(input.TargetArn != null && { TargetArn: input.TargetArn }),
|
|
3220
|
-
};
|
|
3221
|
-
};
|
|
3222
|
-
const se_ListRulesRequest = (input, context) => {
|
|
3223
|
-
return {
|
|
3224
|
-
...(input.EventBusName != null && { EventBusName: input.EventBusName }),
|
|
3225
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
3226
|
-
...(input.NamePrefix != null && { NamePrefix: input.NamePrefix }),
|
|
3227
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3228
|
-
};
|
|
3229
|
-
};
|
|
3230
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
3231
|
-
return {
|
|
3232
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
3233
|
-
};
|
|
3234
|
-
};
|
|
3235
|
-
const se_ListTargetsByRuleRequest = (input, context) => {
|
|
3236
|
-
return {
|
|
3237
|
-
...(input.EventBusName != null && { EventBusName: input.EventBusName }),
|
|
3238
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
3239
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3240
|
-
...(input.Rule != null && { Rule: input.Rule }),
|
|
3241
|
-
};
|
|
3242
|
-
};
|
|
3243
|
-
const se_NetworkConfiguration = (input, context) => {
|
|
3244
|
-
return {
|
|
3245
|
-
...(input.awsvpcConfiguration != null && {
|
|
3246
|
-
awsvpcConfiguration: se_AwsVpcConfiguration(input.awsvpcConfiguration, context),
|
|
3247
|
-
}),
|
|
3248
|
-
};
|
|
3249
|
-
};
|
|
3250
|
-
const se_PathParameterList = (input, context) => {
|
|
3251
|
-
return input
|
|
3252
|
-
.filter((e) => e != null)
|
|
3253
|
-
.map((entry) => {
|
|
3254
|
-
return entry;
|
|
3255
|
-
});
|
|
3256
|
-
};
|
|
3257
|
-
const se_PlacementConstraint = (input, context) => {
|
|
3258
|
-
return {
|
|
3259
|
-
...(input.expression != null && { expression: input.expression }),
|
|
3260
|
-
...(input.type != null && { type: input.type }),
|
|
3261
|
-
};
|
|
3262
|
-
};
|
|
3263
|
-
const se_PlacementConstraints = (input, context) => {
|
|
3264
|
-
return input
|
|
3265
|
-
.filter((e) => e != null)
|
|
3266
|
-
.map((entry) => {
|
|
3267
|
-
return se_PlacementConstraint(entry, context);
|
|
3268
|
-
});
|
|
3269
|
-
};
|
|
3270
|
-
const se_PlacementStrategies = (input, context) => {
|
|
3271
|
-
return input
|
|
3272
|
-
.filter((e) => e != null)
|
|
3273
|
-
.map((entry) => {
|
|
3274
|
-
return se_PlacementStrategy(entry, context);
|
|
3275
|
-
});
|
|
3276
|
-
};
|
|
3277
|
-
const se_PlacementStrategy = (input, context) => {
|
|
3278
|
-
return {
|
|
3279
|
-
...(input.field != null && { field: input.field }),
|
|
3280
|
-
...(input.type != null && { type: input.type }),
|
|
3281
|
-
};
|
|
3282
|
-
};
|
|
3283
|
-
const se_Primary = (input, context) => {
|
|
3284
|
-
return {
|
|
3285
|
-
...(input.HealthCheck != null && { HealthCheck: input.HealthCheck }),
|
|
3286
|
-
};
|
|
3287
|
-
};
|
|
3288
|
-
const se_PutEventsRequest = (input, context) => {
|
|
3289
|
-
return {
|
|
3290
|
-
...(input.EndpointId != null && { EndpointId: input.EndpointId }),
|
|
3291
|
-
...(input.Entries != null && { Entries: se_PutEventsRequestEntryList(input.Entries, context) }),
|
|
3292
|
-
};
|
|
3293
|
-
};
|
|
3294
|
-
const se_PutEventsRequestEntry = (input, context) => {
|
|
3295
|
-
return {
|
|
3296
|
-
...(input.Detail != null && { Detail: input.Detail }),
|
|
3297
|
-
...(input.DetailType != null && { DetailType: input.DetailType }),
|
|
3298
|
-
...(input.EventBusName != null && { EventBusName: input.EventBusName }),
|
|
3299
|
-
...(input.Resources != null && { Resources: se_EventResourceList(input.Resources, context) }),
|
|
3300
|
-
...(input.Source != null && { Source: input.Source }),
|
|
3301
|
-
...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000) }),
|
|
3302
|
-
...(input.TraceHeader != null && { TraceHeader: input.TraceHeader }),
|
|
3303
|
-
};
|
|
3304
|
-
};
|
|
3305
|
-
const se_PutEventsRequestEntryList = (input, context) => {
|
|
3306
|
-
return input
|
|
3307
|
-
.filter((e) => e != null)
|
|
3308
|
-
.map((entry) => {
|
|
3309
|
-
return se_PutEventsRequestEntry(entry, context);
|
|
3310
|
-
});
|
|
3311
|
-
};
|
|
3312
|
-
const se_PutPartnerEventsRequest = (input, context) => {
|
|
3313
|
-
return {
|
|
3314
|
-
...(input.Entries != null && { Entries: se_PutPartnerEventsRequestEntryList(input.Entries, context) }),
|
|
3315
|
-
};
|
|
3316
|
-
};
|
|
3317
|
-
const se_PutPartnerEventsRequestEntry = (input, context) => {
|
|
3318
|
-
return {
|
|
3319
|
-
...(input.Detail != null && { Detail: input.Detail }),
|
|
3320
|
-
...(input.DetailType != null && { DetailType: input.DetailType }),
|
|
3321
|
-
...(input.Resources != null && { Resources: se_EventResourceList(input.Resources, context) }),
|
|
3322
|
-
...(input.Source != null && { Source: input.Source }),
|
|
3323
|
-
...(input.Time != null && { Time: Math.round(input.Time.getTime() / 1000) }),
|
|
3324
|
-
};
|
|
3325
|
-
};
|
|
3326
|
-
const se_PutPartnerEventsRequestEntryList = (input, context) => {
|
|
3327
|
-
return input
|
|
3328
|
-
.filter((e) => e != null)
|
|
3329
|
-
.map((entry) => {
|
|
3330
|
-
return se_PutPartnerEventsRequestEntry(entry, context);
|
|
3331
|
-
});
|
|
3332
|
-
};
|
|
3333
|
-
const se_PutPermissionRequest = (input, context) => {
|
|
3334
|
-
return {
|
|
3335
|
-
...(input.Action != null && { Action: input.Action }),
|
|
3336
|
-
...(input.Condition != null && { Condition: se_Condition(input.Condition, context) }),
|
|
3337
|
-
...(input.EventBusName != null && { EventBusName: input.EventBusName }),
|
|
3338
|
-
...(input.Policy != null && { Policy: input.Policy }),
|
|
3339
|
-
...(input.Principal != null && { Principal: input.Principal }),
|
|
3340
|
-
...(input.StatementId != null && { StatementId: input.StatementId }),
|
|
3341
|
-
};
|
|
3342
|
-
};
|
|
3343
|
-
const se_PutRuleRequest = (input, context) => {
|
|
3344
|
-
return {
|
|
3345
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3346
|
-
...(input.EventBusName != null && { EventBusName: input.EventBusName }),
|
|
3347
|
-
...(input.EventPattern != null && { EventPattern: input.EventPattern }),
|
|
3348
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3349
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
3350
|
-
...(input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression }),
|
|
3351
|
-
...(input.State != null && { State: input.State }),
|
|
3352
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3353
|
-
};
|
|
3354
|
-
};
|
|
3355
|
-
const se_PutTargetsRequest = (input, context) => {
|
|
3356
|
-
return {
|
|
3357
|
-
...(input.EventBusName != null && { EventBusName: input.EventBusName }),
|
|
3358
|
-
...(input.Rule != null && { Rule: input.Rule }),
|
|
3359
|
-
...(input.Targets != null && { Targets: se_TargetList(input.Targets, context) }),
|
|
3360
|
-
};
|
|
3361
|
-
};
|
|
3362
|
-
const se_QueryStringParametersMap = (input, context) => {
|
|
3363
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3364
|
-
if (value === null) {
|
|
3365
|
-
return acc;
|
|
3366
|
-
}
|
|
3367
|
-
acc[key] = value;
|
|
3368
|
-
return acc;
|
|
3369
|
-
}, {});
|
|
3370
|
-
};
|
|
3371
|
-
const se_RedshiftDataParameters = (input, context) => {
|
|
3372
|
-
return {
|
|
3373
|
-
...(input.Database != null && { Database: input.Database }),
|
|
3374
|
-
...(input.DbUser != null && { DbUser: input.DbUser }),
|
|
3375
|
-
...(input.SecretManagerArn != null && { SecretManagerArn: input.SecretManagerArn }),
|
|
3376
|
-
...(input.Sql != null && { Sql: input.Sql }),
|
|
3377
|
-
...(input.Sqls != null && { Sqls: se_Sqls(input.Sqls, context) }),
|
|
3378
|
-
...(input.StatementName != null && { StatementName: input.StatementName }),
|
|
3379
|
-
...(input.WithEvent != null && { WithEvent: input.WithEvent }),
|
|
3380
|
-
};
|
|
3381
|
-
};
|
|
3382
|
-
const se_RemovePermissionRequest = (input, context) => {
|
|
3383
|
-
return {
|
|
3384
|
-
...(input.EventBusName != null && { EventBusName: input.EventBusName }),
|
|
3385
|
-
...(input.RemoveAllPermissions != null && { RemoveAllPermissions: input.RemoveAllPermissions }),
|
|
3386
|
-
...(input.StatementId != null && { StatementId: input.StatementId }),
|
|
3387
|
-
};
|
|
3388
|
-
};
|
|
3389
|
-
const se_RemoveTargetsRequest = (input, context) => {
|
|
3390
|
-
return {
|
|
3391
|
-
...(input.EventBusName != null && { EventBusName: input.EventBusName }),
|
|
3392
|
-
...(input.Force != null && { Force: input.Force }),
|
|
3393
|
-
...(input.Ids != null && { Ids: se_TargetIdList(input.Ids, context) }),
|
|
3394
|
-
...(input.Rule != null && { Rule: input.Rule }),
|
|
3395
|
-
};
|
|
3396
|
-
};
|
|
3397
|
-
const se_ReplayDestination = (input, context) => {
|
|
3398
|
-
return {
|
|
3399
|
-
...(input.Arn != null && { Arn: input.Arn }),
|
|
3400
|
-
...(input.FilterArns != null && { FilterArns: se_ReplayDestinationFilters(input.FilterArns, context) }),
|
|
3401
|
-
};
|
|
3402
|
-
};
|
|
3403
|
-
const se_ReplayDestinationFilters = (input, context) => {
|
|
3404
|
-
return input
|
|
3405
|
-
.filter((e) => e != null)
|
|
3406
|
-
.map((entry) => {
|
|
3407
|
-
return entry;
|
|
3408
|
-
});
|
|
3409
|
-
};
|
|
3410
|
-
const se_ReplicationConfig = (input, context) => {
|
|
3411
|
-
return {
|
|
3412
|
-
...(input.State != null && { State: input.State }),
|
|
3413
|
-
};
|
|
3414
|
-
};
|
|
3415
|
-
const se_RetryPolicy = (input, context) => {
|
|
3416
|
-
return {
|
|
3417
|
-
...(input.MaximumEventAgeInSeconds != null && { MaximumEventAgeInSeconds: input.MaximumEventAgeInSeconds }),
|
|
3418
|
-
...(input.MaximumRetryAttempts != null && { MaximumRetryAttempts: input.MaximumRetryAttempts }),
|
|
3419
|
-
};
|
|
3420
|
-
};
|
|
3421
|
-
const se_RoutingConfig = (input, context) => {
|
|
3422
|
-
return {
|
|
3423
|
-
...(input.FailoverConfig != null && { FailoverConfig: se_FailoverConfig(input.FailoverConfig, context) }),
|
|
3424
|
-
};
|
|
3425
|
-
};
|
|
3426
|
-
const se_RunCommandParameters = (input, context) => {
|
|
3427
|
-
return {
|
|
3428
|
-
...(input.RunCommandTargets != null && {
|
|
3429
|
-
RunCommandTargets: se_RunCommandTargets(input.RunCommandTargets, context),
|
|
3430
|
-
}),
|
|
3431
|
-
};
|
|
3432
|
-
};
|
|
3433
|
-
const se_RunCommandTarget = (input, context) => {
|
|
3434
|
-
return {
|
|
3435
|
-
...(input.Key != null && { Key: input.Key }),
|
|
3436
|
-
...(input.Values != null && { Values: se_RunCommandTargetValues(input.Values, context) }),
|
|
3437
|
-
};
|
|
3438
|
-
};
|
|
3439
|
-
const se_RunCommandTargets = (input, context) => {
|
|
3440
|
-
return input
|
|
3441
|
-
.filter((e) => e != null)
|
|
3442
|
-
.map((entry) => {
|
|
3443
|
-
return se_RunCommandTarget(entry, context);
|
|
3444
|
-
});
|
|
3445
|
-
};
|
|
3446
|
-
const se_RunCommandTargetValues = (input, context) => {
|
|
3447
|
-
return input
|
|
3448
|
-
.filter((e) => e != null)
|
|
3449
|
-
.map((entry) => {
|
|
3450
|
-
return entry;
|
|
3451
|
-
});
|
|
3452
|
-
};
|
|
3453
|
-
const se_SageMakerPipelineParameter = (input, context) => {
|
|
3454
|
-
return {
|
|
3455
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3456
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3457
|
-
};
|
|
3458
|
-
};
|
|
3459
|
-
const se_SageMakerPipelineParameterList = (input, context) => {
|
|
3460
|
-
return input
|
|
3461
|
-
.filter((e) => e != null)
|
|
3462
|
-
.map((entry) => {
|
|
3463
|
-
return se_SageMakerPipelineParameter(entry, context);
|
|
3464
|
-
});
|
|
3465
|
-
};
|
|
3466
|
-
const se_SageMakerPipelineParameters = (input, context) => {
|
|
3467
|
-
return {
|
|
3468
|
-
...(input.PipelineParameterList != null && {
|
|
3469
|
-
PipelineParameterList: se_SageMakerPipelineParameterList(input.PipelineParameterList, context),
|
|
3470
|
-
}),
|
|
3471
|
-
};
|
|
3472
|
-
};
|
|
3473
|
-
const se_Secondary = (input, context) => {
|
|
3474
|
-
return {
|
|
3475
|
-
...(input.Route != null && { Route: input.Route }),
|
|
3476
|
-
};
|
|
3477
|
-
};
|
|
3478
|
-
const se_Sqls = (input, context) => {
|
|
3479
|
-
return input
|
|
3480
|
-
.filter((e) => e != null)
|
|
3481
|
-
.map((entry) => {
|
|
3482
|
-
return entry;
|
|
3483
|
-
});
|
|
3484
|
-
};
|
|
3485
|
-
const se_SqsParameters = (input, context) => {
|
|
3486
|
-
return {
|
|
3487
|
-
...(input.MessageGroupId != null && { MessageGroupId: input.MessageGroupId }),
|
|
3488
|
-
};
|
|
3489
|
-
};
|
|
3490
|
-
const se_StartReplayRequest = (input, context) => {
|
|
3491
|
-
return {
|
|
3492
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3493
|
-
...(input.Destination != null && { Destination: se_ReplayDestination(input.Destination, context) }),
|
|
3494
|
-
...(input.EventEndTime != null && { EventEndTime: Math.round(input.EventEndTime.getTime() / 1000) }),
|
|
3495
|
-
...(input.EventSourceArn != null && { EventSourceArn: input.EventSourceArn }),
|
|
3496
|
-
...(input.EventStartTime != null && { EventStartTime: Math.round(input.EventStartTime.getTime() / 1000) }),
|
|
3497
|
-
...(input.ReplayName != null && { ReplayName: input.ReplayName }),
|
|
3498
|
-
};
|
|
3499
|
-
};
|
|
3500
|
-
const se_StringList = (input, context) => {
|
|
3501
|
-
return input
|
|
3502
|
-
.filter((e) => e != null)
|
|
3503
|
-
.map((entry) => {
|
|
3504
|
-
return entry;
|
|
3505
|
-
});
|
|
3506
|
-
};
|
|
3507
|
-
const se_Tag = (input, context) => {
|
|
3508
|
-
return {
|
|
3509
|
-
...(input.Key != null && { Key: input.Key }),
|
|
3510
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3511
|
-
};
|
|
3512
|
-
};
|
|
3513
|
-
const se_TagKeyList = (input, context) => {
|
|
3514
|
-
return input
|
|
3515
|
-
.filter((e) => e != null)
|
|
3516
|
-
.map((entry) => {
|
|
3517
|
-
return entry;
|
|
3518
|
-
});
|
|
3519
|
-
};
|
|
3520
|
-
const se_TagList = (input, context) => {
|
|
3521
|
-
return input
|
|
3522
|
-
.filter((e) => e != null)
|
|
3523
|
-
.map((entry) => {
|
|
3524
|
-
return se_Tag(entry, context);
|
|
3525
|
-
});
|
|
3526
|
-
};
|
|
3527
|
-
const se_TagResourceRequest = (input, context) => {
|
|
3528
|
-
return {
|
|
3529
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
3530
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3531
|
-
};
|
|
3532
|
-
};
|
|
3533
|
-
const se_Target = (input, context) => {
|
|
3534
|
-
return {
|
|
3535
|
-
...(input.Arn != null && { Arn: input.Arn }),
|
|
3536
|
-
...(input.BatchParameters != null && { BatchParameters: se_BatchParameters(input.BatchParameters, context) }),
|
|
3537
|
-
...(input.DeadLetterConfig != null && { DeadLetterConfig: se_DeadLetterConfig(input.DeadLetterConfig, context) }),
|
|
3538
|
-
...(input.EcsParameters != null && { EcsParameters: se_EcsParameters(input.EcsParameters, context) }),
|
|
3539
|
-
...(input.HttpParameters != null && { HttpParameters: se_HttpParameters(input.HttpParameters, context) }),
|
|
3540
|
-
...(input.Id != null && { Id: input.Id }),
|
|
3541
|
-
...(input.Input != null && { Input: input.Input }),
|
|
3542
|
-
...(input.InputPath != null && { InputPath: input.InputPath }),
|
|
3543
|
-
...(input.InputTransformer != null && { InputTransformer: se_InputTransformer(input.InputTransformer, context) }),
|
|
3544
|
-
...(input.KinesisParameters != null && {
|
|
3545
|
-
KinesisParameters: se_KinesisParameters(input.KinesisParameters, context),
|
|
3546
|
-
}),
|
|
3547
|
-
...(input.RedshiftDataParameters != null && {
|
|
3548
|
-
RedshiftDataParameters: se_RedshiftDataParameters(input.RedshiftDataParameters, context),
|
|
3549
|
-
}),
|
|
3550
|
-
...(input.RetryPolicy != null && { RetryPolicy: se_RetryPolicy(input.RetryPolicy, context) }),
|
|
3551
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
3552
|
-
...(input.RunCommandParameters != null && {
|
|
3553
|
-
RunCommandParameters: se_RunCommandParameters(input.RunCommandParameters, context),
|
|
3554
|
-
}),
|
|
3555
|
-
...(input.SageMakerPipelineParameters != null && {
|
|
3556
|
-
SageMakerPipelineParameters: se_SageMakerPipelineParameters(input.SageMakerPipelineParameters, context),
|
|
3557
|
-
}),
|
|
3558
|
-
...(input.SqsParameters != null && { SqsParameters: se_SqsParameters(input.SqsParameters, context) }),
|
|
3559
|
-
};
|
|
3560
|
-
};
|
|
3561
|
-
const se_TargetIdList = (input, context) => {
|
|
3562
|
-
return input
|
|
3563
|
-
.filter((e) => e != null)
|
|
3564
|
-
.map((entry) => {
|
|
3565
|
-
return entry;
|
|
3566
|
-
});
|
|
3567
|
-
};
|
|
3568
|
-
const se_TargetList = (input, context) => {
|
|
3569
|
-
return input
|
|
3570
|
-
.filter((e) => e != null)
|
|
3571
|
-
.map((entry) => {
|
|
3572
|
-
return se_Target(entry, context);
|
|
3573
|
-
});
|
|
3574
|
-
};
|
|
3575
|
-
const se_TestEventPatternRequest = (input, context) => {
|
|
3576
|
-
return {
|
|
3577
|
-
...(input.Event != null && { Event: input.Event }),
|
|
3578
|
-
...(input.EventPattern != null && { EventPattern: input.EventPattern }),
|
|
3579
|
-
};
|
|
3580
|
-
};
|
|
3581
|
-
const se_TransformerPaths = (input, context) => {
|
|
3582
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3583
|
-
if (value === null) {
|
|
3584
|
-
return acc;
|
|
3585
|
-
}
|
|
3586
|
-
acc[key] = value;
|
|
3587
|
-
return acc;
|
|
3588
|
-
}, {});
|
|
3589
|
-
};
|
|
3590
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
3591
|
-
return {
|
|
3592
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
3593
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
3594
|
-
};
|
|
3595
|
-
};
|
|
3596
|
-
const se_UpdateApiDestinationRequest = (input, context) => {
|
|
3597
|
-
return {
|
|
3598
|
-
...(input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn }),
|
|
3599
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3600
|
-
...(input.HttpMethod != null && { HttpMethod: input.HttpMethod }),
|
|
3601
|
-
...(input.InvocationEndpoint != null && { InvocationEndpoint: input.InvocationEndpoint }),
|
|
3602
|
-
...(input.InvocationRateLimitPerSecond != null && {
|
|
3603
|
-
InvocationRateLimitPerSecond: input.InvocationRateLimitPerSecond,
|
|
3604
|
-
}),
|
|
3605
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3606
|
-
};
|
|
3607
|
-
};
|
|
3608
|
-
const se_UpdateArchiveRequest = (input, context) => {
|
|
3609
|
-
return {
|
|
3610
|
-
...(input.ArchiveName != null && { ArchiveName: input.ArchiveName }),
|
|
3611
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3612
|
-
...(input.EventPattern != null && { EventPattern: input.EventPattern }),
|
|
3613
|
-
...(input.RetentionDays != null && { RetentionDays: input.RetentionDays }),
|
|
3614
|
-
};
|
|
3615
|
-
};
|
|
3616
|
-
const se_UpdateConnectionApiKeyAuthRequestParameters = (input, context) => {
|
|
3617
|
-
return {
|
|
3618
|
-
...(input.ApiKeyName != null && { ApiKeyName: input.ApiKeyName }),
|
|
3619
|
-
...(input.ApiKeyValue != null && { ApiKeyValue: input.ApiKeyValue }),
|
|
3620
|
-
};
|
|
3621
|
-
};
|
|
3622
|
-
const se_UpdateConnectionAuthRequestParameters = (input, context) => {
|
|
3623
|
-
return {
|
|
3624
|
-
...(input.ApiKeyAuthParameters != null && {
|
|
3625
|
-
ApiKeyAuthParameters: se_UpdateConnectionApiKeyAuthRequestParameters(input.ApiKeyAuthParameters, context),
|
|
3626
|
-
}),
|
|
3627
|
-
...(input.BasicAuthParameters != null && {
|
|
3628
|
-
BasicAuthParameters: se_UpdateConnectionBasicAuthRequestParameters(input.BasicAuthParameters, context),
|
|
3629
|
-
}),
|
|
3630
|
-
...(input.InvocationHttpParameters != null && {
|
|
3631
|
-
InvocationHttpParameters: se_ConnectionHttpParameters(input.InvocationHttpParameters, context),
|
|
3632
|
-
}),
|
|
3633
|
-
...(input.OAuthParameters != null && {
|
|
3634
|
-
OAuthParameters: se_UpdateConnectionOAuthRequestParameters(input.OAuthParameters, context),
|
|
3635
|
-
}),
|
|
3636
|
-
};
|
|
3637
|
-
};
|
|
3638
|
-
const se_UpdateConnectionBasicAuthRequestParameters = (input, context) => {
|
|
3639
|
-
return {
|
|
3640
|
-
...(input.Password != null && { Password: input.Password }),
|
|
3641
|
-
...(input.Username != null && { Username: input.Username }),
|
|
3642
|
-
};
|
|
3643
|
-
};
|
|
3644
|
-
const se_UpdateConnectionOAuthClientRequestParameters = (input, context) => {
|
|
3645
|
-
return {
|
|
3646
|
-
...(input.ClientID != null && { ClientID: input.ClientID }),
|
|
3647
|
-
...(input.ClientSecret != null && { ClientSecret: input.ClientSecret }),
|
|
3648
|
-
};
|
|
3649
|
-
};
|
|
3650
|
-
const se_UpdateConnectionOAuthRequestParameters = (input, context) => {
|
|
3651
|
-
return {
|
|
3652
|
-
...(input.AuthorizationEndpoint != null && { AuthorizationEndpoint: input.AuthorizationEndpoint }),
|
|
3653
|
-
...(input.ClientParameters != null && {
|
|
3654
|
-
ClientParameters: se_UpdateConnectionOAuthClientRequestParameters(input.ClientParameters, context),
|
|
3655
|
-
}),
|
|
3656
|
-
...(input.HttpMethod != null && { HttpMethod: input.HttpMethod }),
|
|
3657
|
-
...(input.OAuthHttpParameters != null && {
|
|
3658
|
-
OAuthHttpParameters: se_ConnectionHttpParameters(input.OAuthHttpParameters, context),
|
|
3659
|
-
}),
|
|
3660
|
-
};
|
|
3661
|
-
};
|
|
3662
|
-
const se_UpdateConnectionRequest = (input, context) => {
|
|
3663
|
-
return {
|
|
3664
|
-
...(input.AuthParameters != null && {
|
|
3665
|
-
AuthParameters: se_UpdateConnectionAuthRequestParameters(input.AuthParameters, context),
|
|
3666
|
-
}),
|
|
3667
|
-
...(input.AuthorizationType != null && { AuthorizationType: input.AuthorizationType }),
|
|
3668
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3669
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3670
|
-
};
|
|
3671
|
-
};
|
|
3672
|
-
const se_UpdateEndpointRequest = (input, context) => {
|
|
3673
|
-
return {
|
|
3674
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3675
|
-
...(input.EventBuses != null && { EventBuses: se_EndpointEventBusList(input.EventBuses, context) }),
|
|
3676
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3677
|
-
...(input.ReplicationConfig != null && {
|
|
3678
|
-
ReplicationConfig: se_ReplicationConfig(input.ReplicationConfig, context),
|
|
3679
|
-
}),
|
|
3680
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
3681
|
-
...(input.RoutingConfig != null && { RoutingConfig: se_RoutingConfig(input.RoutingConfig, context) }),
|
|
3682
|
-
};
|
|
3683
|
-
};
|
|
3684
|
-
const de_ApiDestination = (output, context) => {
|
|
3685
|
-
return {
|
|
3686
|
-
ApiDestinationArn: (0, smithy_client_1.expectString)(output.ApiDestinationArn),
|
|
3687
|
-
ApiDestinationState: (0, smithy_client_1.expectString)(output.ApiDestinationState),
|
|
3688
|
-
ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
|
|
3689
|
-
CreationTime: output.CreationTime != null
|
|
3690
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3691
|
-
: undefined,
|
|
3692
|
-
HttpMethod: (0, smithy_client_1.expectString)(output.HttpMethod),
|
|
3693
|
-
InvocationEndpoint: (0, smithy_client_1.expectString)(output.InvocationEndpoint),
|
|
3694
|
-
InvocationRateLimitPerSecond: (0, smithy_client_1.expectInt32)(output.InvocationRateLimitPerSecond),
|
|
3695
|
-
LastModifiedTime: output.LastModifiedTime != null
|
|
3696
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3697
|
-
: undefined,
|
|
3698
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3699
|
-
};
|
|
3700
|
-
};
|
|
3701
|
-
const de_ApiDestinationResponseList = (output, context) => {
|
|
3702
|
-
const retVal = (output || [])
|
|
3703
|
-
.filter((e) => e != null)
|
|
3704
|
-
.map((entry) => {
|
|
3705
|
-
if (entry === null) {
|
|
3706
|
-
return null;
|
|
3707
|
-
}
|
|
3708
|
-
return de_ApiDestination(entry, context);
|
|
3709
|
-
});
|
|
3710
|
-
return retVal;
|
|
3711
|
-
};
|
|
3712
|
-
const de_Archive = (output, context) => {
|
|
3713
|
-
return {
|
|
3714
|
-
ArchiveName: (0, smithy_client_1.expectString)(output.ArchiveName),
|
|
3715
|
-
CreationTime: output.CreationTime != null
|
|
3716
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3717
|
-
: undefined,
|
|
3718
|
-
EventCount: (0, smithy_client_1.expectLong)(output.EventCount),
|
|
3719
|
-
EventSourceArn: (0, smithy_client_1.expectString)(output.EventSourceArn),
|
|
3720
|
-
RetentionDays: (0, smithy_client_1.expectInt32)(output.RetentionDays),
|
|
3721
|
-
SizeBytes: (0, smithy_client_1.expectLong)(output.SizeBytes),
|
|
3722
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
3723
|
-
StateReason: (0, smithy_client_1.expectString)(output.StateReason),
|
|
3724
|
-
};
|
|
3725
|
-
};
|
|
3726
|
-
const de_ArchiveResponseList = (output, context) => {
|
|
3727
|
-
const retVal = (output || [])
|
|
3728
|
-
.filter((e) => e != null)
|
|
3729
|
-
.map((entry) => {
|
|
3730
|
-
if (entry === null) {
|
|
3731
|
-
return null;
|
|
3732
|
-
}
|
|
3733
|
-
return de_Archive(entry, context);
|
|
3734
|
-
});
|
|
3735
|
-
return retVal;
|
|
3736
|
-
};
|
|
3737
|
-
const de_AwsVpcConfiguration = (output, context) => {
|
|
3738
|
-
return {
|
|
3739
|
-
AssignPublicIp: (0, smithy_client_1.expectString)(output.AssignPublicIp),
|
|
3740
|
-
SecurityGroups: output.SecurityGroups != null ? de_StringList(output.SecurityGroups, context) : undefined,
|
|
3741
|
-
Subnets: output.Subnets != null ? de_StringList(output.Subnets, context) : undefined,
|
|
3742
|
-
};
|
|
3743
|
-
};
|
|
3744
|
-
const de_BatchArrayProperties = (output, context) => {
|
|
3745
|
-
return {
|
|
3746
|
-
Size: (0, smithy_client_1.expectInt32)(output.Size),
|
|
3747
|
-
};
|
|
3748
|
-
};
|
|
3749
|
-
const de_BatchParameters = (output, context) => {
|
|
3750
|
-
return {
|
|
3751
|
-
ArrayProperties: output.ArrayProperties != null ? de_BatchArrayProperties(output.ArrayProperties, context) : undefined,
|
|
3752
|
-
JobDefinition: (0, smithy_client_1.expectString)(output.JobDefinition),
|
|
3753
|
-
JobName: (0, smithy_client_1.expectString)(output.JobName),
|
|
3754
|
-
RetryStrategy: output.RetryStrategy != null ? de_BatchRetryStrategy(output.RetryStrategy, context) : undefined,
|
|
3755
|
-
};
|
|
3756
|
-
};
|
|
3757
|
-
const de_BatchRetryStrategy = (output, context) => {
|
|
3758
|
-
return {
|
|
3759
|
-
Attempts: (0, smithy_client_1.expectInt32)(output.Attempts),
|
|
3760
|
-
};
|
|
3761
|
-
};
|
|
3762
|
-
const de_CancelReplayResponse = (output, context) => {
|
|
3763
|
-
return {
|
|
3764
|
-
ReplayArn: (0, smithy_client_1.expectString)(output.ReplayArn),
|
|
3765
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
3766
|
-
StateReason: (0, smithy_client_1.expectString)(output.StateReason),
|
|
3767
|
-
};
|
|
3768
|
-
};
|
|
3769
|
-
const de_CapacityProviderStrategy = (output, context) => {
|
|
3770
|
-
const retVal = (output || [])
|
|
3771
|
-
.filter((e) => e != null)
|
|
3772
|
-
.map((entry) => {
|
|
3773
|
-
if (entry === null) {
|
|
3774
|
-
return null;
|
|
3775
|
-
}
|
|
3776
|
-
return de_CapacityProviderStrategyItem(entry, context);
|
|
3777
|
-
});
|
|
3778
|
-
return retVal;
|
|
3779
|
-
};
|
|
3780
|
-
const de_CapacityProviderStrategyItem = (output, context) => {
|
|
3781
|
-
return {
|
|
3782
|
-
base: (0, smithy_client_1.expectInt32)(output.base),
|
|
3783
|
-
capacityProvider: (0, smithy_client_1.expectString)(output.capacityProvider),
|
|
3784
|
-
weight: (0, smithy_client_1.expectInt32)(output.weight),
|
|
3785
|
-
};
|
|
3786
|
-
};
|
|
3787
|
-
const de_ConcurrentModificationException = (output, context) => {
|
|
3788
|
-
return {
|
|
3789
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
3790
|
-
};
|
|
3791
|
-
};
|
|
3792
|
-
const de_Connection = (output, context) => {
|
|
3793
|
-
return {
|
|
3794
|
-
AuthorizationType: (0, smithy_client_1.expectString)(output.AuthorizationType),
|
|
3795
|
-
ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
|
|
3796
|
-
ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
|
|
3797
|
-
CreationTime: output.CreationTime != null
|
|
3798
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3799
|
-
: undefined,
|
|
3800
|
-
LastAuthorizedTime: output.LastAuthorizedTime != null
|
|
3801
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAuthorizedTime)))
|
|
3802
|
-
: undefined,
|
|
3803
|
-
LastModifiedTime: output.LastModifiedTime != null
|
|
3804
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3805
|
-
: undefined,
|
|
3806
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3807
|
-
StateReason: (0, smithy_client_1.expectString)(output.StateReason),
|
|
3808
|
-
};
|
|
3809
|
-
};
|
|
3810
|
-
const de_ConnectionApiKeyAuthResponseParameters = (output, context) => {
|
|
3811
|
-
return {
|
|
3812
|
-
ApiKeyName: (0, smithy_client_1.expectString)(output.ApiKeyName),
|
|
3813
|
-
};
|
|
3814
|
-
};
|
|
3815
|
-
const de_ConnectionAuthResponseParameters = (output, context) => {
|
|
3816
|
-
return {
|
|
3817
|
-
ApiKeyAuthParameters: output.ApiKeyAuthParameters != null
|
|
3818
|
-
? de_ConnectionApiKeyAuthResponseParameters(output.ApiKeyAuthParameters, context)
|
|
3819
|
-
: undefined,
|
|
3820
|
-
BasicAuthParameters: output.BasicAuthParameters != null
|
|
3821
|
-
? de_ConnectionBasicAuthResponseParameters(output.BasicAuthParameters, context)
|
|
3822
|
-
: undefined,
|
|
3823
|
-
InvocationHttpParameters: output.InvocationHttpParameters != null
|
|
3824
|
-
? de_ConnectionHttpParameters(output.InvocationHttpParameters, context)
|
|
3825
|
-
: undefined,
|
|
3826
|
-
OAuthParameters: output.OAuthParameters != null
|
|
3827
|
-
? de_ConnectionOAuthResponseParameters(output.OAuthParameters, context)
|
|
3828
|
-
: undefined,
|
|
3829
|
-
};
|
|
3830
|
-
};
|
|
3831
|
-
const de_ConnectionBasicAuthResponseParameters = (output, context) => {
|
|
3832
|
-
return {
|
|
3833
|
-
Username: (0, smithy_client_1.expectString)(output.Username),
|
|
3834
|
-
};
|
|
3835
|
-
};
|
|
3836
|
-
const de_ConnectionBodyParameter = (output, context) => {
|
|
3837
|
-
return {
|
|
3838
|
-
IsValueSecret: (0, smithy_client_1.expectBoolean)(output.IsValueSecret),
|
|
3839
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
3840
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
3841
|
-
};
|
|
3842
|
-
};
|
|
3843
|
-
const de_ConnectionBodyParametersList = (output, context) => {
|
|
3844
|
-
const retVal = (output || [])
|
|
3845
|
-
.filter((e) => e != null)
|
|
3846
|
-
.map((entry) => {
|
|
3847
|
-
if (entry === null) {
|
|
3848
|
-
return null;
|
|
3849
|
-
}
|
|
3850
|
-
return de_ConnectionBodyParameter(entry, context);
|
|
3851
|
-
});
|
|
3852
|
-
return retVal;
|
|
3853
|
-
};
|
|
3854
|
-
const de_ConnectionHeaderParameter = (output, context) => {
|
|
3855
|
-
return {
|
|
3856
|
-
IsValueSecret: (0, smithy_client_1.expectBoolean)(output.IsValueSecret),
|
|
3857
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
3858
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
3859
|
-
};
|
|
3860
|
-
};
|
|
3861
|
-
const de_ConnectionHeaderParametersList = (output, context) => {
|
|
3862
|
-
const retVal = (output || [])
|
|
3863
|
-
.filter((e) => e != null)
|
|
3864
|
-
.map((entry) => {
|
|
3865
|
-
if (entry === null) {
|
|
3866
|
-
return null;
|
|
3867
|
-
}
|
|
3868
|
-
return de_ConnectionHeaderParameter(entry, context);
|
|
3869
|
-
});
|
|
3870
|
-
return retVal;
|
|
3871
|
-
};
|
|
3872
|
-
const de_ConnectionHttpParameters = (output, context) => {
|
|
3873
|
-
return {
|
|
3874
|
-
BodyParameters: output.BodyParameters != null ? de_ConnectionBodyParametersList(output.BodyParameters, context) : undefined,
|
|
3875
|
-
HeaderParameters: output.HeaderParameters != null ? de_ConnectionHeaderParametersList(output.HeaderParameters, context) : undefined,
|
|
3876
|
-
QueryStringParameters: output.QueryStringParameters != null
|
|
3877
|
-
? de_ConnectionQueryStringParametersList(output.QueryStringParameters, context)
|
|
3878
|
-
: undefined,
|
|
3879
|
-
};
|
|
3880
|
-
};
|
|
3881
|
-
const de_ConnectionOAuthClientResponseParameters = (output, context) => {
|
|
3882
|
-
return {
|
|
3883
|
-
ClientID: (0, smithy_client_1.expectString)(output.ClientID),
|
|
3884
|
-
};
|
|
3885
|
-
};
|
|
3886
|
-
const de_ConnectionOAuthResponseParameters = (output, context) => {
|
|
3887
|
-
return {
|
|
3888
|
-
AuthorizationEndpoint: (0, smithy_client_1.expectString)(output.AuthorizationEndpoint),
|
|
3889
|
-
ClientParameters: output.ClientParameters != null
|
|
3890
|
-
? de_ConnectionOAuthClientResponseParameters(output.ClientParameters, context)
|
|
3891
|
-
: undefined,
|
|
3892
|
-
HttpMethod: (0, smithy_client_1.expectString)(output.HttpMethod),
|
|
3893
|
-
OAuthHttpParameters: output.OAuthHttpParameters != null ? de_ConnectionHttpParameters(output.OAuthHttpParameters, context) : undefined,
|
|
3894
|
-
};
|
|
3895
|
-
};
|
|
3896
|
-
const de_ConnectionQueryStringParameter = (output, context) => {
|
|
3897
|
-
return {
|
|
3898
|
-
IsValueSecret: (0, smithy_client_1.expectBoolean)(output.IsValueSecret),
|
|
3899
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
3900
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
3901
|
-
};
|
|
3902
|
-
};
|
|
3903
|
-
const de_ConnectionQueryStringParametersList = (output, context) => {
|
|
3904
|
-
const retVal = (output || [])
|
|
3905
|
-
.filter((e) => e != null)
|
|
3906
|
-
.map((entry) => {
|
|
3907
|
-
if (entry === null) {
|
|
3908
|
-
return null;
|
|
3909
|
-
}
|
|
3910
|
-
return de_ConnectionQueryStringParameter(entry, context);
|
|
3911
|
-
});
|
|
3912
|
-
return retVal;
|
|
3913
|
-
};
|
|
3914
|
-
const de_ConnectionResponseList = (output, context) => {
|
|
3915
|
-
const retVal = (output || [])
|
|
3916
|
-
.filter((e) => e != null)
|
|
3917
|
-
.map((entry) => {
|
|
3918
|
-
if (entry === null) {
|
|
3919
|
-
return null;
|
|
3920
|
-
}
|
|
3921
|
-
return de_Connection(entry, context);
|
|
3922
|
-
});
|
|
3923
|
-
return retVal;
|
|
3924
|
-
};
|
|
3925
|
-
const de_CreateApiDestinationResponse = (output, context) => {
|
|
3926
|
-
return {
|
|
3927
|
-
ApiDestinationArn: (0, smithy_client_1.expectString)(output.ApiDestinationArn),
|
|
3928
|
-
ApiDestinationState: (0, smithy_client_1.expectString)(output.ApiDestinationState),
|
|
3929
|
-
CreationTime: output.CreationTime != null
|
|
3930
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3931
|
-
: undefined,
|
|
3932
|
-
LastModifiedTime: output.LastModifiedTime != null
|
|
3933
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3934
|
-
: undefined,
|
|
3935
|
-
};
|
|
3936
|
-
};
|
|
3937
|
-
const de_CreateArchiveResponse = (output, context) => {
|
|
3938
|
-
return {
|
|
3939
|
-
ArchiveArn: (0, smithy_client_1.expectString)(output.ArchiveArn),
|
|
3940
|
-
CreationTime: output.CreationTime != null
|
|
3941
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3942
|
-
: undefined,
|
|
3943
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
3944
|
-
StateReason: (0, smithy_client_1.expectString)(output.StateReason),
|
|
3945
|
-
};
|
|
3946
|
-
};
|
|
3947
|
-
const de_CreateConnectionResponse = (output, context) => {
|
|
3948
|
-
return {
|
|
3949
|
-
ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
|
|
3950
|
-
ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
|
|
3951
|
-
CreationTime: output.CreationTime != null
|
|
3952
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3953
|
-
: undefined,
|
|
3954
|
-
LastModifiedTime: output.LastModifiedTime != null
|
|
3955
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3956
|
-
: undefined,
|
|
3957
|
-
};
|
|
3958
|
-
};
|
|
3959
|
-
const de_CreateEndpointResponse = (output, context) => {
|
|
3960
|
-
return {
|
|
3961
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
3962
|
-
EventBuses: output.EventBuses != null ? de_EndpointEventBusList(output.EventBuses, context) : undefined,
|
|
3963
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3964
|
-
ReplicationConfig: output.ReplicationConfig != null ? de_ReplicationConfig(output.ReplicationConfig, context) : undefined,
|
|
3965
|
-
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
3966
|
-
RoutingConfig: output.RoutingConfig != null ? de_RoutingConfig(output.RoutingConfig, context) : undefined,
|
|
3967
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
3968
|
-
};
|
|
3969
|
-
};
|
|
3970
|
-
const de_CreateEventBusResponse = (output, context) => {
|
|
3971
|
-
return {
|
|
3972
|
-
EventBusArn: (0, smithy_client_1.expectString)(output.EventBusArn),
|
|
3973
|
-
};
|
|
3974
|
-
};
|
|
3975
|
-
const de_CreatePartnerEventSourceResponse = (output, context) => {
|
|
3976
|
-
return {
|
|
3977
|
-
EventSourceArn: (0, smithy_client_1.expectString)(output.EventSourceArn),
|
|
3978
|
-
};
|
|
3979
|
-
};
|
|
3980
|
-
const de_DeadLetterConfig = (output, context) => {
|
|
3981
|
-
return {
|
|
3982
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
3983
|
-
};
|
|
3984
|
-
};
|
|
3985
|
-
const de_DeauthorizeConnectionResponse = (output, context) => {
|
|
3986
|
-
return {
|
|
3987
|
-
ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
|
|
3988
|
-
ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
|
|
3989
|
-
CreationTime: output.CreationTime != null
|
|
3990
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3991
|
-
: undefined,
|
|
3992
|
-
LastAuthorizedTime: output.LastAuthorizedTime != null
|
|
3993
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAuthorizedTime)))
|
|
3994
|
-
: undefined,
|
|
3995
|
-
LastModifiedTime: output.LastModifiedTime != null
|
|
3996
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3997
|
-
: undefined,
|
|
3998
|
-
};
|
|
3999
|
-
};
|
|
4000
|
-
const de_DeleteApiDestinationResponse = (output, context) => {
|
|
4001
|
-
return {};
|
|
4002
|
-
};
|
|
4003
|
-
const de_DeleteArchiveResponse = (output, context) => {
|
|
4004
|
-
return {};
|
|
4005
|
-
};
|
|
4006
|
-
const de_DeleteConnectionResponse = (output, context) => {
|
|
4007
|
-
return {
|
|
4008
|
-
ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
|
|
4009
|
-
ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
|
|
4010
|
-
CreationTime: output.CreationTime != null
|
|
4011
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
4012
|
-
: undefined,
|
|
4013
|
-
LastAuthorizedTime: output.LastAuthorizedTime != null
|
|
4014
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAuthorizedTime)))
|
|
4015
|
-
: undefined,
|
|
4016
|
-
LastModifiedTime: output.LastModifiedTime != null
|
|
4017
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
4018
|
-
: undefined,
|
|
4019
|
-
};
|
|
4020
|
-
};
|
|
4021
|
-
const de_DeleteEndpointResponse = (output, context) => {
|
|
4022
|
-
return {};
|
|
4023
|
-
};
|
|
4024
|
-
const de_DescribeApiDestinationResponse = (output, context) => {
|
|
4025
|
-
return {
|
|
4026
|
-
ApiDestinationArn: (0, smithy_client_1.expectString)(output.ApiDestinationArn),
|
|
4027
|
-
ApiDestinationState: (0, smithy_client_1.expectString)(output.ApiDestinationState),
|
|
4028
|
-
ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
|
|
4029
|
-
CreationTime: output.CreationTime != null
|
|
4030
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
4031
|
-
: undefined,
|
|
4032
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
4033
|
-
HttpMethod: (0, smithy_client_1.expectString)(output.HttpMethod),
|
|
4034
|
-
InvocationEndpoint: (0, smithy_client_1.expectString)(output.InvocationEndpoint),
|
|
4035
|
-
InvocationRateLimitPerSecond: (0, smithy_client_1.expectInt32)(output.InvocationRateLimitPerSecond),
|
|
4036
|
-
LastModifiedTime: output.LastModifiedTime != null
|
|
4037
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
4038
|
-
: undefined,
|
|
4039
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4040
|
-
};
|
|
4041
|
-
};
|
|
4042
|
-
const de_DescribeArchiveResponse = (output, context) => {
|
|
4043
|
-
return {
|
|
4044
|
-
ArchiveArn: (0, smithy_client_1.expectString)(output.ArchiveArn),
|
|
4045
|
-
ArchiveName: (0, smithy_client_1.expectString)(output.ArchiveName),
|
|
4046
|
-
CreationTime: output.CreationTime != null
|
|
4047
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
4048
|
-
: undefined,
|
|
4049
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
4050
|
-
EventCount: (0, smithy_client_1.expectLong)(output.EventCount),
|
|
4051
|
-
EventPattern: (0, smithy_client_1.expectString)(output.EventPattern),
|
|
4052
|
-
EventSourceArn: (0, smithy_client_1.expectString)(output.EventSourceArn),
|
|
4053
|
-
RetentionDays: (0, smithy_client_1.expectInt32)(output.RetentionDays),
|
|
4054
|
-
SizeBytes: (0, smithy_client_1.expectLong)(output.SizeBytes),
|
|
4055
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4056
|
-
StateReason: (0, smithy_client_1.expectString)(output.StateReason),
|
|
4057
|
-
};
|
|
4058
|
-
};
|
|
4059
|
-
const de_DescribeConnectionResponse = (output, context) => {
|
|
4060
|
-
return {
|
|
4061
|
-
AuthParameters: output.AuthParameters != null ? de_ConnectionAuthResponseParameters(output.AuthParameters, context) : undefined,
|
|
4062
|
-
AuthorizationType: (0, smithy_client_1.expectString)(output.AuthorizationType),
|
|
4063
|
-
ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
|
|
4064
|
-
ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
|
|
4065
|
-
CreationTime: output.CreationTime != null
|
|
4066
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
4067
|
-
: undefined,
|
|
4068
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
4069
|
-
LastAuthorizedTime: output.LastAuthorizedTime != null
|
|
4070
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAuthorizedTime)))
|
|
4071
|
-
: undefined,
|
|
4072
|
-
LastModifiedTime: output.LastModifiedTime != null
|
|
4073
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
4074
|
-
: undefined,
|
|
4075
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4076
|
-
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
4077
|
-
StateReason: (0, smithy_client_1.expectString)(output.StateReason),
|
|
4078
|
-
};
|
|
4079
|
-
};
|
|
4080
|
-
const de_DescribeEndpointResponse = (output, context) => {
|
|
4081
|
-
return {
|
|
4082
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4083
|
-
CreationTime: output.CreationTime != null
|
|
4084
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
4085
|
-
: undefined,
|
|
4086
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
4087
|
-
EndpointId: (0, smithy_client_1.expectString)(output.EndpointId),
|
|
4088
|
-
EndpointUrl: (0, smithy_client_1.expectString)(output.EndpointUrl),
|
|
4089
|
-
EventBuses: output.EventBuses != null ? de_EndpointEventBusList(output.EventBuses, context) : undefined,
|
|
4090
|
-
LastModifiedTime: output.LastModifiedTime != null
|
|
4091
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
4092
|
-
: undefined,
|
|
4093
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4094
|
-
ReplicationConfig: output.ReplicationConfig != null ? de_ReplicationConfig(output.ReplicationConfig, context) : undefined,
|
|
4095
|
-
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
4096
|
-
RoutingConfig: output.RoutingConfig != null ? de_RoutingConfig(output.RoutingConfig, context) : undefined,
|
|
4097
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4098
|
-
StateReason: (0, smithy_client_1.expectString)(output.StateReason),
|
|
4099
|
-
};
|
|
4100
|
-
};
|
|
4101
|
-
const de_DescribeEventBusResponse = (output, context) => {
|
|
4102
|
-
return {
|
|
4103
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4104
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4105
|
-
Policy: (0, smithy_client_1.expectString)(output.Policy),
|
|
4106
|
-
};
|
|
4107
|
-
};
|
|
4108
|
-
const de_DescribeEventSourceResponse = (output, context) => {
|
|
4109
|
-
return {
|
|
4110
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4111
|
-
CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
|
|
4112
|
-
CreationTime: output.CreationTime != null
|
|
4113
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
4114
|
-
: undefined,
|
|
4115
|
-
ExpirationTime: output.ExpirationTime != null
|
|
4116
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpirationTime)))
|
|
4117
|
-
: undefined,
|
|
4118
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4119
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4120
|
-
};
|
|
4121
|
-
};
|
|
4122
|
-
const de_DescribePartnerEventSourceResponse = (output, context) => {
|
|
4123
|
-
return {
|
|
4124
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4125
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4126
|
-
};
|
|
4127
|
-
};
|
|
4128
|
-
const de_DescribeReplayResponse = (output, context) => {
|
|
4129
|
-
return {
|
|
4130
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
4131
|
-
Destination: output.Destination != null ? de_ReplayDestination(output.Destination, context) : undefined,
|
|
4132
|
-
EventEndTime: output.EventEndTime != null
|
|
4133
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EventEndTime)))
|
|
4134
|
-
: undefined,
|
|
4135
|
-
EventLastReplayedTime: output.EventLastReplayedTime != null
|
|
4136
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EventLastReplayedTime)))
|
|
4137
|
-
: undefined,
|
|
4138
|
-
EventSourceArn: (0, smithy_client_1.expectString)(output.EventSourceArn),
|
|
4139
|
-
EventStartTime: output.EventStartTime != null
|
|
4140
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EventStartTime)))
|
|
4141
|
-
: undefined,
|
|
4142
|
-
ReplayArn: (0, smithy_client_1.expectString)(output.ReplayArn),
|
|
4143
|
-
ReplayEndTime: output.ReplayEndTime != null
|
|
4144
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ReplayEndTime)))
|
|
4145
|
-
: undefined,
|
|
4146
|
-
ReplayName: (0, smithy_client_1.expectString)(output.ReplayName),
|
|
4147
|
-
ReplayStartTime: output.ReplayStartTime != null
|
|
4148
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ReplayStartTime)))
|
|
4149
|
-
: undefined,
|
|
4150
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4151
|
-
StateReason: (0, smithy_client_1.expectString)(output.StateReason),
|
|
4152
|
-
};
|
|
4153
|
-
};
|
|
4154
|
-
const de_DescribeRuleResponse = (output, context) => {
|
|
4155
|
-
return {
|
|
4156
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4157
|
-
CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
|
|
4158
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
4159
|
-
EventBusName: (0, smithy_client_1.expectString)(output.EventBusName),
|
|
4160
|
-
EventPattern: (0, smithy_client_1.expectString)(output.EventPattern),
|
|
4161
|
-
ManagedBy: (0, smithy_client_1.expectString)(output.ManagedBy),
|
|
4162
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4163
|
-
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
4164
|
-
ScheduleExpression: (0, smithy_client_1.expectString)(output.ScheduleExpression),
|
|
4165
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4166
|
-
};
|
|
4167
|
-
};
|
|
4168
|
-
const de_EcsParameters = (output, context) => {
|
|
4169
|
-
return {
|
|
4170
|
-
CapacityProviderStrategy: output.CapacityProviderStrategy != null
|
|
4171
|
-
? de_CapacityProviderStrategy(output.CapacityProviderStrategy, context)
|
|
4172
|
-
: undefined,
|
|
4173
|
-
EnableECSManagedTags: (0, smithy_client_1.expectBoolean)(output.EnableECSManagedTags),
|
|
4174
|
-
EnableExecuteCommand: (0, smithy_client_1.expectBoolean)(output.EnableExecuteCommand),
|
|
4175
|
-
Group: (0, smithy_client_1.expectString)(output.Group),
|
|
4176
|
-
LaunchType: (0, smithy_client_1.expectString)(output.LaunchType),
|
|
4177
|
-
NetworkConfiguration: output.NetworkConfiguration != null ? de_NetworkConfiguration(output.NetworkConfiguration, context) : undefined,
|
|
4178
|
-
PlacementConstraints: output.PlacementConstraints != null ? de_PlacementConstraints(output.PlacementConstraints, context) : undefined,
|
|
4179
|
-
PlacementStrategy: output.PlacementStrategy != null ? de_PlacementStrategies(output.PlacementStrategy, context) : undefined,
|
|
4180
|
-
PlatformVersion: (0, smithy_client_1.expectString)(output.PlatformVersion),
|
|
4181
|
-
PropagateTags: (0, smithy_client_1.expectString)(output.PropagateTags),
|
|
4182
|
-
ReferenceId: (0, smithy_client_1.expectString)(output.ReferenceId),
|
|
4183
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
4184
|
-
TaskCount: (0, smithy_client_1.expectInt32)(output.TaskCount),
|
|
4185
|
-
TaskDefinitionArn: (0, smithy_client_1.expectString)(output.TaskDefinitionArn),
|
|
4186
|
-
};
|
|
4187
|
-
};
|
|
4188
|
-
const de_Endpoint = (output, context) => {
|
|
4189
|
-
return {
|
|
4190
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4191
|
-
CreationTime: output.CreationTime != null
|
|
4192
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
4193
|
-
: undefined,
|
|
4194
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
4195
|
-
EndpointId: (0, smithy_client_1.expectString)(output.EndpointId),
|
|
4196
|
-
EndpointUrl: (0, smithy_client_1.expectString)(output.EndpointUrl),
|
|
4197
|
-
EventBuses: output.EventBuses != null ? de_EndpointEventBusList(output.EventBuses, context) : undefined,
|
|
4198
|
-
LastModifiedTime: output.LastModifiedTime != null
|
|
4199
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
4200
|
-
: undefined,
|
|
4201
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4202
|
-
ReplicationConfig: output.ReplicationConfig != null ? de_ReplicationConfig(output.ReplicationConfig, context) : undefined,
|
|
4203
|
-
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
4204
|
-
RoutingConfig: output.RoutingConfig != null ? de_RoutingConfig(output.RoutingConfig, context) : undefined,
|
|
4205
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4206
|
-
StateReason: (0, smithy_client_1.expectString)(output.StateReason),
|
|
4207
|
-
};
|
|
4208
|
-
};
|
|
4209
|
-
const de_EndpointEventBus = (output, context) => {
|
|
4210
|
-
return {
|
|
4211
|
-
EventBusArn: (0, smithy_client_1.expectString)(output.EventBusArn),
|
|
4212
|
-
};
|
|
4213
|
-
};
|
|
4214
|
-
const de_EndpointEventBusList = (output, context) => {
|
|
4215
|
-
const retVal = (output || [])
|
|
4216
|
-
.filter((e) => e != null)
|
|
4217
|
-
.map((entry) => {
|
|
4218
|
-
if (entry === null) {
|
|
4219
|
-
return null;
|
|
4220
|
-
}
|
|
4221
|
-
return de_EndpointEventBus(entry, context);
|
|
4222
|
-
});
|
|
4223
|
-
return retVal;
|
|
4224
|
-
};
|
|
4225
|
-
const de_EndpointList = (output, context) => {
|
|
4226
|
-
const retVal = (output || [])
|
|
4227
|
-
.filter((e) => e != null)
|
|
4228
|
-
.map((entry) => {
|
|
4229
|
-
if (entry === null) {
|
|
4230
|
-
return null;
|
|
4231
|
-
}
|
|
4232
|
-
return de_Endpoint(entry, context);
|
|
4233
|
-
});
|
|
4234
|
-
return retVal;
|
|
4235
|
-
};
|
|
4236
|
-
const de_EventBus = (output, context) => {
|
|
4237
|
-
return {
|
|
4238
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4239
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4240
|
-
Policy: (0, smithy_client_1.expectString)(output.Policy),
|
|
4241
|
-
};
|
|
4242
|
-
};
|
|
4243
|
-
const de_EventBusList = (output, context) => {
|
|
4244
|
-
const retVal = (output || [])
|
|
4245
|
-
.filter((e) => e != null)
|
|
4246
|
-
.map((entry) => {
|
|
4247
|
-
if (entry === null) {
|
|
4248
|
-
return null;
|
|
4249
|
-
}
|
|
4250
|
-
return de_EventBus(entry, context);
|
|
4251
|
-
});
|
|
4252
|
-
return retVal;
|
|
4253
|
-
};
|
|
4254
|
-
const de_EventSource = (output, context) => {
|
|
4255
|
-
return {
|
|
4256
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4257
|
-
CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
|
|
4258
|
-
CreationTime: output.CreationTime != null
|
|
4259
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
4260
|
-
: undefined,
|
|
4261
|
-
ExpirationTime: output.ExpirationTime != null
|
|
4262
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpirationTime)))
|
|
4263
|
-
: undefined,
|
|
4264
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4265
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4266
|
-
};
|
|
4267
|
-
};
|
|
4268
|
-
const de_EventSourceList = (output, context) => {
|
|
4269
|
-
const retVal = (output || [])
|
|
4270
|
-
.filter((e) => e != null)
|
|
4271
|
-
.map((entry) => {
|
|
4272
|
-
if (entry === null) {
|
|
4273
|
-
return null;
|
|
4274
|
-
}
|
|
4275
|
-
return de_EventSource(entry, context);
|
|
4276
|
-
});
|
|
4277
|
-
return retVal;
|
|
4278
|
-
};
|
|
4279
|
-
const de_FailoverConfig = (output, context) => {
|
|
4280
|
-
return {
|
|
4281
|
-
Primary: output.Primary != null ? de_Primary(output.Primary, context) : undefined,
|
|
4282
|
-
Secondary: output.Secondary != null ? de_Secondary(output.Secondary, context) : undefined,
|
|
4283
|
-
};
|
|
4284
|
-
};
|
|
4285
|
-
const de_HeaderParametersMap = (output, context) => {
|
|
4286
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4287
|
-
if (value === null) {
|
|
4288
|
-
return acc;
|
|
4289
|
-
}
|
|
4290
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
4291
|
-
return acc;
|
|
4292
|
-
}, {});
|
|
4293
|
-
};
|
|
4294
|
-
const de_HttpParameters = (output, context) => {
|
|
4295
|
-
return {
|
|
4296
|
-
HeaderParameters: output.HeaderParameters != null ? de_HeaderParametersMap(output.HeaderParameters, context) : undefined,
|
|
4297
|
-
PathParameterValues: output.PathParameterValues != null ? de_PathParameterList(output.PathParameterValues, context) : undefined,
|
|
4298
|
-
QueryStringParameters: output.QueryStringParameters != null
|
|
4299
|
-
? de_QueryStringParametersMap(output.QueryStringParameters, context)
|
|
4300
|
-
: undefined,
|
|
4301
|
-
};
|
|
4302
|
-
};
|
|
4303
|
-
const de_IllegalStatusException = (output, context) => {
|
|
4304
|
-
return {
|
|
4305
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4306
|
-
};
|
|
4307
|
-
};
|
|
4308
|
-
const de_InputTransformer = (output, context) => {
|
|
4309
|
-
return {
|
|
4310
|
-
InputPathsMap: output.InputPathsMap != null ? de_TransformerPaths(output.InputPathsMap, context) : undefined,
|
|
4311
|
-
InputTemplate: (0, smithy_client_1.expectString)(output.InputTemplate),
|
|
4312
|
-
};
|
|
4313
|
-
};
|
|
4314
|
-
const de_InternalException = (output, context) => {
|
|
4315
|
-
return {
|
|
4316
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4317
|
-
};
|
|
4318
|
-
};
|
|
4319
|
-
const de_InvalidEventPatternException = (output, context) => {
|
|
4320
|
-
return {
|
|
4321
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4322
|
-
};
|
|
4323
|
-
};
|
|
4324
|
-
const de_InvalidStateException = (output, context) => {
|
|
4325
|
-
return {
|
|
4326
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4327
|
-
};
|
|
4328
|
-
};
|
|
4329
|
-
const de_KinesisParameters = (output, context) => {
|
|
4330
|
-
return {
|
|
4331
|
-
PartitionKeyPath: (0, smithy_client_1.expectString)(output.PartitionKeyPath),
|
|
4332
|
-
};
|
|
4333
|
-
};
|
|
4334
|
-
const de_LimitExceededException = (output, context) => {
|
|
4335
|
-
return {
|
|
4336
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4337
|
-
};
|
|
4338
|
-
};
|
|
4339
|
-
const de_ListApiDestinationsResponse = (output, context) => {
|
|
4340
|
-
return {
|
|
4341
|
-
ApiDestinations: output.ApiDestinations != null ? de_ApiDestinationResponseList(output.ApiDestinations, context) : undefined,
|
|
4342
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4343
|
-
};
|
|
4344
|
-
};
|
|
4345
|
-
const de_ListArchivesResponse = (output, context) => {
|
|
4346
|
-
return {
|
|
4347
|
-
Archives: output.Archives != null ? de_ArchiveResponseList(output.Archives, context) : undefined,
|
|
4348
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4349
|
-
};
|
|
4350
|
-
};
|
|
4351
|
-
const de_ListConnectionsResponse = (output, context) => {
|
|
4352
|
-
return {
|
|
4353
|
-
Connections: output.Connections != null ? de_ConnectionResponseList(output.Connections, context) : undefined,
|
|
4354
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4355
|
-
};
|
|
4356
|
-
};
|
|
4357
|
-
const de_ListEndpointsResponse = (output, context) => {
|
|
4358
|
-
return {
|
|
4359
|
-
Endpoints: output.Endpoints != null ? de_EndpointList(output.Endpoints, context) : undefined,
|
|
4360
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4361
|
-
};
|
|
4362
|
-
};
|
|
4363
|
-
const de_ListEventBusesResponse = (output, context) => {
|
|
4364
|
-
return {
|
|
4365
|
-
EventBuses: output.EventBuses != null ? de_EventBusList(output.EventBuses, context) : undefined,
|
|
4366
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4367
|
-
};
|
|
4368
|
-
};
|
|
4369
|
-
const de_ListEventSourcesResponse = (output, context) => {
|
|
4370
|
-
return {
|
|
4371
|
-
EventSources: output.EventSources != null ? de_EventSourceList(output.EventSources, context) : undefined,
|
|
4372
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4373
|
-
};
|
|
4374
|
-
};
|
|
4375
|
-
const de_ListPartnerEventSourceAccountsResponse = (output, context) => {
|
|
4376
|
-
return {
|
|
4377
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4378
|
-
PartnerEventSourceAccounts: output.PartnerEventSourceAccounts != null
|
|
4379
|
-
? de_PartnerEventSourceAccountList(output.PartnerEventSourceAccounts, context)
|
|
4380
|
-
: undefined,
|
|
4381
|
-
};
|
|
4382
|
-
};
|
|
4383
|
-
const de_ListPartnerEventSourcesResponse = (output, context) => {
|
|
4384
|
-
return {
|
|
4385
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4386
|
-
PartnerEventSources: output.PartnerEventSources != null ? de_PartnerEventSourceList(output.PartnerEventSources, context) : undefined,
|
|
4387
|
-
};
|
|
4388
|
-
};
|
|
4389
|
-
const de_ListReplaysResponse = (output, context) => {
|
|
4390
|
-
return {
|
|
4391
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4392
|
-
Replays: output.Replays != null ? de_ReplayList(output.Replays, context) : undefined,
|
|
4393
|
-
};
|
|
4394
|
-
};
|
|
4395
|
-
const de_ListRuleNamesByTargetResponse = (output, context) => {
|
|
4396
|
-
return {
|
|
4397
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4398
|
-
RuleNames: output.RuleNames != null ? de_RuleNameList(output.RuleNames, context) : undefined,
|
|
4399
|
-
};
|
|
4400
|
-
};
|
|
4401
|
-
const de_ListRulesResponse = (output, context) => {
|
|
4402
|
-
return {
|
|
4403
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4404
|
-
Rules: output.Rules != null ? de_RuleResponseList(output.Rules, context) : undefined,
|
|
4405
|
-
};
|
|
4406
|
-
};
|
|
4407
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
4408
|
-
return {
|
|
4409
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
4410
|
-
};
|
|
4411
|
-
};
|
|
4412
|
-
const de_ListTargetsByRuleResponse = (output, context) => {
|
|
4413
|
-
return {
|
|
4414
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4415
|
-
Targets: output.Targets != null ? de_TargetList(output.Targets, context) : undefined,
|
|
4416
|
-
};
|
|
4417
|
-
};
|
|
4418
|
-
const de_ManagedRuleException = (output, context) => {
|
|
4419
|
-
return {
|
|
4420
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4421
|
-
};
|
|
4422
|
-
};
|
|
4423
|
-
const de_NetworkConfiguration = (output, context) => {
|
|
4424
|
-
return {
|
|
4425
|
-
awsvpcConfiguration: output.awsvpcConfiguration != null ? de_AwsVpcConfiguration(output.awsvpcConfiguration, context) : undefined,
|
|
4426
|
-
};
|
|
4427
|
-
};
|
|
4428
|
-
const de_OperationDisabledException = (output, context) => {
|
|
4429
|
-
return {
|
|
4430
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4431
|
-
};
|
|
4432
|
-
};
|
|
4433
|
-
const de_PartnerEventSource = (output, context) => {
|
|
4434
|
-
return {
|
|
4435
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4436
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4437
|
-
};
|
|
4438
|
-
};
|
|
4439
|
-
const de_PartnerEventSourceAccount = (output, context) => {
|
|
4440
|
-
return {
|
|
4441
|
-
Account: (0, smithy_client_1.expectString)(output.Account),
|
|
4442
|
-
CreationTime: output.CreationTime != null
|
|
4443
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
4444
|
-
: undefined,
|
|
4445
|
-
ExpirationTime: output.ExpirationTime != null
|
|
4446
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpirationTime)))
|
|
4447
|
-
: undefined,
|
|
4448
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4449
|
-
};
|
|
4450
|
-
};
|
|
4451
|
-
const de_PartnerEventSourceAccountList = (output, context) => {
|
|
4452
|
-
const retVal = (output || [])
|
|
4453
|
-
.filter((e) => e != null)
|
|
4454
|
-
.map((entry) => {
|
|
4455
|
-
if (entry === null) {
|
|
4456
|
-
return null;
|
|
4457
|
-
}
|
|
4458
|
-
return de_PartnerEventSourceAccount(entry, context);
|
|
2679
|
+
const se_PutEventsRequest = (input, context) => {
|
|
2680
|
+
return (0, smithy_client_1.take)(input, {
|
|
2681
|
+
EndpointId: [],
|
|
2682
|
+
Entries: (_) => se_PutEventsRequestEntryList(_, context),
|
|
4459
2683
|
});
|
|
4460
|
-
return retVal;
|
|
4461
2684
|
};
|
|
4462
|
-
const
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
2685
|
+
const se_PutEventsRequestEntry = (input, context) => {
|
|
2686
|
+
return (0, smithy_client_1.take)(input, {
|
|
2687
|
+
Detail: [],
|
|
2688
|
+
DetailType: [],
|
|
2689
|
+
EventBusName: [],
|
|
2690
|
+
Resources: smithy_client_1._json,
|
|
2691
|
+
Source: [],
|
|
2692
|
+
Time: (_) => Math.round(_.getTime() / 1000),
|
|
2693
|
+
TraceHeader: [],
|
|
4470
2694
|
});
|
|
4471
|
-
return retVal;
|
|
4472
2695
|
};
|
|
4473
|
-
const
|
|
4474
|
-
|
|
2696
|
+
const se_PutEventsRequestEntryList = (input, context) => {
|
|
2697
|
+
return input
|
|
4475
2698
|
.filter((e) => e != null)
|
|
4476
2699
|
.map((entry) => {
|
|
4477
|
-
|
|
4478
|
-
return null;
|
|
4479
|
-
}
|
|
4480
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2700
|
+
return se_PutEventsRequestEntry(entry, context);
|
|
4481
2701
|
});
|
|
4482
|
-
return retVal;
|
|
4483
2702
|
};
|
|
4484
|
-
const
|
|
4485
|
-
return {
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
};
|
|
2703
|
+
const se_PutPartnerEventsRequest = (input, context) => {
|
|
2704
|
+
return (0, smithy_client_1.take)(input, {
|
|
2705
|
+
Entries: (_) => se_PutPartnerEventsRequestEntryList(_, context),
|
|
2706
|
+
});
|
|
4489
2707
|
};
|
|
4490
|
-
const
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
return de_PlacementConstraint(entry, context);
|
|
2708
|
+
const se_PutPartnerEventsRequestEntry = (input, context) => {
|
|
2709
|
+
return (0, smithy_client_1.take)(input, {
|
|
2710
|
+
Detail: [],
|
|
2711
|
+
DetailType: [],
|
|
2712
|
+
Resources: smithy_client_1._json,
|
|
2713
|
+
Source: [],
|
|
2714
|
+
Time: (_) => Math.round(_.getTime() / 1000),
|
|
4498
2715
|
});
|
|
4499
|
-
return retVal;
|
|
4500
2716
|
};
|
|
4501
|
-
const
|
|
4502
|
-
|
|
2717
|
+
const se_PutPartnerEventsRequestEntryList = (input, context) => {
|
|
2718
|
+
return input
|
|
4503
2719
|
.filter((e) => e != null)
|
|
4504
2720
|
.map((entry) => {
|
|
4505
|
-
|
|
4506
|
-
return null;
|
|
4507
|
-
}
|
|
4508
|
-
return de_PlacementStrategy(entry, context);
|
|
2721
|
+
return se_PutPartnerEventsRequestEntry(entry, context);
|
|
4509
2722
|
});
|
|
4510
|
-
return retVal;
|
|
4511
|
-
};
|
|
4512
|
-
const de_PlacementStrategy = (output, context) => {
|
|
4513
|
-
return {
|
|
4514
|
-
field: (0, smithy_client_1.expectString)(output.field),
|
|
4515
|
-
type: (0, smithy_client_1.expectString)(output.type),
|
|
4516
|
-
};
|
|
4517
|
-
};
|
|
4518
|
-
const de_PolicyLengthExceededException = (output, context) => {
|
|
4519
|
-
return {
|
|
4520
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
4521
|
-
};
|
|
4522
|
-
};
|
|
4523
|
-
const de_Primary = (output, context) => {
|
|
4524
|
-
return {
|
|
4525
|
-
HealthCheck: (0, smithy_client_1.expectString)(output.HealthCheck),
|
|
4526
|
-
};
|
|
4527
2723
|
};
|
|
4528
|
-
const
|
|
4529
|
-
return {
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
2724
|
+
const se_StartReplayRequest = (input, context) => {
|
|
2725
|
+
return (0, smithy_client_1.take)(input, {
|
|
2726
|
+
Description: [],
|
|
2727
|
+
Destination: smithy_client_1._json,
|
|
2728
|
+
EventEndTime: (_) => Math.round(_.getTime() / 1000),
|
|
2729
|
+
EventSourceArn: [],
|
|
2730
|
+
EventStartTime: (_) => Math.round(_.getTime() / 1000),
|
|
2731
|
+
ReplayName: [],
|
|
2732
|
+
});
|
|
4533
2733
|
};
|
|
4534
|
-
const
|
|
4535
|
-
return {
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
2734
|
+
const de_ApiDestination = (output, context) => {
|
|
2735
|
+
return (0, smithy_client_1.take)(output, {
|
|
2736
|
+
ApiDestinationArn: smithy_client_1.expectString,
|
|
2737
|
+
ApiDestinationState: smithy_client_1.expectString,
|
|
2738
|
+
ConnectionArn: smithy_client_1.expectString,
|
|
2739
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2740
|
+
HttpMethod: smithy_client_1.expectString,
|
|
2741
|
+
InvocationEndpoint: smithy_client_1.expectString,
|
|
2742
|
+
InvocationRateLimitPerSecond: smithy_client_1.expectInt32,
|
|
2743
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2744
|
+
Name: smithy_client_1.expectString,
|
|
2745
|
+
});
|
|
4540
2746
|
};
|
|
4541
|
-
const
|
|
2747
|
+
const de_ApiDestinationResponseList = (output, context) => {
|
|
4542
2748
|
const retVal = (output || [])
|
|
4543
2749
|
.filter((e) => e != null)
|
|
4544
2750
|
.map((entry) => {
|
|
4545
|
-
|
|
4546
|
-
return null;
|
|
4547
|
-
}
|
|
4548
|
-
return de_PutEventsResultEntry(entry, context);
|
|
2751
|
+
return de_ApiDestination(entry, context);
|
|
4549
2752
|
});
|
|
4550
2753
|
return retVal;
|
|
4551
2754
|
};
|
|
4552
|
-
const
|
|
4553
|
-
return {
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
};
|
|
2755
|
+
const de_Archive = (output, context) => {
|
|
2756
|
+
return (0, smithy_client_1.take)(output, {
|
|
2757
|
+
ArchiveName: smithy_client_1.expectString,
|
|
2758
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2759
|
+
EventCount: smithy_client_1.expectLong,
|
|
2760
|
+
EventSourceArn: smithy_client_1.expectString,
|
|
2761
|
+
RetentionDays: smithy_client_1.expectInt32,
|
|
2762
|
+
SizeBytes: smithy_client_1.expectLong,
|
|
2763
|
+
State: smithy_client_1.expectString,
|
|
2764
|
+
StateReason: smithy_client_1.expectString,
|
|
2765
|
+
});
|
|
4564
2766
|
};
|
|
4565
|
-
const
|
|
2767
|
+
const de_ArchiveResponseList = (output, context) => {
|
|
4566
2768
|
const retVal = (output || [])
|
|
4567
2769
|
.filter((e) => e != null)
|
|
4568
2770
|
.map((entry) => {
|
|
4569
|
-
|
|
4570
|
-
return null;
|
|
4571
|
-
}
|
|
4572
|
-
return de_PutPartnerEventsResultEntry(entry, context);
|
|
2771
|
+
return de_Archive(entry, context);
|
|
4573
2772
|
});
|
|
4574
2773
|
return retVal;
|
|
4575
2774
|
};
|
|
4576
|
-
const
|
|
4577
|
-
return {
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
};
|
|
4587
|
-
const de_PutTargetsResultEntry = (output, context) => {
|
|
4588
|
-
return {
|
|
4589
|
-
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
4590
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
4591
|
-
TargetId: (0, smithy_client_1.expectString)(output.TargetId),
|
|
4592
|
-
};
|
|
2775
|
+
const de_Connection = (output, context) => {
|
|
2776
|
+
return (0, smithy_client_1.take)(output, {
|
|
2777
|
+
AuthorizationType: smithy_client_1.expectString,
|
|
2778
|
+
ConnectionArn: smithy_client_1.expectString,
|
|
2779
|
+
ConnectionState: smithy_client_1.expectString,
|
|
2780
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2781
|
+
LastAuthorizedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2782
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2783
|
+
Name: smithy_client_1.expectString,
|
|
2784
|
+
StateReason: smithy_client_1.expectString,
|
|
2785
|
+
});
|
|
4593
2786
|
};
|
|
4594
|
-
const
|
|
2787
|
+
const de_ConnectionResponseList = (output, context) => {
|
|
4595
2788
|
const retVal = (output || [])
|
|
4596
2789
|
.filter((e) => e != null)
|
|
4597
2790
|
.map((entry) => {
|
|
4598
|
-
|
|
4599
|
-
return null;
|
|
4600
|
-
}
|
|
4601
|
-
return de_PutTargetsResultEntry(entry, context);
|
|
2791
|
+
return de_Connection(entry, context);
|
|
4602
2792
|
});
|
|
4603
2793
|
return retVal;
|
|
4604
2794
|
};
|
|
4605
|
-
const
|
|
4606
|
-
return
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
return acc;
|
|
4612
|
-
}, {});
|
|
4613
|
-
};
|
|
4614
|
-
const de_RedshiftDataParameters = (output, context) => {
|
|
4615
|
-
return {
|
|
4616
|
-
Database: (0, smithy_client_1.expectString)(output.Database),
|
|
4617
|
-
DbUser: (0, smithy_client_1.expectString)(output.DbUser),
|
|
4618
|
-
SecretManagerArn: (0, smithy_client_1.expectString)(output.SecretManagerArn),
|
|
4619
|
-
Sql: (0, smithy_client_1.expectString)(output.Sql),
|
|
4620
|
-
Sqls: output.Sqls != null ? de_Sqls(output.Sqls, context) : undefined,
|
|
4621
|
-
StatementName: (0, smithy_client_1.expectString)(output.StatementName),
|
|
4622
|
-
WithEvent: (0, smithy_client_1.expectBoolean)(output.WithEvent),
|
|
4623
|
-
};
|
|
4624
|
-
};
|
|
4625
|
-
const de_RemoveTargetsResponse = (output, context) => {
|
|
4626
|
-
return {
|
|
4627
|
-
FailedEntries: output.FailedEntries != null ? de_RemoveTargetsResultEntryList(output.FailedEntries, context) : undefined,
|
|
4628
|
-
FailedEntryCount: (0, smithy_client_1.expectInt32)(output.FailedEntryCount),
|
|
4629
|
-
};
|
|
4630
|
-
};
|
|
4631
|
-
const de_RemoveTargetsResultEntry = (output, context) => {
|
|
4632
|
-
return {
|
|
4633
|
-
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
4634
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
4635
|
-
TargetId: (0, smithy_client_1.expectString)(output.TargetId),
|
|
4636
|
-
};
|
|
4637
|
-
};
|
|
4638
|
-
const de_RemoveTargetsResultEntryList = (output, context) => {
|
|
4639
|
-
const retVal = (output || [])
|
|
4640
|
-
.filter((e) => e != null)
|
|
4641
|
-
.map((entry) => {
|
|
4642
|
-
if (entry === null) {
|
|
4643
|
-
return null;
|
|
4644
|
-
}
|
|
4645
|
-
return de_RemoveTargetsResultEntry(entry, context);
|
|
2795
|
+
const de_CreateApiDestinationResponse = (output, context) => {
|
|
2796
|
+
return (0, smithy_client_1.take)(output, {
|
|
2797
|
+
ApiDestinationArn: smithy_client_1.expectString,
|
|
2798
|
+
ApiDestinationState: smithy_client_1.expectString,
|
|
2799
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2800
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4646
2801
|
});
|
|
4647
|
-
return retVal;
|
|
4648
2802
|
};
|
|
4649
|
-
const
|
|
4650
|
-
return {
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
: undefined,
|
|
4657
|
-
EventSourceArn: (0, smithy_client_1.expectString)(output.EventSourceArn),
|
|
4658
|
-
EventStartTime: output.EventStartTime != null
|
|
4659
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EventStartTime)))
|
|
4660
|
-
: undefined,
|
|
4661
|
-
ReplayEndTime: output.ReplayEndTime != null
|
|
4662
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ReplayEndTime)))
|
|
4663
|
-
: undefined,
|
|
4664
|
-
ReplayName: (0, smithy_client_1.expectString)(output.ReplayName),
|
|
4665
|
-
ReplayStartTime: output.ReplayStartTime != null
|
|
4666
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ReplayStartTime)))
|
|
4667
|
-
: undefined,
|
|
4668
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4669
|
-
StateReason: (0, smithy_client_1.expectString)(output.StateReason),
|
|
4670
|
-
};
|
|
2803
|
+
const de_CreateArchiveResponse = (output, context) => {
|
|
2804
|
+
return (0, smithy_client_1.take)(output, {
|
|
2805
|
+
ArchiveArn: smithy_client_1.expectString,
|
|
2806
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2807
|
+
State: smithy_client_1.expectString,
|
|
2808
|
+
StateReason: smithy_client_1.expectString,
|
|
2809
|
+
});
|
|
4671
2810
|
};
|
|
4672
|
-
const
|
|
4673
|
-
return {
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
2811
|
+
const de_CreateConnectionResponse = (output, context) => {
|
|
2812
|
+
return (0, smithy_client_1.take)(output, {
|
|
2813
|
+
ConnectionArn: smithy_client_1.expectString,
|
|
2814
|
+
ConnectionState: smithy_client_1.expectString,
|
|
2815
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2816
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2817
|
+
});
|
|
4677
2818
|
};
|
|
4678
|
-
const
|
|
4679
|
-
|
|
4680
|
-
.
|
|
4681
|
-
.
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2819
|
+
const de_DeauthorizeConnectionResponse = (output, context) => {
|
|
2820
|
+
return (0, smithy_client_1.take)(output, {
|
|
2821
|
+
ConnectionArn: smithy_client_1.expectString,
|
|
2822
|
+
ConnectionState: smithy_client_1.expectString,
|
|
2823
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2824
|
+
LastAuthorizedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2825
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4686
2826
|
});
|
|
4687
|
-
return retVal;
|
|
4688
2827
|
};
|
|
4689
|
-
const
|
|
4690
|
-
|
|
4691
|
-
.
|
|
4692
|
-
.
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
return de_Replay(entry, context);
|
|
2828
|
+
const de_DeleteConnectionResponse = (output, context) => {
|
|
2829
|
+
return (0, smithy_client_1.take)(output, {
|
|
2830
|
+
ConnectionArn: smithy_client_1.expectString,
|
|
2831
|
+
ConnectionState: smithy_client_1.expectString,
|
|
2832
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2833
|
+
LastAuthorizedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2834
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4697
2835
|
});
|
|
4698
|
-
return retVal;
|
|
4699
2836
|
};
|
|
4700
|
-
const
|
|
4701
|
-
return {
|
|
4702
|
-
|
|
4703
|
-
|
|
2837
|
+
const de_DescribeApiDestinationResponse = (output, context) => {
|
|
2838
|
+
return (0, smithy_client_1.take)(output, {
|
|
2839
|
+
ApiDestinationArn: smithy_client_1.expectString,
|
|
2840
|
+
ApiDestinationState: smithy_client_1.expectString,
|
|
2841
|
+
ConnectionArn: smithy_client_1.expectString,
|
|
2842
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2843
|
+
Description: smithy_client_1.expectString,
|
|
2844
|
+
HttpMethod: smithy_client_1.expectString,
|
|
2845
|
+
InvocationEndpoint: smithy_client_1.expectString,
|
|
2846
|
+
InvocationRateLimitPerSecond: smithy_client_1.expectInt32,
|
|
2847
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2848
|
+
Name: smithy_client_1.expectString,
|
|
2849
|
+
});
|
|
4704
2850
|
};
|
|
4705
|
-
const
|
|
4706
|
-
return {
|
|
4707
|
-
|
|
4708
|
-
|
|
2851
|
+
const de_DescribeArchiveResponse = (output, context) => {
|
|
2852
|
+
return (0, smithy_client_1.take)(output, {
|
|
2853
|
+
ArchiveArn: smithy_client_1.expectString,
|
|
2854
|
+
ArchiveName: smithy_client_1.expectString,
|
|
2855
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2856
|
+
Description: smithy_client_1.expectString,
|
|
2857
|
+
EventCount: smithy_client_1.expectLong,
|
|
2858
|
+
EventPattern: smithy_client_1.expectString,
|
|
2859
|
+
EventSourceArn: smithy_client_1.expectString,
|
|
2860
|
+
RetentionDays: smithy_client_1.expectInt32,
|
|
2861
|
+
SizeBytes: smithy_client_1.expectLong,
|
|
2862
|
+
State: smithy_client_1.expectString,
|
|
2863
|
+
StateReason: smithy_client_1.expectString,
|
|
2864
|
+
});
|
|
4709
2865
|
};
|
|
4710
|
-
const
|
|
4711
|
-
return {
|
|
4712
|
-
|
|
4713
|
-
|
|
2866
|
+
const de_DescribeConnectionResponse = (output, context) => {
|
|
2867
|
+
return (0, smithy_client_1.take)(output, {
|
|
2868
|
+
AuthParameters: smithy_client_1._json,
|
|
2869
|
+
AuthorizationType: smithy_client_1.expectString,
|
|
2870
|
+
ConnectionArn: smithy_client_1.expectString,
|
|
2871
|
+
ConnectionState: smithy_client_1.expectString,
|
|
2872
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2873
|
+
Description: smithy_client_1.expectString,
|
|
2874
|
+
LastAuthorizedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2875
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2876
|
+
Name: smithy_client_1.expectString,
|
|
2877
|
+
SecretArn: smithy_client_1.expectString,
|
|
2878
|
+
StateReason: smithy_client_1.expectString,
|
|
2879
|
+
});
|
|
4714
2880
|
};
|
|
4715
|
-
const
|
|
4716
|
-
return {
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
2881
|
+
const de_DescribeEndpointResponse = (output, context) => {
|
|
2882
|
+
return (0, smithy_client_1.take)(output, {
|
|
2883
|
+
Arn: smithy_client_1.expectString,
|
|
2884
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2885
|
+
Description: smithy_client_1.expectString,
|
|
2886
|
+
EndpointId: smithy_client_1.expectString,
|
|
2887
|
+
EndpointUrl: smithy_client_1.expectString,
|
|
2888
|
+
EventBuses: smithy_client_1._json,
|
|
2889
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2890
|
+
Name: smithy_client_1.expectString,
|
|
2891
|
+
ReplicationConfig: smithy_client_1._json,
|
|
2892
|
+
RoleArn: smithy_client_1.expectString,
|
|
2893
|
+
RoutingConfig: smithy_client_1._json,
|
|
2894
|
+
State: smithy_client_1.expectString,
|
|
2895
|
+
StateReason: smithy_client_1.expectString,
|
|
2896
|
+
});
|
|
4720
2897
|
};
|
|
4721
|
-
const
|
|
4722
|
-
return {
|
|
4723
|
-
|
|
4724
|
-
|
|
2898
|
+
const de_DescribeEventSourceResponse = (output, context) => {
|
|
2899
|
+
return (0, smithy_client_1.take)(output, {
|
|
2900
|
+
Arn: smithy_client_1.expectString,
|
|
2901
|
+
CreatedBy: smithy_client_1.expectString,
|
|
2902
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2903
|
+
ExpirationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2904
|
+
Name: smithy_client_1.expectString,
|
|
2905
|
+
State: smithy_client_1.expectString,
|
|
2906
|
+
});
|
|
4725
2907
|
};
|
|
4726
|
-
const
|
|
4727
|
-
return {
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
2908
|
+
const de_DescribeReplayResponse = (output, context) => {
|
|
2909
|
+
return (0, smithy_client_1.take)(output, {
|
|
2910
|
+
Description: smithy_client_1.expectString,
|
|
2911
|
+
Destination: smithy_client_1._json,
|
|
2912
|
+
EventEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2913
|
+
EventLastReplayedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2914
|
+
EventSourceArn: smithy_client_1.expectString,
|
|
2915
|
+
EventStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2916
|
+
ReplayArn: smithy_client_1.expectString,
|
|
2917
|
+
ReplayEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2918
|
+
ReplayName: smithy_client_1.expectString,
|
|
2919
|
+
ReplayStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2920
|
+
State: smithy_client_1.expectString,
|
|
2921
|
+
StateReason: smithy_client_1.expectString,
|
|
2922
|
+
});
|
|
4738
2923
|
};
|
|
4739
|
-
const
|
|
4740
|
-
|
|
4741
|
-
.
|
|
4742
|
-
.
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
2924
|
+
const de_Endpoint = (output, context) => {
|
|
2925
|
+
return (0, smithy_client_1.take)(output, {
|
|
2926
|
+
Arn: smithy_client_1.expectString,
|
|
2927
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2928
|
+
Description: smithy_client_1.expectString,
|
|
2929
|
+
EndpointId: smithy_client_1.expectString,
|
|
2930
|
+
EndpointUrl: smithy_client_1.expectString,
|
|
2931
|
+
EventBuses: smithy_client_1._json,
|
|
2932
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2933
|
+
Name: smithy_client_1.expectString,
|
|
2934
|
+
ReplicationConfig: smithy_client_1._json,
|
|
2935
|
+
RoleArn: smithy_client_1.expectString,
|
|
2936
|
+
RoutingConfig: smithy_client_1._json,
|
|
2937
|
+
State: smithy_client_1.expectString,
|
|
2938
|
+
StateReason: smithy_client_1.expectString,
|
|
4747
2939
|
});
|
|
4748
|
-
return retVal;
|
|
4749
2940
|
};
|
|
4750
|
-
const
|
|
2941
|
+
const de_EndpointList = (output, context) => {
|
|
4751
2942
|
const retVal = (output || [])
|
|
4752
2943
|
.filter((e) => e != null)
|
|
4753
2944
|
.map((entry) => {
|
|
4754
|
-
|
|
4755
|
-
return null;
|
|
4756
|
-
}
|
|
4757
|
-
return de_Rule(entry, context);
|
|
2945
|
+
return de_Endpoint(entry, context);
|
|
4758
2946
|
});
|
|
4759
2947
|
return retVal;
|
|
4760
2948
|
};
|
|
4761
|
-
const
|
|
4762
|
-
return {
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
Values: output.Values != null ? de_RunCommandTargetValues(output.Values, context) : undefined,
|
|
4770
|
-
};
|
|
4771
|
-
};
|
|
4772
|
-
const de_RunCommandTargets = (output, context) => {
|
|
4773
|
-
const retVal = (output || [])
|
|
4774
|
-
.filter((e) => e != null)
|
|
4775
|
-
.map((entry) => {
|
|
4776
|
-
if (entry === null) {
|
|
4777
|
-
return null;
|
|
4778
|
-
}
|
|
4779
|
-
return de_RunCommandTarget(entry, context);
|
|
2949
|
+
const de_EventSource = (output, context) => {
|
|
2950
|
+
return (0, smithy_client_1.take)(output, {
|
|
2951
|
+
Arn: smithy_client_1.expectString,
|
|
2952
|
+
CreatedBy: smithy_client_1.expectString,
|
|
2953
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2954
|
+
ExpirationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2955
|
+
Name: smithy_client_1.expectString,
|
|
2956
|
+
State: smithy_client_1.expectString,
|
|
4780
2957
|
});
|
|
4781
|
-
return retVal;
|
|
4782
2958
|
};
|
|
4783
|
-
const
|
|
2959
|
+
const de_EventSourceList = (output, context) => {
|
|
4784
2960
|
const retVal = (output || [])
|
|
4785
2961
|
.filter((e) => e != null)
|
|
4786
2962
|
.map((entry) => {
|
|
4787
|
-
|
|
4788
|
-
return null;
|
|
4789
|
-
}
|
|
4790
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2963
|
+
return de_EventSource(entry, context);
|
|
4791
2964
|
});
|
|
4792
2965
|
return retVal;
|
|
4793
2966
|
};
|
|
4794
|
-
const
|
|
4795
|
-
return {
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
};
|
|
4799
|
-
};
|
|
4800
|
-
const de_SageMakerPipelineParameterList = (output, context) => {
|
|
4801
|
-
const retVal = (output || [])
|
|
4802
|
-
.filter((e) => e != null)
|
|
4803
|
-
.map((entry) => {
|
|
4804
|
-
if (entry === null) {
|
|
4805
|
-
return null;
|
|
4806
|
-
}
|
|
4807
|
-
return de_SageMakerPipelineParameter(entry, context);
|
|
2967
|
+
const de_ListApiDestinationsResponse = (output, context) => {
|
|
2968
|
+
return (0, smithy_client_1.take)(output, {
|
|
2969
|
+
ApiDestinations: (_) => de_ApiDestinationResponseList(_, context),
|
|
2970
|
+
NextToken: smithy_client_1.expectString,
|
|
4808
2971
|
});
|
|
4809
|
-
return retVal;
|
|
4810
2972
|
};
|
|
4811
|
-
const
|
|
4812
|
-
return {
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
};
|
|
2973
|
+
const de_ListArchivesResponse = (output, context) => {
|
|
2974
|
+
return (0, smithy_client_1.take)(output, {
|
|
2975
|
+
Archives: (_) => de_ArchiveResponseList(_, context),
|
|
2976
|
+
NextToken: smithy_client_1.expectString,
|
|
2977
|
+
});
|
|
4817
2978
|
};
|
|
4818
|
-
const
|
|
4819
|
-
return {
|
|
4820
|
-
|
|
4821
|
-
|
|
2979
|
+
const de_ListConnectionsResponse = (output, context) => {
|
|
2980
|
+
return (0, smithy_client_1.take)(output, {
|
|
2981
|
+
Connections: (_) => de_ConnectionResponseList(_, context),
|
|
2982
|
+
NextToken: smithy_client_1.expectString,
|
|
2983
|
+
});
|
|
4822
2984
|
};
|
|
4823
|
-
const
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
.
|
|
4827
|
-
if (entry === null) {
|
|
4828
|
-
return null;
|
|
4829
|
-
}
|
|
4830
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2985
|
+
const de_ListEndpointsResponse = (output, context) => {
|
|
2986
|
+
return (0, smithy_client_1.take)(output, {
|
|
2987
|
+
Endpoints: (_) => de_EndpointList(_, context),
|
|
2988
|
+
NextToken: smithy_client_1.expectString,
|
|
4831
2989
|
});
|
|
4832
|
-
return retVal;
|
|
4833
2990
|
};
|
|
4834
|
-
const
|
|
4835
|
-
return {
|
|
4836
|
-
|
|
4837
|
-
|
|
2991
|
+
const de_ListEventSourcesResponse = (output, context) => {
|
|
2992
|
+
return (0, smithy_client_1.take)(output, {
|
|
2993
|
+
EventSources: (_) => de_EventSourceList(_, context),
|
|
2994
|
+
NextToken: smithy_client_1.expectString,
|
|
2995
|
+
});
|
|
4838
2996
|
};
|
|
4839
|
-
const
|
|
4840
|
-
return {
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
: undefined,
|
|
4845
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4846
|
-
StateReason: (0, smithy_client_1.expectString)(output.StateReason),
|
|
4847
|
-
};
|
|
2997
|
+
const de_ListPartnerEventSourceAccountsResponse = (output, context) => {
|
|
2998
|
+
return (0, smithy_client_1.take)(output, {
|
|
2999
|
+
NextToken: smithy_client_1.expectString,
|
|
3000
|
+
PartnerEventSourceAccounts: (_) => de_PartnerEventSourceAccountList(_, context),
|
|
3001
|
+
});
|
|
4848
3002
|
};
|
|
4849
|
-
const
|
|
4850
|
-
|
|
4851
|
-
.
|
|
4852
|
-
|
|
4853
|
-
if (entry === null) {
|
|
4854
|
-
return null;
|
|
4855
|
-
}
|
|
4856
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3003
|
+
const de_ListReplaysResponse = (output, context) => {
|
|
3004
|
+
return (0, smithy_client_1.take)(output, {
|
|
3005
|
+
NextToken: smithy_client_1.expectString,
|
|
3006
|
+
Replays: (_) => de_ReplayList(_, context),
|
|
4857
3007
|
});
|
|
4858
|
-
return retVal;
|
|
4859
3008
|
};
|
|
4860
|
-
const
|
|
4861
|
-
return {
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
3009
|
+
const de_PartnerEventSourceAccount = (output, context) => {
|
|
3010
|
+
return (0, smithy_client_1.take)(output, {
|
|
3011
|
+
Account: smithy_client_1.expectString,
|
|
3012
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3013
|
+
ExpirationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3014
|
+
State: smithy_client_1.expectString,
|
|
3015
|
+
});
|
|
4865
3016
|
};
|
|
4866
|
-
const
|
|
3017
|
+
const de_PartnerEventSourceAccountList = (output, context) => {
|
|
4867
3018
|
const retVal = (output || [])
|
|
4868
3019
|
.filter((e) => e != null)
|
|
4869
3020
|
.map((entry) => {
|
|
4870
|
-
|
|
4871
|
-
return null;
|
|
4872
|
-
}
|
|
4873
|
-
return de_Tag(entry, context);
|
|
3021
|
+
return de_PartnerEventSourceAccount(entry, context);
|
|
4874
3022
|
});
|
|
4875
3023
|
return retVal;
|
|
4876
3024
|
};
|
|
4877
|
-
const
|
|
4878
|
-
return {
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
InputPath: (0, smithy_client_1.expectString)(output.InputPath),
|
|
4890
|
-
InputTransformer: output.InputTransformer != null ? de_InputTransformer(output.InputTransformer, context) : undefined,
|
|
4891
|
-
KinesisParameters: output.KinesisParameters != null ? de_KinesisParameters(output.KinesisParameters, context) : undefined,
|
|
4892
|
-
RedshiftDataParameters: output.RedshiftDataParameters != null
|
|
4893
|
-
? de_RedshiftDataParameters(output.RedshiftDataParameters, context)
|
|
4894
|
-
: undefined,
|
|
4895
|
-
RetryPolicy: output.RetryPolicy != null ? de_RetryPolicy(output.RetryPolicy, context) : undefined,
|
|
4896
|
-
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
4897
|
-
RunCommandParameters: output.RunCommandParameters != null ? de_RunCommandParameters(output.RunCommandParameters, context) : undefined,
|
|
4898
|
-
SageMakerPipelineParameters: output.SageMakerPipelineParameters != null
|
|
4899
|
-
? de_SageMakerPipelineParameters(output.SageMakerPipelineParameters, context)
|
|
4900
|
-
: undefined,
|
|
4901
|
-
SqsParameters: output.SqsParameters != null ? de_SqsParameters(output.SqsParameters, context) : undefined,
|
|
4902
|
-
};
|
|
3025
|
+
const de_Replay = (output, context) => {
|
|
3026
|
+
return (0, smithy_client_1.take)(output, {
|
|
3027
|
+
EventEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3028
|
+
EventLastReplayedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3029
|
+
EventSourceArn: smithy_client_1.expectString,
|
|
3030
|
+
EventStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3031
|
+
ReplayEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3032
|
+
ReplayName: smithy_client_1.expectString,
|
|
3033
|
+
ReplayStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3034
|
+
State: smithy_client_1.expectString,
|
|
3035
|
+
StateReason: smithy_client_1.expectString,
|
|
3036
|
+
});
|
|
4903
3037
|
};
|
|
4904
|
-
const
|
|
3038
|
+
const de_ReplayList = (output, context) => {
|
|
4905
3039
|
const retVal = (output || [])
|
|
4906
3040
|
.filter((e) => e != null)
|
|
4907
3041
|
.map((entry) => {
|
|
4908
|
-
|
|
4909
|
-
return null;
|
|
4910
|
-
}
|
|
4911
|
-
return de_Target(entry, context);
|
|
3042
|
+
return de_Replay(entry, context);
|
|
4912
3043
|
});
|
|
4913
3044
|
return retVal;
|
|
4914
3045
|
};
|
|
4915
|
-
const
|
|
4916
|
-
return {
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
if (value === null) {
|
|
4923
|
-
return acc;
|
|
4924
|
-
}
|
|
4925
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
4926
|
-
return acc;
|
|
4927
|
-
}, {});
|
|
4928
|
-
};
|
|
4929
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
4930
|
-
return {};
|
|
3046
|
+
const de_StartReplayResponse = (output, context) => {
|
|
3047
|
+
return (0, smithy_client_1.take)(output, {
|
|
3048
|
+
ReplayArn: smithy_client_1.expectString,
|
|
3049
|
+
ReplayStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3050
|
+
State: smithy_client_1.expectString,
|
|
3051
|
+
StateReason: smithy_client_1.expectString,
|
|
3052
|
+
});
|
|
4931
3053
|
};
|
|
4932
3054
|
const de_UpdateApiDestinationResponse = (output, context) => {
|
|
4933
|
-
return {
|
|
4934
|
-
ApiDestinationArn:
|
|
4935
|
-
ApiDestinationState:
|
|
4936
|
-
CreationTime:
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
LastModifiedTime: output.LastModifiedTime != null
|
|
4940
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
4941
|
-
: undefined,
|
|
4942
|
-
};
|
|
3055
|
+
return (0, smithy_client_1.take)(output, {
|
|
3056
|
+
ApiDestinationArn: smithy_client_1.expectString,
|
|
3057
|
+
ApiDestinationState: smithy_client_1.expectString,
|
|
3058
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3059
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3060
|
+
});
|
|
4943
3061
|
};
|
|
4944
3062
|
const de_UpdateArchiveResponse = (output, context) => {
|
|
4945
|
-
return {
|
|
4946
|
-
ArchiveArn:
|
|
4947
|
-
CreationTime:
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
StateReason: (0, smithy_client_1.expectString)(output.StateReason),
|
|
4952
|
-
};
|
|
3063
|
+
return (0, smithy_client_1.take)(output, {
|
|
3064
|
+
ArchiveArn: smithy_client_1.expectString,
|
|
3065
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3066
|
+
State: smithy_client_1.expectString,
|
|
3067
|
+
StateReason: smithy_client_1.expectString,
|
|
3068
|
+
});
|
|
4953
3069
|
};
|
|
4954
3070
|
const de_UpdateConnectionResponse = (output, context) => {
|
|
4955
|
-
return {
|
|
4956
|
-
ConnectionArn:
|
|
4957
|
-
ConnectionState:
|
|
4958
|
-
CreationTime:
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAuthorizedTime)))
|
|
4963
|
-
: undefined,
|
|
4964
|
-
LastModifiedTime: output.LastModifiedTime != null
|
|
4965
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
4966
|
-
: undefined,
|
|
4967
|
-
};
|
|
4968
|
-
};
|
|
4969
|
-
const de_UpdateEndpointResponse = (output, context) => {
|
|
4970
|
-
return {
|
|
4971
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4972
|
-
EndpointId: (0, smithy_client_1.expectString)(output.EndpointId),
|
|
4973
|
-
EndpointUrl: (0, smithy_client_1.expectString)(output.EndpointUrl),
|
|
4974
|
-
EventBuses: output.EventBuses != null ? de_EndpointEventBusList(output.EventBuses, context) : undefined,
|
|
4975
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4976
|
-
ReplicationConfig: output.ReplicationConfig != null ? de_ReplicationConfig(output.ReplicationConfig, context) : undefined,
|
|
4977
|
-
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
4978
|
-
RoutingConfig: output.RoutingConfig != null ? de_RoutingConfig(output.RoutingConfig, context) : undefined,
|
|
4979
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4980
|
-
};
|
|
3071
|
+
return (0, smithy_client_1.take)(output, {
|
|
3072
|
+
ConnectionArn: smithy_client_1.expectString,
|
|
3073
|
+
ConnectionState: smithy_client_1.expectString,
|
|
3074
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3075
|
+
LastAuthorizedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3076
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3077
|
+
});
|
|
4981
3078
|
};
|
|
4982
3079
|
const deserializeMetadata = (output) => ({
|
|
4983
3080
|
httpStatusCode: output.statusCode,
|
|
@@ -4992,6 +3089,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
4992
3089
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
4993
3090
|
};
|
|
4994
3091
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3092
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(EventBridgeServiceException_1.EventBridgeServiceException);
|
|
4995
3093
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
4996
3094
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
4997
3095
|
const contents = {
|