@aws-sdk/client-application-insights 3.303.0 → 3.309.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/commands/CreateApplicationCommand.js +2 -2
- package/dist-cjs/commands/CreateComponentCommand.js +2 -2
- package/dist-cjs/commands/CreateLogPatternCommand.js +2 -2
- package/dist-cjs/commands/DeleteApplicationCommand.js +2 -2
- package/dist-cjs/commands/DeleteComponentCommand.js +2 -2
- package/dist-cjs/commands/DeleteLogPatternCommand.js +2 -2
- package/dist-cjs/commands/DescribeApplicationCommand.js +2 -2
- package/dist-cjs/commands/DescribeComponentCommand.js +2 -2
- package/dist-cjs/commands/DescribeComponentConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DescribeComponentConfigurationRecommendationCommand.js +2 -2
- package/dist-cjs/commands/DescribeLogPatternCommand.js +2 -2
- package/dist-cjs/commands/DescribeObservationCommand.js +2 -2
- package/dist-cjs/commands/DescribeProblemCommand.js +2 -2
- package/dist-cjs/commands/DescribeProblemObservationsCommand.js +2 -2
- package/dist-cjs/commands/ListApplicationsCommand.js +2 -2
- package/dist-cjs/commands/ListComponentsCommand.js +2 -2
- package/dist-cjs/commands/ListConfigurationHistoryCommand.js +2 -2
- package/dist-cjs/commands/ListLogPatternSetsCommand.js +2 -2
- package/dist-cjs/commands/ListLogPatternsCommand.js +2 -2
- package/dist-cjs/commands/ListProblemsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateApplicationCommand.js +2 -2
- package/dist-cjs/commands/UpdateComponentCommand.js +2 -2
- package/dist-cjs/commands/UpdateComponentConfigurationCommand.js +2 -2
- package/dist-cjs/commands/UpdateLogPatternCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +442 -460
- package/dist-es/commands/CreateApplicationCommand.js +3 -3
- package/dist-es/commands/CreateComponentCommand.js +3 -3
- package/dist-es/commands/CreateLogPatternCommand.js +3 -3
- package/dist-es/commands/DeleteApplicationCommand.js +3 -3
- package/dist-es/commands/DeleteComponentCommand.js +3 -3
- package/dist-es/commands/DeleteLogPatternCommand.js +3 -3
- package/dist-es/commands/DescribeApplicationCommand.js +3 -3
- package/dist-es/commands/DescribeComponentCommand.js +3 -3
- package/dist-es/commands/DescribeComponentConfigurationCommand.js +3 -3
- package/dist-es/commands/DescribeComponentConfigurationRecommendationCommand.js +3 -3
- package/dist-es/commands/DescribeLogPatternCommand.js +3 -3
- package/dist-es/commands/DescribeObservationCommand.js +3 -3
- package/dist-es/commands/DescribeProblemCommand.js +3 -3
- package/dist-es/commands/DescribeProblemObservationsCommand.js +3 -3
- package/dist-es/commands/ListApplicationsCommand.js +3 -3
- package/dist-es/commands/ListComponentsCommand.js +3 -3
- package/dist-es/commands/ListConfigurationHistoryCommand.js +3 -3
- package/dist-es/commands/ListLogPatternSetsCommand.js +3 -3
- package/dist-es/commands/ListLogPatternsCommand.js +3 -3
- package/dist-es/commands/ListProblemsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateApplicationCommand.js +3 -3
- package/dist-es/commands/UpdateComponentCommand.js +3 -3
- package/dist-es/commands/UpdateComponentConfigurationCommand.js +3 -3
- package/dist-es/commands/UpdateLogPatternCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +386 -404
- package/dist-types/protocols/Aws_json1_1.d.ts +216 -54
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +54 -54
- package/package.json +29 -29
|
@@ -2,263 +2,263 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { ApplicationInsightsServiceException as __BaseException } from "../models/ApplicationInsightsServiceException";
|
|
4
4
|
import { AccessDeniedException, BadRequestException, InternalServerException, ResourceInUseException, ResourceNotFoundException, TagsAlreadyExistException, TooManyTagsException, ValidationException, } from "../models/models_0";
|
|
5
|
-
export const
|
|
5
|
+
export const se_CreateApplicationCommand = async (input, context) => {
|
|
6
6
|
const headers = {
|
|
7
7
|
"content-type": "application/x-amz-json-1.1",
|
|
8
8
|
"x-amz-target": "EC2WindowsBarleyService.CreateApplication",
|
|
9
9
|
};
|
|
10
10
|
let body;
|
|
11
|
-
body = JSON.stringify(
|
|
11
|
+
body = JSON.stringify(se_CreateApplicationRequest(input, context));
|
|
12
12
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
13
13
|
};
|
|
14
|
-
export const
|
|
14
|
+
export const se_CreateComponentCommand = async (input, context) => {
|
|
15
15
|
const headers = {
|
|
16
16
|
"content-type": "application/x-amz-json-1.1",
|
|
17
17
|
"x-amz-target": "EC2WindowsBarleyService.CreateComponent",
|
|
18
18
|
};
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(se_CreateComponentRequest(input, context));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
|
-
export const
|
|
23
|
+
export const se_CreateLogPatternCommand = async (input, context) => {
|
|
24
24
|
const headers = {
|
|
25
25
|
"content-type": "application/x-amz-json-1.1",
|
|
26
26
|
"x-amz-target": "EC2WindowsBarleyService.CreateLogPattern",
|
|
27
27
|
};
|
|
28
28
|
let body;
|
|
29
|
-
body = JSON.stringify(
|
|
29
|
+
body = JSON.stringify(se_CreateLogPatternRequest(input, context));
|
|
30
30
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
31
31
|
};
|
|
32
|
-
export const
|
|
32
|
+
export const se_DeleteApplicationCommand = async (input, context) => {
|
|
33
33
|
const headers = {
|
|
34
34
|
"content-type": "application/x-amz-json-1.1",
|
|
35
35
|
"x-amz-target": "EC2WindowsBarleyService.DeleteApplication",
|
|
36
36
|
};
|
|
37
37
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(se_DeleteApplicationRequest(input, context));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
|
-
export const
|
|
41
|
+
export const se_DeleteComponentCommand = async (input, context) => {
|
|
42
42
|
const headers = {
|
|
43
43
|
"content-type": "application/x-amz-json-1.1",
|
|
44
44
|
"x-amz-target": "EC2WindowsBarleyService.DeleteComponent",
|
|
45
45
|
};
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify(se_DeleteComponentRequest(input, context));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
|
-
export const
|
|
50
|
+
export const se_DeleteLogPatternCommand = async (input, context) => {
|
|
51
51
|
const headers = {
|
|
52
52
|
"content-type": "application/x-amz-json-1.1",
|
|
53
53
|
"x-amz-target": "EC2WindowsBarleyService.DeleteLogPattern",
|
|
54
54
|
};
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(se_DeleteLogPatternRequest(input, context));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
|
-
export const
|
|
59
|
+
export const se_DescribeApplicationCommand = async (input, context) => {
|
|
60
60
|
const headers = {
|
|
61
61
|
"content-type": "application/x-amz-json-1.1",
|
|
62
62
|
"x-amz-target": "EC2WindowsBarleyService.DescribeApplication",
|
|
63
63
|
};
|
|
64
64
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
65
|
+
body = JSON.stringify(se_DescribeApplicationRequest(input, context));
|
|
66
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
67
|
};
|
|
68
|
-
export const
|
|
68
|
+
export const se_DescribeComponentCommand = async (input, context) => {
|
|
69
69
|
const headers = {
|
|
70
70
|
"content-type": "application/x-amz-json-1.1",
|
|
71
71
|
"x-amz-target": "EC2WindowsBarleyService.DescribeComponent",
|
|
72
72
|
};
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(se_DescribeComponentRequest(input, context));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
|
-
export const
|
|
77
|
+
export const se_DescribeComponentConfigurationCommand = async (input, context) => {
|
|
78
78
|
const headers = {
|
|
79
79
|
"content-type": "application/x-amz-json-1.1",
|
|
80
80
|
"x-amz-target": "EC2WindowsBarleyService.DescribeComponentConfiguration",
|
|
81
81
|
};
|
|
82
82
|
let body;
|
|
83
|
-
body = JSON.stringify(
|
|
83
|
+
body = JSON.stringify(se_DescribeComponentConfigurationRequest(input, context));
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
86
|
-
export const
|
|
86
|
+
export const se_DescribeComponentConfigurationRecommendationCommand = async (input, context) => {
|
|
87
87
|
const headers = {
|
|
88
88
|
"content-type": "application/x-amz-json-1.1",
|
|
89
89
|
"x-amz-target": "EC2WindowsBarleyService.DescribeComponentConfigurationRecommendation",
|
|
90
90
|
};
|
|
91
91
|
let body;
|
|
92
|
-
body = JSON.stringify(
|
|
92
|
+
body = JSON.stringify(se_DescribeComponentConfigurationRecommendationRequest(input, context));
|
|
93
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
94
|
};
|
|
95
|
-
export const
|
|
95
|
+
export const se_DescribeLogPatternCommand = async (input, context) => {
|
|
96
96
|
const headers = {
|
|
97
97
|
"content-type": "application/x-amz-json-1.1",
|
|
98
98
|
"x-amz-target": "EC2WindowsBarleyService.DescribeLogPattern",
|
|
99
99
|
};
|
|
100
100
|
let body;
|
|
101
|
-
body = JSON.stringify(
|
|
101
|
+
body = JSON.stringify(se_DescribeLogPatternRequest(input, context));
|
|
102
102
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
103
103
|
};
|
|
104
|
-
export const
|
|
104
|
+
export const se_DescribeObservationCommand = async (input, context) => {
|
|
105
105
|
const headers = {
|
|
106
106
|
"content-type": "application/x-amz-json-1.1",
|
|
107
107
|
"x-amz-target": "EC2WindowsBarleyService.DescribeObservation",
|
|
108
108
|
};
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(se_DescribeObservationRequest(input, context));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
|
-
export const
|
|
113
|
+
export const se_DescribeProblemCommand = async (input, context) => {
|
|
114
114
|
const headers = {
|
|
115
115
|
"content-type": "application/x-amz-json-1.1",
|
|
116
116
|
"x-amz-target": "EC2WindowsBarleyService.DescribeProblem",
|
|
117
117
|
};
|
|
118
118
|
let body;
|
|
119
|
-
body = JSON.stringify(
|
|
119
|
+
body = JSON.stringify(se_DescribeProblemRequest(input, context));
|
|
120
120
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
121
121
|
};
|
|
122
|
-
export const
|
|
122
|
+
export const se_DescribeProblemObservationsCommand = async (input, context) => {
|
|
123
123
|
const headers = {
|
|
124
124
|
"content-type": "application/x-amz-json-1.1",
|
|
125
125
|
"x-amz-target": "EC2WindowsBarleyService.DescribeProblemObservations",
|
|
126
126
|
};
|
|
127
127
|
let body;
|
|
128
|
-
body = JSON.stringify(
|
|
128
|
+
body = JSON.stringify(se_DescribeProblemObservationsRequest(input, context));
|
|
129
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
130
|
};
|
|
131
|
-
export const
|
|
131
|
+
export const se_ListApplicationsCommand = async (input, context) => {
|
|
132
132
|
const headers = {
|
|
133
133
|
"content-type": "application/x-amz-json-1.1",
|
|
134
134
|
"x-amz-target": "EC2WindowsBarleyService.ListApplications",
|
|
135
135
|
};
|
|
136
136
|
let body;
|
|
137
|
-
body = JSON.stringify(
|
|
137
|
+
body = JSON.stringify(se_ListApplicationsRequest(input, context));
|
|
138
138
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
139
139
|
};
|
|
140
|
-
export const
|
|
140
|
+
export const se_ListComponentsCommand = async (input, context) => {
|
|
141
141
|
const headers = {
|
|
142
142
|
"content-type": "application/x-amz-json-1.1",
|
|
143
143
|
"x-amz-target": "EC2WindowsBarleyService.ListComponents",
|
|
144
144
|
};
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(se_ListComponentsRequest(input, context));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
|
-
export const
|
|
149
|
+
export const se_ListConfigurationHistoryCommand = async (input, context) => {
|
|
150
150
|
const headers = {
|
|
151
151
|
"content-type": "application/x-amz-json-1.1",
|
|
152
152
|
"x-amz-target": "EC2WindowsBarleyService.ListConfigurationHistory",
|
|
153
153
|
};
|
|
154
154
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
155
|
+
body = JSON.stringify(se_ListConfigurationHistoryRequest(input, context));
|
|
156
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
157
|
};
|
|
158
|
-
export const
|
|
158
|
+
export const se_ListLogPatternsCommand = async (input, context) => {
|
|
159
159
|
const headers = {
|
|
160
160
|
"content-type": "application/x-amz-json-1.1",
|
|
161
161
|
"x-amz-target": "EC2WindowsBarleyService.ListLogPatterns",
|
|
162
162
|
};
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(se_ListLogPatternsRequest(input, context));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
|
-
export const
|
|
167
|
+
export const se_ListLogPatternSetsCommand = async (input, context) => {
|
|
168
168
|
const headers = {
|
|
169
169
|
"content-type": "application/x-amz-json-1.1",
|
|
170
170
|
"x-amz-target": "EC2WindowsBarleyService.ListLogPatternSets",
|
|
171
171
|
};
|
|
172
172
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify(se_ListLogPatternSetsRequest(input, context));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
|
-
export const
|
|
176
|
+
export const se_ListProblemsCommand = async (input, context) => {
|
|
177
177
|
const headers = {
|
|
178
178
|
"content-type": "application/x-amz-json-1.1",
|
|
179
179
|
"x-amz-target": "EC2WindowsBarleyService.ListProblems",
|
|
180
180
|
};
|
|
181
181
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify(se_ListProblemsRequest(input, context));
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
185
|
-
export const
|
|
185
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
186
186
|
const headers = {
|
|
187
187
|
"content-type": "application/x-amz-json-1.1",
|
|
188
188
|
"x-amz-target": "EC2WindowsBarleyService.ListTagsForResource",
|
|
189
189
|
};
|
|
190
190
|
let body;
|
|
191
|
-
body = JSON.stringify(
|
|
191
|
+
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
192
192
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
193
193
|
};
|
|
194
|
-
export const
|
|
194
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
195
195
|
const headers = {
|
|
196
196
|
"content-type": "application/x-amz-json-1.1",
|
|
197
197
|
"x-amz-target": "EC2WindowsBarleyService.TagResource",
|
|
198
198
|
};
|
|
199
199
|
let body;
|
|
200
|
-
body = JSON.stringify(
|
|
200
|
+
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
201
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
202
|
};
|
|
203
|
-
export const
|
|
203
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
204
204
|
const headers = {
|
|
205
205
|
"content-type": "application/x-amz-json-1.1",
|
|
206
206
|
"x-amz-target": "EC2WindowsBarleyService.UntagResource",
|
|
207
207
|
};
|
|
208
208
|
let body;
|
|
209
|
-
body = JSON.stringify(
|
|
209
|
+
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
210
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
211
211
|
};
|
|
212
|
-
export const
|
|
212
|
+
export const se_UpdateApplicationCommand = async (input, context) => {
|
|
213
213
|
const headers = {
|
|
214
214
|
"content-type": "application/x-amz-json-1.1",
|
|
215
215
|
"x-amz-target": "EC2WindowsBarleyService.UpdateApplication",
|
|
216
216
|
};
|
|
217
217
|
let body;
|
|
218
|
-
body = JSON.stringify(
|
|
218
|
+
body = JSON.stringify(se_UpdateApplicationRequest(input, context));
|
|
219
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
220
|
};
|
|
221
|
-
export const
|
|
221
|
+
export const se_UpdateComponentCommand = async (input, context) => {
|
|
222
222
|
const headers = {
|
|
223
223
|
"content-type": "application/x-amz-json-1.1",
|
|
224
224
|
"x-amz-target": "EC2WindowsBarleyService.UpdateComponent",
|
|
225
225
|
};
|
|
226
226
|
let body;
|
|
227
|
-
body = JSON.stringify(
|
|
227
|
+
body = JSON.stringify(se_UpdateComponentRequest(input, context));
|
|
228
228
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
229
229
|
};
|
|
230
|
-
export const
|
|
230
|
+
export const se_UpdateComponentConfigurationCommand = async (input, context) => {
|
|
231
231
|
const headers = {
|
|
232
232
|
"content-type": "application/x-amz-json-1.1",
|
|
233
233
|
"x-amz-target": "EC2WindowsBarleyService.UpdateComponentConfiguration",
|
|
234
234
|
};
|
|
235
235
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify(se_UpdateComponentConfigurationRequest(input, context));
|
|
237
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
238
|
};
|
|
239
|
-
export const
|
|
239
|
+
export const se_UpdateLogPatternCommand = async (input, context) => {
|
|
240
240
|
const headers = {
|
|
241
241
|
"content-type": "application/x-amz-json-1.1",
|
|
242
242
|
"x-amz-target": "EC2WindowsBarleyService.UpdateLogPattern",
|
|
243
243
|
};
|
|
244
244
|
let body;
|
|
245
|
-
body = JSON.stringify(
|
|
245
|
+
body = JSON.stringify(se_UpdateLogPatternRequest(input, context));
|
|
246
246
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
247
|
};
|
|
248
|
-
export const
|
|
248
|
+
export const de_CreateApplicationCommand = async (output, context) => {
|
|
249
249
|
if (output.statusCode >= 300) {
|
|
250
|
-
return
|
|
250
|
+
return de_CreateApplicationCommandError(output, context);
|
|
251
251
|
}
|
|
252
252
|
const data = await parseBody(output.body, context);
|
|
253
253
|
let contents = {};
|
|
254
|
-
contents =
|
|
254
|
+
contents = de_CreateApplicationResponse(data, context);
|
|
255
255
|
const response = {
|
|
256
256
|
$metadata: deserializeMetadata(output),
|
|
257
257
|
...contents,
|
|
258
258
|
};
|
|
259
259
|
return Promise.resolve(response);
|
|
260
260
|
};
|
|
261
|
-
const
|
|
261
|
+
const de_CreateApplicationCommandError = async (output, context) => {
|
|
262
262
|
const parsedOutput = {
|
|
263
263
|
...output,
|
|
264
264
|
body: await parseErrorBody(output.body, context),
|
|
@@ -267,22 +267,22 @@ const deserializeAws_json1_1CreateApplicationCommandError = async (output, conte
|
|
|
267
267
|
switch (errorCode) {
|
|
268
268
|
case "AccessDeniedException":
|
|
269
269
|
case "com.amazonaws.applicationinsights#AccessDeniedException":
|
|
270
|
-
throw await
|
|
270
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
271
271
|
case "InternalServerException":
|
|
272
272
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
273
|
-
throw await
|
|
273
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
274
274
|
case "ResourceInUseException":
|
|
275
275
|
case "com.amazonaws.applicationinsights#ResourceInUseException":
|
|
276
|
-
throw await
|
|
276
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
277
277
|
case "ResourceNotFoundException":
|
|
278
278
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
279
|
-
throw await
|
|
279
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
280
280
|
case "TagsAlreadyExistException":
|
|
281
281
|
case "com.amazonaws.applicationinsights#TagsAlreadyExistException":
|
|
282
|
-
throw await
|
|
282
|
+
throw await de_TagsAlreadyExistExceptionRes(parsedOutput, context);
|
|
283
283
|
case "ValidationException":
|
|
284
284
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
285
|
-
throw await
|
|
285
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
286
286
|
default:
|
|
287
287
|
const parsedBody = parsedOutput.body;
|
|
288
288
|
throwDefaultError({
|
|
@@ -293,20 +293,20 @@ const deserializeAws_json1_1CreateApplicationCommandError = async (output, conte
|
|
|
293
293
|
});
|
|
294
294
|
}
|
|
295
295
|
};
|
|
296
|
-
export const
|
|
296
|
+
export const de_CreateComponentCommand = async (output, context) => {
|
|
297
297
|
if (output.statusCode >= 300) {
|
|
298
|
-
return
|
|
298
|
+
return de_CreateComponentCommandError(output, context);
|
|
299
299
|
}
|
|
300
300
|
const data = await parseBody(output.body, context);
|
|
301
301
|
let contents = {};
|
|
302
|
-
contents =
|
|
302
|
+
contents = de_CreateComponentResponse(data, context);
|
|
303
303
|
const response = {
|
|
304
304
|
$metadata: deserializeMetadata(output),
|
|
305
305
|
...contents,
|
|
306
306
|
};
|
|
307
307
|
return Promise.resolve(response);
|
|
308
308
|
};
|
|
309
|
-
const
|
|
309
|
+
const de_CreateComponentCommandError = async (output, context) => {
|
|
310
310
|
const parsedOutput = {
|
|
311
311
|
...output,
|
|
312
312
|
body: await parseErrorBody(output.body, context),
|
|
@@ -315,16 +315,16 @@ const deserializeAws_json1_1CreateComponentCommandError = async (output, context
|
|
|
315
315
|
switch (errorCode) {
|
|
316
316
|
case "InternalServerException":
|
|
317
317
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
318
|
-
throw await
|
|
318
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
319
319
|
case "ResourceInUseException":
|
|
320
320
|
case "com.amazonaws.applicationinsights#ResourceInUseException":
|
|
321
|
-
throw await
|
|
321
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
322
322
|
case "ResourceNotFoundException":
|
|
323
323
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
324
|
-
throw await
|
|
324
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
325
325
|
case "ValidationException":
|
|
326
326
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
327
|
-
throw await
|
|
327
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
328
328
|
default:
|
|
329
329
|
const parsedBody = parsedOutput.body;
|
|
330
330
|
throwDefaultError({
|
|
@@ -335,20 +335,20 @@ const deserializeAws_json1_1CreateComponentCommandError = async (output, context
|
|
|
335
335
|
});
|
|
336
336
|
}
|
|
337
337
|
};
|
|
338
|
-
export const
|
|
338
|
+
export const de_CreateLogPatternCommand = async (output, context) => {
|
|
339
339
|
if (output.statusCode >= 300) {
|
|
340
|
-
return
|
|
340
|
+
return de_CreateLogPatternCommandError(output, context);
|
|
341
341
|
}
|
|
342
342
|
const data = await parseBody(output.body, context);
|
|
343
343
|
let contents = {};
|
|
344
|
-
contents =
|
|
344
|
+
contents = de_CreateLogPatternResponse(data, context);
|
|
345
345
|
const response = {
|
|
346
346
|
$metadata: deserializeMetadata(output),
|
|
347
347
|
...contents,
|
|
348
348
|
};
|
|
349
349
|
return Promise.resolve(response);
|
|
350
350
|
};
|
|
351
|
-
const
|
|
351
|
+
const de_CreateLogPatternCommandError = async (output, context) => {
|
|
352
352
|
const parsedOutput = {
|
|
353
353
|
...output,
|
|
354
354
|
body: await parseErrorBody(output.body, context),
|
|
@@ -357,16 +357,16 @@ const deserializeAws_json1_1CreateLogPatternCommandError = async (output, contex
|
|
|
357
357
|
switch (errorCode) {
|
|
358
358
|
case "InternalServerException":
|
|
359
359
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
360
|
-
throw await
|
|
360
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
361
361
|
case "ResourceInUseException":
|
|
362
362
|
case "com.amazonaws.applicationinsights#ResourceInUseException":
|
|
363
|
-
throw await
|
|
363
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
364
364
|
case "ResourceNotFoundException":
|
|
365
365
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
366
|
-
throw await
|
|
366
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
367
367
|
case "ValidationException":
|
|
368
368
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
369
|
-
throw await
|
|
369
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
370
370
|
default:
|
|
371
371
|
const parsedBody = parsedOutput.body;
|
|
372
372
|
throwDefaultError({
|
|
@@ -377,20 +377,20 @@ const deserializeAws_json1_1CreateLogPatternCommandError = async (output, contex
|
|
|
377
377
|
});
|
|
378
378
|
}
|
|
379
379
|
};
|
|
380
|
-
export const
|
|
380
|
+
export const de_DeleteApplicationCommand = async (output, context) => {
|
|
381
381
|
if (output.statusCode >= 300) {
|
|
382
|
-
return
|
|
382
|
+
return de_DeleteApplicationCommandError(output, context);
|
|
383
383
|
}
|
|
384
384
|
const data = await parseBody(output.body, context);
|
|
385
385
|
let contents = {};
|
|
386
|
-
contents =
|
|
386
|
+
contents = de_DeleteApplicationResponse(data, context);
|
|
387
387
|
const response = {
|
|
388
388
|
$metadata: deserializeMetadata(output),
|
|
389
389
|
...contents,
|
|
390
390
|
};
|
|
391
391
|
return Promise.resolve(response);
|
|
392
392
|
};
|
|
393
|
-
const
|
|
393
|
+
const de_DeleteApplicationCommandError = async (output, context) => {
|
|
394
394
|
const parsedOutput = {
|
|
395
395
|
...output,
|
|
396
396
|
body: await parseErrorBody(output.body, context),
|
|
@@ -399,16 +399,16 @@ const deserializeAws_json1_1DeleteApplicationCommandError = async (output, conte
|
|
|
399
399
|
switch (errorCode) {
|
|
400
400
|
case "BadRequestException":
|
|
401
401
|
case "com.amazonaws.applicationinsights#BadRequestException":
|
|
402
|
-
throw await
|
|
402
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
403
403
|
case "InternalServerException":
|
|
404
404
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
405
|
-
throw await
|
|
405
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
406
406
|
case "ResourceNotFoundException":
|
|
407
407
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
408
|
-
throw await
|
|
408
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
409
409
|
case "ValidationException":
|
|
410
410
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
411
|
-
throw await
|
|
411
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
412
412
|
default:
|
|
413
413
|
const parsedBody = parsedOutput.body;
|
|
414
414
|
throwDefaultError({
|
|
@@ -419,20 +419,20 @@ const deserializeAws_json1_1DeleteApplicationCommandError = async (output, conte
|
|
|
419
419
|
});
|
|
420
420
|
}
|
|
421
421
|
};
|
|
422
|
-
export const
|
|
422
|
+
export const de_DeleteComponentCommand = async (output, context) => {
|
|
423
423
|
if (output.statusCode >= 300) {
|
|
424
|
-
return
|
|
424
|
+
return de_DeleteComponentCommandError(output, context);
|
|
425
425
|
}
|
|
426
426
|
const data = await parseBody(output.body, context);
|
|
427
427
|
let contents = {};
|
|
428
|
-
contents =
|
|
428
|
+
contents = de_DeleteComponentResponse(data, context);
|
|
429
429
|
const response = {
|
|
430
430
|
$metadata: deserializeMetadata(output),
|
|
431
431
|
...contents,
|
|
432
432
|
};
|
|
433
433
|
return Promise.resolve(response);
|
|
434
434
|
};
|
|
435
|
-
const
|
|
435
|
+
const de_DeleteComponentCommandError = async (output, context) => {
|
|
436
436
|
const parsedOutput = {
|
|
437
437
|
...output,
|
|
438
438
|
body: await parseErrorBody(output.body, context),
|
|
@@ -441,13 +441,13 @@ const deserializeAws_json1_1DeleteComponentCommandError = async (output, context
|
|
|
441
441
|
switch (errorCode) {
|
|
442
442
|
case "InternalServerException":
|
|
443
443
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
444
|
-
throw await
|
|
444
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
445
445
|
case "ResourceNotFoundException":
|
|
446
446
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
447
|
-
throw await
|
|
447
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
448
448
|
case "ValidationException":
|
|
449
449
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
450
|
-
throw await
|
|
450
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
451
451
|
default:
|
|
452
452
|
const parsedBody = parsedOutput.body;
|
|
453
453
|
throwDefaultError({
|
|
@@ -458,20 +458,20 @@ const deserializeAws_json1_1DeleteComponentCommandError = async (output, context
|
|
|
458
458
|
});
|
|
459
459
|
}
|
|
460
460
|
};
|
|
461
|
-
export const
|
|
461
|
+
export const de_DeleteLogPatternCommand = async (output, context) => {
|
|
462
462
|
if (output.statusCode >= 300) {
|
|
463
|
-
return
|
|
463
|
+
return de_DeleteLogPatternCommandError(output, context);
|
|
464
464
|
}
|
|
465
465
|
const data = await parseBody(output.body, context);
|
|
466
466
|
let contents = {};
|
|
467
|
-
contents =
|
|
467
|
+
contents = de_DeleteLogPatternResponse(data, context);
|
|
468
468
|
const response = {
|
|
469
469
|
$metadata: deserializeMetadata(output),
|
|
470
470
|
...contents,
|
|
471
471
|
};
|
|
472
472
|
return Promise.resolve(response);
|
|
473
473
|
};
|
|
474
|
-
const
|
|
474
|
+
const de_DeleteLogPatternCommandError = async (output, context) => {
|
|
475
475
|
const parsedOutput = {
|
|
476
476
|
...output,
|
|
477
477
|
body: await parseErrorBody(output.body, context),
|
|
@@ -480,16 +480,16 @@ const deserializeAws_json1_1DeleteLogPatternCommandError = async (output, contex
|
|
|
480
480
|
switch (errorCode) {
|
|
481
481
|
case "BadRequestException":
|
|
482
482
|
case "com.amazonaws.applicationinsights#BadRequestException":
|
|
483
|
-
throw await
|
|
483
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
484
484
|
case "InternalServerException":
|
|
485
485
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
486
|
-
throw await
|
|
486
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
487
487
|
case "ResourceNotFoundException":
|
|
488
488
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
489
|
-
throw await
|
|
489
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
490
490
|
case "ValidationException":
|
|
491
491
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
492
|
-
throw await
|
|
492
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
493
493
|
default:
|
|
494
494
|
const parsedBody = parsedOutput.body;
|
|
495
495
|
throwDefaultError({
|
|
@@ -500,20 +500,20 @@ const deserializeAws_json1_1DeleteLogPatternCommandError = async (output, contex
|
|
|
500
500
|
});
|
|
501
501
|
}
|
|
502
502
|
};
|
|
503
|
-
export const
|
|
503
|
+
export const de_DescribeApplicationCommand = async (output, context) => {
|
|
504
504
|
if (output.statusCode >= 300) {
|
|
505
|
-
return
|
|
505
|
+
return de_DescribeApplicationCommandError(output, context);
|
|
506
506
|
}
|
|
507
507
|
const data = await parseBody(output.body, context);
|
|
508
508
|
let contents = {};
|
|
509
|
-
contents =
|
|
509
|
+
contents = de_DescribeApplicationResponse(data, context);
|
|
510
510
|
const response = {
|
|
511
511
|
$metadata: deserializeMetadata(output),
|
|
512
512
|
...contents,
|
|
513
513
|
};
|
|
514
514
|
return Promise.resolve(response);
|
|
515
515
|
};
|
|
516
|
-
const
|
|
516
|
+
const de_DescribeApplicationCommandError = async (output, context) => {
|
|
517
517
|
const parsedOutput = {
|
|
518
518
|
...output,
|
|
519
519
|
body: await parseErrorBody(output.body, context),
|
|
@@ -522,13 +522,13 @@ const deserializeAws_json1_1DescribeApplicationCommandError = async (output, con
|
|
|
522
522
|
switch (errorCode) {
|
|
523
523
|
case "InternalServerException":
|
|
524
524
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
525
|
-
throw await
|
|
525
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
526
526
|
case "ResourceNotFoundException":
|
|
527
527
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
528
|
-
throw await
|
|
528
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
529
529
|
case "ValidationException":
|
|
530
530
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
531
|
-
throw await
|
|
531
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
532
532
|
default:
|
|
533
533
|
const parsedBody = parsedOutput.body;
|
|
534
534
|
throwDefaultError({
|
|
@@ -539,20 +539,20 @@ const deserializeAws_json1_1DescribeApplicationCommandError = async (output, con
|
|
|
539
539
|
});
|
|
540
540
|
}
|
|
541
541
|
};
|
|
542
|
-
export const
|
|
542
|
+
export const de_DescribeComponentCommand = async (output, context) => {
|
|
543
543
|
if (output.statusCode >= 300) {
|
|
544
|
-
return
|
|
544
|
+
return de_DescribeComponentCommandError(output, context);
|
|
545
545
|
}
|
|
546
546
|
const data = await parseBody(output.body, context);
|
|
547
547
|
let contents = {};
|
|
548
|
-
contents =
|
|
548
|
+
contents = de_DescribeComponentResponse(data, context);
|
|
549
549
|
const response = {
|
|
550
550
|
$metadata: deserializeMetadata(output),
|
|
551
551
|
...contents,
|
|
552
552
|
};
|
|
553
553
|
return Promise.resolve(response);
|
|
554
554
|
};
|
|
555
|
-
const
|
|
555
|
+
const de_DescribeComponentCommandError = async (output, context) => {
|
|
556
556
|
const parsedOutput = {
|
|
557
557
|
...output,
|
|
558
558
|
body: await parseErrorBody(output.body, context),
|
|
@@ -561,13 +561,13 @@ const deserializeAws_json1_1DescribeComponentCommandError = async (output, conte
|
|
|
561
561
|
switch (errorCode) {
|
|
562
562
|
case "InternalServerException":
|
|
563
563
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
564
|
-
throw await
|
|
564
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
565
565
|
case "ResourceNotFoundException":
|
|
566
566
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
567
|
-
throw await
|
|
567
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
568
568
|
case "ValidationException":
|
|
569
569
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
570
|
-
throw await
|
|
570
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
571
571
|
default:
|
|
572
572
|
const parsedBody = parsedOutput.body;
|
|
573
573
|
throwDefaultError({
|
|
@@ -578,20 +578,20 @@ const deserializeAws_json1_1DescribeComponentCommandError = async (output, conte
|
|
|
578
578
|
});
|
|
579
579
|
}
|
|
580
580
|
};
|
|
581
|
-
export const
|
|
581
|
+
export const de_DescribeComponentConfigurationCommand = async (output, context) => {
|
|
582
582
|
if (output.statusCode >= 300) {
|
|
583
|
-
return
|
|
583
|
+
return de_DescribeComponentConfigurationCommandError(output, context);
|
|
584
584
|
}
|
|
585
585
|
const data = await parseBody(output.body, context);
|
|
586
586
|
let contents = {};
|
|
587
|
-
contents =
|
|
587
|
+
contents = de_DescribeComponentConfigurationResponse(data, context);
|
|
588
588
|
const response = {
|
|
589
589
|
$metadata: deserializeMetadata(output),
|
|
590
590
|
...contents,
|
|
591
591
|
};
|
|
592
592
|
return Promise.resolve(response);
|
|
593
593
|
};
|
|
594
|
-
const
|
|
594
|
+
const de_DescribeComponentConfigurationCommandError = async (output, context) => {
|
|
595
595
|
const parsedOutput = {
|
|
596
596
|
...output,
|
|
597
597
|
body: await parseErrorBody(output.body, context),
|
|
@@ -600,13 +600,13 @@ const deserializeAws_json1_1DescribeComponentConfigurationCommandError = async (
|
|
|
600
600
|
switch (errorCode) {
|
|
601
601
|
case "InternalServerException":
|
|
602
602
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
603
|
-
throw await
|
|
603
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
604
604
|
case "ResourceNotFoundException":
|
|
605
605
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
606
|
-
throw await
|
|
606
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
607
607
|
case "ValidationException":
|
|
608
608
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
609
|
-
throw await
|
|
609
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
610
610
|
default:
|
|
611
611
|
const parsedBody = parsedOutput.body;
|
|
612
612
|
throwDefaultError({
|
|
@@ -617,20 +617,20 @@ const deserializeAws_json1_1DescribeComponentConfigurationCommandError = async (
|
|
|
617
617
|
});
|
|
618
618
|
}
|
|
619
619
|
};
|
|
620
|
-
export const
|
|
620
|
+
export const de_DescribeComponentConfigurationRecommendationCommand = async (output, context) => {
|
|
621
621
|
if (output.statusCode >= 300) {
|
|
622
|
-
return
|
|
622
|
+
return de_DescribeComponentConfigurationRecommendationCommandError(output, context);
|
|
623
623
|
}
|
|
624
624
|
const data = await parseBody(output.body, context);
|
|
625
625
|
let contents = {};
|
|
626
|
-
contents =
|
|
626
|
+
contents = de_DescribeComponentConfigurationRecommendationResponse(data, context);
|
|
627
627
|
const response = {
|
|
628
628
|
$metadata: deserializeMetadata(output),
|
|
629
629
|
...contents,
|
|
630
630
|
};
|
|
631
631
|
return Promise.resolve(response);
|
|
632
632
|
};
|
|
633
|
-
const
|
|
633
|
+
const de_DescribeComponentConfigurationRecommendationCommandError = async (output, context) => {
|
|
634
634
|
const parsedOutput = {
|
|
635
635
|
...output,
|
|
636
636
|
body: await parseErrorBody(output.body, context),
|
|
@@ -639,13 +639,13 @@ const deserializeAws_json1_1DescribeComponentConfigurationRecommendationCommandE
|
|
|
639
639
|
switch (errorCode) {
|
|
640
640
|
case "InternalServerException":
|
|
641
641
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
642
|
-
throw await
|
|
642
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
643
643
|
case "ResourceNotFoundException":
|
|
644
644
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
645
|
-
throw await
|
|
645
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
646
646
|
case "ValidationException":
|
|
647
647
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
648
|
-
throw await
|
|
648
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
649
649
|
default:
|
|
650
650
|
const parsedBody = parsedOutput.body;
|
|
651
651
|
throwDefaultError({
|
|
@@ -656,20 +656,20 @@ const deserializeAws_json1_1DescribeComponentConfigurationRecommendationCommandE
|
|
|
656
656
|
});
|
|
657
657
|
}
|
|
658
658
|
};
|
|
659
|
-
export const
|
|
659
|
+
export const de_DescribeLogPatternCommand = async (output, context) => {
|
|
660
660
|
if (output.statusCode >= 300) {
|
|
661
|
-
return
|
|
661
|
+
return de_DescribeLogPatternCommandError(output, context);
|
|
662
662
|
}
|
|
663
663
|
const data = await parseBody(output.body, context);
|
|
664
664
|
let contents = {};
|
|
665
|
-
contents =
|
|
665
|
+
contents = de_DescribeLogPatternResponse(data, context);
|
|
666
666
|
const response = {
|
|
667
667
|
$metadata: deserializeMetadata(output),
|
|
668
668
|
...contents,
|
|
669
669
|
};
|
|
670
670
|
return Promise.resolve(response);
|
|
671
671
|
};
|
|
672
|
-
const
|
|
672
|
+
const de_DescribeLogPatternCommandError = async (output, context) => {
|
|
673
673
|
const parsedOutput = {
|
|
674
674
|
...output,
|
|
675
675
|
body: await parseErrorBody(output.body, context),
|
|
@@ -678,13 +678,13 @@ const deserializeAws_json1_1DescribeLogPatternCommandError = async (output, cont
|
|
|
678
678
|
switch (errorCode) {
|
|
679
679
|
case "InternalServerException":
|
|
680
680
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
681
|
-
throw await
|
|
681
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
682
682
|
case "ResourceNotFoundException":
|
|
683
683
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
684
|
-
throw await
|
|
684
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
685
685
|
case "ValidationException":
|
|
686
686
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
687
|
-
throw await
|
|
687
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
688
688
|
default:
|
|
689
689
|
const parsedBody = parsedOutput.body;
|
|
690
690
|
throwDefaultError({
|
|
@@ -695,20 +695,20 @@ const deserializeAws_json1_1DescribeLogPatternCommandError = async (output, cont
|
|
|
695
695
|
});
|
|
696
696
|
}
|
|
697
697
|
};
|
|
698
|
-
export const
|
|
698
|
+
export const de_DescribeObservationCommand = async (output, context) => {
|
|
699
699
|
if (output.statusCode >= 300) {
|
|
700
|
-
return
|
|
700
|
+
return de_DescribeObservationCommandError(output, context);
|
|
701
701
|
}
|
|
702
702
|
const data = await parseBody(output.body, context);
|
|
703
703
|
let contents = {};
|
|
704
|
-
contents =
|
|
704
|
+
contents = de_DescribeObservationResponse(data, context);
|
|
705
705
|
const response = {
|
|
706
706
|
$metadata: deserializeMetadata(output),
|
|
707
707
|
...contents,
|
|
708
708
|
};
|
|
709
709
|
return Promise.resolve(response);
|
|
710
710
|
};
|
|
711
|
-
const
|
|
711
|
+
const de_DescribeObservationCommandError = async (output, context) => {
|
|
712
712
|
const parsedOutput = {
|
|
713
713
|
...output,
|
|
714
714
|
body: await parseErrorBody(output.body, context),
|
|
@@ -717,13 +717,13 @@ const deserializeAws_json1_1DescribeObservationCommandError = async (output, con
|
|
|
717
717
|
switch (errorCode) {
|
|
718
718
|
case "InternalServerException":
|
|
719
719
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
720
|
-
throw await
|
|
720
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
721
721
|
case "ResourceNotFoundException":
|
|
722
722
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
723
|
-
throw await
|
|
723
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
724
724
|
case "ValidationException":
|
|
725
725
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
726
|
-
throw await
|
|
726
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
727
727
|
default:
|
|
728
728
|
const parsedBody = parsedOutput.body;
|
|
729
729
|
throwDefaultError({
|
|
@@ -734,20 +734,20 @@ const deserializeAws_json1_1DescribeObservationCommandError = async (output, con
|
|
|
734
734
|
});
|
|
735
735
|
}
|
|
736
736
|
};
|
|
737
|
-
export const
|
|
737
|
+
export const de_DescribeProblemCommand = async (output, context) => {
|
|
738
738
|
if (output.statusCode >= 300) {
|
|
739
|
-
return
|
|
739
|
+
return de_DescribeProblemCommandError(output, context);
|
|
740
740
|
}
|
|
741
741
|
const data = await parseBody(output.body, context);
|
|
742
742
|
let contents = {};
|
|
743
|
-
contents =
|
|
743
|
+
contents = de_DescribeProblemResponse(data, context);
|
|
744
744
|
const response = {
|
|
745
745
|
$metadata: deserializeMetadata(output),
|
|
746
746
|
...contents,
|
|
747
747
|
};
|
|
748
748
|
return Promise.resolve(response);
|
|
749
749
|
};
|
|
750
|
-
const
|
|
750
|
+
const de_DescribeProblemCommandError = async (output, context) => {
|
|
751
751
|
const parsedOutput = {
|
|
752
752
|
...output,
|
|
753
753
|
body: await parseErrorBody(output.body, context),
|
|
@@ -756,13 +756,13 @@ const deserializeAws_json1_1DescribeProblemCommandError = async (output, context
|
|
|
756
756
|
switch (errorCode) {
|
|
757
757
|
case "InternalServerException":
|
|
758
758
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
759
|
-
throw await
|
|
759
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
760
760
|
case "ResourceNotFoundException":
|
|
761
761
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
762
|
-
throw await
|
|
762
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
763
763
|
case "ValidationException":
|
|
764
764
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
765
|
-
throw await
|
|
765
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
766
766
|
default:
|
|
767
767
|
const parsedBody = parsedOutput.body;
|
|
768
768
|
throwDefaultError({
|
|
@@ -773,20 +773,20 @@ const deserializeAws_json1_1DescribeProblemCommandError = async (output, context
|
|
|
773
773
|
});
|
|
774
774
|
}
|
|
775
775
|
};
|
|
776
|
-
export const
|
|
776
|
+
export const de_DescribeProblemObservationsCommand = async (output, context) => {
|
|
777
777
|
if (output.statusCode >= 300) {
|
|
778
|
-
return
|
|
778
|
+
return de_DescribeProblemObservationsCommandError(output, context);
|
|
779
779
|
}
|
|
780
780
|
const data = await parseBody(output.body, context);
|
|
781
781
|
let contents = {};
|
|
782
|
-
contents =
|
|
782
|
+
contents = de_DescribeProblemObservationsResponse(data, context);
|
|
783
783
|
const response = {
|
|
784
784
|
$metadata: deserializeMetadata(output),
|
|
785
785
|
...contents,
|
|
786
786
|
};
|
|
787
787
|
return Promise.resolve(response);
|
|
788
788
|
};
|
|
789
|
-
const
|
|
789
|
+
const de_DescribeProblemObservationsCommandError = async (output, context) => {
|
|
790
790
|
const parsedOutput = {
|
|
791
791
|
...output,
|
|
792
792
|
body: await parseErrorBody(output.body, context),
|
|
@@ -795,13 +795,13 @@ const deserializeAws_json1_1DescribeProblemObservationsCommandError = async (out
|
|
|
795
795
|
switch (errorCode) {
|
|
796
796
|
case "InternalServerException":
|
|
797
797
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
798
|
-
throw await
|
|
798
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
799
799
|
case "ResourceNotFoundException":
|
|
800
800
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
801
|
-
throw await
|
|
801
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
802
802
|
case "ValidationException":
|
|
803
803
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
804
|
-
throw await
|
|
804
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
805
805
|
default:
|
|
806
806
|
const parsedBody = parsedOutput.body;
|
|
807
807
|
throwDefaultError({
|
|
@@ -812,20 +812,20 @@ const deserializeAws_json1_1DescribeProblemObservationsCommandError = async (out
|
|
|
812
812
|
});
|
|
813
813
|
}
|
|
814
814
|
};
|
|
815
|
-
export const
|
|
815
|
+
export const de_ListApplicationsCommand = async (output, context) => {
|
|
816
816
|
if (output.statusCode >= 300) {
|
|
817
|
-
return
|
|
817
|
+
return de_ListApplicationsCommandError(output, context);
|
|
818
818
|
}
|
|
819
819
|
const data = await parseBody(output.body, context);
|
|
820
820
|
let contents = {};
|
|
821
|
-
contents =
|
|
821
|
+
contents = de_ListApplicationsResponse(data, context);
|
|
822
822
|
const response = {
|
|
823
823
|
$metadata: deserializeMetadata(output),
|
|
824
824
|
...contents,
|
|
825
825
|
};
|
|
826
826
|
return Promise.resolve(response);
|
|
827
827
|
};
|
|
828
|
-
const
|
|
828
|
+
const de_ListApplicationsCommandError = async (output, context) => {
|
|
829
829
|
const parsedOutput = {
|
|
830
830
|
...output,
|
|
831
831
|
body: await parseErrorBody(output.body, context),
|
|
@@ -834,10 +834,10 @@ const deserializeAws_json1_1ListApplicationsCommandError = async (output, contex
|
|
|
834
834
|
switch (errorCode) {
|
|
835
835
|
case "InternalServerException":
|
|
836
836
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
837
|
-
throw await
|
|
837
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
838
838
|
case "ValidationException":
|
|
839
839
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
840
|
-
throw await
|
|
840
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
841
841
|
default:
|
|
842
842
|
const parsedBody = parsedOutput.body;
|
|
843
843
|
throwDefaultError({
|
|
@@ -848,20 +848,20 @@ const deserializeAws_json1_1ListApplicationsCommandError = async (output, contex
|
|
|
848
848
|
});
|
|
849
849
|
}
|
|
850
850
|
};
|
|
851
|
-
export const
|
|
851
|
+
export const de_ListComponentsCommand = async (output, context) => {
|
|
852
852
|
if (output.statusCode >= 300) {
|
|
853
|
-
return
|
|
853
|
+
return de_ListComponentsCommandError(output, context);
|
|
854
854
|
}
|
|
855
855
|
const data = await parseBody(output.body, context);
|
|
856
856
|
let contents = {};
|
|
857
|
-
contents =
|
|
857
|
+
contents = de_ListComponentsResponse(data, context);
|
|
858
858
|
const response = {
|
|
859
859
|
$metadata: deserializeMetadata(output),
|
|
860
860
|
...contents,
|
|
861
861
|
};
|
|
862
862
|
return Promise.resolve(response);
|
|
863
863
|
};
|
|
864
|
-
const
|
|
864
|
+
const de_ListComponentsCommandError = async (output, context) => {
|
|
865
865
|
const parsedOutput = {
|
|
866
866
|
...output,
|
|
867
867
|
body: await parseErrorBody(output.body, context),
|
|
@@ -870,13 +870,13 @@ const deserializeAws_json1_1ListComponentsCommandError = async (output, context)
|
|
|
870
870
|
switch (errorCode) {
|
|
871
871
|
case "InternalServerException":
|
|
872
872
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
873
|
-
throw await
|
|
873
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
874
874
|
case "ResourceNotFoundException":
|
|
875
875
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
876
|
-
throw await
|
|
876
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
877
877
|
case "ValidationException":
|
|
878
878
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
879
|
-
throw await
|
|
879
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
880
880
|
default:
|
|
881
881
|
const parsedBody = parsedOutput.body;
|
|
882
882
|
throwDefaultError({
|
|
@@ -887,20 +887,20 @@ const deserializeAws_json1_1ListComponentsCommandError = async (output, context)
|
|
|
887
887
|
});
|
|
888
888
|
}
|
|
889
889
|
};
|
|
890
|
-
export const
|
|
890
|
+
export const de_ListConfigurationHistoryCommand = async (output, context) => {
|
|
891
891
|
if (output.statusCode >= 300) {
|
|
892
|
-
return
|
|
892
|
+
return de_ListConfigurationHistoryCommandError(output, context);
|
|
893
893
|
}
|
|
894
894
|
const data = await parseBody(output.body, context);
|
|
895
895
|
let contents = {};
|
|
896
|
-
contents =
|
|
896
|
+
contents = de_ListConfigurationHistoryResponse(data, context);
|
|
897
897
|
const response = {
|
|
898
898
|
$metadata: deserializeMetadata(output),
|
|
899
899
|
...contents,
|
|
900
900
|
};
|
|
901
901
|
return Promise.resolve(response);
|
|
902
902
|
};
|
|
903
|
-
const
|
|
903
|
+
const de_ListConfigurationHistoryCommandError = async (output, context) => {
|
|
904
904
|
const parsedOutput = {
|
|
905
905
|
...output,
|
|
906
906
|
body: await parseErrorBody(output.body, context),
|
|
@@ -909,13 +909,13 @@ const deserializeAws_json1_1ListConfigurationHistoryCommandError = async (output
|
|
|
909
909
|
switch (errorCode) {
|
|
910
910
|
case "InternalServerException":
|
|
911
911
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
912
|
-
throw await
|
|
912
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
913
913
|
case "ResourceNotFoundException":
|
|
914
914
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
915
|
-
throw await
|
|
915
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
916
916
|
case "ValidationException":
|
|
917
917
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
918
|
-
throw await
|
|
918
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
919
919
|
default:
|
|
920
920
|
const parsedBody = parsedOutput.body;
|
|
921
921
|
throwDefaultError({
|
|
@@ -926,20 +926,20 @@ const deserializeAws_json1_1ListConfigurationHistoryCommandError = async (output
|
|
|
926
926
|
});
|
|
927
927
|
}
|
|
928
928
|
};
|
|
929
|
-
export const
|
|
929
|
+
export const de_ListLogPatternsCommand = async (output, context) => {
|
|
930
930
|
if (output.statusCode >= 300) {
|
|
931
|
-
return
|
|
931
|
+
return de_ListLogPatternsCommandError(output, context);
|
|
932
932
|
}
|
|
933
933
|
const data = await parseBody(output.body, context);
|
|
934
934
|
let contents = {};
|
|
935
|
-
contents =
|
|
935
|
+
contents = de_ListLogPatternsResponse(data, context);
|
|
936
936
|
const response = {
|
|
937
937
|
$metadata: deserializeMetadata(output),
|
|
938
938
|
...contents,
|
|
939
939
|
};
|
|
940
940
|
return Promise.resolve(response);
|
|
941
941
|
};
|
|
942
|
-
const
|
|
942
|
+
const de_ListLogPatternsCommandError = async (output, context) => {
|
|
943
943
|
const parsedOutput = {
|
|
944
944
|
...output,
|
|
945
945
|
body: await parseErrorBody(output.body, context),
|
|
@@ -948,13 +948,13 @@ const deserializeAws_json1_1ListLogPatternsCommandError = async (output, context
|
|
|
948
948
|
switch (errorCode) {
|
|
949
949
|
case "InternalServerException":
|
|
950
950
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
951
|
-
throw await
|
|
951
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
952
952
|
case "ResourceNotFoundException":
|
|
953
953
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
954
|
-
throw await
|
|
954
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
955
955
|
case "ValidationException":
|
|
956
956
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
957
|
-
throw await
|
|
957
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
958
958
|
default:
|
|
959
959
|
const parsedBody = parsedOutput.body;
|
|
960
960
|
throwDefaultError({
|
|
@@ -965,20 +965,20 @@ const deserializeAws_json1_1ListLogPatternsCommandError = async (output, context
|
|
|
965
965
|
});
|
|
966
966
|
}
|
|
967
967
|
};
|
|
968
|
-
export const
|
|
968
|
+
export const de_ListLogPatternSetsCommand = async (output, context) => {
|
|
969
969
|
if (output.statusCode >= 300) {
|
|
970
|
-
return
|
|
970
|
+
return de_ListLogPatternSetsCommandError(output, context);
|
|
971
971
|
}
|
|
972
972
|
const data = await parseBody(output.body, context);
|
|
973
973
|
let contents = {};
|
|
974
|
-
contents =
|
|
974
|
+
contents = de_ListLogPatternSetsResponse(data, context);
|
|
975
975
|
const response = {
|
|
976
976
|
$metadata: deserializeMetadata(output),
|
|
977
977
|
...contents,
|
|
978
978
|
};
|
|
979
979
|
return Promise.resolve(response);
|
|
980
980
|
};
|
|
981
|
-
const
|
|
981
|
+
const de_ListLogPatternSetsCommandError = async (output, context) => {
|
|
982
982
|
const parsedOutput = {
|
|
983
983
|
...output,
|
|
984
984
|
body: await parseErrorBody(output.body, context),
|
|
@@ -987,13 +987,13 @@ const deserializeAws_json1_1ListLogPatternSetsCommandError = async (output, cont
|
|
|
987
987
|
switch (errorCode) {
|
|
988
988
|
case "InternalServerException":
|
|
989
989
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
990
|
-
throw await
|
|
990
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
991
991
|
case "ResourceNotFoundException":
|
|
992
992
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
993
|
-
throw await
|
|
993
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
994
994
|
case "ValidationException":
|
|
995
995
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
996
|
-
throw await
|
|
996
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
997
997
|
default:
|
|
998
998
|
const parsedBody = parsedOutput.body;
|
|
999
999
|
throwDefaultError({
|
|
@@ -1004,20 +1004,20 @@ const deserializeAws_json1_1ListLogPatternSetsCommandError = async (output, cont
|
|
|
1004
1004
|
});
|
|
1005
1005
|
}
|
|
1006
1006
|
};
|
|
1007
|
-
export const
|
|
1007
|
+
export const de_ListProblemsCommand = async (output, context) => {
|
|
1008
1008
|
if (output.statusCode >= 300) {
|
|
1009
|
-
return
|
|
1009
|
+
return de_ListProblemsCommandError(output, context);
|
|
1010
1010
|
}
|
|
1011
1011
|
const data = await parseBody(output.body, context);
|
|
1012
1012
|
let contents = {};
|
|
1013
|
-
contents =
|
|
1013
|
+
contents = de_ListProblemsResponse(data, context);
|
|
1014
1014
|
const response = {
|
|
1015
1015
|
$metadata: deserializeMetadata(output),
|
|
1016
1016
|
...contents,
|
|
1017
1017
|
};
|
|
1018
1018
|
return Promise.resolve(response);
|
|
1019
1019
|
};
|
|
1020
|
-
const
|
|
1020
|
+
const de_ListProblemsCommandError = async (output, context) => {
|
|
1021
1021
|
const parsedOutput = {
|
|
1022
1022
|
...output,
|
|
1023
1023
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1026,13 +1026,13 @@ const deserializeAws_json1_1ListProblemsCommandError = async (output, context) =
|
|
|
1026
1026
|
switch (errorCode) {
|
|
1027
1027
|
case "InternalServerException":
|
|
1028
1028
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
1029
|
-
throw await
|
|
1029
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1030
1030
|
case "ResourceNotFoundException":
|
|
1031
1031
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1032
|
-
throw await
|
|
1032
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1033
1033
|
case "ValidationException":
|
|
1034
1034
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
1035
|
-
throw await
|
|
1035
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1036
1036
|
default:
|
|
1037
1037
|
const parsedBody = parsedOutput.body;
|
|
1038
1038
|
throwDefaultError({
|
|
@@ -1043,20 +1043,20 @@ const deserializeAws_json1_1ListProblemsCommandError = async (output, context) =
|
|
|
1043
1043
|
});
|
|
1044
1044
|
}
|
|
1045
1045
|
};
|
|
1046
|
-
export const
|
|
1046
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1047
1047
|
if (output.statusCode >= 300) {
|
|
1048
|
-
return
|
|
1048
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1049
1049
|
}
|
|
1050
1050
|
const data = await parseBody(output.body, context);
|
|
1051
1051
|
let contents = {};
|
|
1052
|
-
contents =
|
|
1052
|
+
contents = de_ListTagsForResourceResponse(data, context);
|
|
1053
1053
|
const response = {
|
|
1054
1054
|
$metadata: deserializeMetadata(output),
|
|
1055
1055
|
...contents,
|
|
1056
1056
|
};
|
|
1057
1057
|
return Promise.resolve(response);
|
|
1058
1058
|
};
|
|
1059
|
-
const
|
|
1059
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1060
1060
|
const parsedOutput = {
|
|
1061
1061
|
...output,
|
|
1062
1062
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1065,10 +1065,10 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1065
1065
|
switch (errorCode) {
|
|
1066
1066
|
case "ResourceNotFoundException":
|
|
1067
1067
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1068
|
-
throw await
|
|
1068
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1069
1069
|
case "ValidationException":
|
|
1070
1070
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
1071
|
-
throw await
|
|
1071
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1072
1072
|
default:
|
|
1073
1073
|
const parsedBody = parsedOutput.body;
|
|
1074
1074
|
throwDefaultError({
|
|
@@ -1079,20 +1079,20 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1079
1079
|
});
|
|
1080
1080
|
}
|
|
1081
1081
|
};
|
|
1082
|
-
export const
|
|
1082
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
1083
1083
|
if (output.statusCode >= 300) {
|
|
1084
|
-
return
|
|
1084
|
+
return de_TagResourceCommandError(output, context);
|
|
1085
1085
|
}
|
|
1086
1086
|
const data = await parseBody(output.body, context);
|
|
1087
1087
|
let contents = {};
|
|
1088
|
-
contents =
|
|
1088
|
+
contents = de_TagResourceResponse(data, context);
|
|
1089
1089
|
const response = {
|
|
1090
1090
|
$metadata: deserializeMetadata(output),
|
|
1091
1091
|
...contents,
|
|
1092
1092
|
};
|
|
1093
1093
|
return Promise.resolve(response);
|
|
1094
1094
|
};
|
|
1095
|
-
const
|
|
1095
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1096
1096
|
const parsedOutput = {
|
|
1097
1097
|
...output,
|
|
1098
1098
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1101,13 +1101,13 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1101
1101
|
switch (errorCode) {
|
|
1102
1102
|
case "ResourceNotFoundException":
|
|
1103
1103
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1104
|
-
throw await
|
|
1104
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1105
1105
|
case "TooManyTagsException":
|
|
1106
1106
|
case "com.amazonaws.applicationinsights#TooManyTagsException":
|
|
1107
|
-
throw await
|
|
1107
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1108
1108
|
case "ValidationException":
|
|
1109
1109
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
1110
|
-
throw await
|
|
1110
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1111
1111
|
default:
|
|
1112
1112
|
const parsedBody = parsedOutput.body;
|
|
1113
1113
|
throwDefaultError({
|
|
@@ -1118,20 +1118,20 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1118
1118
|
});
|
|
1119
1119
|
}
|
|
1120
1120
|
};
|
|
1121
|
-
export const
|
|
1121
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
1122
1122
|
if (output.statusCode >= 300) {
|
|
1123
|
-
return
|
|
1123
|
+
return de_UntagResourceCommandError(output, context);
|
|
1124
1124
|
}
|
|
1125
1125
|
const data = await parseBody(output.body, context);
|
|
1126
1126
|
let contents = {};
|
|
1127
|
-
contents =
|
|
1127
|
+
contents = de_UntagResourceResponse(data, context);
|
|
1128
1128
|
const response = {
|
|
1129
1129
|
$metadata: deserializeMetadata(output),
|
|
1130
1130
|
...contents,
|
|
1131
1131
|
};
|
|
1132
1132
|
return Promise.resolve(response);
|
|
1133
1133
|
};
|
|
1134
|
-
const
|
|
1134
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1135
1135
|
const parsedOutput = {
|
|
1136
1136
|
...output,
|
|
1137
1137
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1140,10 +1140,10 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1140
1140
|
switch (errorCode) {
|
|
1141
1141
|
case "ResourceNotFoundException":
|
|
1142
1142
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1143
|
-
throw await
|
|
1143
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1144
1144
|
case "ValidationException":
|
|
1145
1145
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
1146
|
-
throw await
|
|
1146
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1147
1147
|
default:
|
|
1148
1148
|
const parsedBody = parsedOutput.body;
|
|
1149
1149
|
throwDefaultError({
|
|
@@ -1154,20 +1154,20 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1154
1154
|
});
|
|
1155
1155
|
}
|
|
1156
1156
|
};
|
|
1157
|
-
export const
|
|
1157
|
+
export const de_UpdateApplicationCommand = async (output, context) => {
|
|
1158
1158
|
if (output.statusCode >= 300) {
|
|
1159
|
-
return
|
|
1159
|
+
return de_UpdateApplicationCommandError(output, context);
|
|
1160
1160
|
}
|
|
1161
1161
|
const data = await parseBody(output.body, context);
|
|
1162
1162
|
let contents = {};
|
|
1163
|
-
contents =
|
|
1163
|
+
contents = de_UpdateApplicationResponse(data, context);
|
|
1164
1164
|
const response = {
|
|
1165
1165
|
$metadata: deserializeMetadata(output),
|
|
1166
1166
|
...contents,
|
|
1167
1167
|
};
|
|
1168
1168
|
return Promise.resolve(response);
|
|
1169
1169
|
};
|
|
1170
|
-
const
|
|
1170
|
+
const de_UpdateApplicationCommandError = async (output, context) => {
|
|
1171
1171
|
const parsedOutput = {
|
|
1172
1172
|
...output,
|
|
1173
1173
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1176,13 +1176,13 @@ const deserializeAws_json1_1UpdateApplicationCommandError = async (output, conte
|
|
|
1176
1176
|
switch (errorCode) {
|
|
1177
1177
|
case "InternalServerException":
|
|
1178
1178
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
1179
|
-
throw await
|
|
1179
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1180
1180
|
case "ResourceNotFoundException":
|
|
1181
1181
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1182
|
-
throw await
|
|
1182
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1183
1183
|
case "ValidationException":
|
|
1184
1184
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
1185
|
-
throw await
|
|
1185
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1186
1186
|
default:
|
|
1187
1187
|
const parsedBody = parsedOutput.body;
|
|
1188
1188
|
throwDefaultError({
|
|
@@ -1193,20 +1193,20 @@ const deserializeAws_json1_1UpdateApplicationCommandError = async (output, conte
|
|
|
1193
1193
|
});
|
|
1194
1194
|
}
|
|
1195
1195
|
};
|
|
1196
|
-
export const
|
|
1196
|
+
export const de_UpdateComponentCommand = async (output, context) => {
|
|
1197
1197
|
if (output.statusCode >= 300) {
|
|
1198
|
-
return
|
|
1198
|
+
return de_UpdateComponentCommandError(output, context);
|
|
1199
1199
|
}
|
|
1200
1200
|
const data = await parseBody(output.body, context);
|
|
1201
1201
|
let contents = {};
|
|
1202
|
-
contents =
|
|
1202
|
+
contents = de_UpdateComponentResponse(data, context);
|
|
1203
1203
|
const response = {
|
|
1204
1204
|
$metadata: deserializeMetadata(output),
|
|
1205
1205
|
...contents,
|
|
1206
1206
|
};
|
|
1207
1207
|
return Promise.resolve(response);
|
|
1208
1208
|
};
|
|
1209
|
-
const
|
|
1209
|
+
const de_UpdateComponentCommandError = async (output, context) => {
|
|
1210
1210
|
const parsedOutput = {
|
|
1211
1211
|
...output,
|
|
1212
1212
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1215,16 +1215,16 @@ const deserializeAws_json1_1UpdateComponentCommandError = async (output, context
|
|
|
1215
1215
|
switch (errorCode) {
|
|
1216
1216
|
case "InternalServerException":
|
|
1217
1217
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
1218
|
-
throw await
|
|
1218
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1219
1219
|
case "ResourceInUseException":
|
|
1220
1220
|
case "com.amazonaws.applicationinsights#ResourceInUseException":
|
|
1221
|
-
throw await
|
|
1221
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1222
1222
|
case "ResourceNotFoundException":
|
|
1223
1223
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1224
|
-
throw await
|
|
1224
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1225
1225
|
case "ValidationException":
|
|
1226
1226
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
1227
|
-
throw await
|
|
1227
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1228
1228
|
default:
|
|
1229
1229
|
const parsedBody = parsedOutput.body;
|
|
1230
1230
|
throwDefaultError({
|
|
@@ -1235,20 +1235,20 @@ const deserializeAws_json1_1UpdateComponentCommandError = async (output, context
|
|
|
1235
1235
|
});
|
|
1236
1236
|
}
|
|
1237
1237
|
};
|
|
1238
|
-
export const
|
|
1238
|
+
export const de_UpdateComponentConfigurationCommand = async (output, context) => {
|
|
1239
1239
|
if (output.statusCode >= 300) {
|
|
1240
|
-
return
|
|
1240
|
+
return de_UpdateComponentConfigurationCommandError(output, context);
|
|
1241
1241
|
}
|
|
1242
1242
|
const data = await parseBody(output.body, context);
|
|
1243
1243
|
let contents = {};
|
|
1244
|
-
contents =
|
|
1244
|
+
contents = de_UpdateComponentConfigurationResponse(data, context);
|
|
1245
1245
|
const response = {
|
|
1246
1246
|
$metadata: deserializeMetadata(output),
|
|
1247
1247
|
...contents,
|
|
1248
1248
|
};
|
|
1249
1249
|
return Promise.resolve(response);
|
|
1250
1250
|
};
|
|
1251
|
-
const
|
|
1251
|
+
const de_UpdateComponentConfigurationCommandError = async (output, context) => {
|
|
1252
1252
|
const parsedOutput = {
|
|
1253
1253
|
...output,
|
|
1254
1254
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1257,13 +1257,13 @@ const deserializeAws_json1_1UpdateComponentConfigurationCommandError = async (ou
|
|
|
1257
1257
|
switch (errorCode) {
|
|
1258
1258
|
case "InternalServerException":
|
|
1259
1259
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
1260
|
-
throw await
|
|
1260
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1261
1261
|
case "ResourceNotFoundException":
|
|
1262
1262
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1263
|
-
throw await
|
|
1263
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1264
1264
|
case "ValidationException":
|
|
1265
1265
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
1266
|
-
throw await
|
|
1266
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1267
1267
|
default:
|
|
1268
1268
|
const parsedBody = parsedOutput.body;
|
|
1269
1269
|
throwDefaultError({
|
|
@@ -1274,20 +1274,20 @@ const deserializeAws_json1_1UpdateComponentConfigurationCommandError = async (ou
|
|
|
1274
1274
|
});
|
|
1275
1275
|
}
|
|
1276
1276
|
};
|
|
1277
|
-
export const
|
|
1277
|
+
export const de_UpdateLogPatternCommand = async (output, context) => {
|
|
1278
1278
|
if (output.statusCode >= 300) {
|
|
1279
|
-
return
|
|
1279
|
+
return de_UpdateLogPatternCommandError(output, context);
|
|
1280
1280
|
}
|
|
1281
1281
|
const data = await parseBody(output.body, context);
|
|
1282
1282
|
let contents = {};
|
|
1283
|
-
contents =
|
|
1283
|
+
contents = de_UpdateLogPatternResponse(data, context);
|
|
1284
1284
|
const response = {
|
|
1285
1285
|
$metadata: deserializeMetadata(output),
|
|
1286
1286
|
...contents,
|
|
1287
1287
|
};
|
|
1288
1288
|
return Promise.resolve(response);
|
|
1289
1289
|
};
|
|
1290
|
-
const
|
|
1290
|
+
const de_UpdateLogPatternCommandError = async (output, context) => {
|
|
1291
1291
|
const parsedOutput = {
|
|
1292
1292
|
...output,
|
|
1293
1293
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1296,16 +1296,16 @@ const deserializeAws_json1_1UpdateLogPatternCommandError = async (output, contex
|
|
|
1296
1296
|
switch (errorCode) {
|
|
1297
1297
|
case "InternalServerException":
|
|
1298
1298
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
1299
|
-
throw await
|
|
1299
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1300
1300
|
case "ResourceInUseException":
|
|
1301
1301
|
case "com.amazonaws.applicationinsights#ResourceInUseException":
|
|
1302
|
-
throw await
|
|
1302
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1303
1303
|
case "ResourceNotFoundException":
|
|
1304
1304
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1305
|
-
throw await
|
|
1305
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1306
1306
|
case "ValidationException":
|
|
1307
1307
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
1308
|
-
throw await
|
|
1308
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1309
1309
|
default:
|
|
1310
1310
|
const parsedBody = parsedOutput.body;
|
|
1311
1311
|
throwDefaultError({
|
|
@@ -1316,79 +1316,79 @@ const deserializeAws_json1_1UpdateLogPatternCommandError = async (output, contex
|
|
|
1316
1316
|
});
|
|
1317
1317
|
}
|
|
1318
1318
|
};
|
|
1319
|
-
const
|
|
1319
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1320
1320
|
const body = parsedOutput.body;
|
|
1321
|
-
const deserialized =
|
|
1321
|
+
const deserialized = de_AccessDeniedException(body, context);
|
|
1322
1322
|
const exception = new AccessDeniedException({
|
|
1323
1323
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1324
1324
|
...deserialized,
|
|
1325
1325
|
});
|
|
1326
1326
|
return __decorateServiceException(exception, body);
|
|
1327
1327
|
};
|
|
1328
|
-
const
|
|
1328
|
+
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
1329
1329
|
const body = parsedOutput.body;
|
|
1330
|
-
const deserialized =
|
|
1330
|
+
const deserialized = de_BadRequestException(body, context);
|
|
1331
1331
|
const exception = new BadRequestException({
|
|
1332
1332
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1333
1333
|
...deserialized,
|
|
1334
1334
|
});
|
|
1335
1335
|
return __decorateServiceException(exception, body);
|
|
1336
1336
|
};
|
|
1337
|
-
const
|
|
1337
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1338
1338
|
const body = parsedOutput.body;
|
|
1339
|
-
const deserialized =
|
|
1339
|
+
const deserialized = de_InternalServerException(body, context);
|
|
1340
1340
|
const exception = new InternalServerException({
|
|
1341
1341
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1342
1342
|
...deserialized,
|
|
1343
1343
|
});
|
|
1344
1344
|
return __decorateServiceException(exception, body);
|
|
1345
1345
|
};
|
|
1346
|
-
const
|
|
1346
|
+
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1347
1347
|
const body = parsedOutput.body;
|
|
1348
|
-
const deserialized =
|
|
1348
|
+
const deserialized = de_ResourceInUseException(body, context);
|
|
1349
1349
|
const exception = new ResourceInUseException({
|
|
1350
1350
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1351
1351
|
...deserialized,
|
|
1352
1352
|
});
|
|
1353
1353
|
return __decorateServiceException(exception, body);
|
|
1354
1354
|
};
|
|
1355
|
-
const
|
|
1355
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1356
1356
|
const body = parsedOutput.body;
|
|
1357
|
-
const deserialized =
|
|
1357
|
+
const deserialized = de_ResourceNotFoundException(body, context);
|
|
1358
1358
|
const exception = new ResourceNotFoundException({
|
|
1359
1359
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1360
1360
|
...deserialized,
|
|
1361
1361
|
});
|
|
1362
1362
|
return __decorateServiceException(exception, body);
|
|
1363
1363
|
};
|
|
1364
|
-
const
|
|
1364
|
+
const de_TagsAlreadyExistExceptionRes = async (parsedOutput, context) => {
|
|
1365
1365
|
const body = parsedOutput.body;
|
|
1366
|
-
const deserialized =
|
|
1366
|
+
const deserialized = de_TagsAlreadyExistException(body, context);
|
|
1367
1367
|
const exception = new TagsAlreadyExistException({
|
|
1368
1368
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1369
1369
|
...deserialized,
|
|
1370
1370
|
});
|
|
1371
1371
|
return __decorateServiceException(exception, body);
|
|
1372
1372
|
};
|
|
1373
|
-
const
|
|
1373
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1374
1374
|
const body = parsedOutput.body;
|
|
1375
|
-
const deserialized =
|
|
1375
|
+
const deserialized = de_TooManyTagsException(body, context);
|
|
1376
1376
|
const exception = new TooManyTagsException({
|
|
1377
1377
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1378
1378
|
...deserialized,
|
|
1379
1379
|
});
|
|
1380
1380
|
return __decorateServiceException(exception, body);
|
|
1381
1381
|
};
|
|
1382
|
-
const
|
|
1382
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1383
1383
|
const body = parsedOutput.body;
|
|
1384
|
-
const deserialized =
|
|
1384
|
+
const deserialized = de_ValidationException(body, context);
|
|
1385
1385
|
const exception = new ValidationException({
|
|
1386
1386
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1387
1387
|
...deserialized,
|
|
1388
1388
|
});
|
|
1389
1389
|
return __decorateServiceException(exception, body);
|
|
1390
1390
|
};
|
|
1391
|
-
const
|
|
1391
|
+
const se_CreateApplicationRequest = (input, context) => {
|
|
1392
1392
|
return {
|
|
1393
1393
|
...(input.AutoConfigEnabled != null && { AutoConfigEnabled: input.AutoConfigEnabled }),
|
|
1394
1394
|
...(input.AutoCreate != null && { AutoCreate: input.AutoCreate }),
|
|
@@ -1397,17 +1397,17 @@ const serializeAws_json1_1CreateApplicationRequest = (input, context) => {
|
|
|
1397
1397
|
...(input.OpsCenterEnabled != null && { OpsCenterEnabled: input.OpsCenterEnabled }),
|
|
1398
1398
|
...(input.OpsItemSNSTopicArn != null && { OpsItemSNSTopicArn: input.OpsItemSNSTopicArn }),
|
|
1399
1399
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1400
|
-
...(input.Tags != null && { Tags:
|
|
1400
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1401
1401
|
};
|
|
1402
1402
|
};
|
|
1403
|
-
const
|
|
1403
|
+
const se_CreateComponentRequest = (input, context) => {
|
|
1404
1404
|
return {
|
|
1405
1405
|
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1406
1406
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1407
|
-
...(input.ResourceList != null && { ResourceList:
|
|
1407
|
+
...(input.ResourceList != null && { ResourceList: se_ResourceList(input.ResourceList, context) }),
|
|
1408
1408
|
};
|
|
1409
1409
|
};
|
|
1410
|
-
const
|
|
1410
|
+
const se_CreateLogPatternRequest = (input, context) => {
|
|
1411
1411
|
return {
|
|
1412
1412
|
...(input.Pattern != null && { Pattern: input.Pattern }),
|
|
1413
1413
|
...(input.PatternName != null && { PatternName: input.PatternName }),
|
|
@@ -1416,84 +1416,84 @@ const serializeAws_json1_1CreateLogPatternRequest = (input, context) => {
|
|
|
1416
1416
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1417
1417
|
};
|
|
1418
1418
|
};
|
|
1419
|
-
const
|
|
1419
|
+
const se_DeleteApplicationRequest = (input, context) => {
|
|
1420
1420
|
return {
|
|
1421
1421
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1422
1422
|
};
|
|
1423
1423
|
};
|
|
1424
|
-
const
|
|
1424
|
+
const se_DeleteComponentRequest = (input, context) => {
|
|
1425
1425
|
return {
|
|
1426
1426
|
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1427
1427
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1428
1428
|
};
|
|
1429
1429
|
};
|
|
1430
|
-
const
|
|
1430
|
+
const se_DeleteLogPatternRequest = (input, context) => {
|
|
1431
1431
|
return {
|
|
1432
1432
|
...(input.PatternName != null && { PatternName: input.PatternName }),
|
|
1433
1433
|
...(input.PatternSetName != null && { PatternSetName: input.PatternSetName }),
|
|
1434
1434
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1435
1435
|
};
|
|
1436
1436
|
};
|
|
1437
|
-
const
|
|
1437
|
+
const se_DescribeApplicationRequest = (input, context) => {
|
|
1438
1438
|
return {
|
|
1439
1439
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1440
1440
|
};
|
|
1441
1441
|
};
|
|
1442
|
-
const
|
|
1442
|
+
const se_DescribeComponentConfigurationRecommendationRequest = (input, context) => {
|
|
1443
1443
|
return {
|
|
1444
1444
|
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1445
1445
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1446
1446
|
...(input.Tier != null && { Tier: input.Tier }),
|
|
1447
1447
|
};
|
|
1448
1448
|
};
|
|
1449
|
-
const
|
|
1449
|
+
const se_DescribeComponentConfigurationRequest = (input, context) => {
|
|
1450
1450
|
return {
|
|
1451
1451
|
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1452
1452
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1453
1453
|
};
|
|
1454
1454
|
};
|
|
1455
|
-
const
|
|
1455
|
+
const se_DescribeComponentRequest = (input, context) => {
|
|
1456
1456
|
return {
|
|
1457
1457
|
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1458
1458
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1459
1459
|
};
|
|
1460
1460
|
};
|
|
1461
|
-
const
|
|
1461
|
+
const se_DescribeLogPatternRequest = (input, context) => {
|
|
1462
1462
|
return {
|
|
1463
1463
|
...(input.PatternName != null && { PatternName: input.PatternName }),
|
|
1464
1464
|
...(input.PatternSetName != null && { PatternSetName: input.PatternSetName }),
|
|
1465
1465
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1466
1466
|
};
|
|
1467
1467
|
};
|
|
1468
|
-
const
|
|
1468
|
+
const se_DescribeObservationRequest = (input, context) => {
|
|
1469
1469
|
return {
|
|
1470
1470
|
...(input.ObservationId != null && { ObservationId: input.ObservationId }),
|
|
1471
1471
|
};
|
|
1472
1472
|
};
|
|
1473
|
-
const
|
|
1473
|
+
const se_DescribeProblemObservationsRequest = (input, context) => {
|
|
1474
1474
|
return {
|
|
1475
1475
|
...(input.ProblemId != null && { ProblemId: input.ProblemId }),
|
|
1476
1476
|
};
|
|
1477
1477
|
};
|
|
1478
|
-
const
|
|
1478
|
+
const se_DescribeProblemRequest = (input, context) => {
|
|
1479
1479
|
return {
|
|
1480
1480
|
...(input.ProblemId != null && { ProblemId: input.ProblemId }),
|
|
1481
1481
|
};
|
|
1482
1482
|
};
|
|
1483
|
-
const
|
|
1483
|
+
const se_ListApplicationsRequest = (input, context) => {
|
|
1484
1484
|
return {
|
|
1485
1485
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1486
1486
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1487
1487
|
};
|
|
1488
1488
|
};
|
|
1489
|
-
const
|
|
1489
|
+
const se_ListComponentsRequest = (input, context) => {
|
|
1490
1490
|
return {
|
|
1491
1491
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1492
1492
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1493
1493
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1494
1494
|
};
|
|
1495
1495
|
};
|
|
1496
|
-
const
|
|
1496
|
+
const se_ListConfigurationHistoryRequest = (input, context) => {
|
|
1497
1497
|
return {
|
|
1498
1498
|
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
1499
1499
|
...(input.EventStatus != null && { EventStatus: input.EventStatus }),
|
|
@@ -1503,14 +1503,14 @@ const serializeAws_json1_1ListConfigurationHistoryRequest = (input, context) =>
|
|
|
1503
1503
|
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
1504
1504
|
};
|
|
1505
1505
|
};
|
|
1506
|
-
const
|
|
1506
|
+
const se_ListLogPatternSetsRequest = (input, context) => {
|
|
1507
1507
|
return {
|
|
1508
1508
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1509
1509
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1510
1510
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1511
1511
|
};
|
|
1512
1512
|
};
|
|
1513
|
-
const
|
|
1513
|
+
const se_ListLogPatternsRequest = (input, context) => {
|
|
1514
1514
|
return {
|
|
1515
1515
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1516
1516
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
@@ -1518,7 +1518,7 @@ const serializeAws_json1_1ListLogPatternsRequest = (input, context) => {
|
|
|
1518
1518
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1519
1519
|
};
|
|
1520
1520
|
};
|
|
1521
|
-
const
|
|
1521
|
+
const se_ListProblemsRequest = (input, context) => {
|
|
1522
1522
|
return {
|
|
1523
1523
|
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1524
1524
|
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
@@ -1528,51 +1528,51 @@ const serializeAws_json1_1ListProblemsRequest = (input, context) => {
|
|
|
1528
1528
|
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
1529
1529
|
};
|
|
1530
1530
|
};
|
|
1531
|
-
const
|
|
1531
|
+
const se_ListTagsForResourceRequest = (input, context) => {
|
|
1532
1532
|
return {
|
|
1533
1533
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1534
1534
|
};
|
|
1535
1535
|
};
|
|
1536
|
-
const
|
|
1536
|
+
const se_ResourceList = (input, context) => {
|
|
1537
1537
|
return input
|
|
1538
1538
|
.filter((e) => e != null)
|
|
1539
1539
|
.map((entry) => {
|
|
1540
1540
|
return entry;
|
|
1541
1541
|
});
|
|
1542
1542
|
};
|
|
1543
|
-
const
|
|
1543
|
+
const se_Tag = (input, context) => {
|
|
1544
1544
|
return {
|
|
1545
1545
|
...(input.Key != null && { Key: input.Key }),
|
|
1546
1546
|
...(input.Value != null && { Value: input.Value }),
|
|
1547
1547
|
};
|
|
1548
1548
|
};
|
|
1549
|
-
const
|
|
1549
|
+
const se_TagKeyList = (input, context) => {
|
|
1550
1550
|
return input
|
|
1551
1551
|
.filter((e) => e != null)
|
|
1552
1552
|
.map((entry) => {
|
|
1553
1553
|
return entry;
|
|
1554
1554
|
});
|
|
1555
1555
|
};
|
|
1556
|
-
const
|
|
1556
|
+
const se_TagList = (input, context) => {
|
|
1557
1557
|
return input
|
|
1558
1558
|
.filter((e) => e != null)
|
|
1559
1559
|
.map((entry) => {
|
|
1560
|
-
return
|
|
1560
|
+
return se_Tag(entry, context);
|
|
1561
1561
|
});
|
|
1562
1562
|
};
|
|
1563
|
-
const
|
|
1563
|
+
const se_TagResourceRequest = (input, context) => {
|
|
1564
1564
|
return {
|
|
1565
1565
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1566
|
-
...(input.Tags != null && { Tags:
|
|
1566
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1567
1567
|
};
|
|
1568
1568
|
};
|
|
1569
|
-
const
|
|
1569
|
+
const se_UntagResourceRequest = (input, context) => {
|
|
1570
1570
|
return {
|
|
1571
1571
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1572
|
-
...(input.TagKeys != null && { TagKeys:
|
|
1572
|
+
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
1573
1573
|
};
|
|
1574
1574
|
};
|
|
1575
|
-
const
|
|
1575
|
+
const se_UpdateApplicationRequest = (input, context) => {
|
|
1576
1576
|
return {
|
|
1577
1577
|
...(input.AutoConfigEnabled != null && { AutoConfigEnabled: input.AutoConfigEnabled }),
|
|
1578
1578
|
...(input.CWEMonitorEnabled != null && { CWEMonitorEnabled: input.CWEMonitorEnabled }),
|
|
@@ -1582,7 +1582,7 @@ const serializeAws_json1_1UpdateApplicationRequest = (input, context) => {
|
|
|
1582
1582
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1583
1583
|
};
|
|
1584
1584
|
};
|
|
1585
|
-
const
|
|
1585
|
+
const se_UpdateComponentConfigurationRequest = (input, context) => {
|
|
1586
1586
|
return {
|
|
1587
1587
|
...(input.AutoConfigEnabled != null && { AutoConfigEnabled: input.AutoConfigEnabled }),
|
|
1588
1588
|
...(input.ComponentConfiguration != null && { ComponentConfiguration: input.ComponentConfiguration }),
|
|
@@ -1592,15 +1592,15 @@ const serializeAws_json1_1UpdateComponentConfigurationRequest = (input, context)
|
|
|
1592
1592
|
...(input.Tier != null && { Tier: input.Tier }),
|
|
1593
1593
|
};
|
|
1594
1594
|
};
|
|
1595
|
-
const
|
|
1595
|
+
const se_UpdateComponentRequest = (input, context) => {
|
|
1596
1596
|
return {
|
|
1597
1597
|
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1598
1598
|
...(input.NewComponentName != null && { NewComponentName: input.NewComponentName }),
|
|
1599
1599
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1600
|
-
...(input.ResourceList != null && { ResourceList:
|
|
1600
|
+
...(input.ResourceList != null && { ResourceList: se_ResourceList(input.ResourceList, context) }),
|
|
1601
1601
|
};
|
|
1602
1602
|
};
|
|
1603
|
-
const
|
|
1603
|
+
const se_UpdateLogPatternRequest = (input, context) => {
|
|
1604
1604
|
return {
|
|
1605
1605
|
...(input.Pattern != null && { Pattern: input.Pattern }),
|
|
1606
1606
|
...(input.PatternName != null && { PatternName: input.PatternName }),
|
|
@@ -1609,36 +1609,34 @@ const serializeAws_json1_1UpdateLogPatternRequest = (input, context) => {
|
|
|
1609
1609
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1610
1610
|
};
|
|
1611
1611
|
};
|
|
1612
|
-
const
|
|
1612
|
+
const de_AccessDeniedException = (output, context) => {
|
|
1613
1613
|
return {
|
|
1614
1614
|
Message: __expectString(output.Message),
|
|
1615
1615
|
};
|
|
1616
1616
|
};
|
|
1617
|
-
const
|
|
1617
|
+
const de_ApplicationComponent = (output, context) => {
|
|
1618
1618
|
return {
|
|
1619
1619
|
ComponentName: __expectString(output.ComponentName),
|
|
1620
1620
|
ComponentRemarks: __expectString(output.ComponentRemarks),
|
|
1621
|
-
DetectedWorkload: output.DetectedWorkload != null
|
|
1622
|
-
? deserializeAws_json1_1DetectedWorkload(output.DetectedWorkload, context)
|
|
1623
|
-
: undefined,
|
|
1621
|
+
DetectedWorkload: output.DetectedWorkload != null ? de_DetectedWorkload(output.DetectedWorkload, context) : undefined,
|
|
1624
1622
|
Monitor: __expectBoolean(output.Monitor),
|
|
1625
1623
|
OsType: __expectString(output.OsType),
|
|
1626
1624
|
ResourceType: __expectString(output.ResourceType),
|
|
1627
1625
|
Tier: __expectString(output.Tier),
|
|
1628
1626
|
};
|
|
1629
1627
|
};
|
|
1630
|
-
const
|
|
1628
|
+
const de_ApplicationComponentList = (output, context) => {
|
|
1631
1629
|
const retVal = (output || [])
|
|
1632
1630
|
.filter((e) => e != null)
|
|
1633
1631
|
.map((entry) => {
|
|
1634
1632
|
if (entry === null) {
|
|
1635
1633
|
return null;
|
|
1636
1634
|
}
|
|
1637
|
-
return
|
|
1635
|
+
return de_ApplicationComponent(entry, context);
|
|
1638
1636
|
});
|
|
1639
1637
|
return retVal;
|
|
1640
1638
|
};
|
|
1641
|
-
const
|
|
1639
|
+
const de_ApplicationInfo = (output, context) => {
|
|
1642
1640
|
return {
|
|
1643
1641
|
AutoConfigEnabled: __expectBoolean(output.AutoConfigEnabled),
|
|
1644
1642
|
CWEMonitorEnabled: __expectBoolean(output.CWEMonitorEnabled),
|
|
@@ -1650,23 +1648,23 @@ const deserializeAws_json1_1ApplicationInfo = (output, context) => {
|
|
|
1650
1648
|
ResourceGroupName: __expectString(output.ResourceGroupName),
|
|
1651
1649
|
};
|
|
1652
1650
|
};
|
|
1653
|
-
const
|
|
1651
|
+
const de_ApplicationInfoList = (output, context) => {
|
|
1654
1652
|
const retVal = (output || [])
|
|
1655
1653
|
.filter((e) => e != null)
|
|
1656
1654
|
.map((entry) => {
|
|
1657
1655
|
if (entry === null) {
|
|
1658
1656
|
return null;
|
|
1659
1657
|
}
|
|
1660
|
-
return
|
|
1658
|
+
return de_ApplicationInfo(entry, context);
|
|
1661
1659
|
});
|
|
1662
1660
|
return retVal;
|
|
1663
1661
|
};
|
|
1664
|
-
const
|
|
1662
|
+
const de_BadRequestException = (output, context) => {
|
|
1665
1663
|
return {
|
|
1666
1664
|
Message: __expectString(output.Message),
|
|
1667
1665
|
};
|
|
1668
1666
|
};
|
|
1669
|
-
const
|
|
1667
|
+
const de_ConfigurationEvent = (output, context) => {
|
|
1670
1668
|
return {
|
|
1671
1669
|
EventDetail: __expectString(output.EventDetail),
|
|
1672
1670
|
EventResourceName: __expectString(output.EventResourceName),
|
|
@@ -1676,102 +1674,94 @@ const deserializeAws_json1_1ConfigurationEvent = (output, context) => {
|
|
|
1676
1674
|
MonitoredResourceARN: __expectString(output.MonitoredResourceARN),
|
|
1677
1675
|
};
|
|
1678
1676
|
};
|
|
1679
|
-
const
|
|
1677
|
+
const de_ConfigurationEventList = (output, context) => {
|
|
1680
1678
|
const retVal = (output || [])
|
|
1681
1679
|
.filter((e) => e != null)
|
|
1682
1680
|
.map((entry) => {
|
|
1683
1681
|
if (entry === null) {
|
|
1684
1682
|
return null;
|
|
1685
1683
|
}
|
|
1686
|
-
return
|
|
1684
|
+
return de_ConfigurationEvent(entry, context);
|
|
1687
1685
|
});
|
|
1688
1686
|
return retVal;
|
|
1689
1687
|
};
|
|
1690
|
-
const
|
|
1688
|
+
const de_CreateApplicationResponse = (output, context) => {
|
|
1691
1689
|
return {
|
|
1692
|
-
ApplicationInfo: output.ApplicationInfo != null
|
|
1693
|
-
? deserializeAws_json1_1ApplicationInfo(output.ApplicationInfo, context)
|
|
1694
|
-
: undefined,
|
|
1690
|
+
ApplicationInfo: output.ApplicationInfo != null ? de_ApplicationInfo(output.ApplicationInfo, context) : undefined,
|
|
1695
1691
|
};
|
|
1696
1692
|
};
|
|
1697
|
-
const
|
|
1693
|
+
const de_CreateComponentResponse = (output, context) => {
|
|
1698
1694
|
return {};
|
|
1699
1695
|
};
|
|
1700
|
-
const
|
|
1696
|
+
const de_CreateLogPatternResponse = (output, context) => {
|
|
1701
1697
|
return {
|
|
1702
|
-
LogPattern: output.LogPattern != null ?
|
|
1698
|
+
LogPattern: output.LogPattern != null ? de_LogPattern(output.LogPattern, context) : undefined,
|
|
1703
1699
|
ResourceGroupName: __expectString(output.ResourceGroupName),
|
|
1704
1700
|
};
|
|
1705
1701
|
};
|
|
1706
|
-
const
|
|
1702
|
+
const de_DeleteApplicationResponse = (output, context) => {
|
|
1707
1703
|
return {};
|
|
1708
1704
|
};
|
|
1709
|
-
const
|
|
1705
|
+
const de_DeleteComponentResponse = (output, context) => {
|
|
1710
1706
|
return {};
|
|
1711
1707
|
};
|
|
1712
|
-
const
|
|
1708
|
+
const de_DeleteLogPatternResponse = (output, context) => {
|
|
1713
1709
|
return {};
|
|
1714
1710
|
};
|
|
1715
|
-
const
|
|
1711
|
+
const de_DescribeApplicationResponse = (output, context) => {
|
|
1716
1712
|
return {
|
|
1717
|
-
ApplicationInfo: output.ApplicationInfo != null
|
|
1718
|
-
? deserializeAws_json1_1ApplicationInfo(output.ApplicationInfo, context)
|
|
1719
|
-
: undefined,
|
|
1713
|
+
ApplicationInfo: output.ApplicationInfo != null ? de_ApplicationInfo(output.ApplicationInfo, context) : undefined,
|
|
1720
1714
|
};
|
|
1721
1715
|
};
|
|
1722
|
-
const
|
|
1716
|
+
const de_DescribeComponentConfigurationRecommendationResponse = (output, context) => {
|
|
1723
1717
|
return {
|
|
1724
1718
|
ComponentConfiguration: __expectString(output.ComponentConfiguration),
|
|
1725
1719
|
};
|
|
1726
1720
|
};
|
|
1727
|
-
const
|
|
1721
|
+
const de_DescribeComponentConfigurationResponse = (output, context) => {
|
|
1728
1722
|
return {
|
|
1729
1723
|
ComponentConfiguration: __expectString(output.ComponentConfiguration),
|
|
1730
1724
|
Monitor: __expectBoolean(output.Monitor),
|
|
1731
1725
|
Tier: __expectString(output.Tier),
|
|
1732
1726
|
};
|
|
1733
1727
|
};
|
|
1734
|
-
const
|
|
1728
|
+
const de_DescribeComponentResponse = (output, context) => {
|
|
1735
1729
|
return {
|
|
1736
|
-
ApplicationComponent: output.ApplicationComponent != null
|
|
1737
|
-
|
|
1738
|
-
: undefined,
|
|
1739
|
-
ResourceList: output.ResourceList != null ? deserializeAws_json1_1ResourceList(output.ResourceList, context) : undefined,
|
|
1730
|
+
ApplicationComponent: output.ApplicationComponent != null ? de_ApplicationComponent(output.ApplicationComponent, context) : undefined,
|
|
1731
|
+
ResourceList: output.ResourceList != null ? de_ResourceList(output.ResourceList, context) : undefined,
|
|
1740
1732
|
};
|
|
1741
1733
|
};
|
|
1742
|
-
const
|
|
1734
|
+
const de_DescribeLogPatternResponse = (output, context) => {
|
|
1743
1735
|
return {
|
|
1744
|
-
LogPattern: output.LogPattern != null ?
|
|
1736
|
+
LogPattern: output.LogPattern != null ? de_LogPattern(output.LogPattern, context) : undefined,
|
|
1745
1737
|
ResourceGroupName: __expectString(output.ResourceGroupName),
|
|
1746
1738
|
};
|
|
1747
1739
|
};
|
|
1748
|
-
const
|
|
1740
|
+
const de_DescribeObservationResponse = (output, context) => {
|
|
1749
1741
|
return {
|
|
1750
|
-
Observation: output.Observation != null ?
|
|
1742
|
+
Observation: output.Observation != null ? de_Observation(output.Observation, context) : undefined,
|
|
1751
1743
|
};
|
|
1752
1744
|
};
|
|
1753
|
-
const
|
|
1745
|
+
const de_DescribeProblemObservationsResponse = (output, context) => {
|
|
1754
1746
|
return {
|
|
1755
|
-
RelatedObservations: output.RelatedObservations != null
|
|
1756
|
-
? deserializeAws_json1_1RelatedObservations(output.RelatedObservations, context)
|
|
1757
|
-
: undefined,
|
|
1747
|
+
RelatedObservations: output.RelatedObservations != null ? de_RelatedObservations(output.RelatedObservations, context) : undefined,
|
|
1758
1748
|
};
|
|
1759
1749
|
};
|
|
1760
|
-
const
|
|
1750
|
+
const de_DescribeProblemResponse = (output, context) => {
|
|
1761
1751
|
return {
|
|
1762
|
-
Problem: output.Problem != null ?
|
|
1752
|
+
Problem: output.Problem != null ? de_Problem(output.Problem, context) : undefined,
|
|
1763
1753
|
};
|
|
1764
1754
|
};
|
|
1765
|
-
const
|
|
1755
|
+
const de_DetectedWorkload = (output, context) => {
|
|
1766
1756
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1767
1757
|
if (value === null) {
|
|
1768
1758
|
return acc;
|
|
1769
1759
|
}
|
|
1770
|
-
acc[key] =
|
|
1760
|
+
acc[key] = de_WorkloadMetaData(value, context);
|
|
1771
1761
|
return acc;
|
|
1772
1762
|
}, {});
|
|
1773
1763
|
};
|
|
1774
|
-
const
|
|
1764
|
+
const de_Feedback = (output, context) => {
|
|
1775
1765
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1776
1766
|
if (value === null) {
|
|
1777
1767
|
return acc;
|
|
@@ -1780,62 +1770,58 @@ const deserializeAws_json1_1Feedback = (output, context) => {
|
|
|
1780
1770
|
return acc;
|
|
1781
1771
|
}, {});
|
|
1782
1772
|
};
|
|
1783
|
-
const
|
|
1773
|
+
const de_InternalServerException = (output, context) => {
|
|
1784
1774
|
return {
|
|
1785
1775
|
Message: __expectString(output.Message),
|
|
1786
1776
|
};
|
|
1787
1777
|
};
|
|
1788
|
-
const
|
|
1778
|
+
const de_ListApplicationsResponse = (output, context) => {
|
|
1789
1779
|
return {
|
|
1790
|
-
ApplicationInfoList: output.ApplicationInfoList != null
|
|
1791
|
-
? deserializeAws_json1_1ApplicationInfoList(output.ApplicationInfoList, context)
|
|
1792
|
-
: undefined,
|
|
1780
|
+
ApplicationInfoList: output.ApplicationInfoList != null ? de_ApplicationInfoList(output.ApplicationInfoList, context) : undefined,
|
|
1793
1781
|
NextToken: __expectString(output.NextToken),
|
|
1794
1782
|
};
|
|
1795
1783
|
};
|
|
1796
|
-
const
|
|
1784
|
+
const de_ListComponentsResponse = (output, context) => {
|
|
1797
1785
|
return {
|
|
1798
1786
|
ApplicationComponentList: output.ApplicationComponentList != null
|
|
1799
|
-
?
|
|
1787
|
+
? de_ApplicationComponentList(output.ApplicationComponentList, context)
|
|
1800
1788
|
: undefined,
|
|
1801
1789
|
NextToken: __expectString(output.NextToken),
|
|
1802
1790
|
};
|
|
1803
1791
|
};
|
|
1804
|
-
const
|
|
1792
|
+
const de_ListConfigurationHistoryResponse = (output, context) => {
|
|
1805
1793
|
return {
|
|
1806
|
-
EventList: output.EventList != null ?
|
|
1794
|
+
EventList: output.EventList != null ? de_ConfigurationEventList(output.EventList, context) : undefined,
|
|
1807
1795
|
NextToken: __expectString(output.NextToken),
|
|
1808
1796
|
};
|
|
1809
1797
|
};
|
|
1810
|
-
const
|
|
1798
|
+
const de_ListLogPatternSetsResponse = (output, context) => {
|
|
1811
1799
|
return {
|
|
1812
|
-
LogPatternSets: output.LogPatternSets != null
|
|
1813
|
-
? deserializeAws_json1_1LogPatternSetList(output.LogPatternSets, context)
|
|
1814
|
-
: undefined,
|
|
1800
|
+
LogPatternSets: output.LogPatternSets != null ? de_LogPatternSetList(output.LogPatternSets, context) : undefined,
|
|
1815
1801
|
NextToken: __expectString(output.NextToken),
|
|
1816
1802
|
ResourceGroupName: __expectString(output.ResourceGroupName),
|
|
1817
1803
|
};
|
|
1818
1804
|
};
|
|
1819
|
-
const
|
|
1805
|
+
const de_ListLogPatternsResponse = (output, context) => {
|
|
1820
1806
|
return {
|
|
1821
|
-
LogPatterns: output.LogPatterns != null ?
|
|
1807
|
+
LogPatterns: output.LogPatterns != null ? de_LogPatternList(output.LogPatterns, context) : undefined,
|
|
1822
1808
|
NextToken: __expectString(output.NextToken),
|
|
1823
1809
|
ResourceGroupName: __expectString(output.ResourceGroupName),
|
|
1824
1810
|
};
|
|
1825
1811
|
};
|
|
1826
|
-
const
|
|
1812
|
+
const de_ListProblemsResponse = (output, context) => {
|
|
1827
1813
|
return {
|
|
1828
1814
|
NextToken: __expectString(output.NextToken),
|
|
1829
|
-
ProblemList: output.ProblemList != null ?
|
|
1815
|
+
ProblemList: output.ProblemList != null ? de_ProblemList(output.ProblemList, context) : undefined,
|
|
1830
1816
|
ResourceGroupName: __expectString(output.ResourceGroupName),
|
|
1831
1817
|
};
|
|
1832
1818
|
};
|
|
1833
|
-
const
|
|
1819
|
+
const de_ListTagsForResourceResponse = (output, context) => {
|
|
1834
1820
|
return {
|
|
1835
|
-
Tags: output.Tags != null ?
|
|
1821
|
+
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
1836
1822
|
};
|
|
1837
1823
|
};
|
|
1838
|
-
const
|
|
1824
|
+
const de_LogPattern = (output, context) => {
|
|
1839
1825
|
return {
|
|
1840
1826
|
Pattern: __expectString(output.Pattern),
|
|
1841
1827
|
PatternName: __expectString(output.PatternName),
|
|
@@ -1843,18 +1829,18 @@ const deserializeAws_json1_1LogPattern = (output, context) => {
|
|
|
1843
1829
|
Rank: __expectInt32(output.Rank),
|
|
1844
1830
|
};
|
|
1845
1831
|
};
|
|
1846
|
-
const
|
|
1832
|
+
const de_LogPatternList = (output, context) => {
|
|
1847
1833
|
const retVal = (output || [])
|
|
1848
1834
|
.filter((e) => e != null)
|
|
1849
1835
|
.map((entry) => {
|
|
1850
1836
|
if (entry === null) {
|
|
1851
1837
|
return null;
|
|
1852
1838
|
}
|
|
1853
|
-
return
|
|
1839
|
+
return de_LogPattern(entry, context);
|
|
1854
1840
|
});
|
|
1855
1841
|
return retVal;
|
|
1856
1842
|
};
|
|
1857
|
-
const
|
|
1843
|
+
const de_LogPatternSetList = (output, context) => {
|
|
1858
1844
|
const retVal = (output || [])
|
|
1859
1845
|
.filter((e) => e != null)
|
|
1860
1846
|
.map((entry) => {
|
|
@@ -1865,7 +1851,7 @@ const deserializeAws_json1_1LogPatternSetList = (output, context) => {
|
|
|
1865
1851
|
});
|
|
1866
1852
|
return retVal;
|
|
1867
1853
|
};
|
|
1868
|
-
const
|
|
1854
|
+
const de_Observation = (output, context) => {
|
|
1869
1855
|
return {
|
|
1870
1856
|
CloudWatchEventDetailType: __expectString(output.CloudWatchEventDetailType),
|
|
1871
1857
|
CloudWatchEventId: __expectString(output.CloudWatchEventId),
|
|
@@ -1914,22 +1900,22 @@ const deserializeAws_json1_1Observation = (output, context) => {
|
|
|
1914
1900
|
XRayThrottlePercent: __expectInt32(output.XRayThrottlePercent),
|
|
1915
1901
|
};
|
|
1916
1902
|
};
|
|
1917
|
-
const
|
|
1903
|
+
const de_ObservationList = (output, context) => {
|
|
1918
1904
|
const retVal = (output || [])
|
|
1919
1905
|
.filter((e) => e != null)
|
|
1920
1906
|
.map((entry) => {
|
|
1921
1907
|
if (entry === null) {
|
|
1922
1908
|
return null;
|
|
1923
1909
|
}
|
|
1924
|
-
return
|
|
1910
|
+
return de_Observation(entry, context);
|
|
1925
1911
|
});
|
|
1926
1912
|
return retVal;
|
|
1927
1913
|
};
|
|
1928
|
-
const
|
|
1914
|
+
const de_Problem = (output, context) => {
|
|
1929
1915
|
return {
|
|
1930
1916
|
AffectedResource: __expectString(output.AffectedResource),
|
|
1931
1917
|
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
1932
|
-
Feedback: output.Feedback != null ?
|
|
1918
|
+
Feedback: output.Feedback != null ? de_Feedback(output.Feedback, context) : undefined,
|
|
1933
1919
|
Id: __expectString(output.Id),
|
|
1934
1920
|
Insights: __expectString(output.Insights),
|
|
1935
1921
|
LastRecurrenceTime: output.LastRecurrenceTime != null
|
|
@@ -1943,30 +1929,28 @@ const deserializeAws_json1_1Problem = (output, context) => {
|
|
|
1943
1929
|
Title: __expectString(output.Title),
|
|
1944
1930
|
};
|
|
1945
1931
|
};
|
|
1946
|
-
const
|
|
1932
|
+
const de_ProblemList = (output, context) => {
|
|
1947
1933
|
const retVal = (output || [])
|
|
1948
1934
|
.filter((e) => e != null)
|
|
1949
1935
|
.map((entry) => {
|
|
1950
1936
|
if (entry === null) {
|
|
1951
1937
|
return null;
|
|
1952
1938
|
}
|
|
1953
|
-
return
|
|
1939
|
+
return de_Problem(entry, context);
|
|
1954
1940
|
});
|
|
1955
1941
|
return retVal;
|
|
1956
1942
|
};
|
|
1957
|
-
const
|
|
1943
|
+
const de_RelatedObservations = (output, context) => {
|
|
1958
1944
|
return {
|
|
1959
|
-
ObservationList: output.ObservationList != null
|
|
1960
|
-
? deserializeAws_json1_1ObservationList(output.ObservationList, context)
|
|
1961
|
-
: undefined,
|
|
1945
|
+
ObservationList: output.ObservationList != null ? de_ObservationList(output.ObservationList, context) : undefined,
|
|
1962
1946
|
};
|
|
1963
1947
|
};
|
|
1964
|
-
const
|
|
1948
|
+
const de_ResourceInUseException = (output, context) => {
|
|
1965
1949
|
return {
|
|
1966
1950
|
Message: __expectString(output.Message),
|
|
1967
1951
|
};
|
|
1968
1952
|
};
|
|
1969
|
-
const
|
|
1953
|
+
const de_ResourceList = (output, context) => {
|
|
1970
1954
|
const retVal = (output || [])
|
|
1971
1955
|
.filter((e) => e != null)
|
|
1972
1956
|
.map((entry) => {
|
|
@@ -1977,70 +1961,68 @@ const deserializeAws_json1_1ResourceList = (output, context) => {
|
|
|
1977
1961
|
});
|
|
1978
1962
|
return retVal;
|
|
1979
1963
|
};
|
|
1980
|
-
const
|
|
1964
|
+
const de_ResourceNotFoundException = (output, context) => {
|
|
1981
1965
|
return {
|
|
1982
1966
|
Message: __expectString(output.Message),
|
|
1983
1967
|
};
|
|
1984
1968
|
};
|
|
1985
|
-
const
|
|
1969
|
+
const de_Tag = (output, context) => {
|
|
1986
1970
|
return {
|
|
1987
1971
|
Key: __expectString(output.Key),
|
|
1988
1972
|
Value: __expectString(output.Value),
|
|
1989
1973
|
};
|
|
1990
1974
|
};
|
|
1991
|
-
const
|
|
1975
|
+
const de_TagList = (output, context) => {
|
|
1992
1976
|
const retVal = (output || [])
|
|
1993
1977
|
.filter((e) => e != null)
|
|
1994
1978
|
.map((entry) => {
|
|
1995
1979
|
if (entry === null) {
|
|
1996
1980
|
return null;
|
|
1997
1981
|
}
|
|
1998
|
-
return
|
|
1982
|
+
return de_Tag(entry, context);
|
|
1999
1983
|
});
|
|
2000
1984
|
return retVal;
|
|
2001
1985
|
};
|
|
2002
|
-
const
|
|
1986
|
+
const de_TagResourceResponse = (output, context) => {
|
|
2003
1987
|
return {};
|
|
2004
1988
|
};
|
|
2005
|
-
const
|
|
1989
|
+
const de_TagsAlreadyExistException = (output, context) => {
|
|
2006
1990
|
return {
|
|
2007
1991
|
Message: __expectString(output.Message),
|
|
2008
1992
|
};
|
|
2009
1993
|
};
|
|
2010
|
-
const
|
|
1994
|
+
const de_TooManyTagsException = (output, context) => {
|
|
2011
1995
|
return {
|
|
2012
1996
|
Message: __expectString(output.Message),
|
|
2013
1997
|
ResourceName: __expectString(output.ResourceName),
|
|
2014
1998
|
};
|
|
2015
1999
|
};
|
|
2016
|
-
const
|
|
2000
|
+
const de_UntagResourceResponse = (output, context) => {
|
|
2017
2001
|
return {};
|
|
2018
2002
|
};
|
|
2019
|
-
const
|
|
2003
|
+
const de_UpdateApplicationResponse = (output, context) => {
|
|
2020
2004
|
return {
|
|
2021
|
-
ApplicationInfo: output.ApplicationInfo != null
|
|
2022
|
-
? deserializeAws_json1_1ApplicationInfo(output.ApplicationInfo, context)
|
|
2023
|
-
: undefined,
|
|
2005
|
+
ApplicationInfo: output.ApplicationInfo != null ? de_ApplicationInfo(output.ApplicationInfo, context) : undefined,
|
|
2024
2006
|
};
|
|
2025
2007
|
};
|
|
2026
|
-
const
|
|
2008
|
+
const de_UpdateComponentConfigurationResponse = (output, context) => {
|
|
2027
2009
|
return {};
|
|
2028
2010
|
};
|
|
2029
|
-
const
|
|
2011
|
+
const de_UpdateComponentResponse = (output, context) => {
|
|
2030
2012
|
return {};
|
|
2031
2013
|
};
|
|
2032
|
-
const
|
|
2014
|
+
const de_UpdateLogPatternResponse = (output, context) => {
|
|
2033
2015
|
return {
|
|
2034
|
-
LogPattern: output.LogPattern != null ?
|
|
2016
|
+
LogPattern: output.LogPattern != null ? de_LogPattern(output.LogPattern, context) : undefined,
|
|
2035
2017
|
ResourceGroupName: __expectString(output.ResourceGroupName),
|
|
2036
2018
|
};
|
|
2037
2019
|
};
|
|
2038
|
-
const
|
|
2020
|
+
const de_ValidationException = (output, context) => {
|
|
2039
2021
|
return {
|
|
2040
2022
|
Message: __expectString(output.Message),
|
|
2041
2023
|
};
|
|
2042
2024
|
};
|
|
2043
|
-
const
|
|
2025
|
+
const de_WorkloadMetaData = (output, context) => {
|
|
2044
2026
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2045
2027
|
if (value === null) {
|
|
2046
2028
|
return acc;
|