@aws-sdk/client-application-insights 3.306.0 → 3.310.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 +35 -35
|
@@ -1,296 +1,296 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_ListTagsForResourceCommand = exports.de_ListProblemsCommand = exports.de_ListLogPatternSetsCommand = exports.de_ListLogPatternsCommand = exports.de_ListConfigurationHistoryCommand = exports.de_ListComponentsCommand = exports.de_ListApplicationsCommand = exports.de_DescribeProblemObservationsCommand = exports.de_DescribeProblemCommand = exports.de_DescribeObservationCommand = exports.de_DescribeLogPatternCommand = exports.de_DescribeComponentConfigurationRecommendationCommand = exports.de_DescribeComponentConfigurationCommand = exports.de_DescribeComponentCommand = exports.de_DescribeApplicationCommand = exports.de_DeleteLogPatternCommand = exports.de_DeleteComponentCommand = exports.de_DeleteApplicationCommand = exports.de_CreateLogPatternCommand = exports.de_CreateComponentCommand = exports.de_CreateApplicationCommand = exports.se_UpdateLogPatternCommand = exports.se_UpdateComponentConfigurationCommand = exports.se_UpdateComponentCommand = exports.se_UpdateApplicationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_ListTagsForResourceCommand = exports.se_ListProblemsCommand = exports.se_ListLogPatternSetsCommand = exports.se_ListLogPatternsCommand = exports.se_ListConfigurationHistoryCommand = exports.se_ListComponentsCommand = exports.se_ListApplicationsCommand = exports.se_DescribeProblemObservationsCommand = exports.se_DescribeProblemCommand = exports.se_DescribeObservationCommand = exports.se_DescribeLogPatternCommand = exports.se_DescribeComponentConfigurationRecommendationCommand = exports.se_DescribeComponentConfigurationCommand = exports.se_DescribeComponentCommand = exports.se_DescribeApplicationCommand = exports.se_DeleteLogPatternCommand = exports.se_DeleteComponentCommand = exports.se_DeleteApplicationCommand = exports.se_CreateLogPatternCommand = exports.se_CreateComponentCommand = exports.se_CreateApplicationCommand = void 0;
|
|
4
|
+
exports.de_UpdateLogPatternCommand = exports.de_UpdateComponentConfigurationCommand = exports.de_UpdateComponentCommand = exports.de_UpdateApplicationCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const ApplicationInsightsServiceException_1 = require("../models/ApplicationInsightsServiceException");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
|
-
const
|
|
9
|
+
const se_CreateApplicationCommand = async (input, context) => {
|
|
10
10
|
const headers = {
|
|
11
11
|
"content-type": "application/x-amz-json-1.1",
|
|
12
12
|
"x-amz-target": "EC2WindowsBarleyService.CreateApplication",
|
|
13
13
|
};
|
|
14
14
|
let body;
|
|
15
|
-
body = JSON.stringify(
|
|
15
|
+
body = JSON.stringify(se_CreateApplicationRequest(input, context));
|
|
16
16
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
17
|
};
|
|
18
|
-
exports.
|
|
19
|
-
const
|
|
18
|
+
exports.se_CreateApplicationCommand = se_CreateApplicationCommand;
|
|
19
|
+
const se_CreateComponentCommand = async (input, context) => {
|
|
20
20
|
const headers = {
|
|
21
21
|
"content-type": "application/x-amz-json-1.1",
|
|
22
22
|
"x-amz-target": "EC2WindowsBarleyService.CreateComponent",
|
|
23
23
|
};
|
|
24
24
|
let body;
|
|
25
|
-
body = JSON.stringify(
|
|
25
|
+
body = JSON.stringify(se_CreateComponentRequest(input, context));
|
|
26
26
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
27
27
|
};
|
|
28
|
-
exports.
|
|
29
|
-
const
|
|
28
|
+
exports.se_CreateComponentCommand = se_CreateComponentCommand;
|
|
29
|
+
const se_CreateLogPatternCommand = async (input, context) => {
|
|
30
30
|
const headers = {
|
|
31
31
|
"content-type": "application/x-amz-json-1.1",
|
|
32
32
|
"x-amz-target": "EC2WindowsBarleyService.CreateLogPattern",
|
|
33
33
|
};
|
|
34
34
|
let body;
|
|
35
|
-
body = JSON.stringify(
|
|
35
|
+
body = JSON.stringify(se_CreateLogPatternRequest(input, context));
|
|
36
36
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
37
37
|
};
|
|
38
|
-
exports.
|
|
39
|
-
const
|
|
38
|
+
exports.se_CreateLogPatternCommand = se_CreateLogPatternCommand;
|
|
39
|
+
const se_DeleteApplicationCommand = async (input, context) => {
|
|
40
40
|
const headers = {
|
|
41
41
|
"content-type": "application/x-amz-json-1.1",
|
|
42
42
|
"x-amz-target": "EC2WindowsBarleyService.DeleteApplication",
|
|
43
43
|
};
|
|
44
44
|
let body;
|
|
45
|
-
body = JSON.stringify(
|
|
45
|
+
body = JSON.stringify(se_DeleteApplicationRequest(input, context));
|
|
46
46
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
47
|
};
|
|
48
|
-
exports.
|
|
49
|
-
const
|
|
48
|
+
exports.se_DeleteApplicationCommand = se_DeleteApplicationCommand;
|
|
49
|
+
const se_DeleteComponentCommand = async (input, context) => {
|
|
50
50
|
const headers = {
|
|
51
51
|
"content-type": "application/x-amz-json-1.1",
|
|
52
52
|
"x-amz-target": "EC2WindowsBarleyService.DeleteComponent",
|
|
53
53
|
};
|
|
54
54
|
let body;
|
|
55
|
-
body = JSON.stringify(
|
|
55
|
+
body = JSON.stringify(se_DeleteComponentRequest(input, context));
|
|
56
56
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
57
57
|
};
|
|
58
|
-
exports.
|
|
59
|
-
const
|
|
58
|
+
exports.se_DeleteComponentCommand = se_DeleteComponentCommand;
|
|
59
|
+
const se_DeleteLogPatternCommand = async (input, context) => {
|
|
60
60
|
const headers = {
|
|
61
61
|
"content-type": "application/x-amz-json-1.1",
|
|
62
62
|
"x-amz-target": "EC2WindowsBarleyService.DeleteLogPattern",
|
|
63
63
|
};
|
|
64
64
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
65
|
+
body = JSON.stringify(se_DeleteLogPatternRequest(input, context));
|
|
66
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
67
|
};
|
|
68
|
-
exports.
|
|
69
|
-
const
|
|
68
|
+
exports.se_DeleteLogPatternCommand = se_DeleteLogPatternCommand;
|
|
69
|
+
const se_DescribeApplicationCommand = async (input, context) => {
|
|
70
70
|
const headers = {
|
|
71
71
|
"content-type": "application/x-amz-json-1.1",
|
|
72
72
|
"x-amz-target": "EC2WindowsBarleyService.DescribeApplication",
|
|
73
73
|
};
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify(se_DescribeApplicationRequest(input, context));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
|
-
exports.
|
|
79
|
-
const
|
|
78
|
+
exports.se_DescribeApplicationCommand = se_DescribeApplicationCommand;
|
|
79
|
+
const se_DescribeComponentCommand = async (input, context) => {
|
|
80
80
|
const headers = {
|
|
81
81
|
"content-type": "application/x-amz-json-1.1",
|
|
82
82
|
"x-amz-target": "EC2WindowsBarleyService.DescribeComponent",
|
|
83
83
|
};
|
|
84
84
|
let body;
|
|
85
|
-
body = JSON.stringify(
|
|
85
|
+
body = JSON.stringify(se_DescribeComponentRequest(input, context));
|
|
86
86
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
87
87
|
};
|
|
88
|
-
exports.
|
|
89
|
-
const
|
|
88
|
+
exports.se_DescribeComponentCommand = se_DescribeComponentCommand;
|
|
89
|
+
const se_DescribeComponentConfigurationCommand = async (input, context) => {
|
|
90
90
|
const headers = {
|
|
91
91
|
"content-type": "application/x-amz-json-1.1",
|
|
92
92
|
"x-amz-target": "EC2WindowsBarleyService.DescribeComponentConfiguration",
|
|
93
93
|
};
|
|
94
94
|
let body;
|
|
95
|
-
body = JSON.stringify(
|
|
95
|
+
body = JSON.stringify(se_DescribeComponentConfigurationRequest(input, context));
|
|
96
96
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
97
97
|
};
|
|
98
|
-
exports.
|
|
99
|
-
const
|
|
98
|
+
exports.se_DescribeComponentConfigurationCommand = se_DescribeComponentConfigurationCommand;
|
|
99
|
+
const se_DescribeComponentConfigurationRecommendationCommand = async (input, context) => {
|
|
100
100
|
const headers = {
|
|
101
101
|
"content-type": "application/x-amz-json-1.1",
|
|
102
102
|
"x-amz-target": "EC2WindowsBarleyService.DescribeComponentConfigurationRecommendation",
|
|
103
103
|
};
|
|
104
104
|
let body;
|
|
105
|
-
body = JSON.stringify(
|
|
105
|
+
body = JSON.stringify(se_DescribeComponentConfigurationRecommendationRequest(input, context));
|
|
106
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
107
|
};
|
|
108
|
-
exports.
|
|
109
|
-
const
|
|
108
|
+
exports.se_DescribeComponentConfigurationRecommendationCommand = se_DescribeComponentConfigurationRecommendationCommand;
|
|
109
|
+
const se_DescribeLogPatternCommand = async (input, context) => {
|
|
110
110
|
const headers = {
|
|
111
111
|
"content-type": "application/x-amz-json-1.1",
|
|
112
112
|
"x-amz-target": "EC2WindowsBarleyService.DescribeLogPattern",
|
|
113
113
|
};
|
|
114
114
|
let body;
|
|
115
|
-
body = JSON.stringify(
|
|
115
|
+
body = JSON.stringify(se_DescribeLogPatternRequest(input, context));
|
|
116
116
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
117
117
|
};
|
|
118
|
-
exports.
|
|
119
|
-
const
|
|
118
|
+
exports.se_DescribeLogPatternCommand = se_DescribeLogPatternCommand;
|
|
119
|
+
const se_DescribeObservationCommand = async (input, context) => {
|
|
120
120
|
const headers = {
|
|
121
121
|
"content-type": "application/x-amz-json-1.1",
|
|
122
122
|
"x-amz-target": "EC2WindowsBarleyService.DescribeObservation",
|
|
123
123
|
};
|
|
124
124
|
let body;
|
|
125
|
-
body = JSON.stringify(
|
|
125
|
+
body = JSON.stringify(se_DescribeObservationRequest(input, context));
|
|
126
126
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
127
127
|
};
|
|
128
|
-
exports.
|
|
129
|
-
const
|
|
128
|
+
exports.se_DescribeObservationCommand = se_DescribeObservationCommand;
|
|
129
|
+
const se_DescribeProblemCommand = async (input, context) => {
|
|
130
130
|
const headers = {
|
|
131
131
|
"content-type": "application/x-amz-json-1.1",
|
|
132
132
|
"x-amz-target": "EC2WindowsBarleyService.DescribeProblem",
|
|
133
133
|
};
|
|
134
134
|
let body;
|
|
135
|
-
body = JSON.stringify(
|
|
135
|
+
body = JSON.stringify(se_DescribeProblemRequest(input, context));
|
|
136
136
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
137
|
};
|
|
138
|
-
exports.
|
|
139
|
-
const
|
|
138
|
+
exports.se_DescribeProblemCommand = se_DescribeProblemCommand;
|
|
139
|
+
const se_DescribeProblemObservationsCommand = async (input, context) => {
|
|
140
140
|
const headers = {
|
|
141
141
|
"content-type": "application/x-amz-json-1.1",
|
|
142
142
|
"x-amz-target": "EC2WindowsBarleyService.DescribeProblemObservations",
|
|
143
143
|
};
|
|
144
144
|
let body;
|
|
145
|
-
body = JSON.stringify(
|
|
145
|
+
body = JSON.stringify(se_DescribeProblemObservationsRequest(input, context));
|
|
146
146
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
147
147
|
};
|
|
148
|
-
exports.
|
|
149
|
-
const
|
|
148
|
+
exports.se_DescribeProblemObservationsCommand = se_DescribeProblemObservationsCommand;
|
|
149
|
+
const se_ListApplicationsCommand = async (input, context) => {
|
|
150
150
|
const headers = {
|
|
151
151
|
"content-type": "application/x-amz-json-1.1",
|
|
152
152
|
"x-amz-target": "EC2WindowsBarleyService.ListApplications",
|
|
153
153
|
};
|
|
154
154
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
155
|
+
body = JSON.stringify(se_ListApplicationsRequest(input, context));
|
|
156
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
157
|
};
|
|
158
|
-
exports.
|
|
159
|
-
const
|
|
158
|
+
exports.se_ListApplicationsCommand = se_ListApplicationsCommand;
|
|
159
|
+
const se_ListComponentsCommand = async (input, context) => {
|
|
160
160
|
const headers = {
|
|
161
161
|
"content-type": "application/x-amz-json-1.1",
|
|
162
162
|
"x-amz-target": "EC2WindowsBarleyService.ListComponents",
|
|
163
163
|
};
|
|
164
164
|
let body;
|
|
165
|
-
body = JSON.stringify(
|
|
165
|
+
body = JSON.stringify(se_ListComponentsRequest(input, context));
|
|
166
166
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
167
|
};
|
|
168
|
-
exports.
|
|
169
|
-
const
|
|
168
|
+
exports.se_ListComponentsCommand = se_ListComponentsCommand;
|
|
169
|
+
const se_ListConfigurationHistoryCommand = async (input, context) => {
|
|
170
170
|
const headers = {
|
|
171
171
|
"content-type": "application/x-amz-json-1.1",
|
|
172
172
|
"x-amz-target": "EC2WindowsBarleyService.ListConfigurationHistory",
|
|
173
173
|
};
|
|
174
174
|
let body;
|
|
175
|
-
body = JSON.stringify(
|
|
175
|
+
body = JSON.stringify(se_ListConfigurationHistoryRequest(input, context));
|
|
176
176
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
177
177
|
};
|
|
178
|
-
exports.
|
|
179
|
-
const
|
|
178
|
+
exports.se_ListConfigurationHistoryCommand = se_ListConfigurationHistoryCommand;
|
|
179
|
+
const se_ListLogPatternsCommand = async (input, context) => {
|
|
180
180
|
const headers = {
|
|
181
181
|
"content-type": "application/x-amz-json-1.1",
|
|
182
182
|
"x-amz-target": "EC2WindowsBarleyService.ListLogPatterns",
|
|
183
183
|
};
|
|
184
184
|
let body;
|
|
185
|
-
body = JSON.stringify(
|
|
185
|
+
body = JSON.stringify(se_ListLogPatternsRequest(input, context));
|
|
186
186
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
187
187
|
};
|
|
188
|
-
exports.
|
|
189
|
-
const
|
|
188
|
+
exports.se_ListLogPatternsCommand = se_ListLogPatternsCommand;
|
|
189
|
+
const se_ListLogPatternSetsCommand = async (input, context) => {
|
|
190
190
|
const headers = {
|
|
191
191
|
"content-type": "application/x-amz-json-1.1",
|
|
192
192
|
"x-amz-target": "EC2WindowsBarleyService.ListLogPatternSets",
|
|
193
193
|
};
|
|
194
194
|
let body;
|
|
195
|
-
body = JSON.stringify(
|
|
195
|
+
body = JSON.stringify(se_ListLogPatternSetsRequest(input, context));
|
|
196
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
197
|
};
|
|
198
|
-
exports.
|
|
199
|
-
const
|
|
198
|
+
exports.se_ListLogPatternSetsCommand = se_ListLogPatternSetsCommand;
|
|
199
|
+
const se_ListProblemsCommand = async (input, context) => {
|
|
200
200
|
const headers = {
|
|
201
201
|
"content-type": "application/x-amz-json-1.1",
|
|
202
202
|
"x-amz-target": "EC2WindowsBarleyService.ListProblems",
|
|
203
203
|
};
|
|
204
204
|
let body;
|
|
205
|
-
body = JSON.stringify(
|
|
205
|
+
body = JSON.stringify(se_ListProblemsRequest(input, context));
|
|
206
206
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
207
207
|
};
|
|
208
|
-
exports.
|
|
209
|
-
const
|
|
208
|
+
exports.se_ListProblemsCommand = se_ListProblemsCommand;
|
|
209
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
210
210
|
const headers = {
|
|
211
211
|
"content-type": "application/x-amz-json-1.1",
|
|
212
212
|
"x-amz-target": "EC2WindowsBarleyService.ListTagsForResource",
|
|
213
213
|
};
|
|
214
214
|
let body;
|
|
215
|
-
body = JSON.stringify(
|
|
215
|
+
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
216
216
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
217
|
};
|
|
218
|
-
exports.
|
|
219
|
-
const
|
|
218
|
+
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
219
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
220
220
|
const headers = {
|
|
221
221
|
"content-type": "application/x-amz-json-1.1",
|
|
222
222
|
"x-amz-target": "EC2WindowsBarleyService.TagResource",
|
|
223
223
|
};
|
|
224
224
|
let body;
|
|
225
|
-
body = JSON.stringify(
|
|
225
|
+
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
226
226
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
227
|
};
|
|
228
|
-
exports.
|
|
229
|
-
const
|
|
228
|
+
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
229
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
230
230
|
const headers = {
|
|
231
231
|
"content-type": "application/x-amz-json-1.1",
|
|
232
232
|
"x-amz-target": "EC2WindowsBarleyService.UntagResource",
|
|
233
233
|
};
|
|
234
234
|
let body;
|
|
235
|
-
body = JSON.stringify(
|
|
235
|
+
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
236
236
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
237
237
|
};
|
|
238
|
-
exports.
|
|
239
|
-
const
|
|
238
|
+
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
239
|
+
const se_UpdateApplicationCommand = async (input, context) => {
|
|
240
240
|
const headers = {
|
|
241
241
|
"content-type": "application/x-amz-json-1.1",
|
|
242
242
|
"x-amz-target": "EC2WindowsBarleyService.UpdateApplication",
|
|
243
243
|
};
|
|
244
244
|
let body;
|
|
245
|
-
body = JSON.stringify(
|
|
245
|
+
body = JSON.stringify(se_UpdateApplicationRequest(input, context));
|
|
246
246
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
247
|
};
|
|
248
|
-
exports.
|
|
249
|
-
const
|
|
248
|
+
exports.se_UpdateApplicationCommand = se_UpdateApplicationCommand;
|
|
249
|
+
const se_UpdateComponentCommand = async (input, context) => {
|
|
250
250
|
const headers = {
|
|
251
251
|
"content-type": "application/x-amz-json-1.1",
|
|
252
252
|
"x-amz-target": "EC2WindowsBarleyService.UpdateComponent",
|
|
253
253
|
};
|
|
254
254
|
let body;
|
|
255
|
-
body = JSON.stringify(
|
|
255
|
+
body = JSON.stringify(se_UpdateComponentRequest(input, context));
|
|
256
256
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
257
|
};
|
|
258
|
-
exports.
|
|
259
|
-
const
|
|
258
|
+
exports.se_UpdateComponentCommand = se_UpdateComponentCommand;
|
|
259
|
+
const se_UpdateComponentConfigurationCommand = async (input, context) => {
|
|
260
260
|
const headers = {
|
|
261
261
|
"content-type": "application/x-amz-json-1.1",
|
|
262
262
|
"x-amz-target": "EC2WindowsBarleyService.UpdateComponentConfiguration",
|
|
263
263
|
};
|
|
264
264
|
let body;
|
|
265
|
-
body = JSON.stringify(
|
|
265
|
+
body = JSON.stringify(se_UpdateComponentConfigurationRequest(input, context));
|
|
266
266
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
267
267
|
};
|
|
268
|
-
exports.
|
|
269
|
-
const
|
|
268
|
+
exports.se_UpdateComponentConfigurationCommand = se_UpdateComponentConfigurationCommand;
|
|
269
|
+
const se_UpdateLogPatternCommand = async (input, context) => {
|
|
270
270
|
const headers = {
|
|
271
271
|
"content-type": "application/x-amz-json-1.1",
|
|
272
272
|
"x-amz-target": "EC2WindowsBarleyService.UpdateLogPattern",
|
|
273
273
|
};
|
|
274
274
|
let body;
|
|
275
|
-
body = JSON.stringify(
|
|
275
|
+
body = JSON.stringify(se_UpdateLogPatternRequest(input, context));
|
|
276
276
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
277
277
|
};
|
|
278
|
-
exports.
|
|
279
|
-
const
|
|
278
|
+
exports.se_UpdateLogPatternCommand = se_UpdateLogPatternCommand;
|
|
279
|
+
const de_CreateApplicationCommand = async (output, context) => {
|
|
280
280
|
if (output.statusCode >= 300) {
|
|
281
|
-
return
|
|
281
|
+
return de_CreateApplicationCommandError(output, context);
|
|
282
282
|
}
|
|
283
283
|
const data = await parseBody(output.body, context);
|
|
284
284
|
let contents = {};
|
|
285
|
-
contents =
|
|
285
|
+
contents = de_CreateApplicationResponse(data, context);
|
|
286
286
|
const response = {
|
|
287
287
|
$metadata: deserializeMetadata(output),
|
|
288
288
|
...contents,
|
|
289
289
|
};
|
|
290
290
|
return Promise.resolve(response);
|
|
291
291
|
};
|
|
292
|
-
exports.
|
|
293
|
-
const
|
|
292
|
+
exports.de_CreateApplicationCommand = de_CreateApplicationCommand;
|
|
293
|
+
const de_CreateApplicationCommandError = async (output, context) => {
|
|
294
294
|
const parsedOutput = {
|
|
295
295
|
...output,
|
|
296
296
|
body: await parseErrorBody(output.body, context),
|
|
@@ -299,22 +299,22 @@ const deserializeAws_json1_1CreateApplicationCommandError = async (output, conte
|
|
|
299
299
|
switch (errorCode) {
|
|
300
300
|
case "AccessDeniedException":
|
|
301
301
|
case "com.amazonaws.applicationinsights#AccessDeniedException":
|
|
302
|
-
throw await
|
|
302
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
303
303
|
case "InternalServerException":
|
|
304
304
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
305
|
-
throw await
|
|
305
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
306
306
|
case "ResourceInUseException":
|
|
307
307
|
case "com.amazonaws.applicationinsights#ResourceInUseException":
|
|
308
|
-
throw await
|
|
308
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
309
309
|
case "ResourceNotFoundException":
|
|
310
310
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
311
|
-
throw await
|
|
311
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
312
312
|
case "TagsAlreadyExistException":
|
|
313
313
|
case "com.amazonaws.applicationinsights#TagsAlreadyExistException":
|
|
314
|
-
throw await
|
|
314
|
+
throw await de_TagsAlreadyExistExceptionRes(parsedOutput, context);
|
|
315
315
|
case "ValidationException":
|
|
316
316
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
317
|
-
throw await
|
|
317
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
318
318
|
default:
|
|
319
319
|
const parsedBody = parsedOutput.body;
|
|
320
320
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -325,21 +325,21 @@ const deserializeAws_json1_1CreateApplicationCommandError = async (output, conte
|
|
|
325
325
|
});
|
|
326
326
|
}
|
|
327
327
|
};
|
|
328
|
-
const
|
|
328
|
+
const de_CreateComponentCommand = async (output, context) => {
|
|
329
329
|
if (output.statusCode >= 300) {
|
|
330
|
-
return
|
|
330
|
+
return de_CreateComponentCommandError(output, context);
|
|
331
331
|
}
|
|
332
332
|
const data = await parseBody(output.body, context);
|
|
333
333
|
let contents = {};
|
|
334
|
-
contents =
|
|
334
|
+
contents = de_CreateComponentResponse(data, context);
|
|
335
335
|
const response = {
|
|
336
336
|
$metadata: deserializeMetadata(output),
|
|
337
337
|
...contents,
|
|
338
338
|
};
|
|
339
339
|
return Promise.resolve(response);
|
|
340
340
|
};
|
|
341
|
-
exports.
|
|
342
|
-
const
|
|
341
|
+
exports.de_CreateComponentCommand = de_CreateComponentCommand;
|
|
342
|
+
const de_CreateComponentCommandError = async (output, context) => {
|
|
343
343
|
const parsedOutput = {
|
|
344
344
|
...output,
|
|
345
345
|
body: await parseErrorBody(output.body, context),
|
|
@@ -348,16 +348,16 @@ const deserializeAws_json1_1CreateComponentCommandError = async (output, context
|
|
|
348
348
|
switch (errorCode) {
|
|
349
349
|
case "InternalServerException":
|
|
350
350
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
351
|
-
throw await
|
|
351
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
352
352
|
case "ResourceInUseException":
|
|
353
353
|
case "com.amazonaws.applicationinsights#ResourceInUseException":
|
|
354
|
-
throw await
|
|
354
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
355
355
|
case "ResourceNotFoundException":
|
|
356
356
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
357
|
-
throw await
|
|
357
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
358
358
|
case "ValidationException":
|
|
359
359
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
360
|
-
throw await
|
|
360
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
361
361
|
default:
|
|
362
362
|
const parsedBody = parsedOutput.body;
|
|
363
363
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -368,21 +368,21 @@ const deserializeAws_json1_1CreateComponentCommandError = async (output, context
|
|
|
368
368
|
});
|
|
369
369
|
}
|
|
370
370
|
};
|
|
371
|
-
const
|
|
371
|
+
const de_CreateLogPatternCommand = async (output, context) => {
|
|
372
372
|
if (output.statusCode >= 300) {
|
|
373
|
-
return
|
|
373
|
+
return de_CreateLogPatternCommandError(output, context);
|
|
374
374
|
}
|
|
375
375
|
const data = await parseBody(output.body, context);
|
|
376
376
|
let contents = {};
|
|
377
|
-
contents =
|
|
377
|
+
contents = de_CreateLogPatternResponse(data, context);
|
|
378
378
|
const response = {
|
|
379
379
|
$metadata: deserializeMetadata(output),
|
|
380
380
|
...contents,
|
|
381
381
|
};
|
|
382
382
|
return Promise.resolve(response);
|
|
383
383
|
};
|
|
384
|
-
exports.
|
|
385
|
-
const
|
|
384
|
+
exports.de_CreateLogPatternCommand = de_CreateLogPatternCommand;
|
|
385
|
+
const de_CreateLogPatternCommandError = async (output, context) => {
|
|
386
386
|
const parsedOutput = {
|
|
387
387
|
...output,
|
|
388
388
|
body: await parseErrorBody(output.body, context),
|
|
@@ -391,16 +391,16 @@ const deserializeAws_json1_1CreateLogPatternCommandError = async (output, contex
|
|
|
391
391
|
switch (errorCode) {
|
|
392
392
|
case "InternalServerException":
|
|
393
393
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
394
|
-
throw await
|
|
394
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
395
395
|
case "ResourceInUseException":
|
|
396
396
|
case "com.amazonaws.applicationinsights#ResourceInUseException":
|
|
397
|
-
throw await
|
|
397
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
398
398
|
case "ResourceNotFoundException":
|
|
399
399
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
400
|
-
throw await
|
|
400
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
401
401
|
case "ValidationException":
|
|
402
402
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
403
|
-
throw await
|
|
403
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
404
404
|
default:
|
|
405
405
|
const parsedBody = parsedOutput.body;
|
|
406
406
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -411,21 +411,21 @@ const deserializeAws_json1_1CreateLogPatternCommandError = async (output, contex
|
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
};
|
|
414
|
-
const
|
|
414
|
+
const de_DeleteApplicationCommand = async (output, context) => {
|
|
415
415
|
if (output.statusCode >= 300) {
|
|
416
|
-
return
|
|
416
|
+
return de_DeleteApplicationCommandError(output, context);
|
|
417
417
|
}
|
|
418
418
|
const data = await parseBody(output.body, context);
|
|
419
419
|
let contents = {};
|
|
420
|
-
contents =
|
|
420
|
+
contents = de_DeleteApplicationResponse(data, context);
|
|
421
421
|
const response = {
|
|
422
422
|
$metadata: deserializeMetadata(output),
|
|
423
423
|
...contents,
|
|
424
424
|
};
|
|
425
425
|
return Promise.resolve(response);
|
|
426
426
|
};
|
|
427
|
-
exports.
|
|
428
|
-
const
|
|
427
|
+
exports.de_DeleteApplicationCommand = de_DeleteApplicationCommand;
|
|
428
|
+
const de_DeleteApplicationCommandError = async (output, context) => {
|
|
429
429
|
const parsedOutput = {
|
|
430
430
|
...output,
|
|
431
431
|
body: await parseErrorBody(output.body, context),
|
|
@@ -434,16 +434,16 @@ const deserializeAws_json1_1DeleteApplicationCommandError = async (output, conte
|
|
|
434
434
|
switch (errorCode) {
|
|
435
435
|
case "BadRequestException":
|
|
436
436
|
case "com.amazonaws.applicationinsights#BadRequestException":
|
|
437
|
-
throw await
|
|
437
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
438
438
|
case "InternalServerException":
|
|
439
439
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
440
|
-
throw await
|
|
440
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
441
441
|
case "ResourceNotFoundException":
|
|
442
442
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
443
|
-
throw await
|
|
443
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
444
444
|
case "ValidationException":
|
|
445
445
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
446
|
-
throw await
|
|
446
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
447
447
|
default:
|
|
448
448
|
const parsedBody = parsedOutput.body;
|
|
449
449
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -454,21 +454,21 @@ const deserializeAws_json1_1DeleteApplicationCommandError = async (output, conte
|
|
|
454
454
|
});
|
|
455
455
|
}
|
|
456
456
|
};
|
|
457
|
-
const
|
|
457
|
+
const de_DeleteComponentCommand = async (output, context) => {
|
|
458
458
|
if (output.statusCode >= 300) {
|
|
459
|
-
return
|
|
459
|
+
return de_DeleteComponentCommandError(output, context);
|
|
460
460
|
}
|
|
461
461
|
const data = await parseBody(output.body, context);
|
|
462
462
|
let contents = {};
|
|
463
|
-
contents =
|
|
463
|
+
contents = de_DeleteComponentResponse(data, context);
|
|
464
464
|
const response = {
|
|
465
465
|
$metadata: deserializeMetadata(output),
|
|
466
466
|
...contents,
|
|
467
467
|
};
|
|
468
468
|
return Promise.resolve(response);
|
|
469
469
|
};
|
|
470
|
-
exports.
|
|
471
|
-
const
|
|
470
|
+
exports.de_DeleteComponentCommand = de_DeleteComponentCommand;
|
|
471
|
+
const de_DeleteComponentCommandError = async (output, context) => {
|
|
472
472
|
const parsedOutput = {
|
|
473
473
|
...output,
|
|
474
474
|
body: await parseErrorBody(output.body, context),
|
|
@@ -477,13 +477,13 @@ const deserializeAws_json1_1DeleteComponentCommandError = async (output, context
|
|
|
477
477
|
switch (errorCode) {
|
|
478
478
|
case "InternalServerException":
|
|
479
479
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
480
|
-
throw await
|
|
480
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
481
481
|
case "ResourceNotFoundException":
|
|
482
482
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
483
|
-
throw await
|
|
483
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
484
484
|
case "ValidationException":
|
|
485
485
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
486
|
-
throw await
|
|
486
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
487
487
|
default:
|
|
488
488
|
const parsedBody = parsedOutput.body;
|
|
489
489
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -494,21 +494,21 @@ const deserializeAws_json1_1DeleteComponentCommandError = async (output, context
|
|
|
494
494
|
});
|
|
495
495
|
}
|
|
496
496
|
};
|
|
497
|
-
const
|
|
497
|
+
const de_DeleteLogPatternCommand = async (output, context) => {
|
|
498
498
|
if (output.statusCode >= 300) {
|
|
499
|
-
return
|
|
499
|
+
return de_DeleteLogPatternCommandError(output, context);
|
|
500
500
|
}
|
|
501
501
|
const data = await parseBody(output.body, context);
|
|
502
502
|
let contents = {};
|
|
503
|
-
contents =
|
|
503
|
+
contents = de_DeleteLogPatternResponse(data, context);
|
|
504
504
|
const response = {
|
|
505
505
|
$metadata: deserializeMetadata(output),
|
|
506
506
|
...contents,
|
|
507
507
|
};
|
|
508
508
|
return Promise.resolve(response);
|
|
509
509
|
};
|
|
510
|
-
exports.
|
|
511
|
-
const
|
|
510
|
+
exports.de_DeleteLogPatternCommand = de_DeleteLogPatternCommand;
|
|
511
|
+
const de_DeleteLogPatternCommandError = async (output, context) => {
|
|
512
512
|
const parsedOutput = {
|
|
513
513
|
...output,
|
|
514
514
|
body: await parseErrorBody(output.body, context),
|
|
@@ -517,16 +517,16 @@ const deserializeAws_json1_1DeleteLogPatternCommandError = async (output, contex
|
|
|
517
517
|
switch (errorCode) {
|
|
518
518
|
case "BadRequestException":
|
|
519
519
|
case "com.amazonaws.applicationinsights#BadRequestException":
|
|
520
|
-
throw await
|
|
520
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
521
521
|
case "InternalServerException":
|
|
522
522
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
523
|
-
throw await
|
|
523
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
524
524
|
case "ResourceNotFoundException":
|
|
525
525
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
526
|
-
throw await
|
|
526
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
527
527
|
case "ValidationException":
|
|
528
528
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
529
|
-
throw await
|
|
529
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
530
530
|
default:
|
|
531
531
|
const parsedBody = parsedOutput.body;
|
|
532
532
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -537,21 +537,21 @@ const deserializeAws_json1_1DeleteLogPatternCommandError = async (output, contex
|
|
|
537
537
|
});
|
|
538
538
|
}
|
|
539
539
|
};
|
|
540
|
-
const
|
|
540
|
+
const de_DescribeApplicationCommand = async (output, context) => {
|
|
541
541
|
if (output.statusCode >= 300) {
|
|
542
|
-
return
|
|
542
|
+
return de_DescribeApplicationCommandError(output, context);
|
|
543
543
|
}
|
|
544
544
|
const data = await parseBody(output.body, context);
|
|
545
545
|
let contents = {};
|
|
546
|
-
contents =
|
|
546
|
+
contents = de_DescribeApplicationResponse(data, context);
|
|
547
547
|
const response = {
|
|
548
548
|
$metadata: deserializeMetadata(output),
|
|
549
549
|
...contents,
|
|
550
550
|
};
|
|
551
551
|
return Promise.resolve(response);
|
|
552
552
|
};
|
|
553
|
-
exports.
|
|
554
|
-
const
|
|
553
|
+
exports.de_DescribeApplicationCommand = de_DescribeApplicationCommand;
|
|
554
|
+
const de_DescribeApplicationCommandError = async (output, context) => {
|
|
555
555
|
const parsedOutput = {
|
|
556
556
|
...output,
|
|
557
557
|
body: await parseErrorBody(output.body, context),
|
|
@@ -560,13 +560,13 @@ const deserializeAws_json1_1DescribeApplicationCommandError = async (output, con
|
|
|
560
560
|
switch (errorCode) {
|
|
561
561
|
case "InternalServerException":
|
|
562
562
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
563
|
-
throw await
|
|
563
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
564
564
|
case "ResourceNotFoundException":
|
|
565
565
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
566
|
-
throw await
|
|
566
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
567
567
|
case "ValidationException":
|
|
568
568
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
569
|
-
throw await
|
|
569
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
570
570
|
default:
|
|
571
571
|
const parsedBody = parsedOutput.body;
|
|
572
572
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -577,21 +577,21 @@ const deserializeAws_json1_1DescribeApplicationCommandError = async (output, con
|
|
|
577
577
|
});
|
|
578
578
|
}
|
|
579
579
|
};
|
|
580
|
-
const
|
|
580
|
+
const de_DescribeComponentCommand = async (output, context) => {
|
|
581
581
|
if (output.statusCode >= 300) {
|
|
582
|
-
return
|
|
582
|
+
return de_DescribeComponentCommandError(output, context);
|
|
583
583
|
}
|
|
584
584
|
const data = await parseBody(output.body, context);
|
|
585
585
|
let contents = {};
|
|
586
|
-
contents =
|
|
586
|
+
contents = de_DescribeComponentResponse(data, context);
|
|
587
587
|
const response = {
|
|
588
588
|
$metadata: deserializeMetadata(output),
|
|
589
589
|
...contents,
|
|
590
590
|
};
|
|
591
591
|
return Promise.resolve(response);
|
|
592
592
|
};
|
|
593
|
-
exports.
|
|
594
|
-
const
|
|
593
|
+
exports.de_DescribeComponentCommand = de_DescribeComponentCommand;
|
|
594
|
+
const de_DescribeComponentCommandError = 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_1DescribeComponentCommandError = async (output, conte
|
|
|
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
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -617,21 +617,21 @@ const deserializeAws_json1_1DescribeComponentCommandError = async (output, conte
|
|
|
617
617
|
});
|
|
618
618
|
}
|
|
619
619
|
};
|
|
620
|
-
const
|
|
620
|
+
const de_DescribeComponentConfigurationCommand = async (output, context) => {
|
|
621
621
|
if (output.statusCode >= 300) {
|
|
622
|
-
return
|
|
622
|
+
return de_DescribeComponentConfigurationCommandError(output, context);
|
|
623
623
|
}
|
|
624
624
|
const data = await parseBody(output.body, context);
|
|
625
625
|
let contents = {};
|
|
626
|
-
contents =
|
|
626
|
+
contents = de_DescribeComponentConfigurationResponse(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
|
-
exports.
|
|
634
|
-
const
|
|
633
|
+
exports.de_DescribeComponentConfigurationCommand = de_DescribeComponentConfigurationCommand;
|
|
634
|
+
const de_DescribeComponentConfigurationCommandError = async (output, context) => {
|
|
635
635
|
const parsedOutput = {
|
|
636
636
|
...output,
|
|
637
637
|
body: await parseErrorBody(output.body, context),
|
|
@@ -640,13 +640,13 @@ const deserializeAws_json1_1DescribeComponentConfigurationCommandError = async (
|
|
|
640
640
|
switch (errorCode) {
|
|
641
641
|
case "InternalServerException":
|
|
642
642
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
643
|
-
throw await
|
|
643
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
644
644
|
case "ResourceNotFoundException":
|
|
645
645
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
646
|
-
throw await
|
|
646
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
647
647
|
case "ValidationException":
|
|
648
648
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
649
|
-
throw await
|
|
649
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
650
650
|
default:
|
|
651
651
|
const parsedBody = parsedOutput.body;
|
|
652
652
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -657,21 +657,21 @@ const deserializeAws_json1_1DescribeComponentConfigurationCommandError = async (
|
|
|
657
657
|
});
|
|
658
658
|
}
|
|
659
659
|
};
|
|
660
|
-
const
|
|
660
|
+
const de_DescribeComponentConfigurationRecommendationCommand = async (output, context) => {
|
|
661
661
|
if (output.statusCode >= 300) {
|
|
662
|
-
return
|
|
662
|
+
return de_DescribeComponentConfigurationRecommendationCommandError(output, context);
|
|
663
663
|
}
|
|
664
664
|
const data = await parseBody(output.body, context);
|
|
665
665
|
let contents = {};
|
|
666
|
-
contents =
|
|
666
|
+
contents = de_DescribeComponentConfigurationRecommendationResponse(data, context);
|
|
667
667
|
const response = {
|
|
668
668
|
$metadata: deserializeMetadata(output),
|
|
669
669
|
...contents,
|
|
670
670
|
};
|
|
671
671
|
return Promise.resolve(response);
|
|
672
672
|
};
|
|
673
|
-
exports.
|
|
674
|
-
const
|
|
673
|
+
exports.de_DescribeComponentConfigurationRecommendationCommand = de_DescribeComponentConfigurationRecommendationCommand;
|
|
674
|
+
const de_DescribeComponentConfigurationRecommendationCommandError = async (output, context) => {
|
|
675
675
|
const parsedOutput = {
|
|
676
676
|
...output,
|
|
677
677
|
body: await parseErrorBody(output.body, context),
|
|
@@ -680,13 +680,13 @@ const deserializeAws_json1_1DescribeComponentConfigurationRecommendationCommandE
|
|
|
680
680
|
switch (errorCode) {
|
|
681
681
|
case "InternalServerException":
|
|
682
682
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
683
|
-
throw await
|
|
683
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
684
684
|
case "ResourceNotFoundException":
|
|
685
685
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
686
|
-
throw await
|
|
686
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
687
687
|
case "ValidationException":
|
|
688
688
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
689
|
-
throw await
|
|
689
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
690
690
|
default:
|
|
691
691
|
const parsedBody = parsedOutput.body;
|
|
692
692
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -697,21 +697,21 @@ const deserializeAws_json1_1DescribeComponentConfigurationRecommendationCommandE
|
|
|
697
697
|
});
|
|
698
698
|
}
|
|
699
699
|
};
|
|
700
|
-
const
|
|
700
|
+
const de_DescribeLogPatternCommand = async (output, context) => {
|
|
701
701
|
if (output.statusCode >= 300) {
|
|
702
|
-
return
|
|
702
|
+
return de_DescribeLogPatternCommandError(output, context);
|
|
703
703
|
}
|
|
704
704
|
const data = await parseBody(output.body, context);
|
|
705
705
|
let contents = {};
|
|
706
|
-
contents =
|
|
706
|
+
contents = de_DescribeLogPatternResponse(data, context);
|
|
707
707
|
const response = {
|
|
708
708
|
$metadata: deserializeMetadata(output),
|
|
709
709
|
...contents,
|
|
710
710
|
};
|
|
711
711
|
return Promise.resolve(response);
|
|
712
712
|
};
|
|
713
|
-
exports.
|
|
714
|
-
const
|
|
713
|
+
exports.de_DescribeLogPatternCommand = de_DescribeLogPatternCommand;
|
|
714
|
+
const de_DescribeLogPatternCommandError = async (output, context) => {
|
|
715
715
|
const parsedOutput = {
|
|
716
716
|
...output,
|
|
717
717
|
body: await parseErrorBody(output.body, context),
|
|
@@ -720,13 +720,13 @@ const deserializeAws_json1_1DescribeLogPatternCommandError = async (output, cont
|
|
|
720
720
|
switch (errorCode) {
|
|
721
721
|
case "InternalServerException":
|
|
722
722
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
723
|
-
throw await
|
|
723
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
724
724
|
case "ResourceNotFoundException":
|
|
725
725
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
726
|
-
throw await
|
|
726
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
727
727
|
case "ValidationException":
|
|
728
728
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
729
|
-
throw await
|
|
729
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
730
730
|
default:
|
|
731
731
|
const parsedBody = parsedOutput.body;
|
|
732
732
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -737,21 +737,21 @@ const deserializeAws_json1_1DescribeLogPatternCommandError = async (output, cont
|
|
|
737
737
|
});
|
|
738
738
|
}
|
|
739
739
|
};
|
|
740
|
-
const
|
|
740
|
+
const de_DescribeObservationCommand = async (output, context) => {
|
|
741
741
|
if (output.statusCode >= 300) {
|
|
742
|
-
return
|
|
742
|
+
return de_DescribeObservationCommandError(output, context);
|
|
743
743
|
}
|
|
744
744
|
const data = await parseBody(output.body, context);
|
|
745
745
|
let contents = {};
|
|
746
|
-
contents =
|
|
746
|
+
contents = de_DescribeObservationResponse(data, context);
|
|
747
747
|
const response = {
|
|
748
748
|
$metadata: deserializeMetadata(output),
|
|
749
749
|
...contents,
|
|
750
750
|
};
|
|
751
751
|
return Promise.resolve(response);
|
|
752
752
|
};
|
|
753
|
-
exports.
|
|
754
|
-
const
|
|
753
|
+
exports.de_DescribeObservationCommand = de_DescribeObservationCommand;
|
|
754
|
+
const de_DescribeObservationCommandError = async (output, context) => {
|
|
755
755
|
const parsedOutput = {
|
|
756
756
|
...output,
|
|
757
757
|
body: await parseErrorBody(output.body, context),
|
|
@@ -760,13 +760,13 @@ const deserializeAws_json1_1DescribeObservationCommandError = async (output, con
|
|
|
760
760
|
switch (errorCode) {
|
|
761
761
|
case "InternalServerException":
|
|
762
762
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
763
|
-
throw await
|
|
763
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
764
764
|
case "ResourceNotFoundException":
|
|
765
765
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
766
|
-
throw await
|
|
766
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
767
767
|
case "ValidationException":
|
|
768
768
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
769
|
-
throw await
|
|
769
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
770
770
|
default:
|
|
771
771
|
const parsedBody = parsedOutput.body;
|
|
772
772
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -777,21 +777,21 @@ const deserializeAws_json1_1DescribeObservationCommandError = async (output, con
|
|
|
777
777
|
});
|
|
778
778
|
}
|
|
779
779
|
};
|
|
780
|
-
const
|
|
780
|
+
const de_DescribeProblemCommand = async (output, context) => {
|
|
781
781
|
if (output.statusCode >= 300) {
|
|
782
|
-
return
|
|
782
|
+
return de_DescribeProblemCommandError(output, context);
|
|
783
783
|
}
|
|
784
784
|
const data = await parseBody(output.body, context);
|
|
785
785
|
let contents = {};
|
|
786
|
-
contents =
|
|
786
|
+
contents = de_DescribeProblemResponse(data, context);
|
|
787
787
|
const response = {
|
|
788
788
|
$metadata: deserializeMetadata(output),
|
|
789
789
|
...contents,
|
|
790
790
|
};
|
|
791
791
|
return Promise.resolve(response);
|
|
792
792
|
};
|
|
793
|
-
exports.
|
|
794
|
-
const
|
|
793
|
+
exports.de_DescribeProblemCommand = de_DescribeProblemCommand;
|
|
794
|
+
const de_DescribeProblemCommandError = async (output, context) => {
|
|
795
795
|
const parsedOutput = {
|
|
796
796
|
...output,
|
|
797
797
|
body: await parseErrorBody(output.body, context),
|
|
@@ -800,13 +800,13 @@ const deserializeAws_json1_1DescribeProblemCommandError = async (output, context
|
|
|
800
800
|
switch (errorCode) {
|
|
801
801
|
case "InternalServerException":
|
|
802
802
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
803
|
-
throw await
|
|
803
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
804
804
|
case "ResourceNotFoundException":
|
|
805
805
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
806
|
-
throw await
|
|
806
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
807
807
|
case "ValidationException":
|
|
808
808
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
809
|
-
throw await
|
|
809
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
810
810
|
default:
|
|
811
811
|
const parsedBody = parsedOutput.body;
|
|
812
812
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -817,21 +817,21 @@ const deserializeAws_json1_1DescribeProblemCommandError = async (output, context
|
|
|
817
817
|
});
|
|
818
818
|
}
|
|
819
819
|
};
|
|
820
|
-
const
|
|
820
|
+
const de_DescribeProblemObservationsCommand = async (output, context) => {
|
|
821
821
|
if (output.statusCode >= 300) {
|
|
822
|
-
return
|
|
822
|
+
return de_DescribeProblemObservationsCommandError(output, context);
|
|
823
823
|
}
|
|
824
824
|
const data = await parseBody(output.body, context);
|
|
825
825
|
let contents = {};
|
|
826
|
-
contents =
|
|
826
|
+
contents = de_DescribeProblemObservationsResponse(data, context);
|
|
827
827
|
const response = {
|
|
828
828
|
$metadata: deserializeMetadata(output),
|
|
829
829
|
...contents,
|
|
830
830
|
};
|
|
831
831
|
return Promise.resolve(response);
|
|
832
832
|
};
|
|
833
|
-
exports.
|
|
834
|
-
const
|
|
833
|
+
exports.de_DescribeProblemObservationsCommand = de_DescribeProblemObservationsCommand;
|
|
834
|
+
const de_DescribeProblemObservationsCommandError = async (output, context) => {
|
|
835
835
|
const parsedOutput = {
|
|
836
836
|
...output,
|
|
837
837
|
body: await parseErrorBody(output.body, context),
|
|
@@ -840,13 +840,13 @@ const deserializeAws_json1_1DescribeProblemObservationsCommandError = async (out
|
|
|
840
840
|
switch (errorCode) {
|
|
841
841
|
case "InternalServerException":
|
|
842
842
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
843
|
-
throw await
|
|
843
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
844
844
|
case "ResourceNotFoundException":
|
|
845
845
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
846
|
-
throw await
|
|
846
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
847
847
|
case "ValidationException":
|
|
848
848
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
849
|
-
throw await
|
|
849
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
850
850
|
default:
|
|
851
851
|
const parsedBody = parsedOutput.body;
|
|
852
852
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -857,21 +857,21 @@ const deserializeAws_json1_1DescribeProblemObservationsCommandError = async (out
|
|
|
857
857
|
});
|
|
858
858
|
}
|
|
859
859
|
};
|
|
860
|
-
const
|
|
860
|
+
const de_ListApplicationsCommand = async (output, context) => {
|
|
861
861
|
if (output.statusCode >= 300) {
|
|
862
|
-
return
|
|
862
|
+
return de_ListApplicationsCommandError(output, context);
|
|
863
863
|
}
|
|
864
864
|
const data = await parseBody(output.body, context);
|
|
865
865
|
let contents = {};
|
|
866
|
-
contents =
|
|
866
|
+
contents = de_ListApplicationsResponse(data, context);
|
|
867
867
|
const response = {
|
|
868
868
|
$metadata: deserializeMetadata(output),
|
|
869
869
|
...contents,
|
|
870
870
|
};
|
|
871
871
|
return Promise.resolve(response);
|
|
872
872
|
};
|
|
873
|
-
exports.
|
|
874
|
-
const
|
|
873
|
+
exports.de_ListApplicationsCommand = de_ListApplicationsCommand;
|
|
874
|
+
const de_ListApplicationsCommandError = async (output, context) => {
|
|
875
875
|
const parsedOutput = {
|
|
876
876
|
...output,
|
|
877
877
|
body: await parseErrorBody(output.body, context),
|
|
@@ -880,10 +880,10 @@ const deserializeAws_json1_1ListApplicationsCommandError = async (output, contex
|
|
|
880
880
|
switch (errorCode) {
|
|
881
881
|
case "InternalServerException":
|
|
882
882
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
883
|
-
throw await
|
|
883
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
884
884
|
case "ValidationException":
|
|
885
885
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
886
|
-
throw await
|
|
886
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
887
887
|
default:
|
|
888
888
|
const parsedBody = parsedOutput.body;
|
|
889
889
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -894,21 +894,21 @@ const deserializeAws_json1_1ListApplicationsCommandError = async (output, contex
|
|
|
894
894
|
});
|
|
895
895
|
}
|
|
896
896
|
};
|
|
897
|
-
const
|
|
897
|
+
const de_ListComponentsCommand = async (output, context) => {
|
|
898
898
|
if (output.statusCode >= 300) {
|
|
899
|
-
return
|
|
899
|
+
return de_ListComponentsCommandError(output, context);
|
|
900
900
|
}
|
|
901
901
|
const data = await parseBody(output.body, context);
|
|
902
902
|
let contents = {};
|
|
903
|
-
contents =
|
|
903
|
+
contents = de_ListComponentsResponse(data, context);
|
|
904
904
|
const response = {
|
|
905
905
|
$metadata: deserializeMetadata(output),
|
|
906
906
|
...contents,
|
|
907
907
|
};
|
|
908
908
|
return Promise.resolve(response);
|
|
909
909
|
};
|
|
910
|
-
exports.
|
|
911
|
-
const
|
|
910
|
+
exports.de_ListComponentsCommand = de_ListComponentsCommand;
|
|
911
|
+
const de_ListComponentsCommandError = async (output, context) => {
|
|
912
912
|
const parsedOutput = {
|
|
913
913
|
...output,
|
|
914
914
|
body: await parseErrorBody(output.body, context),
|
|
@@ -917,13 +917,13 @@ const deserializeAws_json1_1ListComponentsCommandError = async (output, context)
|
|
|
917
917
|
switch (errorCode) {
|
|
918
918
|
case "InternalServerException":
|
|
919
919
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
920
|
-
throw await
|
|
920
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
921
921
|
case "ResourceNotFoundException":
|
|
922
922
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
923
|
-
throw await
|
|
923
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
924
924
|
case "ValidationException":
|
|
925
925
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
926
|
-
throw await
|
|
926
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
927
927
|
default:
|
|
928
928
|
const parsedBody = parsedOutput.body;
|
|
929
929
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -934,21 +934,21 @@ const deserializeAws_json1_1ListComponentsCommandError = async (output, context)
|
|
|
934
934
|
});
|
|
935
935
|
}
|
|
936
936
|
};
|
|
937
|
-
const
|
|
937
|
+
const de_ListConfigurationHistoryCommand = async (output, context) => {
|
|
938
938
|
if (output.statusCode >= 300) {
|
|
939
|
-
return
|
|
939
|
+
return de_ListConfigurationHistoryCommandError(output, context);
|
|
940
940
|
}
|
|
941
941
|
const data = await parseBody(output.body, context);
|
|
942
942
|
let contents = {};
|
|
943
|
-
contents =
|
|
943
|
+
contents = de_ListConfigurationHistoryResponse(data, context);
|
|
944
944
|
const response = {
|
|
945
945
|
$metadata: deserializeMetadata(output),
|
|
946
946
|
...contents,
|
|
947
947
|
};
|
|
948
948
|
return Promise.resolve(response);
|
|
949
949
|
};
|
|
950
|
-
exports.
|
|
951
|
-
const
|
|
950
|
+
exports.de_ListConfigurationHistoryCommand = de_ListConfigurationHistoryCommand;
|
|
951
|
+
const de_ListConfigurationHistoryCommandError = async (output, context) => {
|
|
952
952
|
const parsedOutput = {
|
|
953
953
|
...output,
|
|
954
954
|
body: await parseErrorBody(output.body, context),
|
|
@@ -957,13 +957,13 @@ const deserializeAws_json1_1ListConfigurationHistoryCommandError = async (output
|
|
|
957
957
|
switch (errorCode) {
|
|
958
958
|
case "InternalServerException":
|
|
959
959
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
960
|
-
throw await
|
|
960
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
961
961
|
case "ResourceNotFoundException":
|
|
962
962
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
963
|
-
throw await
|
|
963
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
964
964
|
case "ValidationException":
|
|
965
965
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
966
|
-
throw await
|
|
966
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
967
967
|
default:
|
|
968
968
|
const parsedBody = parsedOutput.body;
|
|
969
969
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -974,21 +974,21 @@ const deserializeAws_json1_1ListConfigurationHistoryCommandError = async (output
|
|
|
974
974
|
});
|
|
975
975
|
}
|
|
976
976
|
};
|
|
977
|
-
const
|
|
977
|
+
const de_ListLogPatternsCommand = async (output, context) => {
|
|
978
978
|
if (output.statusCode >= 300) {
|
|
979
|
-
return
|
|
979
|
+
return de_ListLogPatternsCommandError(output, context);
|
|
980
980
|
}
|
|
981
981
|
const data = await parseBody(output.body, context);
|
|
982
982
|
let contents = {};
|
|
983
|
-
contents =
|
|
983
|
+
contents = de_ListLogPatternsResponse(data, context);
|
|
984
984
|
const response = {
|
|
985
985
|
$metadata: deserializeMetadata(output),
|
|
986
986
|
...contents,
|
|
987
987
|
};
|
|
988
988
|
return Promise.resolve(response);
|
|
989
989
|
};
|
|
990
|
-
exports.
|
|
991
|
-
const
|
|
990
|
+
exports.de_ListLogPatternsCommand = de_ListLogPatternsCommand;
|
|
991
|
+
const de_ListLogPatternsCommandError = async (output, context) => {
|
|
992
992
|
const parsedOutput = {
|
|
993
993
|
...output,
|
|
994
994
|
body: await parseErrorBody(output.body, context),
|
|
@@ -997,13 +997,13 @@ const deserializeAws_json1_1ListLogPatternsCommandError = async (output, context
|
|
|
997
997
|
switch (errorCode) {
|
|
998
998
|
case "InternalServerException":
|
|
999
999
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
1000
|
-
throw await
|
|
1000
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1001
1001
|
case "ResourceNotFoundException":
|
|
1002
1002
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1003
|
-
throw await
|
|
1003
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1004
1004
|
case "ValidationException":
|
|
1005
1005
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
1006
|
-
throw await
|
|
1006
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1007
1007
|
default:
|
|
1008
1008
|
const parsedBody = parsedOutput.body;
|
|
1009
1009
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1014,21 +1014,21 @@ const deserializeAws_json1_1ListLogPatternsCommandError = async (output, context
|
|
|
1014
1014
|
});
|
|
1015
1015
|
}
|
|
1016
1016
|
};
|
|
1017
|
-
const
|
|
1017
|
+
const de_ListLogPatternSetsCommand = async (output, context) => {
|
|
1018
1018
|
if (output.statusCode >= 300) {
|
|
1019
|
-
return
|
|
1019
|
+
return de_ListLogPatternSetsCommandError(output, context);
|
|
1020
1020
|
}
|
|
1021
1021
|
const data = await parseBody(output.body, context);
|
|
1022
1022
|
let contents = {};
|
|
1023
|
-
contents =
|
|
1023
|
+
contents = de_ListLogPatternSetsResponse(data, context);
|
|
1024
1024
|
const response = {
|
|
1025
1025
|
$metadata: deserializeMetadata(output),
|
|
1026
1026
|
...contents,
|
|
1027
1027
|
};
|
|
1028
1028
|
return Promise.resolve(response);
|
|
1029
1029
|
};
|
|
1030
|
-
exports.
|
|
1031
|
-
const
|
|
1030
|
+
exports.de_ListLogPatternSetsCommand = de_ListLogPatternSetsCommand;
|
|
1031
|
+
const de_ListLogPatternSetsCommandError = async (output, context) => {
|
|
1032
1032
|
const parsedOutput = {
|
|
1033
1033
|
...output,
|
|
1034
1034
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1037,13 +1037,13 @@ const deserializeAws_json1_1ListLogPatternSetsCommandError = async (output, cont
|
|
|
1037
1037
|
switch (errorCode) {
|
|
1038
1038
|
case "InternalServerException":
|
|
1039
1039
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
1040
|
-
throw await
|
|
1040
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1041
1041
|
case "ResourceNotFoundException":
|
|
1042
1042
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1043
|
-
throw await
|
|
1043
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1044
1044
|
case "ValidationException":
|
|
1045
1045
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
1046
|
-
throw await
|
|
1046
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1047
1047
|
default:
|
|
1048
1048
|
const parsedBody = parsedOutput.body;
|
|
1049
1049
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1054,21 +1054,21 @@ const deserializeAws_json1_1ListLogPatternSetsCommandError = async (output, cont
|
|
|
1054
1054
|
});
|
|
1055
1055
|
}
|
|
1056
1056
|
};
|
|
1057
|
-
const
|
|
1057
|
+
const de_ListProblemsCommand = async (output, context) => {
|
|
1058
1058
|
if (output.statusCode >= 300) {
|
|
1059
|
-
return
|
|
1059
|
+
return de_ListProblemsCommandError(output, context);
|
|
1060
1060
|
}
|
|
1061
1061
|
const data = await parseBody(output.body, context);
|
|
1062
1062
|
let contents = {};
|
|
1063
|
-
contents =
|
|
1063
|
+
contents = de_ListProblemsResponse(data, context);
|
|
1064
1064
|
const response = {
|
|
1065
1065
|
$metadata: deserializeMetadata(output),
|
|
1066
1066
|
...contents,
|
|
1067
1067
|
};
|
|
1068
1068
|
return Promise.resolve(response);
|
|
1069
1069
|
};
|
|
1070
|
-
exports.
|
|
1071
|
-
const
|
|
1070
|
+
exports.de_ListProblemsCommand = de_ListProblemsCommand;
|
|
1071
|
+
const de_ListProblemsCommandError = async (output, context) => {
|
|
1072
1072
|
const parsedOutput = {
|
|
1073
1073
|
...output,
|
|
1074
1074
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1077,13 +1077,13 @@ const deserializeAws_json1_1ListProblemsCommandError = async (output, context) =
|
|
|
1077
1077
|
switch (errorCode) {
|
|
1078
1078
|
case "InternalServerException":
|
|
1079
1079
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
1080
|
-
throw await
|
|
1080
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1081
1081
|
case "ResourceNotFoundException":
|
|
1082
1082
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1083
|
-
throw await
|
|
1083
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1084
1084
|
case "ValidationException":
|
|
1085
1085
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
1086
|
-
throw await
|
|
1086
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1087
1087
|
default:
|
|
1088
1088
|
const parsedBody = parsedOutput.body;
|
|
1089
1089
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1094,21 +1094,21 @@ const deserializeAws_json1_1ListProblemsCommandError = async (output, context) =
|
|
|
1094
1094
|
});
|
|
1095
1095
|
}
|
|
1096
1096
|
};
|
|
1097
|
-
const
|
|
1097
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1098
1098
|
if (output.statusCode >= 300) {
|
|
1099
|
-
return
|
|
1099
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1100
1100
|
}
|
|
1101
1101
|
const data = await parseBody(output.body, context);
|
|
1102
1102
|
let contents = {};
|
|
1103
|
-
contents =
|
|
1103
|
+
contents = de_ListTagsForResourceResponse(data, context);
|
|
1104
1104
|
const response = {
|
|
1105
1105
|
$metadata: deserializeMetadata(output),
|
|
1106
1106
|
...contents,
|
|
1107
1107
|
};
|
|
1108
1108
|
return Promise.resolve(response);
|
|
1109
1109
|
};
|
|
1110
|
-
exports.
|
|
1111
|
-
const
|
|
1110
|
+
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
1111
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1112
1112
|
const parsedOutput = {
|
|
1113
1113
|
...output,
|
|
1114
1114
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1117,10 +1117,10 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1117
1117
|
switch (errorCode) {
|
|
1118
1118
|
case "ResourceNotFoundException":
|
|
1119
1119
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1120
|
-
throw await
|
|
1120
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1121
1121
|
case "ValidationException":
|
|
1122
1122
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
1123
|
-
throw await
|
|
1123
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1124
1124
|
default:
|
|
1125
1125
|
const parsedBody = parsedOutput.body;
|
|
1126
1126
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1131,21 +1131,21 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1131
1131
|
});
|
|
1132
1132
|
}
|
|
1133
1133
|
};
|
|
1134
|
-
const
|
|
1134
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
1135
1135
|
if (output.statusCode >= 300) {
|
|
1136
|
-
return
|
|
1136
|
+
return de_TagResourceCommandError(output, context);
|
|
1137
1137
|
}
|
|
1138
1138
|
const data = await parseBody(output.body, context);
|
|
1139
1139
|
let contents = {};
|
|
1140
|
-
contents =
|
|
1140
|
+
contents = de_TagResourceResponse(data, context);
|
|
1141
1141
|
const response = {
|
|
1142
1142
|
$metadata: deserializeMetadata(output),
|
|
1143
1143
|
...contents,
|
|
1144
1144
|
};
|
|
1145
1145
|
return Promise.resolve(response);
|
|
1146
1146
|
};
|
|
1147
|
-
exports.
|
|
1148
|
-
const
|
|
1147
|
+
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
1148
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1149
1149
|
const parsedOutput = {
|
|
1150
1150
|
...output,
|
|
1151
1151
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1154,13 +1154,13 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1154
1154
|
switch (errorCode) {
|
|
1155
1155
|
case "ResourceNotFoundException":
|
|
1156
1156
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1157
|
-
throw await
|
|
1157
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1158
1158
|
case "TooManyTagsException":
|
|
1159
1159
|
case "com.amazonaws.applicationinsights#TooManyTagsException":
|
|
1160
|
-
throw await
|
|
1160
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1161
1161
|
case "ValidationException":
|
|
1162
1162
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
1163
|
-
throw await
|
|
1163
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1164
1164
|
default:
|
|
1165
1165
|
const parsedBody = parsedOutput.body;
|
|
1166
1166
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1171,21 +1171,21 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1171
1171
|
});
|
|
1172
1172
|
}
|
|
1173
1173
|
};
|
|
1174
|
-
const
|
|
1174
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
1175
1175
|
if (output.statusCode >= 300) {
|
|
1176
|
-
return
|
|
1176
|
+
return de_UntagResourceCommandError(output, context);
|
|
1177
1177
|
}
|
|
1178
1178
|
const data = await parseBody(output.body, context);
|
|
1179
1179
|
let contents = {};
|
|
1180
|
-
contents =
|
|
1180
|
+
contents = de_UntagResourceResponse(data, context);
|
|
1181
1181
|
const response = {
|
|
1182
1182
|
$metadata: deserializeMetadata(output),
|
|
1183
1183
|
...contents,
|
|
1184
1184
|
};
|
|
1185
1185
|
return Promise.resolve(response);
|
|
1186
1186
|
};
|
|
1187
|
-
exports.
|
|
1188
|
-
const
|
|
1187
|
+
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
1188
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1189
1189
|
const parsedOutput = {
|
|
1190
1190
|
...output,
|
|
1191
1191
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1194,10 +1194,10 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1194
1194
|
switch (errorCode) {
|
|
1195
1195
|
case "ResourceNotFoundException":
|
|
1196
1196
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1197
|
-
throw await
|
|
1197
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1198
1198
|
case "ValidationException":
|
|
1199
1199
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
1200
|
-
throw await
|
|
1200
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1201
1201
|
default:
|
|
1202
1202
|
const parsedBody = parsedOutput.body;
|
|
1203
1203
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1208,21 +1208,21 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1208
1208
|
});
|
|
1209
1209
|
}
|
|
1210
1210
|
};
|
|
1211
|
-
const
|
|
1211
|
+
const de_UpdateApplicationCommand = async (output, context) => {
|
|
1212
1212
|
if (output.statusCode >= 300) {
|
|
1213
|
-
return
|
|
1213
|
+
return de_UpdateApplicationCommandError(output, context);
|
|
1214
1214
|
}
|
|
1215
1215
|
const data = await parseBody(output.body, context);
|
|
1216
1216
|
let contents = {};
|
|
1217
|
-
contents =
|
|
1217
|
+
contents = de_UpdateApplicationResponse(data, context);
|
|
1218
1218
|
const response = {
|
|
1219
1219
|
$metadata: deserializeMetadata(output),
|
|
1220
1220
|
...contents,
|
|
1221
1221
|
};
|
|
1222
1222
|
return Promise.resolve(response);
|
|
1223
1223
|
};
|
|
1224
|
-
exports.
|
|
1225
|
-
const
|
|
1224
|
+
exports.de_UpdateApplicationCommand = de_UpdateApplicationCommand;
|
|
1225
|
+
const de_UpdateApplicationCommandError = async (output, context) => {
|
|
1226
1226
|
const parsedOutput = {
|
|
1227
1227
|
...output,
|
|
1228
1228
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1231,13 +1231,13 @@ const deserializeAws_json1_1UpdateApplicationCommandError = async (output, conte
|
|
|
1231
1231
|
switch (errorCode) {
|
|
1232
1232
|
case "InternalServerException":
|
|
1233
1233
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
1234
|
-
throw await
|
|
1234
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1235
1235
|
case "ResourceNotFoundException":
|
|
1236
1236
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1237
|
-
throw await
|
|
1237
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1238
1238
|
case "ValidationException":
|
|
1239
1239
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
1240
|
-
throw await
|
|
1240
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1241
1241
|
default:
|
|
1242
1242
|
const parsedBody = parsedOutput.body;
|
|
1243
1243
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1248,21 +1248,21 @@ const deserializeAws_json1_1UpdateApplicationCommandError = async (output, conte
|
|
|
1248
1248
|
});
|
|
1249
1249
|
}
|
|
1250
1250
|
};
|
|
1251
|
-
const
|
|
1251
|
+
const de_UpdateComponentCommand = async (output, context) => {
|
|
1252
1252
|
if (output.statusCode >= 300) {
|
|
1253
|
-
return
|
|
1253
|
+
return de_UpdateComponentCommandError(output, context);
|
|
1254
1254
|
}
|
|
1255
1255
|
const data = await parseBody(output.body, context);
|
|
1256
1256
|
let contents = {};
|
|
1257
|
-
contents =
|
|
1257
|
+
contents = de_UpdateComponentResponse(data, context);
|
|
1258
1258
|
const response = {
|
|
1259
1259
|
$metadata: deserializeMetadata(output),
|
|
1260
1260
|
...contents,
|
|
1261
1261
|
};
|
|
1262
1262
|
return Promise.resolve(response);
|
|
1263
1263
|
};
|
|
1264
|
-
exports.
|
|
1265
|
-
const
|
|
1264
|
+
exports.de_UpdateComponentCommand = de_UpdateComponentCommand;
|
|
1265
|
+
const de_UpdateComponentCommandError = async (output, context) => {
|
|
1266
1266
|
const parsedOutput = {
|
|
1267
1267
|
...output,
|
|
1268
1268
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1271,16 +1271,16 @@ const deserializeAws_json1_1UpdateComponentCommandError = async (output, context
|
|
|
1271
1271
|
switch (errorCode) {
|
|
1272
1272
|
case "InternalServerException":
|
|
1273
1273
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
1274
|
-
throw await
|
|
1274
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1275
1275
|
case "ResourceInUseException":
|
|
1276
1276
|
case "com.amazonaws.applicationinsights#ResourceInUseException":
|
|
1277
|
-
throw await
|
|
1277
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1278
1278
|
case "ResourceNotFoundException":
|
|
1279
1279
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1280
|
-
throw await
|
|
1280
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1281
1281
|
case "ValidationException":
|
|
1282
1282
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
1283
|
-
throw await
|
|
1283
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1284
1284
|
default:
|
|
1285
1285
|
const parsedBody = parsedOutput.body;
|
|
1286
1286
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1291,21 +1291,21 @@ const deserializeAws_json1_1UpdateComponentCommandError = async (output, context
|
|
|
1291
1291
|
});
|
|
1292
1292
|
}
|
|
1293
1293
|
};
|
|
1294
|
-
const
|
|
1294
|
+
const de_UpdateComponentConfigurationCommand = async (output, context) => {
|
|
1295
1295
|
if (output.statusCode >= 300) {
|
|
1296
|
-
return
|
|
1296
|
+
return de_UpdateComponentConfigurationCommandError(output, context);
|
|
1297
1297
|
}
|
|
1298
1298
|
const data = await parseBody(output.body, context);
|
|
1299
1299
|
let contents = {};
|
|
1300
|
-
contents =
|
|
1300
|
+
contents = de_UpdateComponentConfigurationResponse(data, context);
|
|
1301
1301
|
const response = {
|
|
1302
1302
|
$metadata: deserializeMetadata(output),
|
|
1303
1303
|
...contents,
|
|
1304
1304
|
};
|
|
1305
1305
|
return Promise.resolve(response);
|
|
1306
1306
|
};
|
|
1307
|
-
exports.
|
|
1308
|
-
const
|
|
1307
|
+
exports.de_UpdateComponentConfigurationCommand = de_UpdateComponentConfigurationCommand;
|
|
1308
|
+
const de_UpdateComponentConfigurationCommandError = async (output, context) => {
|
|
1309
1309
|
const parsedOutput = {
|
|
1310
1310
|
...output,
|
|
1311
1311
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1314,13 +1314,13 @@ const deserializeAws_json1_1UpdateComponentConfigurationCommandError = async (ou
|
|
|
1314
1314
|
switch (errorCode) {
|
|
1315
1315
|
case "InternalServerException":
|
|
1316
1316
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
1317
|
-
throw await
|
|
1317
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1318
1318
|
case "ResourceNotFoundException":
|
|
1319
1319
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1320
|
-
throw await
|
|
1320
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1321
1321
|
case "ValidationException":
|
|
1322
1322
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
1323
|
-
throw await
|
|
1323
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1324
1324
|
default:
|
|
1325
1325
|
const parsedBody = parsedOutput.body;
|
|
1326
1326
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1331,21 +1331,21 @@ const deserializeAws_json1_1UpdateComponentConfigurationCommandError = async (ou
|
|
|
1331
1331
|
});
|
|
1332
1332
|
}
|
|
1333
1333
|
};
|
|
1334
|
-
const
|
|
1334
|
+
const de_UpdateLogPatternCommand = async (output, context) => {
|
|
1335
1335
|
if (output.statusCode >= 300) {
|
|
1336
|
-
return
|
|
1336
|
+
return de_UpdateLogPatternCommandError(output, context);
|
|
1337
1337
|
}
|
|
1338
1338
|
const data = await parseBody(output.body, context);
|
|
1339
1339
|
let contents = {};
|
|
1340
|
-
contents =
|
|
1340
|
+
contents = de_UpdateLogPatternResponse(data, context);
|
|
1341
1341
|
const response = {
|
|
1342
1342
|
$metadata: deserializeMetadata(output),
|
|
1343
1343
|
...contents,
|
|
1344
1344
|
};
|
|
1345
1345
|
return Promise.resolve(response);
|
|
1346
1346
|
};
|
|
1347
|
-
exports.
|
|
1348
|
-
const
|
|
1347
|
+
exports.de_UpdateLogPatternCommand = de_UpdateLogPatternCommand;
|
|
1348
|
+
const de_UpdateLogPatternCommandError = async (output, context) => {
|
|
1349
1349
|
const parsedOutput = {
|
|
1350
1350
|
...output,
|
|
1351
1351
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1354,16 +1354,16 @@ const deserializeAws_json1_1UpdateLogPatternCommandError = async (output, contex
|
|
|
1354
1354
|
switch (errorCode) {
|
|
1355
1355
|
case "InternalServerException":
|
|
1356
1356
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
1357
|
-
throw await
|
|
1357
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1358
1358
|
case "ResourceInUseException":
|
|
1359
1359
|
case "com.amazonaws.applicationinsights#ResourceInUseException":
|
|
1360
|
-
throw await
|
|
1360
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1361
1361
|
case "ResourceNotFoundException":
|
|
1362
1362
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1363
|
-
throw await
|
|
1363
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1364
1364
|
case "ValidationException":
|
|
1365
1365
|
case "com.amazonaws.applicationinsights#ValidationException":
|
|
1366
|
-
throw await
|
|
1366
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1367
1367
|
default:
|
|
1368
1368
|
const parsedBody = parsedOutput.body;
|
|
1369
1369
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1374,79 +1374,79 @@ const deserializeAws_json1_1UpdateLogPatternCommandError = async (output, contex
|
|
|
1374
1374
|
});
|
|
1375
1375
|
}
|
|
1376
1376
|
};
|
|
1377
|
-
const
|
|
1377
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1378
1378
|
const body = parsedOutput.body;
|
|
1379
|
-
const deserialized =
|
|
1379
|
+
const deserialized = de_AccessDeniedException(body, context);
|
|
1380
1380
|
const exception = new models_0_1.AccessDeniedException({
|
|
1381
1381
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1382
1382
|
...deserialized,
|
|
1383
1383
|
});
|
|
1384
1384
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1385
1385
|
};
|
|
1386
|
-
const
|
|
1386
|
+
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
1387
1387
|
const body = parsedOutput.body;
|
|
1388
|
-
const deserialized =
|
|
1388
|
+
const deserialized = de_BadRequestException(body, context);
|
|
1389
1389
|
const exception = new models_0_1.BadRequestException({
|
|
1390
1390
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1391
1391
|
...deserialized,
|
|
1392
1392
|
});
|
|
1393
1393
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1394
1394
|
};
|
|
1395
|
-
const
|
|
1395
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1396
1396
|
const body = parsedOutput.body;
|
|
1397
|
-
const deserialized =
|
|
1397
|
+
const deserialized = de_InternalServerException(body, context);
|
|
1398
1398
|
const exception = new models_0_1.InternalServerException({
|
|
1399
1399
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1400
1400
|
...deserialized,
|
|
1401
1401
|
});
|
|
1402
1402
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1403
1403
|
};
|
|
1404
|
-
const
|
|
1404
|
+
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1405
1405
|
const body = parsedOutput.body;
|
|
1406
|
-
const deserialized =
|
|
1406
|
+
const deserialized = de_ResourceInUseException(body, context);
|
|
1407
1407
|
const exception = new models_0_1.ResourceInUseException({
|
|
1408
1408
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1409
1409
|
...deserialized,
|
|
1410
1410
|
});
|
|
1411
1411
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1412
1412
|
};
|
|
1413
|
-
const
|
|
1413
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1414
1414
|
const body = parsedOutput.body;
|
|
1415
|
-
const deserialized =
|
|
1415
|
+
const deserialized = de_ResourceNotFoundException(body, context);
|
|
1416
1416
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1417
1417
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1418
1418
|
...deserialized,
|
|
1419
1419
|
});
|
|
1420
1420
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1421
1421
|
};
|
|
1422
|
-
const
|
|
1422
|
+
const de_TagsAlreadyExistExceptionRes = async (parsedOutput, context) => {
|
|
1423
1423
|
const body = parsedOutput.body;
|
|
1424
|
-
const deserialized =
|
|
1424
|
+
const deserialized = de_TagsAlreadyExistException(body, context);
|
|
1425
1425
|
const exception = new models_0_1.TagsAlreadyExistException({
|
|
1426
1426
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1427
1427
|
...deserialized,
|
|
1428
1428
|
});
|
|
1429
1429
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1430
1430
|
};
|
|
1431
|
-
const
|
|
1431
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1432
1432
|
const body = parsedOutput.body;
|
|
1433
|
-
const deserialized =
|
|
1433
|
+
const deserialized = de_TooManyTagsException(body, context);
|
|
1434
1434
|
const exception = new models_0_1.TooManyTagsException({
|
|
1435
1435
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1436
1436
|
...deserialized,
|
|
1437
1437
|
});
|
|
1438
1438
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1439
1439
|
};
|
|
1440
|
-
const
|
|
1440
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1441
1441
|
const body = parsedOutput.body;
|
|
1442
|
-
const deserialized =
|
|
1442
|
+
const deserialized = de_ValidationException(body, context);
|
|
1443
1443
|
const exception = new models_0_1.ValidationException({
|
|
1444
1444
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1445
1445
|
...deserialized,
|
|
1446
1446
|
});
|
|
1447
1447
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1448
1448
|
};
|
|
1449
|
-
const
|
|
1449
|
+
const se_CreateApplicationRequest = (input, context) => {
|
|
1450
1450
|
return {
|
|
1451
1451
|
...(input.AutoConfigEnabled != null && { AutoConfigEnabled: input.AutoConfigEnabled }),
|
|
1452
1452
|
...(input.AutoCreate != null && { AutoCreate: input.AutoCreate }),
|
|
@@ -1455,17 +1455,17 @@ const serializeAws_json1_1CreateApplicationRequest = (input, context) => {
|
|
|
1455
1455
|
...(input.OpsCenterEnabled != null && { OpsCenterEnabled: input.OpsCenterEnabled }),
|
|
1456
1456
|
...(input.OpsItemSNSTopicArn != null && { OpsItemSNSTopicArn: input.OpsItemSNSTopicArn }),
|
|
1457
1457
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1458
|
-
...(input.Tags != null && { Tags:
|
|
1458
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1459
1459
|
};
|
|
1460
1460
|
};
|
|
1461
|
-
const
|
|
1461
|
+
const se_CreateComponentRequest = (input, context) => {
|
|
1462
1462
|
return {
|
|
1463
1463
|
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1464
1464
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1465
|
-
...(input.ResourceList != null && { ResourceList:
|
|
1465
|
+
...(input.ResourceList != null && { ResourceList: se_ResourceList(input.ResourceList, context) }),
|
|
1466
1466
|
};
|
|
1467
1467
|
};
|
|
1468
|
-
const
|
|
1468
|
+
const se_CreateLogPatternRequest = (input, context) => {
|
|
1469
1469
|
return {
|
|
1470
1470
|
...(input.Pattern != null && { Pattern: input.Pattern }),
|
|
1471
1471
|
...(input.PatternName != null && { PatternName: input.PatternName }),
|
|
@@ -1474,84 +1474,84 @@ const serializeAws_json1_1CreateLogPatternRequest = (input, context) => {
|
|
|
1474
1474
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1475
1475
|
};
|
|
1476
1476
|
};
|
|
1477
|
-
const
|
|
1477
|
+
const se_DeleteApplicationRequest = (input, context) => {
|
|
1478
1478
|
return {
|
|
1479
1479
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1480
1480
|
};
|
|
1481
1481
|
};
|
|
1482
|
-
const
|
|
1482
|
+
const se_DeleteComponentRequest = (input, context) => {
|
|
1483
1483
|
return {
|
|
1484
1484
|
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1485
1485
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1486
1486
|
};
|
|
1487
1487
|
};
|
|
1488
|
-
const
|
|
1488
|
+
const se_DeleteLogPatternRequest = (input, context) => {
|
|
1489
1489
|
return {
|
|
1490
1490
|
...(input.PatternName != null && { PatternName: input.PatternName }),
|
|
1491
1491
|
...(input.PatternSetName != null && { PatternSetName: input.PatternSetName }),
|
|
1492
1492
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1493
1493
|
};
|
|
1494
1494
|
};
|
|
1495
|
-
const
|
|
1495
|
+
const se_DescribeApplicationRequest = (input, context) => {
|
|
1496
1496
|
return {
|
|
1497
1497
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1498
1498
|
};
|
|
1499
1499
|
};
|
|
1500
|
-
const
|
|
1500
|
+
const se_DescribeComponentConfigurationRecommendationRequest = (input, context) => {
|
|
1501
1501
|
return {
|
|
1502
1502
|
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1503
1503
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1504
1504
|
...(input.Tier != null && { Tier: input.Tier }),
|
|
1505
1505
|
};
|
|
1506
1506
|
};
|
|
1507
|
-
const
|
|
1507
|
+
const se_DescribeComponentConfigurationRequest = (input, context) => {
|
|
1508
1508
|
return {
|
|
1509
1509
|
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1510
1510
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1511
1511
|
};
|
|
1512
1512
|
};
|
|
1513
|
-
const
|
|
1513
|
+
const se_DescribeComponentRequest = (input, context) => {
|
|
1514
1514
|
return {
|
|
1515
1515
|
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1516
1516
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1517
1517
|
};
|
|
1518
1518
|
};
|
|
1519
|
-
const
|
|
1519
|
+
const se_DescribeLogPatternRequest = (input, context) => {
|
|
1520
1520
|
return {
|
|
1521
1521
|
...(input.PatternName != null && { PatternName: input.PatternName }),
|
|
1522
1522
|
...(input.PatternSetName != null && { PatternSetName: input.PatternSetName }),
|
|
1523
1523
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1524
1524
|
};
|
|
1525
1525
|
};
|
|
1526
|
-
const
|
|
1526
|
+
const se_DescribeObservationRequest = (input, context) => {
|
|
1527
1527
|
return {
|
|
1528
1528
|
...(input.ObservationId != null && { ObservationId: input.ObservationId }),
|
|
1529
1529
|
};
|
|
1530
1530
|
};
|
|
1531
|
-
const
|
|
1531
|
+
const se_DescribeProblemObservationsRequest = (input, context) => {
|
|
1532
1532
|
return {
|
|
1533
1533
|
...(input.ProblemId != null && { ProblemId: input.ProblemId }),
|
|
1534
1534
|
};
|
|
1535
1535
|
};
|
|
1536
|
-
const
|
|
1536
|
+
const se_DescribeProblemRequest = (input, context) => {
|
|
1537
1537
|
return {
|
|
1538
1538
|
...(input.ProblemId != null && { ProblemId: input.ProblemId }),
|
|
1539
1539
|
};
|
|
1540
1540
|
};
|
|
1541
|
-
const
|
|
1541
|
+
const se_ListApplicationsRequest = (input, context) => {
|
|
1542
1542
|
return {
|
|
1543
1543
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1544
1544
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1545
1545
|
};
|
|
1546
1546
|
};
|
|
1547
|
-
const
|
|
1547
|
+
const se_ListComponentsRequest = (input, context) => {
|
|
1548
1548
|
return {
|
|
1549
1549
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1550
1550
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1551
1551
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1552
1552
|
};
|
|
1553
1553
|
};
|
|
1554
|
-
const
|
|
1554
|
+
const se_ListConfigurationHistoryRequest = (input, context) => {
|
|
1555
1555
|
return {
|
|
1556
1556
|
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
1557
1557
|
...(input.EventStatus != null && { EventStatus: input.EventStatus }),
|
|
@@ -1561,14 +1561,14 @@ const serializeAws_json1_1ListConfigurationHistoryRequest = (input, context) =>
|
|
|
1561
1561
|
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
1562
1562
|
};
|
|
1563
1563
|
};
|
|
1564
|
-
const
|
|
1564
|
+
const se_ListLogPatternSetsRequest = (input, context) => {
|
|
1565
1565
|
return {
|
|
1566
1566
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1567
1567
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1568
1568
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1569
1569
|
};
|
|
1570
1570
|
};
|
|
1571
|
-
const
|
|
1571
|
+
const se_ListLogPatternsRequest = (input, context) => {
|
|
1572
1572
|
return {
|
|
1573
1573
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1574
1574
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
@@ -1576,7 +1576,7 @@ const serializeAws_json1_1ListLogPatternsRequest = (input, context) => {
|
|
|
1576
1576
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1577
1577
|
};
|
|
1578
1578
|
};
|
|
1579
|
-
const
|
|
1579
|
+
const se_ListProblemsRequest = (input, context) => {
|
|
1580
1580
|
return {
|
|
1581
1581
|
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1582
1582
|
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
@@ -1586,51 +1586,51 @@ const serializeAws_json1_1ListProblemsRequest = (input, context) => {
|
|
|
1586
1586
|
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
1587
1587
|
};
|
|
1588
1588
|
};
|
|
1589
|
-
const
|
|
1589
|
+
const se_ListTagsForResourceRequest = (input, context) => {
|
|
1590
1590
|
return {
|
|
1591
1591
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1592
1592
|
};
|
|
1593
1593
|
};
|
|
1594
|
-
const
|
|
1594
|
+
const se_ResourceList = (input, context) => {
|
|
1595
1595
|
return input
|
|
1596
1596
|
.filter((e) => e != null)
|
|
1597
1597
|
.map((entry) => {
|
|
1598
1598
|
return entry;
|
|
1599
1599
|
});
|
|
1600
1600
|
};
|
|
1601
|
-
const
|
|
1601
|
+
const se_Tag = (input, context) => {
|
|
1602
1602
|
return {
|
|
1603
1603
|
...(input.Key != null && { Key: input.Key }),
|
|
1604
1604
|
...(input.Value != null && { Value: input.Value }),
|
|
1605
1605
|
};
|
|
1606
1606
|
};
|
|
1607
|
-
const
|
|
1607
|
+
const se_TagKeyList = (input, context) => {
|
|
1608
1608
|
return input
|
|
1609
1609
|
.filter((e) => e != null)
|
|
1610
1610
|
.map((entry) => {
|
|
1611
1611
|
return entry;
|
|
1612
1612
|
});
|
|
1613
1613
|
};
|
|
1614
|
-
const
|
|
1614
|
+
const se_TagList = (input, context) => {
|
|
1615
1615
|
return input
|
|
1616
1616
|
.filter((e) => e != null)
|
|
1617
1617
|
.map((entry) => {
|
|
1618
|
-
return
|
|
1618
|
+
return se_Tag(entry, context);
|
|
1619
1619
|
});
|
|
1620
1620
|
};
|
|
1621
|
-
const
|
|
1621
|
+
const se_TagResourceRequest = (input, context) => {
|
|
1622
1622
|
return {
|
|
1623
1623
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1624
|
-
...(input.Tags != null && { Tags:
|
|
1624
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1625
1625
|
};
|
|
1626
1626
|
};
|
|
1627
|
-
const
|
|
1627
|
+
const se_UntagResourceRequest = (input, context) => {
|
|
1628
1628
|
return {
|
|
1629
1629
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1630
|
-
...(input.TagKeys != null && { TagKeys:
|
|
1630
|
+
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
1631
1631
|
};
|
|
1632
1632
|
};
|
|
1633
|
-
const
|
|
1633
|
+
const se_UpdateApplicationRequest = (input, context) => {
|
|
1634
1634
|
return {
|
|
1635
1635
|
...(input.AutoConfigEnabled != null && { AutoConfigEnabled: input.AutoConfigEnabled }),
|
|
1636
1636
|
...(input.CWEMonitorEnabled != null && { CWEMonitorEnabled: input.CWEMonitorEnabled }),
|
|
@@ -1640,7 +1640,7 @@ const serializeAws_json1_1UpdateApplicationRequest = (input, context) => {
|
|
|
1640
1640
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1641
1641
|
};
|
|
1642
1642
|
};
|
|
1643
|
-
const
|
|
1643
|
+
const se_UpdateComponentConfigurationRequest = (input, context) => {
|
|
1644
1644
|
return {
|
|
1645
1645
|
...(input.AutoConfigEnabled != null && { AutoConfigEnabled: input.AutoConfigEnabled }),
|
|
1646
1646
|
...(input.ComponentConfiguration != null && { ComponentConfiguration: input.ComponentConfiguration }),
|
|
@@ -1650,15 +1650,15 @@ const serializeAws_json1_1UpdateComponentConfigurationRequest = (input, context)
|
|
|
1650
1650
|
...(input.Tier != null && { Tier: input.Tier }),
|
|
1651
1651
|
};
|
|
1652
1652
|
};
|
|
1653
|
-
const
|
|
1653
|
+
const se_UpdateComponentRequest = (input, context) => {
|
|
1654
1654
|
return {
|
|
1655
1655
|
...(input.ComponentName != null && { ComponentName: input.ComponentName }),
|
|
1656
1656
|
...(input.NewComponentName != null && { NewComponentName: input.NewComponentName }),
|
|
1657
1657
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1658
|
-
...(input.ResourceList != null && { ResourceList:
|
|
1658
|
+
...(input.ResourceList != null && { ResourceList: se_ResourceList(input.ResourceList, context) }),
|
|
1659
1659
|
};
|
|
1660
1660
|
};
|
|
1661
|
-
const
|
|
1661
|
+
const se_UpdateLogPatternRequest = (input, context) => {
|
|
1662
1662
|
return {
|
|
1663
1663
|
...(input.Pattern != null && { Pattern: input.Pattern }),
|
|
1664
1664
|
...(input.PatternName != null && { PatternName: input.PatternName }),
|
|
@@ -1667,36 +1667,34 @@ const serializeAws_json1_1UpdateLogPatternRequest = (input, context) => {
|
|
|
1667
1667
|
...(input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }),
|
|
1668
1668
|
};
|
|
1669
1669
|
};
|
|
1670
|
-
const
|
|
1670
|
+
const de_AccessDeniedException = (output, context) => {
|
|
1671
1671
|
return {
|
|
1672
1672
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1673
1673
|
};
|
|
1674
1674
|
};
|
|
1675
|
-
const
|
|
1675
|
+
const de_ApplicationComponent = (output, context) => {
|
|
1676
1676
|
return {
|
|
1677
1677
|
ComponentName: (0, smithy_client_1.expectString)(output.ComponentName),
|
|
1678
1678
|
ComponentRemarks: (0, smithy_client_1.expectString)(output.ComponentRemarks),
|
|
1679
|
-
DetectedWorkload: output.DetectedWorkload != null
|
|
1680
|
-
? deserializeAws_json1_1DetectedWorkload(output.DetectedWorkload, context)
|
|
1681
|
-
: undefined,
|
|
1679
|
+
DetectedWorkload: output.DetectedWorkload != null ? de_DetectedWorkload(output.DetectedWorkload, context) : undefined,
|
|
1682
1680
|
Monitor: (0, smithy_client_1.expectBoolean)(output.Monitor),
|
|
1683
1681
|
OsType: (0, smithy_client_1.expectString)(output.OsType),
|
|
1684
1682
|
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
1685
1683
|
Tier: (0, smithy_client_1.expectString)(output.Tier),
|
|
1686
1684
|
};
|
|
1687
1685
|
};
|
|
1688
|
-
const
|
|
1686
|
+
const de_ApplicationComponentList = (output, context) => {
|
|
1689
1687
|
const retVal = (output || [])
|
|
1690
1688
|
.filter((e) => e != null)
|
|
1691
1689
|
.map((entry) => {
|
|
1692
1690
|
if (entry === null) {
|
|
1693
1691
|
return null;
|
|
1694
1692
|
}
|
|
1695
|
-
return
|
|
1693
|
+
return de_ApplicationComponent(entry, context);
|
|
1696
1694
|
});
|
|
1697
1695
|
return retVal;
|
|
1698
1696
|
};
|
|
1699
|
-
const
|
|
1697
|
+
const de_ApplicationInfo = (output, context) => {
|
|
1700
1698
|
return {
|
|
1701
1699
|
AutoConfigEnabled: (0, smithy_client_1.expectBoolean)(output.AutoConfigEnabled),
|
|
1702
1700
|
CWEMonitorEnabled: (0, smithy_client_1.expectBoolean)(output.CWEMonitorEnabled),
|
|
@@ -1708,23 +1706,23 @@ const deserializeAws_json1_1ApplicationInfo = (output, context) => {
|
|
|
1708
1706
|
ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
|
|
1709
1707
|
};
|
|
1710
1708
|
};
|
|
1711
|
-
const
|
|
1709
|
+
const de_ApplicationInfoList = (output, context) => {
|
|
1712
1710
|
const retVal = (output || [])
|
|
1713
1711
|
.filter((e) => e != null)
|
|
1714
1712
|
.map((entry) => {
|
|
1715
1713
|
if (entry === null) {
|
|
1716
1714
|
return null;
|
|
1717
1715
|
}
|
|
1718
|
-
return
|
|
1716
|
+
return de_ApplicationInfo(entry, context);
|
|
1719
1717
|
});
|
|
1720
1718
|
return retVal;
|
|
1721
1719
|
};
|
|
1722
|
-
const
|
|
1720
|
+
const de_BadRequestException = (output, context) => {
|
|
1723
1721
|
return {
|
|
1724
1722
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1725
1723
|
};
|
|
1726
1724
|
};
|
|
1727
|
-
const
|
|
1725
|
+
const de_ConfigurationEvent = (output, context) => {
|
|
1728
1726
|
return {
|
|
1729
1727
|
EventDetail: (0, smithy_client_1.expectString)(output.EventDetail),
|
|
1730
1728
|
EventResourceName: (0, smithy_client_1.expectString)(output.EventResourceName),
|
|
@@ -1734,102 +1732,94 @@ const deserializeAws_json1_1ConfigurationEvent = (output, context) => {
|
|
|
1734
1732
|
MonitoredResourceARN: (0, smithy_client_1.expectString)(output.MonitoredResourceARN),
|
|
1735
1733
|
};
|
|
1736
1734
|
};
|
|
1737
|
-
const
|
|
1735
|
+
const de_ConfigurationEventList = (output, context) => {
|
|
1738
1736
|
const retVal = (output || [])
|
|
1739
1737
|
.filter((e) => e != null)
|
|
1740
1738
|
.map((entry) => {
|
|
1741
1739
|
if (entry === null) {
|
|
1742
1740
|
return null;
|
|
1743
1741
|
}
|
|
1744
|
-
return
|
|
1742
|
+
return de_ConfigurationEvent(entry, context);
|
|
1745
1743
|
});
|
|
1746
1744
|
return retVal;
|
|
1747
1745
|
};
|
|
1748
|
-
const
|
|
1746
|
+
const de_CreateApplicationResponse = (output, context) => {
|
|
1749
1747
|
return {
|
|
1750
|
-
ApplicationInfo: output.ApplicationInfo != null
|
|
1751
|
-
? deserializeAws_json1_1ApplicationInfo(output.ApplicationInfo, context)
|
|
1752
|
-
: undefined,
|
|
1748
|
+
ApplicationInfo: output.ApplicationInfo != null ? de_ApplicationInfo(output.ApplicationInfo, context) : undefined,
|
|
1753
1749
|
};
|
|
1754
1750
|
};
|
|
1755
|
-
const
|
|
1751
|
+
const de_CreateComponentResponse = (output, context) => {
|
|
1756
1752
|
return {};
|
|
1757
1753
|
};
|
|
1758
|
-
const
|
|
1754
|
+
const de_CreateLogPatternResponse = (output, context) => {
|
|
1759
1755
|
return {
|
|
1760
|
-
LogPattern: output.LogPattern != null ?
|
|
1756
|
+
LogPattern: output.LogPattern != null ? de_LogPattern(output.LogPattern, context) : undefined,
|
|
1761
1757
|
ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
|
|
1762
1758
|
};
|
|
1763
1759
|
};
|
|
1764
|
-
const
|
|
1760
|
+
const de_DeleteApplicationResponse = (output, context) => {
|
|
1765
1761
|
return {};
|
|
1766
1762
|
};
|
|
1767
|
-
const
|
|
1763
|
+
const de_DeleteComponentResponse = (output, context) => {
|
|
1768
1764
|
return {};
|
|
1769
1765
|
};
|
|
1770
|
-
const
|
|
1766
|
+
const de_DeleteLogPatternResponse = (output, context) => {
|
|
1771
1767
|
return {};
|
|
1772
1768
|
};
|
|
1773
|
-
const
|
|
1769
|
+
const de_DescribeApplicationResponse = (output, context) => {
|
|
1774
1770
|
return {
|
|
1775
|
-
ApplicationInfo: output.ApplicationInfo != null
|
|
1776
|
-
? deserializeAws_json1_1ApplicationInfo(output.ApplicationInfo, context)
|
|
1777
|
-
: undefined,
|
|
1771
|
+
ApplicationInfo: output.ApplicationInfo != null ? de_ApplicationInfo(output.ApplicationInfo, context) : undefined,
|
|
1778
1772
|
};
|
|
1779
1773
|
};
|
|
1780
|
-
const
|
|
1774
|
+
const de_DescribeComponentConfigurationRecommendationResponse = (output, context) => {
|
|
1781
1775
|
return {
|
|
1782
1776
|
ComponentConfiguration: (0, smithy_client_1.expectString)(output.ComponentConfiguration),
|
|
1783
1777
|
};
|
|
1784
1778
|
};
|
|
1785
|
-
const
|
|
1779
|
+
const de_DescribeComponentConfigurationResponse = (output, context) => {
|
|
1786
1780
|
return {
|
|
1787
1781
|
ComponentConfiguration: (0, smithy_client_1.expectString)(output.ComponentConfiguration),
|
|
1788
1782
|
Monitor: (0, smithy_client_1.expectBoolean)(output.Monitor),
|
|
1789
1783
|
Tier: (0, smithy_client_1.expectString)(output.Tier),
|
|
1790
1784
|
};
|
|
1791
1785
|
};
|
|
1792
|
-
const
|
|
1786
|
+
const de_DescribeComponentResponse = (output, context) => {
|
|
1793
1787
|
return {
|
|
1794
|
-
ApplicationComponent: output.ApplicationComponent != null
|
|
1795
|
-
|
|
1796
|
-
: undefined,
|
|
1797
|
-
ResourceList: output.ResourceList != null ? deserializeAws_json1_1ResourceList(output.ResourceList, context) : undefined,
|
|
1788
|
+
ApplicationComponent: output.ApplicationComponent != null ? de_ApplicationComponent(output.ApplicationComponent, context) : undefined,
|
|
1789
|
+
ResourceList: output.ResourceList != null ? de_ResourceList(output.ResourceList, context) : undefined,
|
|
1798
1790
|
};
|
|
1799
1791
|
};
|
|
1800
|
-
const
|
|
1792
|
+
const de_DescribeLogPatternResponse = (output, context) => {
|
|
1801
1793
|
return {
|
|
1802
|
-
LogPattern: output.LogPattern != null ?
|
|
1794
|
+
LogPattern: output.LogPattern != null ? de_LogPattern(output.LogPattern, context) : undefined,
|
|
1803
1795
|
ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
|
|
1804
1796
|
};
|
|
1805
1797
|
};
|
|
1806
|
-
const
|
|
1798
|
+
const de_DescribeObservationResponse = (output, context) => {
|
|
1807
1799
|
return {
|
|
1808
|
-
Observation: output.Observation != null ?
|
|
1800
|
+
Observation: output.Observation != null ? de_Observation(output.Observation, context) : undefined,
|
|
1809
1801
|
};
|
|
1810
1802
|
};
|
|
1811
|
-
const
|
|
1803
|
+
const de_DescribeProblemObservationsResponse = (output, context) => {
|
|
1812
1804
|
return {
|
|
1813
|
-
RelatedObservations: output.RelatedObservations != null
|
|
1814
|
-
? deserializeAws_json1_1RelatedObservations(output.RelatedObservations, context)
|
|
1815
|
-
: undefined,
|
|
1805
|
+
RelatedObservations: output.RelatedObservations != null ? de_RelatedObservations(output.RelatedObservations, context) : undefined,
|
|
1816
1806
|
};
|
|
1817
1807
|
};
|
|
1818
|
-
const
|
|
1808
|
+
const de_DescribeProblemResponse = (output, context) => {
|
|
1819
1809
|
return {
|
|
1820
|
-
Problem: output.Problem != null ?
|
|
1810
|
+
Problem: output.Problem != null ? de_Problem(output.Problem, context) : undefined,
|
|
1821
1811
|
};
|
|
1822
1812
|
};
|
|
1823
|
-
const
|
|
1813
|
+
const de_DetectedWorkload = (output, context) => {
|
|
1824
1814
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1825
1815
|
if (value === null) {
|
|
1826
1816
|
return acc;
|
|
1827
1817
|
}
|
|
1828
|
-
acc[key] =
|
|
1818
|
+
acc[key] = de_WorkloadMetaData(value, context);
|
|
1829
1819
|
return acc;
|
|
1830
1820
|
}, {});
|
|
1831
1821
|
};
|
|
1832
|
-
const
|
|
1822
|
+
const de_Feedback = (output, context) => {
|
|
1833
1823
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1834
1824
|
if (value === null) {
|
|
1835
1825
|
return acc;
|
|
@@ -1838,62 +1828,58 @@ const deserializeAws_json1_1Feedback = (output, context) => {
|
|
|
1838
1828
|
return acc;
|
|
1839
1829
|
}, {});
|
|
1840
1830
|
};
|
|
1841
|
-
const
|
|
1831
|
+
const de_InternalServerException = (output, context) => {
|
|
1842
1832
|
return {
|
|
1843
1833
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1844
1834
|
};
|
|
1845
1835
|
};
|
|
1846
|
-
const
|
|
1836
|
+
const de_ListApplicationsResponse = (output, context) => {
|
|
1847
1837
|
return {
|
|
1848
|
-
ApplicationInfoList: output.ApplicationInfoList != null
|
|
1849
|
-
? deserializeAws_json1_1ApplicationInfoList(output.ApplicationInfoList, context)
|
|
1850
|
-
: undefined,
|
|
1838
|
+
ApplicationInfoList: output.ApplicationInfoList != null ? de_ApplicationInfoList(output.ApplicationInfoList, context) : undefined,
|
|
1851
1839
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1852
1840
|
};
|
|
1853
1841
|
};
|
|
1854
|
-
const
|
|
1842
|
+
const de_ListComponentsResponse = (output, context) => {
|
|
1855
1843
|
return {
|
|
1856
1844
|
ApplicationComponentList: output.ApplicationComponentList != null
|
|
1857
|
-
?
|
|
1845
|
+
? de_ApplicationComponentList(output.ApplicationComponentList, context)
|
|
1858
1846
|
: undefined,
|
|
1859
1847
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1860
1848
|
};
|
|
1861
1849
|
};
|
|
1862
|
-
const
|
|
1850
|
+
const de_ListConfigurationHistoryResponse = (output, context) => {
|
|
1863
1851
|
return {
|
|
1864
|
-
EventList: output.EventList != null ?
|
|
1852
|
+
EventList: output.EventList != null ? de_ConfigurationEventList(output.EventList, context) : undefined,
|
|
1865
1853
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1866
1854
|
};
|
|
1867
1855
|
};
|
|
1868
|
-
const
|
|
1856
|
+
const de_ListLogPatternSetsResponse = (output, context) => {
|
|
1869
1857
|
return {
|
|
1870
|
-
LogPatternSets: output.LogPatternSets != null
|
|
1871
|
-
? deserializeAws_json1_1LogPatternSetList(output.LogPatternSets, context)
|
|
1872
|
-
: undefined,
|
|
1858
|
+
LogPatternSets: output.LogPatternSets != null ? de_LogPatternSetList(output.LogPatternSets, context) : undefined,
|
|
1873
1859
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1874
1860
|
ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
|
|
1875
1861
|
};
|
|
1876
1862
|
};
|
|
1877
|
-
const
|
|
1863
|
+
const de_ListLogPatternsResponse = (output, context) => {
|
|
1878
1864
|
return {
|
|
1879
|
-
LogPatterns: output.LogPatterns != null ?
|
|
1865
|
+
LogPatterns: output.LogPatterns != null ? de_LogPatternList(output.LogPatterns, context) : undefined,
|
|
1880
1866
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1881
1867
|
ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
|
|
1882
1868
|
};
|
|
1883
1869
|
};
|
|
1884
|
-
const
|
|
1870
|
+
const de_ListProblemsResponse = (output, context) => {
|
|
1885
1871
|
return {
|
|
1886
1872
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1887
|
-
ProblemList: output.ProblemList != null ?
|
|
1873
|
+
ProblemList: output.ProblemList != null ? de_ProblemList(output.ProblemList, context) : undefined,
|
|
1888
1874
|
ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
|
|
1889
1875
|
};
|
|
1890
1876
|
};
|
|
1891
|
-
const
|
|
1877
|
+
const de_ListTagsForResourceResponse = (output, context) => {
|
|
1892
1878
|
return {
|
|
1893
|
-
Tags: output.Tags != null ?
|
|
1879
|
+
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
1894
1880
|
};
|
|
1895
1881
|
};
|
|
1896
|
-
const
|
|
1882
|
+
const de_LogPattern = (output, context) => {
|
|
1897
1883
|
return {
|
|
1898
1884
|
Pattern: (0, smithy_client_1.expectString)(output.Pattern),
|
|
1899
1885
|
PatternName: (0, smithy_client_1.expectString)(output.PatternName),
|
|
@@ -1901,18 +1887,18 @@ const deserializeAws_json1_1LogPattern = (output, context) => {
|
|
|
1901
1887
|
Rank: (0, smithy_client_1.expectInt32)(output.Rank),
|
|
1902
1888
|
};
|
|
1903
1889
|
};
|
|
1904
|
-
const
|
|
1890
|
+
const de_LogPatternList = (output, context) => {
|
|
1905
1891
|
const retVal = (output || [])
|
|
1906
1892
|
.filter((e) => e != null)
|
|
1907
1893
|
.map((entry) => {
|
|
1908
1894
|
if (entry === null) {
|
|
1909
1895
|
return null;
|
|
1910
1896
|
}
|
|
1911
|
-
return
|
|
1897
|
+
return de_LogPattern(entry, context);
|
|
1912
1898
|
});
|
|
1913
1899
|
return retVal;
|
|
1914
1900
|
};
|
|
1915
|
-
const
|
|
1901
|
+
const de_LogPatternSetList = (output, context) => {
|
|
1916
1902
|
const retVal = (output || [])
|
|
1917
1903
|
.filter((e) => e != null)
|
|
1918
1904
|
.map((entry) => {
|
|
@@ -1923,7 +1909,7 @@ const deserializeAws_json1_1LogPatternSetList = (output, context) => {
|
|
|
1923
1909
|
});
|
|
1924
1910
|
return retVal;
|
|
1925
1911
|
};
|
|
1926
|
-
const
|
|
1912
|
+
const de_Observation = (output, context) => {
|
|
1927
1913
|
return {
|
|
1928
1914
|
CloudWatchEventDetailType: (0, smithy_client_1.expectString)(output.CloudWatchEventDetailType),
|
|
1929
1915
|
CloudWatchEventId: (0, smithy_client_1.expectString)(output.CloudWatchEventId),
|
|
@@ -1972,22 +1958,22 @@ const deserializeAws_json1_1Observation = (output, context) => {
|
|
|
1972
1958
|
XRayThrottlePercent: (0, smithy_client_1.expectInt32)(output.XRayThrottlePercent),
|
|
1973
1959
|
};
|
|
1974
1960
|
};
|
|
1975
|
-
const
|
|
1961
|
+
const de_ObservationList = (output, context) => {
|
|
1976
1962
|
const retVal = (output || [])
|
|
1977
1963
|
.filter((e) => e != null)
|
|
1978
1964
|
.map((entry) => {
|
|
1979
1965
|
if (entry === null) {
|
|
1980
1966
|
return null;
|
|
1981
1967
|
}
|
|
1982
|
-
return
|
|
1968
|
+
return de_Observation(entry, context);
|
|
1983
1969
|
});
|
|
1984
1970
|
return retVal;
|
|
1985
1971
|
};
|
|
1986
|
-
const
|
|
1972
|
+
const de_Problem = (output, context) => {
|
|
1987
1973
|
return {
|
|
1988
1974
|
AffectedResource: (0, smithy_client_1.expectString)(output.AffectedResource),
|
|
1989
1975
|
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime))) : undefined,
|
|
1990
|
-
Feedback: output.Feedback != null ?
|
|
1976
|
+
Feedback: output.Feedback != null ? de_Feedback(output.Feedback, context) : undefined,
|
|
1991
1977
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
1992
1978
|
Insights: (0, smithy_client_1.expectString)(output.Insights),
|
|
1993
1979
|
LastRecurrenceTime: output.LastRecurrenceTime != null
|
|
@@ -2001,30 +1987,28 @@ const deserializeAws_json1_1Problem = (output, context) => {
|
|
|
2001
1987
|
Title: (0, smithy_client_1.expectString)(output.Title),
|
|
2002
1988
|
};
|
|
2003
1989
|
};
|
|
2004
|
-
const
|
|
1990
|
+
const de_ProblemList = (output, context) => {
|
|
2005
1991
|
const retVal = (output || [])
|
|
2006
1992
|
.filter((e) => e != null)
|
|
2007
1993
|
.map((entry) => {
|
|
2008
1994
|
if (entry === null) {
|
|
2009
1995
|
return null;
|
|
2010
1996
|
}
|
|
2011
|
-
return
|
|
1997
|
+
return de_Problem(entry, context);
|
|
2012
1998
|
});
|
|
2013
1999
|
return retVal;
|
|
2014
2000
|
};
|
|
2015
|
-
const
|
|
2001
|
+
const de_RelatedObservations = (output, context) => {
|
|
2016
2002
|
return {
|
|
2017
|
-
ObservationList: output.ObservationList != null
|
|
2018
|
-
? deserializeAws_json1_1ObservationList(output.ObservationList, context)
|
|
2019
|
-
: undefined,
|
|
2003
|
+
ObservationList: output.ObservationList != null ? de_ObservationList(output.ObservationList, context) : undefined,
|
|
2020
2004
|
};
|
|
2021
2005
|
};
|
|
2022
|
-
const
|
|
2006
|
+
const de_ResourceInUseException = (output, context) => {
|
|
2023
2007
|
return {
|
|
2024
2008
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2025
2009
|
};
|
|
2026
2010
|
};
|
|
2027
|
-
const
|
|
2011
|
+
const de_ResourceList = (output, context) => {
|
|
2028
2012
|
const retVal = (output || [])
|
|
2029
2013
|
.filter((e) => e != null)
|
|
2030
2014
|
.map((entry) => {
|
|
@@ -2035,70 +2019,68 @@ const deserializeAws_json1_1ResourceList = (output, context) => {
|
|
|
2035
2019
|
});
|
|
2036
2020
|
return retVal;
|
|
2037
2021
|
};
|
|
2038
|
-
const
|
|
2022
|
+
const de_ResourceNotFoundException = (output, context) => {
|
|
2039
2023
|
return {
|
|
2040
2024
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2041
2025
|
};
|
|
2042
2026
|
};
|
|
2043
|
-
const
|
|
2027
|
+
const de_Tag = (output, context) => {
|
|
2044
2028
|
return {
|
|
2045
2029
|
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2046
2030
|
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2047
2031
|
};
|
|
2048
2032
|
};
|
|
2049
|
-
const
|
|
2033
|
+
const de_TagList = (output, context) => {
|
|
2050
2034
|
const retVal = (output || [])
|
|
2051
2035
|
.filter((e) => e != null)
|
|
2052
2036
|
.map((entry) => {
|
|
2053
2037
|
if (entry === null) {
|
|
2054
2038
|
return null;
|
|
2055
2039
|
}
|
|
2056
|
-
return
|
|
2040
|
+
return de_Tag(entry, context);
|
|
2057
2041
|
});
|
|
2058
2042
|
return retVal;
|
|
2059
2043
|
};
|
|
2060
|
-
const
|
|
2044
|
+
const de_TagResourceResponse = (output, context) => {
|
|
2061
2045
|
return {};
|
|
2062
2046
|
};
|
|
2063
|
-
const
|
|
2047
|
+
const de_TagsAlreadyExistException = (output, context) => {
|
|
2064
2048
|
return {
|
|
2065
2049
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2066
2050
|
};
|
|
2067
2051
|
};
|
|
2068
|
-
const
|
|
2052
|
+
const de_TooManyTagsException = (output, context) => {
|
|
2069
2053
|
return {
|
|
2070
2054
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2071
2055
|
ResourceName: (0, smithy_client_1.expectString)(output.ResourceName),
|
|
2072
2056
|
};
|
|
2073
2057
|
};
|
|
2074
|
-
const
|
|
2058
|
+
const de_UntagResourceResponse = (output, context) => {
|
|
2075
2059
|
return {};
|
|
2076
2060
|
};
|
|
2077
|
-
const
|
|
2061
|
+
const de_UpdateApplicationResponse = (output, context) => {
|
|
2078
2062
|
return {
|
|
2079
|
-
ApplicationInfo: output.ApplicationInfo != null
|
|
2080
|
-
? deserializeAws_json1_1ApplicationInfo(output.ApplicationInfo, context)
|
|
2081
|
-
: undefined,
|
|
2063
|
+
ApplicationInfo: output.ApplicationInfo != null ? de_ApplicationInfo(output.ApplicationInfo, context) : undefined,
|
|
2082
2064
|
};
|
|
2083
2065
|
};
|
|
2084
|
-
const
|
|
2066
|
+
const de_UpdateComponentConfigurationResponse = (output, context) => {
|
|
2085
2067
|
return {};
|
|
2086
2068
|
};
|
|
2087
|
-
const
|
|
2069
|
+
const de_UpdateComponentResponse = (output, context) => {
|
|
2088
2070
|
return {};
|
|
2089
2071
|
};
|
|
2090
|
-
const
|
|
2072
|
+
const de_UpdateLogPatternResponse = (output, context) => {
|
|
2091
2073
|
return {
|
|
2092
|
-
LogPattern: output.LogPattern != null ?
|
|
2074
|
+
LogPattern: output.LogPattern != null ? de_LogPattern(output.LogPattern, context) : undefined,
|
|
2093
2075
|
ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
|
|
2094
2076
|
};
|
|
2095
2077
|
};
|
|
2096
|
-
const
|
|
2078
|
+
const de_ValidationException = (output, context) => {
|
|
2097
2079
|
return {
|
|
2098
2080
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2099
2081
|
};
|
|
2100
2082
|
};
|
|
2101
|
-
const
|
|
2083
|
+
const de_WorkloadMetaData = (output, context) => {
|
|
2102
2084
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2103
2085
|
if (value === null) {
|
|
2104
2086
|
return acc;
|