@aws-sdk/client-application-insights 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 +246 -838
- package/dist-es/protocols/Aws_json1_1.js +247 -839
- package/package.json +6 -6
|
@@ -7,272 +7,191 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const ApplicationInsightsServiceException_1 = require("../models/ApplicationInsightsServiceException");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
9
|
const se_CreateApplicationCommand = async (input, context) => {
|
|
10
|
-
const headers =
|
|
11
|
-
"content-type": "application/x-amz-json-1.1",
|
|
12
|
-
"x-amz-target": "EC2WindowsBarleyService.CreateApplication",
|
|
13
|
-
};
|
|
10
|
+
const headers = sharedHeaders("CreateApplication");
|
|
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_CreateApplicationCommand = se_CreateApplicationCommand;
|
|
19
16
|
const se_CreateComponentCommand = async (input, context) => {
|
|
20
|
-
const headers =
|
|
21
|
-
"content-type": "application/x-amz-json-1.1",
|
|
22
|
-
"x-amz-target": "EC2WindowsBarleyService.CreateComponent",
|
|
23
|
-
};
|
|
17
|
+
const headers = sharedHeaders("CreateComponent");
|
|
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_CreateComponentCommand = se_CreateComponentCommand;
|
|
29
23
|
const se_CreateLogPatternCommand = async (input, context) => {
|
|
30
|
-
const headers =
|
|
31
|
-
"content-type": "application/x-amz-json-1.1",
|
|
32
|
-
"x-amz-target": "EC2WindowsBarleyService.CreateLogPattern",
|
|
33
|
-
};
|
|
24
|
+
const headers = sharedHeaders("CreateLogPattern");
|
|
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_CreateLogPatternCommand = se_CreateLogPatternCommand;
|
|
39
30
|
const se_DeleteApplicationCommand = async (input, context) => {
|
|
40
|
-
const headers =
|
|
41
|
-
"content-type": "application/x-amz-json-1.1",
|
|
42
|
-
"x-amz-target": "EC2WindowsBarleyService.DeleteApplication",
|
|
43
|
-
};
|
|
31
|
+
const headers = sharedHeaders("DeleteApplication");
|
|
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_DeleteApplicationCommand = se_DeleteApplicationCommand;
|
|
49
37
|
const se_DeleteComponentCommand = async (input, context) => {
|
|
50
|
-
const headers =
|
|
51
|
-
"content-type": "application/x-amz-json-1.1",
|
|
52
|
-
"x-amz-target": "EC2WindowsBarleyService.DeleteComponent",
|
|
53
|
-
};
|
|
38
|
+
const headers = sharedHeaders("DeleteComponent");
|
|
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_DeleteComponentCommand = se_DeleteComponentCommand;
|
|
59
44
|
const se_DeleteLogPatternCommand = async (input, context) => {
|
|
60
|
-
const headers =
|
|
61
|
-
"content-type": "application/x-amz-json-1.1",
|
|
62
|
-
"x-amz-target": "EC2WindowsBarleyService.DeleteLogPattern",
|
|
63
|
-
};
|
|
45
|
+
const headers = sharedHeaders("DeleteLogPattern");
|
|
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_DeleteLogPatternCommand = se_DeleteLogPatternCommand;
|
|
69
51
|
const se_DescribeApplicationCommand = async (input, context) => {
|
|
70
|
-
const headers =
|
|
71
|
-
"content-type": "application/x-amz-json-1.1",
|
|
72
|
-
"x-amz-target": "EC2WindowsBarleyService.DescribeApplication",
|
|
73
|
-
};
|
|
52
|
+
const headers = sharedHeaders("DescribeApplication");
|
|
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_DescribeApplicationCommand = se_DescribeApplicationCommand;
|
|
79
58
|
const se_DescribeComponentCommand = async (input, context) => {
|
|
80
|
-
const headers =
|
|
81
|
-
"content-type": "application/x-amz-json-1.1",
|
|
82
|
-
"x-amz-target": "EC2WindowsBarleyService.DescribeComponent",
|
|
83
|
-
};
|
|
59
|
+
const headers = sharedHeaders("DescribeComponent");
|
|
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_DescribeComponentCommand = se_DescribeComponentCommand;
|
|
89
65
|
const se_DescribeComponentConfigurationCommand = async (input, context) => {
|
|
90
|
-
const headers =
|
|
91
|
-
"content-type": "application/x-amz-json-1.1",
|
|
92
|
-
"x-amz-target": "EC2WindowsBarleyService.DescribeComponentConfiguration",
|
|
93
|
-
};
|
|
66
|
+
const headers = sharedHeaders("DescribeComponentConfiguration");
|
|
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_DescribeComponentConfigurationCommand = se_DescribeComponentConfigurationCommand;
|
|
99
72
|
const se_DescribeComponentConfigurationRecommendationCommand = async (input, context) => {
|
|
100
|
-
const headers =
|
|
101
|
-
"content-type": "application/x-amz-json-1.1",
|
|
102
|
-
"x-amz-target": "EC2WindowsBarleyService.DescribeComponentConfigurationRecommendation",
|
|
103
|
-
};
|
|
73
|
+
const headers = sharedHeaders("DescribeComponentConfigurationRecommendation");
|
|
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_DescribeComponentConfigurationRecommendationCommand = se_DescribeComponentConfigurationRecommendationCommand;
|
|
109
79
|
const se_DescribeLogPatternCommand = async (input, context) => {
|
|
110
|
-
const headers =
|
|
111
|
-
"content-type": "application/x-amz-json-1.1",
|
|
112
|
-
"x-amz-target": "EC2WindowsBarleyService.DescribeLogPattern",
|
|
113
|
-
};
|
|
80
|
+
const headers = sharedHeaders("DescribeLogPattern");
|
|
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_DescribeLogPatternCommand = se_DescribeLogPatternCommand;
|
|
119
86
|
const se_DescribeObservationCommand = async (input, context) => {
|
|
120
|
-
const headers =
|
|
121
|
-
"content-type": "application/x-amz-json-1.1",
|
|
122
|
-
"x-amz-target": "EC2WindowsBarleyService.DescribeObservation",
|
|
123
|
-
};
|
|
87
|
+
const headers = sharedHeaders("DescribeObservation");
|
|
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_DescribeObservationCommand = se_DescribeObservationCommand;
|
|
129
93
|
const se_DescribeProblemCommand = async (input, context) => {
|
|
130
|
-
const headers =
|
|
131
|
-
"content-type": "application/x-amz-json-1.1",
|
|
132
|
-
"x-amz-target": "EC2WindowsBarleyService.DescribeProblem",
|
|
133
|
-
};
|
|
94
|
+
const headers = sharedHeaders("DescribeProblem");
|
|
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_DescribeProblemCommand = se_DescribeProblemCommand;
|
|
139
100
|
const se_DescribeProblemObservationsCommand = async (input, context) => {
|
|
140
|
-
const headers =
|
|
141
|
-
"content-type": "application/x-amz-json-1.1",
|
|
142
|
-
"x-amz-target": "EC2WindowsBarleyService.DescribeProblemObservations",
|
|
143
|
-
};
|
|
101
|
+
const headers = sharedHeaders("DescribeProblemObservations");
|
|
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_DescribeProblemObservationsCommand = se_DescribeProblemObservationsCommand;
|
|
149
107
|
const se_ListApplicationsCommand = async (input, context) => {
|
|
150
|
-
const headers =
|
|
151
|
-
"content-type": "application/x-amz-json-1.1",
|
|
152
|
-
"x-amz-target": "EC2WindowsBarleyService.ListApplications",
|
|
153
|
-
};
|
|
108
|
+
const headers = sharedHeaders("ListApplications");
|
|
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_ListApplicationsCommand = se_ListApplicationsCommand;
|
|
159
114
|
const se_ListComponentsCommand = async (input, context) => {
|
|
160
|
-
const headers =
|
|
161
|
-
"content-type": "application/x-amz-json-1.1",
|
|
162
|
-
"x-amz-target": "EC2WindowsBarleyService.ListComponents",
|
|
163
|
-
};
|
|
115
|
+
const headers = sharedHeaders("ListComponents");
|
|
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_ListComponentsCommand = se_ListComponentsCommand;
|
|
169
121
|
const se_ListConfigurationHistoryCommand = async (input, context) => {
|
|
170
|
-
const headers =
|
|
171
|
-
"content-type": "application/x-amz-json-1.1",
|
|
172
|
-
"x-amz-target": "EC2WindowsBarleyService.ListConfigurationHistory",
|
|
173
|
-
};
|
|
122
|
+
const headers = sharedHeaders("ListConfigurationHistory");
|
|
174
123
|
let body;
|
|
175
124
|
body = JSON.stringify(se_ListConfigurationHistoryRequest(input, context));
|
|
176
125
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
177
126
|
};
|
|
178
127
|
exports.se_ListConfigurationHistoryCommand = se_ListConfigurationHistoryCommand;
|
|
179
128
|
const se_ListLogPatternsCommand = async (input, context) => {
|
|
180
|
-
const headers =
|
|
181
|
-
"content-type": "application/x-amz-json-1.1",
|
|
182
|
-
"x-amz-target": "EC2WindowsBarleyService.ListLogPatterns",
|
|
183
|
-
};
|
|
129
|
+
const headers = sharedHeaders("ListLogPatterns");
|
|
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_ListLogPatternsCommand = se_ListLogPatternsCommand;
|
|
189
135
|
const se_ListLogPatternSetsCommand = async (input, context) => {
|
|
190
|
-
const headers =
|
|
191
|
-
"content-type": "application/x-amz-json-1.1",
|
|
192
|
-
"x-amz-target": "EC2WindowsBarleyService.ListLogPatternSets",
|
|
193
|
-
};
|
|
136
|
+
const headers = sharedHeaders("ListLogPatternSets");
|
|
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_ListLogPatternSetsCommand = se_ListLogPatternSetsCommand;
|
|
199
142
|
const se_ListProblemsCommand = async (input, context) => {
|
|
200
|
-
const headers =
|
|
201
|
-
"content-type": "application/x-amz-json-1.1",
|
|
202
|
-
"x-amz-target": "EC2WindowsBarleyService.ListProblems",
|
|
203
|
-
};
|
|
143
|
+
const headers = sharedHeaders("ListProblems");
|
|
204
144
|
let body;
|
|
205
145
|
body = JSON.stringify(se_ListProblemsRequest(input, context));
|
|
206
146
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
207
147
|
};
|
|
208
148
|
exports.se_ListProblemsCommand = se_ListProblemsCommand;
|
|
209
149
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
210
|
-
const headers =
|
|
211
|
-
"content-type": "application/x-amz-json-1.1",
|
|
212
|
-
"x-amz-target": "EC2WindowsBarleyService.ListTagsForResource",
|
|
213
|
-
};
|
|
150
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
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_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
219
156
|
const se_TagResourceCommand = async (input, context) => {
|
|
220
|
-
const headers =
|
|
221
|
-
"content-type": "application/x-amz-json-1.1",
|
|
222
|
-
"x-amz-target": "EC2WindowsBarleyService.TagResource",
|
|
223
|
-
};
|
|
157
|
+
const headers = sharedHeaders("TagResource");
|
|
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_TagResourceCommand = se_TagResourceCommand;
|
|
229
163
|
const se_UntagResourceCommand = async (input, context) => {
|
|
230
|
-
const headers =
|
|
231
|
-
"content-type": "application/x-amz-json-1.1",
|
|
232
|
-
"x-amz-target": "EC2WindowsBarleyService.UntagResource",
|
|
233
|
-
};
|
|
164
|
+
const headers = sharedHeaders("UntagResource");
|
|
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_UntagResourceCommand = se_UntagResourceCommand;
|
|
239
170
|
const se_UpdateApplicationCommand = async (input, context) => {
|
|
240
|
-
const headers =
|
|
241
|
-
"content-type": "application/x-amz-json-1.1",
|
|
242
|
-
"x-amz-target": "EC2WindowsBarleyService.UpdateApplication",
|
|
243
|
-
};
|
|
171
|
+
const headers = sharedHeaders("UpdateApplication");
|
|
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_UpdateApplicationCommand = se_UpdateApplicationCommand;
|
|
249
177
|
const se_UpdateComponentCommand = async (input, context) => {
|
|
250
|
-
const headers =
|
|
251
|
-
"content-type": "application/x-amz-json-1.1",
|
|
252
|
-
"x-amz-target": "EC2WindowsBarleyService.UpdateComponent",
|
|
253
|
-
};
|
|
178
|
+
const headers = sharedHeaders("UpdateComponent");
|
|
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_UpdateComponentCommand = se_UpdateComponentCommand;
|
|
259
184
|
const se_UpdateComponentConfigurationCommand = async (input, context) => {
|
|
260
|
-
const headers =
|
|
261
|
-
"content-type": "application/x-amz-json-1.1",
|
|
262
|
-
"x-amz-target": "EC2WindowsBarleyService.UpdateComponentConfiguration",
|
|
263
|
-
};
|
|
185
|
+
const headers = sharedHeaders("UpdateComponentConfiguration");
|
|
264
186
|
let body;
|
|
265
|
-
body = JSON.stringify(
|
|
187
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
266
188
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
267
189
|
};
|
|
268
190
|
exports.se_UpdateComponentConfigurationCommand = se_UpdateComponentConfigurationCommand;
|
|
269
191
|
const se_UpdateLogPatternCommand = async (input, context) => {
|
|
270
|
-
const headers =
|
|
271
|
-
"content-type": "application/x-amz-json-1.1",
|
|
272
|
-
"x-amz-target": "EC2WindowsBarleyService.UpdateLogPattern",
|
|
273
|
-
};
|
|
192
|
+
const headers = sharedHeaders("UpdateLogPattern");
|
|
274
193
|
let body;
|
|
275
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
276
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
277
196
|
};
|
|
278
197
|
exports.se_UpdateLogPatternCommand = se_UpdateLogPatternCommand;
|
|
@@ -282,12 +201,12 @@ const de_CreateApplicationCommand = async (output, context) => {
|
|
|
282
201
|
}
|
|
283
202
|
const data = await parseBody(output.body, context);
|
|
284
203
|
let contents = {};
|
|
285
|
-
contents =
|
|
204
|
+
contents = (0, smithy_client_1._json)(data);
|
|
286
205
|
const response = {
|
|
287
206
|
$metadata: deserializeMetadata(output),
|
|
288
207
|
...contents,
|
|
289
208
|
};
|
|
290
|
-
return
|
|
209
|
+
return response;
|
|
291
210
|
};
|
|
292
211
|
exports.de_CreateApplicationCommand = de_CreateApplicationCommand;
|
|
293
212
|
const de_CreateApplicationCommandError = async (output, context) => {
|
|
@@ -317,10 +236,9 @@ const de_CreateApplicationCommandError = async (output, context) => {
|
|
|
317
236
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
318
237
|
default:
|
|
319
238
|
const parsedBody = parsedOutput.body;
|
|
320
|
-
|
|
239
|
+
return throwDefaultError({
|
|
321
240
|
output,
|
|
322
241
|
parsedBody,
|
|
323
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
324
242
|
errorCode,
|
|
325
243
|
});
|
|
326
244
|
}
|
|
@@ -331,12 +249,12 @@ const de_CreateComponentCommand = async (output, context) => {
|
|
|
331
249
|
}
|
|
332
250
|
const data = await parseBody(output.body, context);
|
|
333
251
|
let contents = {};
|
|
334
|
-
contents =
|
|
252
|
+
contents = (0, smithy_client_1._json)(data);
|
|
335
253
|
const response = {
|
|
336
254
|
$metadata: deserializeMetadata(output),
|
|
337
255
|
...contents,
|
|
338
256
|
};
|
|
339
|
-
return
|
|
257
|
+
return response;
|
|
340
258
|
};
|
|
341
259
|
exports.de_CreateComponentCommand = de_CreateComponentCommand;
|
|
342
260
|
const de_CreateComponentCommandError = async (output, context) => {
|
|
@@ -360,10 +278,9 @@ const de_CreateComponentCommandError = async (output, context) => {
|
|
|
360
278
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
361
279
|
default:
|
|
362
280
|
const parsedBody = parsedOutput.body;
|
|
363
|
-
|
|
281
|
+
return throwDefaultError({
|
|
364
282
|
output,
|
|
365
283
|
parsedBody,
|
|
366
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
367
284
|
errorCode,
|
|
368
285
|
});
|
|
369
286
|
}
|
|
@@ -374,12 +291,12 @@ const de_CreateLogPatternCommand = async (output, context) => {
|
|
|
374
291
|
}
|
|
375
292
|
const data = await parseBody(output.body, context);
|
|
376
293
|
let contents = {};
|
|
377
|
-
contents =
|
|
294
|
+
contents = (0, smithy_client_1._json)(data);
|
|
378
295
|
const response = {
|
|
379
296
|
$metadata: deserializeMetadata(output),
|
|
380
297
|
...contents,
|
|
381
298
|
};
|
|
382
|
-
return
|
|
299
|
+
return response;
|
|
383
300
|
};
|
|
384
301
|
exports.de_CreateLogPatternCommand = de_CreateLogPatternCommand;
|
|
385
302
|
const de_CreateLogPatternCommandError = async (output, context) => {
|
|
@@ -403,10 +320,9 @@ const de_CreateLogPatternCommandError = async (output, context) => {
|
|
|
403
320
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
404
321
|
default:
|
|
405
322
|
const parsedBody = parsedOutput.body;
|
|
406
|
-
|
|
323
|
+
return throwDefaultError({
|
|
407
324
|
output,
|
|
408
325
|
parsedBody,
|
|
409
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
410
326
|
errorCode,
|
|
411
327
|
});
|
|
412
328
|
}
|
|
@@ -417,12 +333,12 @@ const de_DeleteApplicationCommand = async (output, context) => {
|
|
|
417
333
|
}
|
|
418
334
|
const data = await parseBody(output.body, context);
|
|
419
335
|
let contents = {};
|
|
420
|
-
contents =
|
|
336
|
+
contents = (0, smithy_client_1._json)(data);
|
|
421
337
|
const response = {
|
|
422
338
|
$metadata: deserializeMetadata(output),
|
|
423
339
|
...contents,
|
|
424
340
|
};
|
|
425
|
-
return
|
|
341
|
+
return response;
|
|
426
342
|
};
|
|
427
343
|
exports.de_DeleteApplicationCommand = de_DeleteApplicationCommand;
|
|
428
344
|
const de_DeleteApplicationCommandError = async (output, context) => {
|
|
@@ -446,10 +362,9 @@ const de_DeleteApplicationCommandError = async (output, context) => {
|
|
|
446
362
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
447
363
|
default:
|
|
448
364
|
const parsedBody = parsedOutput.body;
|
|
449
|
-
|
|
365
|
+
return throwDefaultError({
|
|
450
366
|
output,
|
|
451
367
|
parsedBody,
|
|
452
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
453
368
|
errorCode,
|
|
454
369
|
});
|
|
455
370
|
}
|
|
@@ -460,12 +375,12 @@ const de_DeleteComponentCommand = async (output, context) => {
|
|
|
460
375
|
}
|
|
461
376
|
const data = await parseBody(output.body, context);
|
|
462
377
|
let contents = {};
|
|
463
|
-
contents =
|
|
378
|
+
contents = (0, smithy_client_1._json)(data);
|
|
464
379
|
const response = {
|
|
465
380
|
$metadata: deserializeMetadata(output),
|
|
466
381
|
...contents,
|
|
467
382
|
};
|
|
468
|
-
return
|
|
383
|
+
return response;
|
|
469
384
|
};
|
|
470
385
|
exports.de_DeleteComponentCommand = de_DeleteComponentCommand;
|
|
471
386
|
const de_DeleteComponentCommandError = async (output, context) => {
|
|
@@ -486,10 +401,9 @@ const de_DeleteComponentCommandError = async (output, context) => {
|
|
|
486
401
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
487
402
|
default:
|
|
488
403
|
const parsedBody = parsedOutput.body;
|
|
489
|
-
|
|
404
|
+
return throwDefaultError({
|
|
490
405
|
output,
|
|
491
406
|
parsedBody,
|
|
492
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
493
407
|
errorCode,
|
|
494
408
|
});
|
|
495
409
|
}
|
|
@@ -500,12 +414,12 @@ const de_DeleteLogPatternCommand = async (output, context) => {
|
|
|
500
414
|
}
|
|
501
415
|
const data = await parseBody(output.body, context);
|
|
502
416
|
let contents = {};
|
|
503
|
-
contents =
|
|
417
|
+
contents = (0, smithy_client_1._json)(data);
|
|
504
418
|
const response = {
|
|
505
419
|
$metadata: deserializeMetadata(output),
|
|
506
420
|
...contents,
|
|
507
421
|
};
|
|
508
|
-
return
|
|
422
|
+
return response;
|
|
509
423
|
};
|
|
510
424
|
exports.de_DeleteLogPatternCommand = de_DeleteLogPatternCommand;
|
|
511
425
|
const de_DeleteLogPatternCommandError = async (output, context) => {
|
|
@@ -529,10 +443,9 @@ const de_DeleteLogPatternCommandError = async (output, context) => {
|
|
|
529
443
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
530
444
|
default:
|
|
531
445
|
const parsedBody = parsedOutput.body;
|
|
532
|
-
|
|
446
|
+
return throwDefaultError({
|
|
533
447
|
output,
|
|
534
448
|
parsedBody,
|
|
535
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
536
449
|
errorCode,
|
|
537
450
|
});
|
|
538
451
|
}
|
|
@@ -543,12 +456,12 @@ const de_DescribeApplicationCommand = async (output, context) => {
|
|
|
543
456
|
}
|
|
544
457
|
const data = await parseBody(output.body, context);
|
|
545
458
|
let contents = {};
|
|
546
|
-
contents =
|
|
459
|
+
contents = (0, smithy_client_1._json)(data);
|
|
547
460
|
const response = {
|
|
548
461
|
$metadata: deserializeMetadata(output),
|
|
549
462
|
...contents,
|
|
550
463
|
};
|
|
551
|
-
return
|
|
464
|
+
return response;
|
|
552
465
|
};
|
|
553
466
|
exports.de_DescribeApplicationCommand = de_DescribeApplicationCommand;
|
|
554
467
|
const de_DescribeApplicationCommandError = async (output, context) => {
|
|
@@ -569,10 +482,9 @@ const de_DescribeApplicationCommandError = async (output, context) => {
|
|
|
569
482
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
570
483
|
default:
|
|
571
484
|
const parsedBody = parsedOutput.body;
|
|
572
|
-
|
|
485
|
+
return throwDefaultError({
|
|
573
486
|
output,
|
|
574
487
|
parsedBody,
|
|
575
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
576
488
|
errorCode,
|
|
577
489
|
});
|
|
578
490
|
}
|
|
@@ -583,12 +495,12 @@ const de_DescribeComponentCommand = async (output, context) => {
|
|
|
583
495
|
}
|
|
584
496
|
const data = await parseBody(output.body, context);
|
|
585
497
|
let contents = {};
|
|
586
|
-
contents =
|
|
498
|
+
contents = (0, smithy_client_1._json)(data);
|
|
587
499
|
const response = {
|
|
588
500
|
$metadata: deserializeMetadata(output),
|
|
589
501
|
...contents,
|
|
590
502
|
};
|
|
591
|
-
return
|
|
503
|
+
return response;
|
|
592
504
|
};
|
|
593
505
|
exports.de_DescribeComponentCommand = de_DescribeComponentCommand;
|
|
594
506
|
const de_DescribeComponentCommandError = async (output, context) => {
|
|
@@ -609,10 +521,9 @@ const de_DescribeComponentCommandError = async (output, context) => {
|
|
|
609
521
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
610
522
|
default:
|
|
611
523
|
const parsedBody = parsedOutput.body;
|
|
612
|
-
|
|
524
|
+
return throwDefaultError({
|
|
613
525
|
output,
|
|
614
526
|
parsedBody,
|
|
615
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
616
527
|
errorCode,
|
|
617
528
|
});
|
|
618
529
|
}
|
|
@@ -623,12 +534,12 @@ const de_DescribeComponentConfigurationCommand = async (output, context) => {
|
|
|
623
534
|
}
|
|
624
535
|
const data = await parseBody(output.body, context);
|
|
625
536
|
let contents = {};
|
|
626
|
-
contents =
|
|
537
|
+
contents = (0, smithy_client_1._json)(data);
|
|
627
538
|
const response = {
|
|
628
539
|
$metadata: deserializeMetadata(output),
|
|
629
540
|
...contents,
|
|
630
541
|
};
|
|
631
|
-
return
|
|
542
|
+
return response;
|
|
632
543
|
};
|
|
633
544
|
exports.de_DescribeComponentConfigurationCommand = de_DescribeComponentConfigurationCommand;
|
|
634
545
|
const de_DescribeComponentConfigurationCommandError = async (output, context) => {
|
|
@@ -649,10 +560,9 @@ const de_DescribeComponentConfigurationCommandError = async (output, context) =>
|
|
|
649
560
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
650
561
|
default:
|
|
651
562
|
const parsedBody = parsedOutput.body;
|
|
652
|
-
|
|
563
|
+
return throwDefaultError({
|
|
653
564
|
output,
|
|
654
565
|
parsedBody,
|
|
655
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
656
566
|
errorCode,
|
|
657
567
|
});
|
|
658
568
|
}
|
|
@@ -663,12 +573,12 @@ const de_DescribeComponentConfigurationRecommendationCommand = async (output, co
|
|
|
663
573
|
}
|
|
664
574
|
const data = await parseBody(output.body, context);
|
|
665
575
|
let contents = {};
|
|
666
|
-
contents =
|
|
576
|
+
contents = (0, smithy_client_1._json)(data);
|
|
667
577
|
const response = {
|
|
668
578
|
$metadata: deserializeMetadata(output),
|
|
669
579
|
...contents,
|
|
670
580
|
};
|
|
671
|
-
return
|
|
581
|
+
return response;
|
|
672
582
|
};
|
|
673
583
|
exports.de_DescribeComponentConfigurationRecommendationCommand = de_DescribeComponentConfigurationRecommendationCommand;
|
|
674
584
|
const de_DescribeComponentConfigurationRecommendationCommandError = async (output, context) => {
|
|
@@ -689,10 +599,9 @@ const de_DescribeComponentConfigurationRecommendationCommandError = async (outpu
|
|
|
689
599
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
690
600
|
default:
|
|
691
601
|
const parsedBody = parsedOutput.body;
|
|
692
|
-
|
|
602
|
+
return throwDefaultError({
|
|
693
603
|
output,
|
|
694
604
|
parsedBody,
|
|
695
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
696
605
|
errorCode,
|
|
697
606
|
});
|
|
698
607
|
}
|
|
@@ -703,12 +612,12 @@ const de_DescribeLogPatternCommand = async (output, context) => {
|
|
|
703
612
|
}
|
|
704
613
|
const data = await parseBody(output.body, context);
|
|
705
614
|
let contents = {};
|
|
706
|
-
contents =
|
|
615
|
+
contents = (0, smithy_client_1._json)(data);
|
|
707
616
|
const response = {
|
|
708
617
|
$metadata: deserializeMetadata(output),
|
|
709
618
|
...contents,
|
|
710
619
|
};
|
|
711
|
-
return
|
|
620
|
+
return response;
|
|
712
621
|
};
|
|
713
622
|
exports.de_DescribeLogPatternCommand = de_DescribeLogPatternCommand;
|
|
714
623
|
const de_DescribeLogPatternCommandError = async (output, context) => {
|
|
@@ -729,10 +638,9 @@ const de_DescribeLogPatternCommandError = async (output, context) => {
|
|
|
729
638
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
730
639
|
default:
|
|
731
640
|
const parsedBody = parsedOutput.body;
|
|
732
|
-
|
|
641
|
+
return throwDefaultError({
|
|
733
642
|
output,
|
|
734
643
|
parsedBody,
|
|
735
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
736
644
|
errorCode,
|
|
737
645
|
});
|
|
738
646
|
}
|
|
@@ -748,7 +656,7 @@ const de_DescribeObservationCommand = async (output, context) => {
|
|
|
748
656
|
$metadata: deserializeMetadata(output),
|
|
749
657
|
...contents,
|
|
750
658
|
};
|
|
751
|
-
return
|
|
659
|
+
return response;
|
|
752
660
|
};
|
|
753
661
|
exports.de_DescribeObservationCommand = de_DescribeObservationCommand;
|
|
754
662
|
const de_DescribeObservationCommandError = async (output, context) => {
|
|
@@ -769,10 +677,9 @@ const de_DescribeObservationCommandError = async (output, context) => {
|
|
|
769
677
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
770
678
|
default:
|
|
771
679
|
const parsedBody = parsedOutput.body;
|
|
772
|
-
|
|
680
|
+
return throwDefaultError({
|
|
773
681
|
output,
|
|
774
682
|
parsedBody,
|
|
775
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
776
683
|
errorCode,
|
|
777
684
|
});
|
|
778
685
|
}
|
|
@@ -788,7 +695,7 @@ const de_DescribeProblemCommand = async (output, context) => {
|
|
|
788
695
|
$metadata: deserializeMetadata(output),
|
|
789
696
|
...contents,
|
|
790
697
|
};
|
|
791
|
-
return
|
|
698
|
+
return response;
|
|
792
699
|
};
|
|
793
700
|
exports.de_DescribeProblemCommand = de_DescribeProblemCommand;
|
|
794
701
|
const de_DescribeProblemCommandError = async (output, context) => {
|
|
@@ -809,10 +716,9 @@ const de_DescribeProblemCommandError = async (output, context) => {
|
|
|
809
716
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
810
717
|
default:
|
|
811
718
|
const parsedBody = parsedOutput.body;
|
|
812
|
-
|
|
719
|
+
return throwDefaultError({
|
|
813
720
|
output,
|
|
814
721
|
parsedBody,
|
|
815
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
816
722
|
errorCode,
|
|
817
723
|
});
|
|
818
724
|
}
|
|
@@ -828,7 +734,7 @@ const de_DescribeProblemObservationsCommand = async (output, context) => {
|
|
|
828
734
|
$metadata: deserializeMetadata(output),
|
|
829
735
|
...contents,
|
|
830
736
|
};
|
|
831
|
-
return
|
|
737
|
+
return response;
|
|
832
738
|
};
|
|
833
739
|
exports.de_DescribeProblemObservationsCommand = de_DescribeProblemObservationsCommand;
|
|
834
740
|
const de_DescribeProblemObservationsCommandError = async (output, context) => {
|
|
@@ -849,10 +755,9 @@ const de_DescribeProblemObservationsCommandError = async (output, context) => {
|
|
|
849
755
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
850
756
|
default:
|
|
851
757
|
const parsedBody = parsedOutput.body;
|
|
852
|
-
|
|
758
|
+
return throwDefaultError({
|
|
853
759
|
output,
|
|
854
760
|
parsedBody,
|
|
855
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
856
761
|
errorCode,
|
|
857
762
|
});
|
|
858
763
|
}
|
|
@@ -863,12 +768,12 @@ const de_ListApplicationsCommand = async (output, context) => {
|
|
|
863
768
|
}
|
|
864
769
|
const data = await parseBody(output.body, context);
|
|
865
770
|
let contents = {};
|
|
866
|
-
contents =
|
|
771
|
+
contents = (0, smithy_client_1._json)(data);
|
|
867
772
|
const response = {
|
|
868
773
|
$metadata: deserializeMetadata(output),
|
|
869
774
|
...contents,
|
|
870
775
|
};
|
|
871
|
-
return
|
|
776
|
+
return response;
|
|
872
777
|
};
|
|
873
778
|
exports.de_ListApplicationsCommand = de_ListApplicationsCommand;
|
|
874
779
|
const de_ListApplicationsCommandError = async (output, context) => {
|
|
@@ -886,10 +791,9 @@ const de_ListApplicationsCommandError = async (output, context) => {
|
|
|
886
791
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
887
792
|
default:
|
|
888
793
|
const parsedBody = parsedOutput.body;
|
|
889
|
-
|
|
794
|
+
return throwDefaultError({
|
|
890
795
|
output,
|
|
891
796
|
parsedBody,
|
|
892
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
893
797
|
errorCode,
|
|
894
798
|
});
|
|
895
799
|
}
|
|
@@ -900,12 +804,12 @@ const de_ListComponentsCommand = async (output, context) => {
|
|
|
900
804
|
}
|
|
901
805
|
const data = await parseBody(output.body, context);
|
|
902
806
|
let contents = {};
|
|
903
|
-
contents =
|
|
807
|
+
contents = (0, smithy_client_1._json)(data);
|
|
904
808
|
const response = {
|
|
905
809
|
$metadata: deserializeMetadata(output),
|
|
906
810
|
...contents,
|
|
907
811
|
};
|
|
908
|
-
return
|
|
812
|
+
return response;
|
|
909
813
|
};
|
|
910
814
|
exports.de_ListComponentsCommand = de_ListComponentsCommand;
|
|
911
815
|
const de_ListComponentsCommandError = async (output, context) => {
|
|
@@ -926,10 +830,9 @@ const de_ListComponentsCommandError = async (output, context) => {
|
|
|
926
830
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
927
831
|
default:
|
|
928
832
|
const parsedBody = parsedOutput.body;
|
|
929
|
-
|
|
833
|
+
return throwDefaultError({
|
|
930
834
|
output,
|
|
931
835
|
parsedBody,
|
|
932
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
933
836
|
errorCode,
|
|
934
837
|
});
|
|
935
838
|
}
|
|
@@ -945,7 +848,7 @@ const de_ListConfigurationHistoryCommand = async (output, context) => {
|
|
|
945
848
|
$metadata: deserializeMetadata(output),
|
|
946
849
|
...contents,
|
|
947
850
|
};
|
|
948
|
-
return
|
|
851
|
+
return response;
|
|
949
852
|
};
|
|
950
853
|
exports.de_ListConfigurationHistoryCommand = de_ListConfigurationHistoryCommand;
|
|
951
854
|
const de_ListConfigurationHistoryCommandError = async (output, context) => {
|
|
@@ -966,10 +869,9 @@ const de_ListConfigurationHistoryCommandError = async (output, context) => {
|
|
|
966
869
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
967
870
|
default:
|
|
968
871
|
const parsedBody = parsedOutput.body;
|
|
969
|
-
|
|
872
|
+
return throwDefaultError({
|
|
970
873
|
output,
|
|
971
874
|
parsedBody,
|
|
972
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
973
875
|
errorCode,
|
|
974
876
|
});
|
|
975
877
|
}
|
|
@@ -980,12 +882,12 @@ const de_ListLogPatternsCommand = async (output, context) => {
|
|
|
980
882
|
}
|
|
981
883
|
const data = await parseBody(output.body, context);
|
|
982
884
|
let contents = {};
|
|
983
|
-
contents =
|
|
885
|
+
contents = (0, smithy_client_1._json)(data);
|
|
984
886
|
const response = {
|
|
985
887
|
$metadata: deserializeMetadata(output),
|
|
986
888
|
...contents,
|
|
987
889
|
};
|
|
988
|
-
return
|
|
890
|
+
return response;
|
|
989
891
|
};
|
|
990
892
|
exports.de_ListLogPatternsCommand = de_ListLogPatternsCommand;
|
|
991
893
|
const de_ListLogPatternsCommandError = async (output, context) => {
|
|
@@ -1006,10 +908,9 @@ const de_ListLogPatternsCommandError = async (output, context) => {
|
|
|
1006
908
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1007
909
|
default:
|
|
1008
910
|
const parsedBody = parsedOutput.body;
|
|
1009
|
-
|
|
911
|
+
return throwDefaultError({
|
|
1010
912
|
output,
|
|
1011
913
|
parsedBody,
|
|
1012
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
1013
914
|
errorCode,
|
|
1014
915
|
});
|
|
1015
916
|
}
|
|
@@ -1020,12 +921,12 @@ const de_ListLogPatternSetsCommand = async (output, context) => {
|
|
|
1020
921
|
}
|
|
1021
922
|
const data = await parseBody(output.body, context);
|
|
1022
923
|
let contents = {};
|
|
1023
|
-
contents =
|
|
924
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1024
925
|
const response = {
|
|
1025
926
|
$metadata: deserializeMetadata(output),
|
|
1026
927
|
...contents,
|
|
1027
928
|
};
|
|
1028
|
-
return
|
|
929
|
+
return response;
|
|
1029
930
|
};
|
|
1030
931
|
exports.de_ListLogPatternSetsCommand = de_ListLogPatternSetsCommand;
|
|
1031
932
|
const de_ListLogPatternSetsCommandError = async (output, context) => {
|
|
@@ -1046,10 +947,9 @@ const de_ListLogPatternSetsCommandError = async (output, context) => {
|
|
|
1046
947
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1047
948
|
default:
|
|
1048
949
|
const parsedBody = parsedOutput.body;
|
|
1049
|
-
|
|
950
|
+
return throwDefaultError({
|
|
1050
951
|
output,
|
|
1051
952
|
parsedBody,
|
|
1052
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
1053
953
|
errorCode,
|
|
1054
954
|
});
|
|
1055
955
|
}
|
|
@@ -1065,7 +965,7 @@ const de_ListProblemsCommand = async (output, context) => {
|
|
|
1065
965
|
$metadata: deserializeMetadata(output),
|
|
1066
966
|
...contents,
|
|
1067
967
|
};
|
|
1068
|
-
return
|
|
968
|
+
return response;
|
|
1069
969
|
};
|
|
1070
970
|
exports.de_ListProblemsCommand = de_ListProblemsCommand;
|
|
1071
971
|
const de_ListProblemsCommandError = async (output, context) => {
|
|
@@ -1086,10 +986,9 @@ const de_ListProblemsCommandError = async (output, context) => {
|
|
|
1086
986
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1087
987
|
default:
|
|
1088
988
|
const parsedBody = parsedOutput.body;
|
|
1089
|
-
|
|
989
|
+
return throwDefaultError({
|
|
1090
990
|
output,
|
|
1091
991
|
parsedBody,
|
|
1092
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
1093
992
|
errorCode,
|
|
1094
993
|
});
|
|
1095
994
|
}
|
|
@@ -1100,12 +999,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1100
999
|
}
|
|
1101
1000
|
const data = await parseBody(output.body, context);
|
|
1102
1001
|
let contents = {};
|
|
1103
|
-
contents =
|
|
1002
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1104
1003
|
const response = {
|
|
1105
1004
|
$metadata: deserializeMetadata(output),
|
|
1106
1005
|
...contents,
|
|
1107
1006
|
};
|
|
1108
|
-
return
|
|
1007
|
+
return response;
|
|
1109
1008
|
};
|
|
1110
1009
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
1111
1010
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -1123,10 +1022,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1123
1022
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1124
1023
|
default:
|
|
1125
1024
|
const parsedBody = parsedOutput.body;
|
|
1126
|
-
|
|
1025
|
+
return throwDefaultError({
|
|
1127
1026
|
output,
|
|
1128
1027
|
parsedBody,
|
|
1129
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
1130
1028
|
errorCode,
|
|
1131
1029
|
});
|
|
1132
1030
|
}
|
|
@@ -1137,12 +1035,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
1137
1035
|
}
|
|
1138
1036
|
const data = await parseBody(output.body, context);
|
|
1139
1037
|
let contents = {};
|
|
1140
|
-
contents =
|
|
1038
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1141
1039
|
const response = {
|
|
1142
1040
|
$metadata: deserializeMetadata(output),
|
|
1143
1041
|
...contents,
|
|
1144
1042
|
};
|
|
1145
|
-
return
|
|
1043
|
+
return response;
|
|
1146
1044
|
};
|
|
1147
1045
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
1148
1046
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -1163,10 +1061,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1163
1061
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1164
1062
|
default:
|
|
1165
1063
|
const parsedBody = parsedOutput.body;
|
|
1166
|
-
|
|
1064
|
+
return throwDefaultError({
|
|
1167
1065
|
output,
|
|
1168
1066
|
parsedBody,
|
|
1169
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
1170
1067
|
errorCode,
|
|
1171
1068
|
});
|
|
1172
1069
|
}
|
|
@@ -1177,12 +1074,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
1177
1074
|
}
|
|
1178
1075
|
const data = await parseBody(output.body, context);
|
|
1179
1076
|
let contents = {};
|
|
1180
|
-
contents =
|
|
1077
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1181
1078
|
const response = {
|
|
1182
1079
|
$metadata: deserializeMetadata(output),
|
|
1183
1080
|
...contents,
|
|
1184
1081
|
};
|
|
1185
|
-
return
|
|
1082
|
+
return response;
|
|
1186
1083
|
};
|
|
1187
1084
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
1188
1085
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -1200,10 +1097,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1200
1097
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1201
1098
|
default:
|
|
1202
1099
|
const parsedBody = parsedOutput.body;
|
|
1203
|
-
|
|
1100
|
+
return throwDefaultError({
|
|
1204
1101
|
output,
|
|
1205
1102
|
parsedBody,
|
|
1206
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
1207
1103
|
errorCode,
|
|
1208
1104
|
});
|
|
1209
1105
|
}
|
|
@@ -1214,12 +1110,12 @@ const de_UpdateApplicationCommand = async (output, context) => {
|
|
|
1214
1110
|
}
|
|
1215
1111
|
const data = await parseBody(output.body, context);
|
|
1216
1112
|
let contents = {};
|
|
1217
|
-
contents =
|
|
1113
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1218
1114
|
const response = {
|
|
1219
1115
|
$metadata: deserializeMetadata(output),
|
|
1220
1116
|
...contents,
|
|
1221
1117
|
};
|
|
1222
|
-
return
|
|
1118
|
+
return response;
|
|
1223
1119
|
};
|
|
1224
1120
|
exports.de_UpdateApplicationCommand = de_UpdateApplicationCommand;
|
|
1225
1121
|
const de_UpdateApplicationCommandError = async (output, context) => {
|
|
@@ -1240,10 +1136,9 @@ const de_UpdateApplicationCommandError = async (output, context) => {
|
|
|
1240
1136
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1241
1137
|
default:
|
|
1242
1138
|
const parsedBody = parsedOutput.body;
|
|
1243
|
-
|
|
1139
|
+
return throwDefaultError({
|
|
1244
1140
|
output,
|
|
1245
1141
|
parsedBody,
|
|
1246
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
1247
1142
|
errorCode,
|
|
1248
1143
|
});
|
|
1249
1144
|
}
|
|
@@ -1254,12 +1149,12 @@ const de_UpdateComponentCommand = async (output, context) => {
|
|
|
1254
1149
|
}
|
|
1255
1150
|
const data = await parseBody(output.body, context);
|
|
1256
1151
|
let contents = {};
|
|
1257
|
-
contents =
|
|
1152
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1258
1153
|
const response = {
|
|
1259
1154
|
$metadata: deserializeMetadata(output),
|
|
1260
1155
|
...contents,
|
|
1261
1156
|
};
|
|
1262
|
-
return
|
|
1157
|
+
return response;
|
|
1263
1158
|
};
|
|
1264
1159
|
exports.de_UpdateComponentCommand = de_UpdateComponentCommand;
|
|
1265
1160
|
const de_UpdateComponentCommandError = async (output, context) => {
|
|
@@ -1283,10 +1178,9 @@ const de_UpdateComponentCommandError = async (output, context) => {
|
|
|
1283
1178
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1284
1179
|
default:
|
|
1285
1180
|
const parsedBody = parsedOutput.body;
|
|
1286
|
-
|
|
1181
|
+
return throwDefaultError({
|
|
1287
1182
|
output,
|
|
1288
1183
|
parsedBody,
|
|
1289
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
1290
1184
|
errorCode,
|
|
1291
1185
|
});
|
|
1292
1186
|
}
|
|
@@ -1297,12 +1191,12 @@ const de_UpdateComponentConfigurationCommand = async (output, context) => {
|
|
|
1297
1191
|
}
|
|
1298
1192
|
const data = await parseBody(output.body, context);
|
|
1299
1193
|
let contents = {};
|
|
1300
|
-
contents =
|
|
1194
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1301
1195
|
const response = {
|
|
1302
1196
|
$metadata: deserializeMetadata(output),
|
|
1303
1197
|
...contents,
|
|
1304
1198
|
};
|
|
1305
|
-
return
|
|
1199
|
+
return response;
|
|
1306
1200
|
};
|
|
1307
1201
|
exports.de_UpdateComponentConfigurationCommand = de_UpdateComponentConfigurationCommand;
|
|
1308
1202
|
const de_UpdateComponentConfigurationCommandError = async (output, context) => {
|
|
@@ -1323,10 +1217,9 @@ const de_UpdateComponentConfigurationCommandError = async (output, context) => {
|
|
|
1323
1217
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1324
1218
|
default:
|
|
1325
1219
|
const parsedBody = parsedOutput.body;
|
|
1326
|
-
|
|
1220
|
+
return throwDefaultError({
|
|
1327
1221
|
output,
|
|
1328
1222
|
parsedBody,
|
|
1329
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
1330
1223
|
errorCode,
|
|
1331
1224
|
});
|
|
1332
1225
|
}
|
|
@@ -1337,12 +1230,12 @@ const de_UpdateLogPatternCommand = async (output, context) => {
|
|
|
1337
1230
|
}
|
|
1338
1231
|
const data = await parseBody(output.body, context);
|
|
1339
1232
|
let contents = {};
|
|
1340
|
-
contents =
|
|
1233
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1341
1234
|
const response = {
|
|
1342
1235
|
$metadata: deserializeMetadata(output),
|
|
1343
1236
|
...contents,
|
|
1344
1237
|
};
|
|
1345
|
-
return
|
|
1238
|
+
return response;
|
|
1346
1239
|
};
|
|
1347
1240
|
exports.de_UpdateLogPatternCommand = de_UpdateLogPatternCommand;
|
|
1348
1241
|
const de_UpdateLogPatternCommandError = async (output, context) => {
|
|
@@ -1366,17 +1259,16 @@ const de_UpdateLogPatternCommandError = async (output, context) => {
|
|
|
1366
1259
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1367
1260
|
default:
|
|
1368
1261
|
const parsedBody = parsedOutput.body;
|
|
1369
|
-
|
|
1262
|
+
return throwDefaultError({
|
|
1370
1263
|
output,
|
|
1371
1264
|
parsedBody,
|
|
1372
|
-
exceptionCtor: ApplicationInsightsServiceException_1.ApplicationInsightsServiceException,
|
|
1373
1265
|
errorCode,
|
|
1374
1266
|
});
|
|
1375
1267
|
}
|
|
1376
1268
|
};
|
|
1377
1269
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1378
1270
|
const body = parsedOutput.body;
|
|
1379
|
-
const deserialized =
|
|
1271
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1380
1272
|
const exception = new models_0_1.AccessDeniedException({
|
|
1381
1273
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1382
1274
|
...deserialized,
|
|
@@ -1385,7 +1277,7 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
1385
1277
|
};
|
|
1386
1278
|
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
1387
1279
|
const body = parsedOutput.body;
|
|
1388
|
-
const deserialized =
|
|
1280
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1389
1281
|
const exception = new models_0_1.BadRequestException({
|
|
1390
1282
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1391
1283
|
...deserialized,
|
|
@@ -1394,7 +1286,7 @@ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
1394
1286
|
};
|
|
1395
1287
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1396
1288
|
const body = parsedOutput.body;
|
|
1397
|
-
const deserialized =
|
|
1289
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1398
1290
|
const exception = new models_0_1.InternalServerException({
|
|
1399
1291
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1400
1292
|
...deserialized,
|
|
@@ -1403,7 +1295,7 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
1403
1295
|
};
|
|
1404
1296
|
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1405
1297
|
const body = parsedOutput.body;
|
|
1406
|
-
const deserialized =
|
|
1298
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1407
1299
|
const exception = new models_0_1.ResourceInUseException({
|
|
1408
1300
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1409
1301
|
...deserialized,
|
|
@@ -1412,7 +1304,7 @@ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
1412
1304
|
};
|
|
1413
1305
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1414
1306
|
const body = parsedOutput.body;
|
|
1415
|
-
const deserialized =
|
|
1307
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1416
1308
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1417
1309
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1418
1310
|
...deserialized,
|
|
@@ -1421,7 +1313,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1421
1313
|
};
|
|
1422
1314
|
const de_TagsAlreadyExistExceptionRes = async (parsedOutput, context) => {
|
|
1423
1315
|
const body = parsedOutput.body;
|
|
1424
|
-
const deserialized =
|
|
1316
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1425
1317
|
const exception = new models_0_1.TagsAlreadyExistException({
|
|
1426
1318
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1427
1319
|
...deserialized,
|
|
@@ -1430,7 +1322,7 @@ const de_TagsAlreadyExistExceptionRes = async (parsedOutput, context) => {
|
|
|
1430
1322
|
};
|
|
1431
1323
|
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1432
1324
|
const body = parsedOutput.body;
|
|
1433
|
-
const deserialized =
|
|
1325
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1434
1326
|
const exception = new models_0_1.TooManyTagsException({
|
|
1435
1327
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1436
1328
|
...deserialized,
|
|
@@ -1439,655 +1331,164 @@ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
|
1439
1331
|
};
|
|
1440
1332
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1441
1333
|
const body = parsedOutput.body;
|
|
1442
|
-
const deserialized =
|
|
1334
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1443
1335
|
const exception = new models_0_1.ValidationException({
|
|
1444
1336
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1445
1337
|
...deserialized,
|
|
1446
1338
|
});
|
|
1447
1339
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1448
1340
|
};
|
|
1449
|
-
const se_CreateApplicationRequest = (input, context) => {
|
|
1450
|
-
return {
|
|
1451
|
-
...(input.AutoConfigEnabled != null && { AutoConfigEnabled: input.AutoConfigEnabled }),
|
|
1452
|
-
...(input.AutoCreate != null && { AutoCreate: input.AutoCreate }),
|
|
1453
|
-
...(input.CWEMonitorEnabled != null && { CWEMonitorEnabled: input.CWEMonitorEnabled }),
|
|
1454
|
-
...(input.GroupingType != null && { GroupingType: input.GroupingType }),
|
|
1455
|
-
...(input.OpsCenterEnabled != null && { OpsCenterEnabled: input.OpsCenterEnabled }),
|
|
1456
|
-
...(input.OpsItemSNSTopicArn != null && { OpsItemSNSTopicArn: input.OpsItemSNSTopicArn }),
|
|
1457
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1458
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1459
|
-
};
|
|
1460
|
-
};
|
|
1461
|
-
const se_CreateComponentRequest = (input, context) => {
|
|
1462
|
-
return {
|
|
1463
|
-
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1464
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1465
|
-
...(input.ResourceList != null && { ResourceList: se_ResourceList(input.ResourceList, context) }),
|
|
1466
|
-
};
|
|
1467
|
-
};
|
|
1468
|
-
const se_CreateLogPatternRequest = (input, context) => {
|
|
1469
|
-
return {
|
|
1470
|
-
...(input.Pattern != null && { Pattern: input.Pattern }),
|
|
1471
|
-
...(input.PatternName != null && { PatternName: input.PatternName }),
|
|
1472
|
-
...(input.PatternSetName != null && { PatternSetName: input.PatternSetName }),
|
|
1473
|
-
...(input.Rank != null && { Rank: input.Rank }),
|
|
1474
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1475
|
-
};
|
|
1476
|
-
};
|
|
1477
|
-
const se_DeleteApplicationRequest = (input, context) => {
|
|
1478
|
-
return {
|
|
1479
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1480
|
-
};
|
|
1481
|
-
};
|
|
1482
|
-
const se_DeleteComponentRequest = (input, context) => {
|
|
1483
|
-
return {
|
|
1484
|
-
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1485
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1486
|
-
};
|
|
1487
|
-
};
|
|
1488
|
-
const se_DeleteLogPatternRequest = (input, context) => {
|
|
1489
|
-
return {
|
|
1490
|
-
...(input.PatternName != null && { PatternName: input.PatternName }),
|
|
1491
|
-
...(input.PatternSetName != null && { PatternSetName: input.PatternSetName }),
|
|
1492
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1493
|
-
};
|
|
1494
|
-
};
|
|
1495
|
-
const se_DescribeApplicationRequest = (input, context) => {
|
|
1496
|
-
return {
|
|
1497
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1498
|
-
};
|
|
1499
|
-
};
|
|
1500
|
-
const se_DescribeComponentConfigurationRecommendationRequest = (input, context) => {
|
|
1501
|
-
return {
|
|
1502
|
-
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1503
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1504
|
-
...(input.Tier != null && { Tier: input.Tier }),
|
|
1505
|
-
};
|
|
1506
|
-
};
|
|
1507
|
-
const se_DescribeComponentConfigurationRequest = (input, context) => {
|
|
1508
|
-
return {
|
|
1509
|
-
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1510
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1511
|
-
};
|
|
1512
|
-
};
|
|
1513
|
-
const se_DescribeComponentRequest = (input, context) => {
|
|
1514
|
-
return {
|
|
1515
|
-
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1516
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1517
|
-
};
|
|
1518
|
-
};
|
|
1519
|
-
const se_DescribeLogPatternRequest = (input, context) => {
|
|
1520
|
-
return {
|
|
1521
|
-
...(input.PatternName != null && { PatternName: input.PatternName }),
|
|
1522
|
-
...(input.PatternSetName != null && { PatternSetName: input.PatternSetName }),
|
|
1523
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1524
|
-
};
|
|
1525
|
-
};
|
|
1526
|
-
const se_DescribeObservationRequest = (input, context) => {
|
|
1527
|
-
return {
|
|
1528
|
-
...(input.ObservationId != null && { ObservationId: input.ObservationId }),
|
|
1529
|
-
};
|
|
1530
|
-
};
|
|
1531
|
-
const se_DescribeProblemObservationsRequest = (input, context) => {
|
|
1532
|
-
return {
|
|
1533
|
-
...(input.ProblemId != null && { ProblemId: input.ProblemId }),
|
|
1534
|
-
};
|
|
1535
|
-
};
|
|
1536
|
-
const se_DescribeProblemRequest = (input, context) => {
|
|
1537
|
-
return {
|
|
1538
|
-
...(input.ProblemId != null && { ProblemId: input.ProblemId }),
|
|
1539
|
-
};
|
|
1540
|
-
};
|
|
1541
|
-
const se_ListApplicationsRequest = (input, context) => {
|
|
1542
|
-
return {
|
|
1543
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1544
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1545
|
-
};
|
|
1546
|
-
};
|
|
1547
|
-
const se_ListComponentsRequest = (input, context) => {
|
|
1548
|
-
return {
|
|
1549
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1550
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1551
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1552
|
-
};
|
|
1553
|
-
};
|
|
1554
1341
|
const se_ListConfigurationHistoryRequest = (input, context) => {
|
|
1555
|
-
return {
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
};
|
|
1563
|
-
};
|
|
1564
|
-
const se_ListLogPatternSetsRequest = (input, context) => {
|
|
1565
|
-
return {
|
|
1566
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1567
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1568
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1569
|
-
};
|
|
1570
|
-
};
|
|
1571
|
-
const se_ListLogPatternsRequest = (input, context) => {
|
|
1572
|
-
return {
|
|
1573
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1574
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1575
|
-
...(input.PatternSetName != null && { PatternSetName: input.PatternSetName }),
|
|
1576
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1577
|
-
};
|
|
1578
|
-
};
|
|
1579
|
-
const se_ListProblemsRequest = (input, context) => {
|
|
1580
|
-
return {
|
|
1581
|
-
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1582
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
1583
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1584
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1585
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1586
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
1587
|
-
};
|
|
1588
|
-
};
|
|
1589
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
1590
|
-
return {
|
|
1591
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1592
|
-
};
|
|
1593
|
-
};
|
|
1594
|
-
const se_ResourceList = (input, context) => {
|
|
1595
|
-
return input
|
|
1596
|
-
.filter((e) => e != null)
|
|
1597
|
-
.map((entry) => {
|
|
1598
|
-
return entry;
|
|
1599
|
-
});
|
|
1600
|
-
};
|
|
1601
|
-
const se_Tag = (input, context) => {
|
|
1602
|
-
return {
|
|
1603
|
-
...(input.Key != null && { Key: input.Key }),
|
|
1604
|
-
...(input.Value != null && { Value: input.Value }),
|
|
1605
|
-
};
|
|
1606
|
-
};
|
|
1607
|
-
const se_TagKeyList = (input, context) => {
|
|
1608
|
-
return input
|
|
1609
|
-
.filter((e) => e != null)
|
|
1610
|
-
.map((entry) => {
|
|
1611
|
-
return entry;
|
|
1612
|
-
});
|
|
1613
|
-
};
|
|
1614
|
-
const se_TagList = (input, context) => {
|
|
1615
|
-
return input
|
|
1616
|
-
.filter((e) => e != null)
|
|
1617
|
-
.map((entry) => {
|
|
1618
|
-
return se_Tag(entry, context);
|
|
1619
|
-
});
|
|
1620
|
-
};
|
|
1621
|
-
const se_TagResourceRequest = (input, context) => {
|
|
1622
|
-
return {
|
|
1623
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1624
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1625
|
-
};
|
|
1626
|
-
};
|
|
1627
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
1628
|
-
return {
|
|
1629
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1630
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
1631
|
-
};
|
|
1632
|
-
};
|
|
1633
|
-
const se_UpdateApplicationRequest = (input, context) => {
|
|
1634
|
-
return {
|
|
1635
|
-
...(input.AutoConfigEnabled != null && { AutoConfigEnabled: input.AutoConfigEnabled }),
|
|
1636
|
-
...(input.CWEMonitorEnabled != null && { CWEMonitorEnabled: input.CWEMonitorEnabled }),
|
|
1637
|
-
...(input.OpsCenterEnabled != null && { OpsCenterEnabled: input.OpsCenterEnabled }),
|
|
1638
|
-
...(input.OpsItemSNSTopicArn != null && { OpsItemSNSTopicArn: input.OpsItemSNSTopicArn }),
|
|
1639
|
-
...(input.RemoveSNSTopic != null && { RemoveSNSTopic: input.RemoveSNSTopic }),
|
|
1640
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1641
|
-
};
|
|
1642
|
-
};
|
|
1643
|
-
const se_UpdateComponentConfigurationRequest = (input, context) => {
|
|
1644
|
-
return {
|
|
1645
|
-
...(input.AutoConfigEnabled != null && { AutoConfigEnabled: input.AutoConfigEnabled }),
|
|
1646
|
-
...(input.ComponentConfiguration != null && { ComponentConfiguration: input.ComponentConfiguration }),
|
|
1647
|
-
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1648
|
-
...(input.Monitor != null && { Monitor: input.Monitor }),
|
|
1649
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1650
|
-
...(input.Tier != null && { Tier: input.Tier }),
|
|
1651
|
-
};
|
|
1652
|
-
};
|
|
1653
|
-
const se_UpdateComponentRequest = (input, context) => {
|
|
1654
|
-
return {
|
|
1655
|
-
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1656
|
-
...(input.NewComponentName != null && { NewComponentName: input.NewComponentName }),
|
|
1657
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1658
|
-
...(input.ResourceList != null && { ResourceList: se_ResourceList(input.ResourceList, context) }),
|
|
1659
|
-
};
|
|
1660
|
-
};
|
|
1661
|
-
const se_UpdateLogPatternRequest = (input, context) => {
|
|
1662
|
-
return {
|
|
1663
|
-
...(input.Pattern != null && { Pattern: input.Pattern }),
|
|
1664
|
-
...(input.PatternName != null && { PatternName: input.PatternName }),
|
|
1665
|
-
...(input.PatternSetName != null && { PatternSetName: input.PatternSetName }),
|
|
1666
|
-
...(input.Rank != null && { Rank: input.Rank }),
|
|
1667
|
-
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1668
|
-
};
|
|
1669
|
-
};
|
|
1670
|
-
const de_AccessDeniedException = (output, context) => {
|
|
1671
|
-
return {
|
|
1672
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1673
|
-
};
|
|
1674
|
-
};
|
|
1675
|
-
const de_ApplicationComponent = (output, context) => {
|
|
1676
|
-
return {
|
|
1677
|
-
ComponentName: (0, smithy_client_1.expectString)(output.ComponentName),
|
|
1678
|
-
ComponentRemarks: (0, smithy_client_1.expectString)(output.ComponentRemarks),
|
|
1679
|
-
DetectedWorkload: output.DetectedWorkload != null ? de_DetectedWorkload(output.DetectedWorkload, context) : undefined,
|
|
1680
|
-
Monitor: (0, smithy_client_1.expectBoolean)(output.Monitor),
|
|
1681
|
-
OsType: (0, smithy_client_1.expectString)(output.OsType),
|
|
1682
|
-
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
1683
|
-
Tier: (0, smithy_client_1.expectString)(output.Tier),
|
|
1684
|
-
};
|
|
1685
|
-
};
|
|
1686
|
-
const de_ApplicationComponentList = (output, context) => {
|
|
1687
|
-
const retVal = (output || [])
|
|
1688
|
-
.filter((e) => e != null)
|
|
1689
|
-
.map((entry) => {
|
|
1690
|
-
if (entry === null) {
|
|
1691
|
-
return null;
|
|
1692
|
-
}
|
|
1693
|
-
return de_ApplicationComponent(entry, context);
|
|
1342
|
+
return (0, smithy_client_1.take)(input, {
|
|
1343
|
+
EndTime: (_) => Math.round(_.getTime() / 1000),
|
|
1344
|
+
EventStatus: [],
|
|
1345
|
+
MaxResults: [],
|
|
1346
|
+
NextToken: [],
|
|
1347
|
+
ResourceGroupName: [],
|
|
1348
|
+
StartTime: (_) => Math.round(_.getTime() / 1000),
|
|
1694
1349
|
});
|
|
1695
|
-
return retVal;
|
|
1696
|
-
};
|
|
1697
|
-
const de_ApplicationInfo = (output, context) => {
|
|
1698
|
-
return {
|
|
1699
|
-
AutoConfigEnabled: (0, smithy_client_1.expectBoolean)(output.AutoConfigEnabled),
|
|
1700
|
-
CWEMonitorEnabled: (0, smithy_client_1.expectBoolean)(output.CWEMonitorEnabled),
|
|
1701
|
-
DiscoveryType: (0, smithy_client_1.expectString)(output.DiscoveryType),
|
|
1702
|
-
LifeCycle: (0, smithy_client_1.expectString)(output.LifeCycle),
|
|
1703
|
-
OpsCenterEnabled: (0, smithy_client_1.expectBoolean)(output.OpsCenterEnabled),
|
|
1704
|
-
OpsItemSNSTopicArn: (0, smithy_client_1.expectString)(output.OpsItemSNSTopicArn),
|
|
1705
|
-
Remarks: (0, smithy_client_1.expectString)(output.Remarks),
|
|
1706
|
-
ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
|
|
1707
|
-
};
|
|
1708
1350
|
};
|
|
1709
|
-
const
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
.
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1351
|
+
const se_ListProblemsRequest = (input, context) => {
|
|
1352
|
+
return (0, smithy_client_1.take)(input, {
|
|
1353
|
+
ComponentName: [],
|
|
1354
|
+
EndTime: (_) => Math.round(_.getTime() / 1000),
|
|
1355
|
+
MaxResults: [],
|
|
1356
|
+
NextToken: [],
|
|
1357
|
+
ResourceGroupName: [],
|
|
1358
|
+
StartTime: (_) => Math.round(_.getTime() / 1000),
|
|
1717
1359
|
});
|
|
1718
|
-
return retVal;
|
|
1719
|
-
};
|
|
1720
|
-
const de_BadRequestException = (output, context) => {
|
|
1721
|
-
return {
|
|
1722
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1723
|
-
};
|
|
1724
1360
|
};
|
|
1725
1361
|
const de_ConfigurationEvent = (output, context) => {
|
|
1726
|
-
return {
|
|
1727
|
-
EventDetail:
|
|
1728
|
-
EventResourceName:
|
|
1729
|
-
EventResourceType:
|
|
1730
|
-
EventStatus:
|
|
1731
|
-
EventTime:
|
|
1732
|
-
MonitoredResourceARN:
|
|
1733
|
-
};
|
|
1362
|
+
return (0, smithy_client_1.take)(output, {
|
|
1363
|
+
EventDetail: smithy_client_1.expectString,
|
|
1364
|
+
EventResourceName: smithy_client_1.expectString,
|
|
1365
|
+
EventResourceType: smithy_client_1.expectString,
|
|
1366
|
+
EventStatus: smithy_client_1.expectString,
|
|
1367
|
+
EventTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1368
|
+
MonitoredResourceARN: smithy_client_1.expectString,
|
|
1369
|
+
});
|
|
1734
1370
|
};
|
|
1735
1371
|
const de_ConfigurationEventList = (output, context) => {
|
|
1736
1372
|
const retVal = (output || [])
|
|
1737
1373
|
.filter((e) => e != null)
|
|
1738
1374
|
.map((entry) => {
|
|
1739
|
-
if (entry === null) {
|
|
1740
|
-
return null;
|
|
1741
|
-
}
|
|
1742
1375
|
return de_ConfigurationEvent(entry, context);
|
|
1743
1376
|
});
|
|
1744
1377
|
return retVal;
|
|
1745
1378
|
};
|
|
1746
|
-
const de_CreateApplicationResponse = (output, context) => {
|
|
1747
|
-
return {
|
|
1748
|
-
ApplicationInfo: output.ApplicationInfo != null ? de_ApplicationInfo(output.ApplicationInfo, context) : undefined,
|
|
1749
|
-
};
|
|
1750
|
-
};
|
|
1751
|
-
const de_CreateComponentResponse = (output, context) => {
|
|
1752
|
-
return {};
|
|
1753
|
-
};
|
|
1754
|
-
const de_CreateLogPatternResponse = (output, context) => {
|
|
1755
|
-
return {
|
|
1756
|
-
LogPattern: output.LogPattern != null ? de_LogPattern(output.LogPattern, context) : undefined,
|
|
1757
|
-
ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
|
|
1758
|
-
};
|
|
1759
|
-
};
|
|
1760
|
-
const de_DeleteApplicationResponse = (output, context) => {
|
|
1761
|
-
return {};
|
|
1762
|
-
};
|
|
1763
|
-
const de_DeleteComponentResponse = (output, context) => {
|
|
1764
|
-
return {};
|
|
1765
|
-
};
|
|
1766
|
-
const de_DeleteLogPatternResponse = (output, context) => {
|
|
1767
|
-
return {};
|
|
1768
|
-
};
|
|
1769
|
-
const de_DescribeApplicationResponse = (output, context) => {
|
|
1770
|
-
return {
|
|
1771
|
-
ApplicationInfo: output.ApplicationInfo != null ? de_ApplicationInfo(output.ApplicationInfo, context) : undefined,
|
|
1772
|
-
};
|
|
1773
|
-
};
|
|
1774
|
-
const de_DescribeComponentConfigurationRecommendationResponse = (output, context) => {
|
|
1775
|
-
return {
|
|
1776
|
-
ComponentConfiguration: (0, smithy_client_1.expectString)(output.ComponentConfiguration),
|
|
1777
|
-
};
|
|
1778
|
-
};
|
|
1779
|
-
const de_DescribeComponentConfigurationResponse = (output, context) => {
|
|
1780
|
-
return {
|
|
1781
|
-
ComponentConfiguration: (0, smithy_client_1.expectString)(output.ComponentConfiguration),
|
|
1782
|
-
Monitor: (0, smithy_client_1.expectBoolean)(output.Monitor),
|
|
1783
|
-
Tier: (0, smithy_client_1.expectString)(output.Tier),
|
|
1784
|
-
};
|
|
1785
|
-
};
|
|
1786
|
-
const de_DescribeComponentResponse = (output, context) => {
|
|
1787
|
-
return {
|
|
1788
|
-
ApplicationComponent: output.ApplicationComponent != null ? de_ApplicationComponent(output.ApplicationComponent, context) : undefined,
|
|
1789
|
-
ResourceList: output.ResourceList != null ? de_ResourceList(output.ResourceList, context) : undefined,
|
|
1790
|
-
};
|
|
1791
|
-
};
|
|
1792
|
-
const de_DescribeLogPatternResponse = (output, context) => {
|
|
1793
|
-
return {
|
|
1794
|
-
LogPattern: output.LogPattern != null ? de_LogPattern(output.LogPattern, context) : undefined,
|
|
1795
|
-
ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
|
|
1796
|
-
};
|
|
1797
|
-
};
|
|
1798
1379
|
const de_DescribeObservationResponse = (output, context) => {
|
|
1799
|
-
return {
|
|
1800
|
-
Observation:
|
|
1801
|
-
};
|
|
1380
|
+
return (0, smithy_client_1.take)(output, {
|
|
1381
|
+
Observation: (_) => de_Observation(_, context),
|
|
1382
|
+
});
|
|
1802
1383
|
};
|
|
1803
1384
|
const de_DescribeProblemObservationsResponse = (output, context) => {
|
|
1804
|
-
return {
|
|
1805
|
-
RelatedObservations:
|
|
1806
|
-
};
|
|
1385
|
+
return (0, smithy_client_1.take)(output, {
|
|
1386
|
+
RelatedObservations: (_) => de_RelatedObservations(_, context),
|
|
1387
|
+
});
|
|
1807
1388
|
};
|
|
1808
1389
|
const de_DescribeProblemResponse = (output, context) => {
|
|
1809
|
-
return {
|
|
1810
|
-
Problem:
|
|
1811
|
-
};
|
|
1812
|
-
};
|
|
1813
|
-
const de_DetectedWorkload = (output, context) => {
|
|
1814
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1815
|
-
if (value === null) {
|
|
1816
|
-
return acc;
|
|
1817
|
-
}
|
|
1818
|
-
acc[key] = de_WorkloadMetaData(value, context);
|
|
1819
|
-
return acc;
|
|
1820
|
-
}, {});
|
|
1821
|
-
};
|
|
1822
|
-
const de_Feedback = (output, context) => {
|
|
1823
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1824
|
-
if (value === null) {
|
|
1825
|
-
return acc;
|
|
1826
|
-
}
|
|
1827
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
1828
|
-
return acc;
|
|
1829
|
-
}, {});
|
|
1830
|
-
};
|
|
1831
|
-
const de_InternalServerException = (output, context) => {
|
|
1832
|
-
return {
|
|
1833
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1834
|
-
};
|
|
1835
|
-
};
|
|
1836
|
-
const de_ListApplicationsResponse = (output, context) => {
|
|
1837
|
-
return {
|
|
1838
|
-
ApplicationInfoList: output.ApplicationInfoList != null ? de_ApplicationInfoList(output.ApplicationInfoList, context) : undefined,
|
|
1839
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1840
|
-
};
|
|
1841
|
-
};
|
|
1842
|
-
const de_ListComponentsResponse = (output, context) => {
|
|
1843
|
-
return {
|
|
1844
|
-
ApplicationComponentList: output.ApplicationComponentList != null
|
|
1845
|
-
? de_ApplicationComponentList(output.ApplicationComponentList, context)
|
|
1846
|
-
: undefined,
|
|
1847
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1848
|
-
};
|
|
1390
|
+
return (0, smithy_client_1.take)(output, {
|
|
1391
|
+
Problem: (_) => de_Problem(_, context),
|
|
1392
|
+
});
|
|
1849
1393
|
};
|
|
1850
1394
|
const de_ListConfigurationHistoryResponse = (output, context) => {
|
|
1851
|
-
return {
|
|
1852
|
-
EventList:
|
|
1853
|
-
NextToken:
|
|
1854
|
-
};
|
|
1855
|
-
};
|
|
1856
|
-
const de_ListLogPatternSetsResponse = (output, context) => {
|
|
1857
|
-
return {
|
|
1858
|
-
LogPatternSets: output.LogPatternSets != null ? de_LogPatternSetList(output.LogPatternSets, context) : undefined,
|
|
1859
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1860
|
-
ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
|
|
1861
|
-
};
|
|
1862
|
-
};
|
|
1863
|
-
const de_ListLogPatternsResponse = (output, context) => {
|
|
1864
|
-
return {
|
|
1865
|
-
LogPatterns: output.LogPatterns != null ? de_LogPatternList(output.LogPatterns, context) : undefined,
|
|
1866
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1867
|
-
ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
|
|
1868
|
-
};
|
|
1869
|
-
};
|
|
1870
|
-
const de_ListProblemsResponse = (output, context) => {
|
|
1871
|
-
return {
|
|
1872
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1873
|
-
ProblemList: output.ProblemList != null ? de_ProblemList(output.ProblemList, context) : undefined,
|
|
1874
|
-
ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
|
|
1875
|
-
};
|
|
1876
|
-
};
|
|
1877
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
1878
|
-
return {
|
|
1879
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
1880
|
-
};
|
|
1881
|
-
};
|
|
1882
|
-
const de_LogPattern = (output, context) => {
|
|
1883
|
-
return {
|
|
1884
|
-
Pattern: (0, smithy_client_1.expectString)(output.Pattern),
|
|
1885
|
-
PatternName: (0, smithy_client_1.expectString)(output.PatternName),
|
|
1886
|
-
PatternSetName: (0, smithy_client_1.expectString)(output.PatternSetName),
|
|
1887
|
-
Rank: (0, smithy_client_1.expectInt32)(output.Rank),
|
|
1888
|
-
};
|
|
1889
|
-
};
|
|
1890
|
-
const de_LogPatternList = (output, context) => {
|
|
1891
|
-
const retVal = (output || [])
|
|
1892
|
-
.filter((e) => e != null)
|
|
1893
|
-
.map((entry) => {
|
|
1894
|
-
if (entry === null) {
|
|
1895
|
-
return null;
|
|
1896
|
-
}
|
|
1897
|
-
return de_LogPattern(entry, context);
|
|
1395
|
+
return (0, smithy_client_1.take)(output, {
|
|
1396
|
+
EventList: (_) => de_ConfigurationEventList(_, context),
|
|
1397
|
+
NextToken: smithy_client_1.expectString,
|
|
1898
1398
|
});
|
|
1899
|
-
return retVal;
|
|
1900
1399
|
};
|
|
1901
|
-
const
|
|
1902
|
-
|
|
1903
|
-
.
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
return null;
|
|
1907
|
-
}
|
|
1908
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1400
|
+
const de_ListProblemsResponse = (output, context) => {
|
|
1401
|
+
return (0, smithy_client_1.take)(output, {
|
|
1402
|
+
NextToken: smithy_client_1.expectString,
|
|
1403
|
+
ProblemList: (_) => de_ProblemList(_, context),
|
|
1404
|
+
ResourceGroupName: smithy_client_1.expectString,
|
|
1909
1405
|
});
|
|
1910
|
-
return retVal;
|
|
1911
1406
|
};
|
|
1912
1407
|
const de_Observation = (output, context) => {
|
|
1913
|
-
return {
|
|
1914
|
-
CloudWatchEventDetailType:
|
|
1915
|
-
CloudWatchEventId:
|
|
1916
|
-
CloudWatchEventSource:
|
|
1917
|
-
CodeDeployApplication:
|
|
1918
|
-
CodeDeployDeploymentGroup:
|
|
1919
|
-
CodeDeployDeploymentId:
|
|
1920
|
-
CodeDeployInstanceGroupId:
|
|
1921
|
-
CodeDeployState:
|
|
1922
|
-
EbsCause:
|
|
1923
|
-
EbsEvent:
|
|
1924
|
-
EbsRequestId:
|
|
1925
|
-
EbsResult:
|
|
1926
|
-
Ec2State:
|
|
1927
|
-
EndTime:
|
|
1928
|
-
HealthEventArn:
|
|
1929
|
-
HealthEventDescription:
|
|
1930
|
-
HealthEventTypeCategory:
|
|
1931
|
-
HealthEventTypeCode:
|
|
1932
|
-
HealthService:
|
|
1933
|
-
Id:
|
|
1934
|
-
LineTime:
|
|
1935
|
-
LogFilter:
|
|
1936
|
-
LogGroup:
|
|
1937
|
-
LogText:
|
|
1938
|
-
MetricName:
|
|
1939
|
-
MetricNamespace:
|
|
1940
|
-
RdsEventCategories:
|
|
1941
|
-
RdsEventMessage:
|
|
1942
|
-
S3EventName:
|
|
1943
|
-
SourceARN:
|
|
1944
|
-
SourceType:
|
|
1945
|
-
StartTime:
|
|
1946
|
-
StatesArn:
|
|
1947
|
-
StatesExecutionArn:
|
|
1948
|
-
StatesInput:
|
|
1949
|
-
StatesStatus:
|
|
1950
|
-
Unit:
|
|
1951
|
-
Value:
|
|
1952
|
-
XRayErrorPercent:
|
|
1953
|
-
XRayFaultPercent:
|
|
1954
|
-
XRayNodeName:
|
|
1955
|
-
XRayNodeType:
|
|
1956
|
-
XRayRequestAverageLatency:
|
|
1957
|
-
XRayRequestCount:
|
|
1958
|
-
XRayThrottlePercent:
|
|
1959
|
-
};
|
|
1408
|
+
return (0, smithy_client_1.take)(output, {
|
|
1409
|
+
CloudWatchEventDetailType: smithy_client_1.expectString,
|
|
1410
|
+
CloudWatchEventId: smithy_client_1.expectString,
|
|
1411
|
+
CloudWatchEventSource: smithy_client_1.expectString,
|
|
1412
|
+
CodeDeployApplication: smithy_client_1.expectString,
|
|
1413
|
+
CodeDeployDeploymentGroup: smithy_client_1.expectString,
|
|
1414
|
+
CodeDeployDeploymentId: smithy_client_1.expectString,
|
|
1415
|
+
CodeDeployInstanceGroupId: smithy_client_1.expectString,
|
|
1416
|
+
CodeDeployState: smithy_client_1.expectString,
|
|
1417
|
+
EbsCause: smithy_client_1.expectString,
|
|
1418
|
+
EbsEvent: smithy_client_1.expectString,
|
|
1419
|
+
EbsRequestId: smithy_client_1.expectString,
|
|
1420
|
+
EbsResult: smithy_client_1.expectString,
|
|
1421
|
+
Ec2State: smithy_client_1.expectString,
|
|
1422
|
+
EndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1423
|
+
HealthEventArn: smithy_client_1.expectString,
|
|
1424
|
+
HealthEventDescription: smithy_client_1.expectString,
|
|
1425
|
+
HealthEventTypeCategory: smithy_client_1.expectString,
|
|
1426
|
+
HealthEventTypeCode: smithy_client_1.expectString,
|
|
1427
|
+
HealthService: smithy_client_1.expectString,
|
|
1428
|
+
Id: smithy_client_1.expectString,
|
|
1429
|
+
LineTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1430
|
+
LogFilter: smithy_client_1.expectString,
|
|
1431
|
+
LogGroup: smithy_client_1.expectString,
|
|
1432
|
+
LogText: smithy_client_1.expectString,
|
|
1433
|
+
MetricName: smithy_client_1.expectString,
|
|
1434
|
+
MetricNamespace: smithy_client_1.expectString,
|
|
1435
|
+
RdsEventCategories: smithy_client_1.expectString,
|
|
1436
|
+
RdsEventMessage: smithy_client_1.expectString,
|
|
1437
|
+
S3EventName: smithy_client_1.expectString,
|
|
1438
|
+
SourceARN: smithy_client_1.expectString,
|
|
1439
|
+
SourceType: smithy_client_1.expectString,
|
|
1440
|
+
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1441
|
+
StatesArn: smithy_client_1.expectString,
|
|
1442
|
+
StatesExecutionArn: smithy_client_1.expectString,
|
|
1443
|
+
StatesInput: smithy_client_1.expectString,
|
|
1444
|
+
StatesStatus: smithy_client_1.expectString,
|
|
1445
|
+
Unit: smithy_client_1.expectString,
|
|
1446
|
+
Value: smithy_client_1.limitedParseDouble,
|
|
1447
|
+
XRayErrorPercent: smithy_client_1.expectInt32,
|
|
1448
|
+
XRayFaultPercent: smithy_client_1.expectInt32,
|
|
1449
|
+
XRayNodeName: smithy_client_1.expectString,
|
|
1450
|
+
XRayNodeType: smithy_client_1.expectString,
|
|
1451
|
+
XRayRequestAverageLatency: smithy_client_1.expectLong,
|
|
1452
|
+
XRayRequestCount: smithy_client_1.expectInt32,
|
|
1453
|
+
XRayThrottlePercent: smithy_client_1.expectInt32,
|
|
1454
|
+
});
|
|
1960
1455
|
};
|
|
1961
1456
|
const de_ObservationList = (output, context) => {
|
|
1962
1457
|
const retVal = (output || [])
|
|
1963
1458
|
.filter((e) => e != null)
|
|
1964
1459
|
.map((entry) => {
|
|
1965
|
-
if (entry === null) {
|
|
1966
|
-
return null;
|
|
1967
|
-
}
|
|
1968
1460
|
return de_Observation(entry, context);
|
|
1969
1461
|
});
|
|
1970
1462
|
return retVal;
|
|
1971
1463
|
};
|
|
1972
1464
|
const de_Problem = (output, context) => {
|
|
1973
|
-
return {
|
|
1974
|
-
AffectedResource:
|
|
1975
|
-
EndTime:
|
|
1976
|
-
Feedback:
|
|
1977
|
-
Id:
|
|
1978
|
-
Insights:
|
|
1979
|
-
LastRecurrenceTime:
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
Title: (0, smithy_client_1.expectString)(output.Title),
|
|
1988
|
-
};
|
|
1465
|
+
return (0, smithy_client_1.take)(output, {
|
|
1466
|
+
AffectedResource: smithy_client_1.expectString,
|
|
1467
|
+
EndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1468
|
+
Feedback: smithy_client_1._json,
|
|
1469
|
+
Id: smithy_client_1.expectString,
|
|
1470
|
+
Insights: smithy_client_1.expectString,
|
|
1471
|
+
LastRecurrenceTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1472
|
+
RecurringCount: smithy_client_1.expectLong,
|
|
1473
|
+
ResourceGroupName: smithy_client_1.expectString,
|
|
1474
|
+
SeverityLevel: smithy_client_1.expectString,
|
|
1475
|
+
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1476
|
+
Status: smithy_client_1.expectString,
|
|
1477
|
+
Title: smithy_client_1.expectString,
|
|
1478
|
+
});
|
|
1989
1479
|
};
|
|
1990
1480
|
const de_ProblemList = (output, context) => {
|
|
1991
1481
|
const retVal = (output || [])
|
|
1992
1482
|
.filter((e) => e != null)
|
|
1993
1483
|
.map((entry) => {
|
|
1994
|
-
if (entry === null) {
|
|
1995
|
-
return null;
|
|
1996
|
-
}
|
|
1997
1484
|
return de_Problem(entry, context);
|
|
1998
1485
|
});
|
|
1999
1486
|
return retVal;
|
|
2000
1487
|
};
|
|
2001
1488
|
const de_RelatedObservations = (output, context) => {
|
|
2002
|
-
return {
|
|
2003
|
-
ObservationList:
|
|
2004
|
-
};
|
|
2005
|
-
};
|
|
2006
|
-
const de_ResourceInUseException = (output, context) => {
|
|
2007
|
-
return {
|
|
2008
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2009
|
-
};
|
|
2010
|
-
};
|
|
2011
|
-
const de_ResourceList = (output, context) => {
|
|
2012
|
-
const retVal = (output || [])
|
|
2013
|
-
.filter((e) => e != null)
|
|
2014
|
-
.map((entry) => {
|
|
2015
|
-
if (entry === null) {
|
|
2016
|
-
return null;
|
|
2017
|
-
}
|
|
2018
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1489
|
+
return (0, smithy_client_1.take)(output, {
|
|
1490
|
+
ObservationList: (_) => de_ObservationList(_, context),
|
|
2019
1491
|
});
|
|
2020
|
-
return retVal;
|
|
2021
|
-
};
|
|
2022
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
2023
|
-
return {
|
|
2024
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2025
|
-
};
|
|
2026
|
-
};
|
|
2027
|
-
const de_Tag = (output, context) => {
|
|
2028
|
-
return {
|
|
2029
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2030
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2031
|
-
};
|
|
2032
|
-
};
|
|
2033
|
-
const de_TagList = (output, context) => {
|
|
2034
|
-
const retVal = (output || [])
|
|
2035
|
-
.filter((e) => e != null)
|
|
2036
|
-
.map((entry) => {
|
|
2037
|
-
if (entry === null) {
|
|
2038
|
-
return null;
|
|
2039
|
-
}
|
|
2040
|
-
return de_Tag(entry, context);
|
|
2041
|
-
});
|
|
2042
|
-
return retVal;
|
|
2043
|
-
};
|
|
2044
|
-
const de_TagResourceResponse = (output, context) => {
|
|
2045
|
-
return {};
|
|
2046
|
-
};
|
|
2047
|
-
const de_TagsAlreadyExistException = (output, context) => {
|
|
2048
|
-
return {
|
|
2049
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2050
|
-
};
|
|
2051
|
-
};
|
|
2052
|
-
const de_TooManyTagsException = (output, context) => {
|
|
2053
|
-
return {
|
|
2054
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2055
|
-
ResourceName: (0, smithy_client_1.expectString)(output.ResourceName),
|
|
2056
|
-
};
|
|
2057
|
-
};
|
|
2058
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
2059
|
-
return {};
|
|
2060
|
-
};
|
|
2061
|
-
const de_UpdateApplicationResponse = (output, context) => {
|
|
2062
|
-
return {
|
|
2063
|
-
ApplicationInfo: output.ApplicationInfo != null ? de_ApplicationInfo(output.ApplicationInfo, context) : undefined,
|
|
2064
|
-
};
|
|
2065
|
-
};
|
|
2066
|
-
const de_UpdateComponentConfigurationResponse = (output, context) => {
|
|
2067
|
-
return {};
|
|
2068
|
-
};
|
|
2069
|
-
const de_UpdateComponentResponse = (output, context) => {
|
|
2070
|
-
return {};
|
|
2071
|
-
};
|
|
2072
|
-
const de_UpdateLogPatternResponse = (output, context) => {
|
|
2073
|
-
return {
|
|
2074
|
-
LogPattern: output.LogPattern != null ? de_LogPattern(output.LogPattern, context) : undefined,
|
|
2075
|
-
ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
|
|
2076
|
-
};
|
|
2077
|
-
};
|
|
2078
|
-
const de_ValidationException = (output, context) => {
|
|
2079
|
-
return {
|
|
2080
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2081
|
-
};
|
|
2082
|
-
};
|
|
2083
|
-
const de_WorkloadMetaData = (output, context) => {
|
|
2084
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2085
|
-
if (value === null) {
|
|
2086
|
-
return acc;
|
|
2087
|
-
}
|
|
2088
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
2089
|
-
return acc;
|
|
2090
|
-
}, {});
|
|
2091
1492
|
};
|
|
2092
1493
|
const deserializeMetadata = (output) => ({
|
|
2093
1494
|
httpStatusCode: output.statusCode,
|
|
@@ -2102,6 +1503,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
2102
1503
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2103
1504
|
};
|
|
2104
1505
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1506
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(ApplicationInsightsServiceException_1.ApplicationInsightsServiceException);
|
|
2105
1507
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2106
1508
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2107
1509
|
const contents = {
|
|
@@ -2120,6 +1522,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
2120
1522
|
}
|
|
2121
1523
|
return new protocol_http_1.HttpRequest(contents);
|
|
2122
1524
|
};
|
|
1525
|
+
function sharedHeaders(operation) {
|
|
1526
|
+
return {
|
|
1527
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1528
|
+
"x-amz-target": `EC2WindowsBarleyService.${operation}`,
|
|
1529
|
+
};
|
|
1530
|
+
}
|
|
2123
1531
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2124
1532
|
if (encoded.length) {
|
|
2125
1533
|
return JSON.parse(encoded);
|