@aws-sdk/client-application-discovery-service 3.303.0 → 3.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/AssociateConfigurationItemsToApplicationCommand.js +2 -2
- package/dist-cjs/commands/BatchDeleteImportDataCommand.js +2 -2
- package/dist-cjs/commands/CreateApplicationCommand.js +2 -2
- package/dist-cjs/commands/CreateTagsCommand.js +2 -2
- package/dist-cjs/commands/DeleteApplicationsCommand.js +2 -2
- package/dist-cjs/commands/DeleteTagsCommand.js +2 -2
- package/dist-cjs/commands/DescribeAgentsCommand.js +2 -2
- package/dist-cjs/commands/DescribeConfigurationsCommand.js +2 -2
- package/dist-cjs/commands/DescribeContinuousExportsCommand.js +2 -2
- package/dist-cjs/commands/DescribeExportConfigurationsCommand.js +2 -2
- package/dist-cjs/commands/DescribeExportTasksCommand.js +2 -2
- package/dist-cjs/commands/DescribeImportTasksCommand.js +2 -2
- package/dist-cjs/commands/DescribeTagsCommand.js +2 -2
- package/dist-cjs/commands/DisassociateConfigurationItemsFromApplicationCommand.js +2 -2
- package/dist-cjs/commands/ExportConfigurationsCommand.js +2 -2
- package/dist-cjs/commands/GetDiscoverySummaryCommand.js +2 -2
- package/dist-cjs/commands/ListConfigurationsCommand.js +2 -2
- package/dist-cjs/commands/ListServerNeighborsCommand.js +2 -2
- package/dist-cjs/commands/StartContinuousExportCommand.js +2 -2
- package/dist-cjs/commands/StartDataCollectionByAgentIdsCommand.js +2 -2
- package/dist-cjs/commands/StartExportTaskCommand.js +2 -2
- package/dist-cjs/commands/StartImportTaskCommand.js +2 -2
- package/dist-cjs/commands/StopContinuousExportCommand.js +2 -2
- package/dist-cjs/commands/StopDataCollectionByAgentIdsCommand.js +2 -2
- package/dist-cjs/commands/UpdateApplicationCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +530 -552
- package/dist-es/commands/AssociateConfigurationItemsToApplicationCommand.js +3 -3
- package/dist-es/commands/BatchDeleteImportDataCommand.js +3 -3
- package/dist-es/commands/CreateApplicationCommand.js +3 -3
- package/dist-es/commands/CreateTagsCommand.js +3 -3
- package/dist-es/commands/DeleteApplicationsCommand.js +3 -3
- package/dist-es/commands/DeleteTagsCommand.js +3 -3
- package/dist-es/commands/DescribeAgentsCommand.js +3 -3
- package/dist-es/commands/DescribeConfigurationsCommand.js +3 -3
- package/dist-es/commands/DescribeContinuousExportsCommand.js +3 -3
- package/dist-es/commands/DescribeExportConfigurationsCommand.js +3 -3
- package/dist-es/commands/DescribeExportTasksCommand.js +3 -3
- package/dist-es/commands/DescribeImportTasksCommand.js +3 -3
- package/dist-es/commands/DescribeTagsCommand.js +3 -3
- package/dist-es/commands/DisassociateConfigurationItemsFromApplicationCommand.js +3 -3
- package/dist-es/commands/ExportConfigurationsCommand.js +3 -3
- package/dist-es/commands/GetDiscoverySummaryCommand.js +3 -3
- package/dist-es/commands/ListConfigurationsCommand.js +3 -3
- package/dist-es/commands/ListServerNeighborsCommand.js +3 -3
- package/dist-es/commands/StartContinuousExportCommand.js +3 -3
- package/dist-es/commands/StartDataCollectionByAgentIdsCommand.js +3 -3
- package/dist-es/commands/StartExportTaskCommand.js +3 -3
- package/dist-es/commands/StartImportTaskCommand.js +3 -3
- package/dist-es/commands/StopContinuousExportCommand.js +3 -3
- package/dist-es/commands/StopDataCollectionByAgentIdsCommand.js +3 -3
- package/dist-es/commands/UpdateApplicationCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +479 -501
- package/dist-types/protocols/Aws_json1_1.d.ts +200 -50
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +50 -50
- package/package.json +29 -29
|
@@ -3,133 +3,133 @@ import { decorateServiceException as __decorateServiceException, expectBoolean a
|
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { ApplicationDiscoveryServiceServiceException as __BaseException } from "../models/ApplicationDiscoveryServiceServiceException";
|
|
5
5
|
import { AuthorizationErrorException, ConflictErrorException, HomeRegionNotSetException, InvalidParameterException, InvalidParameterValueException, OperationNotPermittedException, ResourceInUseException, ResourceNotFoundException, ServerInternalErrorException, } from "../models/models_0";
|
|
6
|
-
export const
|
|
6
|
+
export const se_AssociateConfigurationItemsToApplicationCommand = async (input, context) => {
|
|
7
7
|
const headers = {
|
|
8
8
|
"content-type": "application/x-amz-json-1.1",
|
|
9
9
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.AssociateConfigurationItemsToApplication",
|
|
10
10
|
};
|
|
11
11
|
let body;
|
|
12
|
-
body = JSON.stringify(
|
|
12
|
+
body = JSON.stringify(se_AssociateConfigurationItemsToApplicationRequest(input, context));
|
|
13
13
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
14
14
|
};
|
|
15
|
-
export const
|
|
15
|
+
export const se_BatchDeleteImportDataCommand = async (input, context) => {
|
|
16
16
|
const headers = {
|
|
17
17
|
"content-type": "application/x-amz-json-1.1",
|
|
18
18
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.BatchDeleteImportData",
|
|
19
19
|
};
|
|
20
20
|
let body;
|
|
21
|
-
body = JSON.stringify(
|
|
21
|
+
body = JSON.stringify(se_BatchDeleteImportDataRequest(input, context));
|
|
22
22
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
23
|
};
|
|
24
|
-
export const
|
|
24
|
+
export const se_CreateApplicationCommand = async (input, context) => {
|
|
25
25
|
const headers = {
|
|
26
26
|
"content-type": "application/x-amz-json-1.1",
|
|
27
27
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.CreateApplication",
|
|
28
28
|
};
|
|
29
29
|
let body;
|
|
30
|
-
body = JSON.stringify(
|
|
30
|
+
body = JSON.stringify(se_CreateApplicationRequest(input, context));
|
|
31
31
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
32
32
|
};
|
|
33
|
-
export const
|
|
33
|
+
export const se_CreateTagsCommand = async (input, context) => {
|
|
34
34
|
const headers = {
|
|
35
35
|
"content-type": "application/x-amz-json-1.1",
|
|
36
36
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.CreateTags",
|
|
37
37
|
};
|
|
38
38
|
let body;
|
|
39
|
-
body = JSON.stringify(
|
|
39
|
+
body = JSON.stringify(se_CreateTagsRequest(input, context));
|
|
40
40
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
41
|
};
|
|
42
|
-
export const
|
|
42
|
+
export const se_DeleteApplicationsCommand = async (input, context) => {
|
|
43
43
|
const headers = {
|
|
44
44
|
"content-type": "application/x-amz-json-1.1",
|
|
45
45
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.DeleteApplications",
|
|
46
46
|
};
|
|
47
47
|
let body;
|
|
48
|
-
body = JSON.stringify(
|
|
48
|
+
body = JSON.stringify(se_DeleteApplicationsRequest(input, context));
|
|
49
49
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
50
50
|
};
|
|
51
|
-
export const
|
|
51
|
+
export const se_DeleteTagsCommand = async (input, context) => {
|
|
52
52
|
const headers = {
|
|
53
53
|
"content-type": "application/x-amz-json-1.1",
|
|
54
54
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.DeleteTags",
|
|
55
55
|
};
|
|
56
56
|
let body;
|
|
57
|
-
body = JSON.stringify(
|
|
57
|
+
body = JSON.stringify(se_DeleteTagsRequest(input, context));
|
|
58
58
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
59
|
};
|
|
60
|
-
export const
|
|
60
|
+
export const se_DescribeAgentsCommand = async (input, context) => {
|
|
61
61
|
const headers = {
|
|
62
62
|
"content-type": "application/x-amz-json-1.1",
|
|
63
63
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.DescribeAgents",
|
|
64
64
|
};
|
|
65
65
|
let body;
|
|
66
|
-
body = JSON.stringify(
|
|
66
|
+
body = JSON.stringify(se_DescribeAgentsRequest(input, context));
|
|
67
67
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
68
68
|
};
|
|
69
|
-
export const
|
|
69
|
+
export const se_DescribeConfigurationsCommand = async (input, context) => {
|
|
70
70
|
const headers = {
|
|
71
71
|
"content-type": "application/x-amz-json-1.1",
|
|
72
72
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.DescribeConfigurations",
|
|
73
73
|
};
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify(se_DescribeConfigurationsRequest(input, context));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
|
-
export const
|
|
78
|
+
export const se_DescribeContinuousExportsCommand = async (input, context) => {
|
|
79
79
|
const headers = {
|
|
80
80
|
"content-type": "application/x-amz-json-1.1",
|
|
81
81
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.DescribeContinuousExports",
|
|
82
82
|
};
|
|
83
83
|
let body;
|
|
84
|
-
body = JSON.stringify(
|
|
84
|
+
body = JSON.stringify(se_DescribeContinuousExportsRequest(input, context));
|
|
85
85
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
86
86
|
};
|
|
87
|
-
export const
|
|
87
|
+
export const se_DescribeExportConfigurationsCommand = async (input, context) => {
|
|
88
88
|
const headers = {
|
|
89
89
|
"content-type": "application/x-amz-json-1.1",
|
|
90
90
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.DescribeExportConfigurations",
|
|
91
91
|
};
|
|
92
92
|
let body;
|
|
93
|
-
body = JSON.stringify(
|
|
93
|
+
body = JSON.stringify(se_DescribeExportConfigurationsRequest(input, context));
|
|
94
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
95
|
};
|
|
96
|
-
export const
|
|
96
|
+
export const se_DescribeExportTasksCommand = async (input, context) => {
|
|
97
97
|
const headers = {
|
|
98
98
|
"content-type": "application/x-amz-json-1.1",
|
|
99
99
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.DescribeExportTasks",
|
|
100
100
|
};
|
|
101
101
|
let body;
|
|
102
|
-
body = JSON.stringify(
|
|
102
|
+
body = JSON.stringify(se_DescribeExportTasksRequest(input, context));
|
|
103
103
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
104
104
|
};
|
|
105
|
-
export const
|
|
105
|
+
export const se_DescribeImportTasksCommand = async (input, context) => {
|
|
106
106
|
const headers = {
|
|
107
107
|
"content-type": "application/x-amz-json-1.1",
|
|
108
108
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.DescribeImportTasks",
|
|
109
109
|
};
|
|
110
110
|
let body;
|
|
111
|
-
body = JSON.stringify(
|
|
111
|
+
body = JSON.stringify(se_DescribeImportTasksRequest(input, context));
|
|
112
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
113
|
};
|
|
114
|
-
export const
|
|
114
|
+
export const se_DescribeTagsCommand = async (input, context) => {
|
|
115
115
|
const headers = {
|
|
116
116
|
"content-type": "application/x-amz-json-1.1",
|
|
117
117
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.DescribeTags",
|
|
118
118
|
};
|
|
119
119
|
let body;
|
|
120
|
-
body = JSON.stringify(
|
|
120
|
+
body = JSON.stringify(se_DescribeTagsRequest(input, context));
|
|
121
121
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
122
122
|
};
|
|
123
|
-
export const
|
|
123
|
+
export const se_DisassociateConfigurationItemsFromApplicationCommand = async (input, context) => {
|
|
124
124
|
const headers = {
|
|
125
125
|
"content-type": "application/x-amz-json-1.1",
|
|
126
126
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.DisassociateConfigurationItemsFromApplication",
|
|
127
127
|
};
|
|
128
128
|
let body;
|
|
129
|
-
body = JSON.stringify(
|
|
129
|
+
body = JSON.stringify(se_DisassociateConfigurationItemsFromApplicationRequest(input, context));
|
|
130
130
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
131
|
};
|
|
132
|
-
export const
|
|
132
|
+
export const se_ExportConfigurationsCommand = async (input, context) => {
|
|
133
133
|
const headers = {
|
|
134
134
|
"content-type": "application/x-amz-json-1.1",
|
|
135
135
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.ExportConfigurations",
|
|
@@ -137,110 +137,110 @@ export const serializeAws_json1_1ExportConfigurationsCommand = async (input, con
|
|
|
137
137
|
const body = "{}";
|
|
138
138
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
139
139
|
};
|
|
140
|
-
export const
|
|
140
|
+
export const se_GetDiscoverySummaryCommand = async (input, context) => {
|
|
141
141
|
const headers = {
|
|
142
142
|
"content-type": "application/x-amz-json-1.1",
|
|
143
143
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.GetDiscoverySummary",
|
|
144
144
|
};
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(se_GetDiscoverySummaryRequest(input, context));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
|
-
export const
|
|
149
|
+
export const se_ListConfigurationsCommand = async (input, context) => {
|
|
150
150
|
const headers = {
|
|
151
151
|
"content-type": "application/x-amz-json-1.1",
|
|
152
152
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.ListConfigurations",
|
|
153
153
|
};
|
|
154
154
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
155
|
+
body = JSON.stringify(se_ListConfigurationsRequest(input, context));
|
|
156
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
157
|
};
|
|
158
|
-
export const
|
|
158
|
+
export const se_ListServerNeighborsCommand = async (input, context) => {
|
|
159
159
|
const headers = {
|
|
160
160
|
"content-type": "application/x-amz-json-1.1",
|
|
161
161
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.ListServerNeighbors",
|
|
162
162
|
};
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(se_ListServerNeighborsRequest(input, context));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
|
-
export const
|
|
167
|
+
export const se_StartContinuousExportCommand = async (input, context) => {
|
|
168
168
|
const headers = {
|
|
169
169
|
"content-type": "application/x-amz-json-1.1",
|
|
170
170
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.StartContinuousExport",
|
|
171
171
|
};
|
|
172
172
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify(se_StartContinuousExportRequest(input, context));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
|
-
export const
|
|
176
|
+
export const se_StartDataCollectionByAgentIdsCommand = async (input, context) => {
|
|
177
177
|
const headers = {
|
|
178
178
|
"content-type": "application/x-amz-json-1.1",
|
|
179
179
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.StartDataCollectionByAgentIds",
|
|
180
180
|
};
|
|
181
181
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify(se_StartDataCollectionByAgentIdsRequest(input, context));
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
185
|
-
export const
|
|
185
|
+
export const se_StartExportTaskCommand = async (input, context) => {
|
|
186
186
|
const headers = {
|
|
187
187
|
"content-type": "application/x-amz-json-1.1",
|
|
188
188
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.StartExportTask",
|
|
189
189
|
};
|
|
190
190
|
let body;
|
|
191
|
-
body = JSON.stringify(
|
|
191
|
+
body = JSON.stringify(se_StartExportTaskRequest(input, context));
|
|
192
192
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
193
193
|
};
|
|
194
|
-
export const
|
|
194
|
+
export const se_StartImportTaskCommand = async (input, context) => {
|
|
195
195
|
const headers = {
|
|
196
196
|
"content-type": "application/x-amz-json-1.1",
|
|
197
197
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.StartImportTask",
|
|
198
198
|
};
|
|
199
199
|
let body;
|
|
200
|
-
body = JSON.stringify(
|
|
200
|
+
body = JSON.stringify(se_StartImportTaskRequest(input, context));
|
|
201
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
202
|
};
|
|
203
|
-
export const
|
|
203
|
+
export const se_StopContinuousExportCommand = async (input, context) => {
|
|
204
204
|
const headers = {
|
|
205
205
|
"content-type": "application/x-amz-json-1.1",
|
|
206
206
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.StopContinuousExport",
|
|
207
207
|
};
|
|
208
208
|
let body;
|
|
209
|
-
body = JSON.stringify(
|
|
209
|
+
body = JSON.stringify(se_StopContinuousExportRequest(input, context));
|
|
210
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
211
211
|
};
|
|
212
|
-
export const
|
|
212
|
+
export const se_StopDataCollectionByAgentIdsCommand = async (input, context) => {
|
|
213
213
|
const headers = {
|
|
214
214
|
"content-type": "application/x-amz-json-1.1",
|
|
215
215
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.StopDataCollectionByAgentIds",
|
|
216
216
|
};
|
|
217
217
|
let body;
|
|
218
|
-
body = JSON.stringify(
|
|
218
|
+
body = JSON.stringify(se_StopDataCollectionByAgentIdsRequest(input, context));
|
|
219
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
220
|
};
|
|
221
|
-
export const
|
|
221
|
+
export const se_UpdateApplicationCommand = async (input, context) => {
|
|
222
222
|
const headers = {
|
|
223
223
|
"content-type": "application/x-amz-json-1.1",
|
|
224
224
|
"x-amz-target": "AWSPoseidonService_V2015_11_01.UpdateApplication",
|
|
225
225
|
};
|
|
226
226
|
let body;
|
|
227
|
-
body = JSON.stringify(
|
|
227
|
+
body = JSON.stringify(se_UpdateApplicationRequest(input, context));
|
|
228
228
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
229
229
|
};
|
|
230
|
-
export const
|
|
230
|
+
export const de_AssociateConfigurationItemsToApplicationCommand = async (output, context) => {
|
|
231
231
|
if (output.statusCode >= 300) {
|
|
232
|
-
return
|
|
232
|
+
return de_AssociateConfigurationItemsToApplicationCommandError(output, context);
|
|
233
233
|
}
|
|
234
234
|
const data = await parseBody(output.body, context);
|
|
235
235
|
let contents = {};
|
|
236
|
-
contents =
|
|
236
|
+
contents = de_AssociateConfigurationItemsToApplicationResponse(data, context);
|
|
237
237
|
const response = {
|
|
238
238
|
$metadata: deserializeMetadata(output),
|
|
239
239
|
...contents,
|
|
240
240
|
};
|
|
241
241
|
return Promise.resolve(response);
|
|
242
242
|
};
|
|
243
|
-
const
|
|
243
|
+
const de_AssociateConfigurationItemsToApplicationCommandError = async (output, context) => {
|
|
244
244
|
const parsedOutput = {
|
|
245
245
|
...output,
|
|
246
246
|
body: await parseErrorBody(output.body, context),
|
|
@@ -249,19 +249,19 @@ const deserializeAws_json1_1AssociateConfigurationItemsToApplicationCommandError
|
|
|
249
249
|
switch (errorCode) {
|
|
250
250
|
case "AuthorizationErrorException":
|
|
251
251
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
252
|
-
throw await
|
|
252
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
253
253
|
case "HomeRegionNotSetException":
|
|
254
254
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
255
|
-
throw await
|
|
255
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
256
256
|
case "InvalidParameterException":
|
|
257
257
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
258
|
-
throw await
|
|
258
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
259
259
|
case "InvalidParameterValueException":
|
|
260
260
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
261
|
-
throw await
|
|
261
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
262
262
|
case "ServerInternalErrorException":
|
|
263
263
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
264
|
-
throw await
|
|
264
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
265
265
|
default:
|
|
266
266
|
const parsedBody = parsedOutput.body;
|
|
267
267
|
throwDefaultError({
|
|
@@ -272,20 +272,20 @@ const deserializeAws_json1_1AssociateConfigurationItemsToApplicationCommandError
|
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
274
|
};
|
|
275
|
-
export const
|
|
275
|
+
export const de_BatchDeleteImportDataCommand = async (output, context) => {
|
|
276
276
|
if (output.statusCode >= 300) {
|
|
277
|
-
return
|
|
277
|
+
return de_BatchDeleteImportDataCommandError(output, context);
|
|
278
278
|
}
|
|
279
279
|
const data = await parseBody(output.body, context);
|
|
280
280
|
let contents = {};
|
|
281
|
-
contents =
|
|
281
|
+
contents = de_BatchDeleteImportDataResponse(data, context);
|
|
282
282
|
const response = {
|
|
283
283
|
$metadata: deserializeMetadata(output),
|
|
284
284
|
...contents,
|
|
285
285
|
};
|
|
286
286
|
return Promise.resolve(response);
|
|
287
287
|
};
|
|
288
|
-
const
|
|
288
|
+
const de_BatchDeleteImportDataCommandError = async (output, context) => {
|
|
289
289
|
const parsedOutput = {
|
|
290
290
|
...output,
|
|
291
291
|
body: await parseErrorBody(output.body, context),
|
|
@@ -294,19 +294,19 @@ const deserializeAws_json1_1BatchDeleteImportDataCommandError = async (output, c
|
|
|
294
294
|
switch (errorCode) {
|
|
295
295
|
case "AuthorizationErrorException":
|
|
296
296
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
297
|
-
throw await
|
|
297
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
298
298
|
case "HomeRegionNotSetException":
|
|
299
299
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
300
|
-
throw await
|
|
300
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
301
301
|
case "InvalidParameterException":
|
|
302
302
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
303
|
-
throw await
|
|
303
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
304
304
|
case "InvalidParameterValueException":
|
|
305
305
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
306
|
-
throw await
|
|
306
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
307
307
|
case "ServerInternalErrorException":
|
|
308
308
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
309
|
-
throw await
|
|
309
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
310
310
|
default:
|
|
311
311
|
const parsedBody = parsedOutput.body;
|
|
312
312
|
throwDefaultError({
|
|
@@ -317,20 +317,20 @@ const deserializeAws_json1_1BatchDeleteImportDataCommandError = async (output, c
|
|
|
317
317
|
});
|
|
318
318
|
}
|
|
319
319
|
};
|
|
320
|
-
export const
|
|
320
|
+
export const de_CreateApplicationCommand = async (output, context) => {
|
|
321
321
|
if (output.statusCode >= 300) {
|
|
322
|
-
return
|
|
322
|
+
return de_CreateApplicationCommandError(output, context);
|
|
323
323
|
}
|
|
324
324
|
const data = await parseBody(output.body, context);
|
|
325
325
|
let contents = {};
|
|
326
|
-
contents =
|
|
326
|
+
contents = de_CreateApplicationResponse(data, context);
|
|
327
327
|
const response = {
|
|
328
328
|
$metadata: deserializeMetadata(output),
|
|
329
329
|
...contents,
|
|
330
330
|
};
|
|
331
331
|
return Promise.resolve(response);
|
|
332
332
|
};
|
|
333
|
-
const
|
|
333
|
+
const de_CreateApplicationCommandError = async (output, context) => {
|
|
334
334
|
const parsedOutput = {
|
|
335
335
|
...output,
|
|
336
336
|
body: await parseErrorBody(output.body, context),
|
|
@@ -339,19 +339,19 @@ const deserializeAws_json1_1CreateApplicationCommandError = async (output, conte
|
|
|
339
339
|
switch (errorCode) {
|
|
340
340
|
case "AuthorizationErrorException":
|
|
341
341
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
342
|
-
throw await
|
|
342
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
343
343
|
case "HomeRegionNotSetException":
|
|
344
344
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
345
|
-
throw await
|
|
345
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
346
346
|
case "InvalidParameterException":
|
|
347
347
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
348
|
-
throw await
|
|
348
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
349
349
|
case "InvalidParameterValueException":
|
|
350
350
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
351
|
-
throw await
|
|
351
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
352
352
|
case "ServerInternalErrorException":
|
|
353
353
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
354
|
-
throw await
|
|
354
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
355
355
|
default:
|
|
356
356
|
const parsedBody = parsedOutput.body;
|
|
357
357
|
throwDefaultError({
|
|
@@ -362,20 +362,20 @@ const deserializeAws_json1_1CreateApplicationCommandError = async (output, conte
|
|
|
362
362
|
});
|
|
363
363
|
}
|
|
364
364
|
};
|
|
365
|
-
export const
|
|
365
|
+
export const de_CreateTagsCommand = async (output, context) => {
|
|
366
366
|
if (output.statusCode >= 300) {
|
|
367
|
-
return
|
|
367
|
+
return de_CreateTagsCommandError(output, context);
|
|
368
368
|
}
|
|
369
369
|
const data = await parseBody(output.body, context);
|
|
370
370
|
let contents = {};
|
|
371
|
-
contents =
|
|
371
|
+
contents = de_CreateTagsResponse(data, context);
|
|
372
372
|
const response = {
|
|
373
373
|
$metadata: deserializeMetadata(output),
|
|
374
374
|
...contents,
|
|
375
375
|
};
|
|
376
376
|
return Promise.resolve(response);
|
|
377
377
|
};
|
|
378
|
-
const
|
|
378
|
+
const de_CreateTagsCommandError = async (output, context) => {
|
|
379
379
|
const parsedOutput = {
|
|
380
380
|
...output,
|
|
381
381
|
body: await parseErrorBody(output.body, context),
|
|
@@ -384,22 +384,22 @@ const deserializeAws_json1_1CreateTagsCommandError = async (output, context) =>
|
|
|
384
384
|
switch (errorCode) {
|
|
385
385
|
case "AuthorizationErrorException":
|
|
386
386
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
387
|
-
throw await
|
|
387
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
388
388
|
case "HomeRegionNotSetException":
|
|
389
389
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
390
|
-
throw await
|
|
390
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
391
391
|
case "InvalidParameterException":
|
|
392
392
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
393
|
-
throw await
|
|
393
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
394
394
|
case "InvalidParameterValueException":
|
|
395
395
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
396
|
-
throw await
|
|
396
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
397
397
|
case "ResourceNotFoundException":
|
|
398
398
|
case "com.amazonaws.applicationdiscoveryservice#ResourceNotFoundException":
|
|
399
|
-
throw await
|
|
399
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
400
400
|
case "ServerInternalErrorException":
|
|
401
401
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
402
|
-
throw await
|
|
402
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
403
403
|
default:
|
|
404
404
|
const parsedBody = parsedOutput.body;
|
|
405
405
|
throwDefaultError({
|
|
@@ -410,20 +410,20 @@ const deserializeAws_json1_1CreateTagsCommandError = async (output, context) =>
|
|
|
410
410
|
});
|
|
411
411
|
}
|
|
412
412
|
};
|
|
413
|
-
export const
|
|
413
|
+
export const de_DeleteApplicationsCommand = async (output, context) => {
|
|
414
414
|
if (output.statusCode >= 300) {
|
|
415
|
-
return
|
|
415
|
+
return de_DeleteApplicationsCommandError(output, context);
|
|
416
416
|
}
|
|
417
417
|
const data = await parseBody(output.body, context);
|
|
418
418
|
let contents = {};
|
|
419
|
-
contents =
|
|
419
|
+
contents = de_DeleteApplicationsResponse(data, context);
|
|
420
420
|
const response = {
|
|
421
421
|
$metadata: deserializeMetadata(output),
|
|
422
422
|
...contents,
|
|
423
423
|
};
|
|
424
424
|
return Promise.resolve(response);
|
|
425
425
|
};
|
|
426
|
-
const
|
|
426
|
+
const de_DeleteApplicationsCommandError = async (output, context) => {
|
|
427
427
|
const parsedOutput = {
|
|
428
428
|
...output,
|
|
429
429
|
body: await parseErrorBody(output.body, context),
|
|
@@ -432,19 +432,19 @@ const deserializeAws_json1_1DeleteApplicationsCommandError = async (output, cont
|
|
|
432
432
|
switch (errorCode) {
|
|
433
433
|
case "AuthorizationErrorException":
|
|
434
434
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
435
|
-
throw await
|
|
435
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
436
436
|
case "HomeRegionNotSetException":
|
|
437
437
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
438
|
-
throw await
|
|
438
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
439
439
|
case "InvalidParameterException":
|
|
440
440
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
441
|
-
throw await
|
|
441
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
442
442
|
case "InvalidParameterValueException":
|
|
443
443
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
444
|
-
throw await
|
|
444
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
445
445
|
case "ServerInternalErrorException":
|
|
446
446
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
447
|
-
throw await
|
|
447
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
448
448
|
default:
|
|
449
449
|
const parsedBody = parsedOutput.body;
|
|
450
450
|
throwDefaultError({
|
|
@@ -455,20 +455,20 @@ const deserializeAws_json1_1DeleteApplicationsCommandError = async (output, cont
|
|
|
455
455
|
});
|
|
456
456
|
}
|
|
457
457
|
};
|
|
458
|
-
export const
|
|
458
|
+
export const de_DeleteTagsCommand = async (output, context) => {
|
|
459
459
|
if (output.statusCode >= 300) {
|
|
460
|
-
return
|
|
460
|
+
return de_DeleteTagsCommandError(output, context);
|
|
461
461
|
}
|
|
462
462
|
const data = await parseBody(output.body, context);
|
|
463
463
|
let contents = {};
|
|
464
|
-
contents =
|
|
464
|
+
contents = de_DeleteTagsResponse(data, context);
|
|
465
465
|
const response = {
|
|
466
466
|
$metadata: deserializeMetadata(output),
|
|
467
467
|
...contents,
|
|
468
468
|
};
|
|
469
469
|
return Promise.resolve(response);
|
|
470
470
|
};
|
|
471
|
-
const
|
|
471
|
+
const de_DeleteTagsCommandError = async (output, context) => {
|
|
472
472
|
const parsedOutput = {
|
|
473
473
|
...output,
|
|
474
474
|
body: await parseErrorBody(output.body, context),
|
|
@@ -477,22 +477,22 @@ const deserializeAws_json1_1DeleteTagsCommandError = async (output, context) =>
|
|
|
477
477
|
switch (errorCode) {
|
|
478
478
|
case "AuthorizationErrorException":
|
|
479
479
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
480
|
-
throw await
|
|
480
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
481
481
|
case "HomeRegionNotSetException":
|
|
482
482
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
483
|
-
throw await
|
|
483
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
484
484
|
case "InvalidParameterException":
|
|
485
485
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
486
|
-
throw await
|
|
486
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
487
487
|
case "InvalidParameterValueException":
|
|
488
488
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
489
|
-
throw await
|
|
489
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
490
490
|
case "ResourceNotFoundException":
|
|
491
491
|
case "com.amazonaws.applicationdiscoveryservice#ResourceNotFoundException":
|
|
492
|
-
throw await
|
|
492
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
493
493
|
case "ServerInternalErrorException":
|
|
494
494
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
495
|
-
throw await
|
|
495
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
496
496
|
default:
|
|
497
497
|
const parsedBody = parsedOutput.body;
|
|
498
498
|
throwDefaultError({
|
|
@@ -503,20 +503,20 @@ const deserializeAws_json1_1DeleteTagsCommandError = async (output, context) =>
|
|
|
503
503
|
});
|
|
504
504
|
}
|
|
505
505
|
};
|
|
506
|
-
export const
|
|
506
|
+
export const de_DescribeAgentsCommand = async (output, context) => {
|
|
507
507
|
if (output.statusCode >= 300) {
|
|
508
|
-
return
|
|
508
|
+
return de_DescribeAgentsCommandError(output, context);
|
|
509
509
|
}
|
|
510
510
|
const data = await parseBody(output.body, context);
|
|
511
511
|
let contents = {};
|
|
512
|
-
contents =
|
|
512
|
+
contents = de_DescribeAgentsResponse(data, context);
|
|
513
513
|
const response = {
|
|
514
514
|
$metadata: deserializeMetadata(output),
|
|
515
515
|
...contents,
|
|
516
516
|
};
|
|
517
517
|
return Promise.resolve(response);
|
|
518
518
|
};
|
|
519
|
-
const
|
|
519
|
+
const de_DescribeAgentsCommandError = async (output, context) => {
|
|
520
520
|
const parsedOutput = {
|
|
521
521
|
...output,
|
|
522
522
|
body: await parseErrorBody(output.body, context),
|
|
@@ -525,19 +525,19 @@ const deserializeAws_json1_1DescribeAgentsCommandError = async (output, context)
|
|
|
525
525
|
switch (errorCode) {
|
|
526
526
|
case "AuthorizationErrorException":
|
|
527
527
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
528
|
-
throw await
|
|
528
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
529
529
|
case "HomeRegionNotSetException":
|
|
530
530
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
531
|
-
throw await
|
|
531
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
532
532
|
case "InvalidParameterException":
|
|
533
533
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
534
|
-
throw await
|
|
534
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
535
535
|
case "InvalidParameterValueException":
|
|
536
536
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
537
|
-
throw await
|
|
537
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
538
538
|
case "ServerInternalErrorException":
|
|
539
539
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
540
|
-
throw await
|
|
540
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
541
541
|
default:
|
|
542
542
|
const parsedBody = parsedOutput.body;
|
|
543
543
|
throwDefaultError({
|
|
@@ -548,20 +548,20 @@ const deserializeAws_json1_1DescribeAgentsCommandError = async (output, context)
|
|
|
548
548
|
});
|
|
549
549
|
}
|
|
550
550
|
};
|
|
551
|
-
export const
|
|
551
|
+
export const de_DescribeConfigurationsCommand = async (output, context) => {
|
|
552
552
|
if (output.statusCode >= 300) {
|
|
553
|
-
return
|
|
553
|
+
return de_DescribeConfigurationsCommandError(output, context);
|
|
554
554
|
}
|
|
555
555
|
const data = await parseBody(output.body, context);
|
|
556
556
|
let contents = {};
|
|
557
|
-
contents =
|
|
557
|
+
contents = de_DescribeConfigurationsResponse(data, context);
|
|
558
558
|
const response = {
|
|
559
559
|
$metadata: deserializeMetadata(output),
|
|
560
560
|
...contents,
|
|
561
561
|
};
|
|
562
562
|
return Promise.resolve(response);
|
|
563
563
|
};
|
|
564
|
-
const
|
|
564
|
+
const de_DescribeConfigurationsCommandError = async (output, context) => {
|
|
565
565
|
const parsedOutput = {
|
|
566
566
|
...output,
|
|
567
567
|
body: await parseErrorBody(output.body, context),
|
|
@@ -570,19 +570,19 @@ const deserializeAws_json1_1DescribeConfigurationsCommandError = async (output,
|
|
|
570
570
|
switch (errorCode) {
|
|
571
571
|
case "AuthorizationErrorException":
|
|
572
572
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
573
|
-
throw await
|
|
573
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
574
574
|
case "HomeRegionNotSetException":
|
|
575
575
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
576
|
-
throw await
|
|
576
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
577
577
|
case "InvalidParameterException":
|
|
578
578
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
579
|
-
throw await
|
|
579
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
580
580
|
case "InvalidParameterValueException":
|
|
581
581
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
582
|
-
throw await
|
|
582
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
583
583
|
case "ServerInternalErrorException":
|
|
584
584
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
585
|
-
throw await
|
|
585
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
586
586
|
default:
|
|
587
587
|
const parsedBody = parsedOutput.body;
|
|
588
588
|
throwDefaultError({
|
|
@@ -593,20 +593,20 @@ const deserializeAws_json1_1DescribeConfigurationsCommandError = async (output,
|
|
|
593
593
|
});
|
|
594
594
|
}
|
|
595
595
|
};
|
|
596
|
-
export const
|
|
596
|
+
export const de_DescribeContinuousExportsCommand = async (output, context) => {
|
|
597
597
|
if (output.statusCode >= 300) {
|
|
598
|
-
return
|
|
598
|
+
return de_DescribeContinuousExportsCommandError(output, context);
|
|
599
599
|
}
|
|
600
600
|
const data = await parseBody(output.body, context);
|
|
601
601
|
let contents = {};
|
|
602
|
-
contents =
|
|
602
|
+
contents = de_DescribeContinuousExportsResponse(data, context);
|
|
603
603
|
const response = {
|
|
604
604
|
$metadata: deserializeMetadata(output),
|
|
605
605
|
...contents,
|
|
606
606
|
};
|
|
607
607
|
return Promise.resolve(response);
|
|
608
608
|
};
|
|
609
|
-
const
|
|
609
|
+
const de_DescribeContinuousExportsCommandError = async (output, context) => {
|
|
610
610
|
const parsedOutput = {
|
|
611
611
|
...output,
|
|
612
612
|
body: await parseErrorBody(output.body, context),
|
|
@@ -615,25 +615,25 @@ const deserializeAws_json1_1DescribeContinuousExportsCommandError = async (outpu
|
|
|
615
615
|
switch (errorCode) {
|
|
616
616
|
case "AuthorizationErrorException":
|
|
617
617
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
618
|
-
throw await
|
|
618
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
619
619
|
case "HomeRegionNotSetException":
|
|
620
620
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
621
|
-
throw await
|
|
621
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
622
622
|
case "InvalidParameterException":
|
|
623
623
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
624
|
-
throw await
|
|
624
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
625
625
|
case "InvalidParameterValueException":
|
|
626
626
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
627
|
-
throw await
|
|
627
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
628
628
|
case "OperationNotPermittedException":
|
|
629
629
|
case "com.amazonaws.applicationdiscoveryservice#OperationNotPermittedException":
|
|
630
|
-
throw await
|
|
630
|
+
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
631
631
|
case "ResourceNotFoundException":
|
|
632
632
|
case "com.amazonaws.applicationdiscoveryservice#ResourceNotFoundException":
|
|
633
|
-
throw await
|
|
633
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
634
634
|
case "ServerInternalErrorException":
|
|
635
635
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
636
|
-
throw await
|
|
636
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
637
637
|
default:
|
|
638
638
|
const parsedBody = parsedOutput.body;
|
|
639
639
|
throwDefaultError({
|
|
@@ -644,20 +644,20 @@ const deserializeAws_json1_1DescribeContinuousExportsCommandError = async (outpu
|
|
|
644
644
|
});
|
|
645
645
|
}
|
|
646
646
|
};
|
|
647
|
-
export const
|
|
647
|
+
export const de_DescribeExportConfigurationsCommand = async (output, context) => {
|
|
648
648
|
if (output.statusCode >= 300) {
|
|
649
|
-
return
|
|
649
|
+
return de_DescribeExportConfigurationsCommandError(output, context);
|
|
650
650
|
}
|
|
651
651
|
const data = await parseBody(output.body, context);
|
|
652
652
|
let contents = {};
|
|
653
|
-
contents =
|
|
653
|
+
contents = de_DescribeExportConfigurationsResponse(data, context);
|
|
654
654
|
const response = {
|
|
655
655
|
$metadata: deserializeMetadata(output),
|
|
656
656
|
...contents,
|
|
657
657
|
};
|
|
658
658
|
return Promise.resolve(response);
|
|
659
659
|
};
|
|
660
|
-
const
|
|
660
|
+
const de_DescribeExportConfigurationsCommandError = async (output, context) => {
|
|
661
661
|
const parsedOutput = {
|
|
662
662
|
...output,
|
|
663
663
|
body: await parseErrorBody(output.body, context),
|
|
@@ -666,22 +666,22 @@ const deserializeAws_json1_1DescribeExportConfigurationsCommandError = async (ou
|
|
|
666
666
|
switch (errorCode) {
|
|
667
667
|
case "AuthorizationErrorException":
|
|
668
668
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
669
|
-
throw await
|
|
669
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
670
670
|
case "HomeRegionNotSetException":
|
|
671
671
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
672
|
-
throw await
|
|
672
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
673
673
|
case "InvalidParameterException":
|
|
674
674
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
675
|
-
throw await
|
|
675
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
676
676
|
case "InvalidParameterValueException":
|
|
677
677
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
678
|
-
throw await
|
|
678
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
679
679
|
case "ResourceNotFoundException":
|
|
680
680
|
case "com.amazonaws.applicationdiscoveryservice#ResourceNotFoundException":
|
|
681
|
-
throw await
|
|
681
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
682
682
|
case "ServerInternalErrorException":
|
|
683
683
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
684
|
-
throw await
|
|
684
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
685
685
|
default:
|
|
686
686
|
const parsedBody = parsedOutput.body;
|
|
687
687
|
throwDefaultError({
|
|
@@ -692,20 +692,20 @@ const deserializeAws_json1_1DescribeExportConfigurationsCommandError = async (ou
|
|
|
692
692
|
});
|
|
693
693
|
}
|
|
694
694
|
};
|
|
695
|
-
export const
|
|
695
|
+
export const de_DescribeExportTasksCommand = async (output, context) => {
|
|
696
696
|
if (output.statusCode >= 300) {
|
|
697
|
-
return
|
|
697
|
+
return de_DescribeExportTasksCommandError(output, context);
|
|
698
698
|
}
|
|
699
699
|
const data = await parseBody(output.body, context);
|
|
700
700
|
let contents = {};
|
|
701
|
-
contents =
|
|
701
|
+
contents = de_DescribeExportTasksResponse(data, context);
|
|
702
702
|
const response = {
|
|
703
703
|
$metadata: deserializeMetadata(output),
|
|
704
704
|
...contents,
|
|
705
705
|
};
|
|
706
706
|
return Promise.resolve(response);
|
|
707
707
|
};
|
|
708
|
-
const
|
|
708
|
+
const de_DescribeExportTasksCommandError = async (output, context) => {
|
|
709
709
|
const parsedOutput = {
|
|
710
710
|
...output,
|
|
711
711
|
body: await parseErrorBody(output.body, context),
|
|
@@ -714,19 +714,19 @@ const deserializeAws_json1_1DescribeExportTasksCommandError = async (output, con
|
|
|
714
714
|
switch (errorCode) {
|
|
715
715
|
case "AuthorizationErrorException":
|
|
716
716
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
717
|
-
throw await
|
|
717
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
718
718
|
case "HomeRegionNotSetException":
|
|
719
719
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
720
|
-
throw await
|
|
720
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
721
721
|
case "InvalidParameterException":
|
|
722
722
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
723
|
-
throw await
|
|
723
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
724
724
|
case "InvalidParameterValueException":
|
|
725
725
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
726
|
-
throw await
|
|
726
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
727
727
|
case "ServerInternalErrorException":
|
|
728
728
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
729
|
-
throw await
|
|
729
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
730
730
|
default:
|
|
731
731
|
const parsedBody = parsedOutput.body;
|
|
732
732
|
throwDefaultError({
|
|
@@ -737,20 +737,20 @@ const deserializeAws_json1_1DescribeExportTasksCommandError = async (output, con
|
|
|
737
737
|
});
|
|
738
738
|
}
|
|
739
739
|
};
|
|
740
|
-
export const
|
|
740
|
+
export const de_DescribeImportTasksCommand = async (output, context) => {
|
|
741
741
|
if (output.statusCode >= 300) {
|
|
742
|
-
return
|
|
742
|
+
return de_DescribeImportTasksCommandError(output, context);
|
|
743
743
|
}
|
|
744
744
|
const data = await parseBody(output.body, context);
|
|
745
745
|
let contents = {};
|
|
746
|
-
contents =
|
|
746
|
+
contents = de_DescribeImportTasksResponse(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
|
-
const
|
|
753
|
+
const de_DescribeImportTasksCommandError = async (output, context) => {
|
|
754
754
|
const parsedOutput = {
|
|
755
755
|
...output,
|
|
756
756
|
body: await parseErrorBody(output.body, context),
|
|
@@ -759,19 +759,19 @@ const deserializeAws_json1_1DescribeImportTasksCommandError = async (output, con
|
|
|
759
759
|
switch (errorCode) {
|
|
760
760
|
case "AuthorizationErrorException":
|
|
761
761
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
762
|
-
throw await
|
|
762
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
763
763
|
case "HomeRegionNotSetException":
|
|
764
764
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
765
|
-
throw await
|
|
765
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
766
766
|
case "InvalidParameterException":
|
|
767
767
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
768
|
-
throw await
|
|
768
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
769
769
|
case "InvalidParameterValueException":
|
|
770
770
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
771
|
-
throw await
|
|
771
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
772
772
|
case "ServerInternalErrorException":
|
|
773
773
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
774
|
-
throw await
|
|
774
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
775
775
|
default:
|
|
776
776
|
const parsedBody = parsedOutput.body;
|
|
777
777
|
throwDefaultError({
|
|
@@ -782,20 +782,20 @@ const deserializeAws_json1_1DescribeImportTasksCommandError = async (output, con
|
|
|
782
782
|
});
|
|
783
783
|
}
|
|
784
784
|
};
|
|
785
|
-
export const
|
|
785
|
+
export const de_DescribeTagsCommand = async (output, context) => {
|
|
786
786
|
if (output.statusCode >= 300) {
|
|
787
|
-
return
|
|
787
|
+
return de_DescribeTagsCommandError(output, context);
|
|
788
788
|
}
|
|
789
789
|
const data = await parseBody(output.body, context);
|
|
790
790
|
let contents = {};
|
|
791
|
-
contents =
|
|
791
|
+
contents = de_DescribeTagsResponse(data, context);
|
|
792
792
|
const response = {
|
|
793
793
|
$metadata: deserializeMetadata(output),
|
|
794
794
|
...contents,
|
|
795
795
|
};
|
|
796
796
|
return Promise.resolve(response);
|
|
797
797
|
};
|
|
798
|
-
const
|
|
798
|
+
const de_DescribeTagsCommandError = async (output, context) => {
|
|
799
799
|
const parsedOutput = {
|
|
800
800
|
...output,
|
|
801
801
|
body: await parseErrorBody(output.body, context),
|
|
@@ -804,22 +804,22 @@ const deserializeAws_json1_1DescribeTagsCommandError = async (output, context) =
|
|
|
804
804
|
switch (errorCode) {
|
|
805
805
|
case "AuthorizationErrorException":
|
|
806
806
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
807
|
-
throw await
|
|
807
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
808
808
|
case "HomeRegionNotSetException":
|
|
809
809
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
810
|
-
throw await
|
|
810
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
811
811
|
case "InvalidParameterException":
|
|
812
812
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
813
|
-
throw await
|
|
813
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
814
814
|
case "InvalidParameterValueException":
|
|
815
815
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
816
|
-
throw await
|
|
816
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
817
817
|
case "ResourceNotFoundException":
|
|
818
818
|
case "com.amazonaws.applicationdiscoveryservice#ResourceNotFoundException":
|
|
819
|
-
throw await
|
|
819
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
820
820
|
case "ServerInternalErrorException":
|
|
821
821
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
822
|
-
throw await
|
|
822
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
823
823
|
default:
|
|
824
824
|
const parsedBody = parsedOutput.body;
|
|
825
825
|
throwDefaultError({
|
|
@@ -830,20 +830,20 @@ const deserializeAws_json1_1DescribeTagsCommandError = async (output, context) =
|
|
|
830
830
|
});
|
|
831
831
|
}
|
|
832
832
|
};
|
|
833
|
-
export const
|
|
833
|
+
export const de_DisassociateConfigurationItemsFromApplicationCommand = async (output, context) => {
|
|
834
834
|
if (output.statusCode >= 300) {
|
|
835
|
-
return
|
|
835
|
+
return de_DisassociateConfigurationItemsFromApplicationCommandError(output, context);
|
|
836
836
|
}
|
|
837
837
|
const data = await parseBody(output.body, context);
|
|
838
838
|
let contents = {};
|
|
839
|
-
contents =
|
|
839
|
+
contents = de_DisassociateConfigurationItemsFromApplicationResponse(data, context);
|
|
840
840
|
const response = {
|
|
841
841
|
$metadata: deserializeMetadata(output),
|
|
842
842
|
...contents,
|
|
843
843
|
};
|
|
844
844
|
return Promise.resolve(response);
|
|
845
845
|
};
|
|
846
|
-
const
|
|
846
|
+
const de_DisassociateConfigurationItemsFromApplicationCommandError = async (output, context) => {
|
|
847
847
|
const parsedOutput = {
|
|
848
848
|
...output,
|
|
849
849
|
body: await parseErrorBody(output.body, context),
|
|
@@ -852,19 +852,19 @@ const deserializeAws_json1_1DisassociateConfigurationItemsFromApplicationCommand
|
|
|
852
852
|
switch (errorCode) {
|
|
853
853
|
case "AuthorizationErrorException":
|
|
854
854
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
855
|
-
throw await
|
|
855
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
856
856
|
case "HomeRegionNotSetException":
|
|
857
857
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
858
|
-
throw await
|
|
858
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
859
859
|
case "InvalidParameterException":
|
|
860
860
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
861
|
-
throw await
|
|
861
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
862
862
|
case "InvalidParameterValueException":
|
|
863
863
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
864
|
-
throw await
|
|
864
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
865
865
|
case "ServerInternalErrorException":
|
|
866
866
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
867
|
-
throw await
|
|
867
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
868
868
|
default:
|
|
869
869
|
const parsedBody = parsedOutput.body;
|
|
870
870
|
throwDefaultError({
|
|
@@ -875,20 +875,20 @@ const deserializeAws_json1_1DisassociateConfigurationItemsFromApplicationCommand
|
|
|
875
875
|
});
|
|
876
876
|
}
|
|
877
877
|
};
|
|
878
|
-
export const
|
|
878
|
+
export const de_ExportConfigurationsCommand = async (output, context) => {
|
|
879
879
|
if (output.statusCode >= 300) {
|
|
880
|
-
return
|
|
880
|
+
return de_ExportConfigurationsCommandError(output, context);
|
|
881
881
|
}
|
|
882
882
|
const data = await parseBody(output.body, context);
|
|
883
883
|
let contents = {};
|
|
884
|
-
contents =
|
|
884
|
+
contents = de_ExportConfigurationsResponse(data, context);
|
|
885
885
|
const response = {
|
|
886
886
|
$metadata: deserializeMetadata(output),
|
|
887
887
|
...contents,
|
|
888
888
|
};
|
|
889
889
|
return Promise.resolve(response);
|
|
890
890
|
};
|
|
891
|
-
const
|
|
891
|
+
const de_ExportConfigurationsCommandError = async (output, context) => {
|
|
892
892
|
const parsedOutput = {
|
|
893
893
|
...output,
|
|
894
894
|
body: await parseErrorBody(output.body, context),
|
|
@@ -897,22 +897,22 @@ const deserializeAws_json1_1ExportConfigurationsCommandError = async (output, co
|
|
|
897
897
|
switch (errorCode) {
|
|
898
898
|
case "AuthorizationErrorException":
|
|
899
899
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
900
|
-
throw await
|
|
900
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
901
901
|
case "HomeRegionNotSetException":
|
|
902
902
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
903
|
-
throw await
|
|
903
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
904
904
|
case "InvalidParameterException":
|
|
905
905
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
906
|
-
throw await
|
|
906
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
907
907
|
case "InvalidParameterValueException":
|
|
908
908
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
909
|
-
throw await
|
|
909
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
910
910
|
case "OperationNotPermittedException":
|
|
911
911
|
case "com.amazonaws.applicationdiscoveryservice#OperationNotPermittedException":
|
|
912
|
-
throw await
|
|
912
|
+
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
913
913
|
case "ServerInternalErrorException":
|
|
914
914
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
915
|
-
throw await
|
|
915
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
916
916
|
default:
|
|
917
917
|
const parsedBody = parsedOutput.body;
|
|
918
918
|
throwDefaultError({
|
|
@@ -923,20 +923,20 @@ const deserializeAws_json1_1ExportConfigurationsCommandError = async (output, co
|
|
|
923
923
|
});
|
|
924
924
|
}
|
|
925
925
|
};
|
|
926
|
-
export const
|
|
926
|
+
export const de_GetDiscoverySummaryCommand = async (output, context) => {
|
|
927
927
|
if (output.statusCode >= 300) {
|
|
928
|
-
return
|
|
928
|
+
return de_GetDiscoverySummaryCommandError(output, context);
|
|
929
929
|
}
|
|
930
930
|
const data = await parseBody(output.body, context);
|
|
931
931
|
let contents = {};
|
|
932
|
-
contents =
|
|
932
|
+
contents = de_GetDiscoverySummaryResponse(data, context);
|
|
933
933
|
const response = {
|
|
934
934
|
$metadata: deserializeMetadata(output),
|
|
935
935
|
...contents,
|
|
936
936
|
};
|
|
937
937
|
return Promise.resolve(response);
|
|
938
938
|
};
|
|
939
|
-
const
|
|
939
|
+
const de_GetDiscoverySummaryCommandError = async (output, context) => {
|
|
940
940
|
const parsedOutput = {
|
|
941
941
|
...output,
|
|
942
942
|
body: await parseErrorBody(output.body, context),
|
|
@@ -945,19 +945,19 @@ const deserializeAws_json1_1GetDiscoverySummaryCommandError = async (output, con
|
|
|
945
945
|
switch (errorCode) {
|
|
946
946
|
case "AuthorizationErrorException":
|
|
947
947
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
948
|
-
throw await
|
|
948
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
949
949
|
case "HomeRegionNotSetException":
|
|
950
950
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
951
|
-
throw await
|
|
951
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
952
952
|
case "InvalidParameterException":
|
|
953
953
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
954
|
-
throw await
|
|
954
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
955
955
|
case "InvalidParameterValueException":
|
|
956
956
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
957
|
-
throw await
|
|
957
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
958
958
|
case "ServerInternalErrorException":
|
|
959
959
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
960
|
-
throw await
|
|
960
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
961
961
|
default:
|
|
962
962
|
const parsedBody = parsedOutput.body;
|
|
963
963
|
throwDefaultError({
|
|
@@ -968,20 +968,20 @@ const deserializeAws_json1_1GetDiscoverySummaryCommandError = async (output, con
|
|
|
968
968
|
});
|
|
969
969
|
}
|
|
970
970
|
};
|
|
971
|
-
export const
|
|
971
|
+
export const de_ListConfigurationsCommand = async (output, context) => {
|
|
972
972
|
if (output.statusCode >= 300) {
|
|
973
|
-
return
|
|
973
|
+
return de_ListConfigurationsCommandError(output, context);
|
|
974
974
|
}
|
|
975
975
|
const data = await parseBody(output.body, context);
|
|
976
976
|
let contents = {};
|
|
977
|
-
contents =
|
|
977
|
+
contents = de_ListConfigurationsResponse(data, context);
|
|
978
978
|
const response = {
|
|
979
979
|
$metadata: deserializeMetadata(output),
|
|
980
980
|
...contents,
|
|
981
981
|
};
|
|
982
982
|
return Promise.resolve(response);
|
|
983
983
|
};
|
|
984
|
-
const
|
|
984
|
+
const de_ListConfigurationsCommandError = async (output, context) => {
|
|
985
985
|
const parsedOutput = {
|
|
986
986
|
...output,
|
|
987
987
|
body: await parseErrorBody(output.body, context),
|
|
@@ -990,22 +990,22 @@ const deserializeAws_json1_1ListConfigurationsCommandError = async (output, cont
|
|
|
990
990
|
switch (errorCode) {
|
|
991
991
|
case "AuthorizationErrorException":
|
|
992
992
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
993
|
-
throw await
|
|
993
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
994
994
|
case "HomeRegionNotSetException":
|
|
995
995
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
996
|
-
throw await
|
|
996
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
997
997
|
case "InvalidParameterException":
|
|
998
998
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
999
|
-
throw await
|
|
999
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1000
1000
|
case "InvalidParameterValueException":
|
|
1001
1001
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
1002
|
-
throw await
|
|
1002
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1003
1003
|
case "ResourceNotFoundException":
|
|
1004
1004
|
case "com.amazonaws.applicationdiscoveryservice#ResourceNotFoundException":
|
|
1005
|
-
throw await
|
|
1005
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1006
1006
|
case "ServerInternalErrorException":
|
|
1007
1007
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
1008
|
-
throw await
|
|
1008
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1009
1009
|
default:
|
|
1010
1010
|
const parsedBody = parsedOutput.body;
|
|
1011
1011
|
throwDefaultError({
|
|
@@ -1016,20 +1016,20 @@ const deserializeAws_json1_1ListConfigurationsCommandError = async (output, cont
|
|
|
1016
1016
|
});
|
|
1017
1017
|
}
|
|
1018
1018
|
};
|
|
1019
|
-
export const
|
|
1019
|
+
export const de_ListServerNeighborsCommand = async (output, context) => {
|
|
1020
1020
|
if (output.statusCode >= 300) {
|
|
1021
|
-
return
|
|
1021
|
+
return de_ListServerNeighborsCommandError(output, context);
|
|
1022
1022
|
}
|
|
1023
1023
|
const data = await parseBody(output.body, context);
|
|
1024
1024
|
let contents = {};
|
|
1025
|
-
contents =
|
|
1025
|
+
contents = de_ListServerNeighborsResponse(data, context);
|
|
1026
1026
|
const response = {
|
|
1027
1027
|
$metadata: deserializeMetadata(output),
|
|
1028
1028
|
...contents,
|
|
1029
1029
|
};
|
|
1030
1030
|
return Promise.resolve(response);
|
|
1031
1031
|
};
|
|
1032
|
-
const
|
|
1032
|
+
const de_ListServerNeighborsCommandError = async (output, context) => {
|
|
1033
1033
|
const parsedOutput = {
|
|
1034
1034
|
...output,
|
|
1035
1035
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1038,19 +1038,19 @@ const deserializeAws_json1_1ListServerNeighborsCommandError = async (output, con
|
|
|
1038
1038
|
switch (errorCode) {
|
|
1039
1039
|
case "AuthorizationErrorException":
|
|
1040
1040
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
1041
|
-
throw await
|
|
1041
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
1042
1042
|
case "HomeRegionNotSetException":
|
|
1043
1043
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
1044
|
-
throw await
|
|
1044
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
1045
1045
|
case "InvalidParameterException":
|
|
1046
1046
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
1047
|
-
throw await
|
|
1047
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1048
1048
|
case "InvalidParameterValueException":
|
|
1049
1049
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
1050
|
-
throw await
|
|
1050
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1051
1051
|
case "ServerInternalErrorException":
|
|
1052
1052
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
1053
|
-
throw await
|
|
1053
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1054
1054
|
default:
|
|
1055
1055
|
const parsedBody = parsedOutput.body;
|
|
1056
1056
|
throwDefaultError({
|
|
@@ -1061,20 +1061,20 @@ const deserializeAws_json1_1ListServerNeighborsCommandError = async (output, con
|
|
|
1061
1061
|
});
|
|
1062
1062
|
}
|
|
1063
1063
|
};
|
|
1064
|
-
export const
|
|
1064
|
+
export const de_StartContinuousExportCommand = async (output, context) => {
|
|
1065
1065
|
if (output.statusCode >= 300) {
|
|
1066
|
-
return
|
|
1066
|
+
return de_StartContinuousExportCommandError(output, context);
|
|
1067
1067
|
}
|
|
1068
1068
|
const data = await parseBody(output.body, context);
|
|
1069
1069
|
let contents = {};
|
|
1070
|
-
contents =
|
|
1070
|
+
contents = de_StartContinuousExportResponse(data, context);
|
|
1071
1071
|
const response = {
|
|
1072
1072
|
$metadata: deserializeMetadata(output),
|
|
1073
1073
|
...contents,
|
|
1074
1074
|
};
|
|
1075
1075
|
return Promise.resolve(response);
|
|
1076
1076
|
};
|
|
1077
|
-
const
|
|
1077
|
+
const de_StartContinuousExportCommandError = async (output, context) => {
|
|
1078
1078
|
const parsedOutput = {
|
|
1079
1079
|
...output,
|
|
1080
1080
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1083,28 +1083,28 @@ const deserializeAws_json1_1StartContinuousExportCommandError = async (output, c
|
|
|
1083
1083
|
switch (errorCode) {
|
|
1084
1084
|
case "AuthorizationErrorException":
|
|
1085
1085
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
1086
|
-
throw await
|
|
1086
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
1087
1087
|
case "ConflictErrorException":
|
|
1088
1088
|
case "com.amazonaws.applicationdiscoveryservice#ConflictErrorException":
|
|
1089
|
-
throw await
|
|
1089
|
+
throw await de_ConflictErrorExceptionRes(parsedOutput, context);
|
|
1090
1090
|
case "HomeRegionNotSetException":
|
|
1091
1091
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
1092
|
-
throw await
|
|
1092
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
1093
1093
|
case "InvalidParameterException":
|
|
1094
1094
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
1095
|
-
throw await
|
|
1095
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1096
1096
|
case "InvalidParameterValueException":
|
|
1097
1097
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
1098
|
-
throw await
|
|
1098
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1099
1099
|
case "OperationNotPermittedException":
|
|
1100
1100
|
case "com.amazonaws.applicationdiscoveryservice#OperationNotPermittedException":
|
|
1101
|
-
throw await
|
|
1101
|
+
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1102
1102
|
case "ResourceInUseException":
|
|
1103
1103
|
case "com.amazonaws.applicationdiscoveryservice#ResourceInUseException":
|
|
1104
|
-
throw await
|
|
1104
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1105
1105
|
case "ServerInternalErrorException":
|
|
1106
1106
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
1107
|
-
throw await
|
|
1107
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1108
1108
|
default:
|
|
1109
1109
|
const parsedBody = parsedOutput.body;
|
|
1110
1110
|
throwDefaultError({
|
|
@@ -1115,20 +1115,20 @@ const deserializeAws_json1_1StartContinuousExportCommandError = async (output, c
|
|
|
1115
1115
|
});
|
|
1116
1116
|
}
|
|
1117
1117
|
};
|
|
1118
|
-
export const
|
|
1118
|
+
export const de_StartDataCollectionByAgentIdsCommand = async (output, context) => {
|
|
1119
1119
|
if (output.statusCode >= 300) {
|
|
1120
|
-
return
|
|
1120
|
+
return de_StartDataCollectionByAgentIdsCommandError(output, context);
|
|
1121
1121
|
}
|
|
1122
1122
|
const data = await parseBody(output.body, context);
|
|
1123
1123
|
let contents = {};
|
|
1124
|
-
contents =
|
|
1124
|
+
contents = de_StartDataCollectionByAgentIdsResponse(data, context);
|
|
1125
1125
|
const response = {
|
|
1126
1126
|
$metadata: deserializeMetadata(output),
|
|
1127
1127
|
...contents,
|
|
1128
1128
|
};
|
|
1129
1129
|
return Promise.resolve(response);
|
|
1130
1130
|
};
|
|
1131
|
-
const
|
|
1131
|
+
const de_StartDataCollectionByAgentIdsCommandError = async (output, context) => {
|
|
1132
1132
|
const parsedOutput = {
|
|
1133
1133
|
...output,
|
|
1134
1134
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1137,19 +1137,19 @@ const deserializeAws_json1_1StartDataCollectionByAgentIdsCommandError = async (o
|
|
|
1137
1137
|
switch (errorCode) {
|
|
1138
1138
|
case "AuthorizationErrorException":
|
|
1139
1139
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
1140
|
-
throw await
|
|
1140
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
1141
1141
|
case "HomeRegionNotSetException":
|
|
1142
1142
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
1143
|
-
throw await
|
|
1143
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
1144
1144
|
case "InvalidParameterException":
|
|
1145
1145
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
1146
|
-
throw await
|
|
1146
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1147
1147
|
case "InvalidParameterValueException":
|
|
1148
1148
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
1149
|
-
throw await
|
|
1149
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1150
1150
|
case "ServerInternalErrorException":
|
|
1151
1151
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
1152
|
-
throw await
|
|
1152
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1153
1153
|
default:
|
|
1154
1154
|
const parsedBody = parsedOutput.body;
|
|
1155
1155
|
throwDefaultError({
|
|
@@ -1160,20 +1160,20 @@ const deserializeAws_json1_1StartDataCollectionByAgentIdsCommandError = async (o
|
|
|
1160
1160
|
});
|
|
1161
1161
|
}
|
|
1162
1162
|
};
|
|
1163
|
-
export const
|
|
1163
|
+
export const de_StartExportTaskCommand = async (output, context) => {
|
|
1164
1164
|
if (output.statusCode >= 300) {
|
|
1165
|
-
return
|
|
1165
|
+
return de_StartExportTaskCommandError(output, context);
|
|
1166
1166
|
}
|
|
1167
1167
|
const data = await parseBody(output.body, context);
|
|
1168
1168
|
let contents = {};
|
|
1169
|
-
contents =
|
|
1169
|
+
contents = de_StartExportTaskResponse(data, context);
|
|
1170
1170
|
const response = {
|
|
1171
1171
|
$metadata: deserializeMetadata(output),
|
|
1172
1172
|
...contents,
|
|
1173
1173
|
};
|
|
1174
1174
|
return Promise.resolve(response);
|
|
1175
1175
|
};
|
|
1176
|
-
const
|
|
1176
|
+
const de_StartExportTaskCommandError = async (output, context) => {
|
|
1177
1177
|
const parsedOutput = {
|
|
1178
1178
|
...output,
|
|
1179
1179
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1182,22 +1182,22 @@ const deserializeAws_json1_1StartExportTaskCommandError = async (output, context
|
|
|
1182
1182
|
switch (errorCode) {
|
|
1183
1183
|
case "AuthorizationErrorException":
|
|
1184
1184
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
1185
|
-
throw await
|
|
1185
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
1186
1186
|
case "HomeRegionNotSetException":
|
|
1187
1187
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
1188
|
-
throw await
|
|
1188
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
1189
1189
|
case "InvalidParameterException":
|
|
1190
1190
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
1191
|
-
throw await
|
|
1191
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1192
1192
|
case "InvalidParameterValueException":
|
|
1193
1193
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
1194
|
-
throw await
|
|
1194
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1195
1195
|
case "OperationNotPermittedException":
|
|
1196
1196
|
case "com.amazonaws.applicationdiscoveryservice#OperationNotPermittedException":
|
|
1197
|
-
throw await
|
|
1197
|
+
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1198
1198
|
case "ServerInternalErrorException":
|
|
1199
1199
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
1200
|
-
throw await
|
|
1200
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1201
1201
|
default:
|
|
1202
1202
|
const parsedBody = parsedOutput.body;
|
|
1203
1203
|
throwDefaultError({
|
|
@@ -1208,20 +1208,20 @@ const deserializeAws_json1_1StartExportTaskCommandError = async (output, context
|
|
|
1208
1208
|
});
|
|
1209
1209
|
}
|
|
1210
1210
|
};
|
|
1211
|
-
export const
|
|
1211
|
+
export const de_StartImportTaskCommand = async (output, context) => {
|
|
1212
1212
|
if (output.statusCode >= 300) {
|
|
1213
|
-
return
|
|
1213
|
+
return de_StartImportTaskCommandError(output, context);
|
|
1214
1214
|
}
|
|
1215
1215
|
const data = await parseBody(output.body, context);
|
|
1216
1216
|
let contents = {};
|
|
1217
|
-
contents =
|
|
1217
|
+
contents = de_StartImportTaskResponse(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
|
-
const
|
|
1224
|
+
const de_StartImportTaskCommandError = async (output, context) => {
|
|
1225
1225
|
const parsedOutput = {
|
|
1226
1226
|
...output,
|
|
1227
1227
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1230,22 +1230,22 @@ const deserializeAws_json1_1StartImportTaskCommandError = async (output, context
|
|
|
1230
1230
|
switch (errorCode) {
|
|
1231
1231
|
case "AuthorizationErrorException":
|
|
1232
1232
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
1233
|
-
throw await
|
|
1233
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
1234
1234
|
case "HomeRegionNotSetException":
|
|
1235
1235
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
1236
|
-
throw await
|
|
1236
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
1237
1237
|
case "InvalidParameterException":
|
|
1238
1238
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
1239
|
-
throw await
|
|
1239
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1240
1240
|
case "InvalidParameterValueException":
|
|
1241
1241
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
1242
|
-
throw await
|
|
1242
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1243
1243
|
case "ResourceInUseException":
|
|
1244
1244
|
case "com.amazonaws.applicationdiscoveryservice#ResourceInUseException":
|
|
1245
|
-
throw await
|
|
1245
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1246
1246
|
case "ServerInternalErrorException":
|
|
1247
1247
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
1248
|
-
throw await
|
|
1248
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1249
1249
|
default:
|
|
1250
1250
|
const parsedBody = parsedOutput.body;
|
|
1251
1251
|
throwDefaultError({
|
|
@@ -1256,20 +1256,20 @@ const deserializeAws_json1_1StartImportTaskCommandError = async (output, context
|
|
|
1256
1256
|
});
|
|
1257
1257
|
}
|
|
1258
1258
|
};
|
|
1259
|
-
export const
|
|
1259
|
+
export const de_StopContinuousExportCommand = async (output, context) => {
|
|
1260
1260
|
if (output.statusCode >= 300) {
|
|
1261
|
-
return
|
|
1261
|
+
return de_StopContinuousExportCommandError(output, context);
|
|
1262
1262
|
}
|
|
1263
1263
|
const data = await parseBody(output.body, context);
|
|
1264
1264
|
let contents = {};
|
|
1265
|
-
contents =
|
|
1265
|
+
contents = de_StopContinuousExportResponse(data, context);
|
|
1266
1266
|
const response = {
|
|
1267
1267
|
$metadata: deserializeMetadata(output),
|
|
1268
1268
|
...contents,
|
|
1269
1269
|
};
|
|
1270
1270
|
return Promise.resolve(response);
|
|
1271
1271
|
};
|
|
1272
|
-
const
|
|
1272
|
+
const de_StopContinuousExportCommandError = async (output, context) => {
|
|
1273
1273
|
const parsedOutput = {
|
|
1274
1274
|
...output,
|
|
1275
1275
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1278,28 +1278,28 @@ const deserializeAws_json1_1StopContinuousExportCommandError = async (output, co
|
|
|
1278
1278
|
switch (errorCode) {
|
|
1279
1279
|
case "AuthorizationErrorException":
|
|
1280
1280
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
1281
|
-
throw await
|
|
1281
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
1282
1282
|
case "HomeRegionNotSetException":
|
|
1283
1283
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
1284
|
-
throw await
|
|
1284
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
1285
1285
|
case "InvalidParameterException":
|
|
1286
1286
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
1287
|
-
throw await
|
|
1287
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1288
1288
|
case "InvalidParameterValueException":
|
|
1289
1289
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
1290
|
-
throw await
|
|
1290
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1291
1291
|
case "OperationNotPermittedException":
|
|
1292
1292
|
case "com.amazonaws.applicationdiscoveryservice#OperationNotPermittedException":
|
|
1293
|
-
throw await
|
|
1293
|
+
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1294
1294
|
case "ResourceInUseException":
|
|
1295
1295
|
case "com.amazonaws.applicationdiscoveryservice#ResourceInUseException":
|
|
1296
|
-
throw await
|
|
1296
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1297
1297
|
case "ResourceNotFoundException":
|
|
1298
1298
|
case "com.amazonaws.applicationdiscoveryservice#ResourceNotFoundException":
|
|
1299
|
-
throw await
|
|
1299
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1300
1300
|
case "ServerInternalErrorException":
|
|
1301
1301
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
1302
|
-
throw await
|
|
1302
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1303
1303
|
default:
|
|
1304
1304
|
const parsedBody = parsedOutput.body;
|
|
1305
1305
|
throwDefaultError({
|
|
@@ -1310,20 +1310,20 @@ const deserializeAws_json1_1StopContinuousExportCommandError = async (output, co
|
|
|
1310
1310
|
});
|
|
1311
1311
|
}
|
|
1312
1312
|
};
|
|
1313
|
-
export const
|
|
1313
|
+
export const de_StopDataCollectionByAgentIdsCommand = async (output, context) => {
|
|
1314
1314
|
if (output.statusCode >= 300) {
|
|
1315
|
-
return
|
|
1315
|
+
return de_StopDataCollectionByAgentIdsCommandError(output, context);
|
|
1316
1316
|
}
|
|
1317
1317
|
const data = await parseBody(output.body, context);
|
|
1318
1318
|
let contents = {};
|
|
1319
|
-
contents =
|
|
1319
|
+
contents = de_StopDataCollectionByAgentIdsResponse(data, context);
|
|
1320
1320
|
const response = {
|
|
1321
1321
|
$metadata: deserializeMetadata(output),
|
|
1322
1322
|
...contents,
|
|
1323
1323
|
};
|
|
1324
1324
|
return Promise.resolve(response);
|
|
1325
1325
|
};
|
|
1326
|
-
const
|
|
1326
|
+
const de_StopDataCollectionByAgentIdsCommandError = async (output, context) => {
|
|
1327
1327
|
const parsedOutput = {
|
|
1328
1328
|
...output,
|
|
1329
1329
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1332,19 +1332,19 @@ const deserializeAws_json1_1StopDataCollectionByAgentIdsCommandError = async (ou
|
|
|
1332
1332
|
switch (errorCode) {
|
|
1333
1333
|
case "AuthorizationErrorException":
|
|
1334
1334
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
1335
|
-
throw await
|
|
1335
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
1336
1336
|
case "HomeRegionNotSetException":
|
|
1337
1337
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
1338
|
-
throw await
|
|
1338
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
1339
1339
|
case "InvalidParameterException":
|
|
1340
1340
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
1341
|
-
throw await
|
|
1341
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1342
1342
|
case "InvalidParameterValueException":
|
|
1343
1343
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
1344
|
-
throw await
|
|
1344
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1345
1345
|
case "ServerInternalErrorException":
|
|
1346
1346
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
1347
|
-
throw await
|
|
1347
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1348
1348
|
default:
|
|
1349
1349
|
const parsedBody = parsedOutput.body;
|
|
1350
1350
|
throwDefaultError({
|
|
@@ -1355,20 +1355,20 @@ const deserializeAws_json1_1StopDataCollectionByAgentIdsCommandError = async (ou
|
|
|
1355
1355
|
});
|
|
1356
1356
|
}
|
|
1357
1357
|
};
|
|
1358
|
-
export const
|
|
1358
|
+
export const de_UpdateApplicationCommand = async (output, context) => {
|
|
1359
1359
|
if (output.statusCode >= 300) {
|
|
1360
|
-
return
|
|
1360
|
+
return de_UpdateApplicationCommandError(output, context);
|
|
1361
1361
|
}
|
|
1362
1362
|
const data = await parseBody(output.body, context);
|
|
1363
1363
|
let contents = {};
|
|
1364
|
-
contents =
|
|
1364
|
+
contents = de_UpdateApplicationResponse(data, context);
|
|
1365
1365
|
const response = {
|
|
1366
1366
|
$metadata: deserializeMetadata(output),
|
|
1367
1367
|
...contents,
|
|
1368
1368
|
};
|
|
1369
1369
|
return Promise.resolve(response);
|
|
1370
1370
|
};
|
|
1371
|
-
const
|
|
1371
|
+
const de_UpdateApplicationCommandError = async (output, context) => {
|
|
1372
1372
|
const parsedOutput = {
|
|
1373
1373
|
...output,
|
|
1374
1374
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1377,19 +1377,19 @@ const deserializeAws_json1_1UpdateApplicationCommandError = async (output, conte
|
|
|
1377
1377
|
switch (errorCode) {
|
|
1378
1378
|
case "AuthorizationErrorException":
|
|
1379
1379
|
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
1380
|
-
throw await
|
|
1380
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
1381
1381
|
case "HomeRegionNotSetException":
|
|
1382
1382
|
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
1383
|
-
throw await
|
|
1383
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
1384
1384
|
case "InvalidParameterException":
|
|
1385
1385
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
1386
|
-
throw await
|
|
1386
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1387
1387
|
case "InvalidParameterValueException":
|
|
1388
1388
|
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
1389
|
-
throw await
|
|
1389
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1390
1390
|
case "ServerInternalErrorException":
|
|
1391
1391
|
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
1392
|
-
throw await
|
|
1392
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1393
1393
|
default:
|
|
1394
1394
|
const parsedBody = parsedOutput.body;
|
|
1395
1395
|
throwDefaultError({
|
|
@@ -1400,424 +1400,414 @@ const deserializeAws_json1_1UpdateApplicationCommandError = async (output, conte
|
|
|
1400
1400
|
});
|
|
1401
1401
|
}
|
|
1402
1402
|
};
|
|
1403
|
-
const
|
|
1403
|
+
const de_AuthorizationErrorExceptionRes = async (parsedOutput, context) => {
|
|
1404
1404
|
const body = parsedOutput.body;
|
|
1405
|
-
const deserialized =
|
|
1405
|
+
const deserialized = de_AuthorizationErrorException(body, context);
|
|
1406
1406
|
const exception = new AuthorizationErrorException({
|
|
1407
1407
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1408
1408
|
...deserialized,
|
|
1409
1409
|
});
|
|
1410
1410
|
return __decorateServiceException(exception, body);
|
|
1411
1411
|
};
|
|
1412
|
-
const
|
|
1412
|
+
const de_ConflictErrorExceptionRes = async (parsedOutput, context) => {
|
|
1413
1413
|
const body = parsedOutput.body;
|
|
1414
|
-
const deserialized =
|
|
1414
|
+
const deserialized = de_ConflictErrorException(body, context);
|
|
1415
1415
|
const exception = new ConflictErrorException({
|
|
1416
1416
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1417
1417
|
...deserialized,
|
|
1418
1418
|
});
|
|
1419
1419
|
return __decorateServiceException(exception, body);
|
|
1420
1420
|
};
|
|
1421
|
-
const
|
|
1421
|
+
const de_HomeRegionNotSetExceptionRes = async (parsedOutput, context) => {
|
|
1422
1422
|
const body = parsedOutput.body;
|
|
1423
|
-
const deserialized =
|
|
1423
|
+
const deserialized = de_HomeRegionNotSetException(body, context);
|
|
1424
1424
|
const exception = new HomeRegionNotSetException({
|
|
1425
1425
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1426
1426
|
...deserialized,
|
|
1427
1427
|
});
|
|
1428
1428
|
return __decorateServiceException(exception, body);
|
|
1429
1429
|
};
|
|
1430
|
-
const
|
|
1430
|
+
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
1431
1431
|
const body = parsedOutput.body;
|
|
1432
|
-
const deserialized =
|
|
1432
|
+
const deserialized = de_InvalidParameterException(body, context);
|
|
1433
1433
|
const exception = new InvalidParameterException({
|
|
1434
1434
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1435
1435
|
...deserialized,
|
|
1436
1436
|
});
|
|
1437
1437
|
return __decorateServiceException(exception, body);
|
|
1438
1438
|
};
|
|
1439
|
-
const
|
|
1439
|
+
const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => {
|
|
1440
1440
|
const body = parsedOutput.body;
|
|
1441
|
-
const deserialized =
|
|
1441
|
+
const deserialized = de_InvalidParameterValueException(body, context);
|
|
1442
1442
|
const exception = new InvalidParameterValueException({
|
|
1443
1443
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1444
1444
|
...deserialized,
|
|
1445
1445
|
});
|
|
1446
1446
|
return __decorateServiceException(exception, body);
|
|
1447
1447
|
};
|
|
1448
|
-
const
|
|
1448
|
+
const de_OperationNotPermittedExceptionRes = async (parsedOutput, context) => {
|
|
1449
1449
|
const body = parsedOutput.body;
|
|
1450
|
-
const deserialized =
|
|
1450
|
+
const deserialized = de_OperationNotPermittedException(body, context);
|
|
1451
1451
|
const exception = new OperationNotPermittedException({
|
|
1452
1452
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1453
1453
|
...deserialized,
|
|
1454
1454
|
});
|
|
1455
1455
|
return __decorateServiceException(exception, body);
|
|
1456
1456
|
};
|
|
1457
|
-
const
|
|
1457
|
+
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1458
1458
|
const body = parsedOutput.body;
|
|
1459
|
-
const deserialized =
|
|
1459
|
+
const deserialized = de_ResourceInUseException(body, context);
|
|
1460
1460
|
const exception = new ResourceInUseException({
|
|
1461
1461
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1462
1462
|
...deserialized,
|
|
1463
1463
|
});
|
|
1464
1464
|
return __decorateServiceException(exception, body);
|
|
1465
1465
|
};
|
|
1466
|
-
const
|
|
1466
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1467
1467
|
const body = parsedOutput.body;
|
|
1468
|
-
const deserialized =
|
|
1468
|
+
const deserialized = de_ResourceNotFoundException(body, context);
|
|
1469
1469
|
const exception = new ResourceNotFoundException({
|
|
1470
1470
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1471
1471
|
...deserialized,
|
|
1472
1472
|
});
|
|
1473
1473
|
return __decorateServiceException(exception, body);
|
|
1474
1474
|
};
|
|
1475
|
-
const
|
|
1475
|
+
const de_ServerInternalErrorExceptionRes = async (parsedOutput, context) => {
|
|
1476
1476
|
const body = parsedOutput.body;
|
|
1477
|
-
const deserialized =
|
|
1477
|
+
const deserialized = de_ServerInternalErrorException(body, context);
|
|
1478
1478
|
const exception = new ServerInternalErrorException({
|
|
1479
1479
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1480
1480
|
...deserialized,
|
|
1481
1481
|
});
|
|
1482
1482
|
return __decorateServiceException(exception, body);
|
|
1483
1483
|
};
|
|
1484
|
-
const
|
|
1484
|
+
const se_AgentIds = (input, context) => {
|
|
1485
1485
|
return input
|
|
1486
1486
|
.filter((e) => e != null)
|
|
1487
1487
|
.map((entry) => {
|
|
1488
1488
|
return entry;
|
|
1489
1489
|
});
|
|
1490
1490
|
};
|
|
1491
|
-
const
|
|
1491
|
+
const se_ApplicationIdsList = (input, context) => {
|
|
1492
1492
|
return input
|
|
1493
1493
|
.filter((e) => e != null)
|
|
1494
1494
|
.map((entry) => {
|
|
1495
1495
|
return entry;
|
|
1496
1496
|
});
|
|
1497
1497
|
};
|
|
1498
|
-
const
|
|
1498
|
+
const se_AssociateConfigurationItemsToApplicationRequest = (input, context) => {
|
|
1499
1499
|
return {
|
|
1500
1500
|
...(input.applicationConfigurationId != null && { applicationConfigurationId: input.applicationConfigurationId }),
|
|
1501
1501
|
...(input.configurationIds != null && {
|
|
1502
|
-
configurationIds:
|
|
1502
|
+
configurationIds: se_ConfigurationIdList(input.configurationIds, context),
|
|
1503
1503
|
}),
|
|
1504
1504
|
};
|
|
1505
1505
|
};
|
|
1506
|
-
const
|
|
1506
|
+
const se_BatchDeleteImportDataRequest = (input, context) => {
|
|
1507
1507
|
return {
|
|
1508
|
-
...(input.importTaskIds != null && {
|
|
1509
|
-
importTaskIds: serializeAws_json1_1ToDeleteIdentifierList(input.importTaskIds, context),
|
|
1510
|
-
}),
|
|
1508
|
+
...(input.importTaskIds != null && { importTaskIds: se_ToDeleteIdentifierList(input.importTaskIds, context) }),
|
|
1511
1509
|
};
|
|
1512
1510
|
};
|
|
1513
|
-
const
|
|
1511
|
+
const se_ConfigurationIdList = (input, context) => {
|
|
1514
1512
|
return input
|
|
1515
1513
|
.filter((e) => e != null)
|
|
1516
1514
|
.map((entry) => {
|
|
1517
1515
|
return entry;
|
|
1518
1516
|
});
|
|
1519
1517
|
};
|
|
1520
|
-
const
|
|
1518
|
+
const se_ContinuousExportIds = (input, context) => {
|
|
1521
1519
|
return input
|
|
1522
1520
|
.filter((e) => e != null)
|
|
1523
1521
|
.map((entry) => {
|
|
1524
1522
|
return entry;
|
|
1525
1523
|
});
|
|
1526
1524
|
};
|
|
1527
|
-
const
|
|
1525
|
+
const se_CreateApplicationRequest = (input, context) => {
|
|
1528
1526
|
return {
|
|
1529
1527
|
...(input.description != null && { description: input.description }),
|
|
1530
1528
|
...(input.name != null && { name: input.name }),
|
|
1531
1529
|
};
|
|
1532
1530
|
};
|
|
1533
|
-
const
|
|
1531
|
+
const se_CreateTagsRequest = (input, context) => {
|
|
1534
1532
|
return {
|
|
1535
1533
|
...(input.configurationIds != null && {
|
|
1536
|
-
configurationIds:
|
|
1534
|
+
configurationIds: se_ConfigurationIdList(input.configurationIds, context),
|
|
1537
1535
|
}),
|
|
1538
|
-
...(input.tags != null && { tags:
|
|
1536
|
+
...(input.tags != null && { tags: se_TagSet(input.tags, context) }),
|
|
1539
1537
|
};
|
|
1540
1538
|
};
|
|
1541
|
-
const
|
|
1539
|
+
const se_DeleteApplicationsRequest = (input, context) => {
|
|
1542
1540
|
return {
|
|
1543
|
-
...(input.configurationIds != null && {
|
|
1544
|
-
configurationIds: serializeAws_json1_1ApplicationIdsList(input.configurationIds, context),
|
|
1545
|
-
}),
|
|
1541
|
+
...(input.configurationIds != null && { configurationIds: se_ApplicationIdsList(input.configurationIds, context) }),
|
|
1546
1542
|
};
|
|
1547
1543
|
};
|
|
1548
|
-
const
|
|
1544
|
+
const se_DeleteTagsRequest = (input, context) => {
|
|
1549
1545
|
return {
|
|
1550
1546
|
...(input.configurationIds != null && {
|
|
1551
|
-
configurationIds:
|
|
1547
|
+
configurationIds: se_ConfigurationIdList(input.configurationIds, context),
|
|
1552
1548
|
}),
|
|
1553
|
-
...(input.tags != null && { tags:
|
|
1549
|
+
...(input.tags != null && { tags: se_TagSet(input.tags, context) }),
|
|
1554
1550
|
};
|
|
1555
1551
|
};
|
|
1556
|
-
const
|
|
1552
|
+
const se_DescribeAgentsRequest = (input, context) => {
|
|
1557
1553
|
return {
|
|
1558
|
-
...(input.agentIds != null && { agentIds:
|
|
1559
|
-
...(input.filters != null && { filters:
|
|
1554
|
+
...(input.agentIds != null && { agentIds: se_AgentIds(input.agentIds, context) }),
|
|
1555
|
+
...(input.filters != null && { filters: se_Filters(input.filters, context) }),
|
|
1560
1556
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1561
1557
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1562
1558
|
};
|
|
1563
1559
|
};
|
|
1564
|
-
const
|
|
1560
|
+
const se_DescribeConfigurationsRequest = (input, context) => {
|
|
1565
1561
|
return {
|
|
1566
1562
|
...(input.configurationIds != null && {
|
|
1567
|
-
configurationIds:
|
|
1563
|
+
configurationIds: se_ConfigurationIdList(input.configurationIds, context),
|
|
1568
1564
|
}),
|
|
1569
1565
|
};
|
|
1570
1566
|
};
|
|
1571
|
-
const
|
|
1567
|
+
const se_DescribeContinuousExportsRequest = (input, context) => {
|
|
1572
1568
|
return {
|
|
1573
|
-
...(input.exportIds != null && { exportIds:
|
|
1569
|
+
...(input.exportIds != null && { exportIds: se_ContinuousExportIds(input.exportIds, context) }),
|
|
1574
1570
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1575
1571
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1576
1572
|
};
|
|
1577
1573
|
};
|
|
1578
|
-
const
|
|
1574
|
+
const se_DescribeExportConfigurationsRequest = (input, context) => {
|
|
1579
1575
|
return {
|
|
1580
|
-
...(input.exportIds != null && { exportIds:
|
|
1576
|
+
...(input.exportIds != null && { exportIds: se_ExportIds(input.exportIds, context) }),
|
|
1581
1577
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1582
1578
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1583
1579
|
};
|
|
1584
1580
|
};
|
|
1585
|
-
const
|
|
1581
|
+
const se_DescribeExportTasksRequest = (input, context) => {
|
|
1586
1582
|
return {
|
|
1587
|
-
...(input.exportIds != null && { exportIds:
|
|
1588
|
-
...(input.filters != null && { filters:
|
|
1583
|
+
...(input.exportIds != null && { exportIds: se_ExportIds(input.exportIds, context) }),
|
|
1584
|
+
...(input.filters != null && { filters: se_ExportFilters(input.filters, context) }),
|
|
1589
1585
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1590
1586
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1591
1587
|
};
|
|
1592
1588
|
};
|
|
1593
|
-
const
|
|
1589
|
+
const se_DescribeImportTasksFilterList = (input, context) => {
|
|
1594
1590
|
return input
|
|
1595
1591
|
.filter((e) => e != null)
|
|
1596
1592
|
.map((entry) => {
|
|
1597
|
-
return
|
|
1593
|
+
return se_ImportTaskFilter(entry, context);
|
|
1598
1594
|
});
|
|
1599
1595
|
};
|
|
1600
|
-
const
|
|
1596
|
+
const se_DescribeImportTasksRequest = (input, context) => {
|
|
1601
1597
|
return {
|
|
1602
|
-
...(input.filters != null && {
|
|
1603
|
-
filters: serializeAws_json1_1DescribeImportTasksFilterList(input.filters, context),
|
|
1604
|
-
}),
|
|
1598
|
+
...(input.filters != null && { filters: se_DescribeImportTasksFilterList(input.filters, context) }),
|
|
1605
1599
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1606
1600
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1607
1601
|
};
|
|
1608
1602
|
};
|
|
1609
|
-
const
|
|
1603
|
+
const se_DescribeTagsRequest = (input, context) => {
|
|
1610
1604
|
return {
|
|
1611
|
-
...(input.filters != null && { filters:
|
|
1605
|
+
...(input.filters != null && { filters: se_TagFilters(input.filters, context) }),
|
|
1612
1606
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1613
1607
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1614
1608
|
};
|
|
1615
1609
|
};
|
|
1616
|
-
const
|
|
1610
|
+
const se_DisassociateConfigurationItemsFromApplicationRequest = (input, context) => {
|
|
1617
1611
|
return {
|
|
1618
1612
|
...(input.applicationConfigurationId != null && { applicationConfigurationId: input.applicationConfigurationId }),
|
|
1619
1613
|
...(input.configurationIds != null && {
|
|
1620
|
-
configurationIds:
|
|
1614
|
+
configurationIds: se_ConfigurationIdList(input.configurationIds, context),
|
|
1621
1615
|
}),
|
|
1622
1616
|
};
|
|
1623
1617
|
};
|
|
1624
|
-
const
|
|
1618
|
+
const se_ExportDataFormats = (input, context) => {
|
|
1625
1619
|
return input
|
|
1626
1620
|
.filter((e) => e != null)
|
|
1627
1621
|
.map((entry) => {
|
|
1628
1622
|
return entry;
|
|
1629
1623
|
});
|
|
1630
1624
|
};
|
|
1631
|
-
const
|
|
1625
|
+
const se_ExportFilter = (input, context) => {
|
|
1632
1626
|
return {
|
|
1633
1627
|
...(input.condition != null && { condition: input.condition }),
|
|
1634
1628
|
...(input.name != null && { name: input.name }),
|
|
1635
|
-
...(input.values != null && { values:
|
|
1629
|
+
...(input.values != null && { values: se_FilterValues(input.values, context) }),
|
|
1636
1630
|
};
|
|
1637
1631
|
};
|
|
1638
|
-
const
|
|
1632
|
+
const se_ExportFilters = (input, context) => {
|
|
1639
1633
|
return input
|
|
1640
1634
|
.filter((e) => e != null)
|
|
1641
1635
|
.map((entry) => {
|
|
1642
|
-
return
|
|
1636
|
+
return se_ExportFilter(entry, context);
|
|
1643
1637
|
});
|
|
1644
1638
|
};
|
|
1645
|
-
const
|
|
1639
|
+
const se_ExportIds = (input, context) => {
|
|
1646
1640
|
return input
|
|
1647
1641
|
.filter((e) => e != null)
|
|
1648
1642
|
.map((entry) => {
|
|
1649
1643
|
return entry;
|
|
1650
1644
|
});
|
|
1651
1645
|
};
|
|
1652
|
-
const
|
|
1646
|
+
const se_Filter = (input, context) => {
|
|
1653
1647
|
return {
|
|
1654
1648
|
...(input.condition != null && { condition: input.condition }),
|
|
1655
1649
|
...(input.name != null && { name: input.name }),
|
|
1656
|
-
...(input.values != null && { values:
|
|
1650
|
+
...(input.values != null && { values: se_FilterValues(input.values, context) }),
|
|
1657
1651
|
};
|
|
1658
1652
|
};
|
|
1659
|
-
const
|
|
1653
|
+
const se_Filters = (input, context) => {
|
|
1660
1654
|
return input
|
|
1661
1655
|
.filter((e) => e != null)
|
|
1662
1656
|
.map((entry) => {
|
|
1663
|
-
return
|
|
1657
|
+
return se_Filter(entry, context);
|
|
1664
1658
|
});
|
|
1665
1659
|
};
|
|
1666
|
-
const
|
|
1660
|
+
const se_FilterValues = (input, context) => {
|
|
1667
1661
|
return input
|
|
1668
1662
|
.filter((e) => e != null)
|
|
1669
1663
|
.map((entry) => {
|
|
1670
1664
|
return entry;
|
|
1671
1665
|
});
|
|
1672
1666
|
};
|
|
1673
|
-
const
|
|
1667
|
+
const se_GetDiscoverySummaryRequest = (input, context) => {
|
|
1674
1668
|
return {};
|
|
1675
1669
|
};
|
|
1676
|
-
const
|
|
1670
|
+
const se_ImportTaskFilter = (input, context) => {
|
|
1677
1671
|
return {
|
|
1678
1672
|
...(input.name != null && { name: input.name }),
|
|
1679
|
-
...(input.values != null && { values:
|
|
1673
|
+
...(input.values != null && { values: se_ImportTaskFilterValueList(input.values, context) }),
|
|
1680
1674
|
};
|
|
1681
1675
|
};
|
|
1682
|
-
const
|
|
1676
|
+
const se_ImportTaskFilterValueList = (input, context) => {
|
|
1683
1677
|
return input
|
|
1684
1678
|
.filter((e) => e != null)
|
|
1685
1679
|
.map((entry) => {
|
|
1686
1680
|
return entry;
|
|
1687
1681
|
});
|
|
1688
1682
|
};
|
|
1689
|
-
const
|
|
1683
|
+
const se_ListConfigurationsRequest = (input, context) => {
|
|
1690
1684
|
return {
|
|
1691
1685
|
...(input.configurationType != null && { configurationType: input.configurationType }),
|
|
1692
|
-
...(input.filters != null && { filters:
|
|
1686
|
+
...(input.filters != null && { filters: se_Filters(input.filters, context) }),
|
|
1693
1687
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1694
1688
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1695
|
-
...(input.orderBy != null && { orderBy:
|
|
1689
|
+
...(input.orderBy != null && { orderBy: se_OrderByList(input.orderBy, context) }),
|
|
1696
1690
|
};
|
|
1697
1691
|
};
|
|
1698
|
-
const
|
|
1692
|
+
const se_ListServerNeighborsRequest = (input, context) => {
|
|
1699
1693
|
return {
|
|
1700
1694
|
...(input.configurationId != null && { configurationId: input.configurationId }),
|
|
1701
1695
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1702
1696
|
...(input.neighborConfigurationIds != null && {
|
|
1703
|
-
neighborConfigurationIds:
|
|
1697
|
+
neighborConfigurationIds: se_ConfigurationIdList(input.neighborConfigurationIds, context),
|
|
1704
1698
|
}),
|
|
1705
1699
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1706
1700
|
...(input.portInformationNeeded != null && { portInformationNeeded: input.portInformationNeeded }),
|
|
1707
1701
|
};
|
|
1708
1702
|
};
|
|
1709
|
-
const
|
|
1703
|
+
const se_OrderByElement = (input, context) => {
|
|
1710
1704
|
return {
|
|
1711
1705
|
...(input.fieldName != null && { fieldName: input.fieldName }),
|
|
1712
1706
|
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
1713
1707
|
};
|
|
1714
1708
|
};
|
|
1715
|
-
const
|
|
1709
|
+
const se_OrderByList = (input, context) => {
|
|
1716
1710
|
return input
|
|
1717
1711
|
.filter((e) => e != null)
|
|
1718
1712
|
.map((entry) => {
|
|
1719
|
-
return
|
|
1713
|
+
return se_OrderByElement(entry, context);
|
|
1720
1714
|
});
|
|
1721
1715
|
};
|
|
1722
|
-
const
|
|
1716
|
+
const se_StartContinuousExportRequest = (input, context) => {
|
|
1723
1717
|
return {};
|
|
1724
1718
|
};
|
|
1725
|
-
const
|
|
1719
|
+
const se_StartDataCollectionByAgentIdsRequest = (input, context) => {
|
|
1726
1720
|
return {
|
|
1727
|
-
...(input.agentIds != null && { agentIds:
|
|
1721
|
+
...(input.agentIds != null && { agentIds: se_AgentIds(input.agentIds, context) }),
|
|
1728
1722
|
};
|
|
1729
1723
|
};
|
|
1730
|
-
const
|
|
1724
|
+
const se_StartExportTaskRequest = (input, context) => {
|
|
1731
1725
|
return {
|
|
1732
1726
|
...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
|
|
1733
|
-
...(input.exportDataFormat != null && {
|
|
1734
|
-
|
|
1735
|
-
}),
|
|
1736
|
-
...(input.filters != null && { filters: serializeAws_json1_1ExportFilters(input.filters, context) }),
|
|
1727
|
+
...(input.exportDataFormat != null && { exportDataFormat: se_ExportDataFormats(input.exportDataFormat, context) }),
|
|
1728
|
+
...(input.filters != null && { filters: se_ExportFilters(input.filters, context) }),
|
|
1737
1729
|
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
|
|
1738
1730
|
};
|
|
1739
1731
|
};
|
|
1740
|
-
const
|
|
1732
|
+
const se_StartImportTaskRequest = (input, context) => {
|
|
1741
1733
|
return {
|
|
1742
1734
|
clientRequestToken: input.clientRequestToken ?? generateIdempotencyToken(),
|
|
1743
1735
|
...(input.importUrl != null && { importUrl: input.importUrl }),
|
|
1744
1736
|
...(input.name != null && { name: input.name }),
|
|
1745
1737
|
};
|
|
1746
1738
|
};
|
|
1747
|
-
const
|
|
1739
|
+
const se_StopContinuousExportRequest = (input, context) => {
|
|
1748
1740
|
return {
|
|
1749
1741
|
...(input.exportId != null && { exportId: input.exportId }),
|
|
1750
1742
|
};
|
|
1751
1743
|
};
|
|
1752
|
-
const
|
|
1744
|
+
const se_StopDataCollectionByAgentIdsRequest = (input, context) => {
|
|
1753
1745
|
return {
|
|
1754
|
-
...(input.agentIds != null && { agentIds:
|
|
1746
|
+
...(input.agentIds != null && { agentIds: se_AgentIds(input.agentIds, context) }),
|
|
1755
1747
|
};
|
|
1756
1748
|
};
|
|
1757
|
-
const
|
|
1749
|
+
const se_Tag = (input, context) => {
|
|
1758
1750
|
return {
|
|
1759
1751
|
...(input.key != null && { key: input.key }),
|
|
1760
1752
|
...(input.value != null && { value: input.value }),
|
|
1761
1753
|
};
|
|
1762
1754
|
};
|
|
1763
|
-
const
|
|
1755
|
+
const se_TagFilter = (input, context) => {
|
|
1764
1756
|
return {
|
|
1765
1757
|
...(input.name != null && { name: input.name }),
|
|
1766
|
-
...(input.values != null && { values:
|
|
1758
|
+
...(input.values != null && { values: se_FilterValues(input.values, context) }),
|
|
1767
1759
|
};
|
|
1768
1760
|
};
|
|
1769
|
-
const
|
|
1761
|
+
const se_TagFilters = (input, context) => {
|
|
1770
1762
|
return input
|
|
1771
1763
|
.filter((e) => e != null)
|
|
1772
1764
|
.map((entry) => {
|
|
1773
|
-
return
|
|
1765
|
+
return se_TagFilter(entry, context);
|
|
1774
1766
|
});
|
|
1775
1767
|
};
|
|
1776
|
-
const
|
|
1768
|
+
const se_TagSet = (input, context) => {
|
|
1777
1769
|
return input
|
|
1778
1770
|
.filter((e) => e != null)
|
|
1779
1771
|
.map((entry) => {
|
|
1780
|
-
return
|
|
1772
|
+
return se_Tag(entry, context);
|
|
1781
1773
|
});
|
|
1782
1774
|
};
|
|
1783
|
-
const
|
|
1775
|
+
const se_ToDeleteIdentifierList = (input, context) => {
|
|
1784
1776
|
return input
|
|
1785
1777
|
.filter((e) => e != null)
|
|
1786
1778
|
.map((entry) => {
|
|
1787
1779
|
return entry;
|
|
1788
1780
|
});
|
|
1789
1781
|
};
|
|
1790
|
-
const
|
|
1782
|
+
const se_UpdateApplicationRequest = (input, context) => {
|
|
1791
1783
|
return {
|
|
1792
1784
|
...(input.configurationId != null && { configurationId: input.configurationId }),
|
|
1793
1785
|
...(input.description != null && { description: input.description }),
|
|
1794
1786
|
...(input.name != null && { name: input.name }),
|
|
1795
1787
|
};
|
|
1796
1788
|
};
|
|
1797
|
-
const
|
|
1789
|
+
const de_AgentConfigurationStatus = (output, context) => {
|
|
1798
1790
|
return {
|
|
1799
1791
|
agentId: __expectString(output.agentId),
|
|
1800
1792
|
description: __expectString(output.description),
|
|
1801
1793
|
operationSucceeded: __expectBoolean(output.operationSucceeded),
|
|
1802
1794
|
};
|
|
1803
1795
|
};
|
|
1804
|
-
const
|
|
1796
|
+
const de_AgentConfigurationStatusList = (output, context) => {
|
|
1805
1797
|
const retVal = (output || [])
|
|
1806
1798
|
.filter((e) => e != null)
|
|
1807
1799
|
.map((entry) => {
|
|
1808
1800
|
if (entry === null) {
|
|
1809
1801
|
return null;
|
|
1810
1802
|
}
|
|
1811
|
-
return
|
|
1803
|
+
return de_AgentConfigurationStatus(entry, context);
|
|
1812
1804
|
});
|
|
1813
1805
|
return retVal;
|
|
1814
1806
|
};
|
|
1815
|
-
const
|
|
1807
|
+
const de_AgentInfo = (output, context) => {
|
|
1816
1808
|
return {
|
|
1817
1809
|
agentId: __expectString(output.agentId),
|
|
1818
|
-
agentNetworkInfoList: output.agentNetworkInfoList != null
|
|
1819
|
-
? deserializeAws_json1_1AgentNetworkInfoList(output.agentNetworkInfoList, context)
|
|
1820
|
-
: undefined,
|
|
1810
|
+
agentNetworkInfoList: output.agentNetworkInfoList != null ? de_AgentNetworkInfoList(output.agentNetworkInfoList, context) : undefined,
|
|
1821
1811
|
agentType: __expectString(output.agentType),
|
|
1822
1812
|
collectionStatus: __expectString(output.collectionStatus),
|
|
1823
1813
|
connectorId: __expectString(output.connectorId),
|
|
@@ -1828,66 +1818,66 @@ const deserializeAws_json1_1AgentInfo = (output, context) => {
|
|
|
1828
1818
|
version: __expectString(output.version),
|
|
1829
1819
|
};
|
|
1830
1820
|
};
|
|
1831
|
-
const
|
|
1821
|
+
const de_AgentNetworkInfo = (output, context) => {
|
|
1832
1822
|
return {
|
|
1833
1823
|
ipAddress: __expectString(output.ipAddress),
|
|
1834
1824
|
macAddress: __expectString(output.macAddress),
|
|
1835
1825
|
};
|
|
1836
1826
|
};
|
|
1837
|
-
const
|
|
1827
|
+
const de_AgentNetworkInfoList = (output, context) => {
|
|
1838
1828
|
const retVal = (output || [])
|
|
1839
1829
|
.filter((e) => e != null)
|
|
1840
1830
|
.map((entry) => {
|
|
1841
1831
|
if (entry === null) {
|
|
1842
1832
|
return null;
|
|
1843
1833
|
}
|
|
1844
|
-
return
|
|
1834
|
+
return de_AgentNetworkInfo(entry, context);
|
|
1845
1835
|
});
|
|
1846
1836
|
return retVal;
|
|
1847
1837
|
};
|
|
1848
|
-
const
|
|
1838
|
+
const de_AgentsInfo = (output, context) => {
|
|
1849
1839
|
const retVal = (output || [])
|
|
1850
1840
|
.filter((e) => e != null)
|
|
1851
1841
|
.map((entry) => {
|
|
1852
1842
|
if (entry === null) {
|
|
1853
1843
|
return null;
|
|
1854
1844
|
}
|
|
1855
|
-
return
|
|
1845
|
+
return de_AgentInfo(entry, context);
|
|
1856
1846
|
});
|
|
1857
1847
|
return retVal;
|
|
1858
1848
|
};
|
|
1859
|
-
const
|
|
1849
|
+
const de_AssociateConfigurationItemsToApplicationResponse = (output, context) => {
|
|
1860
1850
|
return {};
|
|
1861
1851
|
};
|
|
1862
|
-
const
|
|
1852
|
+
const de_AuthorizationErrorException = (output, context) => {
|
|
1863
1853
|
return {
|
|
1864
1854
|
message: __expectString(output.message),
|
|
1865
1855
|
};
|
|
1866
1856
|
};
|
|
1867
|
-
const
|
|
1857
|
+
const de_BatchDeleteImportDataError = (output, context) => {
|
|
1868
1858
|
return {
|
|
1869
1859
|
errorCode: __expectString(output.errorCode),
|
|
1870
1860
|
errorDescription: __expectString(output.errorDescription),
|
|
1871
1861
|
importTaskId: __expectString(output.importTaskId),
|
|
1872
1862
|
};
|
|
1873
1863
|
};
|
|
1874
|
-
const
|
|
1864
|
+
const de_BatchDeleteImportDataErrorList = (output, context) => {
|
|
1875
1865
|
const retVal = (output || [])
|
|
1876
1866
|
.filter((e) => e != null)
|
|
1877
1867
|
.map((entry) => {
|
|
1878
1868
|
if (entry === null) {
|
|
1879
1869
|
return null;
|
|
1880
1870
|
}
|
|
1881
|
-
return
|
|
1871
|
+
return de_BatchDeleteImportDataError(entry, context);
|
|
1882
1872
|
});
|
|
1883
1873
|
return retVal;
|
|
1884
1874
|
};
|
|
1885
|
-
const
|
|
1875
|
+
const de_BatchDeleteImportDataResponse = (output, context) => {
|
|
1886
1876
|
return {
|
|
1887
|
-
errors: output.errors != null ?
|
|
1877
|
+
errors: output.errors != null ? de_BatchDeleteImportDataErrorList(output.errors, context) : undefined,
|
|
1888
1878
|
};
|
|
1889
1879
|
};
|
|
1890
|
-
const
|
|
1880
|
+
const de_Configuration = (output, context) => {
|
|
1891
1881
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1892
1882
|
if (value === null) {
|
|
1893
1883
|
return acc;
|
|
@@ -1896,18 +1886,18 @@ const deserializeAws_json1_1Configuration = (output, context) => {
|
|
|
1896
1886
|
return acc;
|
|
1897
1887
|
}, {});
|
|
1898
1888
|
};
|
|
1899
|
-
const
|
|
1889
|
+
const de_Configurations = (output, context) => {
|
|
1900
1890
|
const retVal = (output || [])
|
|
1901
1891
|
.filter((e) => e != null)
|
|
1902
1892
|
.map((entry) => {
|
|
1903
1893
|
if (entry === null) {
|
|
1904
1894
|
return null;
|
|
1905
1895
|
}
|
|
1906
|
-
return
|
|
1896
|
+
return de_Configuration(entry, context);
|
|
1907
1897
|
});
|
|
1908
1898
|
return retVal;
|
|
1909
1899
|
};
|
|
1910
|
-
const
|
|
1900
|
+
const de_ConfigurationTag = (output, context) => {
|
|
1911
1901
|
return {
|
|
1912
1902
|
configurationId: __expectString(output.configurationId),
|
|
1913
1903
|
configurationType: __expectString(output.configurationType),
|
|
@@ -1918,56 +1908,54 @@ const deserializeAws_json1_1ConfigurationTag = (output, context) => {
|
|
|
1918
1908
|
value: __expectString(output.value),
|
|
1919
1909
|
};
|
|
1920
1910
|
};
|
|
1921
|
-
const
|
|
1911
|
+
const de_ConfigurationTagSet = (output, context) => {
|
|
1922
1912
|
const retVal = (output || [])
|
|
1923
1913
|
.filter((e) => e != null)
|
|
1924
1914
|
.map((entry) => {
|
|
1925
1915
|
if (entry === null) {
|
|
1926
1916
|
return null;
|
|
1927
1917
|
}
|
|
1928
|
-
return
|
|
1918
|
+
return de_ConfigurationTag(entry, context);
|
|
1929
1919
|
});
|
|
1930
1920
|
return retVal;
|
|
1931
1921
|
};
|
|
1932
|
-
const
|
|
1922
|
+
const de_ConflictErrorException = (output, context) => {
|
|
1933
1923
|
return {
|
|
1934
1924
|
message: __expectString(output.message),
|
|
1935
1925
|
};
|
|
1936
1926
|
};
|
|
1937
|
-
const
|
|
1927
|
+
const de_ContinuousExportDescription = (output, context) => {
|
|
1938
1928
|
return {
|
|
1939
1929
|
dataSource: __expectString(output.dataSource),
|
|
1940
1930
|
exportId: __expectString(output.exportId),
|
|
1941
1931
|
s3Bucket: __expectString(output.s3Bucket),
|
|
1942
|
-
schemaStorageConfig: output.schemaStorageConfig != null
|
|
1943
|
-
? deserializeAws_json1_1SchemaStorageConfig(output.schemaStorageConfig, context)
|
|
1944
|
-
: undefined,
|
|
1932
|
+
schemaStorageConfig: output.schemaStorageConfig != null ? de_SchemaStorageConfig(output.schemaStorageConfig, context) : undefined,
|
|
1945
1933
|
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
1946
1934
|
status: __expectString(output.status),
|
|
1947
1935
|
statusDetail: __expectString(output.statusDetail),
|
|
1948
1936
|
stopTime: output.stopTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopTime))) : undefined,
|
|
1949
1937
|
};
|
|
1950
1938
|
};
|
|
1951
|
-
const
|
|
1939
|
+
const de_ContinuousExportDescriptions = (output, context) => {
|
|
1952
1940
|
const retVal = (output || [])
|
|
1953
1941
|
.filter((e) => e != null)
|
|
1954
1942
|
.map((entry) => {
|
|
1955
1943
|
if (entry === null) {
|
|
1956
1944
|
return null;
|
|
1957
1945
|
}
|
|
1958
|
-
return
|
|
1946
|
+
return de_ContinuousExportDescription(entry, context);
|
|
1959
1947
|
});
|
|
1960
1948
|
return retVal;
|
|
1961
1949
|
};
|
|
1962
|
-
const
|
|
1950
|
+
const de_CreateApplicationResponse = (output, context) => {
|
|
1963
1951
|
return {
|
|
1964
1952
|
configurationId: __expectString(output.configurationId),
|
|
1965
1953
|
};
|
|
1966
1954
|
};
|
|
1967
|
-
const
|
|
1955
|
+
const de_CreateTagsResponse = (output, context) => {
|
|
1968
1956
|
return {};
|
|
1969
1957
|
};
|
|
1970
|
-
const
|
|
1958
|
+
const de_CustomerAgentInfo = (output, context) => {
|
|
1971
1959
|
return {
|
|
1972
1960
|
activeAgents: __expectInt32(output.activeAgents),
|
|
1973
1961
|
blackListedAgents: __expectInt32(output.blackListedAgents),
|
|
@@ -1978,7 +1966,7 @@ const deserializeAws_json1_1CustomerAgentInfo = (output, context) => {
|
|
|
1978
1966
|
unknownAgents: __expectInt32(output.unknownAgents),
|
|
1979
1967
|
};
|
|
1980
1968
|
};
|
|
1981
|
-
const
|
|
1969
|
+
const de_CustomerAgentlessCollectorInfo = (output, context) => {
|
|
1982
1970
|
return {
|
|
1983
1971
|
activeAgentlessCollectors: __expectInt32(output.activeAgentlessCollectors),
|
|
1984
1972
|
denyListedAgentlessCollectors: __expectInt32(output.denyListedAgentlessCollectors),
|
|
@@ -1989,7 +1977,7 @@ const deserializeAws_json1_1CustomerAgentlessCollectorInfo = (output, context) =
|
|
|
1989
1977
|
unknownAgentlessCollectors: __expectInt32(output.unknownAgentlessCollectors),
|
|
1990
1978
|
};
|
|
1991
1979
|
};
|
|
1992
|
-
const
|
|
1980
|
+
const de_CustomerConnectorInfo = (output, context) => {
|
|
1993
1981
|
return {
|
|
1994
1982
|
activeConnectors: __expectInt32(output.activeConnectors),
|
|
1995
1983
|
blackListedConnectors: __expectInt32(output.blackListedConnectors),
|
|
@@ -2000,7 +1988,7 @@ const deserializeAws_json1_1CustomerConnectorInfo = (output, context) => {
|
|
|
2000
1988
|
unknownConnectors: __expectInt32(output.unknownConnectors),
|
|
2001
1989
|
};
|
|
2002
1990
|
};
|
|
2003
|
-
const
|
|
1991
|
+
const de_CustomerMeCollectorInfo = (output, context) => {
|
|
2004
1992
|
return {
|
|
2005
1993
|
activeMeCollectors: __expectInt32(output.activeMeCollectors),
|
|
2006
1994
|
denyListedMeCollectors: __expectInt32(output.denyListedMeCollectors),
|
|
@@ -2011,19 +1999,19 @@ const deserializeAws_json1_1CustomerMeCollectorInfo = (output, context) => {
|
|
|
2011
1999
|
unknownMeCollectors: __expectInt32(output.unknownMeCollectors),
|
|
2012
2000
|
};
|
|
2013
2001
|
};
|
|
2014
|
-
const
|
|
2002
|
+
const de_DeleteApplicationsResponse = (output, context) => {
|
|
2015
2003
|
return {};
|
|
2016
2004
|
};
|
|
2017
|
-
const
|
|
2005
|
+
const de_DeleteTagsResponse = (output, context) => {
|
|
2018
2006
|
return {};
|
|
2019
2007
|
};
|
|
2020
|
-
const
|
|
2008
|
+
const de_DescribeAgentsResponse = (output, context) => {
|
|
2021
2009
|
return {
|
|
2022
|
-
agentsInfo: output.agentsInfo != null ?
|
|
2010
|
+
agentsInfo: output.agentsInfo != null ? de_AgentsInfo(output.agentsInfo, context) : undefined,
|
|
2023
2011
|
nextToken: __expectString(output.nextToken),
|
|
2024
2012
|
};
|
|
2025
2013
|
};
|
|
2026
|
-
const
|
|
2014
|
+
const de_DescribeConfigurationsAttribute = (output, context) => {
|
|
2027
2015
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2028
2016
|
if (value === null) {
|
|
2029
2017
|
return acc;
|
|
@@ -2032,65 +2020,61 @@ const deserializeAws_json1_1DescribeConfigurationsAttribute = (output, context)
|
|
|
2032
2020
|
return acc;
|
|
2033
2021
|
}, {});
|
|
2034
2022
|
};
|
|
2035
|
-
const
|
|
2023
|
+
const de_DescribeConfigurationsAttributes = (output, context) => {
|
|
2036
2024
|
const retVal = (output || [])
|
|
2037
2025
|
.filter((e) => e != null)
|
|
2038
2026
|
.map((entry) => {
|
|
2039
2027
|
if (entry === null) {
|
|
2040
2028
|
return null;
|
|
2041
2029
|
}
|
|
2042
|
-
return
|
|
2030
|
+
return de_DescribeConfigurationsAttribute(entry, context);
|
|
2043
2031
|
});
|
|
2044
2032
|
return retVal;
|
|
2045
2033
|
};
|
|
2046
|
-
const
|
|
2034
|
+
const de_DescribeConfigurationsResponse = (output, context) => {
|
|
2047
2035
|
return {
|
|
2048
|
-
configurations: output.configurations != null
|
|
2049
|
-
? deserializeAws_json1_1DescribeConfigurationsAttributes(output.configurations, context)
|
|
2050
|
-
: undefined,
|
|
2036
|
+
configurations: output.configurations != null ? de_DescribeConfigurationsAttributes(output.configurations, context) : undefined,
|
|
2051
2037
|
};
|
|
2052
2038
|
};
|
|
2053
|
-
const
|
|
2039
|
+
const de_DescribeContinuousExportsResponse = (output, context) => {
|
|
2054
2040
|
return {
|
|
2055
|
-
descriptions: output.descriptions != null
|
|
2056
|
-
? deserializeAws_json1_1ContinuousExportDescriptions(output.descriptions, context)
|
|
2057
|
-
: undefined,
|
|
2041
|
+
descriptions: output.descriptions != null ? de_ContinuousExportDescriptions(output.descriptions, context) : undefined,
|
|
2058
2042
|
nextToken: __expectString(output.nextToken),
|
|
2059
2043
|
};
|
|
2060
2044
|
};
|
|
2061
|
-
const
|
|
2045
|
+
const de_DescribeExportConfigurationsResponse = (output, context) => {
|
|
2062
2046
|
return {
|
|
2063
|
-
exportsInfo: output.exportsInfo != null ?
|
|
2047
|
+
exportsInfo: output.exportsInfo != null ? de_ExportsInfo(output.exportsInfo, context) : undefined,
|
|
2064
2048
|
nextToken: __expectString(output.nextToken),
|
|
2065
2049
|
};
|
|
2066
2050
|
};
|
|
2067
|
-
const
|
|
2051
|
+
const de_DescribeExportTasksResponse = (output, context) => {
|
|
2068
2052
|
return {
|
|
2069
|
-
exportsInfo: output.exportsInfo != null ?
|
|
2053
|
+
exportsInfo: output.exportsInfo != null ? de_ExportsInfo(output.exportsInfo, context) : undefined,
|
|
2070
2054
|
nextToken: __expectString(output.nextToken),
|
|
2071
2055
|
};
|
|
2072
2056
|
};
|
|
2073
|
-
const
|
|
2057
|
+
const de_DescribeImportTasksResponse = (output, context) => {
|
|
2074
2058
|
return {
|
|
2075
2059
|
nextToken: __expectString(output.nextToken),
|
|
2076
|
-
tasks: output.tasks != null ?
|
|
2060
|
+
tasks: output.tasks != null ? de_ImportTaskList(output.tasks, context) : undefined,
|
|
2077
2061
|
};
|
|
2078
2062
|
};
|
|
2079
|
-
const
|
|
2063
|
+
const de_DescribeTagsResponse = (output, context) => {
|
|
2080
2064
|
return {
|
|
2081
2065
|
nextToken: __expectString(output.nextToken),
|
|
2082
|
-
tags: output.tags != null ?
|
|
2066
|
+
tags: output.tags != null ? de_ConfigurationTagSet(output.tags, context) : undefined,
|
|
2083
2067
|
};
|
|
2084
2068
|
};
|
|
2085
|
-
const
|
|
2069
|
+
const de_DisassociateConfigurationItemsFromApplicationResponse = (output, context) => {
|
|
2086
2070
|
return {};
|
|
2087
2071
|
};
|
|
2088
|
-
const
|
|
2072
|
+
const de_ExportConfigurationsResponse = (output, context) => {
|
|
2089
2073
|
return {
|
|
2090
2074
|
exportId: __expectString(output.exportId),
|
|
2091
2075
|
};
|
|
2092
2076
|
};
|
|
2093
|
-
const
|
|
2077
|
+
const de_ExportInfo = (output, context) => {
|
|
2094
2078
|
return {
|
|
2095
2079
|
configurationsDownloadUrl: __expectString(output.configurationsDownloadUrl),
|
|
2096
2080
|
exportId: __expectString(output.exportId),
|
|
@@ -2108,41 +2092,37 @@ const deserializeAws_json1_1ExportInfo = (output, context) => {
|
|
|
2108
2092
|
statusMessage: __expectString(output.statusMessage),
|
|
2109
2093
|
};
|
|
2110
2094
|
};
|
|
2111
|
-
const
|
|
2095
|
+
const de_ExportsInfo = (output, context) => {
|
|
2112
2096
|
const retVal = (output || [])
|
|
2113
2097
|
.filter((e) => e != null)
|
|
2114
2098
|
.map((entry) => {
|
|
2115
2099
|
if (entry === null) {
|
|
2116
2100
|
return null;
|
|
2117
2101
|
}
|
|
2118
|
-
return
|
|
2102
|
+
return de_ExportInfo(entry, context);
|
|
2119
2103
|
});
|
|
2120
2104
|
return retVal;
|
|
2121
2105
|
};
|
|
2122
|
-
const
|
|
2106
|
+
const de_GetDiscoverySummaryResponse = (output, context) => {
|
|
2123
2107
|
return {
|
|
2124
|
-
agentSummary: output.agentSummary != null ?
|
|
2108
|
+
agentSummary: output.agentSummary != null ? de_CustomerAgentInfo(output.agentSummary, context) : undefined,
|
|
2125
2109
|
agentlessCollectorSummary: output.agentlessCollectorSummary != null
|
|
2126
|
-
?
|
|
2110
|
+
? de_CustomerAgentlessCollectorInfo(output.agentlessCollectorSummary, context)
|
|
2127
2111
|
: undefined,
|
|
2128
2112
|
applications: __expectLong(output.applications),
|
|
2129
|
-
connectorSummary: output.connectorSummary != null
|
|
2130
|
-
|
|
2131
|
-
: undefined,
|
|
2132
|
-
meCollectorSummary: output.meCollectorSummary != null
|
|
2133
|
-
? deserializeAws_json1_1CustomerMeCollectorInfo(output.meCollectorSummary, context)
|
|
2134
|
-
: undefined,
|
|
2113
|
+
connectorSummary: output.connectorSummary != null ? de_CustomerConnectorInfo(output.connectorSummary, context) : undefined,
|
|
2114
|
+
meCollectorSummary: output.meCollectorSummary != null ? de_CustomerMeCollectorInfo(output.meCollectorSummary, context) : undefined,
|
|
2135
2115
|
servers: __expectLong(output.servers),
|
|
2136
2116
|
serversMappedToApplications: __expectLong(output.serversMappedToApplications),
|
|
2137
2117
|
serversMappedtoTags: __expectLong(output.serversMappedtoTags),
|
|
2138
2118
|
};
|
|
2139
2119
|
};
|
|
2140
|
-
const
|
|
2120
|
+
const de_HomeRegionNotSetException = (output, context) => {
|
|
2141
2121
|
return {
|
|
2142
2122
|
message: __expectString(output.message),
|
|
2143
2123
|
};
|
|
2144
2124
|
};
|
|
2145
|
-
const
|
|
2125
|
+
const de_ImportTask = (output, context) => {
|
|
2146
2126
|
return {
|
|
2147
2127
|
applicationImportFailure: __expectInt32(output.applicationImportFailure),
|
|
2148
2128
|
applicationImportSuccess: __expectInt32(output.applicationImportSuccess),
|
|
@@ -2165,41 +2145,41 @@ const deserializeAws_json1_1ImportTask = (output, context) => {
|
|
|
2165
2145
|
status: __expectString(output.status),
|
|
2166
2146
|
};
|
|
2167
2147
|
};
|
|
2168
|
-
const
|
|
2148
|
+
const de_ImportTaskList = (output, context) => {
|
|
2169
2149
|
const retVal = (output || [])
|
|
2170
2150
|
.filter((e) => e != null)
|
|
2171
2151
|
.map((entry) => {
|
|
2172
2152
|
if (entry === null) {
|
|
2173
2153
|
return null;
|
|
2174
2154
|
}
|
|
2175
|
-
return
|
|
2155
|
+
return de_ImportTask(entry, context);
|
|
2176
2156
|
});
|
|
2177
2157
|
return retVal;
|
|
2178
2158
|
};
|
|
2179
|
-
const
|
|
2159
|
+
const de_InvalidParameterException = (output, context) => {
|
|
2180
2160
|
return {
|
|
2181
2161
|
message: __expectString(output.message),
|
|
2182
2162
|
};
|
|
2183
2163
|
};
|
|
2184
|
-
const
|
|
2164
|
+
const de_InvalidParameterValueException = (output, context) => {
|
|
2185
2165
|
return {
|
|
2186
2166
|
message: __expectString(output.message),
|
|
2187
2167
|
};
|
|
2188
2168
|
};
|
|
2189
|
-
const
|
|
2169
|
+
const de_ListConfigurationsResponse = (output, context) => {
|
|
2190
2170
|
return {
|
|
2191
|
-
configurations: output.configurations != null ?
|
|
2171
|
+
configurations: output.configurations != null ? de_Configurations(output.configurations, context) : undefined,
|
|
2192
2172
|
nextToken: __expectString(output.nextToken),
|
|
2193
2173
|
};
|
|
2194
2174
|
};
|
|
2195
|
-
const
|
|
2175
|
+
const de_ListServerNeighborsResponse = (output, context) => {
|
|
2196
2176
|
return {
|
|
2197
2177
|
knownDependencyCount: __expectLong(output.knownDependencyCount),
|
|
2198
|
-
neighbors: output.neighbors != null ?
|
|
2178
|
+
neighbors: output.neighbors != null ? de_NeighborDetailsList(output.neighbors, context) : undefined,
|
|
2199
2179
|
nextToken: __expectString(output.nextToken),
|
|
2200
2180
|
};
|
|
2201
2181
|
};
|
|
2202
|
-
const
|
|
2182
|
+
const de_NeighborConnectionDetail = (output, context) => {
|
|
2203
2183
|
return {
|
|
2204
2184
|
connectionsCount: __expectLong(output.connectionsCount),
|
|
2205
2185
|
destinationPort: __expectInt32(output.destinationPort),
|
|
@@ -2208,33 +2188,33 @@ const deserializeAws_json1_1NeighborConnectionDetail = (output, context) => {
|
|
|
2208
2188
|
transportProtocol: __expectString(output.transportProtocol),
|
|
2209
2189
|
};
|
|
2210
2190
|
};
|
|
2211
|
-
const
|
|
2191
|
+
const de_NeighborDetailsList = (output, context) => {
|
|
2212
2192
|
const retVal = (output || [])
|
|
2213
2193
|
.filter((e) => e != null)
|
|
2214
2194
|
.map((entry) => {
|
|
2215
2195
|
if (entry === null) {
|
|
2216
2196
|
return null;
|
|
2217
2197
|
}
|
|
2218
|
-
return
|
|
2198
|
+
return de_NeighborConnectionDetail(entry, context);
|
|
2219
2199
|
});
|
|
2220
2200
|
return retVal;
|
|
2221
2201
|
};
|
|
2222
|
-
const
|
|
2202
|
+
const de_OperationNotPermittedException = (output, context) => {
|
|
2223
2203
|
return {
|
|
2224
2204
|
message: __expectString(output.message),
|
|
2225
2205
|
};
|
|
2226
2206
|
};
|
|
2227
|
-
const
|
|
2207
|
+
const de_ResourceInUseException = (output, context) => {
|
|
2228
2208
|
return {
|
|
2229
2209
|
message: __expectString(output.message),
|
|
2230
2210
|
};
|
|
2231
2211
|
};
|
|
2232
|
-
const
|
|
2212
|
+
const de_ResourceNotFoundException = (output, context) => {
|
|
2233
2213
|
return {
|
|
2234
2214
|
message: __expectString(output.message),
|
|
2235
2215
|
};
|
|
2236
2216
|
};
|
|
2237
|
-
const
|
|
2217
|
+
const de_SchemaStorageConfig = (output, context) => {
|
|
2238
2218
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2239
2219
|
if (value === null) {
|
|
2240
2220
|
return acc;
|
|
@@ -2243,53 +2223,51 @@ const deserializeAws_json1_1SchemaStorageConfig = (output, context) => {
|
|
|
2243
2223
|
return acc;
|
|
2244
2224
|
}, {});
|
|
2245
2225
|
};
|
|
2246
|
-
const
|
|
2226
|
+
const de_ServerInternalErrorException = (output, context) => {
|
|
2247
2227
|
return {
|
|
2248
2228
|
message: __expectString(output.message),
|
|
2249
2229
|
};
|
|
2250
2230
|
};
|
|
2251
|
-
const
|
|
2231
|
+
const de_StartContinuousExportResponse = (output, context) => {
|
|
2252
2232
|
return {
|
|
2253
2233
|
dataSource: __expectString(output.dataSource),
|
|
2254
2234
|
exportId: __expectString(output.exportId),
|
|
2255
2235
|
s3Bucket: __expectString(output.s3Bucket),
|
|
2256
|
-
schemaStorageConfig: output.schemaStorageConfig != null
|
|
2257
|
-
? deserializeAws_json1_1SchemaStorageConfig(output.schemaStorageConfig, context)
|
|
2258
|
-
: undefined,
|
|
2236
|
+
schemaStorageConfig: output.schemaStorageConfig != null ? de_SchemaStorageConfig(output.schemaStorageConfig, context) : undefined,
|
|
2259
2237
|
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
2260
2238
|
};
|
|
2261
2239
|
};
|
|
2262
|
-
const
|
|
2240
|
+
const de_StartDataCollectionByAgentIdsResponse = (output, context) => {
|
|
2263
2241
|
return {
|
|
2264
2242
|
agentsConfigurationStatus: output.agentsConfigurationStatus != null
|
|
2265
|
-
?
|
|
2243
|
+
? de_AgentConfigurationStatusList(output.agentsConfigurationStatus, context)
|
|
2266
2244
|
: undefined,
|
|
2267
2245
|
};
|
|
2268
2246
|
};
|
|
2269
|
-
const
|
|
2247
|
+
const de_StartExportTaskResponse = (output, context) => {
|
|
2270
2248
|
return {
|
|
2271
2249
|
exportId: __expectString(output.exportId),
|
|
2272
2250
|
};
|
|
2273
2251
|
};
|
|
2274
|
-
const
|
|
2252
|
+
const de_StartImportTaskResponse = (output, context) => {
|
|
2275
2253
|
return {
|
|
2276
|
-
task: output.task != null ?
|
|
2254
|
+
task: output.task != null ? de_ImportTask(output.task, context) : undefined,
|
|
2277
2255
|
};
|
|
2278
2256
|
};
|
|
2279
|
-
const
|
|
2257
|
+
const de_StopContinuousExportResponse = (output, context) => {
|
|
2280
2258
|
return {
|
|
2281
2259
|
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
2282
2260
|
stopTime: output.stopTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopTime))) : undefined,
|
|
2283
2261
|
};
|
|
2284
2262
|
};
|
|
2285
|
-
const
|
|
2263
|
+
const de_StopDataCollectionByAgentIdsResponse = (output, context) => {
|
|
2286
2264
|
return {
|
|
2287
2265
|
agentsConfigurationStatus: output.agentsConfigurationStatus != null
|
|
2288
|
-
?
|
|
2266
|
+
? de_AgentConfigurationStatusList(output.agentsConfigurationStatus, context)
|
|
2289
2267
|
: undefined,
|
|
2290
2268
|
};
|
|
2291
2269
|
};
|
|
2292
|
-
const
|
|
2270
|
+
const de_UpdateApplicationResponse = (output, context) => {
|
|
2293
2271
|
return {};
|
|
2294
2272
|
};
|
|
2295
2273
|
const deserializeMetadata = (output) => ({
|