@aws-sdk/client-cloudtrail 3.310.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 +570 -2184
- package/dist-es/protocols/Aws_json1_1.js +571 -2185
- package/package.json +6 -6
|
@@ -7,442 +7,310 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const CloudTrailServiceException_1 = require("../models/CloudTrailServiceException");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
9
|
const se_AddTagsCommand = async (input, context) => {
|
|
10
|
-
const headers =
|
|
11
|
-
"content-type": "application/x-amz-json-1.1",
|
|
12
|
-
"x-amz-target": "CloudTrail_20131101.AddTags",
|
|
13
|
-
};
|
|
10
|
+
const headers = sharedHeaders("AddTags");
|
|
14
11
|
let body;
|
|
15
|
-
body = JSON.stringify(
|
|
12
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
16
13
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
14
|
};
|
|
18
15
|
exports.se_AddTagsCommand = se_AddTagsCommand;
|
|
19
16
|
const se_CancelQueryCommand = async (input, context) => {
|
|
20
|
-
const headers =
|
|
21
|
-
"content-type": "application/x-amz-json-1.1",
|
|
22
|
-
"x-amz-target": "CloudTrail_20131101.CancelQuery",
|
|
23
|
-
};
|
|
17
|
+
const headers = sharedHeaders("CancelQuery");
|
|
24
18
|
let body;
|
|
25
|
-
body = JSON.stringify(
|
|
19
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
26
20
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
27
21
|
};
|
|
28
22
|
exports.se_CancelQueryCommand = se_CancelQueryCommand;
|
|
29
23
|
const se_CreateChannelCommand = async (input, context) => {
|
|
30
|
-
const headers =
|
|
31
|
-
"content-type": "application/x-amz-json-1.1",
|
|
32
|
-
"x-amz-target": "CloudTrail_20131101.CreateChannel",
|
|
33
|
-
};
|
|
24
|
+
const headers = sharedHeaders("CreateChannel");
|
|
34
25
|
let body;
|
|
35
|
-
body = JSON.stringify(
|
|
26
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
36
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
37
28
|
};
|
|
38
29
|
exports.se_CreateChannelCommand = se_CreateChannelCommand;
|
|
39
30
|
const se_CreateEventDataStoreCommand = async (input, context) => {
|
|
40
|
-
const headers =
|
|
41
|
-
"content-type": "application/x-amz-json-1.1",
|
|
42
|
-
"x-amz-target": "CloudTrail_20131101.CreateEventDataStore",
|
|
43
|
-
};
|
|
31
|
+
const headers = sharedHeaders("CreateEventDataStore");
|
|
44
32
|
let body;
|
|
45
|
-
body = JSON.stringify(
|
|
33
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
46
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
35
|
};
|
|
48
36
|
exports.se_CreateEventDataStoreCommand = se_CreateEventDataStoreCommand;
|
|
49
37
|
const se_CreateTrailCommand = async (input, context) => {
|
|
50
|
-
const headers =
|
|
51
|
-
"content-type": "application/x-amz-json-1.1",
|
|
52
|
-
"x-amz-target": "CloudTrail_20131101.CreateTrail",
|
|
53
|
-
};
|
|
38
|
+
const headers = sharedHeaders("CreateTrail");
|
|
54
39
|
let body;
|
|
55
|
-
body = JSON.stringify(
|
|
40
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
56
41
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
57
42
|
};
|
|
58
43
|
exports.se_CreateTrailCommand = se_CreateTrailCommand;
|
|
59
44
|
const se_DeleteChannelCommand = async (input, context) => {
|
|
60
|
-
const headers =
|
|
61
|
-
"content-type": "application/x-amz-json-1.1",
|
|
62
|
-
"x-amz-target": "CloudTrail_20131101.DeleteChannel",
|
|
63
|
-
};
|
|
45
|
+
const headers = sharedHeaders("DeleteChannel");
|
|
64
46
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
66
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
49
|
};
|
|
68
50
|
exports.se_DeleteChannelCommand = se_DeleteChannelCommand;
|
|
69
51
|
const se_DeleteEventDataStoreCommand = async (input, context) => {
|
|
70
|
-
const headers =
|
|
71
|
-
"content-type": "application/x-amz-json-1.1",
|
|
72
|
-
"x-amz-target": "CloudTrail_20131101.DeleteEventDataStore",
|
|
73
|
-
};
|
|
52
|
+
const headers = sharedHeaders("DeleteEventDataStore");
|
|
74
53
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
54
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
76
55
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
56
|
};
|
|
78
57
|
exports.se_DeleteEventDataStoreCommand = se_DeleteEventDataStoreCommand;
|
|
79
58
|
const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
80
|
-
const headers =
|
|
81
|
-
"content-type": "application/x-amz-json-1.1",
|
|
82
|
-
"x-amz-target": "CloudTrail_20131101.DeleteResourcePolicy",
|
|
83
|
-
};
|
|
59
|
+
const headers = sharedHeaders("DeleteResourcePolicy");
|
|
84
60
|
let body;
|
|
85
|
-
body = JSON.stringify(
|
|
61
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
86
62
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
87
63
|
};
|
|
88
64
|
exports.se_DeleteResourcePolicyCommand = se_DeleteResourcePolicyCommand;
|
|
89
65
|
const se_DeleteTrailCommand = async (input, context) => {
|
|
90
|
-
const headers =
|
|
91
|
-
"content-type": "application/x-amz-json-1.1",
|
|
92
|
-
"x-amz-target": "CloudTrail_20131101.DeleteTrail",
|
|
93
|
-
};
|
|
66
|
+
const headers = sharedHeaders("DeleteTrail");
|
|
94
67
|
let body;
|
|
95
|
-
body = JSON.stringify(
|
|
68
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
96
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
97
70
|
};
|
|
98
71
|
exports.se_DeleteTrailCommand = se_DeleteTrailCommand;
|
|
99
72
|
const se_DeregisterOrganizationDelegatedAdminCommand = async (input, context) => {
|
|
100
|
-
const headers =
|
|
101
|
-
"content-type": "application/x-amz-json-1.1",
|
|
102
|
-
"x-amz-target": "CloudTrail_20131101.DeregisterOrganizationDelegatedAdmin",
|
|
103
|
-
};
|
|
73
|
+
const headers = sharedHeaders("DeregisterOrganizationDelegatedAdmin");
|
|
104
74
|
let body;
|
|
105
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
106
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
77
|
};
|
|
108
78
|
exports.se_DeregisterOrganizationDelegatedAdminCommand = se_DeregisterOrganizationDelegatedAdminCommand;
|
|
109
79
|
const se_DescribeQueryCommand = async (input, context) => {
|
|
110
|
-
const headers =
|
|
111
|
-
"content-type": "application/x-amz-json-1.1",
|
|
112
|
-
"x-amz-target": "CloudTrail_20131101.DescribeQuery",
|
|
113
|
-
};
|
|
80
|
+
const headers = sharedHeaders("DescribeQuery");
|
|
114
81
|
let body;
|
|
115
|
-
body = JSON.stringify(
|
|
82
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
116
83
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
117
84
|
};
|
|
118
85
|
exports.se_DescribeQueryCommand = se_DescribeQueryCommand;
|
|
119
86
|
const se_DescribeTrailsCommand = async (input, context) => {
|
|
120
|
-
const headers =
|
|
121
|
-
"content-type": "application/x-amz-json-1.1",
|
|
122
|
-
"x-amz-target": "CloudTrail_20131101.DescribeTrails",
|
|
123
|
-
};
|
|
87
|
+
const headers = sharedHeaders("DescribeTrails");
|
|
124
88
|
let body;
|
|
125
|
-
body = JSON.stringify(
|
|
89
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
126
90
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
127
91
|
};
|
|
128
92
|
exports.se_DescribeTrailsCommand = se_DescribeTrailsCommand;
|
|
129
93
|
const se_GetChannelCommand = async (input, context) => {
|
|
130
|
-
const headers =
|
|
131
|
-
"content-type": "application/x-amz-json-1.1",
|
|
132
|
-
"x-amz-target": "CloudTrail_20131101.GetChannel",
|
|
133
|
-
};
|
|
94
|
+
const headers = sharedHeaders("GetChannel");
|
|
134
95
|
let body;
|
|
135
|
-
body = JSON.stringify(
|
|
96
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
136
97
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
98
|
};
|
|
138
99
|
exports.se_GetChannelCommand = se_GetChannelCommand;
|
|
139
100
|
const se_GetEventDataStoreCommand = async (input, context) => {
|
|
140
|
-
const headers =
|
|
141
|
-
"content-type": "application/x-amz-json-1.1",
|
|
142
|
-
"x-amz-target": "CloudTrail_20131101.GetEventDataStore",
|
|
143
|
-
};
|
|
101
|
+
const headers = sharedHeaders("GetEventDataStore");
|
|
144
102
|
let body;
|
|
145
|
-
body = JSON.stringify(
|
|
103
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
146
104
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
147
105
|
};
|
|
148
106
|
exports.se_GetEventDataStoreCommand = se_GetEventDataStoreCommand;
|
|
149
107
|
const se_GetEventSelectorsCommand = async (input, context) => {
|
|
150
|
-
const headers =
|
|
151
|
-
"content-type": "application/x-amz-json-1.1",
|
|
152
|
-
"x-amz-target": "CloudTrail_20131101.GetEventSelectors",
|
|
153
|
-
};
|
|
108
|
+
const headers = sharedHeaders("GetEventSelectors");
|
|
154
109
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
156
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
112
|
};
|
|
158
113
|
exports.se_GetEventSelectorsCommand = se_GetEventSelectorsCommand;
|
|
159
114
|
const se_GetImportCommand = async (input, context) => {
|
|
160
|
-
const headers =
|
|
161
|
-
"content-type": "application/x-amz-json-1.1",
|
|
162
|
-
"x-amz-target": "CloudTrail_20131101.GetImport",
|
|
163
|
-
};
|
|
115
|
+
const headers = sharedHeaders("GetImport");
|
|
164
116
|
let body;
|
|
165
|
-
body = JSON.stringify(
|
|
117
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
166
118
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
119
|
};
|
|
168
120
|
exports.se_GetImportCommand = se_GetImportCommand;
|
|
169
121
|
const se_GetInsightSelectorsCommand = async (input, context) => {
|
|
170
|
-
const headers =
|
|
171
|
-
"content-type": "application/x-amz-json-1.1",
|
|
172
|
-
"x-amz-target": "CloudTrail_20131101.GetInsightSelectors",
|
|
173
|
-
};
|
|
122
|
+
const headers = sharedHeaders("GetInsightSelectors");
|
|
174
123
|
let body;
|
|
175
|
-
body = JSON.stringify(
|
|
124
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
176
125
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
177
126
|
};
|
|
178
127
|
exports.se_GetInsightSelectorsCommand = se_GetInsightSelectorsCommand;
|
|
179
128
|
const se_GetQueryResultsCommand = async (input, context) => {
|
|
180
|
-
const headers =
|
|
181
|
-
"content-type": "application/x-amz-json-1.1",
|
|
182
|
-
"x-amz-target": "CloudTrail_20131101.GetQueryResults",
|
|
183
|
-
};
|
|
129
|
+
const headers = sharedHeaders("GetQueryResults");
|
|
184
130
|
let body;
|
|
185
|
-
body = JSON.stringify(
|
|
131
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
186
132
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
187
133
|
};
|
|
188
134
|
exports.se_GetQueryResultsCommand = se_GetQueryResultsCommand;
|
|
189
135
|
const se_GetResourcePolicyCommand = async (input, context) => {
|
|
190
|
-
const headers =
|
|
191
|
-
"content-type": "application/x-amz-json-1.1",
|
|
192
|
-
"x-amz-target": "CloudTrail_20131101.GetResourcePolicy",
|
|
193
|
-
};
|
|
136
|
+
const headers = sharedHeaders("GetResourcePolicy");
|
|
194
137
|
let body;
|
|
195
|
-
body = JSON.stringify(
|
|
138
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
196
139
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
140
|
};
|
|
198
141
|
exports.se_GetResourcePolicyCommand = se_GetResourcePolicyCommand;
|
|
199
142
|
const se_GetTrailCommand = async (input, context) => {
|
|
200
|
-
const headers =
|
|
201
|
-
"content-type": "application/x-amz-json-1.1",
|
|
202
|
-
"x-amz-target": "CloudTrail_20131101.GetTrail",
|
|
203
|
-
};
|
|
143
|
+
const headers = sharedHeaders("GetTrail");
|
|
204
144
|
let body;
|
|
205
|
-
body = JSON.stringify(
|
|
145
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
206
146
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
207
147
|
};
|
|
208
148
|
exports.se_GetTrailCommand = se_GetTrailCommand;
|
|
209
149
|
const se_GetTrailStatusCommand = async (input, context) => {
|
|
210
|
-
const headers =
|
|
211
|
-
"content-type": "application/x-amz-json-1.1",
|
|
212
|
-
"x-amz-target": "CloudTrail_20131101.GetTrailStatus",
|
|
213
|
-
};
|
|
150
|
+
const headers = sharedHeaders("GetTrailStatus");
|
|
214
151
|
let body;
|
|
215
|
-
body = JSON.stringify(
|
|
152
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
216
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
154
|
};
|
|
218
155
|
exports.se_GetTrailStatusCommand = se_GetTrailStatusCommand;
|
|
219
156
|
const se_ListChannelsCommand = async (input, context) => {
|
|
220
|
-
const headers =
|
|
221
|
-
"content-type": "application/x-amz-json-1.1",
|
|
222
|
-
"x-amz-target": "CloudTrail_20131101.ListChannels",
|
|
223
|
-
};
|
|
157
|
+
const headers = sharedHeaders("ListChannels");
|
|
224
158
|
let body;
|
|
225
|
-
body = JSON.stringify(
|
|
159
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
226
160
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
161
|
};
|
|
228
162
|
exports.se_ListChannelsCommand = se_ListChannelsCommand;
|
|
229
163
|
const se_ListEventDataStoresCommand = async (input, context) => {
|
|
230
|
-
const headers =
|
|
231
|
-
"content-type": "application/x-amz-json-1.1",
|
|
232
|
-
"x-amz-target": "CloudTrail_20131101.ListEventDataStores",
|
|
233
|
-
};
|
|
164
|
+
const headers = sharedHeaders("ListEventDataStores");
|
|
234
165
|
let body;
|
|
235
|
-
body = JSON.stringify(
|
|
166
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
236
167
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
237
168
|
};
|
|
238
169
|
exports.se_ListEventDataStoresCommand = se_ListEventDataStoresCommand;
|
|
239
170
|
const se_ListImportFailuresCommand = async (input, context) => {
|
|
240
|
-
const headers =
|
|
241
|
-
"content-type": "application/x-amz-json-1.1",
|
|
242
|
-
"x-amz-target": "CloudTrail_20131101.ListImportFailures",
|
|
243
|
-
};
|
|
171
|
+
const headers = sharedHeaders("ListImportFailures");
|
|
244
172
|
let body;
|
|
245
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
246
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
175
|
};
|
|
248
176
|
exports.se_ListImportFailuresCommand = se_ListImportFailuresCommand;
|
|
249
177
|
const se_ListImportsCommand = async (input, context) => {
|
|
250
|
-
const headers =
|
|
251
|
-
"content-type": "application/x-amz-json-1.1",
|
|
252
|
-
"x-amz-target": "CloudTrail_20131101.ListImports",
|
|
253
|
-
};
|
|
178
|
+
const headers = sharedHeaders("ListImports");
|
|
254
179
|
let body;
|
|
255
|
-
body = JSON.stringify(
|
|
180
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
256
181
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
182
|
};
|
|
258
183
|
exports.se_ListImportsCommand = se_ListImportsCommand;
|
|
259
184
|
const se_ListPublicKeysCommand = async (input, context) => {
|
|
260
|
-
const headers =
|
|
261
|
-
"content-type": "application/x-amz-json-1.1",
|
|
262
|
-
"x-amz-target": "CloudTrail_20131101.ListPublicKeys",
|
|
263
|
-
};
|
|
185
|
+
const headers = sharedHeaders("ListPublicKeys");
|
|
264
186
|
let body;
|
|
265
187
|
body = JSON.stringify(se_ListPublicKeysRequest(input, context));
|
|
266
188
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
267
189
|
};
|
|
268
190
|
exports.se_ListPublicKeysCommand = se_ListPublicKeysCommand;
|
|
269
191
|
const se_ListQueriesCommand = async (input, context) => {
|
|
270
|
-
const headers =
|
|
271
|
-
"content-type": "application/x-amz-json-1.1",
|
|
272
|
-
"x-amz-target": "CloudTrail_20131101.ListQueries",
|
|
273
|
-
};
|
|
192
|
+
const headers = sharedHeaders("ListQueries");
|
|
274
193
|
let body;
|
|
275
194
|
body = JSON.stringify(se_ListQueriesRequest(input, context));
|
|
276
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
277
196
|
};
|
|
278
197
|
exports.se_ListQueriesCommand = se_ListQueriesCommand;
|
|
279
198
|
const se_ListTagsCommand = async (input, context) => {
|
|
280
|
-
const headers =
|
|
281
|
-
"content-type": "application/x-amz-json-1.1",
|
|
282
|
-
"x-amz-target": "CloudTrail_20131101.ListTags",
|
|
283
|
-
};
|
|
199
|
+
const headers = sharedHeaders("ListTags");
|
|
284
200
|
let body;
|
|
285
|
-
body = JSON.stringify(
|
|
201
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
286
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
203
|
};
|
|
288
204
|
exports.se_ListTagsCommand = se_ListTagsCommand;
|
|
289
205
|
const se_ListTrailsCommand = async (input, context) => {
|
|
290
|
-
const headers =
|
|
291
|
-
"content-type": "application/x-amz-json-1.1",
|
|
292
|
-
"x-amz-target": "CloudTrail_20131101.ListTrails",
|
|
293
|
-
};
|
|
206
|
+
const headers = sharedHeaders("ListTrails");
|
|
294
207
|
let body;
|
|
295
|
-
body = JSON.stringify(
|
|
208
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
296
209
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
297
210
|
};
|
|
298
211
|
exports.se_ListTrailsCommand = se_ListTrailsCommand;
|
|
299
212
|
const se_LookupEventsCommand = async (input, context) => {
|
|
300
|
-
const headers =
|
|
301
|
-
"content-type": "application/x-amz-json-1.1",
|
|
302
|
-
"x-amz-target": "CloudTrail_20131101.LookupEvents",
|
|
303
|
-
};
|
|
213
|
+
const headers = sharedHeaders("LookupEvents");
|
|
304
214
|
let body;
|
|
305
215
|
body = JSON.stringify(se_LookupEventsRequest(input, context));
|
|
306
216
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
307
217
|
};
|
|
308
218
|
exports.se_LookupEventsCommand = se_LookupEventsCommand;
|
|
309
219
|
const se_PutEventSelectorsCommand = async (input, context) => {
|
|
310
|
-
const headers =
|
|
311
|
-
"content-type": "application/x-amz-json-1.1",
|
|
312
|
-
"x-amz-target": "CloudTrail_20131101.PutEventSelectors",
|
|
313
|
-
};
|
|
220
|
+
const headers = sharedHeaders("PutEventSelectors");
|
|
314
221
|
let body;
|
|
315
|
-
body = JSON.stringify(
|
|
222
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
316
223
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
317
224
|
};
|
|
318
225
|
exports.se_PutEventSelectorsCommand = se_PutEventSelectorsCommand;
|
|
319
226
|
const se_PutInsightSelectorsCommand = async (input, context) => {
|
|
320
|
-
const headers =
|
|
321
|
-
"content-type": "application/x-amz-json-1.1",
|
|
322
|
-
"x-amz-target": "CloudTrail_20131101.PutInsightSelectors",
|
|
323
|
-
};
|
|
227
|
+
const headers = sharedHeaders("PutInsightSelectors");
|
|
324
228
|
let body;
|
|
325
|
-
body = JSON.stringify(
|
|
229
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
326
230
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
327
231
|
};
|
|
328
232
|
exports.se_PutInsightSelectorsCommand = se_PutInsightSelectorsCommand;
|
|
329
233
|
const se_PutResourcePolicyCommand = async (input, context) => {
|
|
330
|
-
const headers =
|
|
331
|
-
"content-type": "application/x-amz-json-1.1",
|
|
332
|
-
"x-amz-target": "CloudTrail_20131101.PutResourcePolicy",
|
|
333
|
-
};
|
|
234
|
+
const headers = sharedHeaders("PutResourcePolicy");
|
|
334
235
|
let body;
|
|
335
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
336
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
337
238
|
};
|
|
338
239
|
exports.se_PutResourcePolicyCommand = se_PutResourcePolicyCommand;
|
|
339
240
|
const se_RegisterOrganizationDelegatedAdminCommand = async (input, context) => {
|
|
340
|
-
const headers =
|
|
341
|
-
"content-type": "application/x-amz-json-1.1",
|
|
342
|
-
"x-amz-target": "CloudTrail_20131101.RegisterOrganizationDelegatedAdmin",
|
|
343
|
-
};
|
|
241
|
+
const headers = sharedHeaders("RegisterOrganizationDelegatedAdmin");
|
|
344
242
|
let body;
|
|
345
|
-
body = JSON.stringify(
|
|
243
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
346
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
347
245
|
};
|
|
348
246
|
exports.se_RegisterOrganizationDelegatedAdminCommand = se_RegisterOrganizationDelegatedAdminCommand;
|
|
349
247
|
const se_RemoveTagsCommand = async (input, context) => {
|
|
350
|
-
const headers =
|
|
351
|
-
"content-type": "application/x-amz-json-1.1",
|
|
352
|
-
"x-amz-target": "CloudTrail_20131101.RemoveTags",
|
|
353
|
-
};
|
|
248
|
+
const headers = sharedHeaders("RemoveTags");
|
|
354
249
|
let body;
|
|
355
|
-
body = JSON.stringify(
|
|
250
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
356
251
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
357
252
|
};
|
|
358
253
|
exports.se_RemoveTagsCommand = se_RemoveTagsCommand;
|
|
359
254
|
const se_RestoreEventDataStoreCommand = async (input, context) => {
|
|
360
|
-
const headers =
|
|
361
|
-
"content-type": "application/x-amz-json-1.1",
|
|
362
|
-
"x-amz-target": "CloudTrail_20131101.RestoreEventDataStore",
|
|
363
|
-
};
|
|
255
|
+
const headers = sharedHeaders("RestoreEventDataStore");
|
|
364
256
|
let body;
|
|
365
|
-
body = JSON.stringify(
|
|
257
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
366
258
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
367
259
|
};
|
|
368
260
|
exports.se_RestoreEventDataStoreCommand = se_RestoreEventDataStoreCommand;
|
|
369
261
|
const se_StartImportCommand = async (input, context) => {
|
|
370
|
-
const headers =
|
|
371
|
-
"content-type": "application/x-amz-json-1.1",
|
|
372
|
-
"x-amz-target": "CloudTrail_20131101.StartImport",
|
|
373
|
-
};
|
|
262
|
+
const headers = sharedHeaders("StartImport");
|
|
374
263
|
let body;
|
|
375
264
|
body = JSON.stringify(se_StartImportRequest(input, context));
|
|
376
265
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
377
266
|
};
|
|
378
267
|
exports.se_StartImportCommand = se_StartImportCommand;
|
|
379
268
|
const se_StartLoggingCommand = async (input, context) => {
|
|
380
|
-
const headers =
|
|
381
|
-
"content-type": "application/x-amz-json-1.1",
|
|
382
|
-
"x-amz-target": "CloudTrail_20131101.StartLogging",
|
|
383
|
-
};
|
|
269
|
+
const headers = sharedHeaders("StartLogging");
|
|
384
270
|
let body;
|
|
385
|
-
body = JSON.stringify(
|
|
271
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
386
272
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
387
273
|
};
|
|
388
274
|
exports.se_StartLoggingCommand = se_StartLoggingCommand;
|
|
389
275
|
const se_StartQueryCommand = async (input, context) => {
|
|
390
|
-
const headers =
|
|
391
|
-
"content-type": "application/x-amz-json-1.1",
|
|
392
|
-
"x-amz-target": "CloudTrail_20131101.StartQuery",
|
|
393
|
-
};
|
|
276
|
+
const headers = sharedHeaders("StartQuery");
|
|
394
277
|
let body;
|
|
395
|
-
body = JSON.stringify(
|
|
278
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
396
279
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
397
280
|
};
|
|
398
281
|
exports.se_StartQueryCommand = se_StartQueryCommand;
|
|
399
282
|
const se_StopImportCommand = async (input, context) => {
|
|
400
|
-
const headers =
|
|
401
|
-
"content-type": "application/x-amz-json-1.1",
|
|
402
|
-
"x-amz-target": "CloudTrail_20131101.StopImport",
|
|
403
|
-
};
|
|
283
|
+
const headers = sharedHeaders("StopImport");
|
|
404
284
|
let body;
|
|
405
|
-
body = JSON.stringify(
|
|
285
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
406
286
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
407
287
|
};
|
|
408
288
|
exports.se_StopImportCommand = se_StopImportCommand;
|
|
409
289
|
const se_StopLoggingCommand = async (input, context) => {
|
|
410
|
-
const headers =
|
|
411
|
-
"content-type": "application/x-amz-json-1.1",
|
|
412
|
-
"x-amz-target": "CloudTrail_20131101.StopLogging",
|
|
413
|
-
};
|
|
290
|
+
const headers = sharedHeaders("StopLogging");
|
|
414
291
|
let body;
|
|
415
|
-
body = JSON.stringify(
|
|
292
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
416
293
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
417
294
|
};
|
|
418
295
|
exports.se_StopLoggingCommand = se_StopLoggingCommand;
|
|
419
296
|
const se_UpdateChannelCommand = async (input, context) => {
|
|
420
|
-
const headers =
|
|
421
|
-
"content-type": "application/x-amz-json-1.1",
|
|
422
|
-
"x-amz-target": "CloudTrail_20131101.UpdateChannel",
|
|
423
|
-
};
|
|
297
|
+
const headers = sharedHeaders("UpdateChannel");
|
|
424
298
|
let body;
|
|
425
|
-
body = JSON.stringify(
|
|
299
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
426
300
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
427
301
|
};
|
|
428
302
|
exports.se_UpdateChannelCommand = se_UpdateChannelCommand;
|
|
429
303
|
const se_UpdateEventDataStoreCommand = async (input, context) => {
|
|
430
|
-
const headers =
|
|
431
|
-
"content-type": "application/x-amz-json-1.1",
|
|
432
|
-
"x-amz-target": "CloudTrail_20131101.UpdateEventDataStore",
|
|
433
|
-
};
|
|
304
|
+
const headers = sharedHeaders("UpdateEventDataStore");
|
|
434
305
|
let body;
|
|
435
|
-
body = JSON.stringify(
|
|
306
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
436
307
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
437
308
|
};
|
|
438
309
|
exports.se_UpdateEventDataStoreCommand = se_UpdateEventDataStoreCommand;
|
|
439
310
|
const se_UpdateTrailCommand = async (input, context) => {
|
|
440
|
-
const headers =
|
|
441
|
-
"content-type": "application/x-amz-json-1.1",
|
|
442
|
-
"x-amz-target": "CloudTrail_20131101.UpdateTrail",
|
|
443
|
-
};
|
|
311
|
+
const headers = sharedHeaders("UpdateTrail");
|
|
444
312
|
let body;
|
|
445
|
-
body = JSON.stringify(
|
|
313
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
446
314
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
447
315
|
};
|
|
448
316
|
exports.se_UpdateTrailCommand = se_UpdateTrailCommand;
|
|
@@ -452,12 +320,12 @@ const de_AddTagsCommand = async (output, context) => {
|
|
|
452
320
|
}
|
|
453
321
|
const data = await parseBody(output.body, context);
|
|
454
322
|
let contents = {};
|
|
455
|
-
contents =
|
|
323
|
+
contents = (0, smithy_client_1._json)(data);
|
|
456
324
|
const response = {
|
|
457
325
|
$metadata: deserializeMetadata(output),
|
|
458
326
|
...contents,
|
|
459
327
|
};
|
|
460
|
-
return
|
|
328
|
+
return response;
|
|
461
329
|
};
|
|
462
330
|
exports.de_AddTagsCommand = de_AddTagsCommand;
|
|
463
331
|
const de_AddTagsCommandError = async (output, context) => {
|
|
@@ -511,10 +379,9 @@ const de_AddTagsCommandError = async (output, context) => {
|
|
|
511
379
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
512
380
|
default:
|
|
513
381
|
const parsedBody = parsedOutput.body;
|
|
514
|
-
|
|
382
|
+
return throwDefaultError({
|
|
515
383
|
output,
|
|
516
384
|
parsedBody,
|
|
517
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
518
385
|
errorCode,
|
|
519
386
|
});
|
|
520
387
|
}
|
|
@@ -525,12 +392,12 @@ const de_CancelQueryCommand = async (output, context) => {
|
|
|
525
392
|
}
|
|
526
393
|
const data = await parseBody(output.body, context);
|
|
527
394
|
let contents = {};
|
|
528
|
-
contents =
|
|
395
|
+
contents = (0, smithy_client_1._json)(data);
|
|
529
396
|
const response = {
|
|
530
397
|
$metadata: deserializeMetadata(output),
|
|
531
398
|
...contents,
|
|
532
399
|
};
|
|
533
|
-
return
|
|
400
|
+
return response;
|
|
534
401
|
};
|
|
535
402
|
exports.de_CancelQueryCommand = de_CancelQueryCommand;
|
|
536
403
|
const de_CancelQueryCommandError = async (output, context) => {
|
|
@@ -572,10 +439,9 @@ const de_CancelQueryCommandError = async (output, context) => {
|
|
|
572
439
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
573
440
|
default:
|
|
574
441
|
const parsedBody = parsedOutput.body;
|
|
575
|
-
|
|
442
|
+
return throwDefaultError({
|
|
576
443
|
output,
|
|
577
444
|
parsedBody,
|
|
578
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
579
445
|
errorCode,
|
|
580
446
|
});
|
|
581
447
|
}
|
|
@@ -586,12 +452,12 @@ const de_CreateChannelCommand = async (output, context) => {
|
|
|
586
452
|
}
|
|
587
453
|
const data = await parseBody(output.body, context);
|
|
588
454
|
let contents = {};
|
|
589
|
-
contents =
|
|
455
|
+
contents = (0, smithy_client_1._json)(data);
|
|
590
456
|
const response = {
|
|
591
457
|
$metadata: deserializeMetadata(output),
|
|
592
458
|
...contents,
|
|
593
459
|
};
|
|
594
|
-
return
|
|
460
|
+
return response;
|
|
595
461
|
};
|
|
596
462
|
exports.de_CreateChannelCommand = de_CreateChannelCommand;
|
|
597
463
|
const de_CreateChannelCommandError = async (output, context) => {
|
|
@@ -639,10 +505,9 @@ const de_CreateChannelCommandError = async (output, context) => {
|
|
|
639
505
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
640
506
|
default:
|
|
641
507
|
const parsedBody = parsedOutput.body;
|
|
642
|
-
|
|
508
|
+
return throwDefaultError({
|
|
643
509
|
output,
|
|
644
510
|
parsedBody,
|
|
645
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
646
511
|
errorCode,
|
|
647
512
|
});
|
|
648
513
|
}
|
|
@@ -658,7 +523,7 @@ const de_CreateEventDataStoreCommand = async (output, context) => {
|
|
|
658
523
|
$metadata: deserializeMetadata(output),
|
|
659
524
|
...contents,
|
|
660
525
|
};
|
|
661
|
-
return
|
|
526
|
+
return response;
|
|
662
527
|
};
|
|
663
528
|
exports.de_CreateEventDataStoreCommand = de_CreateEventDataStoreCommand;
|
|
664
529
|
const de_CreateEventDataStoreCommandError = async (output, context) => {
|
|
@@ -724,10 +589,9 @@ const de_CreateEventDataStoreCommandError = async (output, context) => {
|
|
|
724
589
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
725
590
|
default:
|
|
726
591
|
const parsedBody = parsedOutput.body;
|
|
727
|
-
|
|
592
|
+
return throwDefaultError({
|
|
728
593
|
output,
|
|
729
594
|
parsedBody,
|
|
730
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
731
595
|
errorCode,
|
|
732
596
|
});
|
|
733
597
|
}
|
|
@@ -738,12 +602,12 @@ const de_CreateTrailCommand = async (output, context) => {
|
|
|
738
602
|
}
|
|
739
603
|
const data = await parseBody(output.body, context);
|
|
740
604
|
let contents = {};
|
|
741
|
-
contents =
|
|
605
|
+
contents = (0, smithy_client_1._json)(data);
|
|
742
606
|
const response = {
|
|
743
607
|
$metadata: deserializeMetadata(output),
|
|
744
608
|
...contents,
|
|
745
609
|
};
|
|
746
|
-
return
|
|
610
|
+
return response;
|
|
747
611
|
};
|
|
748
612
|
exports.de_CreateTrailCommand = de_CreateTrailCommand;
|
|
749
613
|
const de_CreateTrailCommandError = async (output, context) => {
|
|
@@ -848,10 +712,9 @@ const de_CreateTrailCommandError = async (output, context) => {
|
|
|
848
712
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
849
713
|
default:
|
|
850
714
|
const parsedBody = parsedOutput.body;
|
|
851
|
-
|
|
715
|
+
return throwDefaultError({
|
|
852
716
|
output,
|
|
853
717
|
parsedBody,
|
|
854
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
855
718
|
errorCode,
|
|
856
719
|
});
|
|
857
720
|
}
|
|
@@ -862,12 +725,12 @@ const de_DeleteChannelCommand = async (output, context) => {
|
|
|
862
725
|
}
|
|
863
726
|
const data = await parseBody(output.body, context);
|
|
864
727
|
let contents = {};
|
|
865
|
-
contents =
|
|
728
|
+
contents = (0, smithy_client_1._json)(data);
|
|
866
729
|
const response = {
|
|
867
730
|
$metadata: deserializeMetadata(output),
|
|
868
731
|
...contents,
|
|
869
732
|
};
|
|
870
|
-
return
|
|
733
|
+
return response;
|
|
871
734
|
};
|
|
872
735
|
exports.de_DeleteChannelCommand = de_DeleteChannelCommand;
|
|
873
736
|
const de_DeleteChannelCommandError = async (output, context) => {
|
|
@@ -891,10 +754,9 @@ const de_DeleteChannelCommandError = async (output, context) => {
|
|
|
891
754
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
892
755
|
default:
|
|
893
756
|
const parsedBody = parsedOutput.body;
|
|
894
|
-
|
|
757
|
+
return throwDefaultError({
|
|
895
758
|
output,
|
|
896
759
|
parsedBody,
|
|
897
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
898
760
|
errorCode,
|
|
899
761
|
});
|
|
900
762
|
}
|
|
@@ -905,12 +767,12 @@ const de_DeleteEventDataStoreCommand = async (output, context) => {
|
|
|
905
767
|
}
|
|
906
768
|
const data = await parseBody(output.body, context);
|
|
907
769
|
let contents = {};
|
|
908
|
-
contents =
|
|
770
|
+
contents = (0, smithy_client_1._json)(data);
|
|
909
771
|
const response = {
|
|
910
772
|
$metadata: deserializeMetadata(output),
|
|
911
773
|
...contents,
|
|
912
774
|
};
|
|
913
|
-
return
|
|
775
|
+
return response;
|
|
914
776
|
};
|
|
915
777
|
exports.de_DeleteEventDataStoreCommand = de_DeleteEventDataStoreCommand;
|
|
916
778
|
const de_DeleteEventDataStoreCommandError = async (output, context) => {
|
|
@@ -958,10 +820,9 @@ const de_DeleteEventDataStoreCommandError = async (output, context) => {
|
|
|
958
820
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
959
821
|
default:
|
|
960
822
|
const parsedBody = parsedOutput.body;
|
|
961
|
-
|
|
823
|
+
return throwDefaultError({
|
|
962
824
|
output,
|
|
963
825
|
parsedBody,
|
|
964
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
965
826
|
errorCode,
|
|
966
827
|
});
|
|
967
828
|
}
|
|
@@ -972,12 +833,12 @@ const de_DeleteResourcePolicyCommand = async (output, context) => {
|
|
|
972
833
|
}
|
|
973
834
|
const data = await parseBody(output.body, context);
|
|
974
835
|
let contents = {};
|
|
975
|
-
contents =
|
|
836
|
+
contents = (0, smithy_client_1._json)(data);
|
|
976
837
|
const response = {
|
|
977
838
|
$metadata: deserializeMetadata(output),
|
|
978
839
|
...contents,
|
|
979
840
|
};
|
|
980
|
-
return
|
|
841
|
+
return response;
|
|
981
842
|
};
|
|
982
843
|
exports.de_DeleteResourcePolicyCommand = de_DeleteResourcePolicyCommand;
|
|
983
844
|
const de_DeleteResourcePolicyCommandError = async (output, context) => {
|
|
@@ -1007,10 +868,9 @@ const de_DeleteResourcePolicyCommandError = async (output, context) => {
|
|
|
1007
868
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1008
869
|
default:
|
|
1009
870
|
const parsedBody = parsedOutput.body;
|
|
1010
|
-
|
|
871
|
+
return throwDefaultError({
|
|
1011
872
|
output,
|
|
1012
873
|
parsedBody,
|
|
1013
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1014
874
|
errorCode,
|
|
1015
875
|
});
|
|
1016
876
|
}
|
|
@@ -1021,12 +881,12 @@ const de_DeleteTrailCommand = async (output, context) => {
|
|
|
1021
881
|
}
|
|
1022
882
|
const data = await parseBody(output.body, context);
|
|
1023
883
|
let contents = {};
|
|
1024
|
-
contents =
|
|
884
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1025
885
|
const response = {
|
|
1026
886
|
$metadata: deserializeMetadata(output),
|
|
1027
887
|
...contents,
|
|
1028
888
|
};
|
|
1029
|
-
return
|
|
889
|
+
return response;
|
|
1030
890
|
};
|
|
1031
891
|
exports.de_DeleteTrailCommand = de_DeleteTrailCommand;
|
|
1032
892
|
const de_DeleteTrailCommandError = async (output, context) => {
|
|
@@ -1068,10 +928,9 @@ const de_DeleteTrailCommandError = async (output, context) => {
|
|
|
1068
928
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1069
929
|
default:
|
|
1070
930
|
const parsedBody = parsedOutput.body;
|
|
1071
|
-
|
|
931
|
+
return throwDefaultError({
|
|
1072
932
|
output,
|
|
1073
933
|
parsedBody,
|
|
1074
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1075
934
|
errorCode,
|
|
1076
935
|
});
|
|
1077
936
|
}
|
|
@@ -1082,12 +941,12 @@ const de_DeregisterOrganizationDelegatedAdminCommand = async (output, context) =
|
|
|
1082
941
|
}
|
|
1083
942
|
const data = await parseBody(output.body, context);
|
|
1084
943
|
let contents = {};
|
|
1085
|
-
contents =
|
|
944
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1086
945
|
const response = {
|
|
1087
946
|
$metadata: deserializeMetadata(output),
|
|
1088
947
|
...contents,
|
|
1089
948
|
};
|
|
1090
|
-
return
|
|
949
|
+
return response;
|
|
1091
950
|
};
|
|
1092
951
|
exports.de_DeregisterOrganizationDelegatedAdminCommand = de_DeregisterOrganizationDelegatedAdminCommand;
|
|
1093
952
|
const de_DeregisterOrganizationDelegatedAdminCommandError = async (output, context) => {
|
|
@@ -1132,10 +991,9 @@ const de_DeregisterOrganizationDelegatedAdminCommandError = async (output, conte
|
|
|
1132
991
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1133
992
|
default:
|
|
1134
993
|
const parsedBody = parsedOutput.body;
|
|
1135
|
-
|
|
994
|
+
return throwDefaultError({
|
|
1136
995
|
output,
|
|
1137
996
|
parsedBody,
|
|
1138
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1139
997
|
errorCode,
|
|
1140
998
|
});
|
|
1141
999
|
}
|
|
@@ -1151,7 +1009,7 @@ const de_DescribeQueryCommand = async (output, context) => {
|
|
|
1151
1009
|
$metadata: deserializeMetadata(output),
|
|
1152
1010
|
...contents,
|
|
1153
1011
|
};
|
|
1154
|
-
return
|
|
1012
|
+
return response;
|
|
1155
1013
|
};
|
|
1156
1014
|
exports.de_DescribeQueryCommand = de_DescribeQueryCommand;
|
|
1157
1015
|
const de_DescribeQueryCommandError = async (output, context) => {
|
|
@@ -1187,10 +1045,9 @@ const de_DescribeQueryCommandError = async (output, context) => {
|
|
|
1187
1045
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1188
1046
|
default:
|
|
1189
1047
|
const parsedBody = parsedOutput.body;
|
|
1190
|
-
|
|
1048
|
+
return throwDefaultError({
|
|
1191
1049
|
output,
|
|
1192
1050
|
parsedBody,
|
|
1193
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1194
1051
|
errorCode,
|
|
1195
1052
|
});
|
|
1196
1053
|
}
|
|
@@ -1201,12 +1058,12 @@ const de_DescribeTrailsCommand = async (output, context) => {
|
|
|
1201
1058
|
}
|
|
1202
1059
|
const data = await parseBody(output.body, context);
|
|
1203
1060
|
let contents = {};
|
|
1204
|
-
contents =
|
|
1061
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1205
1062
|
const response = {
|
|
1206
1063
|
$metadata: deserializeMetadata(output),
|
|
1207
1064
|
...contents,
|
|
1208
1065
|
};
|
|
1209
|
-
return
|
|
1066
|
+
return response;
|
|
1210
1067
|
};
|
|
1211
1068
|
exports.de_DescribeTrailsCommand = de_DescribeTrailsCommand;
|
|
1212
1069
|
const de_DescribeTrailsCommandError = async (output, context) => {
|
|
@@ -1230,10 +1087,9 @@ const de_DescribeTrailsCommandError = async (output, context) => {
|
|
|
1230
1087
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1231
1088
|
default:
|
|
1232
1089
|
const parsedBody = parsedOutput.body;
|
|
1233
|
-
|
|
1090
|
+
return throwDefaultError({
|
|
1234
1091
|
output,
|
|
1235
1092
|
parsedBody,
|
|
1236
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1237
1093
|
errorCode,
|
|
1238
1094
|
});
|
|
1239
1095
|
}
|
|
@@ -1249,7 +1105,7 @@ const de_GetChannelCommand = async (output, context) => {
|
|
|
1249
1105
|
$metadata: deserializeMetadata(output),
|
|
1250
1106
|
...contents,
|
|
1251
1107
|
};
|
|
1252
|
-
return
|
|
1108
|
+
return response;
|
|
1253
1109
|
};
|
|
1254
1110
|
exports.de_GetChannelCommand = de_GetChannelCommand;
|
|
1255
1111
|
const de_GetChannelCommandError = async (output, context) => {
|
|
@@ -1273,10 +1129,9 @@ const de_GetChannelCommandError = async (output, context) => {
|
|
|
1273
1129
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1274
1130
|
default:
|
|
1275
1131
|
const parsedBody = parsedOutput.body;
|
|
1276
|
-
|
|
1132
|
+
return throwDefaultError({
|
|
1277
1133
|
output,
|
|
1278
1134
|
parsedBody,
|
|
1279
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1280
1135
|
errorCode,
|
|
1281
1136
|
});
|
|
1282
1137
|
}
|
|
@@ -1292,7 +1147,7 @@ const de_GetEventDataStoreCommand = async (output, context) => {
|
|
|
1292
1147
|
$metadata: deserializeMetadata(output),
|
|
1293
1148
|
...contents,
|
|
1294
1149
|
};
|
|
1295
|
-
return
|
|
1150
|
+
return response;
|
|
1296
1151
|
};
|
|
1297
1152
|
exports.de_GetEventDataStoreCommand = de_GetEventDataStoreCommand;
|
|
1298
1153
|
const de_GetEventDataStoreCommandError = async (output, context) => {
|
|
@@ -1322,10 +1177,9 @@ const de_GetEventDataStoreCommandError = async (output, context) => {
|
|
|
1322
1177
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1323
1178
|
default:
|
|
1324
1179
|
const parsedBody = parsedOutput.body;
|
|
1325
|
-
|
|
1180
|
+
return throwDefaultError({
|
|
1326
1181
|
output,
|
|
1327
1182
|
parsedBody,
|
|
1328
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1329
1183
|
errorCode,
|
|
1330
1184
|
});
|
|
1331
1185
|
}
|
|
@@ -1336,12 +1190,12 @@ const de_GetEventSelectorsCommand = async (output, context) => {
|
|
|
1336
1190
|
}
|
|
1337
1191
|
const data = await parseBody(output.body, context);
|
|
1338
1192
|
let contents = {};
|
|
1339
|
-
contents =
|
|
1193
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1340
1194
|
const response = {
|
|
1341
1195
|
$metadata: deserializeMetadata(output),
|
|
1342
1196
|
...contents,
|
|
1343
1197
|
};
|
|
1344
|
-
return
|
|
1198
|
+
return response;
|
|
1345
1199
|
};
|
|
1346
1200
|
exports.de_GetEventSelectorsCommand = de_GetEventSelectorsCommand;
|
|
1347
1201
|
const de_GetEventSelectorsCommandError = async (output, context) => {
|
|
@@ -1371,10 +1225,9 @@ const de_GetEventSelectorsCommandError = async (output, context) => {
|
|
|
1371
1225
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1372
1226
|
default:
|
|
1373
1227
|
const parsedBody = parsedOutput.body;
|
|
1374
|
-
|
|
1228
|
+
return throwDefaultError({
|
|
1375
1229
|
output,
|
|
1376
1230
|
parsedBody,
|
|
1377
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1378
1231
|
errorCode,
|
|
1379
1232
|
});
|
|
1380
1233
|
}
|
|
@@ -1390,7 +1243,7 @@ const de_GetImportCommand = async (output, context) => {
|
|
|
1390
1243
|
$metadata: deserializeMetadata(output),
|
|
1391
1244
|
...contents,
|
|
1392
1245
|
};
|
|
1393
|
-
return
|
|
1246
|
+
return response;
|
|
1394
1247
|
};
|
|
1395
1248
|
exports.de_GetImportCommand = de_GetImportCommand;
|
|
1396
1249
|
const de_GetImportCommandError = async (output, context) => {
|
|
@@ -1414,10 +1267,9 @@ const de_GetImportCommandError = async (output, context) => {
|
|
|
1414
1267
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1415
1268
|
default:
|
|
1416
1269
|
const parsedBody = parsedOutput.body;
|
|
1417
|
-
|
|
1270
|
+
return throwDefaultError({
|
|
1418
1271
|
output,
|
|
1419
1272
|
parsedBody,
|
|
1420
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1421
1273
|
errorCode,
|
|
1422
1274
|
});
|
|
1423
1275
|
}
|
|
@@ -1428,12 +1280,12 @@ const de_GetInsightSelectorsCommand = async (output, context) => {
|
|
|
1428
1280
|
}
|
|
1429
1281
|
const data = await parseBody(output.body, context);
|
|
1430
1282
|
let contents = {};
|
|
1431
|
-
contents =
|
|
1283
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1432
1284
|
const response = {
|
|
1433
1285
|
$metadata: deserializeMetadata(output),
|
|
1434
1286
|
...contents,
|
|
1435
1287
|
};
|
|
1436
|
-
return
|
|
1288
|
+
return response;
|
|
1437
1289
|
};
|
|
1438
1290
|
exports.de_GetInsightSelectorsCommand = de_GetInsightSelectorsCommand;
|
|
1439
1291
|
const de_GetInsightSelectorsCommandError = async (output, context) => {
|
|
@@ -1466,10 +1318,9 @@ const de_GetInsightSelectorsCommandError = async (output, context) => {
|
|
|
1466
1318
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1467
1319
|
default:
|
|
1468
1320
|
const parsedBody = parsedOutput.body;
|
|
1469
|
-
|
|
1321
|
+
return throwDefaultError({
|
|
1470
1322
|
output,
|
|
1471
1323
|
parsedBody,
|
|
1472
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1473
1324
|
errorCode,
|
|
1474
1325
|
});
|
|
1475
1326
|
}
|
|
@@ -1480,12 +1331,12 @@ const de_GetQueryResultsCommand = async (output, context) => {
|
|
|
1480
1331
|
}
|
|
1481
1332
|
const data = await parseBody(output.body, context);
|
|
1482
1333
|
let contents = {};
|
|
1483
|
-
contents =
|
|
1334
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1484
1335
|
const response = {
|
|
1485
1336
|
$metadata: deserializeMetadata(output),
|
|
1486
1337
|
...contents,
|
|
1487
1338
|
};
|
|
1488
|
-
return
|
|
1339
|
+
return response;
|
|
1489
1340
|
};
|
|
1490
1341
|
exports.de_GetQueryResultsCommand = de_GetQueryResultsCommand;
|
|
1491
1342
|
const de_GetQueryResultsCommandError = async (output, context) => {
|
|
@@ -1530,10 +1381,9 @@ const de_GetQueryResultsCommandError = async (output, context) => {
|
|
|
1530
1381
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1531
1382
|
default:
|
|
1532
1383
|
const parsedBody = parsedOutput.body;
|
|
1533
|
-
|
|
1384
|
+
return throwDefaultError({
|
|
1534
1385
|
output,
|
|
1535
1386
|
parsedBody,
|
|
1536
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1537
1387
|
errorCode,
|
|
1538
1388
|
});
|
|
1539
1389
|
}
|
|
@@ -1544,12 +1394,12 @@ const de_GetResourcePolicyCommand = async (output, context) => {
|
|
|
1544
1394
|
}
|
|
1545
1395
|
const data = await parseBody(output.body, context);
|
|
1546
1396
|
let contents = {};
|
|
1547
|
-
contents =
|
|
1397
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1548
1398
|
const response = {
|
|
1549
1399
|
$metadata: deserializeMetadata(output),
|
|
1550
1400
|
...contents,
|
|
1551
1401
|
};
|
|
1552
|
-
return
|
|
1402
|
+
return response;
|
|
1553
1403
|
};
|
|
1554
1404
|
exports.de_GetResourcePolicyCommand = de_GetResourcePolicyCommand;
|
|
1555
1405
|
const de_GetResourcePolicyCommandError = async (output, context) => {
|
|
@@ -1579,10 +1429,9 @@ const de_GetResourcePolicyCommandError = async (output, context) => {
|
|
|
1579
1429
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1580
1430
|
default:
|
|
1581
1431
|
const parsedBody = parsedOutput.body;
|
|
1582
|
-
|
|
1432
|
+
return throwDefaultError({
|
|
1583
1433
|
output,
|
|
1584
1434
|
parsedBody,
|
|
1585
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1586
1435
|
errorCode,
|
|
1587
1436
|
});
|
|
1588
1437
|
}
|
|
@@ -1593,12 +1442,12 @@ const de_GetTrailCommand = async (output, context) => {
|
|
|
1593
1442
|
}
|
|
1594
1443
|
const data = await parseBody(output.body, context);
|
|
1595
1444
|
let contents = {};
|
|
1596
|
-
contents =
|
|
1445
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1597
1446
|
const response = {
|
|
1598
1447
|
$metadata: deserializeMetadata(output),
|
|
1599
1448
|
...contents,
|
|
1600
1449
|
};
|
|
1601
|
-
return
|
|
1450
|
+
return response;
|
|
1602
1451
|
};
|
|
1603
1452
|
exports.de_GetTrailCommand = de_GetTrailCommand;
|
|
1604
1453
|
const de_GetTrailCommandError = async (output, context) => {
|
|
@@ -1625,10 +1474,9 @@ const de_GetTrailCommandError = async (output, context) => {
|
|
|
1625
1474
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1626
1475
|
default:
|
|
1627
1476
|
const parsedBody = parsedOutput.body;
|
|
1628
|
-
|
|
1477
|
+
return throwDefaultError({
|
|
1629
1478
|
output,
|
|
1630
1479
|
parsedBody,
|
|
1631
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1632
1480
|
errorCode,
|
|
1633
1481
|
});
|
|
1634
1482
|
}
|
|
@@ -1644,7 +1492,7 @@ const de_GetTrailStatusCommand = async (output, context) => {
|
|
|
1644
1492
|
$metadata: deserializeMetadata(output),
|
|
1645
1493
|
...contents,
|
|
1646
1494
|
};
|
|
1647
|
-
return
|
|
1495
|
+
return response;
|
|
1648
1496
|
};
|
|
1649
1497
|
exports.de_GetTrailStatusCommand = de_GetTrailStatusCommand;
|
|
1650
1498
|
const de_GetTrailStatusCommandError = async (output, context) => {
|
|
@@ -1671,10 +1519,9 @@ const de_GetTrailStatusCommandError = async (output, context) => {
|
|
|
1671
1519
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1672
1520
|
default:
|
|
1673
1521
|
const parsedBody = parsedOutput.body;
|
|
1674
|
-
|
|
1522
|
+
return throwDefaultError({
|
|
1675
1523
|
output,
|
|
1676
1524
|
parsedBody,
|
|
1677
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1678
1525
|
errorCode,
|
|
1679
1526
|
});
|
|
1680
1527
|
}
|
|
@@ -1685,12 +1532,12 @@ const de_ListChannelsCommand = async (output, context) => {
|
|
|
1685
1532
|
}
|
|
1686
1533
|
const data = await parseBody(output.body, context);
|
|
1687
1534
|
let contents = {};
|
|
1688
|
-
contents =
|
|
1535
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1689
1536
|
const response = {
|
|
1690
1537
|
$metadata: deserializeMetadata(output),
|
|
1691
1538
|
...contents,
|
|
1692
1539
|
};
|
|
1693
|
-
return
|
|
1540
|
+
return response;
|
|
1694
1541
|
};
|
|
1695
1542
|
exports.de_ListChannelsCommand = de_ListChannelsCommand;
|
|
1696
1543
|
const de_ListChannelsCommandError = async (output, context) => {
|
|
@@ -1711,10 +1558,9 @@ const de_ListChannelsCommandError = async (output, context) => {
|
|
|
1711
1558
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1712
1559
|
default:
|
|
1713
1560
|
const parsedBody = parsedOutput.body;
|
|
1714
|
-
|
|
1561
|
+
return throwDefaultError({
|
|
1715
1562
|
output,
|
|
1716
1563
|
parsedBody,
|
|
1717
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1718
1564
|
errorCode,
|
|
1719
1565
|
});
|
|
1720
1566
|
}
|
|
@@ -1730,7 +1576,7 @@ const de_ListEventDataStoresCommand = async (output, context) => {
|
|
|
1730
1576
|
$metadata: deserializeMetadata(output),
|
|
1731
1577
|
...contents,
|
|
1732
1578
|
};
|
|
1733
|
-
return
|
|
1579
|
+
return response;
|
|
1734
1580
|
};
|
|
1735
1581
|
exports.de_ListEventDataStoresCommand = de_ListEventDataStoresCommand;
|
|
1736
1582
|
const de_ListEventDataStoresCommandError = async (output, context) => {
|
|
@@ -1757,10 +1603,9 @@ const de_ListEventDataStoresCommandError = async (output, context) => {
|
|
|
1757
1603
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1758
1604
|
default:
|
|
1759
1605
|
const parsedBody = parsedOutput.body;
|
|
1760
|
-
|
|
1606
|
+
return throwDefaultError({
|
|
1761
1607
|
output,
|
|
1762
1608
|
parsedBody,
|
|
1763
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1764
1609
|
errorCode,
|
|
1765
1610
|
});
|
|
1766
1611
|
}
|
|
@@ -1776,7 +1621,7 @@ const de_ListImportFailuresCommand = async (output, context) => {
|
|
|
1776
1621
|
$metadata: deserializeMetadata(output),
|
|
1777
1622
|
...contents,
|
|
1778
1623
|
};
|
|
1779
|
-
return
|
|
1624
|
+
return response;
|
|
1780
1625
|
};
|
|
1781
1626
|
exports.de_ListImportFailuresCommand = de_ListImportFailuresCommand;
|
|
1782
1627
|
const de_ListImportFailuresCommandError = async (output, context) => {
|
|
@@ -1797,10 +1642,9 @@ const de_ListImportFailuresCommandError = async (output, context) => {
|
|
|
1797
1642
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1798
1643
|
default:
|
|
1799
1644
|
const parsedBody = parsedOutput.body;
|
|
1800
|
-
|
|
1645
|
+
return throwDefaultError({
|
|
1801
1646
|
output,
|
|
1802
1647
|
parsedBody,
|
|
1803
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1804
1648
|
errorCode,
|
|
1805
1649
|
});
|
|
1806
1650
|
}
|
|
@@ -1816,7 +1660,7 @@ const de_ListImportsCommand = async (output, context) => {
|
|
|
1816
1660
|
$metadata: deserializeMetadata(output),
|
|
1817
1661
|
...contents,
|
|
1818
1662
|
};
|
|
1819
|
-
return
|
|
1663
|
+
return response;
|
|
1820
1664
|
};
|
|
1821
1665
|
exports.de_ListImportsCommand = de_ListImportsCommand;
|
|
1822
1666
|
const de_ListImportsCommandError = async (output, context) => {
|
|
@@ -1843,10 +1687,9 @@ const de_ListImportsCommandError = async (output, context) => {
|
|
|
1843
1687
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1844
1688
|
default:
|
|
1845
1689
|
const parsedBody = parsedOutput.body;
|
|
1846
|
-
|
|
1690
|
+
return throwDefaultError({
|
|
1847
1691
|
output,
|
|
1848
1692
|
parsedBody,
|
|
1849
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1850
1693
|
errorCode,
|
|
1851
1694
|
});
|
|
1852
1695
|
}
|
|
@@ -1862,7 +1705,7 @@ const de_ListPublicKeysCommand = async (output, context) => {
|
|
|
1862
1705
|
$metadata: deserializeMetadata(output),
|
|
1863
1706
|
...contents,
|
|
1864
1707
|
};
|
|
1865
|
-
return
|
|
1708
|
+
return response;
|
|
1866
1709
|
};
|
|
1867
1710
|
exports.de_ListPublicKeysCommand = de_ListPublicKeysCommand;
|
|
1868
1711
|
const de_ListPublicKeysCommandError = async (output, context) => {
|
|
@@ -1886,10 +1729,9 @@ const de_ListPublicKeysCommandError = async (output, context) => {
|
|
|
1886
1729
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1887
1730
|
default:
|
|
1888
1731
|
const parsedBody = parsedOutput.body;
|
|
1889
|
-
|
|
1732
|
+
return throwDefaultError({
|
|
1890
1733
|
output,
|
|
1891
1734
|
parsedBody,
|
|
1892
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1893
1735
|
errorCode,
|
|
1894
1736
|
});
|
|
1895
1737
|
}
|
|
@@ -1905,7 +1747,7 @@ const de_ListQueriesCommand = async (output, context) => {
|
|
|
1905
1747
|
$metadata: deserializeMetadata(output),
|
|
1906
1748
|
...contents,
|
|
1907
1749
|
};
|
|
1908
|
-
return
|
|
1750
|
+
return response;
|
|
1909
1751
|
};
|
|
1910
1752
|
exports.de_ListQueriesCommand = de_ListQueriesCommand;
|
|
1911
1753
|
const de_ListQueriesCommandError = async (output, context) => {
|
|
@@ -1950,10 +1792,9 @@ const de_ListQueriesCommandError = async (output, context) => {
|
|
|
1950
1792
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1951
1793
|
default:
|
|
1952
1794
|
const parsedBody = parsedOutput.body;
|
|
1953
|
-
|
|
1795
|
+
return throwDefaultError({
|
|
1954
1796
|
output,
|
|
1955
1797
|
parsedBody,
|
|
1956
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
1957
1798
|
errorCode,
|
|
1958
1799
|
});
|
|
1959
1800
|
}
|
|
@@ -1964,12 +1805,12 @@ const de_ListTagsCommand = async (output, context) => {
|
|
|
1964
1805
|
}
|
|
1965
1806
|
const data = await parseBody(output.body, context);
|
|
1966
1807
|
let contents = {};
|
|
1967
|
-
contents =
|
|
1808
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1968
1809
|
const response = {
|
|
1969
1810
|
$metadata: deserializeMetadata(output),
|
|
1970
1811
|
...contents,
|
|
1971
1812
|
};
|
|
1972
|
-
return
|
|
1813
|
+
return response;
|
|
1973
1814
|
};
|
|
1974
1815
|
exports.de_ListTagsCommand = de_ListTagsCommand;
|
|
1975
1816
|
const de_ListTagsCommandError = async (output, context) => {
|
|
@@ -2011,10 +1852,9 @@ const de_ListTagsCommandError = async (output, context) => {
|
|
|
2011
1852
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2012
1853
|
default:
|
|
2013
1854
|
const parsedBody = parsedOutput.body;
|
|
2014
|
-
|
|
1855
|
+
return throwDefaultError({
|
|
2015
1856
|
output,
|
|
2016
1857
|
parsedBody,
|
|
2017
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
2018
1858
|
errorCode,
|
|
2019
1859
|
});
|
|
2020
1860
|
}
|
|
@@ -2025,12 +1865,12 @@ const de_ListTrailsCommand = async (output, context) => {
|
|
|
2025
1865
|
}
|
|
2026
1866
|
const data = await parseBody(output.body, context);
|
|
2027
1867
|
let contents = {};
|
|
2028
|
-
contents =
|
|
1868
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2029
1869
|
const response = {
|
|
2030
1870
|
$metadata: deserializeMetadata(output),
|
|
2031
1871
|
...contents,
|
|
2032
1872
|
};
|
|
2033
|
-
return
|
|
1873
|
+
return response;
|
|
2034
1874
|
};
|
|
2035
1875
|
exports.de_ListTrailsCommand = de_ListTrailsCommand;
|
|
2036
1876
|
const de_ListTrailsCommandError = async (output, context) => {
|
|
@@ -2048,10 +1888,9 @@ const de_ListTrailsCommandError = async (output, context) => {
|
|
|
2048
1888
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2049
1889
|
default:
|
|
2050
1890
|
const parsedBody = parsedOutput.body;
|
|
2051
|
-
|
|
1891
|
+
return throwDefaultError({
|
|
2052
1892
|
output,
|
|
2053
1893
|
parsedBody,
|
|
2054
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
2055
1894
|
errorCode,
|
|
2056
1895
|
});
|
|
2057
1896
|
}
|
|
@@ -2067,7 +1906,7 @@ const de_LookupEventsCommand = async (output, context) => {
|
|
|
2067
1906
|
$metadata: deserializeMetadata(output),
|
|
2068
1907
|
...contents,
|
|
2069
1908
|
};
|
|
2070
|
-
return
|
|
1909
|
+
return response;
|
|
2071
1910
|
};
|
|
2072
1911
|
exports.de_LookupEventsCommand = de_LookupEventsCommand;
|
|
2073
1912
|
const de_LookupEventsCommandError = async (output, context) => {
|
|
@@ -2100,10 +1939,9 @@ const de_LookupEventsCommandError = async (output, context) => {
|
|
|
2100
1939
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2101
1940
|
default:
|
|
2102
1941
|
const parsedBody = parsedOutput.body;
|
|
2103
|
-
|
|
1942
|
+
return throwDefaultError({
|
|
2104
1943
|
output,
|
|
2105
1944
|
parsedBody,
|
|
2106
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
2107
1945
|
errorCode,
|
|
2108
1946
|
});
|
|
2109
1947
|
}
|
|
@@ -2114,12 +1952,12 @@ const de_PutEventSelectorsCommand = async (output, context) => {
|
|
|
2114
1952
|
}
|
|
2115
1953
|
const data = await parseBody(output.body, context);
|
|
2116
1954
|
let contents = {};
|
|
2117
|
-
contents =
|
|
1955
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2118
1956
|
const response = {
|
|
2119
1957
|
$metadata: deserializeMetadata(output),
|
|
2120
1958
|
...contents,
|
|
2121
1959
|
};
|
|
2122
|
-
return
|
|
1960
|
+
return response;
|
|
2123
1961
|
};
|
|
2124
1962
|
exports.de_PutEventSelectorsCommand = de_PutEventSelectorsCommand;
|
|
2125
1963
|
const de_PutEventSelectorsCommandError = async (output, context) => {
|
|
@@ -2161,10 +1999,9 @@ const de_PutEventSelectorsCommandError = async (output, context) => {
|
|
|
2161
1999
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2162
2000
|
default:
|
|
2163
2001
|
const parsedBody = parsedOutput.body;
|
|
2164
|
-
|
|
2002
|
+
return throwDefaultError({
|
|
2165
2003
|
output,
|
|
2166
2004
|
parsedBody,
|
|
2167
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
2168
2005
|
errorCode,
|
|
2169
2006
|
});
|
|
2170
2007
|
}
|
|
@@ -2175,12 +2012,12 @@ const de_PutInsightSelectorsCommand = async (output, context) => {
|
|
|
2175
2012
|
}
|
|
2176
2013
|
const data = await parseBody(output.body, context);
|
|
2177
2014
|
let contents = {};
|
|
2178
|
-
contents =
|
|
2015
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2179
2016
|
const response = {
|
|
2180
2017
|
$metadata: deserializeMetadata(output),
|
|
2181
2018
|
...contents,
|
|
2182
2019
|
};
|
|
2183
|
-
return
|
|
2020
|
+
return response;
|
|
2184
2021
|
};
|
|
2185
2022
|
exports.de_PutInsightSelectorsCommand = de_PutInsightSelectorsCommand;
|
|
2186
2023
|
const de_PutInsightSelectorsCommandError = async (output, context) => {
|
|
@@ -2231,10 +2068,9 @@ const de_PutInsightSelectorsCommandError = async (output, context) => {
|
|
|
2231
2068
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2232
2069
|
default:
|
|
2233
2070
|
const parsedBody = parsedOutput.body;
|
|
2234
|
-
|
|
2071
|
+
return throwDefaultError({
|
|
2235
2072
|
output,
|
|
2236
2073
|
parsedBody,
|
|
2237
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
2238
2074
|
errorCode,
|
|
2239
2075
|
});
|
|
2240
2076
|
}
|
|
@@ -2245,12 +2081,12 @@ const de_PutResourcePolicyCommand = async (output, context) => {
|
|
|
2245
2081
|
}
|
|
2246
2082
|
const data = await parseBody(output.body, context);
|
|
2247
2083
|
let contents = {};
|
|
2248
|
-
contents =
|
|
2084
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2249
2085
|
const response = {
|
|
2250
2086
|
$metadata: deserializeMetadata(output),
|
|
2251
2087
|
...contents,
|
|
2252
2088
|
};
|
|
2253
|
-
return
|
|
2089
|
+
return response;
|
|
2254
2090
|
};
|
|
2255
2091
|
exports.de_PutResourcePolicyCommand = de_PutResourcePolicyCommand;
|
|
2256
2092
|
const de_PutResourcePolicyCommandError = async (output, context) => {
|
|
@@ -2280,10 +2116,9 @@ const de_PutResourcePolicyCommandError = async (output, context) => {
|
|
|
2280
2116
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2281
2117
|
default:
|
|
2282
2118
|
const parsedBody = parsedOutput.body;
|
|
2283
|
-
|
|
2119
|
+
return throwDefaultError({
|
|
2284
2120
|
output,
|
|
2285
2121
|
parsedBody,
|
|
2286
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
2287
2122
|
errorCode,
|
|
2288
2123
|
});
|
|
2289
2124
|
}
|
|
@@ -2294,12 +2129,12 @@ const de_RegisterOrganizationDelegatedAdminCommand = async (output, context) =>
|
|
|
2294
2129
|
}
|
|
2295
2130
|
const data = await parseBody(output.body, context);
|
|
2296
2131
|
let contents = {};
|
|
2297
|
-
contents =
|
|
2132
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2298
2133
|
const response = {
|
|
2299
2134
|
$metadata: deserializeMetadata(output),
|
|
2300
2135
|
...contents,
|
|
2301
2136
|
};
|
|
2302
|
-
return
|
|
2137
|
+
return response;
|
|
2303
2138
|
};
|
|
2304
2139
|
exports.de_RegisterOrganizationDelegatedAdminCommand = de_RegisterOrganizationDelegatedAdminCommand;
|
|
2305
2140
|
const de_RegisterOrganizationDelegatedAdminCommandError = async (output, context) => {
|
|
@@ -2350,10 +2185,9 @@ const de_RegisterOrganizationDelegatedAdminCommandError = async (output, context
|
|
|
2350
2185
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2351
2186
|
default:
|
|
2352
2187
|
const parsedBody = parsedOutput.body;
|
|
2353
|
-
|
|
2188
|
+
return throwDefaultError({
|
|
2354
2189
|
output,
|
|
2355
2190
|
parsedBody,
|
|
2356
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
2357
2191
|
errorCode,
|
|
2358
2192
|
});
|
|
2359
2193
|
}
|
|
@@ -2364,12 +2198,12 @@ const de_RemoveTagsCommand = async (output, context) => {
|
|
|
2364
2198
|
}
|
|
2365
2199
|
const data = await parseBody(output.body, context);
|
|
2366
2200
|
let contents = {};
|
|
2367
|
-
contents =
|
|
2201
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2368
2202
|
const response = {
|
|
2369
2203
|
$metadata: deserializeMetadata(output),
|
|
2370
2204
|
...contents,
|
|
2371
2205
|
};
|
|
2372
|
-
return
|
|
2206
|
+
return response;
|
|
2373
2207
|
};
|
|
2374
2208
|
exports.de_RemoveTagsCommand = de_RemoveTagsCommand;
|
|
2375
2209
|
const de_RemoveTagsCommandError = async (output, context) => {
|
|
@@ -2417,10 +2251,9 @@ const de_RemoveTagsCommandError = async (output, context) => {
|
|
|
2417
2251
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2418
2252
|
default:
|
|
2419
2253
|
const parsedBody = parsedOutput.body;
|
|
2420
|
-
|
|
2254
|
+
return throwDefaultError({
|
|
2421
2255
|
output,
|
|
2422
2256
|
parsedBody,
|
|
2423
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
2424
2257
|
errorCode,
|
|
2425
2258
|
});
|
|
2426
2259
|
}
|
|
@@ -2436,7 +2269,7 @@ const de_RestoreEventDataStoreCommand = async (output, context) => {
|
|
|
2436
2269
|
$metadata: deserializeMetadata(output),
|
|
2437
2270
|
...contents,
|
|
2438
2271
|
};
|
|
2439
|
-
return
|
|
2272
|
+
return response;
|
|
2440
2273
|
};
|
|
2441
2274
|
exports.de_RestoreEventDataStoreCommand = de_RestoreEventDataStoreCommand;
|
|
2442
2275
|
const de_RestoreEventDataStoreCommandError = async (output, context) => {
|
|
@@ -2487,10 +2320,9 @@ const de_RestoreEventDataStoreCommandError = async (output, context) => {
|
|
|
2487
2320
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2488
2321
|
default:
|
|
2489
2322
|
const parsedBody = parsedOutput.body;
|
|
2490
|
-
|
|
2323
|
+
return throwDefaultError({
|
|
2491
2324
|
output,
|
|
2492
2325
|
parsedBody,
|
|
2493
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
2494
2326
|
errorCode,
|
|
2495
2327
|
});
|
|
2496
2328
|
}
|
|
@@ -2506,7 +2338,7 @@ const de_StartImportCommand = async (output, context) => {
|
|
|
2506
2338
|
$metadata: deserializeMetadata(output),
|
|
2507
2339
|
...contents,
|
|
2508
2340
|
};
|
|
2509
|
-
return
|
|
2341
|
+
return response;
|
|
2510
2342
|
};
|
|
2511
2343
|
exports.de_StartImportCommand = de_StartImportCommand;
|
|
2512
2344
|
const de_StartImportCommandError = async (output, context) => {
|
|
@@ -2554,10 +2386,9 @@ const de_StartImportCommandError = async (output, context) => {
|
|
|
2554
2386
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2555
2387
|
default:
|
|
2556
2388
|
const parsedBody = parsedOutput.body;
|
|
2557
|
-
|
|
2389
|
+
return throwDefaultError({
|
|
2558
2390
|
output,
|
|
2559
2391
|
parsedBody,
|
|
2560
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
2561
2392
|
errorCode,
|
|
2562
2393
|
});
|
|
2563
2394
|
}
|
|
@@ -2568,12 +2399,12 @@ const de_StartLoggingCommand = async (output, context) => {
|
|
|
2568
2399
|
}
|
|
2569
2400
|
const data = await parseBody(output.body, context);
|
|
2570
2401
|
let contents = {};
|
|
2571
|
-
contents =
|
|
2402
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2572
2403
|
const response = {
|
|
2573
2404
|
$metadata: deserializeMetadata(output),
|
|
2574
2405
|
...contents,
|
|
2575
2406
|
};
|
|
2576
|
-
return
|
|
2407
|
+
return response;
|
|
2577
2408
|
};
|
|
2578
2409
|
exports.de_StartLoggingCommand = de_StartLoggingCommand;
|
|
2579
2410
|
const de_StartLoggingCommandError = async (output, context) => {
|
|
@@ -2615,10 +2446,9 @@ const de_StartLoggingCommandError = async (output, context) => {
|
|
|
2615
2446
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2616
2447
|
default:
|
|
2617
2448
|
const parsedBody = parsedOutput.body;
|
|
2618
|
-
|
|
2449
|
+
return throwDefaultError({
|
|
2619
2450
|
output,
|
|
2620
2451
|
parsedBody,
|
|
2621
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
2622
2452
|
errorCode,
|
|
2623
2453
|
});
|
|
2624
2454
|
}
|
|
@@ -2629,12 +2459,12 @@ const de_StartQueryCommand = async (output, context) => {
|
|
|
2629
2459
|
}
|
|
2630
2460
|
const data = await parseBody(output.body, context);
|
|
2631
2461
|
let contents = {};
|
|
2632
|
-
contents =
|
|
2462
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2633
2463
|
const response = {
|
|
2634
2464
|
$metadata: deserializeMetadata(output),
|
|
2635
2465
|
...contents,
|
|
2636
2466
|
};
|
|
2637
|
-
return
|
|
2467
|
+
return response;
|
|
2638
2468
|
};
|
|
2639
2469
|
exports.de_StartQueryCommand = de_StartQueryCommand;
|
|
2640
2470
|
const de_StartQueryCommandError = async (output, context) => {
|
|
@@ -2688,10 +2518,9 @@ const de_StartQueryCommandError = async (output, context) => {
|
|
|
2688
2518
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2689
2519
|
default:
|
|
2690
2520
|
const parsedBody = parsedOutput.body;
|
|
2691
|
-
|
|
2521
|
+
return throwDefaultError({
|
|
2692
2522
|
output,
|
|
2693
2523
|
parsedBody,
|
|
2694
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
2695
2524
|
errorCode,
|
|
2696
2525
|
});
|
|
2697
2526
|
}
|
|
@@ -2707,7 +2536,7 @@ const de_StopImportCommand = async (output, context) => {
|
|
|
2707
2536
|
$metadata: deserializeMetadata(output),
|
|
2708
2537
|
...contents,
|
|
2709
2538
|
};
|
|
2710
|
-
return
|
|
2539
|
+
return response;
|
|
2711
2540
|
};
|
|
2712
2541
|
exports.de_StopImportCommand = de_StopImportCommand;
|
|
2713
2542
|
const de_StopImportCommandError = async (output, context) => {
|
|
@@ -2731,10 +2560,9 @@ const de_StopImportCommandError = async (output, context) => {
|
|
|
2731
2560
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2732
2561
|
default:
|
|
2733
2562
|
const parsedBody = parsedOutput.body;
|
|
2734
|
-
|
|
2563
|
+
return throwDefaultError({
|
|
2735
2564
|
output,
|
|
2736
2565
|
parsedBody,
|
|
2737
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
2738
2566
|
errorCode,
|
|
2739
2567
|
});
|
|
2740
2568
|
}
|
|
@@ -2745,12 +2573,12 @@ const de_StopLoggingCommand = async (output, context) => {
|
|
|
2745
2573
|
}
|
|
2746
2574
|
const data = await parseBody(output.body, context);
|
|
2747
2575
|
let contents = {};
|
|
2748
|
-
contents =
|
|
2576
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2749
2577
|
const response = {
|
|
2750
2578
|
$metadata: deserializeMetadata(output),
|
|
2751
2579
|
...contents,
|
|
2752
2580
|
};
|
|
2753
|
-
return
|
|
2581
|
+
return response;
|
|
2754
2582
|
};
|
|
2755
2583
|
exports.de_StopLoggingCommand = de_StopLoggingCommand;
|
|
2756
2584
|
const de_StopLoggingCommandError = async (output, context) => {
|
|
@@ -2792,10 +2620,9 @@ const de_StopLoggingCommandError = async (output, context) => {
|
|
|
2792
2620
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2793
2621
|
default:
|
|
2794
2622
|
const parsedBody = parsedOutput.body;
|
|
2795
|
-
|
|
2623
|
+
return throwDefaultError({
|
|
2796
2624
|
output,
|
|
2797
2625
|
parsedBody,
|
|
2798
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
2799
2626
|
errorCode,
|
|
2800
2627
|
});
|
|
2801
2628
|
}
|
|
@@ -2806,12 +2633,12 @@ const de_UpdateChannelCommand = async (output, context) => {
|
|
|
2806
2633
|
}
|
|
2807
2634
|
const data = await parseBody(output.body, context);
|
|
2808
2635
|
let contents = {};
|
|
2809
|
-
contents =
|
|
2636
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2810
2637
|
const response = {
|
|
2811
2638
|
$metadata: deserializeMetadata(output),
|
|
2812
2639
|
...contents,
|
|
2813
2640
|
};
|
|
2814
|
-
return
|
|
2641
|
+
return response;
|
|
2815
2642
|
};
|
|
2816
2643
|
exports.de_UpdateChannelCommand = de_UpdateChannelCommand;
|
|
2817
2644
|
const de_UpdateChannelCommandError = async (output, context) => {
|
|
@@ -2853,10 +2680,9 @@ const de_UpdateChannelCommandError = async (output, context) => {
|
|
|
2853
2680
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2854
2681
|
default:
|
|
2855
2682
|
const parsedBody = parsedOutput.body;
|
|
2856
|
-
|
|
2683
|
+
return throwDefaultError({
|
|
2857
2684
|
output,
|
|
2858
2685
|
parsedBody,
|
|
2859
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
2860
2686
|
errorCode,
|
|
2861
2687
|
});
|
|
2862
2688
|
}
|
|
@@ -2872,7 +2698,7 @@ const de_UpdateEventDataStoreCommand = async (output, context) => {
|
|
|
2872
2698
|
$metadata: deserializeMetadata(output),
|
|
2873
2699
|
...contents,
|
|
2874
2700
|
};
|
|
2875
|
-
return
|
|
2701
|
+
return response;
|
|
2876
2702
|
};
|
|
2877
2703
|
exports.de_UpdateEventDataStoreCommand = de_UpdateEventDataStoreCommand;
|
|
2878
2704
|
const de_UpdateEventDataStoreCommandError = async (output, context) => {
|
|
@@ -2938,10 +2764,9 @@ const de_UpdateEventDataStoreCommandError = async (output, context) => {
|
|
|
2938
2764
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2939
2765
|
default:
|
|
2940
2766
|
const parsedBody = parsedOutput.body;
|
|
2941
|
-
|
|
2767
|
+
return throwDefaultError({
|
|
2942
2768
|
output,
|
|
2943
2769
|
parsedBody,
|
|
2944
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
2945
2770
|
errorCode,
|
|
2946
2771
|
});
|
|
2947
2772
|
}
|
|
@@ -2952,12 +2777,12 @@ const de_UpdateTrailCommand = async (output, context) => {
|
|
|
2952
2777
|
}
|
|
2953
2778
|
const data = await parseBody(output.body, context);
|
|
2954
2779
|
let contents = {};
|
|
2955
|
-
contents =
|
|
2780
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2956
2781
|
const response = {
|
|
2957
2782
|
$metadata: deserializeMetadata(output),
|
|
2958
2783
|
...contents,
|
|
2959
2784
|
};
|
|
2960
|
-
return
|
|
2785
|
+
return response;
|
|
2961
2786
|
};
|
|
2962
2787
|
exports.de_UpdateTrailCommand = de_UpdateTrailCommand;
|
|
2963
2788
|
const de_UpdateTrailCommandError = async (output, context) => {
|
|
@@ -3065,17 +2890,16 @@ const de_UpdateTrailCommandError = async (output, context) => {
|
|
|
3065
2890
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3066
2891
|
default:
|
|
3067
2892
|
const parsedBody = parsedOutput.body;
|
|
3068
|
-
|
|
2893
|
+
return throwDefaultError({
|
|
3069
2894
|
output,
|
|
3070
2895
|
parsedBody,
|
|
3071
|
-
exceptionCtor: CloudTrailServiceException_1.CloudTrailServiceException,
|
|
3072
2896
|
errorCode,
|
|
3073
2897
|
});
|
|
3074
2898
|
}
|
|
3075
2899
|
};
|
|
3076
2900
|
const de_AccountHasOngoingImportExceptionRes = async (parsedOutput, context) => {
|
|
3077
2901
|
const body = parsedOutput.body;
|
|
3078
|
-
const deserialized =
|
|
2902
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3079
2903
|
const exception = new models_0_1.AccountHasOngoingImportException({
|
|
3080
2904
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3081
2905
|
...deserialized,
|
|
@@ -3084,7 +2908,7 @@ const de_AccountHasOngoingImportExceptionRes = async (parsedOutput, context) =>
|
|
|
3084
2908
|
};
|
|
3085
2909
|
const de_AccountNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3086
2910
|
const body = parsedOutput.body;
|
|
3087
|
-
const deserialized =
|
|
2911
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3088
2912
|
const exception = new models_0_1.AccountNotFoundException({
|
|
3089
2913
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3090
2914
|
...deserialized,
|
|
@@ -3093,7 +2917,7 @@ const de_AccountNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3093
2917
|
};
|
|
3094
2918
|
const de_AccountNotRegisteredExceptionRes = async (parsedOutput, context) => {
|
|
3095
2919
|
const body = parsedOutput.body;
|
|
3096
|
-
const deserialized =
|
|
2920
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3097
2921
|
const exception = new models_0_1.AccountNotRegisteredException({
|
|
3098
2922
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3099
2923
|
...deserialized,
|
|
@@ -3102,7 +2926,7 @@ const de_AccountNotRegisteredExceptionRes = async (parsedOutput, context) => {
|
|
|
3102
2926
|
};
|
|
3103
2927
|
const de_AccountRegisteredExceptionRes = async (parsedOutput, context) => {
|
|
3104
2928
|
const body = parsedOutput.body;
|
|
3105
|
-
const deserialized =
|
|
2929
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3106
2930
|
const exception = new models_0_1.AccountRegisteredException({
|
|
3107
2931
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3108
2932
|
...deserialized,
|
|
@@ -3111,7 +2935,7 @@ const de_AccountRegisteredExceptionRes = async (parsedOutput, context) => {
|
|
|
3111
2935
|
};
|
|
3112
2936
|
const de_CannotDelegateManagementAccountExceptionRes = async (parsedOutput, context) => {
|
|
3113
2937
|
const body = parsedOutput.body;
|
|
3114
|
-
const deserialized =
|
|
2938
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3115
2939
|
const exception = new models_0_1.CannotDelegateManagementAccountException({
|
|
3116
2940
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3117
2941
|
...deserialized,
|
|
@@ -3120,7 +2944,7 @@ const de_CannotDelegateManagementAccountExceptionRes = async (parsedOutput, cont
|
|
|
3120
2944
|
};
|
|
3121
2945
|
const de_ChannelAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
3122
2946
|
const body = parsedOutput.body;
|
|
3123
|
-
const deserialized =
|
|
2947
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3124
2948
|
const exception = new models_0_1.ChannelAlreadyExistsException({
|
|
3125
2949
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3126
2950
|
...deserialized,
|
|
@@ -3129,7 +2953,7 @@ const de_ChannelAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
3129
2953
|
};
|
|
3130
2954
|
const de_ChannelARNInvalidExceptionRes = async (parsedOutput, context) => {
|
|
3131
2955
|
const body = parsedOutput.body;
|
|
3132
|
-
const deserialized =
|
|
2956
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3133
2957
|
const exception = new models_0_1.ChannelARNInvalidException({
|
|
3134
2958
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3135
2959
|
...deserialized,
|
|
@@ -3138,7 +2962,7 @@ const de_ChannelARNInvalidExceptionRes = async (parsedOutput, context) => {
|
|
|
3138
2962
|
};
|
|
3139
2963
|
const de_ChannelExistsForEDSExceptionRes = async (parsedOutput, context) => {
|
|
3140
2964
|
const body = parsedOutput.body;
|
|
3141
|
-
const deserialized =
|
|
2965
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3142
2966
|
const exception = new models_0_1.ChannelExistsForEDSException({
|
|
3143
2967
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3144
2968
|
...deserialized,
|
|
@@ -3147,7 +2971,7 @@ const de_ChannelExistsForEDSExceptionRes = async (parsedOutput, context) => {
|
|
|
3147
2971
|
};
|
|
3148
2972
|
const de_ChannelMaxLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3149
2973
|
const body = parsedOutput.body;
|
|
3150
|
-
const deserialized =
|
|
2974
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3151
2975
|
const exception = new models_0_1.ChannelMaxLimitExceededException({
|
|
3152
2976
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3153
2977
|
...deserialized,
|
|
@@ -3156,7 +2980,7 @@ const de_ChannelMaxLimitExceededExceptionRes = async (parsedOutput, context) =>
|
|
|
3156
2980
|
};
|
|
3157
2981
|
const de_ChannelNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3158
2982
|
const body = parsedOutput.body;
|
|
3159
|
-
const deserialized =
|
|
2983
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3160
2984
|
const exception = new models_0_1.ChannelNotFoundException({
|
|
3161
2985
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3162
2986
|
...deserialized,
|
|
@@ -3165,7 +2989,7 @@ const de_ChannelNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3165
2989
|
};
|
|
3166
2990
|
const de_CloudTrailAccessNotEnabledExceptionRes = async (parsedOutput, context) => {
|
|
3167
2991
|
const body = parsedOutput.body;
|
|
3168
|
-
const deserialized =
|
|
2992
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3169
2993
|
const exception = new models_0_1.CloudTrailAccessNotEnabledException({
|
|
3170
2994
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3171
2995
|
...deserialized,
|
|
@@ -3174,7 +2998,7 @@ const de_CloudTrailAccessNotEnabledExceptionRes = async (parsedOutput, context)
|
|
|
3174
2998
|
};
|
|
3175
2999
|
const de_CloudTrailARNInvalidExceptionRes = async (parsedOutput, context) => {
|
|
3176
3000
|
const body = parsedOutput.body;
|
|
3177
|
-
const deserialized =
|
|
3001
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3178
3002
|
const exception = new models_0_1.CloudTrailARNInvalidException({
|
|
3179
3003
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3180
3004
|
...deserialized,
|
|
@@ -3183,7 +3007,7 @@ const de_CloudTrailARNInvalidExceptionRes = async (parsedOutput, context) => {
|
|
|
3183
3007
|
};
|
|
3184
3008
|
const de_CloudTrailInvalidClientTokenIdExceptionRes = async (parsedOutput, context) => {
|
|
3185
3009
|
const body = parsedOutput.body;
|
|
3186
|
-
const deserialized =
|
|
3010
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3187
3011
|
const exception = new models_0_1.CloudTrailInvalidClientTokenIdException({
|
|
3188
3012
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3189
3013
|
...deserialized,
|
|
@@ -3192,7 +3016,7 @@ const de_CloudTrailInvalidClientTokenIdExceptionRes = async (parsedOutput, conte
|
|
|
3192
3016
|
};
|
|
3193
3017
|
const de_CloudWatchLogsDeliveryUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
3194
3018
|
const body = parsedOutput.body;
|
|
3195
|
-
const deserialized =
|
|
3019
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3196
3020
|
const exception = new models_0_1.CloudWatchLogsDeliveryUnavailableException({
|
|
3197
3021
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3198
3022
|
...deserialized,
|
|
@@ -3201,7 +3025,7 @@ const de_CloudWatchLogsDeliveryUnavailableExceptionRes = async (parsedOutput, co
|
|
|
3201
3025
|
};
|
|
3202
3026
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
3203
3027
|
const body = parsedOutput.body;
|
|
3204
|
-
const deserialized =
|
|
3028
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3205
3029
|
const exception = new models_0_1.ConflictException({
|
|
3206
3030
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3207
3031
|
...deserialized,
|
|
@@ -3210,7 +3034,7 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
3210
3034
|
};
|
|
3211
3035
|
const de_DelegatedAdminAccountLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3212
3036
|
const body = parsedOutput.body;
|
|
3213
|
-
const deserialized =
|
|
3037
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3214
3038
|
const exception = new models_0_1.DelegatedAdminAccountLimitExceededException({
|
|
3215
3039
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3216
3040
|
...deserialized,
|
|
@@ -3219,7 +3043,7 @@ const de_DelegatedAdminAccountLimitExceededExceptionRes = async (parsedOutput, c
|
|
|
3219
3043
|
};
|
|
3220
3044
|
const de_EventDataStoreAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
3221
3045
|
const body = parsedOutput.body;
|
|
3222
|
-
const deserialized =
|
|
3046
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3223
3047
|
const exception = new models_0_1.EventDataStoreAlreadyExistsException({
|
|
3224
3048
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3225
3049
|
...deserialized,
|
|
@@ -3228,7 +3052,7 @@ const de_EventDataStoreAlreadyExistsExceptionRes = async (parsedOutput, context)
|
|
|
3228
3052
|
};
|
|
3229
3053
|
const de_EventDataStoreARNInvalidExceptionRes = async (parsedOutput, context) => {
|
|
3230
3054
|
const body = parsedOutput.body;
|
|
3231
|
-
const deserialized =
|
|
3055
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3232
3056
|
const exception = new models_0_1.EventDataStoreARNInvalidException({
|
|
3233
3057
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3234
3058
|
...deserialized,
|
|
@@ -3237,7 +3061,7 @@ const de_EventDataStoreARNInvalidExceptionRes = async (parsedOutput, context) =>
|
|
|
3237
3061
|
};
|
|
3238
3062
|
const de_EventDataStoreHasOngoingImportExceptionRes = async (parsedOutput, context) => {
|
|
3239
3063
|
const body = parsedOutput.body;
|
|
3240
|
-
const deserialized =
|
|
3064
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3241
3065
|
const exception = new models_0_1.EventDataStoreHasOngoingImportException({
|
|
3242
3066
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3243
3067
|
...deserialized,
|
|
@@ -3246,7 +3070,7 @@ const de_EventDataStoreHasOngoingImportExceptionRes = async (parsedOutput, conte
|
|
|
3246
3070
|
};
|
|
3247
3071
|
const de_EventDataStoreMaxLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3248
3072
|
const body = parsedOutput.body;
|
|
3249
|
-
const deserialized =
|
|
3073
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3250
3074
|
const exception = new models_0_1.EventDataStoreMaxLimitExceededException({
|
|
3251
3075
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3252
3076
|
...deserialized,
|
|
@@ -3255,7 +3079,7 @@ const de_EventDataStoreMaxLimitExceededExceptionRes = async (parsedOutput, conte
|
|
|
3255
3079
|
};
|
|
3256
3080
|
const de_EventDataStoreNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3257
3081
|
const body = parsedOutput.body;
|
|
3258
|
-
const deserialized =
|
|
3082
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3259
3083
|
const exception = new models_0_1.EventDataStoreNotFoundException({
|
|
3260
3084
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3261
3085
|
...deserialized,
|
|
@@ -3264,7 +3088,7 @@ const de_EventDataStoreNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3264
3088
|
};
|
|
3265
3089
|
const de_EventDataStoreTerminationProtectedExceptionRes = async (parsedOutput, context) => {
|
|
3266
3090
|
const body = parsedOutput.body;
|
|
3267
|
-
const deserialized =
|
|
3091
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3268
3092
|
const exception = new models_0_1.EventDataStoreTerminationProtectedException({
|
|
3269
3093
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3270
3094
|
...deserialized,
|
|
@@ -3273,7 +3097,7 @@ const de_EventDataStoreTerminationProtectedExceptionRes = async (parsedOutput, c
|
|
|
3273
3097
|
};
|
|
3274
3098
|
const de_ImportNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3275
3099
|
const body = parsedOutput.body;
|
|
3276
|
-
const deserialized =
|
|
3100
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3277
3101
|
const exception = new models_0_1.ImportNotFoundException({
|
|
3278
3102
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3279
3103
|
...deserialized,
|
|
@@ -3282,7 +3106,7 @@ const de_ImportNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3282
3106
|
};
|
|
3283
3107
|
const de_InactiveEventDataStoreExceptionRes = async (parsedOutput, context) => {
|
|
3284
3108
|
const body = parsedOutput.body;
|
|
3285
|
-
const deserialized =
|
|
3109
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3286
3110
|
const exception = new models_0_1.InactiveEventDataStoreException({
|
|
3287
3111
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3288
3112
|
...deserialized,
|
|
@@ -3291,7 +3115,7 @@ const de_InactiveEventDataStoreExceptionRes = async (parsedOutput, context) => {
|
|
|
3291
3115
|
};
|
|
3292
3116
|
const de_InactiveQueryExceptionRes = async (parsedOutput, context) => {
|
|
3293
3117
|
const body = parsedOutput.body;
|
|
3294
|
-
const deserialized =
|
|
3118
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3295
3119
|
const exception = new models_0_1.InactiveQueryException({
|
|
3296
3120
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3297
3121
|
...deserialized,
|
|
@@ -3300,7 +3124,7 @@ const de_InactiveQueryExceptionRes = async (parsedOutput, context) => {
|
|
|
3300
3124
|
};
|
|
3301
3125
|
const de_InsightNotEnabledExceptionRes = async (parsedOutput, context) => {
|
|
3302
3126
|
const body = parsedOutput.body;
|
|
3303
|
-
const deserialized =
|
|
3127
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3304
3128
|
const exception = new models_0_1.InsightNotEnabledException({
|
|
3305
3129
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3306
3130
|
...deserialized,
|
|
@@ -3309,7 +3133,7 @@ const de_InsightNotEnabledExceptionRes = async (parsedOutput, context) => {
|
|
|
3309
3133
|
};
|
|
3310
3134
|
const de_InsufficientDependencyServiceAccessPermissionExceptionRes = async (parsedOutput, context) => {
|
|
3311
3135
|
const body = parsedOutput.body;
|
|
3312
|
-
const deserialized =
|
|
3136
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3313
3137
|
const exception = new models_0_1.InsufficientDependencyServiceAccessPermissionException({
|
|
3314
3138
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3315
3139
|
...deserialized,
|
|
@@ -3318,7 +3142,7 @@ const de_InsufficientDependencyServiceAccessPermissionExceptionRes = async (pars
|
|
|
3318
3142
|
};
|
|
3319
3143
|
const de_InsufficientEncryptionPolicyExceptionRes = async (parsedOutput, context) => {
|
|
3320
3144
|
const body = parsedOutput.body;
|
|
3321
|
-
const deserialized =
|
|
3145
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3322
3146
|
const exception = new models_0_1.InsufficientEncryptionPolicyException({
|
|
3323
3147
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3324
3148
|
...deserialized,
|
|
@@ -3327,7 +3151,7 @@ const de_InsufficientEncryptionPolicyExceptionRes = async (parsedOutput, context
|
|
|
3327
3151
|
};
|
|
3328
3152
|
const de_InsufficientS3BucketPolicyExceptionRes = async (parsedOutput, context) => {
|
|
3329
3153
|
const body = parsedOutput.body;
|
|
3330
|
-
const deserialized =
|
|
3154
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3331
3155
|
const exception = new models_0_1.InsufficientS3BucketPolicyException({
|
|
3332
3156
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3333
3157
|
...deserialized,
|
|
@@ -3336,7 +3160,7 @@ const de_InsufficientS3BucketPolicyExceptionRes = async (parsedOutput, context)
|
|
|
3336
3160
|
};
|
|
3337
3161
|
const de_InsufficientSnsTopicPolicyExceptionRes = async (parsedOutput, context) => {
|
|
3338
3162
|
const body = parsedOutput.body;
|
|
3339
|
-
const deserialized =
|
|
3163
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3340
3164
|
const exception = new models_0_1.InsufficientSnsTopicPolicyException({
|
|
3341
3165
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3342
3166
|
...deserialized,
|
|
@@ -3345,7 +3169,7 @@ const de_InsufficientSnsTopicPolicyExceptionRes = async (parsedOutput, context)
|
|
|
3345
3169
|
};
|
|
3346
3170
|
const de_InvalidCloudWatchLogsLogGroupArnExceptionRes = async (parsedOutput, context) => {
|
|
3347
3171
|
const body = parsedOutput.body;
|
|
3348
|
-
const deserialized =
|
|
3172
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3349
3173
|
const exception = new models_0_1.InvalidCloudWatchLogsLogGroupArnException({
|
|
3350
3174
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3351
3175
|
...deserialized,
|
|
@@ -3354,7 +3178,7 @@ const de_InvalidCloudWatchLogsLogGroupArnExceptionRes = async (parsedOutput, con
|
|
|
3354
3178
|
};
|
|
3355
3179
|
const de_InvalidCloudWatchLogsRoleArnExceptionRes = async (parsedOutput, context) => {
|
|
3356
3180
|
const body = parsedOutput.body;
|
|
3357
|
-
const deserialized =
|
|
3181
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3358
3182
|
const exception = new models_0_1.InvalidCloudWatchLogsRoleArnException({
|
|
3359
3183
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3360
3184
|
...deserialized,
|
|
@@ -3363,7 +3187,7 @@ const de_InvalidCloudWatchLogsRoleArnExceptionRes = async (parsedOutput, context
|
|
|
3363
3187
|
};
|
|
3364
3188
|
const de_InvalidDateRangeExceptionRes = async (parsedOutput, context) => {
|
|
3365
3189
|
const body = parsedOutput.body;
|
|
3366
|
-
const deserialized =
|
|
3190
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3367
3191
|
const exception = new models_0_1.InvalidDateRangeException({
|
|
3368
3192
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3369
3193
|
...deserialized,
|
|
@@ -3372,7 +3196,7 @@ const de_InvalidDateRangeExceptionRes = async (parsedOutput, context) => {
|
|
|
3372
3196
|
};
|
|
3373
3197
|
const de_InvalidEventCategoryExceptionRes = async (parsedOutput, context) => {
|
|
3374
3198
|
const body = parsedOutput.body;
|
|
3375
|
-
const deserialized =
|
|
3199
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3376
3200
|
const exception = new models_0_1.InvalidEventCategoryException({
|
|
3377
3201
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3378
3202
|
...deserialized,
|
|
@@ -3381,7 +3205,7 @@ const de_InvalidEventCategoryExceptionRes = async (parsedOutput, context) => {
|
|
|
3381
3205
|
};
|
|
3382
3206
|
const de_InvalidEventDataStoreCategoryExceptionRes = async (parsedOutput, context) => {
|
|
3383
3207
|
const body = parsedOutput.body;
|
|
3384
|
-
const deserialized =
|
|
3208
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3385
3209
|
const exception = new models_0_1.InvalidEventDataStoreCategoryException({
|
|
3386
3210
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3387
3211
|
...deserialized,
|
|
@@ -3390,7 +3214,7 @@ const de_InvalidEventDataStoreCategoryExceptionRes = async (parsedOutput, contex
|
|
|
3390
3214
|
};
|
|
3391
3215
|
const de_InvalidEventDataStoreStatusExceptionRes = async (parsedOutput, context) => {
|
|
3392
3216
|
const body = parsedOutput.body;
|
|
3393
|
-
const deserialized =
|
|
3217
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3394
3218
|
const exception = new models_0_1.InvalidEventDataStoreStatusException({
|
|
3395
3219
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3396
3220
|
...deserialized,
|
|
@@ -3399,7 +3223,7 @@ const de_InvalidEventDataStoreStatusExceptionRes = async (parsedOutput, context)
|
|
|
3399
3223
|
};
|
|
3400
3224
|
const de_InvalidEventSelectorsExceptionRes = async (parsedOutput, context) => {
|
|
3401
3225
|
const body = parsedOutput.body;
|
|
3402
|
-
const deserialized =
|
|
3226
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3403
3227
|
const exception = new models_0_1.InvalidEventSelectorsException({
|
|
3404
3228
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3405
3229
|
...deserialized,
|
|
@@ -3408,7 +3232,7 @@ const de_InvalidEventSelectorsExceptionRes = async (parsedOutput, context) => {
|
|
|
3408
3232
|
};
|
|
3409
3233
|
const de_InvalidHomeRegionExceptionRes = async (parsedOutput, context) => {
|
|
3410
3234
|
const body = parsedOutput.body;
|
|
3411
|
-
const deserialized =
|
|
3235
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3412
3236
|
const exception = new models_0_1.InvalidHomeRegionException({
|
|
3413
3237
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3414
3238
|
...deserialized,
|
|
@@ -3417,7 +3241,7 @@ const de_InvalidHomeRegionExceptionRes = async (parsedOutput, context) => {
|
|
|
3417
3241
|
};
|
|
3418
3242
|
const de_InvalidImportSourceExceptionRes = async (parsedOutput, context) => {
|
|
3419
3243
|
const body = parsedOutput.body;
|
|
3420
|
-
const deserialized =
|
|
3244
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3421
3245
|
const exception = new models_0_1.InvalidImportSourceException({
|
|
3422
3246
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3423
3247
|
...deserialized,
|
|
@@ -3426,7 +3250,7 @@ const de_InvalidImportSourceExceptionRes = async (parsedOutput, context) => {
|
|
|
3426
3250
|
};
|
|
3427
3251
|
const de_InvalidInsightSelectorsExceptionRes = async (parsedOutput, context) => {
|
|
3428
3252
|
const body = parsedOutput.body;
|
|
3429
|
-
const deserialized =
|
|
3253
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3430
3254
|
const exception = new models_0_1.InvalidInsightSelectorsException({
|
|
3431
3255
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3432
3256
|
...deserialized,
|
|
@@ -3435,7 +3259,7 @@ const de_InvalidInsightSelectorsExceptionRes = async (parsedOutput, context) =>
|
|
|
3435
3259
|
};
|
|
3436
3260
|
const de_InvalidKmsKeyIdExceptionRes = async (parsedOutput, context) => {
|
|
3437
3261
|
const body = parsedOutput.body;
|
|
3438
|
-
const deserialized =
|
|
3262
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3439
3263
|
const exception = new models_0_1.InvalidKmsKeyIdException({
|
|
3440
3264
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3441
3265
|
...deserialized,
|
|
@@ -3444,7 +3268,7 @@ const de_InvalidKmsKeyIdExceptionRes = async (parsedOutput, context) => {
|
|
|
3444
3268
|
};
|
|
3445
3269
|
const de_InvalidLookupAttributesExceptionRes = async (parsedOutput, context) => {
|
|
3446
3270
|
const body = parsedOutput.body;
|
|
3447
|
-
const deserialized =
|
|
3271
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3448
3272
|
const exception = new models_0_1.InvalidLookupAttributesException({
|
|
3449
3273
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3450
3274
|
...deserialized,
|
|
@@ -3453,7 +3277,7 @@ const de_InvalidLookupAttributesExceptionRes = async (parsedOutput, context) =>
|
|
|
3453
3277
|
};
|
|
3454
3278
|
const de_InvalidMaxResultsExceptionRes = async (parsedOutput, context) => {
|
|
3455
3279
|
const body = parsedOutput.body;
|
|
3456
|
-
const deserialized =
|
|
3280
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3457
3281
|
const exception = new models_0_1.InvalidMaxResultsException({
|
|
3458
3282
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3459
3283
|
...deserialized,
|
|
@@ -3462,7 +3286,7 @@ const de_InvalidMaxResultsExceptionRes = async (parsedOutput, context) => {
|
|
|
3462
3286
|
};
|
|
3463
3287
|
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
3464
3288
|
const body = parsedOutput.body;
|
|
3465
|
-
const deserialized =
|
|
3289
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3466
3290
|
const exception = new models_0_1.InvalidNextTokenException({
|
|
3467
3291
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3468
3292
|
...deserialized,
|
|
@@ -3471,7 +3295,7 @@ const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
3471
3295
|
};
|
|
3472
3296
|
const de_InvalidParameterCombinationExceptionRes = async (parsedOutput, context) => {
|
|
3473
3297
|
const body = parsedOutput.body;
|
|
3474
|
-
const deserialized =
|
|
3298
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3475
3299
|
const exception = new models_0_1.InvalidParameterCombinationException({
|
|
3476
3300
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3477
3301
|
...deserialized,
|
|
@@ -3480,7 +3304,7 @@ const de_InvalidParameterCombinationExceptionRes = async (parsedOutput, context)
|
|
|
3480
3304
|
};
|
|
3481
3305
|
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
3482
3306
|
const body = parsedOutput.body;
|
|
3483
|
-
const deserialized =
|
|
3307
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3484
3308
|
const exception = new models_0_1.InvalidParameterException({
|
|
3485
3309
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3486
3310
|
...deserialized,
|
|
@@ -3489,7 +3313,7 @@ const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
|
3489
3313
|
};
|
|
3490
3314
|
const de_InvalidQueryStatementExceptionRes = async (parsedOutput, context) => {
|
|
3491
3315
|
const body = parsedOutput.body;
|
|
3492
|
-
const deserialized =
|
|
3316
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3493
3317
|
const exception = new models_0_1.InvalidQueryStatementException({
|
|
3494
3318
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3495
3319
|
...deserialized,
|
|
@@ -3498,7 +3322,7 @@ const de_InvalidQueryStatementExceptionRes = async (parsedOutput, context) => {
|
|
|
3498
3322
|
};
|
|
3499
3323
|
const de_InvalidQueryStatusExceptionRes = async (parsedOutput, context) => {
|
|
3500
3324
|
const body = parsedOutput.body;
|
|
3501
|
-
const deserialized =
|
|
3325
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3502
3326
|
const exception = new models_0_1.InvalidQueryStatusException({
|
|
3503
3327
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3504
3328
|
...deserialized,
|
|
@@ -3507,7 +3331,7 @@ const de_InvalidQueryStatusExceptionRes = async (parsedOutput, context) => {
|
|
|
3507
3331
|
};
|
|
3508
3332
|
const de_InvalidS3BucketNameExceptionRes = async (parsedOutput, context) => {
|
|
3509
3333
|
const body = parsedOutput.body;
|
|
3510
|
-
const deserialized =
|
|
3334
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3511
3335
|
const exception = new models_0_1.InvalidS3BucketNameException({
|
|
3512
3336
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3513
3337
|
...deserialized,
|
|
@@ -3516,7 +3340,7 @@ const de_InvalidS3BucketNameExceptionRes = async (parsedOutput, context) => {
|
|
|
3516
3340
|
};
|
|
3517
3341
|
const de_InvalidS3PrefixExceptionRes = async (parsedOutput, context) => {
|
|
3518
3342
|
const body = parsedOutput.body;
|
|
3519
|
-
const deserialized =
|
|
3343
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3520
3344
|
const exception = new models_0_1.InvalidS3PrefixException({
|
|
3521
3345
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3522
3346
|
...deserialized,
|
|
@@ -3525,7 +3349,7 @@ const de_InvalidS3PrefixExceptionRes = async (parsedOutput, context) => {
|
|
|
3525
3349
|
};
|
|
3526
3350
|
const de_InvalidSnsTopicNameExceptionRes = async (parsedOutput, context) => {
|
|
3527
3351
|
const body = parsedOutput.body;
|
|
3528
|
-
const deserialized =
|
|
3352
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3529
3353
|
const exception = new models_0_1.InvalidSnsTopicNameException({
|
|
3530
3354
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3531
3355
|
...deserialized,
|
|
@@ -3534,7 +3358,7 @@ const de_InvalidSnsTopicNameExceptionRes = async (parsedOutput, context) => {
|
|
|
3534
3358
|
};
|
|
3535
3359
|
const de_InvalidSourceExceptionRes = async (parsedOutput, context) => {
|
|
3536
3360
|
const body = parsedOutput.body;
|
|
3537
|
-
const deserialized =
|
|
3361
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3538
3362
|
const exception = new models_0_1.InvalidSourceException({
|
|
3539
3363
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3540
3364
|
...deserialized,
|
|
@@ -3543,7 +3367,7 @@ const de_InvalidSourceExceptionRes = async (parsedOutput, context) => {
|
|
|
3543
3367
|
};
|
|
3544
3368
|
const de_InvalidTagParameterExceptionRes = async (parsedOutput, context) => {
|
|
3545
3369
|
const body = parsedOutput.body;
|
|
3546
|
-
const deserialized =
|
|
3370
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3547
3371
|
const exception = new models_0_1.InvalidTagParameterException({
|
|
3548
3372
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3549
3373
|
...deserialized,
|
|
@@ -3552,7 +3376,7 @@ const de_InvalidTagParameterExceptionRes = async (parsedOutput, context) => {
|
|
|
3552
3376
|
};
|
|
3553
3377
|
const de_InvalidTimeRangeExceptionRes = async (parsedOutput, context) => {
|
|
3554
3378
|
const body = parsedOutput.body;
|
|
3555
|
-
const deserialized =
|
|
3379
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3556
3380
|
const exception = new models_0_1.InvalidTimeRangeException({
|
|
3557
3381
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3558
3382
|
...deserialized,
|
|
@@ -3561,7 +3385,7 @@ const de_InvalidTimeRangeExceptionRes = async (parsedOutput, context) => {
|
|
|
3561
3385
|
};
|
|
3562
3386
|
const de_InvalidTokenExceptionRes = async (parsedOutput, context) => {
|
|
3563
3387
|
const body = parsedOutput.body;
|
|
3564
|
-
const deserialized =
|
|
3388
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3565
3389
|
const exception = new models_0_1.InvalidTokenException({
|
|
3566
3390
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3567
3391
|
...deserialized,
|
|
@@ -3570,7 +3394,7 @@ const de_InvalidTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
3570
3394
|
};
|
|
3571
3395
|
const de_InvalidTrailNameExceptionRes = async (parsedOutput, context) => {
|
|
3572
3396
|
const body = parsedOutput.body;
|
|
3573
|
-
const deserialized =
|
|
3397
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3574
3398
|
const exception = new models_0_1.InvalidTrailNameException({
|
|
3575
3399
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3576
3400
|
...deserialized,
|
|
@@ -3579,7 +3403,7 @@ const de_InvalidTrailNameExceptionRes = async (parsedOutput, context) => {
|
|
|
3579
3403
|
};
|
|
3580
3404
|
const de_KmsExceptionRes = async (parsedOutput, context) => {
|
|
3581
3405
|
const body = parsedOutput.body;
|
|
3582
|
-
const deserialized =
|
|
3406
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3583
3407
|
const exception = new models_0_1.KmsException({
|
|
3584
3408
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3585
3409
|
...deserialized,
|
|
@@ -3588,7 +3412,7 @@ const de_KmsExceptionRes = async (parsedOutput, context) => {
|
|
|
3588
3412
|
};
|
|
3589
3413
|
const de_KmsKeyDisabledExceptionRes = async (parsedOutput, context) => {
|
|
3590
3414
|
const body = parsedOutput.body;
|
|
3591
|
-
const deserialized =
|
|
3415
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3592
3416
|
const exception = new models_0_1.KmsKeyDisabledException({
|
|
3593
3417
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3594
3418
|
...deserialized,
|
|
@@ -3597,7 +3421,7 @@ const de_KmsKeyDisabledExceptionRes = async (parsedOutput, context) => {
|
|
|
3597
3421
|
};
|
|
3598
3422
|
const de_KmsKeyNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3599
3423
|
const body = parsedOutput.body;
|
|
3600
|
-
const deserialized =
|
|
3424
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3601
3425
|
const exception = new models_0_1.KmsKeyNotFoundException({
|
|
3602
3426
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3603
3427
|
...deserialized,
|
|
@@ -3606,7 +3430,7 @@ const de_KmsKeyNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3606
3430
|
};
|
|
3607
3431
|
const de_MaxConcurrentQueriesExceptionRes = async (parsedOutput, context) => {
|
|
3608
3432
|
const body = parsedOutput.body;
|
|
3609
|
-
const deserialized =
|
|
3433
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3610
3434
|
const exception = new models_0_1.MaxConcurrentQueriesException({
|
|
3611
3435
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3612
3436
|
...deserialized,
|
|
@@ -3615,7 +3439,7 @@ const de_MaxConcurrentQueriesExceptionRes = async (parsedOutput, context) => {
|
|
|
3615
3439
|
};
|
|
3616
3440
|
const de_MaximumNumberOfTrailsExceededExceptionRes = async (parsedOutput, context) => {
|
|
3617
3441
|
const body = parsedOutput.body;
|
|
3618
|
-
const deserialized =
|
|
3442
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3619
3443
|
const exception = new models_0_1.MaximumNumberOfTrailsExceededException({
|
|
3620
3444
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3621
3445
|
...deserialized,
|
|
@@ -3624,7 +3448,7 @@ const de_MaximumNumberOfTrailsExceededExceptionRes = async (parsedOutput, contex
|
|
|
3624
3448
|
};
|
|
3625
3449
|
const de_NoManagementAccountSLRExistsExceptionRes = async (parsedOutput, context) => {
|
|
3626
3450
|
const body = parsedOutput.body;
|
|
3627
|
-
const deserialized =
|
|
3451
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3628
3452
|
const exception = new models_0_1.NoManagementAccountSLRExistsException({
|
|
3629
3453
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3630
3454
|
...deserialized,
|
|
@@ -3633,7 +3457,7 @@ const de_NoManagementAccountSLRExistsExceptionRes = async (parsedOutput, context
|
|
|
3633
3457
|
};
|
|
3634
3458
|
const de_NotOrganizationManagementAccountExceptionRes = async (parsedOutput, context) => {
|
|
3635
3459
|
const body = parsedOutput.body;
|
|
3636
|
-
const deserialized =
|
|
3460
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3637
3461
|
const exception = new models_0_1.NotOrganizationManagementAccountException({
|
|
3638
3462
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3639
3463
|
...deserialized,
|
|
@@ -3642,7 +3466,7 @@ const de_NotOrganizationManagementAccountExceptionRes = async (parsedOutput, con
|
|
|
3642
3466
|
};
|
|
3643
3467
|
const de_NotOrganizationMasterAccountExceptionRes = async (parsedOutput, context) => {
|
|
3644
3468
|
const body = parsedOutput.body;
|
|
3645
|
-
const deserialized =
|
|
3469
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3646
3470
|
const exception = new models_0_1.NotOrganizationMasterAccountException({
|
|
3647
3471
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3648
3472
|
...deserialized,
|
|
@@ -3651,7 +3475,7 @@ const de_NotOrganizationMasterAccountExceptionRes = async (parsedOutput, context
|
|
|
3651
3475
|
};
|
|
3652
3476
|
const de_OperationNotPermittedExceptionRes = async (parsedOutput, context) => {
|
|
3653
3477
|
const body = parsedOutput.body;
|
|
3654
|
-
const deserialized =
|
|
3478
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3655
3479
|
const exception = new models_0_1.OperationNotPermittedException({
|
|
3656
3480
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3657
3481
|
...deserialized,
|
|
@@ -3660,7 +3484,7 @@ const de_OperationNotPermittedExceptionRes = async (parsedOutput, context) => {
|
|
|
3660
3484
|
};
|
|
3661
3485
|
const de_OrganizationNotInAllFeaturesModeExceptionRes = async (parsedOutput, context) => {
|
|
3662
3486
|
const body = parsedOutput.body;
|
|
3663
|
-
const deserialized =
|
|
3487
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3664
3488
|
const exception = new models_0_1.OrganizationNotInAllFeaturesModeException({
|
|
3665
3489
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3666
3490
|
...deserialized,
|
|
@@ -3669,7 +3493,7 @@ const de_OrganizationNotInAllFeaturesModeExceptionRes = async (parsedOutput, con
|
|
|
3669
3493
|
};
|
|
3670
3494
|
const de_OrganizationsNotInUseExceptionRes = async (parsedOutput, context) => {
|
|
3671
3495
|
const body = parsedOutput.body;
|
|
3672
|
-
const deserialized =
|
|
3496
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3673
3497
|
const exception = new models_0_1.OrganizationsNotInUseException({
|
|
3674
3498
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3675
3499
|
...deserialized,
|
|
@@ -3678,7 +3502,7 @@ const de_OrganizationsNotInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
3678
3502
|
};
|
|
3679
3503
|
const de_QueryIdNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3680
3504
|
const body = parsedOutput.body;
|
|
3681
|
-
const deserialized =
|
|
3505
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3682
3506
|
const exception = new models_0_1.QueryIdNotFoundException({
|
|
3683
3507
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3684
3508
|
...deserialized,
|
|
@@ -3687,7 +3511,7 @@ const de_QueryIdNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3687
3511
|
};
|
|
3688
3512
|
const de_ResourceARNNotValidExceptionRes = async (parsedOutput, context) => {
|
|
3689
3513
|
const body = parsedOutput.body;
|
|
3690
|
-
const deserialized =
|
|
3514
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3691
3515
|
const exception = new models_0_1.ResourceARNNotValidException({
|
|
3692
3516
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3693
3517
|
...deserialized,
|
|
@@ -3696,7 +3520,7 @@ const de_ResourceARNNotValidExceptionRes = async (parsedOutput, context) => {
|
|
|
3696
3520
|
};
|
|
3697
3521
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3698
3522
|
const body = parsedOutput.body;
|
|
3699
|
-
const deserialized =
|
|
3523
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3700
3524
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
3701
3525
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3702
3526
|
...deserialized,
|
|
@@ -3705,7 +3529,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3705
3529
|
};
|
|
3706
3530
|
const de_ResourcePolicyNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3707
3531
|
const body = parsedOutput.body;
|
|
3708
|
-
const deserialized =
|
|
3532
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3709
3533
|
const exception = new models_0_1.ResourcePolicyNotFoundException({
|
|
3710
3534
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3711
3535
|
...deserialized,
|
|
@@ -3714,7 +3538,7 @@ const de_ResourcePolicyNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3714
3538
|
};
|
|
3715
3539
|
const de_ResourcePolicyNotValidExceptionRes = async (parsedOutput, context) => {
|
|
3716
3540
|
const body = parsedOutput.body;
|
|
3717
|
-
const deserialized =
|
|
3541
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3718
3542
|
const exception = new models_0_1.ResourcePolicyNotValidException({
|
|
3719
3543
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3720
3544
|
...deserialized,
|
|
@@ -3723,7 +3547,7 @@ const de_ResourcePolicyNotValidExceptionRes = async (parsedOutput, context) => {
|
|
|
3723
3547
|
};
|
|
3724
3548
|
const de_ResourceTypeNotSupportedExceptionRes = async (parsedOutput, context) => {
|
|
3725
3549
|
const body = parsedOutput.body;
|
|
3726
|
-
const deserialized =
|
|
3550
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3727
3551
|
const exception = new models_0_1.ResourceTypeNotSupportedException({
|
|
3728
3552
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3729
3553
|
...deserialized,
|
|
@@ -3732,7 +3556,7 @@ const de_ResourceTypeNotSupportedExceptionRes = async (parsedOutput, context) =>
|
|
|
3732
3556
|
};
|
|
3733
3557
|
const de_S3BucketDoesNotExistExceptionRes = async (parsedOutput, context) => {
|
|
3734
3558
|
const body = parsedOutput.body;
|
|
3735
|
-
const deserialized =
|
|
3559
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3736
3560
|
const exception = new models_0_1.S3BucketDoesNotExistException({
|
|
3737
3561
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3738
3562
|
...deserialized,
|
|
@@ -3741,7 +3565,7 @@ const de_S3BucketDoesNotExistExceptionRes = async (parsedOutput, context) => {
|
|
|
3741
3565
|
};
|
|
3742
3566
|
const de_TagsLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3743
3567
|
const body = parsedOutput.body;
|
|
3744
|
-
const deserialized =
|
|
3568
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3745
3569
|
const exception = new models_0_1.TagsLimitExceededException({
|
|
3746
3570
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3747
3571
|
...deserialized,
|
|
@@ -3750,7 +3574,7 @@ const de_TagsLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
3750
3574
|
};
|
|
3751
3575
|
const de_TrailAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
3752
3576
|
const body = parsedOutput.body;
|
|
3753
|
-
const deserialized =
|
|
3577
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3754
3578
|
const exception = new models_0_1.TrailAlreadyExistsException({
|
|
3755
3579
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3756
3580
|
...deserialized,
|
|
@@ -3759,7 +3583,7 @@ const de_TrailAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
3759
3583
|
};
|
|
3760
3584
|
const de_TrailNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3761
3585
|
const body = parsedOutput.body;
|
|
3762
|
-
const deserialized =
|
|
3586
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3763
3587
|
const exception = new models_0_1.TrailNotFoundException({
|
|
3764
3588
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3765
3589
|
...deserialized,
|
|
@@ -3768,7 +3592,7 @@ const de_TrailNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3768
3592
|
};
|
|
3769
3593
|
const de_TrailNotProvidedExceptionRes = async (parsedOutput, context) => {
|
|
3770
3594
|
const body = parsedOutput.body;
|
|
3771
|
-
const deserialized =
|
|
3595
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3772
3596
|
const exception = new models_0_1.TrailNotProvidedException({
|
|
3773
3597
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3774
3598
|
...deserialized,
|
|
@@ -3777,1796 +3601,351 @@ const de_TrailNotProvidedExceptionRes = async (parsedOutput, context) => {
|
|
|
3777
3601
|
};
|
|
3778
3602
|
const de_UnsupportedOperationExceptionRes = async (parsedOutput, context) => {
|
|
3779
3603
|
const body = parsedOutput.body;
|
|
3780
|
-
const deserialized =
|
|
3604
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3781
3605
|
const exception = new models_0_1.UnsupportedOperationException({
|
|
3782
3606
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3783
3607
|
...deserialized,
|
|
3784
3608
|
});
|
|
3785
3609
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3786
3610
|
};
|
|
3787
|
-
const
|
|
3788
|
-
return {
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
};
|
|
3793
|
-
const se_AdvancedEventSelector = (input, context) => {
|
|
3794
|
-
return {
|
|
3795
|
-
...(input.FieldSelectors != null && { FieldSelectors: se_AdvancedFieldSelectors(input.FieldSelectors, context) }),
|
|
3796
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3797
|
-
};
|
|
3798
|
-
};
|
|
3799
|
-
const se_AdvancedEventSelectors = (input, context) => {
|
|
3800
|
-
return input
|
|
3801
|
-
.filter((e) => e != null)
|
|
3802
|
-
.map((entry) => {
|
|
3803
|
-
return se_AdvancedEventSelector(entry, context);
|
|
3611
|
+
const se_ListPublicKeysRequest = (input, context) => {
|
|
3612
|
+
return (0, smithy_client_1.take)(input, {
|
|
3613
|
+
EndTime: (_) => Math.round(_.getTime() / 1000),
|
|
3614
|
+
NextToken: [],
|
|
3615
|
+
StartTime: (_) => Math.round(_.getTime() / 1000),
|
|
3804
3616
|
});
|
|
3805
3617
|
};
|
|
3806
|
-
const
|
|
3807
|
-
return {
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
};
|
|
3618
|
+
const se_ListQueriesRequest = (input, context) => {
|
|
3619
|
+
return (0, smithy_client_1.take)(input, {
|
|
3620
|
+
EndTime: (_) => Math.round(_.getTime() / 1000),
|
|
3621
|
+
EventDataStore: [],
|
|
3622
|
+
MaxResults: [],
|
|
3623
|
+
NextToken: [],
|
|
3624
|
+
QueryStatus: [],
|
|
3625
|
+
StartTime: (_) => Math.round(_.getTime() / 1000),
|
|
3626
|
+
});
|
|
3816
3627
|
};
|
|
3817
|
-
const
|
|
3818
|
-
return input
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3628
|
+
const se_LookupEventsRequest = (input, context) => {
|
|
3629
|
+
return (0, smithy_client_1.take)(input, {
|
|
3630
|
+
EndTime: (_) => Math.round(_.getTime() / 1000),
|
|
3631
|
+
EventCategory: [],
|
|
3632
|
+
LookupAttributes: smithy_client_1._json,
|
|
3633
|
+
MaxResults: [],
|
|
3634
|
+
NextToken: [],
|
|
3635
|
+
StartTime: (_) => Math.round(_.getTime() / 1000),
|
|
3822
3636
|
});
|
|
3823
3637
|
};
|
|
3824
|
-
const
|
|
3825
|
-
return {
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3638
|
+
const se_StartImportRequest = (input, context) => {
|
|
3639
|
+
return (0, smithy_client_1.take)(input, {
|
|
3640
|
+
Destinations: smithy_client_1._json,
|
|
3641
|
+
EndEventTime: (_) => Math.round(_.getTime() / 1000),
|
|
3642
|
+
ImportId: [],
|
|
3643
|
+
ImportSource: smithy_client_1._json,
|
|
3644
|
+
StartEventTime: (_) => Math.round(_.getTime() / 1000),
|
|
3645
|
+
});
|
|
3829
3646
|
};
|
|
3830
|
-
const
|
|
3831
|
-
return {
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3647
|
+
const de_CreateEventDataStoreResponse = (output, context) => {
|
|
3648
|
+
return (0, smithy_client_1.take)(output, {
|
|
3649
|
+
AdvancedEventSelectors: smithy_client_1._json,
|
|
3650
|
+
CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3651
|
+
EventDataStoreArn: smithy_client_1.expectString,
|
|
3652
|
+
KmsKeyId: smithy_client_1.expectString,
|
|
3653
|
+
MultiRegionEnabled: smithy_client_1.expectBoolean,
|
|
3654
|
+
Name: smithy_client_1.expectString,
|
|
3655
|
+
OrganizationEnabled: smithy_client_1.expectBoolean,
|
|
3656
|
+
RetentionPeriod: smithy_client_1.expectInt32,
|
|
3657
|
+
Status: smithy_client_1.expectString,
|
|
3658
|
+
TagsList: smithy_client_1._json,
|
|
3659
|
+
TerminationProtectionEnabled: smithy_client_1.expectBoolean,
|
|
3660
|
+
UpdatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3661
|
+
});
|
|
3837
3662
|
};
|
|
3838
|
-
const
|
|
3839
|
-
return {
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
...(input.TagsList != null && { TagsList: se_TagsList(input.TagsList, context) }),
|
|
3849
|
-
...(input.TerminationProtectionEnabled != null && {
|
|
3850
|
-
TerminationProtectionEnabled: input.TerminationProtectionEnabled,
|
|
3851
|
-
}),
|
|
3852
|
-
};
|
|
3663
|
+
const de_DescribeQueryResponse = (output, context) => {
|
|
3664
|
+
return (0, smithy_client_1.take)(output, {
|
|
3665
|
+
DeliveryS3Uri: smithy_client_1.expectString,
|
|
3666
|
+
DeliveryStatus: smithy_client_1.expectString,
|
|
3667
|
+
ErrorMessage: smithy_client_1.expectString,
|
|
3668
|
+
QueryId: smithy_client_1.expectString,
|
|
3669
|
+
QueryStatistics: (_) => de_QueryStatisticsForDescribeQuery(_, context),
|
|
3670
|
+
QueryStatus: smithy_client_1.expectString,
|
|
3671
|
+
QueryString: smithy_client_1.expectString,
|
|
3672
|
+
});
|
|
3853
3673
|
};
|
|
3854
|
-
const
|
|
3855
|
-
return {
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
...(input.SnsTopicName != null && { SnsTopicName: input.SnsTopicName }),
|
|
3867
|
-
...(input.TagsList != null && { TagsList: se_TagsList(input.TagsList, context) }),
|
|
3868
|
-
};
|
|
3674
|
+
const de_Event = (output, context) => {
|
|
3675
|
+
return (0, smithy_client_1.take)(output, {
|
|
3676
|
+
AccessKeyId: smithy_client_1.expectString,
|
|
3677
|
+
CloudTrailEvent: smithy_client_1.expectString,
|
|
3678
|
+
EventId: smithy_client_1.expectString,
|
|
3679
|
+
EventName: smithy_client_1.expectString,
|
|
3680
|
+
EventSource: smithy_client_1.expectString,
|
|
3681
|
+
EventTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3682
|
+
ReadOnly: smithy_client_1.expectString,
|
|
3683
|
+
Resources: smithy_client_1._json,
|
|
3684
|
+
Username: smithy_client_1.expectString,
|
|
3685
|
+
});
|
|
3869
3686
|
};
|
|
3870
|
-
const
|
|
3871
|
-
return {
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3687
|
+
const de_EventDataStore = (output, context) => {
|
|
3688
|
+
return (0, smithy_client_1.take)(output, {
|
|
3689
|
+
AdvancedEventSelectors: smithy_client_1._json,
|
|
3690
|
+
CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3691
|
+
EventDataStoreArn: smithy_client_1.expectString,
|
|
3692
|
+
MultiRegionEnabled: smithy_client_1.expectBoolean,
|
|
3693
|
+
Name: smithy_client_1.expectString,
|
|
3694
|
+
OrganizationEnabled: smithy_client_1.expectBoolean,
|
|
3695
|
+
RetentionPeriod: smithy_client_1.expectInt32,
|
|
3696
|
+
Status: smithy_client_1.expectString,
|
|
3697
|
+
TerminationProtectionEnabled: smithy_client_1.expectBoolean,
|
|
3698
|
+
UpdatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3699
|
+
});
|
|
3875
3700
|
};
|
|
3876
|
-
const
|
|
3877
|
-
|
|
3701
|
+
const de_EventDataStores = (output, context) => {
|
|
3702
|
+
const retVal = (output || [])
|
|
3878
3703
|
.filter((e) => e != null)
|
|
3879
3704
|
.map((entry) => {
|
|
3880
|
-
return
|
|
3705
|
+
return de_EventDataStore(entry, context);
|
|
3881
3706
|
});
|
|
3707
|
+
return retVal;
|
|
3882
3708
|
};
|
|
3883
|
-
const
|
|
3884
|
-
|
|
3709
|
+
const de_EventsList = (output, context) => {
|
|
3710
|
+
const retVal = (output || [])
|
|
3885
3711
|
.filter((e) => e != null)
|
|
3886
3712
|
.map((entry) => {
|
|
3887
|
-
return entry;
|
|
3713
|
+
return de_Event(entry, context);
|
|
3888
3714
|
});
|
|
3715
|
+
return retVal;
|
|
3889
3716
|
};
|
|
3890
|
-
const
|
|
3891
|
-
return {
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
};
|
|
3899
|
-
};
|
|
3900
|
-
const se_DeleteResourcePolicyRequest = (input, context) => {
|
|
3901
|
-
return {
|
|
3902
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3903
|
-
};
|
|
3904
|
-
};
|
|
3905
|
-
const se_DeleteTrailRequest = (input, context) => {
|
|
3906
|
-
return {
|
|
3907
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3908
|
-
};
|
|
3909
|
-
};
|
|
3910
|
-
const se_DeregisterOrganizationDelegatedAdminRequest = (input, context) => {
|
|
3911
|
-
return {
|
|
3912
|
-
...(input.DelegatedAdminAccountId != null && { DelegatedAdminAccountId: input.DelegatedAdminAccountId }),
|
|
3913
|
-
};
|
|
3717
|
+
const de_GetChannelResponse = (output, context) => {
|
|
3718
|
+
return (0, smithy_client_1.take)(output, {
|
|
3719
|
+
ChannelArn: smithy_client_1.expectString,
|
|
3720
|
+
Destinations: smithy_client_1._json,
|
|
3721
|
+
IngestionStatus: (_) => de_IngestionStatus(_, context),
|
|
3722
|
+
Name: smithy_client_1.expectString,
|
|
3723
|
+
Source: smithy_client_1.expectString,
|
|
3724
|
+
SourceConfig: smithy_client_1._json,
|
|
3725
|
+
});
|
|
3914
3726
|
};
|
|
3915
|
-
const
|
|
3916
|
-
return {
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3727
|
+
const de_GetEventDataStoreResponse = (output, context) => {
|
|
3728
|
+
return (0, smithy_client_1.take)(output, {
|
|
3729
|
+
AdvancedEventSelectors: smithy_client_1._json,
|
|
3730
|
+
CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3731
|
+
EventDataStoreArn: smithy_client_1.expectString,
|
|
3732
|
+
KmsKeyId: smithy_client_1.expectString,
|
|
3733
|
+
MultiRegionEnabled: smithy_client_1.expectBoolean,
|
|
3734
|
+
Name: smithy_client_1.expectString,
|
|
3735
|
+
OrganizationEnabled: smithy_client_1.expectBoolean,
|
|
3736
|
+
RetentionPeriod: smithy_client_1.expectInt32,
|
|
3737
|
+
Status: smithy_client_1.expectString,
|
|
3738
|
+
TerminationProtectionEnabled: smithy_client_1.expectBoolean,
|
|
3739
|
+
UpdatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3740
|
+
});
|
|
3920
3741
|
};
|
|
3921
|
-
const
|
|
3922
|
-
return {
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3742
|
+
const de_GetImportResponse = (output, context) => {
|
|
3743
|
+
return (0, smithy_client_1.take)(output, {
|
|
3744
|
+
CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3745
|
+
Destinations: smithy_client_1._json,
|
|
3746
|
+
EndEventTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3747
|
+
ImportId: smithy_client_1.expectString,
|
|
3748
|
+
ImportSource: smithy_client_1._json,
|
|
3749
|
+
ImportStatistics: smithy_client_1._json,
|
|
3750
|
+
ImportStatus: smithy_client_1.expectString,
|
|
3751
|
+
StartEventTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3752
|
+
UpdatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3753
|
+
});
|
|
3926
3754
|
};
|
|
3927
|
-
const
|
|
3928
|
-
return {
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3755
|
+
const de_GetTrailStatusResponse = (output, context) => {
|
|
3756
|
+
return (0, smithy_client_1.take)(output, {
|
|
3757
|
+
IsLogging: smithy_client_1.expectBoolean,
|
|
3758
|
+
LatestCloudWatchLogsDeliveryError: smithy_client_1.expectString,
|
|
3759
|
+
LatestCloudWatchLogsDeliveryTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3760
|
+
LatestDeliveryAttemptSucceeded: smithy_client_1.expectString,
|
|
3761
|
+
LatestDeliveryAttemptTime: smithy_client_1.expectString,
|
|
3762
|
+
LatestDeliveryError: smithy_client_1.expectString,
|
|
3763
|
+
LatestDeliveryTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3764
|
+
LatestDigestDeliveryError: smithy_client_1.expectString,
|
|
3765
|
+
LatestDigestDeliveryTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3766
|
+
LatestNotificationAttemptSucceeded: smithy_client_1.expectString,
|
|
3767
|
+
LatestNotificationAttemptTime: smithy_client_1.expectString,
|
|
3768
|
+
LatestNotificationError: smithy_client_1.expectString,
|
|
3769
|
+
LatestNotificationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3770
|
+
StartLoggingTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3771
|
+
StopLoggingTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3772
|
+
TimeLoggingStarted: smithy_client_1.expectString,
|
|
3773
|
+
TimeLoggingStopped: smithy_client_1.expectString,
|
|
3774
|
+
});
|
|
3932
3775
|
};
|
|
3933
|
-
const
|
|
3934
|
-
|
|
3776
|
+
const de_ImportFailureList = (output, context) => {
|
|
3777
|
+
const retVal = (output || [])
|
|
3935
3778
|
.filter((e) => e != null)
|
|
3936
3779
|
.map((entry) => {
|
|
3937
|
-
return
|
|
3780
|
+
return de_ImportFailureListItem(entry, context);
|
|
3938
3781
|
});
|
|
3782
|
+
return retVal;
|
|
3939
3783
|
};
|
|
3940
|
-
const
|
|
3941
|
-
return {
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
...(input.ReadWriteType != null && { ReadWriteType: input.ReadWriteType }),
|
|
3948
|
-
};
|
|
3949
|
-
};
|
|
3950
|
-
const se_EventSelectors = (input, context) => {
|
|
3951
|
-
return input
|
|
3952
|
-
.filter((e) => e != null)
|
|
3953
|
-
.map((entry) => {
|
|
3954
|
-
return se_EventSelector(entry, context);
|
|
3784
|
+
const de_ImportFailureListItem = (output, context) => {
|
|
3785
|
+
return (0, smithy_client_1.take)(output, {
|
|
3786
|
+
ErrorMessage: smithy_client_1.expectString,
|
|
3787
|
+
ErrorType: smithy_client_1.expectString,
|
|
3788
|
+
LastUpdatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3789
|
+
Location: smithy_client_1.expectString,
|
|
3790
|
+
Status: smithy_client_1.expectString,
|
|
3955
3791
|
});
|
|
3956
3792
|
};
|
|
3957
|
-
const
|
|
3958
|
-
|
|
3793
|
+
const de_ImportsList = (output, context) => {
|
|
3794
|
+
const retVal = (output || [])
|
|
3959
3795
|
.filter((e) => e != null)
|
|
3960
3796
|
.map((entry) => {
|
|
3961
|
-
return entry;
|
|
3797
|
+
return de_ImportsListItem(entry, context);
|
|
3962
3798
|
});
|
|
3799
|
+
return retVal;
|
|
3963
3800
|
};
|
|
3964
|
-
const
|
|
3965
|
-
return {
|
|
3966
|
-
|
|
3967
|
-
|
|
3801
|
+
const de_ImportsListItem = (output, context) => {
|
|
3802
|
+
return (0, smithy_client_1.take)(output, {
|
|
3803
|
+
CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3804
|
+
Destinations: smithy_client_1._json,
|
|
3805
|
+
ImportId: smithy_client_1.expectString,
|
|
3806
|
+
ImportStatus: smithy_client_1.expectString,
|
|
3807
|
+
UpdatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3808
|
+
});
|
|
3968
3809
|
};
|
|
3969
|
-
const
|
|
3970
|
-
return {
|
|
3971
|
-
|
|
3972
|
-
|
|
3810
|
+
const de_IngestionStatus = (output, context) => {
|
|
3811
|
+
return (0, smithy_client_1.take)(output, {
|
|
3812
|
+
LatestIngestionAttemptEventID: smithy_client_1.expectString,
|
|
3813
|
+
LatestIngestionAttemptTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3814
|
+
LatestIngestionErrorCode: smithy_client_1.expectString,
|
|
3815
|
+
LatestIngestionSuccessEventID: smithy_client_1.expectString,
|
|
3816
|
+
LatestIngestionSuccessTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3817
|
+
});
|
|
3973
3818
|
};
|
|
3974
|
-
const
|
|
3975
|
-
return {
|
|
3976
|
-
|
|
3977
|
-
|
|
3819
|
+
const de_ListEventDataStoresResponse = (output, context) => {
|
|
3820
|
+
return (0, smithy_client_1.take)(output, {
|
|
3821
|
+
EventDataStores: (_) => de_EventDataStores(_, context),
|
|
3822
|
+
NextToken: smithy_client_1.expectString,
|
|
3823
|
+
});
|
|
3978
3824
|
};
|
|
3979
|
-
const
|
|
3980
|
-
return {
|
|
3981
|
-
|
|
3982
|
-
|
|
3825
|
+
const de_ListImportFailuresResponse = (output, context) => {
|
|
3826
|
+
return (0, smithy_client_1.take)(output, {
|
|
3827
|
+
Failures: (_) => de_ImportFailureList(_, context),
|
|
3828
|
+
NextToken: smithy_client_1.expectString,
|
|
3829
|
+
});
|
|
3983
3830
|
};
|
|
3984
|
-
const
|
|
3985
|
-
return {
|
|
3986
|
-
|
|
3987
|
-
|
|
3831
|
+
const de_ListImportsResponse = (output, context) => {
|
|
3832
|
+
return (0, smithy_client_1.take)(output, {
|
|
3833
|
+
Imports: (_) => de_ImportsList(_, context),
|
|
3834
|
+
NextToken: smithy_client_1.expectString,
|
|
3835
|
+
});
|
|
3988
3836
|
};
|
|
3989
|
-
const
|
|
3990
|
-
return {
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
...(input.QueryId != null && { QueryId: input.QueryId }),
|
|
3995
|
-
};
|
|
3837
|
+
const de_ListPublicKeysResponse = (output, context) => {
|
|
3838
|
+
return (0, smithy_client_1.take)(output, {
|
|
3839
|
+
NextToken: smithy_client_1.expectString,
|
|
3840
|
+
PublicKeyList: (_) => de_PublicKeyList(_, context),
|
|
3841
|
+
});
|
|
3996
3842
|
};
|
|
3997
|
-
const
|
|
3998
|
-
return {
|
|
3999
|
-
|
|
4000
|
-
|
|
3843
|
+
const de_ListQueriesResponse = (output, context) => {
|
|
3844
|
+
return (0, smithy_client_1.take)(output, {
|
|
3845
|
+
NextToken: smithy_client_1.expectString,
|
|
3846
|
+
Queries: (_) => de_Queries(_, context),
|
|
3847
|
+
});
|
|
4001
3848
|
};
|
|
4002
|
-
const
|
|
4003
|
-
return {
|
|
4004
|
-
|
|
4005
|
-
|
|
3849
|
+
const de_LookupEventsResponse = (output, context) => {
|
|
3850
|
+
return (0, smithy_client_1.take)(output, {
|
|
3851
|
+
Events: (_) => de_EventsList(_, context),
|
|
3852
|
+
NextToken: smithy_client_1.expectString,
|
|
3853
|
+
});
|
|
4006
3854
|
};
|
|
4007
|
-
const
|
|
4008
|
-
return {
|
|
4009
|
-
|
|
4010
|
-
|
|
3855
|
+
const de_PublicKey = (output, context) => {
|
|
3856
|
+
return (0, smithy_client_1.take)(output, {
|
|
3857
|
+
Fingerprint: smithy_client_1.expectString,
|
|
3858
|
+
ValidityEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3859
|
+
ValidityStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3860
|
+
Value: context.base64Decoder,
|
|
3861
|
+
});
|
|
4011
3862
|
};
|
|
4012
|
-
const
|
|
4013
|
-
|
|
3863
|
+
const de_PublicKeyList = (output, context) => {
|
|
3864
|
+
const retVal = (output || [])
|
|
4014
3865
|
.filter((e) => e != null)
|
|
4015
3866
|
.map((entry) => {
|
|
4016
|
-
return entry;
|
|
3867
|
+
return de_PublicKey(entry, context);
|
|
4017
3868
|
});
|
|
3869
|
+
return retVal;
|
|
4018
3870
|
};
|
|
4019
|
-
const
|
|
4020
|
-
|
|
4021
|
-
...(input.S3 != null && { S3: se_S3ImportSource(input.S3, context) }),
|
|
4022
|
-
};
|
|
4023
|
-
};
|
|
4024
|
-
const se_InsightSelector = (input, context) => {
|
|
4025
|
-
return {
|
|
4026
|
-
...(input.InsightType != null && { InsightType: input.InsightType }),
|
|
4027
|
-
};
|
|
4028
|
-
};
|
|
4029
|
-
const se_InsightSelectors = (input, context) => {
|
|
4030
|
-
return input
|
|
3871
|
+
const de_Queries = (output, context) => {
|
|
3872
|
+
const retVal = (output || [])
|
|
4031
3873
|
.filter((e) => e != null)
|
|
4032
3874
|
.map((entry) => {
|
|
4033
|
-
return
|
|
3875
|
+
return de_Query(entry, context);
|
|
4034
3876
|
});
|
|
3877
|
+
return retVal;
|
|
4035
3878
|
};
|
|
4036
|
-
const
|
|
4037
|
-
return {
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
};
|
|
4042
|
-
const se_ListEventDataStoresRequest = (input, context) => {
|
|
4043
|
-
return {
|
|
4044
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4045
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4046
|
-
};
|
|
4047
|
-
};
|
|
4048
|
-
const se_ListImportFailuresRequest = (input, context) => {
|
|
4049
|
-
return {
|
|
4050
|
-
...(input.ImportId != null && { ImportId: input.ImportId }),
|
|
4051
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4052
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4053
|
-
};
|
|
3879
|
+
const de_Query = (output, context) => {
|
|
3880
|
+
return (0, smithy_client_1.take)(output, {
|
|
3881
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3882
|
+
QueryId: smithy_client_1.expectString,
|
|
3883
|
+
QueryStatus: smithy_client_1.expectString,
|
|
3884
|
+
});
|
|
4054
3885
|
};
|
|
4055
|
-
const
|
|
4056
|
-
return {
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
3886
|
+
const de_QueryStatisticsForDescribeQuery = (output, context) => {
|
|
3887
|
+
return (0, smithy_client_1.take)(output, {
|
|
3888
|
+
BytesScanned: smithy_client_1.expectLong,
|
|
3889
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3890
|
+
EventsMatched: smithy_client_1.expectLong,
|
|
3891
|
+
EventsScanned: smithy_client_1.expectLong,
|
|
3892
|
+
ExecutionTimeInMillis: smithy_client_1.expectInt32,
|
|
3893
|
+
});
|
|
4062
3894
|
};
|
|
4063
|
-
const
|
|
4064
|
-
return {
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
3895
|
+
const de_RestoreEventDataStoreResponse = (output, context) => {
|
|
3896
|
+
return (0, smithy_client_1.take)(output, {
|
|
3897
|
+
AdvancedEventSelectors: smithy_client_1._json,
|
|
3898
|
+
CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3899
|
+
EventDataStoreArn: smithy_client_1.expectString,
|
|
3900
|
+
KmsKeyId: smithy_client_1.expectString,
|
|
3901
|
+
MultiRegionEnabled: smithy_client_1.expectBoolean,
|
|
3902
|
+
Name: smithy_client_1.expectString,
|
|
3903
|
+
OrganizationEnabled: smithy_client_1.expectBoolean,
|
|
3904
|
+
RetentionPeriod: smithy_client_1.expectInt32,
|
|
3905
|
+
Status: smithy_client_1.expectString,
|
|
3906
|
+
TerminationProtectionEnabled: smithy_client_1.expectBoolean,
|
|
3907
|
+
UpdatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3908
|
+
});
|
|
4069
3909
|
};
|
|
4070
|
-
const
|
|
4071
|
-
return {
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
3910
|
+
const de_StartImportResponse = (output, context) => {
|
|
3911
|
+
return (0, smithy_client_1.take)(output, {
|
|
3912
|
+
CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3913
|
+
Destinations: smithy_client_1._json,
|
|
3914
|
+
EndEventTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3915
|
+
ImportId: smithy_client_1.expectString,
|
|
3916
|
+
ImportSource: smithy_client_1._json,
|
|
3917
|
+
ImportStatus: smithy_client_1.expectString,
|
|
3918
|
+
StartEventTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3919
|
+
UpdatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3920
|
+
});
|
|
4079
3921
|
};
|
|
4080
|
-
const
|
|
4081
|
-
return {
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
3922
|
+
const de_StopImportResponse = (output, context) => {
|
|
3923
|
+
return (0, smithy_client_1.take)(output, {
|
|
3924
|
+
CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3925
|
+
Destinations: smithy_client_1._json,
|
|
3926
|
+
EndEventTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3927
|
+
ImportId: smithy_client_1.expectString,
|
|
3928
|
+
ImportSource: smithy_client_1._json,
|
|
3929
|
+
ImportStatistics: smithy_client_1._json,
|
|
3930
|
+
ImportStatus: smithy_client_1.expectString,
|
|
3931
|
+
StartEventTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3932
|
+
UpdatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3933
|
+
});
|
|
4085
3934
|
};
|
|
4086
|
-
const
|
|
4087
|
-
return {
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
.map((entry) => {
|
|
4101
|
-
return se_LookupAttribute(entry, context);
|
|
4102
|
-
});
|
|
4103
|
-
};
|
|
4104
|
-
const se_LookupEventsRequest = (input, context) => {
|
|
4105
|
-
return {
|
|
4106
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
4107
|
-
...(input.EventCategory != null && { EventCategory: input.EventCategory }),
|
|
4108
|
-
...(input.LookupAttributes != null && {
|
|
4109
|
-
LookupAttributes: se_LookupAttributesList(input.LookupAttributes, context),
|
|
4110
|
-
}),
|
|
4111
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4112
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4113
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
4114
|
-
};
|
|
4115
|
-
};
|
|
4116
|
-
const se_Operator = (input, context) => {
|
|
4117
|
-
return input
|
|
4118
|
-
.filter((e) => e != null)
|
|
4119
|
-
.map((entry) => {
|
|
4120
|
-
return entry;
|
|
4121
|
-
});
|
|
4122
|
-
};
|
|
4123
|
-
const se_PutEventSelectorsRequest = (input, context) => {
|
|
4124
|
-
return {
|
|
4125
|
-
...(input.AdvancedEventSelectors != null && {
|
|
4126
|
-
AdvancedEventSelectors: se_AdvancedEventSelectors(input.AdvancedEventSelectors, context),
|
|
4127
|
-
}),
|
|
4128
|
-
...(input.EventSelectors != null && { EventSelectors: se_EventSelectors(input.EventSelectors, context) }),
|
|
4129
|
-
...(input.TrailName != null && { TrailName: input.TrailName }),
|
|
4130
|
-
};
|
|
4131
|
-
};
|
|
4132
|
-
const se_PutInsightSelectorsRequest = (input, context) => {
|
|
4133
|
-
return {
|
|
4134
|
-
...(input.InsightSelectors != null && { InsightSelectors: se_InsightSelectors(input.InsightSelectors, context) }),
|
|
4135
|
-
...(input.TrailName != null && { TrailName: input.TrailName }),
|
|
4136
|
-
};
|
|
4137
|
-
};
|
|
4138
|
-
const se_PutResourcePolicyRequest = (input, context) => {
|
|
4139
|
-
return {
|
|
4140
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4141
|
-
...(input.ResourcePolicy != null && { ResourcePolicy: input.ResourcePolicy }),
|
|
4142
|
-
};
|
|
4143
|
-
};
|
|
4144
|
-
const se_RegisterOrganizationDelegatedAdminRequest = (input, context) => {
|
|
4145
|
-
return {
|
|
4146
|
-
...(input.MemberAccountId != null && { MemberAccountId: input.MemberAccountId }),
|
|
4147
|
-
};
|
|
4148
|
-
};
|
|
4149
|
-
const se_RemoveTagsRequest = (input, context) => {
|
|
4150
|
-
return {
|
|
4151
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4152
|
-
...(input.TagsList != null && { TagsList: se_TagsList(input.TagsList, context) }),
|
|
4153
|
-
};
|
|
4154
|
-
};
|
|
4155
|
-
const se_ResourceIdList = (input, context) => {
|
|
4156
|
-
return input
|
|
4157
|
-
.filter((e) => e != null)
|
|
4158
|
-
.map((entry) => {
|
|
4159
|
-
return entry;
|
|
4160
|
-
});
|
|
4161
|
-
};
|
|
4162
|
-
const se_RestoreEventDataStoreRequest = (input, context) => {
|
|
4163
|
-
return {
|
|
4164
|
-
...(input.EventDataStore != null && { EventDataStore: input.EventDataStore }),
|
|
4165
|
-
};
|
|
4166
|
-
};
|
|
4167
|
-
const se_S3ImportSource = (input, context) => {
|
|
4168
|
-
return {
|
|
4169
|
-
...(input.S3BucketAccessRoleArn != null && { S3BucketAccessRoleArn: input.S3BucketAccessRoleArn }),
|
|
4170
|
-
...(input.S3BucketRegion != null && { S3BucketRegion: input.S3BucketRegion }),
|
|
4171
|
-
...(input.S3LocationUri != null && { S3LocationUri: input.S3LocationUri }),
|
|
4172
|
-
};
|
|
4173
|
-
};
|
|
4174
|
-
const se_StartImportRequest = (input, context) => {
|
|
4175
|
-
return {
|
|
4176
|
-
...(input.Destinations != null && { Destinations: se_ImportDestinations(input.Destinations, context) }),
|
|
4177
|
-
...(input.EndEventTime != null && { EndEventTime: Math.round(input.EndEventTime.getTime() / 1000) }),
|
|
4178
|
-
...(input.ImportId != null && { ImportId: input.ImportId }),
|
|
4179
|
-
...(input.ImportSource != null && { ImportSource: se_ImportSource(input.ImportSource, context) }),
|
|
4180
|
-
...(input.StartEventTime != null && { StartEventTime: Math.round(input.StartEventTime.getTime() / 1000) }),
|
|
4181
|
-
};
|
|
4182
|
-
};
|
|
4183
|
-
const se_StartLoggingRequest = (input, context) => {
|
|
4184
|
-
return {
|
|
4185
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4186
|
-
};
|
|
4187
|
-
};
|
|
4188
|
-
const se_StartQueryRequest = (input, context) => {
|
|
4189
|
-
return {
|
|
4190
|
-
...(input.DeliveryS3Uri != null && { DeliveryS3Uri: input.DeliveryS3Uri }),
|
|
4191
|
-
...(input.QueryStatement != null && { QueryStatement: input.QueryStatement }),
|
|
4192
|
-
};
|
|
4193
|
-
};
|
|
4194
|
-
const se_StopImportRequest = (input, context) => {
|
|
4195
|
-
return {
|
|
4196
|
-
...(input.ImportId != null && { ImportId: input.ImportId }),
|
|
4197
|
-
};
|
|
4198
|
-
};
|
|
4199
|
-
const se_StopLoggingRequest = (input, context) => {
|
|
4200
|
-
return {
|
|
4201
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4202
|
-
};
|
|
4203
|
-
};
|
|
4204
|
-
const se_Tag = (input, context) => {
|
|
4205
|
-
return {
|
|
4206
|
-
...(input.Key != null && { Key: input.Key }),
|
|
4207
|
-
...(input.Value != null && { Value: input.Value }),
|
|
4208
|
-
};
|
|
4209
|
-
};
|
|
4210
|
-
const se_TagsList = (input, context) => {
|
|
4211
|
-
return input
|
|
4212
|
-
.filter((e) => e != null)
|
|
4213
|
-
.map((entry) => {
|
|
4214
|
-
return se_Tag(entry, context);
|
|
4215
|
-
});
|
|
4216
|
-
};
|
|
4217
|
-
const se_TrailNameList = (input, context) => {
|
|
4218
|
-
return input
|
|
4219
|
-
.filter((e) => e != null)
|
|
4220
|
-
.map((entry) => {
|
|
4221
|
-
return entry;
|
|
4222
|
-
});
|
|
4223
|
-
};
|
|
4224
|
-
const se_UpdateChannelRequest = (input, context) => {
|
|
4225
|
-
return {
|
|
4226
|
-
...(input.Channel != null && { Channel: input.Channel }),
|
|
4227
|
-
...(input.Destinations != null && { Destinations: se_Destinations(input.Destinations, context) }),
|
|
4228
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4229
|
-
};
|
|
4230
|
-
};
|
|
4231
|
-
const se_UpdateEventDataStoreRequest = (input, context) => {
|
|
4232
|
-
return {
|
|
4233
|
-
...(input.AdvancedEventSelectors != null && {
|
|
4234
|
-
AdvancedEventSelectors: se_AdvancedEventSelectors(input.AdvancedEventSelectors, context),
|
|
4235
|
-
}),
|
|
4236
|
-
...(input.EventDataStore != null && { EventDataStore: input.EventDataStore }),
|
|
4237
|
-
...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
|
|
4238
|
-
...(input.MultiRegionEnabled != null && { MultiRegionEnabled: input.MultiRegionEnabled }),
|
|
4239
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4240
|
-
...(input.OrganizationEnabled != null && { OrganizationEnabled: input.OrganizationEnabled }),
|
|
4241
|
-
...(input.RetentionPeriod != null && { RetentionPeriod: input.RetentionPeriod }),
|
|
4242
|
-
...(input.TerminationProtectionEnabled != null && {
|
|
4243
|
-
TerminationProtectionEnabled: input.TerminationProtectionEnabled,
|
|
4244
|
-
}),
|
|
4245
|
-
};
|
|
4246
|
-
};
|
|
4247
|
-
const se_UpdateTrailRequest = (input, context) => {
|
|
4248
|
-
return {
|
|
4249
|
-
...(input.CloudWatchLogsLogGroupArn != null && { CloudWatchLogsLogGroupArn: input.CloudWatchLogsLogGroupArn }),
|
|
4250
|
-
...(input.CloudWatchLogsRoleArn != null && { CloudWatchLogsRoleArn: input.CloudWatchLogsRoleArn }),
|
|
4251
|
-
...(input.EnableLogFileValidation != null && { EnableLogFileValidation: input.EnableLogFileValidation }),
|
|
4252
|
-
...(input.IncludeGlobalServiceEvents != null && { IncludeGlobalServiceEvents: input.IncludeGlobalServiceEvents }),
|
|
4253
|
-
...(input.IsMultiRegionTrail != null && { IsMultiRegionTrail: input.IsMultiRegionTrail }),
|
|
4254
|
-
...(input.IsOrganizationTrail != null && { IsOrganizationTrail: input.IsOrganizationTrail }),
|
|
4255
|
-
...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
|
|
4256
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4257
|
-
...(input.S3BucketName != null && { S3BucketName: input.S3BucketName }),
|
|
4258
|
-
...(input.S3KeyPrefix != null && { S3KeyPrefix: input.S3KeyPrefix }),
|
|
4259
|
-
...(input.SnsTopicName != null && { SnsTopicName: input.SnsTopicName }),
|
|
4260
|
-
};
|
|
4261
|
-
};
|
|
4262
|
-
const de_AccountHasOngoingImportException = (output, context) => {
|
|
4263
|
-
return {
|
|
4264
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4265
|
-
};
|
|
4266
|
-
};
|
|
4267
|
-
const de_AccountNotFoundException = (output, context) => {
|
|
4268
|
-
return {
|
|
4269
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4270
|
-
};
|
|
4271
|
-
};
|
|
4272
|
-
const de_AccountNotRegisteredException = (output, context) => {
|
|
4273
|
-
return {
|
|
4274
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4275
|
-
};
|
|
4276
|
-
};
|
|
4277
|
-
const de_AccountRegisteredException = (output, context) => {
|
|
4278
|
-
return {
|
|
4279
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4280
|
-
};
|
|
4281
|
-
};
|
|
4282
|
-
const de_AddTagsResponse = (output, context) => {
|
|
4283
|
-
return {};
|
|
4284
|
-
};
|
|
4285
|
-
const de_AdvancedEventSelector = (output, context) => {
|
|
4286
|
-
return {
|
|
4287
|
-
FieldSelectors: output.FieldSelectors != null ? de_AdvancedFieldSelectors(output.FieldSelectors, context) : undefined,
|
|
4288
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4289
|
-
};
|
|
4290
|
-
};
|
|
4291
|
-
const de_AdvancedEventSelectors = (output, context) => {
|
|
4292
|
-
const retVal = (output || [])
|
|
4293
|
-
.filter((e) => e != null)
|
|
4294
|
-
.map((entry) => {
|
|
4295
|
-
if (entry === null) {
|
|
4296
|
-
return null;
|
|
4297
|
-
}
|
|
4298
|
-
return de_AdvancedEventSelector(entry, context);
|
|
4299
|
-
});
|
|
4300
|
-
return retVal;
|
|
4301
|
-
};
|
|
4302
|
-
const de_AdvancedFieldSelector = (output, context) => {
|
|
4303
|
-
return {
|
|
4304
|
-
EndsWith: output.EndsWith != null ? de_Operator(output.EndsWith, context) : undefined,
|
|
4305
|
-
Equals: output.Equals != null ? de_Operator(output.Equals, context) : undefined,
|
|
4306
|
-
Field: (0, smithy_client_1.expectString)(output.Field),
|
|
4307
|
-
NotEndsWith: output.NotEndsWith != null ? de_Operator(output.NotEndsWith, context) : undefined,
|
|
4308
|
-
NotEquals: output.NotEquals != null ? de_Operator(output.NotEquals, context) : undefined,
|
|
4309
|
-
NotStartsWith: output.NotStartsWith != null ? de_Operator(output.NotStartsWith, context) : undefined,
|
|
4310
|
-
StartsWith: output.StartsWith != null ? de_Operator(output.StartsWith, context) : undefined,
|
|
4311
|
-
};
|
|
4312
|
-
};
|
|
4313
|
-
const de_AdvancedFieldSelectors = (output, context) => {
|
|
4314
|
-
const retVal = (output || [])
|
|
4315
|
-
.filter((e) => e != null)
|
|
4316
|
-
.map((entry) => {
|
|
4317
|
-
if (entry === null) {
|
|
4318
|
-
return null;
|
|
4319
|
-
}
|
|
4320
|
-
return de_AdvancedFieldSelector(entry, context);
|
|
4321
|
-
});
|
|
4322
|
-
return retVal;
|
|
4323
|
-
};
|
|
4324
|
-
const de_CancelQueryResponse = (output, context) => {
|
|
4325
|
-
return {
|
|
4326
|
-
QueryId: (0, smithy_client_1.expectString)(output.QueryId),
|
|
4327
|
-
QueryStatus: (0, smithy_client_1.expectString)(output.QueryStatus),
|
|
4328
|
-
};
|
|
4329
|
-
};
|
|
4330
|
-
const de_CannotDelegateManagementAccountException = (output, context) => {
|
|
4331
|
-
return {
|
|
4332
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4333
|
-
};
|
|
4334
|
-
};
|
|
4335
|
-
const de_Channel = (output, context) => {
|
|
4336
|
-
return {
|
|
4337
|
-
ChannelArn: (0, smithy_client_1.expectString)(output.ChannelArn),
|
|
4338
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4339
|
-
};
|
|
4340
|
-
};
|
|
4341
|
-
const de_ChannelAlreadyExistsException = (output, context) => {
|
|
4342
|
-
return {
|
|
4343
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4344
|
-
};
|
|
4345
|
-
};
|
|
4346
|
-
const de_ChannelARNInvalidException = (output, context) => {
|
|
4347
|
-
return {
|
|
4348
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4349
|
-
};
|
|
4350
|
-
};
|
|
4351
|
-
const de_ChannelExistsForEDSException = (output, context) => {
|
|
4352
|
-
return {
|
|
4353
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4354
|
-
};
|
|
4355
|
-
};
|
|
4356
|
-
const de_ChannelMaxLimitExceededException = (output, context) => {
|
|
4357
|
-
return {
|
|
4358
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4359
|
-
};
|
|
4360
|
-
};
|
|
4361
|
-
const de_ChannelNotFoundException = (output, context) => {
|
|
4362
|
-
return {
|
|
4363
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4364
|
-
};
|
|
4365
|
-
};
|
|
4366
|
-
const de_Channels = (output, context) => {
|
|
4367
|
-
const retVal = (output || [])
|
|
4368
|
-
.filter((e) => e != null)
|
|
4369
|
-
.map((entry) => {
|
|
4370
|
-
if (entry === null) {
|
|
4371
|
-
return null;
|
|
4372
|
-
}
|
|
4373
|
-
return de_Channel(entry, context);
|
|
4374
|
-
});
|
|
4375
|
-
return retVal;
|
|
4376
|
-
};
|
|
4377
|
-
const de_CloudTrailAccessNotEnabledException = (output, context) => {
|
|
4378
|
-
return {
|
|
4379
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4380
|
-
};
|
|
4381
|
-
};
|
|
4382
|
-
const de_CloudTrailARNInvalidException = (output, context) => {
|
|
4383
|
-
return {
|
|
4384
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4385
|
-
};
|
|
4386
|
-
};
|
|
4387
|
-
const de_CloudTrailInvalidClientTokenIdException = (output, context) => {
|
|
4388
|
-
return {
|
|
4389
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4390
|
-
};
|
|
4391
|
-
};
|
|
4392
|
-
const de_CloudWatchLogsDeliveryUnavailableException = (output, context) => {
|
|
4393
|
-
return {
|
|
4394
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4395
|
-
};
|
|
4396
|
-
};
|
|
4397
|
-
const de_ConflictException = (output, context) => {
|
|
4398
|
-
return {
|
|
4399
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4400
|
-
};
|
|
4401
|
-
};
|
|
4402
|
-
const de_CreateChannelResponse = (output, context) => {
|
|
4403
|
-
return {
|
|
4404
|
-
ChannelArn: (0, smithy_client_1.expectString)(output.ChannelArn),
|
|
4405
|
-
Destinations: output.Destinations != null ? de_Destinations(output.Destinations, context) : undefined,
|
|
4406
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4407
|
-
Source: (0, smithy_client_1.expectString)(output.Source),
|
|
4408
|
-
Tags: output.Tags != null ? de_TagsList(output.Tags, context) : undefined,
|
|
4409
|
-
};
|
|
4410
|
-
};
|
|
4411
|
-
const de_CreateEventDataStoreResponse = (output, context) => {
|
|
4412
|
-
return {
|
|
4413
|
-
AdvancedEventSelectors: output.AdvancedEventSelectors != null
|
|
4414
|
-
? de_AdvancedEventSelectors(output.AdvancedEventSelectors, context)
|
|
4415
|
-
: undefined,
|
|
4416
|
-
CreatedTimestamp: output.CreatedTimestamp != null
|
|
4417
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
|
|
4418
|
-
: undefined,
|
|
4419
|
-
EventDataStoreArn: (0, smithy_client_1.expectString)(output.EventDataStoreArn),
|
|
4420
|
-
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
4421
|
-
MultiRegionEnabled: (0, smithy_client_1.expectBoolean)(output.MultiRegionEnabled),
|
|
4422
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4423
|
-
OrganizationEnabled: (0, smithy_client_1.expectBoolean)(output.OrganizationEnabled),
|
|
4424
|
-
RetentionPeriod: (0, smithy_client_1.expectInt32)(output.RetentionPeriod),
|
|
4425
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4426
|
-
TagsList: output.TagsList != null ? de_TagsList(output.TagsList, context) : undefined,
|
|
4427
|
-
TerminationProtectionEnabled: (0, smithy_client_1.expectBoolean)(output.TerminationProtectionEnabled),
|
|
4428
|
-
UpdatedTimestamp: output.UpdatedTimestamp != null
|
|
4429
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedTimestamp)))
|
|
4430
|
-
: undefined,
|
|
4431
|
-
};
|
|
4432
|
-
};
|
|
4433
|
-
const de_CreateTrailResponse = (output, context) => {
|
|
4434
|
-
return {
|
|
4435
|
-
CloudWatchLogsLogGroupArn: (0, smithy_client_1.expectString)(output.CloudWatchLogsLogGroupArn),
|
|
4436
|
-
CloudWatchLogsRoleArn: (0, smithy_client_1.expectString)(output.CloudWatchLogsRoleArn),
|
|
4437
|
-
IncludeGlobalServiceEvents: (0, smithy_client_1.expectBoolean)(output.IncludeGlobalServiceEvents),
|
|
4438
|
-
IsMultiRegionTrail: (0, smithy_client_1.expectBoolean)(output.IsMultiRegionTrail),
|
|
4439
|
-
IsOrganizationTrail: (0, smithy_client_1.expectBoolean)(output.IsOrganizationTrail),
|
|
4440
|
-
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
4441
|
-
LogFileValidationEnabled: (0, smithy_client_1.expectBoolean)(output.LogFileValidationEnabled),
|
|
4442
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4443
|
-
S3BucketName: (0, smithy_client_1.expectString)(output.S3BucketName),
|
|
4444
|
-
S3KeyPrefix: (0, smithy_client_1.expectString)(output.S3KeyPrefix),
|
|
4445
|
-
SnsTopicARN: (0, smithy_client_1.expectString)(output.SnsTopicARN),
|
|
4446
|
-
SnsTopicName: (0, smithy_client_1.expectString)(output.SnsTopicName),
|
|
4447
|
-
TrailARN: (0, smithy_client_1.expectString)(output.TrailARN),
|
|
4448
|
-
};
|
|
4449
|
-
};
|
|
4450
|
-
const de_DataResource = (output, context) => {
|
|
4451
|
-
return {
|
|
4452
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
4453
|
-
Values: output.Values != null ? de_DataResourceValues(output.Values, context) : undefined,
|
|
4454
|
-
};
|
|
4455
|
-
};
|
|
4456
|
-
const de_DataResources = (output, context) => {
|
|
4457
|
-
const retVal = (output || [])
|
|
4458
|
-
.filter((e) => e != null)
|
|
4459
|
-
.map((entry) => {
|
|
4460
|
-
if (entry === null) {
|
|
4461
|
-
return null;
|
|
4462
|
-
}
|
|
4463
|
-
return de_DataResource(entry, context);
|
|
4464
|
-
});
|
|
4465
|
-
return retVal;
|
|
4466
|
-
};
|
|
4467
|
-
const de_DataResourceValues = (output, context) => {
|
|
4468
|
-
const retVal = (output || [])
|
|
4469
|
-
.filter((e) => e != null)
|
|
4470
|
-
.map((entry) => {
|
|
4471
|
-
if (entry === null) {
|
|
4472
|
-
return null;
|
|
4473
|
-
}
|
|
4474
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4475
|
-
});
|
|
4476
|
-
return retVal;
|
|
4477
|
-
};
|
|
4478
|
-
const de_DelegatedAdminAccountLimitExceededException = (output, context) => {
|
|
4479
|
-
return {
|
|
4480
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4481
|
-
};
|
|
4482
|
-
};
|
|
4483
|
-
const de_DeleteChannelResponse = (output, context) => {
|
|
4484
|
-
return {};
|
|
4485
|
-
};
|
|
4486
|
-
const de_DeleteEventDataStoreResponse = (output, context) => {
|
|
4487
|
-
return {};
|
|
4488
|
-
};
|
|
4489
|
-
const de_DeleteResourcePolicyResponse = (output, context) => {
|
|
4490
|
-
return {};
|
|
4491
|
-
};
|
|
4492
|
-
const de_DeleteTrailResponse = (output, context) => {
|
|
4493
|
-
return {};
|
|
4494
|
-
};
|
|
4495
|
-
const de_DeregisterOrganizationDelegatedAdminResponse = (output, context) => {
|
|
4496
|
-
return {};
|
|
4497
|
-
};
|
|
4498
|
-
const de_DescribeQueryResponse = (output, context) => {
|
|
4499
|
-
return {
|
|
4500
|
-
DeliveryS3Uri: (0, smithy_client_1.expectString)(output.DeliveryS3Uri),
|
|
4501
|
-
DeliveryStatus: (0, smithy_client_1.expectString)(output.DeliveryStatus),
|
|
4502
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
4503
|
-
QueryId: (0, smithy_client_1.expectString)(output.QueryId),
|
|
4504
|
-
QueryStatistics: output.QueryStatistics != null ? de_QueryStatisticsForDescribeQuery(output.QueryStatistics, context) : undefined,
|
|
4505
|
-
QueryStatus: (0, smithy_client_1.expectString)(output.QueryStatus),
|
|
4506
|
-
QueryString: (0, smithy_client_1.expectString)(output.QueryString),
|
|
4507
|
-
};
|
|
4508
|
-
};
|
|
4509
|
-
const de_DescribeTrailsResponse = (output, context) => {
|
|
4510
|
-
return {
|
|
4511
|
-
trailList: output.trailList != null ? de_TrailList(output.trailList, context) : undefined,
|
|
4512
|
-
};
|
|
4513
|
-
};
|
|
4514
|
-
const de_Destination = (output, context) => {
|
|
4515
|
-
return {
|
|
4516
|
-
Location: (0, smithy_client_1.expectString)(output.Location),
|
|
4517
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
4518
|
-
};
|
|
4519
|
-
};
|
|
4520
|
-
const de_Destinations = (output, context) => {
|
|
4521
|
-
const retVal = (output || [])
|
|
4522
|
-
.filter((e) => e != null)
|
|
4523
|
-
.map((entry) => {
|
|
4524
|
-
if (entry === null) {
|
|
4525
|
-
return null;
|
|
4526
|
-
}
|
|
4527
|
-
return de_Destination(entry, context);
|
|
4528
|
-
});
|
|
4529
|
-
return retVal;
|
|
4530
|
-
};
|
|
4531
|
-
const de_Event = (output, context) => {
|
|
4532
|
-
return {
|
|
4533
|
-
AccessKeyId: (0, smithy_client_1.expectString)(output.AccessKeyId),
|
|
4534
|
-
CloudTrailEvent: (0, smithy_client_1.expectString)(output.CloudTrailEvent),
|
|
4535
|
-
EventId: (0, smithy_client_1.expectString)(output.EventId),
|
|
4536
|
-
EventName: (0, smithy_client_1.expectString)(output.EventName),
|
|
4537
|
-
EventSource: (0, smithy_client_1.expectString)(output.EventSource),
|
|
4538
|
-
EventTime: output.EventTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EventTime))) : undefined,
|
|
4539
|
-
ReadOnly: (0, smithy_client_1.expectString)(output.ReadOnly),
|
|
4540
|
-
Resources: output.Resources != null ? de_ResourceList(output.Resources, context) : undefined,
|
|
4541
|
-
Username: (0, smithy_client_1.expectString)(output.Username),
|
|
4542
|
-
};
|
|
4543
|
-
};
|
|
4544
|
-
const de_EventDataStore = (output, context) => {
|
|
4545
|
-
return {
|
|
4546
|
-
AdvancedEventSelectors: output.AdvancedEventSelectors != null
|
|
4547
|
-
? de_AdvancedEventSelectors(output.AdvancedEventSelectors, context)
|
|
4548
|
-
: undefined,
|
|
4549
|
-
CreatedTimestamp: output.CreatedTimestamp != null
|
|
4550
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
|
|
4551
|
-
: undefined,
|
|
4552
|
-
EventDataStoreArn: (0, smithy_client_1.expectString)(output.EventDataStoreArn),
|
|
4553
|
-
MultiRegionEnabled: (0, smithy_client_1.expectBoolean)(output.MultiRegionEnabled),
|
|
4554
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4555
|
-
OrganizationEnabled: (0, smithy_client_1.expectBoolean)(output.OrganizationEnabled),
|
|
4556
|
-
RetentionPeriod: (0, smithy_client_1.expectInt32)(output.RetentionPeriod),
|
|
4557
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4558
|
-
TerminationProtectionEnabled: (0, smithy_client_1.expectBoolean)(output.TerminationProtectionEnabled),
|
|
4559
|
-
UpdatedTimestamp: output.UpdatedTimestamp != null
|
|
4560
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedTimestamp)))
|
|
4561
|
-
: undefined,
|
|
4562
|
-
};
|
|
4563
|
-
};
|
|
4564
|
-
const de_EventDataStoreAlreadyExistsException = (output, context) => {
|
|
4565
|
-
return {
|
|
4566
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4567
|
-
};
|
|
4568
|
-
};
|
|
4569
|
-
const de_EventDataStoreARNInvalidException = (output, context) => {
|
|
4570
|
-
return {
|
|
4571
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4572
|
-
};
|
|
4573
|
-
};
|
|
4574
|
-
const de_EventDataStoreHasOngoingImportException = (output, context) => {
|
|
4575
|
-
return {
|
|
4576
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4577
|
-
};
|
|
4578
|
-
};
|
|
4579
|
-
const de_EventDataStoreMaxLimitExceededException = (output, context) => {
|
|
4580
|
-
return {
|
|
4581
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4582
|
-
};
|
|
4583
|
-
};
|
|
4584
|
-
const de_EventDataStoreNotFoundException = (output, context) => {
|
|
4585
|
-
return {
|
|
4586
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4587
|
-
};
|
|
4588
|
-
};
|
|
4589
|
-
const de_EventDataStores = (output, context) => {
|
|
4590
|
-
const retVal = (output || [])
|
|
4591
|
-
.filter((e) => e != null)
|
|
4592
|
-
.map((entry) => {
|
|
4593
|
-
if (entry === null) {
|
|
4594
|
-
return null;
|
|
4595
|
-
}
|
|
4596
|
-
return de_EventDataStore(entry, context);
|
|
4597
|
-
});
|
|
4598
|
-
return retVal;
|
|
4599
|
-
};
|
|
4600
|
-
const de_EventDataStoreTerminationProtectedException = (output, context) => {
|
|
4601
|
-
return {
|
|
4602
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4603
|
-
};
|
|
4604
|
-
};
|
|
4605
|
-
const de_EventSelector = (output, context) => {
|
|
4606
|
-
return {
|
|
4607
|
-
DataResources: output.DataResources != null ? de_DataResources(output.DataResources, context) : undefined,
|
|
4608
|
-
ExcludeManagementEventSources: output.ExcludeManagementEventSources != null
|
|
4609
|
-
? de_ExcludeManagementEventSources(output.ExcludeManagementEventSources, context)
|
|
4610
|
-
: undefined,
|
|
4611
|
-
IncludeManagementEvents: (0, smithy_client_1.expectBoolean)(output.IncludeManagementEvents),
|
|
4612
|
-
ReadWriteType: (0, smithy_client_1.expectString)(output.ReadWriteType),
|
|
4613
|
-
};
|
|
4614
|
-
};
|
|
4615
|
-
const de_EventSelectors = (output, context) => {
|
|
4616
|
-
const retVal = (output || [])
|
|
4617
|
-
.filter((e) => e != null)
|
|
4618
|
-
.map((entry) => {
|
|
4619
|
-
if (entry === null) {
|
|
4620
|
-
return null;
|
|
4621
|
-
}
|
|
4622
|
-
return de_EventSelector(entry, context);
|
|
4623
|
-
});
|
|
4624
|
-
return retVal;
|
|
4625
|
-
};
|
|
4626
|
-
const de_EventsList = (output, context) => {
|
|
4627
|
-
const retVal = (output || [])
|
|
4628
|
-
.filter((e) => e != null)
|
|
4629
|
-
.map((entry) => {
|
|
4630
|
-
if (entry === null) {
|
|
4631
|
-
return null;
|
|
4632
|
-
}
|
|
4633
|
-
return de_Event(entry, context);
|
|
4634
|
-
});
|
|
4635
|
-
return retVal;
|
|
4636
|
-
};
|
|
4637
|
-
const de_ExcludeManagementEventSources = (output, context) => {
|
|
4638
|
-
const retVal = (output || [])
|
|
4639
|
-
.filter((e) => e != null)
|
|
4640
|
-
.map((entry) => {
|
|
4641
|
-
if (entry === null) {
|
|
4642
|
-
return null;
|
|
4643
|
-
}
|
|
4644
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4645
|
-
});
|
|
4646
|
-
return retVal;
|
|
4647
|
-
};
|
|
4648
|
-
const de_GetChannelResponse = (output, context) => {
|
|
4649
|
-
return {
|
|
4650
|
-
ChannelArn: (0, smithy_client_1.expectString)(output.ChannelArn),
|
|
4651
|
-
Destinations: output.Destinations != null ? de_Destinations(output.Destinations, context) : undefined,
|
|
4652
|
-
IngestionStatus: output.IngestionStatus != null ? de_IngestionStatus(output.IngestionStatus, context) : undefined,
|
|
4653
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4654
|
-
Source: (0, smithy_client_1.expectString)(output.Source),
|
|
4655
|
-
SourceConfig: output.SourceConfig != null ? de_SourceConfig(output.SourceConfig, context) : undefined,
|
|
4656
|
-
};
|
|
4657
|
-
};
|
|
4658
|
-
const de_GetEventDataStoreResponse = (output, context) => {
|
|
4659
|
-
return {
|
|
4660
|
-
AdvancedEventSelectors: output.AdvancedEventSelectors != null
|
|
4661
|
-
? de_AdvancedEventSelectors(output.AdvancedEventSelectors, context)
|
|
4662
|
-
: undefined,
|
|
4663
|
-
CreatedTimestamp: output.CreatedTimestamp != null
|
|
4664
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
|
|
4665
|
-
: undefined,
|
|
4666
|
-
EventDataStoreArn: (0, smithy_client_1.expectString)(output.EventDataStoreArn),
|
|
4667
|
-
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
4668
|
-
MultiRegionEnabled: (0, smithy_client_1.expectBoolean)(output.MultiRegionEnabled),
|
|
4669
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4670
|
-
OrganizationEnabled: (0, smithy_client_1.expectBoolean)(output.OrganizationEnabled),
|
|
4671
|
-
RetentionPeriod: (0, smithy_client_1.expectInt32)(output.RetentionPeriod),
|
|
4672
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4673
|
-
TerminationProtectionEnabled: (0, smithy_client_1.expectBoolean)(output.TerminationProtectionEnabled),
|
|
4674
|
-
UpdatedTimestamp: output.UpdatedTimestamp != null
|
|
4675
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedTimestamp)))
|
|
4676
|
-
: undefined,
|
|
4677
|
-
};
|
|
4678
|
-
};
|
|
4679
|
-
const de_GetEventSelectorsResponse = (output, context) => {
|
|
4680
|
-
return {
|
|
4681
|
-
AdvancedEventSelectors: output.AdvancedEventSelectors != null
|
|
4682
|
-
? de_AdvancedEventSelectors(output.AdvancedEventSelectors, context)
|
|
4683
|
-
: undefined,
|
|
4684
|
-
EventSelectors: output.EventSelectors != null ? de_EventSelectors(output.EventSelectors, context) : undefined,
|
|
4685
|
-
TrailARN: (0, smithy_client_1.expectString)(output.TrailARN),
|
|
4686
|
-
};
|
|
4687
|
-
};
|
|
4688
|
-
const de_GetImportResponse = (output, context) => {
|
|
4689
|
-
return {
|
|
4690
|
-
CreatedTimestamp: output.CreatedTimestamp != null
|
|
4691
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
|
|
4692
|
-
: undefined,
|
|
4693
|
-
Destinations: output.Destinations != null ? de_ImportDestinations(output.Destinations, context) : undefined,
|
|
4694
|
-
EndEventTime: output.EndEventTime != null
|
|
4695
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndEventTime)))
|
|
4696
|
-
: undefined,
|
|
4697
|
-
ImportId: (0, smithy_client_1.expectString)(output.ImportId),
|
|
4698
|
-
ImportSource: output.ImportSource != null ? de_ImportSource(output.ImportSource, context) : undefined,
|
|
4699
|
-
ImportStatistics: output.ImportStatistics != null ? de_ImportStatistics(output.ImportStatistics, context) : undefined,
|
|
4700
|
-
ImportStatus: (0, smithy_client_1.expectString)(output.ImportStatus),
|
|
4701
|
-
StartEventTime: output.StartEventTime != null
|
|
4702
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartEventTime)))
|
|
4703
|
-
: undefined,
|
|
4704
|
-
UpdatedTimestamp: output.UpdatedTimestamp != null
|
|
4705
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedTimestamp)))
|
|
4706
|
-
: undefined,
|
|
4707
|
-
};
|
|
4708
|
-
};
|
|
4709
|
-
const de_GetInsightSelectorsResponse = (output, context) => {
|
|
4710
|
-
return {
|
|
4711
|
-
InsightSelectors: output.InsightSelectors != null ? de_InsightSelectors(output.InsightSelectors, context) : undefined,
|
|
4712
|
-
TrailARN: (0, smithy_client_1.expectString)(output.TrailARN),
|
|
4713
|
-
};
|
|
4714
|
-
};
|
|
4715
|
-
const de_GetQueryResultsResponse = (output, context) => {
|
|
4716
|
-
return {
|
|
4717
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
4718
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4719
|
-
QueryResultRows: output.QueryResultRows != null ? de_QueryResultRows(output.QueryResultRows, context) : undefined,
|
|
4720
|
-
QueryStatistics: output.QueryStatistics != null ? de_QueryStatistics(output.QueryStatistics, context) : undefined,
|
|
4721
|
-
QueryStatus: (0, smithy_client_1.expectString)(output.QueryStatus),
|
|
4722
|
-
};
|
|
4723
|
-
};
|
|
4724
|
-
const de_GetResourcePolicyResponse = (output, context) => {
|
|
4725
|
-
return {
|
|
4726
|
-
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
4727
|
-
ResourcePolicy: (0, smithy_client_1.expectString)(output.ResourcePolicy),
|
|
4728
|
-
};
|
|
4729
|
-
};
|
|
4730
|
-
const de_GetTrailResponse = (output, context) => {
|
|
4731
|
-
return {
|
|
4732
|
-
Trail: output.Trail != null ? de_Trail(output.Trail, context) : undefined,
|
|
4733
|
-
};
|
|
4734
|
-
};
|
|
4735
|
-
const de_GetTrailStatusResponse = (output, context) => {
|
|
4736
|
-
return {
|
|
4737
|
-
IsLogging: (0, smithy_client_1.expectBoolean)(output.IsLogging),
|
|
4738
|
-
LatestCloudWatchLogsDeliveryError: (0, smithy_client_1.expectString)(output.LatestCloudWatchLogsDeliveryError),
|
|
4739
|
-
LatestCloudWatchLogsDeliveryTime: output.LatestCloudWatchLogsDeliveryTime != null
|
|
4740
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LatestCloudWatchLogsDeliveryTime)))
|
|
4741
|
-
: undefined,
|
|
4742
|
-
LatestDeliveryAttemptSucceeded: (0, smithy_client_1.expectString)(output.LatestDeliveryAttemptSucceeded),
|
|
4743
|
-
LatestDeliveryAttemptTime: (0, smithy_client_1.expectString)(output.LatestDeliveryAttemptTime),
|
|
4744
|
-
LatestDeliveryError: (0, smithy_client_1.expectString)(output.LatestDeliveryError),
|
|
4745
|
-
LatestDeliveryTime: output.LatestDeliveryTime != null
|
|
4746
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LatestDeliveryTime)))
|
|
4747
|
-
: undefined,
|
|
4748
|
-
LatestDigestDeliveryError: (0, smithy_client_1.expectString)(output.LatestDigestDeliveryError),
|
|
4749
|
-
LatestDigestDeliveryTime: output.LatestDigestDeliveryTime != null
|
|
4750
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LatestDigestDeliveryTime)))
|
|
4751
|
-
: undefined,
|
|
4752
|
-
LatestNotificationAttemptSucceeded: (0, smithy_client_1.expectString)(output.LatestNotificationAttemptSucceeded),
|
|
4753
|
-
LatestNotificationAttemptTime: (0, smithy_client_1.expectString)(output.LatestNotificationAttemptTime),
|
|
4754
|
-
LatestNotificationError: (0, smithy_client_1.expectString)(output.LatestNotificationError),
|
|
4755
|
-
LatestNotificationTime: output.LatestNotificationTime != null
|
|
4756
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LatestNotificationTime)))
|
|
4757
|
-
: undefined,
|
|
4758
|
-
StartLoggingTime: output.StartLoggingTime != null
|
|
4759
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartLoggingTime)))
|
|
4760
|
-
: undefined,
|
|
4761
|
-
StopLoggingTime: output.StopLoggingTime != null
|
|
4762
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StopLoggingTime)))
|
|
4763
|
-
: undefined,
|
|
4764
|
-
TimeLoggingStarted: (0, smithy_client_1.expectString)(output.TimeLoggingStarted),
|
|
4765
|
-
TimeLoggingStopped: (0, smithy_client_1.expectString)(output.TimeLoggingStopped),
|
|
4766
|
-
};
|
|
4767
|
-
};
|
|
4768
|
-
const de_ImportDestinations = (output, context) => {
|
|
4769
|
-
const retVal = (output || [])
|
|
4770
|
-
.filter((e) => e != null)
|
|
4771
|
-
.map((entry) => {
|
|
4772
|
-
if (entry === null) {
|
|
4773
|
-
return null;
|
|
4774
|
-
}
|
|
4775
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4776
|
-
});
|
|
4777
|
-
return retVal;
|
|
4778
|
-
};
|
|
4779
|
-
const de_ImportFailureList = (output, context) => {
|
|
4780
|
-
const retVal = (output || [])
|
|
4781
|
-
.filter((e) => e != null)
|
|
4782
|
-
.map((entry) => {
|
|
4783
|
-
if (entry === null) {
|
|
4784
|
-
return null;
|
|
4785
|
-
}
|
|
4786
|
-
return de_ImportFailureListItem(entry, context);
|
|
4787
|
-
});
|
|
4788
|
-
return retVal;
|
|
4789
|
-
};
|
|
4790
|
-
const de_ImportFailureListItem = (output, context) => {
|
|
4791
|
-
return {
|
|
4792
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
4793
|
-
ErrorType: (0, smithy_client_1.expectString)(output.ErrorType),
|
|
4794
|
-
LastUpdatedTime: output.LastUpdatedTime != null
|
|
4795
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
4796
|
-
: undefined,
|
|
4797
|
-
Location: (0, smithy_client_1.expectString)(output.Location),
|
|
4798
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4799
|
-
};
|
|
4800
|
-
};
|
|
4801
|
-
const de_ImportNotFoundException = (output, context) => {
|
|
4802
|
-
return {
|
|
4803
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4804
|
-
};
|
|
4805
|
-
};
|
|
4806
|
-
const de_ImportsList = (output, context) => {
|
|
4807
|
-
const retVal = (output || [])
|
|
4808
|
-
.filter((e) => e != null)
|
|
4809
|
-
.map((entry) => {
|
|
4810
|
-
if (entry === null) {
|
|
4811
|
-
return null;
|
|
4812
|
-
}
|
|
4813
|
-
return de_ImportsListItem(entry, context);
|
|
4814
|
-
});
|
|
4815
|
-
return retVal;
|
|
4816
|
-
};
|
|
4817
|
-
const de_ImportsListItem = (output, context) => {
|
|
4818
|
-
return {
|
|
4819
|
-
CreatedTimestamp: output.CreatedTimestamp != null
|
|
4820
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
|
|
4821
|
-
: undefined,
|
|
4822
|
-
Destinations: output.Destinations != null ? de_ImportDestinations(output.Destinations, context) : undefined,
|
|
4823
|
-
ImportId: (0, smithy_client_1.expectString)(output.ImportId),
|
|
4824
|
-
ImportStatus: (0, smithy_client_1.expectString)(output.ImportStatus),
|
|
4825
|
-
UpdatedTimestamp: output.UpdatedTimestamp != null
|
|
4826
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedTimestamp)))
|
|
4827
|
-
: undefined,
|
|
4828
|
-
};
|
|
4829
|
-
};
|
|
4830
|
-
const de_ImportSource = (output, context) => {
|
|
4831
|
-
return {
|
|
4832
|
-
S3: output.S3 != null ? de_S3ImportSource(output.S3, context) : undefined,
|
|
4833
|
-
};
|
|
4834
|
-
};
|
|
4835
|
-
const de_ImportStatistics = (output, context) => {
|
|
4836
|
-
return {
|
|
4837
|
-
EventsCompleted: (0, smithy_client_1.expectLong)(output.EventsCompleted),
|
|
4838
|
-
FailedEntries: (0, smithy_client_1.expectLong)(output.FailedEntries),
|
|
4839
|
-
FilesCompleted: (0, smithy_client_1.expectLong)(output.FilesCompleted),
|
|
4840
|
-
PrefixesCompleted: (0, smithy_client_1.expectLong)(output.PrefixesCompleted),
|
|
4841
|
-
PrefixesFound: (0, smithy_client_1.expectLong)(output.PrefixesFound),
|
|
4842
|
-
};
|
|
4843
|
-
};
|
|
4844
|
-
const de_InactiveEventDataStoreException = (output, context) => {
|
|
4845
|
-
return {
|
|
4846
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4847
|
-
};
|
|
4848
|
-
};
|
|
4849
|
-
const de_InactiveQueryException = (output, context) => {
|
|
4850
|
-
return {
|
|
4851
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4852
|
-
};
|
|
4853
|
-
};
|
|
4854
|
-
const de_IngestionStatus = (output, context) => {
|
|
4855
|
-
return {
|
|
4856
|
-
LatestIngestionAttemptEventID: (0, smithy_client_1.expectString)(output.LatestIngestionAttemptEventID),
|
|
4857
|
-
LatestIngestionAttemptTime: output.LatestIngestionAttemptTime != null
|
|
4858
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LatestIngestionAttemptTime)))
|
|
4859
|
-
: undefined,
|
|
4860
|
-
LatestIngestionErrorCode: (0, smithy_client_1.expectString)(output.LatestIngestionErrorCode),
|
|
4861
|
-
LatestIngestionSuccessEventID: (0, smithy_client_1.expectString)(output.LatestIngestionSuccessEventID),
|
|
4862
|
-
LatestIngestionSuccessTime: output.LatestIngestionSuccessTime != null
|
|
4863
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LatestIngestionSuccessTime)))
|
|
4864
|
-
: undefined,
|
|
4865
|
-
};
|
|
4866
|
-
};
|
|
4867
|
-
const de_InsightNotEnabledException = (output, context) => {
|
|
4868
|
-
return {
|
|
4869
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4870
|
-
};
|
|
4871
|
-
};
|
|
4872
|
-
const de_InsightSelector = (output, context) => {
|
|
4873
|
-
return {
|
|
4874
|
-
InsightType: (0, smithy_client_1.expectString)(output.InsightType),
|
|
4875
|
-
};
|
|
4876
|
-
};
|
|
4877
|
-
const de_InsightSelectors = (output, context) => {
|
|
4878
|
-
const retVal = (output || [])
|
|
4879
|
-
.filter((e) => e != null)
|
|
4880
|
-
.map((entry) => {
|
|
4881
|
-
if (entry === null) {
|
|
4882
|
-
return null;
|
|
4883
|
-
}
|
|
4884
|
-
return de_InsightSelector(entry, context);
|
|
4885
|
-
});
|
|
4886
|
-
return retVal;
|
|
4887
|
-
};
|
|
4888
|
-
const de_InsufficientDependencyServiceAccessPermissionException = (output, context) => {
|
|
4889
|
-
return {
|
|
4890
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4891
|
-
};
|
|
4892
|
-
};
|
|
4893
|
-
const de_InsufficientEncryptionPolicyException = (output, context) => {
|
|
4894
|
-
return {
|
|
4895
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4896
|
-
};
|
|
4897
|
-
};
|
|
4898
|
-
const de_InsufficientS3BucketPolicyException = (output, context) => {
|
|
4899
|
-
return {
|
|
4900
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4901
|
-
};
|
|
4902
|
-
};
|
|
4903
|
-
const de_InsufficientSnsTopicPolicyException = (output, context) => {
|
|
4904
|
-
return {
|
|
4905
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4906
|
-
};
|
|
4907
|
-
};
|
|
4908
|
-
const de_InvalidCloudWatchLogsLogGroupArnException = (output, context) => {
|
|
4909
|
-
return {
|
|
4910
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4911
|
-
};
|
|
4912
|
-
};
|
|
4913
|
-
const de_InvalidCloudWatchLogsRoleArnException = (output, context) => {
|
|
4914
|
-
return {
|
|
4915
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4916
|
-
};
|
|
4917
|
-
};
|
|
4918
|
-
const de_InvalidDateRangeException = (output, context) => {
|
|
4919
|
-
return {
|
|
4920
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4921
|
-
};
|
|
4922
|
-
};
|
|
4923
|
-
const de_InvalidEventCategoryException = (output, context) => {
|
|
4924
|
-
return {
|
|
4925
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4926
|
-
};
|
|
4927
|
-
};
|
|
4928
|
-
const de_InvalidEventDataStoreCategoryException = (output, context) => {
|
|
4929
|
-
return {
|
|
4930
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4931
|
-
};
|
|
4932
|
-
};
|
|
4933
|
-
const de_InvalidEventDataStoreStatusException = (output, context) => {
|
|
4934
|
-
return {
|
|
4935
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4936
|
-
};
|
|
4937
|
-
};
|
|
4938
|
-
const de_InvalidEventSelectorsException = (output, context) => {
|
|
4939
|
-
return {
|
|
4940
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4941
|
-
};
|
|
4942
|
-
};
|
|
4943
|
-
const de_InvalidHomeRegionException = (output, context) => {
|
|
4944
|
-
return {
|
|
4945
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4946
|
-
};
|
|
4947
|
-
};
|
|
4948
|
-
const de_InvalidImportSourceException = (output, context) => {
|
|
4949
|
-
return {
|
|
4950
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4951
|
-
};
|
|
4952
|
-
};
|
|
4953
|
-
const de_InvalidInsightSelectorsException = (output, context) => {
|
|
4954
|
-
return {
|
|
4955
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4956
|
-
};
|
|
4957
|
-
};
|
|
4958
|
-
const de_InvalidKmsKeyIdException = (output, context) => {
|
|
4959
|
-
return {
|
|
4960
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4961
|
-
};
|
|
4962
|
-
};
|
|
4963
|
-
const de_InvalidLookupAttributesException = (output, context) => {
|
|
4964
|
-
return {
|
|
4965
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4966
|
-
};
|
|
4967
|
-
};
|
|
4968
|
-
const de_InvalidMaxResultsException = (output, context) => {
|
|
4969
|
-
return {
|
|
4970
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4971
|
-
};
|
|
4972
|
-
};
|
|
4973
|
-
const de_InvalidNextTokenException = (output, context) => {
|
|
4974
|
-
return {
|
|
4975
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4976
|
-
};
|
|
4977
|
-
};
|
|
4978
|
-
const de_InvalidParameterCombinationException = (output, context) => {
|
|
4979
|
-
return {
|
|
4980
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4981
|
-
};
|
|
4982
|
-
};
|
|
4983
|
-
const de_InvalidParameterException = (output, context) => {
|
|
4984
|
-
return {
|
|
4985
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4986
|
-
};
|
|
4987
|
-
};
|
|
4988
|
-
const de_InvalidQueryStatementException = (output, context) => {
|
|
4989
|
-
return {
|
|
4990
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4991
|
-
};
|
|
4992
|
-
};
|
|
4993
|
-
const de_InvalidQueryStatusException = (output, context) => {
|
|
4994
|
-
return {
|
|
4995
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4996
|
-
};
|
|
4997
|
-
};
|
|
4998
|
-
const de_InvalidS3BucketNameException = (output, context) => {
|
|
4999
|
-
return {
|
|
5000
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5001
|
-
};
|
|
5002
|
-
};
|
|
5003
|
-
const de_InvalidS3PrefixException = (output, context) => {
|
|
5004
|
-
return {
|
|
5005
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5006
|
-
};
|
|
5007
|
-
};
|
|
5008
|
-
const de_InvalidSnsTopicNameException = (output, context) => {
|
|
5009
|
-
return {
|
|
5010
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5011
|
-
};
|
|
5012
|
-
};
|
|
5013
|
-
const de_InvalidSourceException = (output, context) => {
|
|
5014
|
-
return {
|
|
5015
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5016
|
-
};
|
|
5017
|
-
};
|
|
5018
|
-
const de_InvalidTagParameterException = (output, context) => {
|
|
5019
|
-
return {
|
|
5020
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5021
|
-
};
|
|
5022
|
-
};
|
|
5023
|
-
const de_InvalidTimeRangeException = (output, context) => {
|
|
5024
|
-
return {
|
|
5025
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5026
|
-
};
|
|
5027
|
-
};
|
|
5028
|
-
const de_InvalidTokenException = (output, context) => {
|
|
5029
|
-
return {
|
|
5030
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5031
|
-
};
|
|
5032
|
-
};
|
|
5033
|
-
const de_InvalidTrailNameException = (output, context) => {
|
|
5034
|
-
return {
|
|
5035
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5036
|
-
};
|
|
5037
|
-
};
|
|
5038
|
-
const de_KmsException = (output, context) => {
|
|
5039
|
-
return {
|
|
5040
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5041
|
-
};
|
|
5042
|
-
};
|
|
5043
|
-
const de_KmsKeyDisabledException = (output, context) => {
|
|
5044
|
-
return {
|
|
5045
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5046
|
-
};
|
|
5047
|
-
};
|
|
5048
|
-
const de_KmsKeyNotFoundException = (output, context) => {
|
|
5049
|
-
return {
|
|
5050
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5051
|
-
};
|
|
5052
|
-
};
|
|
5053
|
-
const de_ListChannelsResponse = (output, context) => {
|
|
5054
|
-
return {
|
|
5055
|
-
Channels: output.Channels != null ? de_Channels(output.Channels, context) : undefined,
|
|
5056
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5057
|
-
};
|
|
5058
|
-
};
|
|
5059
|
-
const de_ListEventDataStoresResponse = (output, context) => {
|
|
5060
|
-
return {
|
|
5061
|
-
EventDataStores: output.EventDataStores != null ? de_EventDataStores(output.EventDataStores, context) : undefined,
|
|
5062
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5063
|
-
};
|
|
5064
|
-
};
|
|
5065
|
-
const de_ListImportFailuresResponse = (output, context) => {
|
|
5066
|
-
return {
|
|
5067
|
-
Failures: output.Failures != null ? de_ImportFailureList(output.Failures, context) : undefined,
|
|
5068
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5069
|
-
};
|
|
5070
|
-
};
|
|
5071
|
-
const de_ListImportsResponse = (output, context) => {
|
|
5072
|
-
return {
|
|
5073
|
-
Imports: output.Imports != null ? de_ImportsList(output.Imports, context) : undefined,
|
|
5074
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5075
|
-
};
|
|
5076
|
-
};
|
|
5077
|
-
const de_ListPublicKeysResponse = (output, context) => {
|
|
5078
|
-
return {
|
|
5079
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5080
|
-
PublicKeyList: output.PublicKeyList != null ? de_PublicKeyList(output.PublicKeyList, context) : undefined,
|
|
5081
|
-
};
|
|
5082
|
-
};
|
|
5083
|
-
const de_ListQueriesResponse = (output, context) => {
|
|
5084
|
-
return {
|
|
5085
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5086
|
-
Queries: output.Queries != null ? de_Queries(output.Queries, context) : undefined,
|
|
5087
|
-
};
|
|
5088
|
-
};
|
|
5089
|
-
const de_ListTagsResponse = (output, context) => {
|
|
5090
|
-
return {
|
|
5091
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5092
|
-
ResourceTagList: output.ResourceTagList != null ? de_ResourceTagList(output.ResourceTagList, context) : undefined,
|
|
5093
|
-
};
|
|
5094
|
-
};
|
|
5095
|
-
const de_ListTrailsResponse = (output, context) => {
|
|
5096
|
-
return {
|
|
5097
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5098
|
-
Trails: output.Trails != null ? de_Trails(output.Trails, context) : undefined,
|
|
5099
|
-
};
|
|
5100
|
-
};
|
|
5101
|
-
const de_LookupEventsResponse = (output, context) => {
|
|
5102
|
-
return {
|
|
5103
|
-
Events: output.Events != null ? de_EventsList(output.Events, context) : undefined,
|
|
5104
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5105
|
-
};
|
|
5106
|
-
};
|
|
5107
|
-
const de_MaxConcurrentQueriesException = (output, context) => {
|
|
5108
|
-
return {
|
|
5109
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5110
|
-
};
|
|
5111
|
-
};
|
|
5112
|
-
const de_MaximumNumberOfTrailsExceededException = (output, context) => {
|
|
5113
|
-
return {
|
|
5114
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5115
|
-
};
|
|
5116
|
-
};
|
|
5117
|
-
const de_NoManagementAccountSLRExistsException = (output, context) => {
|
|
5118
|
-
return {
|
|
5119
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5120
|
-
};
|
|
5121
|
-
};
|
|
5122
|
-
const de_NotOrganizationManagementAccountException = (output, context) => {
|
|
5123
|
-
return {
|
|
5124
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5125
|
-
};
|
|
5126
|
-
};
|
|
5127
|
-
const de_NotOrganizationMasterAccountException = (output, context) => {
|
|
5128
|
-
return {
|
|
5129
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5130
|
-
};
|
|
5131
|
-
};
|
|
5132
|
-
const de_OperationNotPermittedException = (output, context) => {
|
|
5133
|
-
return {
|
|
5134
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5135
|
-
};
|
|
5136
|
-
};
|
|
5137
|
-
const de_Operator = (output, context) => {
|
|
5138
|
-
const retVal = (output || [])
|
|
5139
|
-
.filter((e) => e != null)
|
|
5140
|
-
.map((entry) => {
|
|
5141
|
-
if (entry === null) {
|
|
5142
|
-
return null;
|
|
5143
|
-
}
|
|
5144
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
5145
|
-
});
|
|
5146
|
-
return retVal;
|
|
5147
|
-
};
|
|
5148
|
-
const de_OrganizationNotInAllFeaturesModeException = (output, context) => {
|
|
5149
|
-
return {
|
|
5150
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5151
|
-
};
|
|
5152
|
-
};
|
|
5153
|
-
const de_OrganizationsNotInUseException = (output, context) => {
|
|
5154
|
-
return {
|
|
5155
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5156
|
-
};
|
|
5157
|
-
};
|
|
5158
|
-
const de_PublicKey = (output, context) => {
|
|
5159
|
-
return {
|
|
5160
|
-
Fingerprint: (0, smithy_client_1.expectString)(output.Fingerprint),
|
|
5161
|
-
ValidityEndTime: output.ValidityEndTime != null
|
|
5162
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ValidityEndTime)))
|
|
5163
|
-
: undefined,
|
|
5164
|
-
ValidityStartTime: output.ValidityStartTime != null
|
|
5165
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ValidityStartTime)))
|
|
5166
|
-
: undefined,
|
|
5167
|
-
Value: output.Value != null ? context.base64Decoder(output.Value) : undefined,
|
|
5168
|
-
};
|
|
5169
|
-
};
|
|
5170
|
-
const de_PublicKeyList = (output, context) => {
|
|
5171
|
-
const retVal = (output || [])
|
|
5172
|
-
.filter((e) => e != null)
|
|
5173
|
-
.map((entry) => {
|
|
5174
|
-
if (entry === null) {
|
|
5175
|
-
return null;
|
|
5176
|
-
}
|
|
5177
|
-
return de_PublicKey(entry, context);
|
|
5178
|
-
});
|
|
5179
|
-
return retVal;
|
|
5180
|
-
};
|
|
5181
|
-
const de_PutEventSelectorsResponse = (output, context) => {
|
|
5182
|
-
return {
|
|
5183
|
-
AdvancedEventSelectors: output.AdvancedEventSelectors != null
|
|
5184
|
-
? de_AdvancedEventSelectors(output.AdvancedEventSelectors, context)
|
|
5185
|
-
: undefined,
|
|
5186
|
-
EventSelectors: output.EventSelectors != null ? de_EventSelectors(output.EventSelectors, context) : undefined,
|
|
5187
|
-
TrailARN: (0, smithy_client_1.expectString)(output.TrailARN),
|
|
5188
|
-
};
|
|
5189
|
-
};
|
|
5190
|
-
const de_PutInsightSelectorsResponse = (output, context) => {
|
|
5191
|
-
return {
|
|
5192
|
-
InsightSelectors: output.InsightSelectors != null ? de_InsightSelectors(output.InsightSelectors, context) : undefined,
|
|
5193
|
-
TrailARN: (0, smithy_client_1.expectString)(output.TrailARN),
|
|
5194
|
-
};
|
|
5195
|
-
};
|
|
5196
|
-
const de_PutResourcePolicyResponse = (output, context) => {
|
|
5197
|
-
return {
|
|
5198
|
-
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
5199
|
-
ResourcePolicy: (0, smithy_client_1.expectString)(output.ResourcePolicy),
|
|
5200
|
-
};
|
|
5201
|
-
};
|
|
5202
|
-
const de_Queries = (output, context) => {
|
|
5203
|
-
const retVal = (output || [])
|
|
5204
|
-
.filter((e) => e != null)
|
|
5205
|
-
.map((entry) => {
|
|
5206
|
-
if (entry === null) {
|
|
5207
|
-
return null;
|
|
5208
|
-
}
|
|
5209
|
-
return de_Query(entry, context);
|
|
5210
|
-
});
|
|
5211
|
-
return retVal;
|
|
5212
|
-
};
|
|
5213
|
-
const de_Query = (output, context) => {
|
|
5214
|
-
return {
|
|
5215
|
-
CreationTime: output.CreationTime != null
|
|
5216
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
5217
|
-
: undefined,
|
|
5218
|
-
QueryId: (0, smithy_client_1.expectString)(output.QueryId),
|
|
5219
|
-
QueryStatus: (0, smithy_client_1.expectString)(output.QueryStatus),
|
|
5220
|
-
};
|
|
5221
|
-
};
|
|
5222
|
-
const de_QueryIdNotFoundException = (output, context) => {
|
|
5223
|
-
return {
|
|
5224
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5225
|
-
};
|
|
5226
|
-
};
|
|
5227
|
-
const de_QueryResultColumn = (output, context) => {
|
|
5228
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
5229
|
-
if (value === null) {
|
|
5230
|
-
return acc;
|
|
5231
|
-
}
|
|
5232
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
5233
|
-
return acc;
|
|
5234
|
-
}, {});
|
|
5235
|
-
};
|
|
5236
|
-
const de_QueryResultRow = (output, context) => {
|
|
5237
|
-
const retVal = (output || [])
|
|
5238
|
-
.filter((e) => e != null)
|
|
5239
|
-
.map((entry) => {
|
|
5240
|
-
if (entry === null) {
|
|
5241
|
-
return null;
|
|
5242
|
-
}
|
|
5243
|
-
return de_QueryResultColumn(entry, context);
|
|
5244
|
-
});
|
|
5245
|
-
return retVal;
|
|
5246
|
-
};
|
|
5247
|
-
const de_QueryResultRows = (output, context) => {
|
|
5248
|
-
const retVal = (output || [])
|
|
5249
|
-
.filter((e) => e != null)
|
|
5250
|
-
.map((entry) => {
|
|
5251
|
-
if (entry === null) {
|
|
5252
|
-
return null;
|
|
5253
|
-
}
|
|
5254
|
-
return de_QueryResultRow(entry, context);
|
|
5255
|
-
});
|
|
5256
|
-
return retVal;
|
|
5257
|
-
};
|
|
5258
|
-
const de_QueryStatistics = (output, context) => {
|
|
5259
|
-
return {
|
|
5260
|
-
BytesScanned: (0, smithy_client_1.expectLong)(output.BytesScanned),
|
|
5261
|
-
ResultsCount: (0, smithy_client_1.expectInt32)(output.ResultsCount),
|
|
5262
|
-
TotalResultsCount: (0, smithy_client_1.expectInt32)(output.TotalResultsCount),
|
|
5263
|
-
};
|
|
5264
|
-
};
|
|
5265
|
-
const de_QueryStatisticsForDescribeQuery = (output, context) => {
|
|
5266
|
-
return {
|
|
5267
|
-
BytesScanned: (0, smithy_client_1.expectLong)(output.BytesScanned),
|
|
5268
|
-
CreationTime: output.CreationTime != null
|
|
5269
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
5270
|
-
: undefined,
|
|
5271
|
-
EventsMatched: (0, smithy_client_1.expectLong)(output.EventsMatched),
|
|
5272
|
-
EventsScanned: (0, smithy_client_1.expectLong)(output.EventsScanned),
|
|
5273
|
-
ExecutionTimeInMillis: (0, smithy_client_1.expectInt32)(output.ExecutionTimeInMillis),
|
|
5274
|
-
};
|
|
5275
|
-
};
|
|
5276
|
-
const de_RegisterOrganizationDelegatedAdminResponse = (output, context) => {
|
|
5277
|
-
return {};
|
|
5278
|
-
};
|
|
5279
|
-
const de_RemoveTagsResponse = (output, context) => {
|
|
5280
|
-
return {};
|
|
5281
|
-
};
|
|
5282
|
-
const de_Resource = (output, context) => {
|
|
5283
|
-
return {
|
|
5284
|
-
ResourceName: (0, smithy_client_1.expectString)(output.ResourceName),
|
|
5285
|
-
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
5286
|
-
};
|
|
5287
|
-
};
|
|
5288
|
-
const de_ResourceARNNotValidException = (output, context) => {
|
|
5289
|
-
return {
|
|
5290
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5291
|
-
};
|
|
5292
|
-
};
|
|
5293
|
-
const de_ResourceList = (output, context) => {
|
|
5294
|
-
const retVal = (output || [])
|
|
5295
|
-
.filter((e) => e != null)
|
|
5296
|
-
.map((entry) => {
|
|
5297
|
-
if (entry === null) {
|
|
5298
|
-
return null;
|
|
5299
|
-
}
|
|
5300
|
-
return de_Resource(entry, context);
|
|
5301
|
-
});
|
|
5302
|
-
return retVal;
|
|
5303
|
-
};
|
|
5304
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
5305
|
-
return {
|
|
5306
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5307
|
-
};
|
|
5308
|
-
};
|
|
5309
|
-
const de_ResourcePolicyNotFoundException = (output, context) => {
|
|
5310
|
-
return {
|
|
5311
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5312
|
-
};
|
|
5313
|
-
};
|
|
5314
|
-
const de_ResourcePolicyNotValidException = (output, context) => {
|
|
5315
|
-
return {
|
|
5316
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5317
|
-
};
|
|
5318
|
-
};
|
|
5319
|
-
const de_ResourceTag = (output, context) => {
|
|
5320
|
-
return {
|
|
5321
|
-
ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
|
|
5322
|
-
TagsList: output.TagsList != null ? de_TagsList(output.TagsList, context) : undefined,
|
|
5323
|
-
};
|
|
5324
|
-
};
|
|
5325
|
-
const de_ResourceTagList = (output, context) => {
|
|
5326
|
-
const retVal = (output || [])
|
|
5327
|
-
.filter((e) => e != null)
|
|
5328
|
-
.map((entry) => {
|
|
5329
|
-
if (entry === null) {
|
|
5330
|
-
return null;
|
|
5331
|
-
}
|
|
5332
|
-
return de_ResourceTag(entry, context);
|
|
5333
|
-
});
|
|
5334
|
-
return retVal;
|
|
5335
|
-
};
|
|
5336
|
-
const de_ResourceTypeNotSupportedException = (output, context) => {
|
|
5337
|
-
return {
|
|
5338
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5339
|
-
};
|
|
5340
|
-
};
|
|
5341
|
-
const de_RestoreEventDataStoreResponse = (output, context) => {
|
|
5342
|
-
return {
|
|
5343
|
-
AdvancedEventSelectors: output.AdvancedEventSelectors != null
|
|
5344
|
-
? de_AdvancedEventSelectors(output.AdvancedEventSelectors, context)
|
|
5345
|
-
: undefined,
|
|
5346
|
-
CreatedTimestamp: output.CreatedTimestamp != null
|
|
5347
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
|
|
5348
|
-
: undefined,
|
|
5349
|
-
EventDataStoreArn: (0, smithy_client_1.expectString)(output.EventDataStoreArn),
|
|
5350
|
-
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
5351
|
-
MultiRegionEnabled: (0, smithy_client_1.expectBoolean)(output.MultiRegionEnabled),
|
|
5352
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5353
|
-
OrganizationEnabled: (0, smithy_client_1.expectBoolean)(output.OrganizationEnabled),
|
|
5354
|
-
RetentionPeriod: (0, smithy_client_1.expectInt32)(output.RetentionPeriod),
|
|
5355
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
5356
|
-
TerminationProtectionEnabled: (0, smithy_client_1.expectBoolean)(output.TerminationProtectionEnabled),
|
|
5357
|
-
UpdatedTimestamp: output.UpdatedTimestamp != null
|
|
5358
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedTimestamp)))
|
|
5359
|
-
: undefined,
|
|
5360
|
-
};
|
|
5361
|
-
};
|
|
5362
|
-
const de_S3BucketDoesNotExistException = (output, context) => {
|
|
5363
|
-
return {
|
|
5364
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5365
|
-
};
|
|
5366
|
-
};
|
|
5367
|
-
const de_S3ImportSource = (output, context) => {
|
|
5368
|
-
return {
|
|
5369
|
-
S3BucketAccessRoleArn: (0, smithy_client_1.expectString)(output.S3BucketAccessRoleArn),
|
|
5370
|
-
S3BucketRegion: (0, smithy_client_1.expectString)(output.S3BucketRegion),
|
|
5371
|
-
S3LocationUri: (0, smithy_client_1.expectString)(output.S3LocationUri),
|
|
5372
|
-
};
|
|
5373
|
-
};
|
|
5374
|
-
const de_SourceConfig = (output, context) => {
|
|
5375
|
-
return {
|
|
5376
|
-
AdvancedEventSelectors: output.AdvancedEventSelectors != null
|
|
5377
|
-
? de_AdvancedEventSelectors(output.AdvancedEventSelectors, context)
|
|
5378
|
-
: undefined,
|
|
5379
|
-
ApplyToAllRegions: (0, smithy_client_1.expectBoolean)(output.ApplyToAllRegions),
|
|
5380
|
-
};
|
|
5381
|
-
};
|
|
5382
|
-
const de_StartImportResponse = (output, context) => {
|
|
5383
|
-
return {
|
|
5384
|
-
CreatedTimestamp: output.CreatedTimestamp != null
|
|
5385
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
|
|
5386
|
-
: undefined,
|
|
5387
|
-
Destinations: output.Destinations != null ? de_ImportDestinations(output.Destinations, context) : undefined,
|
|
5388
|
-
EndEventTime: output.EndEventTime != null
|
|
5389
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndEventTime)))
|
|
5390
|
-
: undefined,
|
|
5391
|
-
ImportId: (0, smithy_client_1.expectString)(output.ImportId),
|
|
5392
|
-
ImportSource: output.ImportSource != null ? de_ImportSource(output.ImportSource, context) : undefined,
|
|
5393
|
-
ImportStatus: (0, smithy_client_1.expectString)(output.ImportStatus),
|
|
5394
|
-
StartEventTime: output.StartEventTime != null
|
|
5395
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartEventTime)))
|
|
5396
|
-
: undefined,
|
|
5397
|
-
UpdatedTimestamp: output.UpdatedTimestamp != null
|
|
5398
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedTimestamp)))
|
|
5399
|
-
: undefined,
|
|
5400
|
-
};
|
|
5401
|
-
};
|
|
5402
|
-
const de_StartLoggingResponse = (output, context) => {
|
|
5403
|
-
return {};
|
|
5404
|
-
};
|
|
5405
|
-
const de_StartQueryResponse = (output, context) => {
|
|
5406
|
-
return {
|
|
5407
|
-
QueryId: (0, smithy_client_1.expectString)(output.QueryId),
|
|
5408
|
-
};
|
|
5409
|
-
};
|
|
5410
|
-
const de_StopImportResponse = (output, context) => {
|
|
5411
|
-
return {
|
|
5412
|
-
CreatedTimestamp: output.CreatedTimestamp != null
|
|
5413
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
|
|
5414
|
-
: undefined,
|
|
5415
|
-
Destinations: output.Destinations != null ? de_ImportDestinations(output.Destinations, context) : undefined,
|
|
5416
|
-
EndEventTime: output.EndEventTime != null
|
|
5417
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndEventTime)))
|
|
5418
|
-
: undefined,
|
|
5419
|
-
ImportId: (0, smithy_client_1.expectString)(output.ImportId),
|
|
5420
|
-
ImportSource: output.ImportSource != null ? de_ImportSource(output.ImportSource, context) : undefined,
|
|
5421
|
-
ImportStatistics: output.ImportStatistics != null ? de_ImportStatistics(output.ImportStatistics, context) : undefined,
|
|
5422
|
-
ImportStatus: (0, smithy_client_1.expectString)(output.ImportStatus),
|
|
5423
|
-
StartEventTime: output.StartEventTime != null
|
|
5424
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartEventTime)))
|
|
5425
|
-
: undefined,
|
|
5426
|
-
UpdatedTimestamp: output.UpdatedTimestamp != null
|
|
5427
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedTimestamp)))
|
|
5428
|
-
: undefined,
|
|
5429
|
-
};
|
|
5430
|
-
};
|
|
5431
|
-
const de_StopLoggingResponse = (output, context) => {
|
|
5432
|
-
return {};
|
|
5433
|
-
};
|
|
5434
|
-
const de_Tag = (output, context) => {
|
|
5435
|
-
return {
|
|
5436
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
5437
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
5438
|
-
};
|
|
5439
|
-
};
|
|
5440
|
-
const de_TagsLimitExceededException = (output, context) => {
|
|
5441
|
-
return {
|
|
5442
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5443
|
-
};
|
|
5444
|
-
};
|
|
5445
|
-
const de_TagsList = (output, context) => {
|
|
5446
|
-
const retVal = (output || [])
|
|
5447
|
-
.filter((e) => e != null)
|
|
5448
|
-
.map((entry) => {
|
|
5449
|
-
if (entry === null) {
|
|
5450
|
-
return null;
|
|
5451
|
-
}
|
|
5452
|
-
return de_Tag(entry, context);
|
|
5453
|
-
});
|
|
5454
|
-
return retVal;
|
|
5455
|
-
};
|
|
5456
|
-
const de_Trail = (output, context) => {
|
|
5457
|
-
return {
|
|
5458
|
-
CloudWatchLogsLogGroupArn: (0, smithy_client_1.expectString)(output.CloudWatchLogsLogGroupArn),
|
|
5459
|
-
CloudWatchLogsRoleArn: (0, smithy_client_1.expectString)(output.CloudWatchLogsRoleArn),
|
|
5460
|
-
HasCustomEventSelectors: (0, smithy_client_1.expectBoolean)(output.HasCustomEventSelectors),
|
|
5461
|
-
HasInsightSelectors: (0, smithy_client_1.expectBoolean)(output.HasInsightSelectors),
|
|
5462
|
-
HomeRegion: (0, smithy_client_1.expectString)(output.HomeRegion),
|
|
5463
|
-
IncludeGlobalServiceEvents: (0, smithy_client_1.expectBoolean)(output.IncludeGlobalServiceEvents),
|
|
5464
|
-
IsMultiRegionTrail: (0, smithy_client_1.expectBoolean)(output.IsMultiRegionTrail),
|
|
5465
|
-
IsOrganizationTrail: (0, smithy_client_1.expectBoolean)(output.IsOrganizationTrail),
|
|
5466
|
-
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
5467
|
-
LogFileValidationEnabled: (0, smithy_client_1.expectBoolean)(output.LogFileValidationEnabled),
|
|
5468
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5469
|
-
S3BucketName: (0, smithy_client_1.expectString)(output.S3BucketName),
|
|
5470
|
-
S3KeyPrefix: (0, smithy_client_1.expectString)(output.S3KeyPrefix),
|
|
5471
|
-
SnsTopicARN: (0, smithy_client_1.expectString)(output.SnsTopicARN),
|
|
5472
|
-
SnsTopicName: (0, smithy_client_1.expectString)(output.SnsTopicName),
|
|
5473
|
-
TrailARN: (0, smithy_client_1.expectString)(output.TrailARN),
|
|
5474
|
-
};
|
|
5475
|
-
};
|
|
5476
|
-
const de_TrailAlreadyExistsException = (output, context) => {
|
|
5477
|
-
return {
|
|
5478
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5479
|
-
};
|
|
5480
|
-
};
|
|
5481
|
-
const de_TrailInfo = (output, context) => {
|
|
5482
|
-
return {
|
|
5483
|
-
HomeRegion: (0, smithy_client_1.expectString)(output.HomeRegion),
|
|
5484
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5485
|
-
TrailARN: (0, smithy_client_1.expectString)(output.TrailARN),
|
|
5486
|
-
};
|
|
5487
|
-
};
|
|
5488
|
-
const de_TrailList = (output, context) => {
|
|
5489
|
-
const retVal = (output || [])
|
|
5490
|
-
.filter((e) => e != null)
|
|
5491
|
-
.map((entry) => {
|
|
5492
|
-
if (entry === null) {
|
|
5493
|
-
return null;
|
|
5494
|
-
}
|
|
5495
|
-
return de_Trail(entry, context);
|
|
5496
|
-
});
|
|
5497
|
-
return retVal;
|
|
5498
|
-
};
|
|
5499
|
-
const de_TrailNotFoundException = (output, context) => {
|
|
5500
|
-
return {
|
|
5501
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5502
|
-
};
|
|
5503
|
-
};
|
|
5504
|
-
const de_TrailNotProvidedException = (output, context) => {
|
|
5505
|
-
return {
|
|
5506
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5507
|
-
};
|
|
5508
|
-
};
|
|
5509
|
-
const de_Trails = (output, context) => {
|
|
5510
|
-
const retVal = (output || [])
|
|
5511
|
-
.filter((e) => e != null)
|
|
5512
|
-
.map((entry) => {
|
|
5513
|
-
if (entry === null) {
|
|
5514
|
-
return null;
|
|
5515
|
-
}
|
|
5516
|
-
return de_TrailInfo(entry, context);
|
|
5517
|
-
});
|
|
5518
|
-
return retVal;
|
|
5519
|
-
};
|
|
5520
|
-
const de_UnsupportedOperationException = (output, context) => {
|
|
5521
|
-
return {
|
|
5522
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5523
|
-
};
|
|
5524
|
-
};
|
|
5525
|
-
const de_UpdateChannelResponse = (output, context) => {
|
|
5526
|
-
return {
|
|
5527
|
-
ChannelArn: (0, smithy_client_1.expectString)(output.ChannelArn),
|
|
5528
|
-
Destinations: output.Destinations != null ? de_Destinations(output.Destinations, context) : undefined,
|
|
5529
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5530
|
-
Source: (0, smithy_client_1.expectString)(output.Source),
|
|
5531
|
-
};
|
|
5532
|
-
};
|
|
5533
|
-
const de_UpdateEventDataStoreResponse = (output, context) => {
|
|
5534
|
-
return {
|
|
5535
|
-
AdvancedEventSelectors: output.AdvancedEventSelectors != null
|
|
5536
|
-
? de_AdvancedEventSelectors(output.AdvancedEventSelectors, context)
|
|
5537
|
-
: undefined,
|
|
5538
|
-
CreatedTimestamp: output.CreatedTimestamp != null
|
|
5539
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
|
|
5540
|
-
: undefined,
|
|
5541
|
-
EventDataStoreArn: (0, smithy_client_1.expectString)(output.EventDataStoreArn),
|
|
5542
|
-
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
5543
|
-
MultiRegionEnabled: (0, smithy_client_1.expectBoolean)(output.MultiRegionEnabled),
|
|
5544
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5545
|
-
OrganizationEnabled: (0, smithy_client_1.expectBoolean)(output.OrganizationEnabled),
|
|
5546
|
-
RetentionPeriod: (0, smithy_client_1.expectInt32)(output.RetentionPeriod),
|
|
5547
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
5548
|
-
TerminationProtectionEnabled: (0, smithy_client_1.expectBoolean)(output.TerminationProtectionEnabled),
|
|
5549
|
-
UpdatedTimestamp: output.UpdatedTimestamp != null
|
|
5550
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedTimestamp)))
|
|
5551
|
-
: undefined,
|
|
5552
|
-
};
|
|
5553
|
-
};
|
|
5554
|
-
const de_UpdateTrailResponse = (output, context) => {
|
|
5555
|
-
return {
|
|
5556
|
-
CloudWatchLogsLogGroupArn: (0, smithy_client_1.expectString)(output.CloudWatchLogsLogGroupArn),
|
|
5557
|
-
CloudWatchLogsRoleArn: (0, smithy_client_1.expectString)(output.CloudWatchLogsRoleArn),
|
|
5558
|
-
IncludeGlobalServiceEvents: (0, smithy_client_1.expectBoolean)(output.IncludeGlobalServiceEvents),
|
|
5559
|
-
IsMultiRegionTrail: (0, smithy_client_1.expectBoolean)(output.IsMultiRegionTrail),
|
|
5560
|
-
IsOrganizationTrail: (0, smithy_client_1.expectBoolean)(output.IsOrganizationTrail),
|
|
5561
|
-
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
5562
|
-
LogFileValidationEnabled: (0, smithy_client_1.expectBoolean)(output.LogFileValidationEnabled),
|
|
5563
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5564
|
-
S3BucketName: (0, smithy_client_1.expectString)(output.S3BucketName),
|
|
5565
|
-
S3KeyPrefix: (0, smithy_client_1.expectString)(output.S3KeyPrefix),
|
|
5566
|
-
SnsTopicARN: (0, smithy_client_1.expectString)(output.SnsTopicARN),
|
|
5567
|
-
SnsTopicName: (0, smithy_client_1.expectString)(output.SnsTopicName),
|
|
5568
|
-
TrailARN: (0, smithy_client_1.expectString)(output.TrailARN),
|
|
5569
|
-
};
|
|
3935
|
+
const de_UpdateEventDataStoreResponse = (output, context) => {
|
|
3936
|
+
return (0, smithy_client_1.take)(output, {
|
|
3937
|
+
AdvancedEventSelectors: smithy_client_1._json,
|
|
3938
|
+
CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3939
|
+
EventDataStoreArn: smithy_client_1.expectString,
|
|
3940
|
+
KmsKeyId: smithy_client_1.expectString,
|
|
3941
|
+
MultiRegionEnabled: smithy_client_1.expectBoolean,
|
|
3942
|
+
Name: smithy_client_1.expectString,
|
|
3943
|
+
OrganizationEnabled: smithy_client_1.expectBoolean,
|
|
3944
|
+
RetentionPeriod: smithy_client_1.expectInt32,
|
|
3945
|
+
Status: smithy_client_1.expectString,
|
|
3946
|
+
TerminationProtectionEnabled: smithy_client_1.expectBoolean,
|
|
3947
|
+
UpdatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3948
|
+
});
|
|
5570
3949
|
};
|
|
5571
3950
|
const deserializeMetadata = (output) => ({
|
|
5572
3951
|
httpStatusCode: output.statusCode,
|
|
@@ -5581,6 +3960,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
5581
3960
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5582
3961
|
};
|
|
5583
3962
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3963
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(CloudTrailServiceException_1.CloudTrailServiceException);
|
|
5584
3964
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
5585
3965
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
5586
3966
|
const contents = {
|
|
@@ -5599,6 +3979,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
5599
3979
|
}
|
|
5600
3980
|
return new protocol_http_1.HttpRequest(contents);
|
|
5601
3981
|
};
|
|
3982
|
+
function sharedHeaders(operation) {
|
|
3983
|
+
return {
|
|
3984
|
+
"content-type": "application/x-amz-json-1.1",
|
|
3985
|
+
"x-amz-target": `CloudTrail_20131101.${operation}`,
|
|
3986
|
+
};
|
|
3987
|
+
}
|
|
5602
3988
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
5603
3989
|
if (encoded.length) {
|
|
5604
3990
|
return JSON.parse(encoded);
|