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