@aws-sdk/client-directory-service 3.310.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_json1_1.js +637 -2285
- package/dist-es/protocols/Aws_json1_1.js +638 -2286
- package/package.json +6 -6
|
@@ -8,672 +8,471 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
8
8
|
const DirectoryServiceServiceException_1 = require("../models/DirectoryServiceServiceException");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const se_AcceptSharedDirectoryCommand = async (input, context) => {
|
|
11
|
-
const headers =
|
|
12
|
-
"content-type": "application/x-amz-json-1.1",
|
|
13
|
-
"x-amz-target": "DirectoryService_20150416.AcceptSharedDirectory",
|
|
14
|
-
};
|
|
11
|
+
const headers = sharedHeaders("AcceptSharedDirectory");
|
|
15
12
|
let body;
|
|
16
|
-
body = JSON.stringify(
|
|
13
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
17
14
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
18
15
|
};
|
|
19
16
|
exports.se_AcceptSharedDirectoryCommand = se_AcceptSharedDirectoryCommand;
|
|
20
17
|
const se_AddIpRoutesCommand = async (input, context) => {
|
|
21
|
-
const headers =
|
|
22
|
-
"content-type": "application/x-amz-json-1.1",
|
|
23
|
-
"x-amz-target": "DirectoryService_20150416.AddIpRoutes",
|
|
24
|
-
};
|
|
18
|
+
const headers = sharedHeaders("AddIpRoutes");
|
|
25
19
|
let body;
|
|
26
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
27
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
22
|
};
|
|
29
23
|
exports.se_AddIpRoutesCommand = se_AddIpRoutesCommand;
|
|
30
24
|
const se_AddRegionCommand = async (input, context) => {
|
|
31
|
-
const headers =
|
|
32
|
-
"content-type": "application/x-amz-json-1.1",
|
|
33
|
-
"x-amz-target": "DirectoryService_20150416.AddRegion",
|
|
34
|
-
};
|
|
25
|
+
const headers = sharedHeaders("AddRegion");
|
|
35
26
|
let body;
|
|
36
|
-
body = JSON.stringify(
|
|
27
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
37
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
38
29
|
};
|
|
39
30
|
exports.se_AddRegionCommand = se_AddRegionCommand;
|
|
40
31
|
const se_AddTagsToResourceCommand = async (input, context) => {
|
|
41
|
-
const headers =
|
|
42
|
-
"content-type": "application/x-amz-json-1.1",
|
|
43
|
-
"x-amz-target": "DirectoryService_20150416.AddTagsToResource",
|
|
44
|
-
};
|
|
32
|
+
const headers = sharedHeaders("AddTagsToResource");
|
|
45
33
|
let body;
|
|
46
|
-
body = JSON.stringify(
|
|
34
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
47
35
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
48
36
|
};
|
|
49
37
|
exports.se_AddTagsToResourceCommand = se_AddTagsToResourceCommand;
|
|
50
38
|
const se_CancelSchemaExtensionCommand = async (input, context) => {
|
|
51
|
-
const headers =
|
|
52
|
-
"content-type": "application/x-amz-json-1.1",
|
|
53
|
-
"x-amz-target": "DirectoryService_20150416.CancelSchemaExtension",
|
|
54
|
-
};
|
|
39
|
+
const headers = sharedHeaders("CancelSchemaExtension");
|
|
55
40
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
41
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
57
42
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
43
|
};
|
|
59
44
|
exports.se_CancelSchemaExtensionCommand = se_CancelSchemaExtensionCommand;
|
|
60
45
|
const se_ConnectDirectoryCommand = async (input, context) => {
|
|
61
|
-
const headers =
|
|
62
|
-
"content-type": "application/x-amz-json-1.1",
|
|
63
|
-
"x-amz-target": "DirectoryService_20150416.ConnectDirectory",
|
|
64
|
-
};
|
|
46
|
+
const headers = sharedHeaders("ConnectDirectory");
|
|
65
47
|
let body;
|
|
66
|
-
body = JSON.stringify(
|
|
48
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
67
49
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
68
50
|
};
|
|
69
51
|
exports.se_ConnectDirectoryCommand = se_ConnectDirectoryCommand;
|
|
70
52
|
const se_CreateAliasCommand = async (input, context) => {
|
|
71
|
-
const headers =
|
|
72
|
-
"content-type": "application/x-amz-json-1.1",
|
|
73
|
-
"x-amz-target": "DirectoryService_20150416.CreateAlias",
|
|
74
|
-
};
|
|
53
|
+
const headers = sharedHeaders("CreateAlias");
|
|
75
54
|
let body;
|
|
76
|
-
body = JSON.stringify(
|
|
55
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
77
56
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
78
57
|
};
|
|
79
58
|
exports.se_CreateAliasCommand = se_CreateAliasCommand;
|
|
80
59
|
const se_CreateComputerCommand = async (input, context) => {
|
|
81
|
-
const headers =
|
|
82
|
-
"content-type": "application/x-amz-json-1.1",
|
|
83
|
-
"x-amz-target": "DirectoryService_20150416.CreateComputer",
|
|
84
|
-
};
|
|
60
|
+
const headers = sharedHeaders("CreateComputer");
|
|
85
61
|
let body;
|
|
86
|
-
body = JSON.stringify(
|
|
62
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
87
63
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
88
64
|
};
|
|
89
65
|
exports.se_CreateComputerCommand = se_CreateComputerCommand;
|
|
90
66
|
const se_CreateConditionalForwarderCommand = async (input, context) => {
|
|
91
|
-
const headers =
|
|
92
|
-
"content-type": "application/x-amz-json-1.1",
|
|
93
|
-
"x-amz-target": "DirectoryService_20150416.CreateConditionalForwarder",
|
|
94
|
-
};
|
|
67
|
+
const headers = sharedHeaders("CreateConditionalForwarder");
|
|
95
68
|
let body;
|
|
96
|
-
body = JSON.stringify(
|
|
69
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
97
70
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
98
71
|
};
|
|
99
72
|
exports.se_CreateConditionalForwarderCommand = se_CreateConditionalForwarderCommand;
|
|
100
73
|
const se_CreateDirectoryCommand = async (input, context) => {
|
|
101
|
-
const headers =
|
|
102
|
-
"content-type": "application/x-amz-json-1.1",
|
|
103
|
-
"x-amz-target": "DirectoryService_20150416.CreateDirectory",
|
|
104
|
-
};
|
|
74
|
+
const headers = sharedHeaders("CreateDirectory");
|
|
105
75
|
let body;
|
|
106
|
-
body = JSON.stringify(
|
|
76
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
107
77
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
108
78
|
};
|
|
109
79
|
exports.se_CreateDirectoryCommand = se_CreateDirectoryCommand;
|
|
110
80
|
const se_CreateLogSubscriptionCommand = async (input, context) => {
|
|
111
|
-
const headers =
|
|
112
|
-
"content-type": "application/x-amz-json-1.1",
|
|
113
|
-
"x-amz-target": "DirectoryService_20150416.CreateLogSubscription",
|
|
114
|
-
};
|
|
81
|
+
const headers = sharedHeaders("CreateLogSubscription");
|
|
115
82
|
let body;
|
|
116
|
-
body = JSON.stringify(
|
|
83
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
117
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
85
|
};
|
|
119
86
|
exports.se_CreateLogSubscriptionCommand = se_CreateLogSubscriptionCommand;
|
|
120
87
|
const se_CreateMicrosoftADCommand = async (input, context) => {
|
|
121
|
-
const headers =
|
|
122
|
-
"content-type": "application/x-amz-json-1.1",
|
|
123
|
-
"x-amz-target": "DirectoryService_20150416.CreateMicrosoftAD",
|
|
124
|
-
};
|
|
88
|
+
const headers = sharedHeaders("CreateMicrosoftAD");
|
|
125
89
|
let body;
|
|
126
|
-
body = JSON.stringify(
|
|
90
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
127
91
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
128
92
|
};
|
|
129
93
|
exports.se_CreateMicrosoftADCommand = se_CreateMicrosoftADCommand;
|
|
130
94
|
const se_CreateSnapshotCommand = async (input, context) => {
|
|
131
|
-
const headers =
|
|
132
|
-
"content-type": "application/x-amz-json-1.1",
|
|
133
|
-
"x-amz-target": "DirectoryService_20150416.CreateSnapshot",
|
|
134
|
-
};
|
|
95
|
+
const headers = sharedHeaders("CreateSnapshot");
|
|
135
96
|
let body;
|
|
136
|
-
body = JSON.stringify(
|
|
97
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
137
98
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
138
99
|
};
|
|
139
100
|
exports.se_CreateSnapshotCommand = se_CreateSnapshotCommand;
|
|
140
101
|
const se_CreateTrustCommand = async (input, context) => {
|
|
141
|
-
const headers =
|
|
142
|
-
"content-type": "application/x-amz-json-1.1",
|
|
143
|
-
"x-amz-target": "DirectoryService_20150416.CreateTrust",
|
|
144
|
-
};
|
|
102
|
+
const headers = sharedHeaders("CreateTrust");
|
|
145
103
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
147
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
106
|
};
|
|
149
107
|
exports.se_CreateTrustCommand = se_CreateTrustCommand;
|
|
150
108
|
const se_DeleteConditionalForwarderCommand = async (input, context) => {
|
|
151
|
-
const headers =
|
|
152
|
-
"content-type": "application/x-amz-json-1.1",
|
|
153
|
-
"x-amz-target": "DirectoryService_20150416.DeleteConditionalForwarder",
|
|
154
|
-
};
|
|
109
|
+
const headers = sharedHeaders("DeleteConditionalForwarder");
|
|
155
110
|
let body;
|
|
156
|
-
body = JSON.stringify(
|
|
111
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
157
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
158
113
|
};
|
|
159
114
|
exports.se_DeleteConditionalForwarderCommand = se_DeleteConditionalForwarderCommand;
|
|
160
115
|
const se_DeleteDirectoryCommand = async (input, context) => {
|
|
161
|
-
const headers =
|
|
162
|
-
"content-type": "application/x-amz-json-1.1",
|
|
163
|
-
"x-amz-target": "DirectoryService_20150416.DeleteDirectory",
|
|
164
|
-
};
|
|
116
|
+
const headers = sharedHeaders("DeleteDirectory");
|
|
165
117
|
let body;
|
|
166
|
-
body = JSON.stringify(
|
|
118
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
167
119
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
120
|
};
|
|
169
121
|
exports.se_DeleteDirectoryCommand = se_DeleteDirectoryCommand;
|
|
170
122
|
const se_DeleteLogSubscriptionCommand = async (input, context) => {
|
|
171
|
-
const headers =
|
|
172
|
-
"content-type": "application/x-amz-json-1.1",
|
|
173
|
-
"x-amz-target": "DirectoryService_20150416.DeleteLogSubscription",
|
|
174
|
-
};
|
|
123
|
+
const headers = sharedHeaders("DeleteLogSubscription");
|
|
175
124
|
let body;
|
|
176
|
-
body = JSON.stringify(
|
|
125
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
177
126
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
178
127
|
};
|
|
179
128
|
exports.se_DeleteLogSubscriptionCommand = se_DeleteLogSubscriptionCommand;
|
|
180
129
|
const se_DeleteSnapshotCommand = async (input, context) => {
|
|
181
|
-
const headers =
|
|
182
|
-
"content-type": "application/x-amz-json-1.1",
|
|
183
|
-
"x-amz-target": "DirectoryService_20150416.DeleteSnapshot",
|
|
184
|
-
};
|
|
130
|
+
const headers = sharedHeaders("DeleteSnapshot");
|
|
185
131
|
let body;
|
|
186
|
-
body = JSON.stringify(
|
|
132
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
187
133
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
188
134
|
};
|
|
189
135
|
exports.se_DeleteSnapshotCommand = se_DeleteSnapshotCommand;
|
|
190
136
|
const se_DeleteTrustCommand = async (input, context) => {
|
|
191
|
-
const headers =
|
|
192
|
-
"content-type": "application/x-amz-json-1.1",
|
|
193
|
-
"x-amz-target": "DirectoryService_20150416.DeleteTrust",
|
|
194
|
-
};
|
|
137
|
+
const headers = sharedHeaders("DeleteTrust");
|
|
195
138
|
let body;
|
|
196
|
-
body = JSON.stringify(
|
|
139
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
197
140
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
198
141
|
};
|
|
199
142
|
exports.se_DeleteTrustCommand = se_DeleteTrustCommand;
|
|
200
143
|
const se_DeregisterCertificateCommand = async (input, context) => {
|
|
201
|
-
const headers =
|
|
202
|
-
"content-type": "application/x-amz-json-1.1",
|
|
203
|
-
"x-amz-target": "DirectoryService_20150416.DeregisterCertificate",
|
|
204
|
-
};
|
|
144
|
+
const headers = sharedHeaders("DeregisterCertificate");
|
|
205
145
|
let body;
|
|
206
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
207
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
208
148
|
};
|
|
209
149
|
exports.se_DeregisterCertificateCommand = se_DeregisterCertificateCommand;
|
|
210
150
|
const se_DeregisterEventTopicCommand = async (input, context) => {
|
|
211
|
-
const headers =
|
|
212
|
-
"content-type": "application/x-amz-json-1.1",
|
|
213
|
-
"x-amz-target": "DirectoryService_20150416.DeregisterEventTopic",
|
|
214
|
-
};
|
|
151
|
+
const headers = sharedHeaders("DeregisterEventTopic");
|
|
215
152
|
let body;
|
|
216
|
-
body = JSON.stringify(
|
|
153
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
217
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
218
155
|
};
|
|
219
156
|
exports.se_DeregisterEventTopicCommand = se_DeregisterEventTopicCommand;
|
|
220
157
|
const se_DescribeCertificateCommand = async (input, context) => {
|
|
221
|
-
const headers =
|
|
222
|
-
"content-type": "application/x-amz-json-1.1",
|
|
223
|
-
"x-amz-target": "DirectoryService_20150416.DescribeCertificate",
|
|
224
|
-
};
|
|
158
|
+
const headers = sharedHeaders("DescribeCertificate");
|
|
225
159
|
let body;
|
|
226
|
-
body = JSON.stringify(
|
|
160
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
227
161
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
228
162
|
};
|
|
229
163
|
exports.se_DescribeCertificateCommand = se_DescribeCertificateCommand;
|
|
230
164
|
const se_DescribeClientAuthenticationSettingsCommand = async (input, context) => {
|
|
231
|
-
const headers =
|
|
232
|
-
"content-type": "application/x-amz-json-1.1",
|
|
233
|
-
"x-amz-target": "DirectoryService_20150416.DescribeClientAuthenticationSettings",
|
|
234
|
-
};
|
|
165
|
+
const headers = sharedHeaders("DescribeClientAuthenticationSettings");
|
|
235
166
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
167
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
237
168
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
169
|
};
|
|
239
170
|
exports.se_DescribeClientAuthenticationSettingsCommand = se_DescribeClientAuthenticationSettingsCommand;
|
|
240
171
|
const se_DescribeConditionalForwardersCommand = async (input, context) => {
|
|
241
|
-
const headers =
|
|
242
|
-
"content-type": "application/x-amz-json-1.1",
|
|
243
|
-
"x-amz-target": "DirectoryService_20150416.DescribeConditionalForwarders",
|
|
244
|
-
};
|
|
172
|
+
const headers = sharedHeaders("DescribeConditionalForwarders");
|
|
245
173
|
let body;
|
|
246
|
-
body = JSON.stringify(
|
|
174
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
247
175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
248
176
|
};
|
|
249
177
|
exports.se_DescribeConditionalForwardersCommand = se_DescribeConditionalForwardersCommand;
|
|
250
178
|
const se_DescribeDirectoriesCommand = async (input, context) => {
|
|
251
|
-
const headers =
|
|
252
|
-
"content-type": "application/x-amz-json-1.1",
|
|
253
|
-
"x-amz-target": "DirectoryService_20150416.DescribeDirectories",
|
|
254
|
-
};
|
|
179
|
+
const headers = sharedHeaders("DescribeDirectories");
|
|
255
180
|
let body;
|
|
256
|
-
body = JSON.stringify(
|
|
181
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
257
182
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
258
183
|
};
|
|
259
184
|
exports.se_DescribeDirectoriesCommand = se_DescribeDirectoriesCommand;
|
|
260
185
|
const se_DescribeDomainControllersCommand = async (input, context) => {
|
|
261
|
-
const headers =
|
|
262
|
-
"content-type": "application/x-amz-json-1.1",
|
|
263
|
-
"x-amz-target": "DirectoryService_20150416.DescribeDomainControllers",
|
|
264
|
-
};
|
|
186
|
+
const headers = sharedHeaders("DescribeDomainControllers");
|
|
265
187
|
let body;
|
|
266
|
-
body = JSON.stringify(
|
|
188
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
267
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
268
190
|
};
|
|
269
191
|
exports.se_DescribeDomainControllersCommand = se_DescribeDomainControllersCommand;
|
|
270
192
|
const se_DescribeEventTopicsCommand = async (input, context) => {
|
|
271
|
-
const headers =
|
|
272
|
-
"content-type": "application/x-amz-json-1.1",
|
|
273
|
-
"x-amz-target": "DirectoryService_20150416.DescribeEventTopics",
|
|
274
|
-
};
|
|
193
|
+
const headers = sharedHeaders("DescribeEventTopics");
|
|
275
194
|
let body;
|
|
276
|
-
body = JSON.stringify(
|
|
195
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
277
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
278
197
|
};
|
|
279
198
|
exports.se_DescribeEventTopicsCommand = se_DescribeEventTopicsCommand;
|
|
280
199
|
const se_DescribeLDAPSSettingsCommand = async (input, context) => {
|
|
281
|
-
const headers =
|
|
282
|
-
"content-type": "application/x-amz-json-1.1",
|
|
283
|
-
"x-amz-target": "DirectoryService_20150416.DescribeLDAPSSettings",
|
|
284
|
-
};
|
|
200
|
+
const headers = sharedHeaders("DescribeLDAPSSettings");
|
|
285
201
|
let body;
|
|
286
|
-
body = JSON.stringify(
|
|
202
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
287
203
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
288
204
|
};
|
|
289
205
|
exports.se_DescribeLDAPSSettingsCommand = se_DescribeLDAPSSettingsCommand;
|
|
290
206
|
const se_DescribeRegionsCommand = async (input, context) => {
|
|
291
|
-
const headers =
|
|
292
|
-
"content-type": "application/x-amz-json-1.1",
|
|
293
|
-
"x-amz-target": "DirectoryService_20150416.DescribeRegions",
|
|
294
|
-
};
|
|
207
|
+
const headers = sharedHeaders("DescribeRegions");
|
|
295
208
|
let body;
|
|
296
|
-
body = JSON.stringify(
|
|
209
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
297
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
298
211
|
};
|
|
299
212
|
exports.se_DescribeRegionsCommand = se_DescribeRegionsCommand;
|
|
300
213
|
const se_DescribeSettingsCommand = async (input, context) => {
|
|
301
|
-
const headers =
|
|
302
|
-
"content-type": "application/x-amz-json-1.1",
|
|
303
|
-
"x-amz-target": "DirectoryService_20150416.DescribeSettings",
|
|
304
|
-
};
|
|
214
|
+
const headers = sharedHeaders("DescribeSettings");
|
|
305
215
|
let body;
|
|
306
|
-
body = JSON.stringify(
|
|
216
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
307
217
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
308
218
|
};
|
|
309
219
|
exports.se_DescribeSettingsCommand = se_DescribeSettingsCommand;
|
|
310
220
|
const se_DescribeSharedDirectoriesCommand = async (input, context) => {
|
|
311
|
-
const headers =
|
|
312
|
-
"content-type": "application/x-amz-json-1.1",
|
|
313
|
-
"x-amz-target": "DirectoryService_20150416.DescribeSharedDirectories",
|
|
314
|
-
};
|
|
221
|
+
const headers = sharedHeaders("DescribeSharedDirectories");
|
|
315
222
|
let body;
|
|
316
|
-
body = JSON.stringify(
|
|
223
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
317
224
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
318
225
|
};
|
|
319
226
|
exports.se_DescribeSharedDirectoriesCommand = se_DescribeSharedDirectoriesCommand;
|
|
320
227
|
const se_DescribeSnapshotsCommand = async (input, context) => {
|
|
321
|
-
const headers =
|
|
322
|
-
"content-type": "application/x-amz-json-1.1",
|
|
323
|
-
"x-amz-target": "DirectoryService_20150416.DescribeSnapshots",
|
|
324
|
-
};
|
|
228
|
+
const headers = sharedHeaders("DescribeSnapshots");
|
|
325
229
|
let body;
|
|
326
|
-
body = JSON.stringify(
|
|
230
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
327
231
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
328
232
|
};
|
|
329
233
|
exports.se_DescribeSnapshotsCommand = se_DescribeSnapshotsCommand;
|
|
330
234
|
const se_DescribeTrustsCommand = async (input, context) => {
|
|
331
|
-
const headers =
|
|
332
|
-
"content-type": "application/x-amz-json-1.1",
|
|
333
|
-
"x-amz-target": "DirectoryService_20150416.DescribeTrusts",
|
|
334
|
-
};
|
|
235
|
+
const headers = sharedHeaders("DescribeTrusts");
|
|
335
236
|
let body;
|
|
336
|
-
body = JSON.stringify(
|
|
237
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
337
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
338
239
|
};
|
|
339
240
|
exports.se_DescribeTrustsCommand = se_DescribeTrustsCommand;
|
|
340
241
|
const se_DescribeUpdateDirectoryCommand = async (input, context) => {
|
|
341
|
-
const headers =
|
|
342
|
-
"content-type": "application/x-amz-json-1.1",
|
|
343
|
-
"x-amz-target": "DirectoryService_20150416.DescribeUpdateDirectory",
|
|
344
|
-
};
|
|
242
|
+
const headers = sharedHeaders("DescribeUpdateDirectory");
|
|
345
243
|
let body;
|
|
346
|
-
body = JSON.stringify(
|
|
244
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
347
245
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
348
246
|
};
|
|
349
247
|
exports.se_DescribeUpdateDirectoryCommand = se_DescribeUpdateDirectoryCommand;
|
|
350
248
|
const se_DisableClientAuthenticationCommand = async (input, context) => {
|
|
351
|
-
const headers =
|
|
352
|
-
"content-type": "application/x-amz-json-1.1",
|
|
353
|
-
"x-amz-target": "DirectoryService_20150416.DisableClientAuthentication",
|
|
354
|
-
};
|
|
249
|
+
const headers = sharedHeaders("DisableClientAuthentication");
|
|
355
250
|
let body;
|
|
356
|
-
body = JSON.stringify(
|
|
251
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
357
252
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
358
253
|
};
|
|
359
254
|
exports.se_DisableClientAuthenticationCommand = se_DisableClientAuthenticationCommand;
|
|
360
255
|
const se_DisableLDAPSCommand = async (input, context) => {
|
|
361
|
-
const headers =
|
|
362
|
-
"content-type": "application/x-amz-json-1.1",
|
|
363
|
-
"x-amz-target": "DirectoryService_20150416.DisableLDAPS",
|
|
364
|
-
};
|
|
256
|
+
const headers = sharedHeaders("DisableLDAPS");
|
|
365
257
|
let body;
|
|
366
|
-
body = JSON.stringify(
|
|
258
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
367
259
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
368
260
|
};
|
|
369
261
|
exports.se_DisableLDAPSCommand = se_DisableLDAPSCommand;
|
|
370
262
|
const se_DisableRadiusCommand = async (input, context) => {
|
|
371
|
-
const headers =
|
|
372
|
-
"content-type": "application/x-amz-json-1.1",
|
|
373
|
-
"x-amz-target": "DirectoryService_20150416.DisableRadius",
|
|
374
|
-
};
|
|
263
|
+
const headers = sharedHeaders("DisableRadius");
|
|
375
264
|
let body;
|
|
376
|
-
body = JSON.stringify(
|
|
265
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
377
266
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
378
267
|
};
|
|
379
268
|
exports.se_DisableRadiusCommand = se_DisableRadiusCommand;
|
|
380
269
|
const se_DisableSsoCommand = async (input, context) => {
|
|
381
|
-
const headers =
|
|
382
|
-
"content-type": "application/x-amz-json-1.1",
|
|
383
|
-
"x-amz-target": "DirectoryService_20150416.DisableSso",
|
|
384
|
-
};
|
|
270
|
+
const headers = sharedHeaders("DisableSso");
|
|
385
271
|
let body;
|
|
386
|
-
body = JSON.stringify(
|
|
272
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
387
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
388
274
|
};
|
|
389
275
|
exports.se_DisableSsoCommand = se_DisableSsoCommand;
|
|
390
276
|
const se_EnableClientAuthenticationCommand = async (input, context) => {
|
|
391
|
-
const headers =
|
|
392
|
-
"content-type": "application/x-amz-json-1.1",
|
|
393
|
-
"x-amz-target": "DirectoryService_20150416.EnableClientAuthentication",
|
|
394
|
-
};
|
|
277
|
+
const headers = sharedHeaders("EnableClientAuthentication");
|
|
395
278
|
let body;
|
|
396
|
-
body = JSON.stringify(
|
|
279
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
397
280
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
398
281
|
};
|
|
399
282
|
exports.se_EnableClientAuthenticationCommand = se_EnableClientAuthenticationCommand;
|
|
400
283
|
const se_EnableLDAPSCommand = async (input, context) => {
|
|
401
|
-
const headers =
|
|
402
|
-
"content-type": "application/x-amz-json-1.1",
|
|
403
|
-
"x-amz-target": "DirectoryService_20150416.EnableLDAPS",
|
|
404
|
-
};
|
|
284
|
+
const headers = sharedHeaders("EnableLDAPS");
|
|
405
285
|
let body;
|
|
406
|
-
body = JSON.stringify(
|
|
286
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
407
287
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
408
288
|
};
|
|
409
289
|
exports.se_EnableLDAPSCommand = se_EnableLDAPSCommand;
|
|
410
290
|
const se_EnableRadiusCommand = async (input, context) => {
|
|
411
|
-
const headers =
|
|
412
|
-
"content-type": "application/x-amz-json-1.1",
|
|
413
|
-
"x-amz-target": "DirectoryService_20150416.EnableRadius",
|
|
414
|
-
};
|
|
291
|
+
const headers = sharedHeaders("EnableRadius");
|
|
415
292
|
let body;
|
|
416
|
-
body = JSON.stringify(
|
|
293
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
417
294
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
418
295
|
};
|
|
419
296
|
exports.se_EnableRadiusCommand = se_EnableRadiusCommand;
|
|
420
297
|
const se_EnableSsoCommand = async (input, context) => {
|
|
421
|
-
const headers =
|
|
422
|
-
"content-type": "application/x-amz-json-1.1",
|
|
423
|
-
"x-amz-target": "DirectoryService_20150416.EnableSso",
|
|
424
|
-
};
|
|
298
|
+
const headers = sharedHeaders("EnableSso");
|
|
425
299
|
let body;
|
|
426
|
-
body = JSON.stringify(
|
|
300
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
427
301
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
428
302
|
};
|
|
429
303
|
exports.se_EnableSsoCommand = se_EnableSsoCommand;
|
|
430
304
|
const se_GetDirectoryLimitsCommand = async (input, context) => {
|
|
431
|
-
const headers =
|
|
432
|
-
"content-type": "application/x-amz-json-1.1",
|
|
433
|
-
"x-amz-target": "DirectoryService_20150416.GetDirectoryLimits",
|
|
434
|
-
};
|
|
305
|
+
const headers = sharedHeaders("GetDirectoryLimits");
|
|
435
306
|
let body;
|
|
436
|
-
body = JSON.stringify(
|
|
307
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
437
308
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
438
309
|
};
|
|
439
310
|
exports.se_GetDirectoryLimitsCommand = se_GetDirectoryLimitsCommand;
|
|
440
311
|
const se_GetSnapshotLimitsCommand = async (input, context) => {
|
|
441
|
-
const headers =
|
|
442
|
-
"content-type": "application/x-amz-json-1.1",
|
|
443
|
-
"x-amz-target": "DirectoryService_20150416.GetSnapshotLimits",
|
|
444
|
-
};
|
|
312
|
+
const headers = sharedHeaders("GetSnapshotLimits");
|
|
445
313
|
let body;
|
|
446
|
-
body = JSON.stringify(
|
|
314
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
447
315
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
448
316
|
};
|
|
449
317
|
exports.se_GetSnapshotLimitsCommand = se_GetSnapshotLimitsCommand;
|
|
450
318
|
const se_ListCertificatesCommand = async (input, context) => {
|
|
451
|
-
const headers =
|
|
452
|
-
"content-type": "application/x-amz-json-1.1",
|
|
453
|
-
"x-amz-target": "DirectoryService_20150416.ListCertificates",
|
|
454
|
-
};
|
|
319
|
+
const headers = sharedHeaders("ListCertificates");
|
|
455
320
|
let body;
|
|
456
|
-
body = JSON.stringify(
|
|
321
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
457
322
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
458
323
|
};
|
|
459
324
|
exports.se_ListCertificatesCommand = se_ListCertificatesCommand;
|
|
460
325
|
const se_ListIpRoutesCommand = async (input, context) => {
|
|
461
|
-
const headers =
|
|
462
|
-
"content-type": "application/x-amz-json-1.1",
|
|
463
|
-
"x-amz-target": "DirectoryService_20150416.ListIpRoutes",
|
|
464
|
-
};
|
|
326
|
+
const headers = sharedHeaders("ListIpRoutes");
|
|
465
327
|
let body;
|
|
466
|
-
body = JSON.stringify(
|
|
328
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
467
329
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
468
330
|
};
|
|
469
331
|
exports.se_ListIpRoutesCommand = se_ListIpRoutesCommand;
|
|
470
332
|
const se_ListLogSubscriptionsCommand = async (input, context) => {
|
|
471
|
-
const headers =
|
|
472
|
-
"content-type": "application/x-amz-json-1.1",
|
|
473
|
-
"x-amz-target": "DirectoryService_20150416.ListLogSubscriptions",
|
|
474
|
-
};
|
|
333
|
+
const headers = sharedHeaders("ListLogSubscriptions");
|
|
475
334
|
let body;
|
|
476
|
-
body = JSON.stringify(
|
|
335
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
477
336
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
478
337
|
};
|
|
479
338
|
exports.se_ListLogSubscriptionsCommand = se_ListLogSubscriptionsCommand;
|
|
480
339
|
const se_ListSchemaExtensionsCommand = async (input, context) => {
|
|
481
|
-
const headers =
|
|
482
|
-
"content-type": "application/x-amz-json-1.1",
|
|
483
|
-
"x-amz-target": "DirectoryService_20150416.ListSchemaExtensions",
|
|
484
|
-
};
|
|
340
|
+
const headers = sharedHeaders("ListSchemaExtensions");
|
|
485
341
|
let body;
|
|
486
|
-
body = JSON.stringify(
|
|
342
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
487
343
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
488
344
|
};
|
|
489
345
|
exports.se_ListSchemaExtensionsCommand = se_ListSchemaExtensionsCommand;
|
|
490
346
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
491
|
-
const headers =
|
|
492
|
-
"content-type": "application/x-amz-json-1.1",
|
|
493
|
-
"x-amz-target": "DirectoryService_20150416.ListTagsForResource",
|
|
494
|
-
};
|
|
347
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
495
348
|
let body;
|
|
496
|
-
body = JSON.stringify(
|
|
349
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
497
350
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
498
351
|
};
|
|
499
352
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
500
353
|
const se_RegisterCertificateCommand = async (input, context) => {
|
|
501
|
-
const headers =
|
|
502
|
-
"content-type": "application/x-amz-json-1.1",
|
|
503
|
-
"x-amz-target": "DirectoryService_20150416.RegisterCertificate",
|
|
504
|
-
};
|
|
354
|
+
const headers = sharedHeaders("RegisterCertificate");
|
|
505
355
|
let body;
|
|
506
|
-
body = JSON.stringify(
|
|
356
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
507
357
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
508
358
|
};
|
|
509
359
|
exports.se_RegisterCertificateCommand = se_RegisterCertificateCommand;
|
|
510
360
|
const se_RegisterEventTopicCommand = async (input, context) => {
|
|
511
|
-
const headers =
|
|
512
|
-
"content-type": "application/x-amz-json-1.1",
|
|
513
|
-
"x-amz-target": "DirectoryService_20150416.RegisterEventTopic",
|
|
514
|
-
};
|
|
361
|
+
const headers = sharedHeaders("RegisterEventTopic");
|
|
515
362
|
let body;
|
|
516
|
-
body = JSON.stringify(
|
|
363
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
517
364
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
518
365
|
};
|
|
519
366
|
exports.se_RegisterEventTopicCommand = se_RegisterEventTopicCommand;
|
|
520
367
|
const se_RejectSharedDirectoryCommand = async (input, context) => {
|
|
521
|
-
const headers =
|
|
522
|
-
"content-type": "application/x-amz-json-1.1",
|
|
523
|
-
"x-amz-target": "DirectoryService_20150416.RejectSharedDirectory",
|
|
524
|
-
};
|
|
368
|
+
const headers = sharedHeaders("RejectSharedDirectory");
|
|
525
369
|
let body;
|
|
526
|
-
body = JSON.stringify(
|
|
370
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
527
371
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
528
372
|
};
|
|
529
373
|
exports.se_RejectSharedDirectoryCommand = se_RejectSharedDirectoryCommand;
|
|
530
374
|
const se_RemoveIpRoutesCommand = async (input, context) => {
|
|
531
|
-
const headers =
|
|
532
|
-
"content-type": "application/x-amz-json-1.1",
|
|
533
|
-
"x-amz-target": "DirectoryService_20150416.RemoveIpRoutes",
|
|
534
|
-
};
|
|
375
|
+
const headers = sharedHeaders("RemoveIpRoutes");
|
|
535
376
|
let body;
|
|
536
|
-
body = JSON.stringify(
|
|
377
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
537
378
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
538
379
|
};
|
|
539
380
|
exports.se_RemoveIpRoutesCommand = se_RemoveIpRoutesCommand;
|
|
540
381
|
const se_RemoveRegionCommand = async (input, context) => {
|
|
541
|
-
const headers =
|
|
542
|
-
"content-type": "application/x-amz-json-1.1",
|
|
543
|
-
"x-amz-target": "DirectoryService_20150416.RemoveRegion",
|
|
544
|
-
};
|
|
382
|
+
const headers = sharedHeaders("RemoveRegion");
|
|
545
383
|
let body;
|
|
546
|
-
body = JSON.stringify(
|
|
384
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
547
385
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
548
386
|
};
|
|
549
387
|
exports.se_RemoveRegionCommand = se_RemoveRegionCommand;
|
|
550
388
|
const se_RemoveTagsFromResourceCommand = async (input, context) => {
|
|
551
|
-
const headers =
|
|
552
|
-
"content-type": "application/x-amz-json-1.1",
|
|
553
|
-
"x-amz-target": "DirectoryService_20150416.RemoveTagsFromResource",
|
|
554
|
-
};
|
|
389
|
+
const headers = sharedHeaders("RemoveTagsFromResource");
|
|
555
390
|
let body;
|
|
556
|
-
body = JSON.stringify(
|
|
391
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
557
392
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
558
393
|
};
|
|
559
394
|
exports.se_RemoveTagsFromResourceCommand = se_RemoveTagsFromResourceCommand;
|
|
560
395
|
const se_ResetUserPasswordCommand = async (input, context) => {
|
|
561
|
-
const headers =
|
|
562
|
-
"content-type": "application/x-amz-json-1.1",
|
|
563
|
-
"x-amz-target": "DirectoryService_20150416.ResetUserPassword",
|
|
564
|
-
};
|
|
396
|
+
const headers = sharedHeaders("ResetUserPassword");
|
|
565
397
|
let body;
|
|
566
|
-
body = JSON.stringify(
|
|
398
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
567
399
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
568
400
|
};
|
|
569
401
|
exports.se_ResetUserPasswordCommand = se_ResetUserPasswordCommand;
|
|
570
402
|
const se_RestoreFromSnapshotCommand = async (input, context) => {
|
|
571
|
-
const headers =
|
|
572
|
-
"content-type": "application/x-amz-json-1.1",
|
|
573
|
-
"x-amz-target": "DirectoryService_20150416.RestoreFromSnapshot",
|
|
574
|
-
};
|
|
403
|
+
const headers = sharedHeaders("RestoreFromSnapshot");
|
|
575
404
|
let body;
|
|
576
|
-
body = JSON.stringify(
|
|
405
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
577
406
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
578
407
|
};
|
|
579
408
|
exports.se_RestoreFromSnapshotCommand = se_RestoreFromSnapshotCommand;
|
|
580
409
|
const se_ShareDirectoryCommand = async (input, context) => {
|
|
581
|
-
const headers =
|
|
582
|
-
"content-type": "application/x-amz-json-1.1",
|
|
583
|
-
"x-amz-target": "DirectoryService_20150416.ShareDirectory",
|
|
584
|
-
};
|
|
410
|
+
const headers = sharedHeaders("ShareDirectory");
|
|
585
411
|
let body;
|
|
586
|
-
body = JSON.stringify(
|
|
412
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
587
413
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
588
414
|
};
|
|
589
415
|
exports.se_ShareDirectoryCommand = se_ShareDirectoryCommand;
|
|
590
416
|
const se_StartSchemaExtensionCommand = async (input, context) => {
|
|
591
|
-
const headers =
|
|
592
|
-
"content-type": "application/x-amz-json-1.1",
|
|
593
|
-
"x-amz-target": "DirectoryService_20150416.StartSchemaExtension",
|
|
594
|
-
};
|
|
417
|
+
const headers = sharedHeaders("StartSchemaExtension");
|
|
595
418
|
let body;
|
|
596
|
-
body = JSON.stringify(
|
|
419
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
597
420
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
598
421
|
};
|
|
599
422
|
exports.se_StartSchemaExtensionCommand = se_StartSchemaExtensionCommand;
|
|
600
423
|
const se_UnshareDirectoryCommand = async (input, context) => {
|
|
601
|
-
const headers =
|
|
602
|
-
"content-type": "application/x-amz-json-1.1",
|
|
603
|
-
"x-amz-target": "DirectoryService_20150416.UnshareDirectory",
|
|
604
|
-
};
|
|
424
|
+
const headers = sharedHeaders("UnshareDirectory");
|
|
605
425
|
let body;
|
|
606
|
-
body = JSON.stringify(
|
|
426
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
607
427
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
608
428
|
};
|
|
609
429
|
exports.se_UnshareDirectoryCommand = se_UnshareDirectoryCommand;
|
|
610
430
|
const se_UpdateConditionalForwarderCommand = async (input, context) => {
|
|
611
|
-
const headers =
|
|
612
|
-
"content-type": "application/x-amz-json-1.1",
|
|
613
|
-
"x-amz-target": "DirectoryService_20150416.UpdateConditionalForwarder",
|
|
614
|
-
};
|
|
431
|
+
const headers = sharedHeaders("UpdateConditionalForwarder");
|
|
615
432
|
let body;
|
|
616
|
-
body = JSON.stringify(
|
|
433
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
617
434
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
618
435
|
};
|
|
619
436
|
exports.se_UpdateConditionalForwarderCommand = se_UpdateConditionalForwarderCommand;
|
|
620
437
|
const se_UpdateDirectorySetupCommand = async (input, context) => {
|
|
621
|
-
const headers =
|
|
622
|
-
"content-type": "application/x-amz-json-1.1",
|
|
623
|
-
"x-amz-target": "DirectoryService_20150416.UpdateDirectorySetup",
|
|
624
|
-
};
|
|
438
|
+
const headers = sharedHeaders("UpdateDirectorySetup");
|
|
625
439
|
let body;
|
|
626
|
-
body = JSON.stringify(
|
|
440
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
627
441
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
628
442
|
};
|
|
629
443
|
exports.se_UpdateDirectorySetupCommand = se_UpdateDirectorySetupCommand;
|
|
630
444
|
const se_UpdateNumberOfDomainControllersCommand = async (input, context) => {
|
|
631
|
-
const headers =
|
|
632
|
-
"content-type": "application/x-amz-json-1.1",
|
|
633
|
-
"x-amz-target": "DirectoryService_20150416.UpdateNumberOfDomainControllers",
|
|
634
|
-
};
|
|
445
|
+
const headers = sharedHeaders("UpdateNumberOfDomainControllers");
|
|
635
446
|
let body;
|
|
636
|
-
body = JSON.stringify(
|
|
447
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
637
448
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
638
449
|
};
|
|
639
450
|
exports.se_UpdateNumberOfDomainControllersCommand = se_UpdateNumberOfDomainControllersCommand;
|
|
640
451
|
const se_UpdateRadiusCommand = async (input, context) => {
|
|
641
|
-
const headers =
|
|
642
|
-
"content-type": "application/x-amz-json-1.1",
|
|
643
|
-
"x-amz-target": "DirectoryService_20150416.UpdateRadius",
|
|
644
|
-
};
|
|
452
|
+
const headers = sharedHeaders("UpdateRadius");
|
|
645
453
|
let body;
|
|
646
|
-
body = JSON.stringify(
|
|
454
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
647
455
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
648
456
|
};
|
|
649
457
|
exports.se_UpdateRadiusCommand = se_UpdateRadiusCommand;
|
|
650
458
|
const se_UpdateSettingsCommand = async (input, context) => {
|
|
651
|
-
const headers =
|
|
652
|
-
"content-type": "application/x-amz-json-1.1",
|
|
653
|
-
"x-amz-target": "DirectoryService_20150416.UpdateSettings",
|
|
654
|
-
};
|
|
459
|
+
const headers = sharedHeaders("UpdateSettings");
|
|
655
460
|
let body;
|
|
656
|
-
body = JSON.stringify(
|
|
461
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
657
462
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
658
463
|
};
|
|
659
464
|
exports.se_UpdateSettingsCommand = se_UpdateSettingsCommand;
|
|
660
465
|
const se_UpdateTrustCommand = async (input, context) => {
|
|
661
|
-
const headers =
|
|
662
|
-
"content-type": "application/x-amz-json-1.1",
|
|
663
|
-
"x-amz-target": "DirectoryService_20150416.UpdateTrust",
|
|
664
|
-
};
|
|
466
|
+
const headers = sharedHeaders("UpdateTrust");
|
|
665
467
|
let body;
|
|
666
|
-
body = JSON.stringify(
|
|
468
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
667
469
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
668
470
|
};
|
|
669
471
|
exports.se_UpdateTrustCommand = se_UpdateTrustCommand;
|
|
670
472
|
const se_VerifyTrustCommand = async (input, context) => {
|
|
671
|
-
const headers =
|
|
672
|
-
"content-type": "application/x-amz-json-1.1",
|
|
673
|
-
"x-amz-target": "DirectoryService_20150416.VerifyTrust",
|
|
674
|
-
};
|
|
473
|
+
const headers = sharedHeaders("VerifyTrust");
|
|
675
474
|
let body;
|
|
676
|
-
body = JSON.stringify(
|
|
475
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
677
476
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
678
477
|
};
|
|
679
478
|
exports.se_VerifyTrustCommand = se_VerifyTrustCommand;
|
|
@@ -688,7 +487,7 @@ const de_AcceptSharedDirectoryCommand = async (output, context) => {
|
|
|
688
487
|
$metadata: deserializeMetadata(output),
|
|
689
488
|
...contents,
|
|
690
489
|
};
|
|
691
|
-
return
|
|
490
|
+
return response;
|
|
692
491
|
};
|
|
693
492
|
exports.de_AcceptSharedDirectoryCommand = de_AcceptSharedDirectoryCommand;
|
|
694
493
|
const de_AcceptSharedDirectoryCommandError = async (output, context) => {
|
|
@@ -715,10 +514,9 @@ const de_AcceptSharedDirectoryCommandError = async (output, context) => {
|
|
|
715
514
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
716
515
|
default:
|
|
717
516
|
const parsedBody = parsedOutput.body;
|
|
718
|
-
|
|
517
|
+
return throwDefaultError({
|
|
719
518
|
output,
|
|
720
519
|
parsedBody,
|
|
721
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
722
520
|
errorCode,
|
|
723
521
|
});
|
|
724
522
|
}
|
|
@@ -729,12 +527,12 @@ const de_AddIpRoutesCommand = async (output, context) => {
|
|
|
729
527
|
}
|
|
730
528
|
const data = await parseBody(output.body, context);
|
|
731
529
|
let contents = {};
|
|
732
|
-
contents =
|
|
530
|
+
contents = (0, smithy_client_1._json)(data);
|
|
733
531
|
const response = {
|
|
734
532
|
$metadata: deserializeMetadata(output),
|
|
735
533
|
...contents,
|
|
736
534
|
};
|
|
737
|
-
return
|
|
535
|
+
return response;
|
|
738
536
|
};
|
|
739
537
|
exports.de_AddIpRoutesCommand = de_AddIpRoutesCommand;
|
|
740
538
|
const de_AddIpRoutesCommandError = async (output, context) => {
|
|
@@ -767,10 +565,9 @@ const de_AddIpRoutesCommandError = async (output, context) => {
|
|
|
767
565
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
768
566
|
default:
|
|
769
567
|
const parsedBody = parsedOutput.body;
|
|
770
|
-
|
|
568
|
+
return throwDefaultError({
|
|
771
569
|
output,
|
|
772
570
|
parsedBody,
|
|
773
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
774
571
|
errorCode,
|
|
775
572
|
});
|
|
776
573
|
}
|
|
@@ -781,12 +578,12 @@ const de_AddRegionCommand = async (output, context) => {
|
|
|
781
578
|
}
|
|
782
579
|
const data = await parseBody(output.body, context);
|
|
783
580
|
let contents = {};
|
|
784
|
-
contents =
|
|
581
|
+
contents = (0, smithy_client_1._json)(data);
|
|
785
582
|
const response = {
|
|
786
583
|
$metadata: deserializeMetadata(output),
|
|
787
584
|
...contents,
|
|
788
585
|
};
|
|
789
|
-
return
|
|
586
|
+
return response;
|
|
790
587
|
};
|
|
791
588
|
exports.de_AddRegionCommand = de_AddRegionCommand;
|
|
792
589
|
const de_AddRegionCommandError = async (output, context) => {
|
|
@@ -828,10 +625,9 @@ const de_AddRegionCommandError = async (output, context) => {
|
|
|
828
625
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
829
626
|
default:
|
|
830
627
|
const parsedBody = parsedOutput.body;
|
|
831
|
-
|
|
628
|
+
return throwDefaultError({
|
|
832
629
|
output,
|
|
833
630
|
parsedBody,
|
|
834
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
835
631
|
errorCode,
|
|
836
632
|
});
|
|
837
633
|
}
|
|
@@ -842,12 +638,12 @@ const de_AddTagsToResourceCommand = async (output, context) => {
|
|
|
842
638
|
}
|
|
843
639
|
const data = await parseBody(output.body, context);
|
|
844
640
|
let contents = {};
|
|
845
|
-
contents =
|
|
641
|
+
contents = (0, smithy_client_1._json)(data);
|
|
846
642
|
const response = {
|
|
847
643
|
$metadata: deserializeMetadata(output),
|
|
848
644
|
...contents,
|
|
849
645
|
};
|
|
850
|
-
return
|
|
646
|
+
return response;
|
|
851
647
|
};
|
|
852
648
|
exports.de_AddTagsToResourceCommand = de_AddTagsToResourceCommand;
|
|
853
649
|
const de_AddTagsToResourceCommandError = async (output, context) => {
|
|
@@ -874,10 +670,9 @@ const de_AddTagsToResourceCommandError = async (output, context) => {
|
|
|
874
670
|
throw await de_TagLimitExceededExceptionRes(parsedOutput, context);
|
|
875
671
|
default:
|
|
876
672
|
const parsedBody = parsedOutput.body;
|
|
877
|
-
|
|
673
|
+
return throwDefaultError({
|
|
878
674
|
output,
|
|
879
675
|
parsedBody,
|
|
880
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
881
676
|
errorCode,
|
|
882
677
|
});
|
|
883
678
|
}
|
|
@@ -888,12 +683,12 @@ const de_CancelSchemaExtensionCommand = async (output, context) => {
|
|
|
888
683
|
}
|
|
889
684
|
const data = await parseBody(output.body, context);
|
|
890
685
|
let contents = {};
|
|
891
|
-
contents =
|
|
686
|
+
contents = (0, smithy_client_1._json)(data);
|
|
892
687
|
const response = {
|
|
893
688
|
$metadata: deserializeMetadata(output),
|
|
894
689
|
...contents,
|
|
895
690
|
};
|
|
896
|
-
return
|
|
691
|
+
return response;
|
|
897
692
|
};
|
|
898
693
|
exports.de_CancelSchemaExtensionCommand = de_CancelSchemaExtensionCommand;
|
|
899
694
|
const de_CancelSchemaExtensionCommandError = async (output, context) => {
|
|
@@ -914,10 +709,9 @@ const de_CancelSchemaExtensionCommandError = async (output, context) => {
|
|
|
914
709
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
915
710
|
default:
|
|
916
711
|
const parsedBody = parsedOutput.body;
|
|
917
|
-
|
|
712
|
+
return throwDefaultError({
|
|
918
713
|
output,
|
|
919
714
|
parsedBody,
|
|
920
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
921
715
|
errorCode,
|
|
922
716
|
});
|
|
923
717
|
}
|
|
@@ -928,12 +722,12 @@ const de_ConnectDirectoryCommand = async (output, context) => {
|
|
|
928
722
|
}
|
|
929
723
|
const data = await parseBody(output.body, context);
|
|
930
724
|
let contents = {};
|
|
931
|
-
contents =
|
|
725
|
+
contents = (0, smithy_client_1._json)(data);
|
|
932
726
|
const response = {
|
|
933
727
|
$metadata: deserializeMetadata(output),
|
|
934
728
|
...contents,
|
|
935
729
|
};
|
|
936
|
-
return
|
|
730
|
+
return response;
|
|
937
731
|
};
|
|
938
732
|
exports.de_ConnectDirectoryCommand = de_ConnectDirectoryCommand;
|
|
939
733
|
const de_ConnectDirectoryCommandError = async (output, context) => {
|
|
@@ -957,10 +751,9 @@ const de_ConnectDirectoryCommandError = async (output, context) => {
|
|
|
957
751
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
958
752
|
default:
|
|
959
753
|
const parsedBody = parsedOutput.body;
|
|
960
|
-
|
|
754
|
+
return throwDefaultError({
|
|
961
755
|
output,
|
|
962
756
|
parsedBody,
|
|
963
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
964
757
|
errorCode,
|
|
965
758
|
});
|
|
966
759
|
}
|
|
@@ -971,12 +764,12 @@ const de_CreateAliasCommand = async (output, context) => {
|
|
|
971
764
|
}
|
|
972
765
|
const data = await parseBody(output.body, context);
|
|
973
766
|
let contents = {};
|
|
974
|
-
contents =
|
|
767
|
+
contents = (0, smithy_client_1._json)(data);
|
|
975
768
|
const response = {
|
|
976
769
|
$metadata: deserializeMetadata(output),
|
|
977
770
|
...contents,
|
|
978
771
|
};
|
|
979
|
-
return
|
|
772
|
+
return response;
|
|
980
773
|
};
|
|
981
774
|
exports.de_CreateAliasCommand = de_CreateAliasCommand;
|
|
982
775
|
const de_CreateAliasCommandError = async (output, context) => {
|
|
@@ -1003,10 +796,9 @@ const de_CreateAliasCommandError = async (output, context) => {
|
|
|
1003
796
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
1004
797
|
default:
|
|
1005
798
|
const parsedBody = parsedOutput.body;
|
|
1006
|
-
|
|
799
|
+
return throwDefaultError({
|
|
1007
800
|
output,
|
|
1008
801
|
parsedBody,
|
|
1009
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1010
802
|
errorCode,
|
|
1011
803
|
});
|
|
1012
804
|
}
|
|
@@ -1017,12 +809,12 @@ const de_CreateComputerCommand = async (output, context) => {
|
|
|
1017
809
|
}
|
|
1018
810
|
const data = await parseBody(output.body, context);
|
|
1019
811
|
let contents = {};
|
|
1020
|
-
contents =
|
|
812
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1021
813
|
const response = {
|
|
1022
814
|
$metadata: deserializeMetadata(output),
|
|
1023
815
|
...contents,
|
|
1024
816
|
};
|
|
1025
|
-
return
|
|
817
|
+
return response;
|
|
1026
818
|
};
|
|
1027
819
|
exports.de_CreateComputerCommand = de_CreateComputerCommand;
|
|
1028
820
|
const de_CreateComputerCommandError = async (output, context) => {
|
|
@@ -1058,10 +850,9 @@ const de_CreateComputerCommandError = async (output, context) => {
|
|
|
1058
850
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1059
851
|
default:
|
|
1060
852
|
const parsedBody = parsedOutput.body;
|
|
1061
|
-
|
|
853
|
+
return throwDefaultError({
|
|
1062
854
|
output,
|
|
1063
855
|
parsedBody,
|
|
1064
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1065
856
|
errorCode,
|
|
1066
857
|
});
|
|
1067
858
|
}
|
|
@@ -1072,12 +863,12 @@ const de_CreateConditionalForwarderCommand = async (output, context) => {
|
|
|
1072
863
|
}
|
|
1073
864
|
const data = await parseBody(output.body, context);
|
|
1074
865
|
let contents = {};
|
|
1075
|
-
contents =
|
|
866
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1076
867
|
const response = {
|
|
1077
868
|
$metadata: deserializeMetadata(output),
|
|
1078
869
|
...contents,
|
|
1079
870
|
};
|
|
1080
|
-
return
|
|
871
|
+
return response;
|
|
1081
872
|
};
|
|
1082
873
|
exports.de_CreateConditionalForwarderCommand = de_CreateConditionalForwarderCommand;
|
|
1083
874
|
const de_CreateConditionalForwarderCommandError = async (output, context) => {
|
|
@@ -1110,10 +901,9 @@ const de_CreateConditionalForwarderCommandError = async (output, context) => {
|
|
|
1110
901
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1111
902
|
default:
|
|
1112
903
|
const parsedBody = parsedOutput.body;
|
|
1113
|
-
|
|
904
|
+
return throwDefaultError({
|
|
1114
905
|
output,
|
|
1115
906
|
parsedBody,
|
|
1116
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1117
907
|
errorCode,
|
|
1118
908
|
});
|
|
1119
909
|
}
|
|
@@ -1124,12 +914,12 @@ const de_CreateDirectoryCommand = async (output, context) => {
|
|
|
1124
914
|
}
|
|
1125
915
|
const data = await parseBody(output.body, context);
|
|
1126
916
|
let contents = {};
|
|
1127
|
-
contents =
|
|
917
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1128
918
|
const response = {
|
|
1129
919
|
$metadata: deserializeMetadata(output),
|
|
1130
920
|
...contents,
|
|
1131
921
|
};
|
|
1132
|
-
return
|
|
922
|
+
return response;
|
|
1133
923
|
};
|
|
1134
924
|
exports.de_CreateDirectoryCommand = de_CreateDirectoryCommand;
|
|
1135
925
|
const de_CreateDirectoryCommandError = async (output, context) => {
|
|
@@ -1153,10 +943,9 @@ const de_CreateDirectoryCommandError = async (output, context) => {
|
|
|
1153
943
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
1154
944
|
default:
|
|
1155
945
|
const parsedBody = parsedOutput.body;
|
|
1156
|
-
|
|
946
|
+
return throwDefaultError({
|
|
1157
947
|
output,
|
|
1158
948
|
parsedBody,
|
|
1159
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1160
949
|
errorCode,
|
|
1161
950
|
});
|
|
1162
951
|
}
|
|
@@ -1167,12 +956,12 @@ const de_CreateLogSubscriptionCommand = async (output, context) => {
|
|
|
1167
956
|
}
|
|
1168
957
|
const data = await parseBody(output.body, context);
|
|
1169
958
|
let contents = {};
|
|
1170
|
-
contents =
|
|
959
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1171
960
|
const response = {
|
|
1172
961
|
$metadata: deserializeMetadata(output),
|
|
1173
962
|
...contents,
|
|
1174
963
|
};
|
|
1175
|
-
return
|
|
964
|
+
return response;
|
|
1176
965
|
};
|
|
1177
966
|
exports.de_CreateLogSubscriptionCommand = de_CreateLogSubscriptionCommand;
|
|
1178
967
|
const de_CreateLogSubscriptionCommandError = async (output, context) => {
|
|
@@ -1202,10 +991,9 @@ const de_CreateLogSubscriptionCommandError = async (output, context) => {
|
|
|
1202
991
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1203
992
|
default:
|
|
1204
993
|
const parsedBody = parsedOutput.body;
|
|
1205
|
-
|
|
994
|
+
return throwDefaultError({
|
|
1206
995
|
output,
|
|
1207
996
|
parsedBody,
|
|
1208
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1209
997
|
errorCode,
|
|
1210
998
|
});
|
|
1211
999
|
}
|
|
@@ -1216,12 +1004,12 @@ const de_CreateMicrosoftADCommand = async (output, context) => {
|
|
|
1216
1004
|
}
|
|
1217
1005
|
const data = await parseBody(output.body, context);
|
|
1218
1006
|
let contents = {};
|
|
1219
|
-
contents =
|
|
1007
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1220
1008
|
const response = {
|
|
1221
1009
|
$metadata: deserializeMetadata(output),
|
|
1222
1010
|
...contents,
|
|
1223
1011
|
};
|
|
1224
|
-
return
|
|
1012
|
+
return response;
|
|
1225
1013
|
};
|
|
1226
1014
|
exports.de_CreateMicrosoftADCommand = de_CreateMicrosoftADCommand;
|
|
1227
1015
|
const de_CreateMicrosoftADCommandError = async (output, context) => {
|
|
@@ -1248,10 +1036,9 @@ const de_CreateMicrosoftADCommandError = async (output, context) => {
|
|
|
1248
1036
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1249
1037
|
default:
|
|
1250
1038
|
const parsedBody = parsedOutput.body;
|
|
1251
|
-
|
|
1039
|
+
return throwDefaultError({
|
|
1252
1040
|
output,
|
|
1253
1041
|
parsedBody,
|
|
1254
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1255
1042
|
errorCode,
|
|
1256
1043
|
});
|
|
1257
1044
|
}
|
|
@@ -1262,12 +1049,12 @@ const de_CreateSnapshotCommand = async (output, context) => {
|
|
|
1262
1049
|
}
|
|
1263
1050
|
const data = await parseBody(output.body, context);
|
|
1264
1051
|
let contents = {};
|
|
1265
|
-
contents =
|
|
1052
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1266
1053
|
const response = {
|
|
1267
1054
|
$metadata: deserializeMetadata(output),
|
|
1268
1055
|
...contents,
|
|
1269
1056
|
};
|
|
1270
|
-
return
|
|
1057
|
+
return response;
|
|
1271
1058
|
};
|
|
1272
1059
|
exports.de_CreateSnapshotCommand = de_CreateSnapshotCommand;
|
|
1273
1060
|
const de_CreateSnapshotCommandError = async (output, context) => {
|
|
@@ -1294,10 +1081,9 @@ const de_CreateSnapshotCommandError = async (output, context) => {
|
|
|
1294
1081
|
throw await de_SnapshotLimitExceededExceptionRes(parsedOutput, context);
|
|
1295
1082
|
default:
|
|
1296
1083
|
const parsedBody = parsedOutput.body;
|
|
1297
|
-
|
|
1084
|
+
return throwDefaultError({
|
|
1298
1085
|
output,
|
|
1299
1086
|
parsedBody,
|
|
1300
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1301
1087
|
errorCode,
|
|
1302
1088
|
});
|
|
1303
1089
|
}
|
|
@@ -1308,12 +1094,12 @@ const de_CreateTrustCommand = async (output, context) => {
|
|
|
1308
1094
|
}
|
|
1309
1095
|
const data = await parseBody(output.body, context);
|
|
1310
1096
|
let contents = {};
|
|
1311
|
-
contents =
|
|
1097
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1312
1098
|
const response = {
|
|
1313
1099
|
$metadata: deserializeMetadata(output),
|
|
1314
1100
|
...contents,
|
|
1315
1101
|
};
|
|
1316
|
-
return
|
|
1102
|
+
return response;
|
|
1317
1103
|
};
|
|
1318
1104
|
exports.de_CreateTrustCommand = de_CreateTrustCommand;
|
|
1319
1105
|
const de_CreateTrustCommandError = async (output, context) => {
|
|
@@ -1343,10 +1129,9 @@ const de_CreateTrustCommandError = async (output, context) => {
|
|
|
1343
1129
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1344
1130
|
default:
|
|
1345
1131
|
const parsedBody = parsedOutput.body;
|
|
1346
|
-
|
|
1132
|
+
return throwDefaultError({
|
|
1347
1133
|
output,
|
|
1348
1134
|
parsedBody,
|
|
1349
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1350
1135
|
errorCode,
|
|
1351
1136
|
});
|
|
1352
1137
|
}
|
|
@@ -1357,12 +1142,12 @@ const de_DeleteConditionalForwarderCommand = async (output, context) => {
|
|
|
1357
1142
|
}
|
|
1358
1143
|
const data = await parseBody(output.body, context);
|
|
1359
1144
|
let contents = {};
|
|
1360
|
-
contents =
|
|
1145
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1361
1146
|
const response = {
|
|
1362
1147
|
$metadata: deserializeMetadata(output),
|
|
1363
1148
|
...contents,
|
|
1364
1149
|
};
|
|
1365
|
-
return
|
|
1150
|
+
return response;
|
|
1366
1151
|
};
|
|
1367
1152
|
exports.de_DeleteConditionalForwarderCommand = de_DeleteConditionalForwarderCommand;
|
|
1368
1153
|
const de_DeleteConditionalForwarderCommandError = async (output, context) => {
|
|
@@ -1392,10 +1177,9 @@ const de_DeleteConditionalForwarderCommandError = async (output, context) => {
|
|
|
1392
1177
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1393
1178
|
default:
|
|
1394
1179
|
const parsedBody = parsedOutput.body;
|
|
1395
|
-
|
|
1180
|
+
return throwDefaultError({
|
|
1396
1181
|
output,
|
|
1397
1182
|
parsedBody,
|
|
1398
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1399
1183
|
errorCode,
|
|
1400
1184
|
});
|
|
1401
1185
|
}
|
|
@@ -1406,12 +1190,12 @@ const de_DeleteDirectoryCommand = async (output, context) => {
|
|
|
1406
1190
|
}
|
|
1407
1191
|
const data = await parseBody(output.body, context);
|
|
1408
1192
|
let contents = {};
|
|
1409
|
-
contents =
|
|
1193
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1410
1194
|
const response = {
|
|
1411
1195
|
$metadata: deserializeMetadata(output),
|
|
1412
1196
|
...contents,
|
|
1413
1197
|
};
|
|
1414
|
-
return
|
|
1198
|
+
return response;
|
|
1415
1199
|
};
|
|
1416
1200
|
exports.de_DeleteDirectoryCommand = de_DeleteDirectoryCommand;
|
|
1417
1201
|
const de_DeleteDirectoryCommandError = async (output, context) => {
|
|
@@ -1432,10 +1216,9 @@ const de_DeleteDirectoryCommandError = async (output, context) => {
|
|
|
1432
1216
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
1433
1217
|
default:
|
|
1434
1218
|
const parsedBody = parsedOutput.body;
|
|
1435
|
-
|
|
1219
|
+
return throwDefaultError({
|
|
1436
1220
|
output,
|
|
1437
1221
|
parsedBody,
|
|
1438
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1439
1222
|
errorCode,
|
|
1440
1223
|
});
|
|
1441
1224
|
}
|
|
@@ -1446,12 +1229,12 @@ const de_DeleteLogSubscriptionCommand = async (output, context) => {
|
|
|
1446
1229
|
}
|
|
1447
1230
|
const data = await parseBody(output.body, context);
|
|
1448
1231
|
let contents = {};
|
|
1449
|
-
contents =
|
|
1232
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1450
1233
|
const response = {
|
|
1451
1234
|
$metadata: deserializeMetadata(output),
|
|
1452
1235
|
...contents,
|
|
1453
1236
|
};
|
|
1454
|
-
return
|
|
1237
|
+
return response;
|
|
1455
1238
|
};
|
|
1456
1239
|
exports.de_DeleteLogSubscriptionCommand = de_DeleteLogSubscriptionCommand;
|
|
1457
1240
|
const de_DeleteLogSubscriptionCommandError = async (output, context) => {
|
|
@@ -1475,10 +1258,9 @@ const de_DeleteLogSubscriptionCommandError = async (output, context) => {
|
|
|
1475
1258
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1476
1259
|
default:
|
|
1477
1260
|
const parsedBody = parsedOutput.body;
|
|
1478
|
-
|
|
1261
|
+
return throwDefaultError({
|
|
1479
1262
|
output,
|
|
1480
1263
|
parsedBody,
|
|
1481
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1482
1264
|
errorCode,
|
|
1483
1265
|
});
|
|
1484
1266
|
}
|
|
@@ -1489,12 +1271,12 @@ const de_DeleteSnapshotCommand = async (output, context) => {
|
|
|
1489
1271
|
}
|
|
1490
1272
|
const data = await parseBody(output.body, context);
|
|
1491
1273
|
let contents = {};
|
|
1492
|
-
contents =
|
|
1274
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1493
1275
|
const response = {
|
|
1494
1276
|
$metadata: deserializeMetadata(output),
|
|
1495
1277
|
...contents,
|
|
1496
1278
|
};
|
|
1497
|
-
return
|
|
1279
|
+
return response;
|
|
1498
1280
|
};
|
|
1499
1281
|
exports.de_DeleteSnapshotCommand = de_DeleteSnapshotCommand;
|
|
1500
1282
|
const de_DeleteSnapshotCommandError = async (output, context) => {
|
|
@@ -1518,10 +1300,9 @@ const de_DeleteSnapshotCommandError = async (output, context) => {
|
|
|
1518
1300
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
1519
1301
|
default:
|
|
1520
1302
|
const parsedBody = parsedOutput.body;
|
|
1521
|
-
|
|
1303
|
+
return throwDefaultError({
|
|
1522
1304
|
output,
|
|
1523
1305
|
parsedBody,
|
|
1524
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1525
1306
|
errorCode,
|
|
1526
1307
|
});
|
|
1527
1308
|
}
|
|
@@ -1532,12 +1313,12 @@ const de_DeleteTrustCommand = async (output, context) => {
|
|
|
1532
1313
|
}
|
|
1533
1314
|
const data = await parseBody(output.body, context);
|
|
1534
1315
|
let contents = {};
|
|
1535
|
-
contents =
|
|
1316
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1536
1317
|
const response = {
|
|
1537
1318
|
$metadata: deserializeMetadata(output),
|
|
1538
1319
|
...contents,
|
|
1539
1320
|
};
|
|
1540
|
-
return
|
|
1321
|
+
return response;
|
|
1541
1322
|
};
|
|
1542
1323
|
exports.de_DeleteTrustCommand = de_DeleteTrustCommand;
|
|
1543
1324
|
const de_DeleteTrustCommandError = async (output, context) => {
|
|
@@ -1564,10 +1345,9 @@ const de_DeleteTrustCommandError = async (output, context) => {
|
|
|
1564
1345
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1565
1346
|
default:
|
|
1566
1347
|
const parsedBody = parsedOutput.body;
|
|
1567
|
-
|
|
1348
|
+
return throwDefaultError({
|
|
1568
1349
|
output,
|
|
1569
1350
|
parsedBody,
|
|
1570
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1571
1351
|
errorCode,
|
|
1572
1352
|
});
|
|
1573
1353
|
}
|
|
@@ -1578,12 +1358,12 @@ const de_DeregisterCertificateCommand = async (output, context) => {
|
|
|
1578
1358
|
}
|
|
1579
1359
|
const data = await parseBody(output.body, context);
|
|
1580
1360
|
let contents = {};
|
|
1581
|
-
contents =
|
|
1361
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1582
1362
|
const response = {
|
|
1583
1363
|
$metadata: deserializeMetadata(output),
|
|
1584
1364
|
...contents,
|
|
1585
1365
|
};
|
|
1586
|
-
return
|
|
1366
|
+
return response;
|
|
1587
1367
|
};
|
|
1588
1368
|
exports.de_DeregisterCertificateCommand = de_DeregisterCertificateCommand;
|
|
1589
1369
|
const de_DeregisterCertificateCommandError = async (output, context) => {
|
|
@@ -1619,10 +1399,9 @@ const de_DeregisterCertificateCommandError = async (output, context) => {
|
|
|
1619
1399
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1620
1400
|
default:
|
|
1621
1401
|
const parsedBody = parsedOutput.body;
|
|
1622
|
-
|
|
1402
|
+
return throwDefaultError({
|
|
1623
1403
|
output,
|
|
1624
1404
|
parsedBody,
|
|
1625
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1626
1405
|
errorCode,
|
|
1627
1406
|
});
|
|
1628
1407
|
}
|
|
@@ -1633,12 +1412,12 @@ const de_DeregisterEventTopicCommand = async (output, context) => {
|
|
|
1633
1412
|
}
|
|
1634
1413
|
const data = await parseBody(output.body, context);
|
|
1635
1414
|
let contents = {};
|
|
1636
|
-
contents =
|
|
1415
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1637
1416
|
const response = {
|
|
1638
1417
|
$metadata: deserializeMetadata(output),
|
|
1639
1418
|
...contents,
|
|
1640
1419
|
};
|
|
1641
|
-
return
|
|
1420
|
+
return response;
|
|
1642
1421
|
};
|
|
1643
1422
|
exports.de_DeregisterEventTopicCommand = de_DeregisterEventTopicCommand;
|
|
1644
1423
|
const de_DeregisterEventTopicCommandError = async (output, context) => {
|
|
@@ -1662,10 +1441,9 @@ const de_DeregisterEventTopicCommandError = async (output, context) => {
|
|
|
1662
1441
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
1663
1442
|
default:
|
|
1664
1443
|
const parsedBody = parsedOutput.body;
|
|
1665
|
-
|
|
1444
|
+
return throwDefaultError({
|
|
1666
1445
|
output,
|
|
1667
1446
|
parsedBody,
|
|
1668
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1669
1447
|
errorCode,
|
|
1670
1448
|
});
|
|
1671
1449
|
}
|
|
@@ -1681,7 +1459,7 @@ const de_DescribeCertificateCommand = async (output, context) => {
|
|
|
1681
1459
|
$metadata: deserializeMetadata(output),
|
|
1682
1460
|
...contents,
|
|
1683
1461
|
};
|
|
1684
|
-
return
|
|
1462
|
+
return response;
|
|
1685
1463
|
};
|
|
1686
1464
|
exports.de_DescribeCertificateCommand = de_DescribeCertificateCommand;
|
|
1687
1465
|
const de_DescribeCertificateCommandError = async (output, context) => {
|
|
@@ -1711,10 +1489,9 @@ const de_DescribeCertificateCommandError = async (output, context) => {
|
|
|
1711
1489
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1712
1490
|
default:
|
|
1713
1491
|
const parsedBody = parsedOutput.body;
|
|
1714
|
-
|
|
1492
|
+
return throwDefaultError({
|
|
1715
1493
|
output,
|
|
1716
1494
|
parsedBody,
|
|
1717
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1718
1495
|
errorCode,
|
|
1719
1496
|
});
|
|
1720
1497
|
}
|
|
@@ -1730,7 +1507,7 @@ const de_DescribeClientAuthenticationSettingsCommand = async (output, context) =
|
|
|
1730
1507
|
$metadata: deserializeMetadata(output),
|
|
1731
1508
|
...contents,
|
|
1732
1509
|
};
|
|
1733
|
-
return
|
|
1510
|
+
return response;
|
|
1734
1511
|
};
|
|
1735
1512
|
exports.de_DescribeClientAuthenticationSettingsCommand = de_DescribeClientAuthenticationSettingsCommand;
|
|
1736
1513
|
const de_DescribeClientAuthenticationSettingsCommandError = async (output, context) => {
|
|
@@ -1760,10 +1537,9 @@ const de_DescribeClientAuthenticationSettingsCommandError = async (output, conte
|
|
|
1760
1537
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1761
1538
|
default:
|
|
1762
1539
|
const parsedBody = parsedOutput.body;
|
|
1763
|
-
|
|
1540
|
+
return throwDefaultError({
|
|
1764
1541
|
output,
|
|
1765
1542
|
parsedBody,
|
|
1766
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1767
1543
|
errorCode,
|
|
1768
1544
|
});
|
|
1769
1545
|
}
|
|
@@ -1774,12 +1550,12 @@ const de_DescribeConditionalForwardersCommand = async (output, context) => {
|
|
|
1774
1550
|
}
|
|
1775
1551
|
const data = await parseBody(output.body, context);
|
|
1776
1552
|
let contents = {};
|
|
1777
|
-
contents =
|
|
1553
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1778
1554
|
const response = {
|
|
1779
1555
|
$metadata: deserializeMetadata(output),
|
|
1780
1556
|
...contents,
|
|
1781
1557
|
};
|
|
1782
|
-
return
|
|
1558
|
+
return response;
|
|
1783
1559
|
};
|
|
1784
1560
|
exports.de_DescribeConditionalForwardersCommand = de_DescribeConditionalForwardersCommand;
|
|
1785
1561
|
const de_DescribeConditionalForwardersCommandError = async (output, context) => {
|
|
@@ -1809,10 +1585,9 @@ const de_DescribeConditionalForwardersCommandError = async (output, context) =>
|
|
|
1809
1585
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1810
1586
|
default:
|
|
1811
1587
|
const parsedBody = parsedOutput.body;
|
|
1812
|
-
|
|
1588
|
+
return throwDefaultError({
|
|
1813
1589
|
output,
|
|
1814
1590
|
parsedBody,
|
|
1815
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1816
1591
|
errorCode,
|
|
1817
1592
|
});
|
|
1818
1593
|
}
|
|
@@ -1828,7 +1603,7 @@ const de_DescribeDirectoriesCommand = async (output, context) => {
|
|
|
1828
1603
|
$metadata: deserializeMetadata(output),
|
|
1829
1604
|
...contents,
|
|
1830
1605
|
};
|
|
1831
|
-
return
|
|
1606
|
+
return response;
|
|
1832
1607
|
};
|
|
1833
1608
|
exports.de_DescribeDirectoriesCommand = de_DescribeDirectoriesCommand;
|
|
1834
1609
|
const de_DescribeDirectoriesCommandError = async (output, context) => {
|
|
@@ -1855,10 +1630,9 @@ const de_DescribeDirectoriesCommandError = async (output, context) => {
|
|
|
1855
1630
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
1856
1631
|
default:
|
|
1857
1632
|
const parsedBody = parsedOutput.body;
|
|
1858
|
-
|
|
1633
|
+
return throwDefaultError({
|
|
1859
1634
|
output,
|
|
1860
1635
|
parsedBody,
|
|
1861
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1862
1636
|
errorCode,
|
|
1863
1637
|
});
|
|
1864
1638
|
}
|
|
@@ -1874,7 +1648,7 @@ const de_DescribeDomainControllersCommand = async (output, context) => {
|
|
|
1874
1648
|
$metadata: deserializeMetadata(output),
|
|
1875
1649
|
...contents,
|
|
1876
1650
|
};
|
|
1877
|
-
return
|
|
1651
|
+
return response;
|
|
1878
1652
|
};
|
|
1879
1653
|
exports.de_DescribeDomainControllersCommand = de_DescribeDomainControllersCommand;
|
|
1880
1654
|
const de_DescribeDomainControllersCommandError = async (output, context) => {
|
|
@@ -1904,10 +1678,9 @@ const de_DescribeDomainControllersCommandError = async (output, context) => {
|
|
|
1904
1678
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1905
1679
|
default:
|
|
1906
1680
|
const parsedBody = parsedOutput.body;
|
|
1907
|
-
|
|
1681
|
+
return throwDefaultError({
|
|
1908
1682
|
output,
|
|
1909
1683
|
parsedBody,
|
|
1910
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1911
1684
|
errorCode,
|
|
1912
1685
|
});
|
|
1913
1686
|
}
|
|
@@ -1923,7 +1696,7 @@ const de_DescribeEventTopicsCommand = async (output, context) => {
|
|
|
1923
1696
|
$metadata: deserializeMetadata(output),
|
|
1924
1697
|
...contents,
|
|
1925
1698
|
};
|
|
1926
|
-
return
|
|
1699
|
+
return response;
|
|
1927
1700
|
};
|
|
1928
1701
|
exports.de_DescribeEventTopicsCommand = de_DescribeEventTopicsCommand;
|
|
1929
1702
|
const de_DescribeEventTopicsCommandError = async (output, context) => {
|
|
@@ -1947,10 +1720,9 @@ const de_DescribeEventTopicsCommandError = async (output, context) => {
|
|
|
1947
1720
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
1948
1721
|
default:
|
|
1949
1722
|
const parsedBody = parsedOutput.body;
|
|
1950
|
-
|
|
1723
|
+
return throwDefaultError({
|
|
1951
1724
|
output,
|
|
1952
1725
|
parsedBody,
|
|
1953
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1954
1726
|
errorCode,
|
|
1955
1727
|
});
|
|
1956
1728
|
}
|
|
@@ -1966,7 +1738,7 @@ const de_DescribeLDAPSSettingsCommand = async (output, context) => {
|
|
|
1966
1738
|
$metadata: deserializeMetadata(output),
|
|
1967
1739
|
...contents,
|
|
1968
1740
|
};
|
|
1969
|
-
return
|
|
1741
|
+
return response;
|
|
1970
1742
|
};
|
|
1971
1743
|
exports.de_DescribeLDAPSSettingsCommand = de_DescribeLDAPSSettingsCommand;
|
|
1972
1744
|
const de_DescribeLDAPSSettingsCommandError = async (output, context) => {
|
|
@@ -1996,10 +1768,9 @@ const de_DescribeLDAPSSettingsCommandError = async (output, context) => {
|
|
|
1996
1768
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1997
1769
|
default:
|
|
1998
1770
|
const parsedBody = parsedOutput.body;
|
|
1999
|
-
|
|
1771
|
+
return throwDefaultError({
|
|
2000
1772
|
output,
|
|
2001
1773
|
parsedBody,
|
|
2002
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2003
1774
|
errorCode,
|
|
2004
1775
|
});
|
|
2005
1776
|
}
|
|
@@ -2015,7 +1786,7 @@ const de_DescribeRegionsCommand = async (output, context) => {
|
|
|
2015
1786
|
$metadata: deserializeMetadata(output),
|
|
2016
1787
|
...contents,
|
|
2017
1788
|
};
|
|
2018
|
-
return
|
|
1789
|
+
return response;
|
|
2019
1790
|
};
|
|
2020
1791
|
exports.de_DescribeRegionsCommand = de_DescribeRegionsCommand;
|
|
2021
1792
|
const de_DescribeRegionsCommandError = async (output, context) => {
|
|
@@ -2048,10 +1819,9 @@ const de_DescribeRegionsCommandError = async (output, context) => {
|
|
|
2048
1819
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2049
1820
|
default:
|
|
2050
1821
|
const parsedBody = parsedOutput.body;
|
|
2051
|
-
|
|
1822
|
+
return throwDefaultError({
|
|
2052
1823
|
output,
|
|
2053
1824
|
parsedBody,
|
|
2054
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2055
1825
|
errorCode,
|
|
2056
1826
|
});
|
|
2057
1827
|
}
|
|
@@ -2067,7 +1837,7 @@ const de_DescribeSettingsCommand = async (output, context) => {
|
|
|
2067
1837
|
$metadata: deserializeMetadata(output),
|
|
2068
1838
|
...contents,
|
|
2069
1839
|
};
|
|
2070
|
-
return
|
|
1840
|
+
return response;
|
|
2071
1841
|
};
|
|
2072
1842
|
exports.de_DescribeSettingsCommand = de_DescribeSettingsCommand;
|
|
2073
1843
|
const de_DescribeSettingsCommandError = async (output, context) => {
|
|
@@ -2097,10 +1867,9 @@ const de_DescribeSettingsCommandError = async (output, context) => {
|
|
|
2097
1867
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2098
1868
|
default:
|
|
2099
1869
|
const parsedBody = parsedOutput.body;
|
|
2100
|
-
|
|
1870
|
+
return throwDefaultError({
|
|
2101
1871
|
output,
|
|
2102
1872
|
parsedBody,
|
|
2103
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2104
1873
|
errorCode,
|
|
2105
1874
|
});
|
|
2106
1875
|
}
|
|
@@ -2116,7 +1885,7 @@ const de_DescribeSharedDirectoriesCommand = async (output, context) => {
|
|
|
2116
1885
|
$metadata: deserializeMetadata(output),
|
|
2117
1886
|
...contents,
|
|
2118
1887
|
};
|
|
2119
|
-
return
|
|
1888
|
+
return response;
|
|
2120
1889
|
};
|
|
2121
1890
|
exports.de_DescribeSharedDirectoriesCommand = de_DescribeSharedDirectoriesCommand;
|
|
2122
1891
|
const de_DescribeSharedDirectoriesCommandError = async (output, context) => {
|
|
@@ -2146,10 +1915,9 @@ const de_DescribeSharedDirectoriesCommandError = async (output, context) => {
|
|
|
2146
1915
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2147
1916
|
default:
|
|
2148
1917
|
const parsedBody = parsedOutput.body;
|
|
2149
|
-
|
|
1918
|
+
return throwDefaultError({
|
|
2150
1919
|
output,
|
|
2151
1920
|
parsedBody,
|
|
2152
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2153
1921
|
errorCode,
|
|
2154
1922
|
});
|
|
2155
1923
|
}
|
|
@@ -2165,7 +1933,7 @@ const de_DescribeSnapshotsCommand = async (output, context) => {
|
|
|
2165
1933
|
$metadata: deserializeMetadata(output),
|
|
2166
1934
|
...contents,
|
|
2167
1935
|
};
|
|
2168
|
-
return
|
|
1936
|
+
return response;
|
|
2169
1937
|
};
|
|
2170
1938
|
exports.de_DescribeSnapshotsCommand = de_DescribeSnapshotsCommand;
|
|
2171
1939
|
const de_DescribeSnapshotsCommandError = async (output, context) => {
|
|
@@ -2192,10 +1960,9 @@ const de_DescribeSnapshotsCommandError = async (output, context) => {
|
|
|
2192
1960
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
2193
1961
|
default:
|
|
2194
1962
|
const parsedBody = parsedOutput.body;
|
|
2195
|
-
|
|
1963
|
+
return throwDefaultError({
|
|
2196
1964
|
output,
|
|
2197
1965
|
parsedBody,
|
|
2198
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2199
1966
|
errorCode,
|
|
2200
1967
|
});
|
|
2201
1968
|
}
|
|
@@ -2211,7 +1978,7 @@ const de_DescribeTrustsCommand = async (output, context) => {
|
|
|
2211
1978
|
$metadata: deserializeMetadata(output),
|
|
2212
1979
|
...contents,
|
|
2213
1980
|
};
|
|
2214
|
-
return
|
|
1981
|
+
return response;
|
|
2215
1982
|
};
|
|
2216
1983
|
exports.de_DescribeTrustsCommand = de_DescribeTrustsCommand;
|
|
2217
1984
|
const de_DescribeTrustsCommandError = async (output, context) => {
|
|
@@ -2241,10 +2008,9 @@ const de_DescribeTrustsCommandError = async (output, context) => {
|
|
|
2241
2008
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2242
2009
|
default:
|
|
2243
2010
|
const parsedBody = parsedOutput.body;
|
|
2244
|
-
|
|
2011
|
+
return throwDefaultError({
|
|
2245
2012
|
output,
|
|
2246
2013
|
parsedBody,
|
|
2247
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2248
2014
|
errorCode,
|
|
2249
2015
|
});
|
|
2250
2016
|
}
|
|
@@ -2260,7 +2026,7 @@ const de_DescribeUpdateDirectoryCommand = async (output, context) => {
|
|
|
2260
2026
|
$metadata: deserializeMetadata(output),
|
|
2261
2027
|
...contents,
|
|
2262
2028
|
};
|
|
2263
|
-
return
|
|
2029
|
+
return response;
|
|
2264
2030
|
};
|
|
2265
2031
|
exports.de_DescribeUpdateDirectoryCommand = de_DescribeUpdateDirectoryCommand;
|
|
2266
2032
|
const de_DescribeUpdateDirectoryCommandError = async (output, context) => {
|
|
@@ -2290,10 +2056,9 @@ const de_DescribeUpdateDirectoryCommandError = async (output, context) => {
|
|
|
2290
2056
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
2291
2057
|
default:
|
|
2292
2058
|
const parsedBody = parsedOutput.body;
|
|
2293
|
-
|
|
2059
|
+
return throwDefaultError({
|
|
2294
2060
|
output,
|
|
2295
2061
|
parsedBody,
|
|
2296
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2297
2062
|
errorCode,
|
|
2298
2063
|
});
|
|
2299
2064
|
}
|
|
@@ -2304,12 +2069,12 @@ const de_DisableClientAuthenticationCommand = async (output, context) => {
|
|
|
2304
2069
|
}
|
|
2305
2070
|
const data = await parseBody(output.body, context);
|
|
2306
2071
|
let contents = {};
|
|
2307
|
-
contents =
|
|
2072
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2308
2073
|
const response = {
|
|
2309
2074
|
$metadata: deserializeMetadata(output),
|
|
2310
2075
|
...contents,
|
|
2311
2076
|
};
|
|
2312
|
-
return
|
|
2077
|
+
return response;
|
|
2313
2078
|
};
|
|
2314
2079
|
exports.de_DisableClientAuthenticationCommand = de_DisableClientAuthenticationCommand;
|
|
2315
2080
|
const de_DisableClientAuthenticationCommandError = async (output, context) => {
|
|
@@ -2339,10 +2104,9 @@ const de_DisableClientAuthenticationCommandError = async (output, context) => {
|
|
|
2339
2104
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2340
2105
|
default:
|
|
2341
2106
|
const parsedBody = parsedOutput.body;
|
|
2342
|
-
|
|
2107
|
+
return throwDefaultError({
|
|
2343
2108
|
output,
|
|
2344
2109
|
parsedBody,
|
|
2345
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2346
2110
|
errorCode,
|
|
2347
2111
|
});
|
|
2348
2112
|
}
|
|
@@ -2353,12 +2117,12 @@ const de_DisableLDAPSCommand = async (output, context) => {
|
|
|
2353
2117
|
}
|
|
2354
2118
|
const data = await parseBody(output.body, context);
|
|
2355
2119
|
let contents = {};
|
|
2356
|
-
contents =
|
|
2120
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2357
2121
|
const response = {
|
|
2358
2122
|
$metadata: deserializeMetadata(output),
|
|
2359
2123
|
...contents,
|
|
2360
2124
|
};
|
|
2361
|
-
return
|
|
2125
|
+
return response;
|
|
2362
2126
|
};
|
|
2363
2127
|
exports.de_DisableLDAPSCommand = de_DisableLDAPSCommand;
|
|
2364
2128
|
const de_DisableLDAPSCommandError = async (output, context) => {
|
|
@@ -2391,10 +2155,9 @@ const de_DisableLDAPSCommandError = async (output, context) => {
|
|
|
2391
2155
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2392
2156
|
default:
|
|
2393
2157
|
const parsedBody = parsedOutput.body;
|
|
2394
|
-
|
|
2158
|
+
return throwDefaultError({
|
|
2395
2159
|
output,
|
|
2396
2160
|
parsedBody,
|
|
2397
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2398
2161
|
errorCode,
|
|
2399
2162
|
});
|
|
2400
2163
|
}
|
|
@@ -2405,12 +2168,12 @@ const de_DisableRadiusCommand = async (output, context) => {
|
|
|
2405
2168
|
}
|
|
2406
2169
|
const data = await parseBody(output.body, context);
|
|
2407
2170
|
let contents = {};
|
|
2408
|
-
contents =
|
|
2171
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2409
2172
|
const response = {
|
|
2410
2173
|
$metadata: deserializeMetadata(output),
|
|
2411
2174
|
...contents,
|
|
2412
2175
|
};
|
|
2413
|
-
return
|
|
2176
|
+
return response;
|
|
2414
2177
|
};
|
|
2415
2178
|
exports.de_DisableRadiusCommand = de_DisableRadiusCommand;
|
|
2416
2179
|
const de_DisableRadiusCommandError = async (output, context) => {
|
|
@@ -2431,10 +2194,9 @@ const de_DisableRadiusCommandError = async (output, context) => {
|
|
|
2431
2194
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
2432
2195
|
default:
|
|
2433
2196
|
const parsedBody = parsedOutput.body;
|
|
2434
|
-
|
|
2197
|
+
return throwDefaultError({
|
|
2435
2198
|
output,
|
|
2436
2199
|
parsedBody,
|
|
2437
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2438
2200
|
errorCode,
|
|
2439
2201
|
});
|
|
2440
2202
|
}
|
|
@@ -2445,12 +2207,12 @@ const de_DisableSsoCommand = async (output, context) => {
|
|
|
2445
2207
|
}
|
|
2446
2208
|
const data = await parseBody(output.body, context);
|
|
2447
2209
|
let contents = {};
|
|
2448
|
-
contents =
|
|
2210
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2449
2211
|
const response = {
|
|
2450
2212
|
$metadata: deserializeMetadata(output),
|
|
2451
2213
|
...contents,
|
|
2452
2214
|
};
|
|
2453
|
-
return
|
|
2215
|
+
return response;
|
|
2454
2216
|
};
|
|
2455
2217
|
exports.de_DisableSsoCommand = de_DisableSsoCommand;
|
|
2456
2218
|
const de_DisableSsoCommandError = async (output, context) => {
|
|
@@ -2477,10 +2239,9 @@ const de_DisableSsoCommandError = async (output, context) => {
|
|
|
2477
2239
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
2478
2240
|
default:
|
|
2479
2241
|
const parsedBody = parsedOutput.body;
|
|
2480
|
-
|
|
2242
|
+
return throwDefaultError({
|
|
2481
2243
|
output,
|
|
2482
2244
|
parsedBody,
|
|
2483
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2484
2245
|
errorCode,
|
|
2485
2246
|
});
|
|
2486
2247
|
}
|
|
@@ -2491,12 +2252,12 @@ const de_EnableClientAuthenticationCommand = async (output, context) => {
|
|
|
2491
2252
|
}
|
|
2492
2253
|
const data = await parseBody(output.body, context);
|
|
2493
2254
|
let contents = {};
|
|
2494
|
-
contents =
|
|
2255
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2495
2256
|
const response = {
|
|
2496
2257
|
$metadata: deserializeMetadata(output),
|
|
2497
2258
|
...contents,
|
|
2498
2259
|
};
|
|
2499
|
-
return
|
|
2260
|
+
return response;
|
|
2500
2261
|
};
|
|
2501
2262
|
exports.de_EnableClientAuthenticationCommand = de_EnableClientAuthenticationCommand;
|
|
2502
2263
|
const de_EnableClientAuthenticationCommandError = async (output, context) => {
|
|
@@ -2529,10 +2290,9 @@ const de_EnableClientAuthenticationCommandError = async (output, context) => {
|
|
|
2529
2290
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2530
2291
|
default:
|
|
2531
2292
|
const parsedBody = parsedOutput.body;
|
|
2532
|
-
|
|
2293
|
+
return throwDefaultError({
|
|
2533
2294
|
output,
|
|
2534
2295
|
parsedBody,
|
|
2535
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2536
2296
|
errorCode,
|
|
2537
2297
|
});
|
|
2538
2298
|
}
|
|
@@ -2543,12 +2303,12 @@ const de_EnableLDAPSCommand = async (output, context) => {
|
|
|
2543
2303
|
}
|
|
2544
2304
|
const data = await parseBody(output.body, context);
|
|
2545
2305
|
let contents = {};
|
|
2546
|
-
contents =
|
|
2306
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2547
2307
|
const response = {
|
|
2548
2308
|
$metadata: deserializeMetadata(output),
|
|
2549
2309
|
...contents,
|
|
2550
2310
|
};
|
|
2551
|
-
return
|
|
2311
|
+
return response;
|
|
2552
2312
|
};
|
|
2553
2313
|
exports.de_EnableLDAPSCommand = de_EnableLDAPSCommand;
|
|
2554
2314
|
const de_EnableLDAPSCommandError = async (output, context) => {
|
|
@@ -2584,10 +2344,9 @@ const de_EnableLDAPSCommandError = async (output, context) => {
|
|
|
2584
2344
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2585
2345
|
default:
|
|
2586
2346
|
const parsedBody = parsedOutput.body;
|
|
2587
|
-
|
|
2347
|
+
return throwDefaultError({
|
|
2588
2348
|
output,
|
|
2589
2349
|
parsedBody,
|
|
2590
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2591
2350
|
errorCode,
|
|
2592
2351
|
});
|
|
2593
2352
|
}
|
|
@@ -2598,12 +2357,12 @@ const de_EnableRadiusCommand = async (output, context) => {
|
|
|
2598
2357
|
}
|
|
2599
2358
|
const data = await parseBody(output.body, context);
|
|
2600
2359
|
let contents = {};
|
|
2601
|
-
contents =
|
|
2360
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2602
2361
|
const response = {
|
|
2603
2362
|
$metadata: deserializeMetadata(output),
|
|
2604
2363
|
...contents,
|
|
2605
2364
|
};
|
|
2606
|
-
return
|
|
2365
|
+
return response;
|
|
2607
2366
|
};
|
|
2608
2367
|
exports.de_EnableRadiusCommand = de_EnableRadiusCommand;
|
|
2609
2368
|
const de_EnableRadiusCommandError = async (output, context) => {
|
|
@@ -2630,10 +2389,9 @@ const de_EnableRadiusCommandError = async (output, context) => {
|
|
|
2630
2389
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
2631
2390
|
default:
|
|
2632
2391
|
const parsedBody = parsedOutput.body;
|
|
2633
|
-
|
|
2392
|
+
return throwDefaultError({
|
|
2634
2393
|
output,
|
|
2635
2394
|
parsedBody,
|
|
2636
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2637
2395
|
errorCode,
|
|
2638
2396
|
});
|
|
2639
2397
|
}
|
|
@@ -2644,12 +2402,12 @@ const de_EnableSsoCommand = async (output, context) => {
|
|
|
2644
2402
|
}
|
|
2645
2403
|
const data = await parseBody(output.body, context);
|
|
2646
2404
|
let contents = {};
|
|
2647
|
-
contents =
|
|
2405
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2648
2406
|
const response = {
|
|
2649
2407
|
$metadata: deserializeMetadata(output),
|
|
2650
2408
|
...contents,
|
|
2651
2409
|
};
|
|
2652
|
-
return
|
|
2410
|
+
return response;
|
|
2653
2411
|
};
|
|
2654
2412
|
exports.de_EnableSsoCommand = de_EnableSsoCommand;
|
|
2655
2413
|
const de_EnableSsoCommandError = async (output, context) => {
|
|
@@ -2676,10 +2434,9 @@ const de_EnableSsoCommandError = async (output, context) => {
|
|
|
2676
2434
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
2677
2435
|
default:
|
|
2678
2436
|
const parsedBody = parsedOutput.body;
|
|
2679
|
-
|
|
2437
|
+
return throwDefaultError({
|
|
2680
2438
|
output,
|
|
2681
2439
|
parsedBody,
|
|
2682
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2683
2440
|
errorCode,
|
|
2684
2441
|
});
|
|
2685
2442
|
}
|
|
@@ -2690,12 +2447,12 @@ const de_GetDirectoryLimitsCommand = async (output, context) => {
|
|
|
2690
2447
|
}
|
|
2691
2448
|
const data = await parseBody(output.body, context);
|
|
2692
2449
|
let contents = {};
|
|
2693
|
-
contents =
|
|
2450
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2694
2451
|
const response = {
|
|
2695
2452
|
$metadata: deserializeMetadata(output),
|
|
2696
2453
|
...contents,
|
|
2697
2454
|
};
|
|
2698
|
-
return
|
|
2455
|
+
return response;
|
|
2699
2456
|
};
|
|
2700
2457
|
exports.de_GetDirectoryLimitsCommand = de_GetDirectoryLimitsCommand;
|
|
2701
2458
|
const de_GetDirectoryLimitsCommandError = async (output, context) => {
|
|
@@ -2716,10 +2473,9 @@ const de_GetDirectoryLimitsCommandError = async (output, context) => {
|
|
|
2716
2473
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
2717
2474
|
default:
|
|
2718
2475
|
const parsedBody = parsedOutput.body;
|
|
2719
|
-
|
|
2476
|
+
return throwDefaultError({
|
|
2720
2477
|
output,
|
|
2721
2478
|
parsedBody,
|
|
2722
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2723
2479
|
errorCode,
|
|
2724
2480
|
});
|
|
2725
2481
|
}
|
|
@@ -2730,12 +2486,12 @@ const de_GetSnapshotLimitsCommand = async (output, context) => {
|
|
|
2730
2486
|
}
|
|
2731
2487
|
const data = await parseBody(output.body, context);
|
|
2732
2488
|
let contents = {};
|
|
2733
|
-
contents =
|
|
2489
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2734
2490
|
const response = {
|
|
2735
2491
|
$metadata: deserializeMetadata(output),
|
|
2736
2492
|
...contents,
|
|
2737
2493
|
};
|
|
2738
|
-
return
|
|
2494
|
+
return response;
|
|
2739
2495
|
};
|
|
2740
2496
|
exports.de_GetSnapshotLimitsCommand = de_GetSnapshotLimitsCommand;
|
|
2741
2497
|
const de_GetSnapshotLimitsCommandError = async (output, context) => {
|
|
@@ -2756,10 +2512,9 @@ const de_GetSnapshotLimitsCommandError = async (output, context) => {
|
|
|
2756
2512
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
2757
2513
|
default:
|
|
2758
2514
|
const parsedBody = parsedOutput.body;
|
|
2759
|
-
|
|
2515
|
+
return throwDefaultError({
|
|
2760
2516
|
output,
|
|
2761
2517
|
parsedBody,
|
|
2762
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2763
2518
|
errorCode,
|
|
2764
2519
|
});
|
|
2765
2520
|
}
|
|
@@ -2775,7 +2530,7 @@ const de_ListCertificatesCommand = async (output, context) => {
|
|
|
2775
2530
|
$metadata: deserializeMetadata(output),
|
|
2776
2531
|
...contents,
|
|
2777
2532
|
};
|
|
2778
|
-
return
|
|
2533
|
+
return response;
|
|
2779
2534
|
};
|
|
2780
2535
|
exports.de_ListCertificatesCommand = de_ListCertificatesCommand;
|
|
2781
2536
|
const de_ListCertificatesCommandError = async (output, context) => {
|
|
@@ -2805,10 +2560,9 @@ const de_ListCertificatesCommandError = async (output, context) => {
|
|
|
2805
2560
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2806
2561
|
default:
|
|
2807
2562
|
const parsedBody = parsedOutput.body;
|
|
2808
|
-
|
|
2563
|
+
return throwDefaultError({
|
|
2809
2564
|
output,
|
|
2810
2565
|
parsedBody,
|
|
2811
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2812
2566
|
errorCode,
|
|
2813
2567
|
});
|
|
2814
2568
|
}
|
|
@@ -2824,7 +2578,7 @@ const de_ListIpRoutesCommand = async (output, context) => {
|
|
|
2824
2578
|
$metadata: deserializeMetadata(output),
|
|
2825
2579
|
...contents,
|
|
2826
2580
|
};
|
|
2827
|
-
return
|
|
2581
|
+
return response;
|
|
2828
2582
|
};
|
|
2829
2583
|
exports.de_ListIpRoutesCommand = de_ListIpRoutesCommand;
|
|
2830
2584
|
const de_ListIpRoutesCommandError = async (output, context) => {
|
|
@@ -2851,10 +2605,9 @@ const de_ListIpRoutesCommandError = async (output, context) => {
|
|
|
2851
2605
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
2852
2606
|
default:
|
|
2853
2607
|
const parsedBody = parsedOutput.body;
|
|
2854
|
-
|
|
2608
|
+
return throwDefaultError({
|
|
2855
2609
|
output,
|
|
2856
2610
|
parsedBody,
|
|
2857
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2858
2611
|
errorCode,
|
|
2859
2612
|
});
|
|
2860
2613
|
}
|
|
@@ -2870,7 +2623,7 @@ const de_ListLogSubscriptionsCommand = async (output, context) => {
|
|
|
2870
2623
|
$metadata: deserializeMetadata(output),
|
|
2871
2624
|
...contents,
|
|
2872
2625
|
};
|
|
2873
|
-
return
|
|
2626
|
+
return response;
|
|
2874
2627
|
};
|
|
2875
2628
|
exports.de_ListLogSubscriptionsCommand = de_ListLogSubscriptionsCommand;
|
|
2876
2629
|
const de_ListLogSubscriptionsCommandError = async (output, context) => {
|
|
@@ -2894,10 +2647,9 @@ const de_ListLogSubscriptionsCommandError = async (output, context) => {
|
|
|
2894
2647
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
2895
2648
|
default:
|
|
2896
2649
|
const parsedBody = parsedOutput.body;
|
|
2897
|
-
|
|
2650
|
+
return throwDefaultError({
|
|
2898
2651
|
output,
|
|
2899
2652
|
parsedBody,
|
|
2900
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2901
2653
|
errorCode,
|
|
2902
2654
|
});
|
|
2903
2655
|
}
|
|
@@ -2913,7 +2665,7 @@ const de_ListSchemaExtensionsCommand = async (output, context) => {
|
|
|
2913
2665
|
$metadata: deserializeMetadata(output),
|
|
2914
2666
|
...contents,
|
|
2915
2667
|
};
|
|
2916
|
-
return
|
|
2668
|
+
return response;
|
|
2917
2669
|
};
|
|
2918
2670
|
exports.de_ListSchemaExtensionsCommand = de_ListSchemaExtensionsCommand;
|
|
2919
2671
|
const de_ListSchemaExtensionsCommandError = async (output, context) => {
|
|
@@ -2937,10 +2689,9 @@ const de_ListSchemaExtensionsCommandError = async (output, context) => {
|
|
|
2937
2689
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
2938
2690
|
default:
|
|
2939
2691
|
const parsedBody = parsedOutput.body;
|
|
2940
|
-
|
|
2692
|
+
return throwDefaultError({
|
|
2941
2693
|
output,
|
|
2942
2694
|
parsedBody,
|
|
2943
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2944
2695
|
errorCode,
|
|
2945
2696
|
});
|
|
2946
2697
|
}
|
|
@@ -2951,12 +2702,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2951
2702
|
}
|
|
2952
2703
|
const data = await parseBody(output.body, context);
|
|
2953
2704
|
let contents = {};
|
|
2954
|
-
contents =
|
|
2705
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2955
2706
|
const response = {
|
|
2956
2707
|
$metadata: deserializeMetadata(output),
|
|
2957
2708
|
...contents,
|
|
2958
2709
|
};
|
|
2959
|
-
return
|
|
2710
|
+
return response;
|
|
2960
2711
|
};
|
|
2961
2712
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
2962
2713
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -2983,10 +2734,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2983
2734
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
2984
2735
|
default:
|
|
2985
2736
|
const parsedBody = parsedOutput.body;
|
|
2986
|
-
|
|
2737
|
+
return throwDefaultError({
|
|
2987
2738
|
output,
|
|
2988
2739
|
parsedBody,
|
|
2989
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2990
2740
|
errorCode,
|
|
2991
2741
|
});
|
|
2992
2742
|
}
|
|
@@ -2997,12 +2747,12 @@ const de_RegisterCertificateCommand = async (output, context) => {
|
|
|
2997
2747
|
}
|
|
2998
2748
|
const data = await parseBody(output.body, context);
|
|
2999
2749
|
let contents = {};
|
|
3000
|
-
contents =
|
|
2750
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3001
2751
|
const response = {
|
|
3002
2752
|
$metadata: deserializeMetadata(output),
|
|
3003
2753
|
...contents,
|
|
3004
2754
|
};
|
|
3005
|
-
return
|
|
2755
|
+
return response;
|
|
3006
2756
|
};
|
|
3007
2757
|
exports.de_RegisterCertificateCommand = de_RegisterCertificateCommand;
|
|
3008
2758
|
const de_RegisterCertificateCommandError = async (output, context) => {
|
|
@@ -3041,10 +2791,9 @@ const de_RegisterCertificateCommandError = async (output, context) => {
|
|
|
3041
2791
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3042
2792
|
default:
|
|
3043
2793
|
const parsedBody = parsedOutput.body;
|
|
3044
|
-
|
|
2794
|
+
return throwDefaultError({
|
|
3045
2795
|
output,
|
|
3046
2796
|
parsedBody,
|
|
3047
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3048
2797
|
errorCode,
|
|
3049
2798
|
});
|
|
3050
2799
|
}
|
|
@@ -3055,12 +2804,12 @@ const de_RegisterEventTopicCommand = async (output, context) => {
|
|
|
3055
2804
|
}
|
|
3056
2805
|
const data = await parseBody(output.body, context);
|
|
3057
2806
|
let contents = {};
|
|
3058
|
-
contents =
|
|
2807
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3059
2808
|
const response = {
|
|
3060
2809
|
$metadata: deserializeMetadata(output),
|
|
3061
2810
|
...contents,
|
|
3062
2811
|
};
|
|
3063
|
-
return
|
|
2812
|
+
return response;
|
|
3064
2813
|
};
|
|
3065
2814
|
exports.de_RegisterEventTopicCommand = de_RegisterEventTopicCommand;
|
|
3066
2815
|
const de_RegisterEventTopicCommandError = async (output, context) => {
|
|
@@ -3084,10 +2833,9 @@ const de_RegisterEventTopicCommandError = async (output, context) => {
|
|
|
3084
2833
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
3085
2834
|
default:
|
|
3086
2835
|
const parsedBody = parsedOutput.body;
|
|
3087
|
-
|
|
2836
|
+
return throwDefaultError({
|
|
3088
2837
|
output,
|
|
3089
2838
|
parsedBody,
|
|
3090
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3091
2839
|
errorCode,
|
|
3092
2840
|
});
|
|
3093
2841
|
}
|
|
@@ -3098,12 +2846,12 @@ const de_RejectSharedDirectoryCommand = async (output, context) => {
|
|
|
3098
2846
|
}
|
|
3099
2847
|
const data = await parseBody(output.body, context);
|
|
3100
2848
|
let contents = {};
|
|
3101
|
-
contents =
|
|
2849
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3102
2850
|
const response = {
|
|
3103
2851
|
$metadata: deserializeMetadata(output),
|
|
3104
2852
|
...contents,
|
|
3105
2853
|
};
|
|
3106
|
-
return
|
|
2854
|
+
return response;
|
|
3107
2855
|
};
|
|
3108
2856
|
exports.de_RejectSharedDirectoryCommand = de_RejectSharedDirectoryCommand;
|
|
3109
2857
|
const de_RejectSharedDirectoryCommandError = async (output, context) => {
|
|
@@ -3130,10 +2878,9 @@ const de_RejectSharedDirectoryCommandError = async (output, context) => {
|
|
|
3130
2878
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
3131
2879
|
default:
|
|
3132
2880
|
const parsedBody = parsedOutput.body;
|
|
3133
|
-
|
|
2881
|
+
return throwDefaultError({
|
|
3134
2882
|
output,
|
|
3135
2883
|
parsedBody,
|
|
3136
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3137
2884
|
errorCode,
|
|
3138
2885
|
});
|
|
3139
2886
|
}
|
|
@@ -3144,12 +2891,12 @@ const de_RemoveIpRoutesCommand = async (output, context) => {
|
|
|
3144
2891
|
}
|
|
3145
2892
|
const data = await parseBody(output.body, context);
|
|
3146
2893
|
let contents = {};
|
|
3147
|
-
contents =
|
|
2894
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3148
2895
|
const response = {
|
|
3149
2896
|
$metadata: deserializeMetadata(output),
|
|
3150
2897
|
...contents,
|
|
3151
2898
|
};
|
|
3152
|
-
return
|
|
2899
|
+
return response;
|
|
3153
2900
|
};
|
|
3154
2901
|
exports.de_RemoveIpRoutesCommand = de_RemoveIpRoutesCommand;
|
|
3155
2902
|
const de_RemoveIpRoutesCommandError = async (output, context) => {
|
|
@@ -3176,10 +2923,9 @@ const de_RemoveIpRoutesCommandError = async (output, context) => {
|
|
|
3176
2923
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
3177
2924
|
default:
|
|
3178
2925
|
const parsedBody = parsedOutput.body;
|
|
3179
|
-
|
|
2926
|
+
return throwDefaultError({
|
|
3180
2927
|
output,
|
|
3181
2928
|
parsedBody,
|
|
3182
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3183
2929
|
errorCode,
|
|
3184
2930
|
});
|
|
3185
2931
|
}
|
|
@@ -3190,12 +2936,12 @@ const de_RemoveRegionCommand = async (output, context) => {
|
|
|
3190
2936
|
}
|
|
3191
2937
|
const data = await parseBody(output.body, context);
|
|
3192
2938
|
let contents = {};
|
|
3193
|
-
contents =
|
|
2939
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3194
2940
|
const response = {
|
|
3195
2941
|
$metadata: deserializeMetadata(output),
|
|
3196
2942
|
...contents,
|
|
3197
2943
|
};
|
|
3198
|
-
return
|
|
2944
|
+
return response;
|
|
3199
2945
|
};
|
|
3200
2946
|
exports.de_RemoveRegionCommand = de_RemoveRegionCommand;
|
|
3201
2947
|
const de_RemoveRegionCommandError = async (output, context) => {
|
|
@@ -3225,10 +2971,9 @@ const de_RemoveRegionCommandError = async (output, context) => {
|
|
|
3225
2971
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3226
2972
|
default:
|
|
3227
2973
|
const parsedBody = parsedOutput.body;
|
|
3228
|
-
|
|
2974
|
+
return throwDefaultError({
|
|
3229
2975
|
output,
|
|
3230
2976
|
parsedBody,
|
|
3231
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3232
2977
|
errorCode,
|
|
3233
2978
|
});
|
|
3234
2979
|
}
|
|
@@ -3239,12 +2984,12 @@ const de_RemoveTagsFromResourceCommand = async (output, context) => {
|
|
|
3239
2984
|
}
|
|
3240
2985
|
const data = await parseBody(output.body, context);
|
|
3241
2986
|
let contents = {};
|
|
3242
|
-
contents =
|
|
2987
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3243
2988
|
const response = {
|
|
3244
2989
|
$metadata: deserializeMetadata(output),
|
|
3245
2990
|
...contents,
|
|
3246
2991
|
};
|
|
3247
|
-
return
|
|
2992
|
+
return response;
|
|
3248
2993
|
};
|
|
3249
2994
|
exports.de_RemoveTagsFromResourceCommand = de_RemoveTagsFromResourceCommand;
|
|
3250
2995
|
const de_RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
@@ -3268,10 +3013,9 @@ const de_RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
|
3268
3013
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
3269
3014
|
default:
|
|
3270
3015
|
const parsedBody = parsedOutput.body;
|
|
3271
|
-
|
|
3016
|
+
return throwDefaultError({
|
|
3272
3017
|
output,
|
|
3273
3018
|
parsedBody,
|
|
3274
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3275
3019
|
errorCode,
|
|
3276
3020
|
});
|
|
3277
3021
|
}
|
|
@@ -3282,12 +3026,12 @@ const de_ResetUserPasswordCommand = async (output, context) => {
|
|
|
3282
3026
|
}
|
|
3283
3027
|
const data = await parseBody(output.body, context);
|
|
3284
3028
|
let contents = {};
|
|
3285
|
-
contents =
|
|
3029
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3286
3030
|
const response = {
|
|
3287
3031
|
$metadata: deserializeMetadata(output),
|
|
3288
3032
|
...contents,
|
|
3289
3033
|
};
|
|
3290
|
-
return
|
|
3034
|
+
return response;
|
|
3291
3035
|
};
|
|
3292
3036
|
exports.de_ResetUserPasswordCommand = de_ResetUserPasswordCommand;
|
|
3293
3037
|
const de_ResetUserPasswordCommandError = async (output, context) => {
|
|
@@ -3320,10 +3064,9 @@ const de_ResetUserPasswordCommandError = async (output, context) => {
|
|
|
3320
3064
|
throw await de_UserDoesNotExistExceptionRes(parsedOutput, context);
|
|
3321
3065
|
default:
|
|
3322
3066
|
const parsedBody = parsedOutput.body;
|
|
3323
|
-
|
|
3067
|
+
return throwDefaultError({
|
|
3324
3068
|
output,
|
|
3325
3069
|
parsedBody,
|
|
3326
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3327
3070
|
errorCode,
|
|
3328
3071
|
});
|
|
3329
3072
|
}
|
|
@@ -3334,12 +3077,12 @@ const de_RestoreFromSnapshotCommand = async (output, context) => {
|
|
|
3334
3077
|
}
|
|
3335
3078
|
const data = await parseBody(output.body, context);
|
|
3336
3079
|
let contents = {};
|
|
3337
|
-
contents =
|
|
3080
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3338
3081
|
const response = {
|
|
3339
3082
|
$metadata: deserializeMetadata(output),
|
|
3340
3083
|
...contents,
|
|
3341
3084
|
};
|
|
3342
|
-
return
|
|
3085
|
+
return response;
|
|
3343
3086
|
};
|
|
3344
3087
|
exports.de_RestoreFromSnapshotCommand = de_RestoreFromSnapshotCommand;
|
|
3345
3088
|
const de_RestoreFromSnapshotCommandError = async (output, context) => {
|
|
@@ -3363,10 +3106,9 @@ const de_RestoreFromSnapshotCommandError = async (output, context) => {
|
|
|
3363
3106
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
3364
3107
|
default:
|
|
3365
3108
|
const parsedBody = parsedOutput.body;
|
|
3366
|
-
|
|
3109
|
+
return throwDefaultError({
|
|
3367
3110
|
output,
|
|
3368
3111
|
parsedBody,
|
|
3369
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3370
3112
|
errorCode,
|
|
3371
3113
|
});
|
|
3372
3114
|
}
|
|
@@ -3377,12 +3119,12 @@ const de_ShareDirectoryCommand = async (output, context) => {
|
|
|
3377
3119
|
}
|
|
3378
3120
|
const data = await parseBody(output.body, context);
|
|
3379
3121
|
let contents = {};
|
|
3380
|
-
contents =
|
|
3122
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3381
3123
|
const response = {
|
|
3382
3124
|
$metadata: deserializeMetadata(output),
|
|
3383
3125
|
...contents,
|
|
3384
3126
|
};
|
|
3385
|
-
return
|
|
3127
|
+
return response;
|
|
3386
3128
|
};
|
|
3387
3129
|
exports.de_ShareDirectoryCommand = de_ShareDirectoryCommand;
|
|
3388
3130
|
const de_ShareDirectoryCommandError = async (output, context) => {
|
|
@@ -3424,10 +3166,9 @@ const de_ShareDirectoryCommandError = async (output, context) => {
|
|
|
3424
3166
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3425
3167
|
default:
|
|
3426
3168
|
const parsedBody = parsedOutput.body;
|
|
3427
|
-
|
|
3169
|
+
return throwDefaultError({
|
|
3428
3170
|
output,
|
|
3429
3171
|
parsedBody,
|
|
3430
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3431
3172
|
errorCode,
|
|
3432
3173
|
});
|
|
3433
3174
|
}
|
|
@@ -3438,12 +3179,12 @@ const de_StartSchemaExtensionCommand = async (output, context) => {
|
|
|
3438
3179
|
}
|
|
3439
3180
|
const data = await parseBody(output.body, context);
|
|
3440
3181
|
let contents = {};
|
|
3441
|
-
contents =
|
|
3182
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3442
3183
|
const response = {
|
|
3443
3184
|
$metadata: deserializeMetadata(output),
|
|
3444
3185
|
...contents,
|
|
3445
3186
|
};
|
|
3446
|
-
return
|
|
3187
|
+
return response;
|
|
3447
3188
|
};
|
|
3448
3189
|
exports.de_StartSchemaExtensionCommand = de_StartSchemaExtensionCommand;
|
|
3449
3190
|
const de_StartSchemaExtensionCommandError = async (output, context) => {
|
|
@@ -3473,10 +3214,9 @@ const de_StartSchemaExtensionCommandError = async (output, context) => {
|
|
|
3473
3214
|
throw await de_SnapshotLimitExceededExceptionRes(parsedOutput, context);
|
|
3474
3215
|
default:
|
|
3475
3216
|
const parsedBody = parsedOutput.body;
|
|
3476
|
-
|
|
3217
|
+
return throwDefaultError({
|
|
3477
3218
|
output,
|
|
3478
3219
|
parsedBody,
|
|
3479
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3480
3220
|
errorCode,
|
|
3481
3221
|
});
|
|
3482
3222
|
}
|
|
@@ -3487,12 +3227,12 @@ const de_UnshareDirectoryCommand = async (output, context) => {
|
|
|
3487
3227
|
}
|
|
3488
3228
|
const data = await parseBody(output.body, context);
|
|
3489
3229
|
let contents = {};
|
|
3490
|
-
contents =
|
|
3230
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3491
3231
|
const response = {
|
|
3492
3232
|
$metadata: deserializeMetadata(output),
|
|
3493
3233
|
...contents,
|
|
3494
3234
|
};
|
|
3495
|
-
return
|
|
3235
|
+
return response;
|
|
3496
3236
|
};
|
|
3497
3237
|
exports.de_UnshareDirectoryCommand = de_UnshareDirectoryCommand;
|
|
3498
3238
|
const de_UnshareDirectoryCommandError = async (output, context) => {
|
|
@@ -3519,10 +3259,9 @@ const de_UnshareDirectoryCommandError = async (output, context) => {
|
|
|
3519
3259
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
3520
3260
|
default:
|
|
3521
3261
|
const parsedBody = parsedOutput.body;
|
|
3522
|
-
|
|
3262
|
+
return throwDefaultError({
|
|
3523
3263
|
output,
|
|
3524
3264
|
parsedBody,
|
|
3525
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3526
3265
|
errorCode,
|
|
3527
3266
|
});
|
|
3528
3267
|
}
|
|
@@ -3533,12 +3272,12 @@ const de_UpdateConditionalForwarderCommand = async (output, context) => {
|
|
|
3533
3272
|
}
|
|
3534
3273
|
const data = await parseBody(output.body, context);
|
|
3535
3274
|
let contents = {};
|
|
3536
|
-
contents =
|
|
3275
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3537
3276
|
const response = {
|
|
3538
3277
|
$metadata: deserializeMetadata(output),
|
|
3539
3278
|
...contents,
|
|
3540
3279
|
};
|
|
3541
|
-
return
|
|
3280
|
+
return response;
|
|
3542
3281
|
};
|
|
3543
3282
|
exports.de_UpdateConditionalForwarderCommand = de_UpdateConditionalForwarderCommand;
|
|
3544
3283
|
const de_UpdateConditionalForwarderCommandError = async (output, context) => {
|
|
@@ -3568,10 +3307,9 @@ const de_UpdateConditionalForwarderCommandError = async (output, context) => {
|
|
|
3568
3307
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3569
3308
|
default:
|
|
3570
3309
|
const parsedBody = parsedOutput.body;
|
|
3571
|
-
|
|
3310
|
+
return throwDefaultError({
|
|
3572
3311
|
output,
|
|
3573
3312
|
parsedBody,
|
|
3574
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3575
3313
|
errorCode,
|
|
3576
3314
|
});
|
|
3577
3315
|
}
|
|
@@ -3582,12 +3320,12 @@ const de_UpdateDirectorySetupCommand = async (output, context) => {
|
|
|
3582
3320
|
}
|
|
3583
3321
|
const data = await parseBody(output.body, context);
|
|
3584
3322
|
let contents = {};
|
|
3585
|
-
contents =
|
|
3323
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3586
3324
|
const response = {
|
|
3587
3325
|
$metadata: deserializeMetadata(output),
|
|
3588
3326
|
...contents,
|
|
3589
3327
|
};
|
|
3590
|
-
return
|
|
3328
|
+
return response;
|
|
3591
3329
|
};
|
|
3592
3330
|
exports.de_UpdateDirectorySetupCommand = de_UpdateDirectorySetupCommand;
|
|
3593
3331
|
const de_UpdateDirectorySetupCommandError = async (output, context) => {
|
|
@@ -3626,10 +3364,9 @@ const de_UpdateDirectorySetupCommandError = async (output, context) => {
|
|
|
3626
3364
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3627
3365
|
default:
|
|
3628
3366
|
const parsedBody = parsedOutput.body;
|
|
3629
|
-
|
|
3367
|
+
return throwDefaultError({
|
|
3630
3368
|
output,
|
|
3631
3369
|
parsedBody,
|
|
3632
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3633
3370
|
errorCode,
|
|
3634
3371
|
});
|
|
3635
3372
|
}
|
|
@@ -3640,12 +3377,12 @@ const de_UpdateNumberOfDomainControllersCommand = async (output, context) => {
|
|
|
3640
3377
|
}
|
|
3641
3378
|
const data = await parseBody(output.body, context);
|
|
3642
3379
|
let contents = {};
|
|
3643
|
-
contents =
|
|
3380
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3644
3381
|
const response = {
|
|
3645
3382
|
$metadata: deserializeMetadata(output),
|
|
3646
3383
|
...contents,
|
|
3647
3384
|
};
|
|
3648
|
-
return
|
|
3385
|
+
return response;
|
|
3649
3386
|
};
|
|
3650
3387
|
exports.de_UpdateNumberOfDomainControllersCommand = de_UpdateNumberOfDomainControllersCommand;
|
|
3651
3388
|
const de_UpdateNumberOfDomainControllersCommandError = async (output, context) => {
|
|
@@ -3678,10 +3415,9 @@ const de_UpdateNumberOfDomainControllersCommandError = async (output, context) =
|
|
|
3678
3415
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3679
3416
|
default:
|
|
3680
3417
|
const parsedBody = parsedOutput.body;
|
|
3681
|
-
|
|
3418
|
+
return throwDefaultError({
|
|
3682
3419
|
output,
|
|
3683
3420
|
parsedBody,
|
|
3684
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3685
3421
|
errorCode,
|
|
3686
3422
|
});
|
|
3687
3423
|
}
|
|
@@ -3692,12 +3428,12 @@ const de_UpdateRadiusCommand = async (output, context) => {
|
|
|
3692
3428
|
}
|
|
3693
3429
|
const data = await parseBody(output.body, context);
|
|
3694
3430
|
let contents = {};
|
|
3695
|
-
contents =
|
|
3431
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3696
3432
|
const response = {
|
|
3697
3433
|
$metadata: deserializeMetadata(output),
|
|
3698
3434
|
...contents,
|
|
3699
3435
|
};
|
|
3700
|
-
return
|
|
3436
|
+
return response;
|
|
3701
3437
|
};
|
|
3702
3438
|
exports.de_UpdateRadiusCommand = de_UpdateRadiusCommand;
|
|
3703
3439
|
const de_UpdateRadiusCommandError = async (output, context) => {
|
|
@@ -3721,10 +3457,9 @@ const de_UpdateRadiusCommandError = async (output, context) => {
|
|
|
3721
3457
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
3722
3458
|
default:
|
|
3723
3459
|
const parsedBody = parsedOutput.body;
|
|
3724
|
-
|
|
3460
|
+
return throwDefaultError({
|
|
3725
3461
|
output,
|
|
3726
3462
|
parsedBody,
|
|
3727
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3728
3463
|
errorCode,
|
|
3729
3464
|
});
|
|
3730
3465
|
}
|
|
@@ -3735,12 +3470,12 @@ const de_UpdateSettingsCommand = async (output, context) => {
|
|
|
3735
3470
|
}
|
|
3736
3471
|
const data = await parseBody(output.body, context);
|
|
3737
3472
|
let contents = {};
|
|
3738
|
-
contents =
|
|
3473
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3739
3474
|
const response = {
|
|
3740
3475
|
$metadata: deserializeMetadata(output),
|
|
3741
3476
|
...contents,
|
|
3742
3477
|
};
|
|
3743
|
-
return
|
|
3478
|
+
return response;
|
|
3744
3479
|
};
|
|
3745
3480
|
exports.de_UpdateSettingsCommand = de_UpdateSettingsCommand;
|
|
3746
3481
|
const de_UpdateSettingsCommandError = async (output, context) => {
|
|
@@ -3776,10 +3511,9 @@ const de_UpdateSettingsCommandError = async (output, context) => {
|
|
|
3776
3511
|
throw await de_UnsupportedSettingsExceptionRes(parsedOutput, context);
|
|
3777
3512
|
default:
|
|
3778
3513
|
const parsedBody = parsedOutput.body;
|
|
3779
|
-
|
|
3514
|
+
return throwDefaultError({
|
|
3780
3515
|
output,
|
|
3781
3516
|
parsedBody,
|
|
3782
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3783
3517
|
errorCode,
|
|
3784
3518
|
});
|
|
3785
3519
|
}
|
|
@@ -3790,12 +3524,12 @@ const de_UpdateTrustCommand = async (output, context) => {
|
|
|
3790
3524
|
}
|
|
3791
3525
|
const data = await parseBody(output.body, context);
|
|
3792
3526
|
let contents = {};
|
|
3793
|
-
contents =
|
|
3527
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3794
3528
|
const response = {
|
|
3795
3529
|
$metadata: deserializeMetadata(output),
|
|
3796
3530
|
...contents,
|
|
3797
3531
|
};
|
|
3798
|
-
return
|
|
3532
|
+
return response;
|
|
3799
3533
|
};
|
|
3800
3534
|
exports.de_UpdateTrustCommand = de_UpdateTrustCommand;
|
|
3801
3535
|
const de_UpdateTrustCommandError = async (output, context) => {
|
|
@@ -3819,10 +3553,9 @@ const de_UpdateTrustCommandError = async (output, context) => {
|
|
|
3819
3553
|
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
3820
3554
|
default:
|
|
3821
3555
|
const parsedBody = parsedOutput.body;
|
|
3822
|
-
|
|
3556
|
+
return throwDefaultError({
|
|
3823
3557
|
output,
|
|
3824
3558
|
parsedBody,
|
|
3825
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3826
3559
|
errorCode,
|
|
3827
3560
|
});
|
|
3828
3561
|
}
|
|
@@ -3833,12 +3566,12 @@ const de_VerifyTrustCommand = async (output, context) => {
|
|
|
3833
3566
|
}
|
|
3834
3567
|
const data = await parseBody(output.body, context);
|
|
3835
3568
|
let contents = {};
|
|
3836
|
-
contents =
|
|
3569
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3837
3570
|
const response = {
|
|
3838
3571
|
$metadata: deserializeMetadata(output),
|
|
3839
3572
|
...contents,
|
|
3840
3573
|
};
|
|
3841
|
-
return
|
|
3574
|
+
return response;
|
|
3842
3575
|
};
|
|
3843
3576
|
exports.de_VerifyTrustCommand = de_VerifyTrustCommand;
|
|
3844
3577
|
const de_VerifyTrustCommandError = async (output, context) => {
|
|
@@ -3865,17 +3598,16 @@ const de_VerifyTrustCommandError = async (output, context) => {
|
|
|
3865
3598
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
3866
3599
|
default:
|
|
3867
3600
|
const parsedBody = parsedOutput.body;
|
|
3868
|
-
|
|
3601
|
+
return throwDefaultError({
|
|
3869
3602
|
output,
|
|
3870
3603
|
parsedBody,
|
|
3871
|
-
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3872
3604
|
errorCode,
|
|
3873
3605
|
});
|
|
3874
3606
|
}
|
|
3875
3607
|
};
|
|
3876
3608
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
3877
3609
|
const body = parsedOutput.body;
|
|
3878
|
-
const deserialized =
|
|
3610
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3879
3611
|
const exception = new models_0_1.AccessDeniedException({
|
|
3880
3612
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3881
3613
|
...deserialized,
|
|
@@ -3884,7 +3616,7 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
3884
3616
|
};
|
|
3885
3617
|
const de_AuthenticationFailedExceptionRes = async (parsedOutput, context) => {
|
|
3886
3618
|
const body = parsedOutput.body;
|
|
3887
|
-
const deserialized =
|
|
3619
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3888
3620
|
const exception = new models_0_1.AuthenticationFailedException({
|
|
3889
3621
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3890
3622
|
...deserialized,
|
|
@@ -3893,7 +3625,7 @@ const de_AuthenticationFailedExceptionRes = async (parsedOutput, context) => {
|
|
|
3893
3625
|
};
|
|
3894
3626
|
const de_CertificateAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
3895
3627
|
const body = parsedOutput.body;
|
|
3896
|
-
const deserialized =
|
|
3628
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3897
3629
|
const exception = new models_0_1.CertificateAlreadyExistsException({
|
|
3898
3630
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3899
3631
|
...deserialized,
|
|
@@ -3902,7 +3634,7 @@ const de_CertificateAlreadyExistsExceptionRes = async (parsedOutput, context) =>
|
|
|
3902
3634
|
};
|
|
3903
3635
|
const de_CertificateDoesNotExistExceptionRes = async (parsedOutput, context) => {
|
|
3904
3636
|
const body = parsedOutput.body;
|
|
3905
|
-
const deserialized =
|
|
3637
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3906
3638
|
const exception = new models_0_1.CertificateDoesNotExistException({
|
|
3907
3639
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3908
3640
|
...deserialized,
|
|
@@ -3911,7 +3643,7 @@ const de_CertificateDoesNotExistExceptionRes = async (parsedOutput, context) =>
|
|
|
3911
3643
|
};
|
|
3912
3644
|
const de_CertificateInUseExceptionRes = async (parsedOutput, context) => {
|
|
3913
3645
|
const body = parsedOutput.body;
|
|
3914
|
-
const deserialized =
|
|
3646
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3915
3647
|
const exception = new models_0_1.CertificateInUseException({
|
|
3916
3648
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3917
3649
|
...deserialized,
|
|
@@ -3920,7 +3652,7 @@ const de_CertificateInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
3920
3652
|
};
|
|
3921
3653
|
const de_CertificateLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3922
3654
|
const body = parsedOutput.body;
|
|
3923
|
-
const deserialized =
|
|
3655
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3924
3656
|
const exception = new models_0_1.CertificateLimitExceededException({
|
|
3925
3657
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3926
3658
|
...deserialized,
|
|
@@ -3929,7 +3661,7 @@ const de_CertificateLimitExceededExceptionRes = async (parsedOutput, context) =>
|
|
|
3929
3661
|
};
|
|
3930
3662
|
const de_ClientExceptionRes = async (parsedOutput, context) => {
|
|
3931
3663
|
const body = parsedOutput.body;
|
|
3932
|
-
const deserialized =
|
|
3664
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3933
3665
|
const exception = new models_0_1.ClientException({
|
|
3934
3666
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3935
3667
|
...deserialized,
|
|
@@ -3938,7 +3670,7 @@ const de_ClientExceptionRes = async (parsedOutput, context) => {
|
|
|
3938
3670
|
};
|
|
3939
3671
|
const de_DirectoryAlreadyInRegionExceptionRes = async (parsedOutput, context) => {
|
|
3940
3672
|
const body = parsedOutput.body;
|
|
3941
|
-
const deserialized =
|
|
3673
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3942
3674
|
const exception = new models_0_1.DirectoryAlreadyInRegionException({
|
|
3943
3675
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3944
3676
|
...deserialized,
|
|
@@ -3947,7 +3679,7 @@ const de_DirectoryAlreadyInRegionExceptionRes = async (parsedOutput, context) =>
|
|
|
3947
3679
|
};
|
|
3948
3680
|
const de_DirectoryAlreadySharedExceptionRes = async (parsedOutput, context) => {
|
|
3949
3681
|
const body = parsedOutput.body;
|
|
3950
|
-
const deserialized =
|
|
3682
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3951
3683
|
const exception = new models_0_1.DirectoryAlreadySharedException({
|
|
3952
3684
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3953
3685
|
...deserialized,
|
|
@@ -3956,7 +3688,7 @@ const de_DirectoryAlreadySharedExceptionRes = async (parsedOutput, context) => {
|
|
|
3956
3688
|
};
|
|
3957
3689
|
const de_DirectoryDoesNotExistExceptionRes = async (parsedOutput, context) => {
|
|
3958
3690
|
const body = parsedOutput.body;
|
|
3959
|
-
const deserialized =
|
|
3691
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3960
3692
|
const exception = new models_0_1.DirectoryDoesNotExistException({
|
|
3961
3693
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3962
3694
|
...deserialized,
|
|
@@ -3965,7 +3697,7 @@ const de_DirectoryDoesNotExistExceptionRes = async (parsedOutput, context) => {
|
|
|
3965
3697
|
};
|
|
3966
3698
|
const de_DirectoryInDesiredStateExceptionRes = async (parsedOutput, context) => {
|
|
3967
3699
|
const body = parsedOutput.body;
|
|
3968
|
-
const deserialized =
|
|
3700
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3969
3701
|
const exception = new models_0_1.DirectoryInDesiredStateException({
|
|
3970
3702
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3971
3703
|
...deserialized,
|
|
@@ -3974,7 +3706,7 @@ const de_DirectoryInDesiredStateExceptionRes = async (parsedOutput, context) =>
|
|
|
3974
3706
|
};
|
|
3975
3707
|
const de_DirectoryLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3976
3708
|
const body = parsedOutput.body;
|
|
3977
|
-
const deserialized =
|
|
3709
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3978
3710
|
const exception = new models_0_1.DirectoryLimitExceededException({
|
|
3979
3711
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3980
3712
|
...deserialized,
|
|
@@ -3983,7 +3715,7 @@ const de_DirectoryLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
3983
3715
|
};
|
|
3984
3716
|
const de_DirectoryNotSharedExceptionRes = async (parsedOutput, context) => {
|
|
3985
3717
|
const body = parsedOutput.body;
|
|
3986
|
-
const deserialized =
|
|
3718
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3987
3719
|
const exception = new models_0_1.DirectoryNotSharedException({
|
|
3988
3720
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3989
3721
|
...deserialized,
|
|
@@ -3992,7 +3724,7 @@ const de_DirectoryNotSharedExceptionRes = async (parsedOutput, context) => {
|
|
|
3992
3724
|
};
|
|
3993
3725
|
const de_DirectoryUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
3994
3726
|
const body = parsedOutput.body;
|
|
3995
|
-
const deserialized =
|
|
3727
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3996
3728
|
const exception = new models_0_1.DirectoryUnavailableException({
|
|
3997
3729
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3998
3730
|
...deserialized,
|
|
@@ -4001,7 +3733,7 @@ const de_DirectoryUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
|
4001
3733
|
};
|
|
4002
3734
|
const de_DomainControllerLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
4003
3735
|
const body = parsedOutput.body;
|
|
4004
|
-
const deserialized =
|
|
3736
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4005
3737
|
const exception = new models_0_1.DomainControllerLimitExceededException({
|
|
4006
3738
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4007
3739
|
...deserialized,
|
|
@@ -4010,7 +3742,7 @@ const de_DomainControllerLimitExceededExceptionRes = async (parsedOutput, contex
|
|
|
4010
3742
|
};
|
|
4011
3743
|
const de_EntityAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
4012
3744
|
const body = parsedOutput.body;
|
|
4013
|
-
const deserialized =
|
|
3745
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4014
3746
|
const exception = new models_0_1.EntityAlreadyExistsException({
|
|
4015
3747
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4016
3748
|
...deserialized,
|
|
@@ -4019,7 +3751,7 @@ const de_EntityAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
4019
3751
|
};
|
|
4020
3752
|
const de_EntityDoesNotExistExceptionRes = async (parsedOutput, context) => {
|
|
4021
3753
|
const body = parsedOutput.body;
|
|
4022
|
-
const deserialized =
|
|
3754
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4023
3755
|
const exception = new models_0_1.EntityDoesNotExistException({
|
|
4024
3756
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4025
3757
|
...deserialized,
|
|
@@ -4028,7 +3760,7 @@ const de_EntityDoesNotExistExceptionRes = async (parsedOutput, context) => {
|
|
|
4028
3760
|
};
|
|
4029
3761
|
const de_IncompatibleSettingsExceptionRes = async (parsedOutput, context) => {
|
|
4030
3762
|
const body = parsedOutput.body;
|
|
4031
|
-
const deserialized =
|
|
3763
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4032
3764
|
const exception = new models_0_1.IncompatibleSettingsException({
|
|
4033
3765
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4034
3766
|
...deserialized,
|
|
@@ -4037,7 +3769,7 @@ const de_IncompatibleSettingsExceptionRes = async (parsedOutput, context) => {
|
|
|
4037
3769
|
};
|
|
4038
3770
|
const de_InsufficientPermissionsExceptionRes = async (parsedOutput, context) => {
|
|
4039
3771
|
const body = parsedOutput.body;
|
|
4040
|
-
const deserialized =
|
|
3772
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4041
3773
|
const exception = new models_0_1.InsufficientPermissionsException({
|
|
4042
3774
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4043
3775
|
...deserialized,
|
|
@@ -4046,7 +3778,7 @@ const de_InsufficientPermissionsExceptionRes = async (parsedOutput, context) =>
|
|
|
4046
3778
|
};
|
|
4047
3779
|
const de_InvalidCertificateExceptionRes = async (parsedOutput, context) => {
|
|
4048
3780
|
const body = parsedOutput.body;
|
|
4049
|
-
const deserialized =
|
|
3781
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4050
3782
|
const exception = new models_0_1.InvalidCertificateException({
|
|
4051
3783
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4052
3784
|
...deserialized,
|
|
@@ -4055,7 +3787,7 @@ const de_InvalidCertificateExceptionRes = async (parsedOutput, context) => {
|
|
|
4055
3787
|
};
|
|
4056
3788
|
const de_InvalidClientAuthStatusExceptionRes = async (parsedOutput, context) => {
|
|
4057
3789
|
const body = parsedOutput.body;
|
|
4058
|
-
const deserialized =
|
|
3790
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4059
3791
|
const exception = new models_0_1.InvalidClientAuthStatusException({
|
|
4060
3792
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4061
3793
|
...deserialized,
|
|
@@ -4064,7 +3796,7 @@ const de_InvalidClientAuthStatusExceptionRes = async (parsedOutput, context) =>
|
|
|
4064
3796
|
};
|
|
4065
3797
|
const de_InvalidLDAPSStatusExceptionRes = async (parsedOutput, context) => {
|
|
4066
3798
|
const body = parsedOutput.body;
|
|
4067
|
-
const deserialized =
|
|
3799
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4068
3800
|
const exception = new models_0_1.InvalidLDAPSStatusException({
|
|
4069
3801
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4070
3802
|
...deserialized,
|
|
@@ -4073,7 +3805,7 @@ const de_InvalidLDAPSStatusExceptionRes = async (parsedOutput, context) => {
|
|
|
4073
3805
|
};
|
|
4074
3806
|
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
4075
3807
|
const body = parsedOutput.body;
|
|
4076
|
-
const deserialized =
|
|
3808
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4077
3809
|
const exception = new models_0_1.InvalidNextTokenException({
|
|
4078
3810
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4079
3811
|
...deserialized,
|
|
@@ -4082,7 +3814,7 @@ const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
4082
3814
|
};
|
|
4083
3815
|
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
4084
3816
|
const body = parsedOutput.body;
|
|
4085
|
-
const deserialized =
|
|
3817
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4086
3818
|
const exception = new models_0_1.InvalidParameterException({
|
|
4087
3819
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4088
3820
|
...deserialized,
|
|
@@ -4091,7 +3823,7 @@ const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
|
4091
3823
|
};
|
|
4092
3824
|
const de_InvalidPasswordExceptionRes = async (parsedOutput, context) => {
|
|
4093
3825
|
const body = parsedOutput.body;
|
|
4094
|
-
const deserialized =
|
|
3826
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4095
3827
|
const exception = new models_0_1.InvalidPasswordException({
|
|
4096
3828
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4097
3829
|
...deserialized,
|
|
@@ -4100,7 +3832,7 @@ const de_InvalidPasswordExceptionRes = async (parsedOutput, context) => {
|
|
|
4100
3832
|
};
|
|
4101
3833
|
const de_InvalidTargetExceptionRes = async (parsedOutput, context) => {
|
|
4102
3834
|
const body = parsedOutput.body;
|
|
4103
|
-
const deserialized =
|
|
3835
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4104
3836
|
const exception = new models_0_1.InvalidTargetException({
|
|
4105
3837
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4106
3838
|
...deserialized,
|
|
@@ -4109,7 +3841,7 @@ const de_InvalidTargetExceptionRes = async (parsedOutput, context) => {
|
|
|
4109
3841
|
};
|
|
4110
3842
|
const de_IpRouteLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
4111
3843
|
const body = parsedOutput.body;
|
|
4112
|
-
const deserialized =
|
|
3844
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4113
3845
|
const exception = new models_0_1.IpRouteLimitExceededException({
|
|
4114
3846
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4115
3847
|
...deserialized,
|
|
@@ -4118,7 +3850,7 @@ const de_IpRouteLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
4118
3850
|
};
|
|
4119
3851
|
const de_NoAvailableCertificateExceptionRes = async (parsedOutput, context) => {
|
|
4120
3852
|
const body = parsedOutput.body;
|
|
4121
|
-
const deserialized =
|
|
3853
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4122
3854
|
const exception = new models_0_1.NoAvailableCertificateException({
|
|
4123
3855
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4124
3856
|
...deserialized,
|
|
@@ -4127,7 +3859,7 @@ const de_NoAvailableCertificateExceptionRes = async (parsedOutput, context) => {
|
|
|
4127
3859
|
};
|
|
4128
3860
|
const de_OrganizationsExceptionRes = async (parsedOutput, context) => {
|
|
4129
3861
|
const body = parsedOutput.body;
|
|
4130
|
-
const deserialized =
|
|
3862
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4131
3863
|
const exception = new models_0_1.OrganizationsException({
|
|
4132
3864
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4133
3865
|
...deserialized,
|
|
@@ -4136,7 +3868,7 @@ const de_OrganizationsExceptionRes = async (parsedOutput, context) => {
|
|
|
4136
3868
|
};
|
|
4137
3869
|
const de_RegionLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
4138
3870
|
const body = parsedOutput.body;
|
|
4139
|
-
const deserialized =
|
|
3871
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4140
3872
|
const exception = new models_0_1.RegionLimitExceededException({
|
|
4141
3873
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4142
3874
|
...deserialized,
|
|
@@ -4145,7 +3877,7 @@ const de_RegionLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
4145
3877
|
};
|
|
4146
3878
|
const de_ServiceExceptionRes = async (parsedOutput, context) => {
|
|
4147
3879
|
const body = parsedOutput.body;
|
|
4148
|
-
const deserialized =
|
|
3880
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4149
3881
|
const exception = new models_0_1.ServiceException({
|
|
4150
3882
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4151
3883
|
...deserialized,
|
|
@@ -4154,7 +3886,7 @@ const de_ServiceExceptionRes = async (parsedOutput, context) => {
|
|
|
4154
3886
|
};
|
|
4155
3887
|
const de_ShareLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
4156
3888
|
const body = parsedOutput.body;
|
|
4157
|
-
const deserialized =
|
|
3889
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4158
3890
|
const exception = new models_0_1.ShareLimitExceededException({
|
|
4159
3891
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4160
3892
|
...deserialized,
|
|
@@ -4163,7 +3895,7 @@ const de_ShareLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
4163
3895
|
};
|
|
4164
3896
|
const de_SnapshotLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
4165
3897
|
const body = parsedOutput.body;
|
|
4166
|
-
const deserialized =
|
|
3898
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4167
3899
|
const exception = new models_0_1.SnapshotLimitExceededException({
|
|
4168
3900
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4169
3901
|
...deserialized,
|
|
@@ -4172,7 +3904,7 @@ const de_SnapshotLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
4172
3904
|
};
|
|
4173
3905
|
const de_TagLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
4174
3906
|
const body = parsedOutput.body;
|
|
4175
|
-
const deserialized =
|
|
3907
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4176
3908
|
const exception = new models_0_1.TagLimitExceededException({
|
|
4177
3909
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4178
3910
|
...deserialized,
|
|
@@ -4181,7 +3913,7 @@ const de_TagLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
4181
3913
|
};
|
|
4182
3914
|
const de_UnsupportedOperationExceptionRes = async (parsedOutput, context) => {
|
|
4183
3915
|
const body = parsedOutput.body;
|
|
4184
|
-
const deserialized =
|
|
3916
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4185
3917
|
const exception = new models_0_1.UnsupportedOperationException({
|
|
4186
3918
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4187
3919
|
...deserialized,
|
|
@@ -4190,7 +3922,7 @@ const de_UnsupportedOperationExceptionRes = async (parsedOutput, context) => {
|
|
|
4190
3922
|
};
|
|
4191
3923
|
const de_UnsupportedSettingsExceptionRes = async (parsedOutput, context) => {
|
|
4192
3924
|
const body = parsedOutput.body;
|
|
4193
|
-
const deserialized =
|
|
3925
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4194
3926
|
const exception = new models_0_1.UnsupportedSettingsException({
|
|
4195
3927
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4196
3928
|
...deserialized,
|
|
@@ -4199,1812 +3931,425 @@ const de_UnsupportedSettingsExceptionRes = async (parsedOutput, context) => {
|
|
|
4199
3931
|
};
|
|
4200
3932
|
const de_UserDoesNotExistExceptionRes = async (parsedOutput, context) => {
|
|
4201
3933
|
const body = parsedOutput.body;
|
|
4202
|
-
const deserialized =
|
|
3934
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4203
3935
|
const exception = new models_0_1.UserDoesNotExistException({
|
|
4204
3936
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4205
3937
|
...deserialized,
|
|
4206
3938
|
});
|
|
4207
3939
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
4208
3940
|
};
|
|
4209
|
-
const
|
|
4210
|
-
return {
|
|
4211
|
-
|
|
4212
|
-
};
|
|
4213
|
-
};
|
|
4214
|
-
const se_AddIpRoutesRequest = (input, context) => {
|
|
4215
|
-
return {
|
|
4216
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4217
|
-
...(input.IpRoutes != null && { IpRoutes: se_IpRoutes(input.IpRoutes, context) }),
|
|
4218
|
-
...(input.UpdateSecurityGroupForDirectoryControllers != null && {
|
|
4219
|
-
UpdateSecurityGroupForDirectoryControllers: input.UpdateSecurityGroupForDirectoryControllers,
|
|
4220
|
-
}),
|
|
4221
|
-
};
|
|
4222
|
-
};
|
|
4223
|
-
const se_AddRegionRequest = (input, context) => {
|
|
4224
|
-
return {
|
|
4225
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4226
|
-
...(input.RegionName != null && { RegionName: input.RegionName }),
|
|
4227
|
-
...(input.VPCSettings != null && { VPCSettings: se_DirectoryVpcSettings(input.VPCSettings, context) }),
|
|
4228
|
-
};
|
|
3941
|
+
const de_AcceptSharedDirectoryResult = (output, context) => {
|
|
3942
|
+
return (0, smithy_client_1.take)(output, {
|
|
3943
|
+
SharedDirectory: (_) => de_SharedDirectory(_, context),
|
|
3944
|
+
});
|
|
4229
3945
|
};
|
|
4230
|
-
const
|
|
4231
|
-
return {
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
3946
|
+
const de_Certificate = (output, context) => {
|
|
3947
|
+
return (0, smithy_client_1.take)(output, {
|
|
3948
|
+
CertificateId: smithy_client_1.expectString,
|
|
3949
|
+
ClientCertAuthSettings: smithy_client_1._json,
|
|
3950
|
+
CommonName: smithy_client_1.expectString,
|
|
3951
|
+
ExpiryDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3952
|
+
RegisteredDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3953
|
+
State: smithy_client_1.expectString,
|
|
3954
|
+
StateReason: smithy_client_1.expectString,
|
|
3955
|
+
Type: smithy_client_1.expectString,
|
|
3956
|
+
});
|
|
4235
3957
|
};
|
|
4236
|
-
const
|
|
4237
|
-
return {
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
3958
|
+
const de_CertificateInfo = (output, context) => {
|
|
3959
|
+
return (0, smithy_client_1.take)(output, {
|
|
3960
|
+
CertificateId: smithy_client_1.expectString,
|
|
3961
|
+
CommonName: smithy_client_1.expectString,
|
|
3962
|
+
ExpiryDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3963
|
+
State: smithy_client_1.expectString,
|
|
3964
|
+
Type: smithy_client_1.expectString,
|
|
3965
|
+
});
|
|
4241
3966
|
};
|
|
4242
|
-
const
|
|
4243
|
-
|
|
3967
|
+
const de_CertificatesInfo = (output, context) => {
|
|
3968
|
+
const retVal = (output || [])
|
|
4244
3969
|
.filter((e) => e != null)
|
|
4245
3970
|
.map((entry) => {
|
|
4246
|
-
return
|
|
3971
|
+
return de_CertificateInfo(entry, context);
|
|
4247
3972
|
});
|
|
3973
|
+
return retVal;
|
|
4248
3974
|
};
|
|
4249
|
-
const
|
|
4250
|
-
return {
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
3975
|
+
const de_ClientAuthenticationSettingInfo = (output, context) => {
|
|
3976
|
+
return (0, smithy_client_1.take)(output, {
|
|
3977
|
+
LastUpdatedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3978
|
+
Status: smithy_client_1.expectString,
|
|
3979
|
+
Type: smithy_client_1.expectString,
|
|
3980
|
+
});
|
|
4254
3981
|
};
|
|
4255
|
-
const
|
|
4256
|
-
|
|
3982
|
+
const de_ClientAuthenticationSettingsInfo = (output, context) => {
|
|
3983
|
+
const retVal = (output || [])
|
|
4257
3984
|
.filter((e) => e != null)
|
|
4258
3985
|
.map((entry) => {
|
|
4259
|
-
return entry;
|
|
3986
|
+
return de_ClientAuthenticationSettingInfo(entry, context);
|
|
4260
3987
|
});
|
|
3988
|
+
return retVal;
|
|
4261
3989
|
};
|
|
4262
|
-
const
|
|
4263
|
-
return {
|
|
4264
|
-
|
|
4265
|
-
};
|
|
4266
|
-
};
|
|
4267
|
-
const se_ConnectDirectoryRequest = (input, context) => {
|
|
4268
|
-
return {
|
|
4269
|
-
...(input.ConnectSettings != null && {
|
|
4270
|
-
ConnectSettings: se_DirectoryConnectSettings(input.ConnectSettings, context),
|
|
4271
|
-
}),
|
|
4272
|
-
...(input.Description != null && { Description: input.Description }),
|
|
4273
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4274
|
-
...(input.Password != null && { Password: input.Password }),
|
|
4275
|
-
...(input.ShortName != null && { ShortName: input.ShortName }),
|
|
4276
|
-
...(input.Size != null && { Size: input.Size }),
|
|
4277
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
4278
|
-
};
|
|
4279
|
-
};
|
|
4280
|
-
const se_CreateAliasRequest = (input, context) => {
|
|
4281
|
-
return {
|
|
4282
|
-
...(input.Alias != null && { Alias: input.Alias }),
|
|
4283
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4284
|
-
};
|
|
3990
|
+
const de_DescribeCertificateResult = (output, context) => {
|
|
3991
|
+
return (0, smithy_client_1.take)(output, {
|
|
3992
|
+
Certificate: (_) => de_Certificate(_, context),
|
|
3993
|
+
});
|
|
4285
3994
|
};
|
|
4286
|
-
const
|
|
4287
|
-
return {
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
...(input.OrganizationalUnitDistinguishedName != null && {
|
|
4292
|
-
OrganizationalUnitDistinguishedName: input.OrganizationalUnitDistinguishedName,
|
|
4293
|
-
}),
|
|
4294
|
-
...(input.Password != null && { Password: input.Password }),
|
|
4295
|
-
};
|
|
3995
|
+
const de_DescribeClientAuthenticationSettingsResult = (output, context) => {
|
|
3996
|
+
return (0, smithy_client_1.take)(output, {
|
|
3997
|
+
ClientAuthenticationSettingsInfo: (_) => de_ClientAuthenticationSettingsInfo(_, context),
|
|
3998
|
+
NextToken: smithy_client_1.expectString,
|
|
3999
|
+
});
|
|
4296
4000
|
};
|
|
4297
|
-
const
|
|
4298
|
-
return {
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
};
|
|
4001
|
+
const de_DescribeDirectoriesResult = (output, context) => {
|
|
4002
|
+
return (0, smithy_client_1.take)(output, {
|
|
4003
|
+
DirectoryDescriptions: (_) => de_DirectoryDescriptions(_, context),
|
|
4004
|
+
NextToken: smithy_client_1.expectString,
|
|
4005
|
+
});
|
|
4303
4006
|
};
|
|
4304
|
-
const
|
|
4305
|
-
return {
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
...(input.ShortName != null && { ShortName: input.ShortName }),
|
|
4310
|
-
...(input.Size != null && { Size: input.Size }),
|
|
4311
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
4312
|
-
...(input.VpcSettings != null && { VpcSettings: se_DirectoryVpcSettings(input.VpcSettings, context) }),
|
|
4313
|
-
};
|
|
4007
|
+
const de_DescribeDomainControllersResult = (output, context) => {
|
|
4008
|
+
return (0, smithy_client_1.take)(output, {
|
|
4009
|
+
DomainControllers: (_) => de_DomainControllers(_, context),
|
|
4010
|
+
NextToken: smithy_client_1.expectString,
|
|
4011
|
+
});
|
|
4314
4012
|
};
|
|
4315
|
-
const
|
|
4316
|
-
return {
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
};
|
|
4013
|
+
const de_DescribeEventTopicsResult = (output, context) => {
|
|
4014
|
+
return (0, smithy_client_1.take)(output, {
|
|
4015
|
+
EventTopics: (_) => de_EventTopics(_, context),
|
|
4016
|
+
});
|
|
4320
4017
|
};
|
|
4321
|
-
const
|
|
4322
|
-
return {
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
...(input.Password != null && { Password: input.Password }),
|
|
4327
|
-
...(input.ShortName != null && { ShortName: input.ShortName }),
|
|
4328
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
4329
|
-
...(input.VpcSettings != null && { VpcSettings: se_DirectoryVpcSettings(input.VpcSettings, context) }),
|
|
4330
|
-
};
|
|
4018
|
+
const de_DescribeLDAPSSettingsResult = (output, context) => {
|
|
4019
|
+
return (0, smithy_client_1.take)(output, {
|
|
4020
|
+
LDAPSSettingsInfo: (_) => de_LDAPSSettingsInfo(_, context),
|
|
4021
|
+
NextToken: smithy_client_1.expectString,
|
|
4022
|
+
});
|
|
4331
4023
|
};
|
|
4332
|
-
const
|
|
4333
|
-
return {
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
};
|
|
4024
|
+
const de_DescribeRegionsResult = (output, context) => {
|
|
4025
|
+
return (0, smithy_client_1.take)(output, {
|
|
4026
|
+
NextToken: smithy_client_1.expectString,
|
|
4027
|
+
RegionsDescription: (_) => de_RegionsDescription(_, context),
|
|
4028
|
+
});
|
|
4337
4029
|
};
|
|
4338
|
-
const
|
|
4339
|
-
return {
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
...(input.RemoteDomainName != null && { RemoteDomainName: input.RemoteDomainName }),
|
|
4345
|
-
...(input.SelectiveAuth != null && { SelectiveAuth: input.SelectiveAuth }),
|
|
4346
|
-
...(input.TrustDirection != null && { TrustDirection: input.TrustDirection }),
|
|
4347
|
-
...(input.TrustPassword != null && { TrustPassword: input.TrustPassword }),
|
|
4348
|
-
...(input.TrustType != null && { TrustType: input.TrustType }),
|
|
4349
|
-
};
|
|
4350
|
-
};
|
|
4351
|
-
const se_DeleteConditionalForwarderRequest = (input, context) => {
|
|
4352
|
-
return {
|
|
4353
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4354
|
-
...(input.RemoteDomainName != null && { RemoteDomainName: input.RemoteDomainName }),
|
|
4355
|
-
};
|
|
4030
|
+
const de_DescribeSettingsResult = (output, context) => {
|
|
4031
|
+
return (0, smithy_client_1.take)(output, {
|
|
4032
|
+
DirectoryId: smithy_client_1.expectString,
|
|
4033
|
+
NextToken: smithy_client_1.expectString,
|
|
4034
|
+
SettingEntries: (_) => de_SettingEntries(_, context),
|
|
4035
|
+
});
|
|
4356
4036
|
};
|
|
4357
|
-
const
|
|
4358
|
-
return {
|
|
4359
|
-
|
|
4360
|
-
|
|
4037
|
+
const de_DescribeSharedDirectoriesResult = (output, context) => {
|
|
4038
|
+
return (0, smithy_client_1.take)(output, {
|
|
4039
|
+
NextToken: smithy_client_1.expectString,
|
|
4040
|
+
SharedDirectories: (_) => de_SharedDirectories(_, context),
|
|
4041
|
+
});
|
|
4361
4042
|
};
|
|
4362
|
-
const
|
|
4363
|
-
return {
|
|
4364
|
-
|
|
4365
|
-
|
|
4043
|
+
const de_DescribeSnapshotsResult = (output, context) => {
|
|
4044
|
+
return (0, smithy_client_1.take)(output, {
|
|
4045
|
+
NextToken: smithy_client_1.expectString,
|
|
4046
|
+
Snapshots: (_) => de_Snapshots(_, context),
|
|
4047
|
+
});
|
|
4366
4048
|
};
|
|
4367
|
-
const
|
|
4368
|
-
return {
|
|
4369
|
-
|
|
4370
|
-
|
|
4049
|
+
const de_DescribeTrustsResult = (output, context) => {
|
|
4050
|
+
return (0, smithy_client_1.take)(output, {
|
|
4051
|
+
NextToken: smithy_client_1.expectString,
|
|
4052
|
+
Trusts: (_) => de_Trusts(_, context),
|
|
4053
|
+
});
|
|
4371
4054
|
};
|
|
4372
|
-
const
|
|
4373
|
-
return {
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
...(input.TrustId != null && { TrustId: input.TrustId }),
|
|
4378
|
-
};
|
|
4055
|
+
const de_DescribeUpdateDirectoryResult = (output, context) => {
|
|
4056
|
+
return (0, smithy_client_1.take)(output, {
|
|
4057
|
+
NextToken: smithy_client_1.expectString,
|
|
4058
|
+
UpdateActivities: (_) => de_UpdateActivities(_, context),
|
|
4059
|
+
});
|
|
4379
4060
|
};
|
|
4380
|
-
const
|
|
4381
|
-
return {
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4061
|
+
const de_DirectoryDescription = (output, context) => {
|
|
4062
|
+
return (0, smithy_client_1.take)(output, {
|
|
4063
|
+
AccessUrl: smithy_client_1.expectString,
|
|
4064
|
+
Alias: smithy_client_1.expectString,
|
|
4065
|
+
ConnectSettings: smithy_client_1._json,
|
|
4066
|
+
Description: smithy_client_1.expectString,
|
|
4067
|
+
DesiredNumberOfDomainControllers: smithy_client_1.expectInt32,
|
|
4068
|
+
DirectoryId: smithy_client_1.expectString,
|
|
4069
|
+
DnsIpAddrs: smithy_client_1._json,
|
|
4070
|
+
Edition: smithy_client_1.expectString,
|
|
4071
|
+
LaunchTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4072
|
+
Name: smithy_client_1.expectString,
|
|
4073
|
+
OsVersion: smithy_client_1.expectString,
|
|
4074
|
+
OwnerDirectoryDescription: smithy_client_1._json,
|
|
4075
|
+
RadiusSettings: smithy_client_1._json,
|
|
4076
|
+
RadiusStatus: smithy_client_1.expectString,
|
|
4077
|
+
RegionsInfo: smithy_client_1._json,
|
|
4078
|
+
ShareMethod: smithy_client_1.expectString,
|
|
4079
|
+
ShareNotes: smithy_client_1.expectString,
|
|
4080
|
+
ShareStatus: smithy_client_1.expectString,
|
|
4081
|
+
ShortName: smithy_client_1.expectString,
|
|
4082
|
+
Size: smithy_client_1.expectString,
|
|
4083
|
+
SsoEnabled: smithy_client_1.expectBoolean,
|
|
4084
|
+
Stage: smithy_client_1.expectString,
|
|
4085
|
+
StageLastUpdatedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4086
|
+
StageReason: smithy_client_1.expectString,
|
|
4087
|
+
Type: smithy_client_1.expectString,
|
|
4088
|
+
VpcSettings: smithy_client_1._json,
|
|
4089
|
+
});
|
|
4385
4090
|
};
|
|
4386
|
-
const
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4091
|
+
const de_DirectoryDescriptions = (output, context) => {
|
|
4092
|
+
const retVal = (output || [])
|
|
4093
|
+
.filter((e) => e != null)
|
|
4094
|
+
.map((entry) => {
|
|
4095
|
+
return de_DirectoryDescription(entry, context);
|
|
4096
|
+
});
|
|
4097
|
+
return retVal;
|
|
4391
4098
|
};
|
|
4392
|
-
const
|
|
4393
|
-
return {
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4099
|
+
const de_DomainController = (output, context) => {
|
|
4100
|
+
return (0, smithy_client_1.take)(output, {
|
|
4101
|
+
AvailabilityZone: smithy_client_1.expectString,
|
|
4102
|
+
DirectoryId: smithy_client_1.expectString,
|
|
4103
|
+
DnsIpAddr: smithy_client_1.expectString,
|
|
4104
|
+
DomainControllerId: smithy_client_1.expectString,
|
|
4105
|
+
LaunchTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4106
|
+
Status: smithy_client_1.expectString,
|
|
4107
|
+
StatusLastUpdatedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4108
|
+
StatusReason: smithy_client_1.expectString,
|
|
4109
|
+
SubnetId: smithy_client_1.expectString,
|
|
4110
|
+
VpcId: smithy_client_1.expectString,
|
|
4111
|
+
});
|
|
4397
4112
|
};
|
|
4398
|
-
const
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4113
|
+
const de_DomainControllers = (output, context) => {
|
|
4114
|
+
const retVal = (output || [])
|
|
4115
|
+
.filter((e) => e != null)
|
|
4116
|
+
.map((entry) => {
|
|
4117
|
+
return de_DomainController(entry, context);
|
|
4118
|
+
});
|
|
4119
|
+
return retVal;
|
|
4405
4120
|
};
|
|
4406
|
-
const
|
|
4407
|
-
return {
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4121
|
+
const de_EventTopic = (output, context) => {
|
|
4122
|
+
return (0, smithy_client_1.take)(output, {
|
|
4123
|
+
CreatedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4124
|
+
DirectoryId: smithy_client_1.expectString,
|
|
4125
|
+
Status: smithy_client_1.expectString,
|
|
4126
|
+
TopicArn: smithy_client_1.expectString,
|
|
4127
|
+
TopicName: smithy_client_1.expectString,
|
|
4128
|
+
});
|
|
4413
4129
|
};
|
|
4414
|
-
const
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
};
|
|
4420
|
-
|
|
4421
|
-
const se_DescribeDomainControllersRequest = (input, context) => {
|
|
4422
|
-
return {
|
|
4423
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4424
|
-
...(input.DomainControllerIds != null && {
|
|
4425
|
-
DomainControllerIds: se_DomainControllerIds(input.DomainControllerIds, context),
|
|
4426
|
-
}),
|
|
4427
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4428
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4429
|
-
};
|
|
4430
|
-
};
|
|
4431
|
-
const se_DescribeEventTopicsRequest = (input, context) => {
|
|
4432
|
-
return {
|
|
4433
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4434
|
-
...(input.TopicNames != null && { TopicNames: se_TopicNames(input.TopicNames, context) }),
|
|
4435
|
-
};
|
|
4436
|
-
};
|
|
4437
|
-
const se_DescribeLDAPSSettingsRequest = (input, context) => {
|
|
4438
|
-
return {
|
|
4439
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4440
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4441
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4442
|
-
...(input.Type != null && { Type: input.Type }),
|
|
4443
|
-
};
|
|
4444
|
-
};
|
|
4445
|
-
const se_DescribeRegionsRequest = (input, context) => {
|
|
4446
|
-
return {
|
|
4447
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4448
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4449
|
-
...(input.RegionName != null && { RegionName: input.RegionName }),
|
|
4450
|
-
};
|
|
4451
|
-
};
|
|
4452
|
-
const se_DescribeSettingsRequest = (input, context) => {
|
|
4453
|
-
return {
|
|
4454
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4455
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4456
|
-
...(input.Status != null && { Status: input.Status }),
|
|
4457
|
-
};
|
|
4458
|
-
};
|
|
4459
|
-
const se_DescribeSharedDirectoriesRequest = (input, context) => {
|
|
4460
|
-
return {
|
|
4461
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4462
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4463
|
-
...(input.OwnerDirectoryId != null && { OwnerDirectoryId: input.OwnerDirectoryId }),
|
|
4464
|
-
...(input.SharedDirectoryIds != null && { SharedDirectoryIds: se_DirectoryIds(input.SharedDirectoryIds, context) }),
|
|
4465
|
-
};
|
|
4466
|
-
};
|
|
4467
|
-
const se_DescribeSnapshotsRequest = (input, context) => {
|
|
4468
|
-
return {
|
|
4469
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4470
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4471
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4472
|
-
...(input.SnapshotIds != null && { SnapshotIds: se_SnapshotIds(input.SnapshotIds, context) }),
|
|
4473
|
-
};
|
|
4474
|
-
};
|
|
4475
|
-
const se_DescribeTrustsRequest = (input, context) => {
|
|
4476
|
-
return {
|
|
4477
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4478
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4479
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4480
|
-
...(input.TrustIds != null && { TrustIds: se_TrustIds(input.TrustIds, context) }),
|
|
4481
|
-
};
|
|
4482
|
-
};
|
|
4483
|
-
const se_DescribeUpdateDirectoryRequest = (input, context) => {
|
|
4484
|
-
return {
|
|
4485
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4486
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4487
|
-
...(input.RegionName != null && { RegionName: input.RegionName }),
|
|
4488
|
-
...(input.UpdateType != null && { UpdateType: input.UpdateType }),
|
|
4489
|
-
};
|
|
4490
|
-
};
|
|
4491
|
-
const se_DirectoryConnectSettings = (input, context) => {
|
|
4492
|
-
return {
|
|
4493
|
-
...(input.CustomerDnsIps != null && { CustomerDnsIps: se_DnsIpAddrs(input.CustomerDnsIps, context) }),
|
|
4494
|
-
...(input.CustomerUserName != null && { CustomerUserName: input.CustomerUserName }),
|
|
4495
|
-
...(input.SubnetIds != null && { SubnetIds: se_SubnetIds(input.SubnetIds, context) }),
|
|
4496
|
-
...(input.VpcId != null && { VpcId: input.VpcId }),
|
|
4497
|
-
};
|
|
4498
|
-
};
|
|
4499
|
-
const se_DirectoryIds = (input, context) => {
|
|
4500
|
-
return input
|
|
4501
|
-
.filter((e) => e != null)
|
|
4502
|
-
.map((entry) => {
|
|
4503
|
-
return entry;
|
|
4504
|
-
});
|
|
4505
|
-
};
|
|
4506
|
-
const se_DirectoryVpcSettings = (input, context) => {
|
|
4507
|
-
return {
|
|
4508
|
-
...(input.SubnetIds != null && { SubnetIds: se_SubnetIds(input.SubnetIds, context) }),
|
|
4509
|
-
...(input.VpcId != null && { VpcId: input.VpcId }),
|
|
4510
|
-
};
|
|
4511
|
-
};
|
|
4512
|
-
const se_DisableClientAuthenticationRequest = (input, context) => {
|
|
4513
|
-
return {
|
|
4514
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4515
|
-
...(input.Type != null && { Type: input.Type }),
|
|
4516
|
-
};
|
|
4517
|
-
};
|
|
4518
|
-
const se_DisableLDAPSRequest = (input, context) => {
|
|
4519
|
-
return {
|
|
4520
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4521
|
-
...(input.Type != null && { Type: input.Type }),
|
|
4522
|
-
};
|
|
4523
|
-
};
|
|
4524
|
-
const se_DisableRadiusRequest = (input, context) => {
|
|
4525
|
-
return {
|
|
4526
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4527
|
-
};
|
|
4528
|
-
};
|
|
4529
|
-
const se_DisableSsoRequest = (input, context) => {
|
|
4530
|
-
return {
|
|
4531
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4532
|
-
...(input.Password != null && { Password: input.Password }),
|
|
4533
|
-
...(input.UserName != null && { UserName: input.UserName }),
|
|
4534
|
-
};
|
|
4535
|
-
};
|
|
4536
|
-
const se_DnsIpAddrs = (input, context) => {
|
|
4537
|
-
return input
|
|
4538
|
-
.filter((e) => e != null)
|
|
4539
|
-
.map((entry) => {
|
|
4540
|
-
return entry;
|
|
4541
|
-
});
|
|
4542
|
-
};
|
|
4543
|
-
const se_DomainControllerIds = (input, context) => {
|
|
4544
|
-
return input
|
|
4545
|
-
.filter((e) => e != null)
|
|
4546
|
-
.map((entry) => {
|
|
4547
|
-
return entry;
|
|
4548
|
-
});
|
|
4549
|
-
};
|
|
4550
|
-
const se_EnableClientAuthenticationRequest = (input, context) => {
|
|
4551
|
-
return {
|
|
4552
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4553
|
-
...(input.Type != null && { Type: input.Type }),
|
|
4554
|
-
};
|
|
4555
|
-
};
|
|
4556
|
-
const se_EnableLDAPSRequest = (input, context) => {
|
|
4557
|
-
return {
|
|
4558
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4559
|
-
...(input.Type != null && { Type: input.Type }),
|
|
4560
|
-
};
|
|
4561
|
-
};
|
|
4562
|
-
const se_EnableRadiusRequest = (input, context) => {
|
|
4563
|
-
return {
|
|
4564
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4565
|
-
...(input.RadiusSettings != null && { RadiusSettings: se_RadiusSettings(input.RadiusSettings, context) }),
|
|
4566
|
-
};
|
|
4567
|
-
};
|
|
4568
|
-
const se_EnableSsoRequest = (input, context) => {
|
|
4569
|
-
return {
|
|
4570
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4571
|
-
...(input.Password != null && { Password: input.Password }),
|
|
4572
|
-
...(input.UserName != null && { UserName: input.UserName }),
|
|
4573
|
-
};
|
|
4574
|
-
};
|
|
4575
|
-
const se_GetDirectoryLimitsRequest = (input, context) => {
|
|
4576
|
-
return {};
|
|
4577
|
-
};
|
|
4578
|
-
const se_GetSnapshotLimitsRequest = (input, context) => {
|
|
4579
|
-
return {
|
|
4580
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4581
|
-
};
|
|
4582
|
-
};
|
|
4583
|
-
const se_IpRoute = (input, context) => {
|
|
4584
|
-
return {
|
|
4585
|
-
...(input.CidrIp != null && { CidrIp: input.CidrIp }),
|
|
4586
|
-
...(input.Description != null && { Description: input.Description }),
|
|
4587
|
-
};
|
|
4588
|
-
};
|
|
4589
|
-
const se_IpRoutes = (input, context) => {
|
|
4590
|
-
return input
|
|
4591
|
-
.filter((e) => e != null)
|
|
4592
|
-
.map((entry) => {
|
|
4593
|
-
return se_IpRoute(entry, context);
|
|
4594
|
-
});
|
|
4595
|
-
};
|
|
4596
|
-
const se_ListCertificatesRequest = (input, context) => {
|
|
4597
|
-
return {
|
|
4598
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4599
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4600
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4601
|
-
};
|
|
4602
|
-
};
|
|
4603
|
-
const se_ListIpRoutesRequest = (input, context) => {
|
|
4604
|
-
return {
|
|
4605
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4606
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4607
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4608
|
-
};
|
|
4609
|
-
};
|
|
4610
|
-
const se_ListLogSubscriptionsRequest = (input, context) => {
|
|
4611
|
-
return {
|
|
4612
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4613
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4614
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4615
|
-
};
|
|
4616
|
-
};
|
|
4617
|
-
const se_ListSchemaExtensionsRequest = (input, context) => {
|
|
4618
|
-
return {
|
|
4619
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4620
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4621
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4622
|
-
};
|
|
4623
|
-
};
|
|
4624
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
4625
|
-
return {
|
|
4626
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4627
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4628
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4629
|
-
};
|
|
4630
|
-
};
|
|
4631
|
-
const se_OSUpdateSettings = (input, context) => {
|
|
4632
|
-
return {
|
|
4633
|
-
...(input.OSVersion != null && { OSVersion: input.OSVersion }),
|
|
4634
|
-
};
|
|
4635
|
-
};
|
|
4636
|
-
const se_RadiusSettings = (input, context) => {
|
|
4637
|
-
return {
|
|
4638
|
-
...(input.AuthenticationProtocol != null && { AuthenticationProtocol: input.AuthenticationProtocol }),
|
|
4639
|
-
...(input.DisplayLabel != null && { DisplayLabel: input.DisplayLabel }),
|
|
4640
|
-
...(input.RadiusPort != null && { RadiusPort: input.RadiusPort }),
|
|
4641
|
-
...(input.RadiusRetries != null && { RadiusRetries: input.RadiusRetries }),
|
|
4642
|
-
...(input.RadiusServers != null && { RadiusServers: se_Servers(input.RadiusServers, context) }),
|
|
4643
|
-
...(input.RadiusTimeout != null && { RadiusTimeout: input.RadiusTimeout }),
|
|
4644
|
-
...(input.SharedSecret != null && { SharedSecret: input.SharedSecret }),
|
|
4645
|
-
...(input.UseSameUsername != null && { UseSameUsername: input.UseSameUsername }),
|
|
4646
|
-
};
|
|
4647
|
-
};
|
|
4648
|
-
const se_RegisterCertificateRequest = (input, context) => {
|
|
4649
|
-
return {
|
|
4650
|
-
...(input.CertificateData != null && { CertificateData: input.CertificateData }),
|
|
4651
|
-
...(input.ClientCertAuthSettings != null && {
|
|
4652
|
-
ClientCertAuthSettings: se_ClientCertAuthSettings(input.ClientCertAuthSettings, context),
|
|
4653
|
-
}),
|
|
4654
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4655
|
-
...(input.Type != null && { Type: input.Type }),
|
|
4656
|
-
};
|
|
4657
|
-
};
|
|
4658
|
-
const se_RegisterEventTopicRequest = (input, context) => {
|
|
4659
|
-
return {
|
|
4660
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4661
|
-
...(input.TopicName != null && { TopicName: input.TopicName }),
|
|
4662
|
-
};
|
|
4663
|
-
};
|
|
4664
|
-
const se_RejectSharedDirectoryRequest = (input, context) => {
|
|
4665
|
-
return {
|
|
4666
|
-
...(input.SharedDirectoryId != null && { SharedDirectoryId: input.SharedDirectoryId }),
|
|
4667
|
-
};
|
|
4668
|
-
};
|
|
4669
|
-
const se_RemoteDomainNames = (input, context) => {
|
|
4670
|
-
return input
|
|
4671
|
-
.filter((e) => e != null)
|
|
4672
|
-
.map((entry) => {
|
|
4673
|
-
return entry;
|
|
4674
|
-
});
|
|
4675
|
-
};
|
|
4676
|
-
const se_RemoveIpRoutesRequest = (input, context) => {
|
|
4677
|
-
return {
|
|
4678
|
-
...(input.CidrIps != null && { CidrIps: se_CidrIps(input.CidrIps, context) }),
|
|
4679
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4680
|
-
};
|
|
4681
|
-
};
|
|
4682
|
-
const se_RemoveRegionRequest = (input, context) => {
|
|
4683
|
-
return {
|
|
4684
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4685
|
-
};
|
|
4686
|
-
};
|
|
4687
|
-
const se_RemoveTagsFromResourceRequest = (input, context) => {
|
|
4688
|
-
return {
|
|
4689
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4690
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeys(input.TagKeys, context) }),
|
|
4691
|
-
};
|
|
4692
|
-
};
|
|
4693
|
-
const se_ResetUserPasswordRequest = (input, context) => {
|
|
4694
|
-
return {
|
|
4695
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4696
|
-
...(input.NewPassword != null && { NewPassword: input.NewPassword }),
|
|
4697
|
-
...(input.UserName != null && { UserName: input.UserName }),
|
|
4698
|
-
};
|
|
4699
|
-
};
|
|
4700
|
-
const se_RestoreFromSnapshotRequest = (input, context) => {
|
|
4701
|
-
return {
|
|
4702
|
-
...(input.SnapshotId != null && { SnapshotId: input.SnapshotId }),
|
|
4703
|
-
};
|
|
4704
|
-
};
|
|
4705
|
-
const se_Servers = (input, context) => {
|
|
4706
|
-
return input
|
|
4707
|
-
.filter((e) => e != null)
|
|
4708
|
-
.map((entry) => {
|
|
4709
|
-
return entry;
|
|
4710
|
-
});
|
|
4711
|
-
};
|
|
4712
|
-
const se_Setting = (input, context) => {
|
|
4713
|
-
return {
|
|
4714
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4715
|
-
...(input.Value != null && { Value: input.Value }),
|
|
4716
|
-
};
|
|
4717
|
-
};
|
|
4718
|
-
const se_Settings = (input, context) => {
|
|
4719
|
-
return input
|
|
4720
|
-
.filter((e) => e != null)
|
|
4721
|
-
.map((entry) => {
|
|
4722
|
-
return se_Setting(entry, context);
|
|
4723
|
-
});
|
|
4724
|
-
};
|
|
4725
|
-
const se_ShareDirectoryRequest = (input, context) => {
|
|
4726
|
-
return {
|
|
4727
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4728
|
-
...(input.ShareMethod != null && { ShareMethod: input.ShareMethod }),
|
|
4729
|
-
...(input.ShareNotes != null && { ShareNotes: input.ShareNotes }),
|
|
4730
|
-
...(input.ShareTarget != null && { ShareTarget: se_ShareTarget(input.ShareTarget, context) }),
|
|
4731
|
-
};
|
|
4732
|
-
};
|
|
4733
|
-
const se_ShareTarget = (input, context) => {
|
|
4734
|
-
return {
|
|
4735
|
-
...(input.Id != null && { Id: input.Id }),
|
|
4736
|
-
...(input.Type != null && { Type: input.Type }),
|
|
4737
|
-
};
|
|
4738
|
-
};
|
|
4739
|
-
const se_SnapshotIds = (input, context) => {
|
|
4740
|
-
return input
|
|
4741
|
-
.filter((e) => e != null)
|
|
4742
|
-
.map((entry) => {
|
|
4743
|
-
return entry;
|
|
4744
|
-
});
|
|
4745
|
-
};
|
|
4746
|
-
const se_StartSchemaExtensionRequest = (input, context) => {
|
|
4747
|
-
return {
|
|
4748
|
-
...(input.CreateSnapshotBeforeSchemaExtension != null && {
|
|
4749
|
-
CreateSnapshotBeforeSchemaExtension: input.CreateSnapshotBeforeSchemaExtension,
|
|
4750
|
-
}),
|
|
4751
|
-
...(input.Description != null && { Description: input.Description }),
|
|
4752
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4753
|
-
...(input.LdifContent != null && { LdifContent: input.LdifContent }),
|
|
4754
|
-
};
|
|
4755
|
-
};
|
|
4756
|
-
const se_SubnetIds = (input, context) => {
|
|
4757
|
-
return input
|
|
4758
|
-
.filter((e) => e != null)
|
|
4759
|
-
.map((entry) => {
|
|
4760
|
-
return entry;
|
|
4761
|
-
});
|
|
4762
|
-
};
|
|
4763
|
-
const se_Tag = (input, context) => {
|
|
4764
|
-
return {
|
|
4765
|
-
...(input.Key != null && { Key: input.Key }),
|
|
4766
|
-
...(input.Value != null && { Value: input.Value }),
|
|
4767
|
-
};
|
|
4768
|
-
};
|
|
4769
|
-
const se_TagKeys = (input, context) => {
|
|
4770
|
-
return input
|
|
4771
|
-
.filter((e) => e != null)
|
|
4772
|
-
.map((entry) => {
|
|
4773
|
-
return entry;
|
|
4774
|
-
});
|
|
4775
|
-
};
|
|
4776
|
-
const se_Tags = (input, context) => {
|
|
4777
|
-
return input
|
|
4778
|
-
.filter((e) => e != null)
|
|
4779
|
-
.map((entry) => {
|
|
4780
|
-
return se_Tag(entry, context);
|
|
4781
|
-
});
|
|
4782
|
-
};
|
|
4783
|
-
const se_TopicNames = (input, context) => {
|
|
4784
|
-
return input
|
|
4785
|
-
.filter((e) => e != null)
|
|
4786
|
-
.map((entry) => {
|
|
4787
|
-
return entry;
|
|
4788
|
-
});
|
|
4789
|
-
};
|
|
4790
|
-
const se_TrustIds = (input, context) => {
|
|
4791
|
-
return input
|
|
4792
|
-
.filter((e) => e != null)
|
|
4793
|
-
.map((entry) => {
|
|
4794
|
-
return entry;
|
|
4795
|
-
});
|
|
4796
|
-
};
|
|
4797
|
-
const se_UnshareDirectoryRequest = (input, context) => {
|
|
4798
|
-
return {
|
|
4799
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4800
|
-
...(input.UnshareTarget != null && { UnshareTarget: se_UnshareTarget(input.UnshareTarget, context) }),
|
|
4801
|
-
};
|
|
4802
|
-
};
|
|
4803
|
-
const se_UnshareTarget = (input, context) => {
|
|
4804
|
-
return {
|
|
4805
|
-
...(input.Id != null && { Id: input.Id }),
|
|
4806
|
-
...(input.Type != null && { Type: input.Type }),
|
|
4807
|
-
};
|
|
4808
|
-
};
|
|
4809
|
-
const se_UpdateConditionalForwarderRequest = (input, context) => {
|
|
4810
|
-
return {
|
|
4811
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4812
|
-
...(input.DnsIpAddrs != null && { DnsIpAddrs: se_DnsIpAddrs(input.DnsIpAddrs, context) }),
|
|
4813
|
-
...(input.RemoteDomainName != null && { RemoteDomainName: input.RemoteDomainName }),
|
|
4814
|
-
};
|
|
4815
|
-
};
|
|
4816
|
-
const se_UpdateDirectorySetupRequest = (input, context) => {
|
|
4817
|
-
return {
|
|
4818
|
-
...(input.CreateSnapshotBeforeUpdate != null && { CreateSnapshotBeforeUpdate: input.CreateSnapshotBeforeUpdate }),
|
|
4819
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4820
|
-
...(input.OSUpdateSettings != null && { OSUpdateSettings: se_OSUpdateSettings(input.OSUpdateSettings, context) }),
|
|
4821
|
-
...(input.UpdateType != null && { UpdateType: input.UpdateType }),
|
|
4822
|
-
};
|
|
4823
|
-
};
|
|
4824
|
-
const se_UpdateNumberOfDomainControllersRequest = (input, context) => {
|
|
4825
|
-
return {
|
|
4826
|
-
...(input.DesiredNumber != null && { DesiredNumber: input.DesiredNumber }),
|
|
4827
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4828
|
-
};
|
|
4829
|
-
};
|
|
4830
|
-
const se_UpdateRadiusRequest = (input, context) => {
|
|
4831
|
-
return {
|
|
4832
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4833
|
-
...(input.RadiusSettings != null && { RadiusSettings: se_RadiusSettings(input.RadiusSettings, context) }),
|
|
4834
|
-
};
|
|
4835
|
-
};
|
|
4836
|
-
const se_UpdateSettingsRequest = (input, context) => {
|
|
4837
|
-
return {
|
|
4838
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
4839
|
-
...(input.Settings != null && { Settings: se_Settings(input.Settings, context) }),
|
|
4840
|
-
};
|
|
4841
|
-
};
|
|
4842
|
-
const se_UpdateTrustRequest = (input, context) => {
|
|
4843
|
-
return {
|
|
4844
|
-
...(input.SelectiveAuth != null && { SelectiveAuth: input.SelectiveAuth }),
|
|
4845
|
-
...(input.TrustId != null && { TrustId: input.TrustId }),
|
|
4846
|
-
};
|
|
4847
|
-
};
|
|
4848
|
-
const se_VerifyTrustRequest = (input, context) => {
|
|
4849
|
-
return {
|
|
4850
|
-
...(input.TrustId != null && { TrustId: input.TrustId }),
|
|
4851
|
-
};
|
|
4852
|
-
};
|
|
4853
|
-
const de_AcceptSharedDirectoryResult = (output, context) => {
|
|
4854
|
-
return {
|
|
4855
|
-
SharedDirectory: output.SharedDirectory != null ? de_SharedDirectory(output.SharedDirectory, context) : undefined,
|
|
4856
|
-
};
|
|
4857
|
-
};
|
|
4858
|
-
const de_AccessDeniedException = (output, context) => {
|
|
4859
|
-
return {
|
|
4860
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4861
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
4862
|
-
};
|
|
4863
|
-
};
|
|
4864
|
-
const de_AddIpRoutesResult = (output, context) => {
|
|
4865
|
-
return {};
|
|
4866
|
-
};
|
|
4867
|
-
const de_AdditionalRegions = (output, context) => {
|
|
4868
|
-
const retVal = (output || [])
|
|
4869
|
-
.filter((e) => e != null)
|
|
4870
|
-
.map((entry) => {
|
|
4871
|
-
if (entry === null) {
|
|
4872
|
-
return null;
|
|
4873
|
-
}
|
|
4874
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4875
|
-
});
|
|
4876
|
-
return retVal;
|
|
4877
|
-
};
|
|
4878
|
-
const de_AddRegionResult = (output, context) => {
|
|
4879
|
-
return {};
|
|
4880
|
-
};
|
|
4881
|
-
const de_AddTagsToResourceResult = (output, context) => {
|
|
4882
|
-
return {};
|
|
4883
|
-
};
|
|
4884
|
-
const de_Attribute = (output, context) => {
|
|
4885
|
-
return {
|
|
4886
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4887
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
4888
|
-
};
|
|
4889
|
-
};
|
|
4890
|
-
const de_Attributes = (output, context) => {
|
|
4891
|
-
const retVal = (output || [])
|
|
4892
|
-
.filter((e) => e != null)
|
|
4893
|
-
.map((entry) => {
|
|
4894
|
-
if (entry === null) {
|
|
4895
|
-
return null;
|
|
4896
|
-
}
|
|
4897
|
-
return de_Attribute(entry, context);
|
|
4898
|
-
});
|
|
4899
|
-
return retVal;
|
|
4900
|
-
};
|
|
4901
|
-
const de_AuthenticationFailedException = (output, context) => {
|
|
4902
|
-
return {
|
|
4903
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4904
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
4905
|
-
};
|
|
4906
|
-
};
|
|
4907
|
-
const de_AvailabilityZones = (output, context) => {
|
|
4908
|
-
const retVal = (output || [])
|
|
4909
|
-
.filter((e) => e != null)
|
|
4910
|
-
.map((entry) => {
|
|
4911
|
-
if (entry === null) {
|
|
4912
|
-
return null;
|
|
4913
|
-
}
|
|
4914
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4915
|
-
});
|
|
4916
|
-
return retVal;
|
|
4917
|
-
};
|
|
4918
|
-
const de_CancelSchemaExtensionResult = (output, context) => {
|
|
4919
|
-
return {};
|
|
4920
|
-
};
|
|
4921
|
-
const de_Certificate = (output, context) => {
|
|
4922
|
-
return {
|
|
4923
|
-
CertificateId: (0, smithy_client_1.expectString)(output.CertificateId),
|
|
4924
|
-
ClientCertAuthSettings: output.ClientCertAuthSettings != null
|
|
4925
|
-
? de_ClientCertAuthSettings(output.ClientCertAuthSettings, context)
|
|
4926
|
-
: undefined,
|
|
4927
|
-
CommonName: (0, smithy_client_1.expectString)(output.CommonName),
|
|
4928
|
-
ExpiryDateTime: output.ExpiryDateTime != null
|
|
4929
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpiryDateTime)))
|
|
4930
|
-
: undefined,
|
|
4931
|
-
RegisteredDateTime: output.RegisteredDateTime != null
|
|
4932
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.RegisteredDateTime)))
|
|
4933
|
-
: undefined,
|
|
4934
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4935
|
-
StateReason: (0, smithy_client_1.expectString)(output.StateReason),
|
|
4936
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
4937
|
-
};
|
|
4938
|
-
};
|
|
4939
|
-
const de_CertificateAlreadyExistsException = (output, context) => {
|
|
4940
|
-
return {
|
|
4941
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4942
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
4943
|
-
};
|
|
4944
|
-
};
|
|
4945
|
-
const de_CertificateDoesNotExistException = (output, context) => {
|
|
4946
|
-
return {
|
|
4947
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4948
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
4949
|
-
};
|
|
4950
|
-
};
|
|
4951
|
-
const de_CertificateInfo = (output, context) => {
|
|
4952
|
-
return {
|
|
4953
|
-
CertificateId: (0, smithy_client_1.expectString)(output.CertificateId),
|
|
4954
|
-
CommonName: (0, smithy_client_1.expectString)(output.CommonName),
|
|
4955
|
-
ExpiryDateTime: output.ExpiryDateTime != null
|
|
4956
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpiryDateTime)))
|
|
4957
|
-
: undefined,
|
|
4958
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4959
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
4960
|
-
};
|
|
4961
|
-
};
|
|
4962
|
-
const de_CertificateInUseException = (output, context) => {
|
|
4963
|
-
return {
|
|
4964
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4965
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
4966
|
-
};
|
|
4967
|
-
};
|
|
4968
|
-
const de_CertificateLimitExceededException = (output, context) => {
|
|
4969
|
-
return {
|
|
4970
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4971
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
4972
|
-
};
|
|
4973
|
-
};
|
|
4974
|
-
const de_CertificatesInfo = (output, context) => {
|
|
4975
|
-
const retVal = (output || [])
|
|
4976
|
-
.filter((e) => e != null)
|
|
4977
|
-
.map((entry) => {
|
|
4978
|
-
if (entry === null) {
|
|
4979
|
-
return null;
|
|
4980
|
-
}
|
|
4981
|
-
return de_CertificateInfo(entry, context);
|
|
4982
|
-
});
|
|
4983
|
-
return retVal;
|
|
4984
|
-
};
|
|
4985
|
-
const de_ClientAuthenticationSettingInfo = (output, context) => {
|
|
4986
|
-
return {
|
|
4987
|
-
LastUpdatedDateTime: output.LastUpdatedDateTime != null
|
|
4988
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedDateTime)))
|
|
4989
|
-
: undefined,
|
|
4990
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4991
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
4992
|
-
};
|
|
4993
|
-
};
|
|
4994
|
-
const de_ClientAuthenticationSettingsInfo = (output, context) => {
|
|
4995
|
-
const retVal = (output || [])
|
|
4996
|
-
.filter((e) => e != null)
|
|
4997
|
-
.map((entry) => {
|
|
4998
|
-
if (entry === null) {
|
|
4999
|
-
return null;
|
|
5000
|
-
}
|
|
5001
|
-
return de_ClientAuthenticationSettingInfo(entry, context);
|
|
5002
|
-
});
|
|
5003
|
-
return retVal;
|
|
5004
|
-
};
|
|
5005
|
-
const de_ClientCertAuthSettings = (output, context) => {
|
|
5006
|
-
return {
|
|
5007
|
-
OCSPUrl: (0, smithy_client_1.expectString)(output.OCSPUrl),
|
|
5008
|
-
};
|
|
5009
|
-
};
|
|
5010
|
-
const de_ClientException = (output, context) => {
|
|
5011
|
-
return {
|
|
5012
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5013
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5014
|
-
};
|
|
5015
|
-
};
|
|
5016
|
-
const de_Computer = (output, context) => {
|
|
5017
|
-
return {
|
|
5018
|
-
ComputerAttributes: output.ComputerAttributes != null ? de_Attributes(output.ComputerAttributes, context) : undefined,
|
|
5019
|
-
ComputerId: (0, smithy_client_1.expectString)(output.ComputerId),
|
|
5020
|
-
ComputerName: (0, smithy_client_1.expectString)(output.ComputerName),
|
|
5021
|
-
};
|
|
5022
|
-
};
|
|
5023
|
-
const de_ConditionalForwarder = (output, context) => {
|
|
5024
|
-
return {
|
|
5025
|
-
DnsIpAddrs: output.DnsIpAddrs != null ? de_DnsIpAddrs(output.DnsIpAddrs, context) : undefined,
|
|
5026
|
-
RemoteDomainName: (0, smithy_client_1.expectString)(output.RemoteDomainName),
|
|
5027
|
-
ReplicationScope: (0, smithy_client_1.expectString)(output.ReplicationScope),
|
|
5028
|
-
};
|
|
5029
|
-
};
|
|
5030
|
-
const de_ConditionalForwarders = (output, context) => {
|
|
5031
|
-
const retVal = (output || [])
|
|
5032
|
-
.filter((e) => e != null)
|
|
5033
|
-
.map((entry) => {
|
|
5034
|
-
if (entry === null) {
|
|
5035
|
-
return null;
|
|
5036
|
-
}
|
|
5037
|
-
return de_ConditionalForwarder(entry, context);
|
|
5038
|
-
});
|
|
5039
|
-
return retVal;
|
|
5040
|
-
};
|
|
5041
|
-
const de_ConnectDirectoryResult = (output, context) => {
|
|
5042
|
-
return {
|
|
5043
|
-
DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
|
|
5044
|
-
};
|
|
5045
|
-
};
|
|
5046
|
-
const de_CreateAliasResult = (output, context) => {
|
|
5047
|
-
return {
|
|
5048
|
-
Alias: (0, smithy_client_1.expectString)(output.Alias),
|
|
5049
|
-
DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
|
|
5050
|
-
};
|
|
5051
|
-
};
|
|
5052
|
-
const de_CreateComputerResult = (output, context) => {
|
|
5053
|
-
return {
|
|
5054
|
-
Computer: output.Computer != null ? de_Computer(output.Computer, context) : undefined,
|
|
5055
|
-
};
|
|
5056
|
-
};
|
|
5057
|
-
const de_CreateConditionalForwarderResult = (output, context) => {
|
|
5058
|
-
return {};
|
|
5059
|
-
};
|
|
5060
|
-
const de_CreateDirectoryResult = (output, context) => {
|
|
5061
|
-
return {
|
|
5062
|
-
DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
|
|
5063
|
-
};
|
|
5064
|
-
};
|
|
5065
|
-
const de_CreateLogSubscriptionResult = (output, context) => {
|
|
5066
|
-
return {};
|
|
5067
|
-
};
|
|
5068
|
-
const de_CreateMicrosoftADResult = (output, context) => {
|
|
5069
|
-
return {
|
|
5070
|
-
DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
|
|
5071
|
-
};
|
|
5072
|
-
};
|
|
5073
|
-
const de_CreateSnapshotResult = (output, context) => {
|
|
5074
|
-
return {
|
|
5075
|
-
SnapshotId: (0, smithy_client_1.expectString)(output.SnapshotId),
|
|
5076
|
-
};
|
|
5077
|
-
};
|
|
5078
|
-
const de_CreateTrustResult = (output, context) => {
|
|
5079
|
-
return {
|
|
5080
|
-
TrustId: (0, smithy_client_1.expectString)(output.TrustId),
|
|
5081
|
-
};
|
|
5082
|
-
};
|
|
5083
|
-
const de_DeleteConditionalForwarderResult = (output, context) => {
|
|
5084
|
-
return {};
|
|
5085
|
-
};
|
|
5086
|
-
const de_DeleteDirectoryResult = (output, context) => {
|
|
5087
|
-
return {
|
|
5088
|
-
DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
|
|
5089
|
-
};
|
|
5090
|
-
};
|
|
5091
|
-
const de_DeleteLogSubscriptionResult = (output, context) => {
|
|
5092
|
-
return {};
|
|
5093
|
-
};
|
|
5094
|
-
const de_DeleteSnapshotResult = (output, context) => {
|
|
5095
|
-
return {
|
|
5096
|
-
SnapshotId: (0, smithy_client_1.expectString)(output.SnapshotId),
|
|
5097
|
-
};
|
|
5098
|
-
};
|
|
5099
|
-
const de_DeleteTrustResult = (output, context) => {
|
|
5100
|
-
return {
|
|
5101
|
-
TrustId: (0, smithy_client_1.expectString)(output.TrustId),
|
|
5102
|
-
};
|
|
5103
|
-
};
|
|
5104
|
-
const de_DeregisterCertificateResult = (output, context) => {
|
|
5105
|
-
return {};
|
|
5106
|
-
};
|
|
5107
|
-
const de_DeregisterEventTopicResult = (output, context) => {
|
|
5108
|
-
return {};
|
|
5109
|
-
};
|
|
5110
|
-
const de_DescribeCertificateResult = (output, context) => {
|
|
5111
|
-
return {
|
|
5112
|
-
Certificate: output.Certificate != null ? de_Certificate(output.Certificate, context) : undefined,
|
|
5113
|
-
};
|
|
5114
|
-
};
|
|
5115
|
-
const de_DescribeClientAuthenticationSettingsResult = (output, context) => {
|
|
5116
|
-
return {
|
|
5117
|
-
ClientAuthenticationSettingsInfo: output.ClientAuthenticationSettingsInfo != null
|
|
5118
|
-
? de_ClientAuthenticationSettingsInfo(output.ClientAuthenticationSettingsInfo, context)
|
|
5119
|
-
: undefined,
|
|
5120
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5121
|
-
};
|
|
5122
|
-
};
|
|
5123
|
-
const de_DescribeConditionalForwardersResult = (output, context) => {
|
|
5124
|
-
return {
|
|
5125
|
-
ConditionalForwarders: output.ConditionalForwarders != null
|
|
5126
|
-
? de_ConditionalForwarders(output.ConditionalForwarders, context)
|
|
5127
|
-
: undefined,
|
|
5128
|
-
};
|
|
5129
|
-
};
|
|
5130
|
-
const de_DescribeDirectoriesResult = (output, context) => {
|
|
5131
|
-
return {
|
|
5132
|
-
DirectoryDescriptions: output.DirectoryDescriptions != null
|
|
5133
|
-
? de_DirectoryDescriptions(output.DirectoryDescriptions, context)
|
|
5134
|
-
: undefined,
|
|
5135
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5136
|
-
};
|
|
5137
|
-
};
|
|
5138
|
-
const de_DescribeDomainControllersResult = (output, context) => {
|
|
5139
|
-
return {
|
|
5140
|
-
DomainControllers: output.DomainControllers != null ? de_DomainControllers(output.DomainControllers, context) : undefined,
|
|
5141
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5142
|
-
};
|
|
5143
|
-
};
|
|
5144
|
-
const de_DescribeEventTopicsResult = (output, context) => {
|
|
5145
|
-
return {
|
|
5146
|
-
EventTopics: output.EventTopics != null ? de_EventTopics(output.EventTopics, context) : undefined,
|
|
5147
|
-
};
|
|
5148
|
-
};
|
|
5149
|
-
const de_DescribeLDAPSSettingsResult = (output, context) => {
|
|
5150
|
-
return {
|
|
5151
|
-
LDAPSSettingsInfo: output.LDAPSSettingsInfo != null ? de_LDAPSSettingsInfo(output.LDAPSSettingsInfo, context) : undefined,
|
|
5152
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5153
|
-
};
|
|
5154
|
-
};
|
|
5155
|
-
const de_DescribeRegionsResult = (output, context) => {
|
|
5156
|
-
return {
|
|
5157
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5158
|
-
RegionsDescription: output.RegionsDescription != null ? de_RegionsDescription(output.RegionsDescription, context) : undefined,
|
|
5159
|
-
};
|
|
5160
|
-
};
|
|
5161
|
-
const de_DescribeSettingsResult = (output, context) => {
|
|
5162
|
-
return {
|
|
5163
|
-
DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
|
|
5164
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5165
|
-
SettingEntries: output.SettingEntries != null ? de_SettingEntries(output.SettingEntries, context) : undefined,
|
|
5166
|
-
};
|
|
5167
|
-
};
|
|
5168
|
-
const de_DescribeSharedDirectoriesResult = (output, context) => {
|
|
5169
|
-
return {
|
|
5170
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5171
|
-
SharedDirectories: output.SharedDirectories != null ? de_SharedDirectories(output.SharedDirectories, context) : undefined,
|
|
5172
|
-
};
|
|
5173
|
-
};
|
|
5174
|
-
const de_DescribeSnapshotsResult = (output, context) => {
|
|
5175
|
-
return {
|
|
5176
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5177
|
-
Snapshots: output.Snapshots != null ? de_Snapshots(output.Snapshots, context) : undefined,
|
|
5178
|
-
};
|
|
5179
|
-
};
|
|
5180
|
-
const de_DescribeTrustsResult = (output, context) => {
|
|
5181
|
-
return {
|
|
5182
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5183
|
-
Trusts: output.Trusts != null ? de_Trusts(output.Trusts, context) : undefined,
|
|
5184
|
-
};
|
|
5185
|
-
};
|
|
5186
|
-
const de_DescribeUpdateDirectoryResult = (output, context) => {
|
|
5187
|
-
return {
|
|
5188
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5189
|
-
UpdateActivities: output.UpdateActivities != null ? de_UpdateActivities(output.UpdateActivities, context) : undefined,
|
|
5190
|
-
};
|
|
5191
|
-
};
|
|
5192
|
-
const de_DirectoryAlreadyInRegionException = (output, context) => {
|
|
5193
|
-
return {
|
|
5194
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5195
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5196
|
-
};
|
|
5197
|
-
};
|
|
5198
|
-
const de_DirectoryAlreadySharedException = (output, context) => {
|
|
5199
|
-
return {
|
|
5200
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5201
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5202
|
-
};
|
|
5203
|
-
};
|
|
5204
|
-
const de_DirectoryConfigurationSettingRequestDetailedStatus = (output, context) => {
|
|
5205
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
5206
|
-
if (value === null) {
|
|
5207
|
-
return acc;
|
|
5208
|
-
}
|
|
5209
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
5210
|
-
return acc;
|
|
5211
|
-
}, {});
|
|
5212
|
-
};
|
|
5213
|
-
const de_DirectoryConnectSettingsDescription = (output, context) => {
|
|
5214
|
-
return {
|
|
5215
|
-
AvailabilityZones: output.AvailabilityZones != null ? de_AvailabilityZones(output.AvailabilityZones, context) : undefined,
|
|
5216
|
-
ConnectIps: output.ConnectIps != null ? de_IpAddrs(output.ConnectIps, context) : undefined,
|
|
5217
|
-
CustomerUserName: (0, smithy_client_1.expectString)(output.CustomerUserName),
|
|
5218
|
-
SecurityGroupId: (0, smithy_client_1.expectString)(output.SecurityGroupId),
|
|
5219
|
-
SubnetIds: output.SubnetIds != null ? de_SubnetIds(output.SubnetIds, context) : undefined,
|
|
5220
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
5221
|
-
};
|
|
5222
|
-
};
|
|
5223
|
-
const de_DirectoryDescription = (output, context) => {
|
|
5224
|
-
return {
|
|
5225
|
-
AccessUrl: (0, smithy_client_1.expectString)(output.AccessUrl),
|
|
5226
|
-
Alias: (0, smithy_client_1.expectString)(output.Alias),
|
|
5227
|
-
ConnectSettings: output.ConnectSettings != null
|
|
5228
|
-
? de_DirectoryConnectSettingsDescription(output.ConnectSettings, context)
|
|
5229
|
-
: undefined,
|
|
5230
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
5231
|
-
DesiredNumberOfDomainControllers: (0, smithy_client_1.expectInt32)(output.DesiredNumberOfDomainControllers),
|
|
5232
|
-
DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
|
|
5233
|
-
DnsIpAddrs: output.DnsIpAddrs != null ? de_DnsIpAddrs(output.DnsIpAddrs, context) : undefined,
|
|
5234
|
-
Edition: (0, smithy_client_1.expectString)(output.Edition),
|
|
5235
|
-
LaunchTime: output.LaunchTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LaunchTime))) : undefined,
|
|
5236
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5237
|
-
OsVersion: (0, smithy_client_1.expectString)(output.OsVersion),
|
|
5238
|
-
OwnerDirectoryDescription: output.OwnerDirectoryDescription != null
|
|
5239
|
-
? de_OwnerDirectoryDescription(output.OwnerDirectoryDescription, context)
|
|
5240
|
-
: undefined,
|
|
5241
|
-
RadiusSettings: output.RadiusSettings != null ? de_RadiusSettings(output.RadiusSettings, context) : undefined,
|
|
5242
|
-
RadiusStatus: (0, smithy_client_1.expectString)(output.RadiusStatus),
|
|
5243
|
-
RegionsInfo: output.RegionsInfo != null ? de_RegionsInfo(output.RegionsInfo, context) : undefined,
|
|
5244
|
-
ShareMethod: (0, smithy_client_1.expectString)(output.ShareMethod),
|
|
5245
|
-
ShareNotes: (0, smithy_client_1.expectString)(output.ShareNotes),
|
|
5246
|
-
ShareStatus: (0, smithy_client_1.expectString)(output.ShareStatus),
|
|
5247
|
-
ShortName: (0, smithy_client_1.expectString)(output.ShortName),
|
|
5248
|
-
Size: (0, smithy_client_1.expectString)(output.Size),
|
|
5249
|
-
SsoEnabled: (0, smithy_client_1.expectBoolean)(output.SsoEnabled),
|
|
5250
|
-
Stage: (0, smithy_client_1.expectString)(output.Stage),
|
|
5251
|
-
StageLastUpdatedDateTime: output.StageLastUpdatedDateTime != null
|
|
5252
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StageLastUpdatedDateTime)))
|
|
5253
|
-
: undefined,
|
|
5254
|
-
StageReason: (0, smithy_client_1.expectString)(output.StageReason),
|
|
5255
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
5256
|
-
VpcSettings: output.VpcSettings != null ? de_DirectoryVpcSettingsDescription(output.VpcSettings, context) : undefined,
|
|
5257
|
-
};
|
|
5258
|
-
};
|
|
5259
|
-
const de_DirectoryDescriptions = (output, context) => {
|
|
5260
|
-
const retVal = (output || [])
|
|
5261
|
-
.filter((e) => e != null)
|
|
5262
|
-
.map((entry) => {
|
|
5263
|
-
if (entry === null) {
|
|
5264
|
-
return null;
|
|
5265
|
-
}
|
|
5266
|
-
return de_DirectoryDescription(entry, context);
|
|
5267
|
-
});
|
|
5268
|
-
return retVal;
|
|
5269
|
-
};
|
|
5270
|
-
const de_DirectoryDoesNotExistException = (output, context) => {
|
|
5271
|
-
return {
|
|
5272
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5273
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5274
|
-
};
|
|
5275
|
-
};
|
|
5276
|
-
const de_DirectoryInDesiredStateException = (output, context) => {
|
|
5277
|
-
return {
|
|
5278
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5279
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5280
|
-
};
|
|
5281
|
-
};
|
|
5282
|
-
const de_DirectoryLimitExceededException = (output, context) => {
|
|
5283
|
-
return {
|
|
5284
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5285
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5286
|
-
};
|
|
5287
|
-
};
|
|
5288
|
-
const de_DirectoryLimits = (output, context) => {
|
|
5289
|
-
return {
|
|
5290
|
-
CloudOnlyDirectoriesCurrentCount: (0, smithy_client_1.expectInt32)(output.CloudOnlyDirectoriesCurrentCount),
|
|
5291
|
-
CloudOnlyDirectoriesLimit: (0, smithy_client_1.expectInt32)(output.CloudOnlyDirectoriesLimit),
|
|
5292
|
-
CloudOnlyDirectoriesLimitReached: (0, smithy_client_1.expectBoolean)(output.CloudOnlyDirectoriesLimitReached),
|
|
5293
|
-
CloudOnlyMicrosoftADCurrentCount: (0, smithy_client_1.expectInt32)(output.CloudOnlyMicrosoftADCurrentCount),
|
|
5294
|
-
CloudOnlyMicrosoftADLimit: (0, smithy_client_1.expectInt32)(output.CloudOnlyMicrosoftADLimit),
|
|
5295
|
-
CloudOnlyMicrosoftADLimitReached: (0, smithy_client_1.expectBoolean)(output.CloudOnlyMicrosoftADLimitReached),
|
|
5296
|
-
ConnectedDirectoriesCurrentCount: (0, smithy_client_1.expectInt32)(output.ConnectedDirectoriesCurrentCount),
|
|
5297
|
-
ConnectedDirectoriesLimit: (0, smithy_client_1.expectInt32)(output.ConnectedDirectoriesLimit),
|
|
5298
|
-
ConnectedDirectoriesLimitReached: (0, smithy_client_1.expectBoolean)(output.ConnectedDirectoriesLimitReached),
|
|
5299
|
-
};
|
|
5300
|
-
};
|
|
5301
|
-
const de_DirectoryNotSharedException = (output, context) => {
|
|
5302
|
-
return {
|
|
5303
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5304
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5305
|
-
};
|
|
5306
|
-
};
|
|
5307
|
-
const de_DirectoryUnavailableException = (output, context) => {
|
|
5308
|
-
return {
|
|
5309
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5310
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5311
|
-
};
|
|
5312
|
-
};
|
|
5313
|
-
const de_DirectoryVpcSettings = (output, context) => {
|
|
5314
|
-
return {
|
|
5315
|
-
SubnetIds: output.SubnetIds != null ? de_SubnetIds(output.SubnetIds, context) : undefined,
|
|
5316
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
5317
|
-
};
|
|
5318
|
-
};
|
|
5319
|
-
const de_DirectoryVpcSettingsDescription = (output, context) => {
|
|
5320
|
-
return {
|
|
5321
|
-
AvailabilityZones: output.AvailabilityZones != null ? de_AvailabilityZones(output.AvailabilityZones, context) : undefined,
|
|
5322
|
-
SecurityGroupId: (0, smithy_client_1.expectString)(output.SecurityGroupId),
|
|
5323
|
-
SubnetIds: output.SubnetIds != null ? de_SubnetIds(output.SubnetIds, context) : undefined,
|
|
5324
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
5325
|
-
};
|
|
5326
|
-
};
|
|
5327
|
-
const de_DisableClientAuthenticationResult = (output, context) => {
|
|
5328
|
-
return {};
|
|
5329
|
-
};
|
|
5330
|
-
const de_DisableLDAPSResult = (output, context) => {
|
|
5331
|
-
return {};
|
|
5332
|
-
};
|
|
5333
|
-
const de_DisableRadiusResult = (output, context) => {
|
|
5334
|
-
return {};
|
|
5335
|
-
};
|
|
5336
|
-
const de_DisableSsoResult = (output, context) => {
|
|
5337
|
-
return {};
|
|
5338
|
-
};
|
|
5339
|
-
const de_DnsIpAddrs = (output, context) => {
|
|
5340
|
-
const retVal = (output || [])
|
|
5341
|
-
.filter((e) => e != null)
|
|
5342
|
-
.map((entry) => {
|
|
5343
|
-
if (entry === null) {
|
|
5344
|
-
return null;
|
|
5345
|
-
}
|
|
5346
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
5347
|
-
});
|
|
5348
|
-
return retVal;
|
|
5349
|
-
};
|
|
5350
|
-
const de_DomainController = (output, context) => {
|
|
5351
|
-
return {
|
|
5352
|
-
AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
|
|
5353
|
-
DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
|
|
5354
|
-
DnsIpAddr: (0, smithy_client_1.expectString)(output.DnsIpAddr),
|
|
5355
|
-
DomainControllerId: (0, smithy_client_1.expectString)(output.DomainControllerId),
|
|
5356
|
-
LaunchTime: output.LaunchTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LaunchTime))) : undefined,
|
|
5357
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
5358
|
-
StatusLastUpdatedDateTime: output.StatusLastUpdatedDateTime != null
|
|
5359
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StatusLastUpdatedDateTime)))
|
|
5360
|
-
: undefined,
|
|
5361
|
-
StatusReason: (0, smithy_client_1.expectString)(output.StatusReason),
|
|
5362
|
-
SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
|
|
5363
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
5364
|
-
};
|
|
5365
|
-
};
|
|
5366
|
-
const de_DomainControllerLimitExceededException = (output, context) => {
|
|
5367
|
-
return {
|
|
5368
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5369
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5370
|
-
};
|
|
5371
|
-
};
|
|
5372
|
-
const de_DomainControllers = (output, context) => {
|
|
5373
|
-
const retVal = (output || [])
|
|
5374
|
-
.filter((e) => e != null)
|
|
5375
|
-
.map((entry) => {
|
|
5376
|
-
if (entry === null) {
|
|
5377
|
-
return null;
|
|
5378
|
-
}
|
|
5379
|
-
return de_DomainController(entry, context);
|
|
5380
|
-
});
|
|
5381
|
-
return retVal;
|
|
5382
|
-
};
|
|
5383
|
-
const de_EnableClientAuthenticationResult = (output, context) => {
|
|
5384
|
-
return {};
|
|
5385
|
-
};
|
|
5386
|
-
const de_EnableLDAPSResult = (output, context) => {
|
|
5387
|
-
return {};
|
|
5388
|
-
};
|
|
5389
|
-
const de_EnableRadiusResult = (output, context) => {
|
|
5390
|
-
return {};
|
|
5391
|
-
};
|
|
5392
|
-
const de_EnableSsoResult = (output, context) => {
|
|
5393
|
-
return {};
|
|
5394
|
-
};
|
|
5395
|
-
const de_EntityAlreadyExistsException = (output, context) => {
|
|
5396
|
-
return {
|
|
5397
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5398
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5399
|
-
};
|
|
5400
|
-
};
|
|
5401
|
-
const de_EntityDoesNotExistException = (output, context) => {
|
|
5402
|
-
return {
|
|
5403
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5404
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5405
|
-
};
|
|
5406
|
-
};
|
|
5407
|
-
const de_EventTopic = (output, context) => {
|
|
5408
|
-
return {
|
|
5409
|
-
CreatedDateTime: output.CreatedDateTime != null
|
|
5410
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedDateTime)))
|
|
5411
|
-
: undefined,
|
|
5412
|
-
DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
|
|
5413
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
5414
|
-
TopicArn: (0, smithy_client_1.expectString)(output.TopicArn),
|
|
5415
|
-
TopicName: (0, smithy_client_1.expectString)(output.TopicName),
|
|
5416
|
-
};
|
|
5417
|
-
};
|
|
5418
|
-
const de_EventTopics = (output, context) => {
|
|
5419
|
-
const retVal = (output || [])
|
|
5420
|
-
.filter((e) => e != null)
|
|
5421
|
-
.map((entry) => {
|
|
5422
|
-
if (entry === null) {
|
|
5423
|
-
return null;
|
|
5424
|
-
}
|
|
5425
|
-
return de_EventTopic(entry, context);
|
|
5426
|
-
});
|
|
5427
|
-
return retVal;
|
|
5428
|
-
};
|
|
5429
|
-
const de_GetDirectoryLimitsResult = (output, context) => {
|
|
5430
|
-
return {
|
|
5431
|
-
DirectoryLimits: output.DirectoryLimits != null ? de_DirectoryLimits(output.DirectoryLimits, context) : undefined,
|
|
5432
|
-
};
|
|
5433
|
-
};
|
|
5434
|
-
const de_GetSnapshotLimitsResult = (output, context) => {
|
|
5435
|
-
return {
|
|
5436
|
-
SnapshotLimits: output.SnapshotLimits != null ? de_SnapshotLimits(output.SnapshotLimits, context) : undefined,
|
|
5437
|
-
};
|
|
5438
|
-
};
|
|
5439
|
-
const de_IncompatibleSettingsException = (output, context) => {
|
|
5440
|
-
return {
|
|
5441
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5442
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5443
|
-
};
|
|
5444
|
-
};
|
|
5445
|
-
const de_InsufficientPermissionsException = (output, context) => {
|
|
5446
|
-
return {
|
|
5447
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5448
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5449
|
-
};
|
|
5450
|
-
};
|
|
5451
|
-
const de_InvalidCertificateException = (output, context) => {
|
|
5452
|
-
return {
|
|
5453
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5454
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5455
|
-
};
|
|
5456
|
-
};
|
|
5457
|
-
const de_InvalidClientAuthStatusException = (output, context) => {
|
|
5458
|
-
return {
|
|
5459
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5460
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5461
|
-
};
|
|
5462
|
-
};
|
|
5463
|
-
const de_InvalidLDAPSStatusException = (output, context) => {
|
|
5464
|
-
return {
|
|
5465
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5466
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5467
|
-
};
|
|
5468
|
-
};
|
|
5469
|
-
const de_InvalidNextTokenException = (output, context) => {
|
|
5470
|
-
return {
|
|
5471
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5472
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5473
|
-
};
|
|
5474
|
-
};
|
|
5475
|
-
const de_InvalidParameterException = (output, context) => {
|
|
5476
|
-
return {
|
|
5477
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5478
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5479
|
-
};
|
|
5480
|
-
};
|
|
5481
|
-
const de_InvalidPasswordException = (output, context) => {
|
|
5482
|
-
return {
|
|
5483
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5484
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5485
|
-
};
|
|
5486
|
-
};
|
|
5487
|
-
const de_InvalidTargetException = (output, context) => {
|
|
5488
|
-
return {
|
|
5489
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5490
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5491
|
-
};
|
|
5492
|
-
};
|
|
5493
|
-
const de_IpAddrs = (output, context) => {
|
|
5494
|
-
const retVal = (output || [])
|
|
5495
|
-
.filter((e) => e != null)
|
|
5496
|
-
.map((entry) => {
|
|
5497
|
-
if (entry === null) {
|
|
5498
|
-
return null;
|
|
5499
|
-
}
|
|
5500
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
5501
|
-
});
|
|
5502
|
-
return retVal;
|
|
4130
|
+
const de_EventTopics = (output, context) => {
|
|
4131
|
+
const retVal = (output || [])
|
|
4132
|
+
.filter((e) => e != null)
|
|
4133
|
+
.map((entry) => {
|
|
4134
|
+
return de_EventTopic(entry, context);
|
|
4135
|
+
});
|
|
4136
|
+
return retVal;
|
|
5503
4137
|
};
|
|
5504
4138
|
const de_IpRouteInfo = (output, context) => {
|
|
5505
|
-
return {
|
|
5506
|
-
AddedDateTime:
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
IpRouteStatusReason: (0, smithy_client_1.expectString)(output.IpRouteStatusReason),
|
|
5514
|
-
};
|
|
5515
|
-
};
|
|
5516
|
-
const de_IpRouteLimitExceededException = (output, context) => {
|
|
5517
|
-
return {
|
|
5518
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5519
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5520
|
-
};
|
|
4139
|
+
return (0, smithy_client_1.take)(output, {
|
|
4140
|
+
AddedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4141
|
+
CidrIp: smithy_client_1.expectString,
|
|
4142
|
+
Description: smithy_client_1.expectString,
|
|
4143
|
+
DirectoryId: smithy_client_1.expectString,
|
|
4144
|
+
IpRouteStatusMsg: smithy_client_1.expectString,
|
|
4145
|
+
IpRouteStatusReason: smithy_client_1.expectString,
|
|
4146
|
+
});
|
|
5521
4147
|
};
|
|
5522
4148
|
const de_IpRoutesInfo = (output, context) => {
|
|
5523
4149
|
const retVal = (output || [])
|
|
5524
4150
|
.filter((e) => e != null)
|
|
5525
4151
|
.map((entry) => {
|
|
5526
|
-
if (entry === null) {
|
|
5527
|
-
return null;
|
|
5528
|
-
}
|
|
5529
4152
|
return de_IpRouteInfo(entry, context);
|
|
5530
4153
|
});
|
|
5531
4154
|
return retVal;
|
|
5532
4155
|
};
|
|
5533
4156
|
const de_LDAPSSettingInfo = (output, context) => {
|
|
5534
|
-
return {
|
|
5535
|
-
LDAPSStatus:
|
|
5536
|
-
LDAPSStatusReason:
|
|
5537
|
-
LastUpdatedDateTime:
|
|
5538
|
-
|
|
5539
|
-
: undefined,
|
|
5540
|
-
};
|
|
4157
|
+
return (0, smithy_client_1.take)(output, {
|
|
4158
|
+
LDAPSStatus: smithy_client_1.expectString,
|
|
4159
|
+
LDAPSStatusReason: smithy_client_1.expectString,
|
|
4160
|
+
LastUpdatedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4161
|
+
});
|
|
5541
4162
|
};
|
|
5542
4163
|
const de_LDAPSSettingsInfo = (output, context) => {
|
|
5543
4164
|
const retVal = (output || [])
|
|
5544
4165
|
.filter((e) => e != null)
|
|
5545
4166
|
.map((entry) => {
|
|
5546
|
-
if (entry === null) {
|
|
5547
|
-
return null;
|
|
5548
|
-
}
|
|
5549
4167
|
return de_LDAPSSettingInfo(entry, context);
|
|
5550
4168
|
});
|
|
5551
4169
|
return retVal;
|
|
5552
4170
|
};
|
|
5553
4171
|
const de_ListCertificatesResult = (output, context) => {
|
|
5554
|
-
return {
|
|
5555
|
-
CertificatesInfo:
|
|
5556
|
-
NextToken:
|
|
5557
|
-
};
|
|
4172
|
+
return (0, smithy_client_1.take)(output, {
|
|
4173
|
+
CertificatesInfo: (_) => de_CertificatesInfo(_, context),
|
|
4174
|
+
NextToken: smithy_client_1.expectString,
|
|
4175
|
+
});
|
|
5558
4176
|
};
|
|
5559
4177
|
const de_ListIpRoutesResult = (output, context) => {
|
|
5560
|
-
return {
|
|
5561
|
-
IpRoutesInfo:
|
|
5562
|
-
NextToken:
|
|
5563
|
-
};
|
|
4178
|
+
return (0, smithy_client_1.take)(output, {
|
|
4179
|
+
IpRoutesInfo: (_) => de_IpRoutesInfo(_, context),
|
|
4180
|
+
NextToken: smithy_client_1.expectString,
|
|
4181
|
+
});
|
|
5564
4182
|
};
|
|
5565
4183
|
const de_ListLogSubscriptionsResult = (output, context) => {
|
|
5566
|
-
return {
|
|
5567
|
-
LogSubscriptions:
|
|
5568
|
-
NextToken:
|
|
5569
|
-
};
|
|
4184
|
+
return (0, smithy_client_1.take)(output, {
|
|
4185
|
+
LogSubscriptions: (_) => de_LogSubscriptions(_, context),
|
|
4186
|
+
NextToken: smithy_client_1.expectString,
|
|
4187
|
+
});
|
|
5570
4188
|
};
|
|
5571
4189
|
const de_ListSchemaExtensionsResult = (output, context) => {
|
|
5572
|
-
return {
|
|
5573
|
-
NextToken:
|
|
5574
|
-
SchemaExtensionsInfo:
|
|
5575
|
-
};
|
|
5576
|
-
};
|
|
5577
|
-
const de_ListTagsForResourceResult = (output, context) => {
|
|
5578
|
-
return {
|
|
5579
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5580
|
-
Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
|
|
5581
|
-
};
|
|
4190
|
+
return (0, smithy_client_1.take)(output, {
|
|
4191
|
+
NextToken: smithy_client_1.expectString,
|
|
4192
|
+
SchemaExtensionsInfo: (_) => de_SchemaExtensionsInfo(_, context),
|
|
4193
|
+
});
|
|
5582
4194
|
};
|
|
5583
4195
|
const de_LogSubscription = (output, context) => {
|
|
5584
|
-
return {
|
|
5585
|
-
DirectoryId:
|
|
5586
|
-
LogGroupName:
|
|
5587
|
-
SubscriptionCreatedDateTime:
|
|
5588
|
-
|
|
5589
|
-
: undefined,
|
|
5590
|
-
};
|
|
4196
|
+
return (0, smithy_client_1.take)(output, {
|
|
4197
|
+
DirectoryId: smithy_client_1.expectString,
|
|
4198
|
+
LogGroupName: smithy_client_1.expectString,
|
|
4199
|
+
SubscriptionCreatedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4200
|
+
});
|
|
5591
4201
|
};
|
|
5592
4202
|
const de_LogSubscriptions = (output, context) => {
|
|
5593
4203
|
const retVal = (output || [])
|
|
5594
4204
|
.filter((e) => e != null)
|
|
5595
4205
|
.map((entry) => {
|
|
5596
|
-
if (entry === null) {
|
|
5597
|
-
return null;
|
|
5598
|
-
}
|
|
5599
4206
|
return de_LogSubscription(entry, context);
|
|
5600
4207
|
});
|
|
5601
4208
|
return retVal;
|
|
5602
4209
|
};
|
|
5603
|
-
const de_NoAvailableCertificateException = (output, context) => {
|
|
5604
|
-
return {
|
|
5605
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5606
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5607
|
-
};
|
|
5608
|
-
};
|
|
5609
|
-
const de_OrganizationsException = (output, context) => {
|
|
5610
|
-
return {
|
|
5611
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5612
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5613
|
-
};
|
|
5614
|
-
};
|
|
5615
|
-
const de_OSUpdateSettings = (output, context) => {
|
|
5616
|
-
return {
|
|
5617
|
-
OSVersion: (0, smithy_client_1.expectString)(output.OSVersion),
|
|
5618
|
-
};
|
|
5619
|
-
};
|
|
5620
|
-
const de_OwnerDirectoryDescription = (output, context) => {
|
|
5621
|
-
return {
|
|
5622
|
-
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
5623
|
-
DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
|
|
5624
|
-
DnsIpAddrs: output.DnsIpAddrs != null ? de_DnsIpAddrs(output.DnsIpAddrs, context) : undefined,
|
|
5625
|
-
RadiusSettings: output.RadiusSettings != null ? de_RadiusSettings(output.RadiusSettings, context) : undefined,
|
|
5626
|
-
RadiusStatus: (0, smithy_client_1.expectString)(output.RadiusStatus),
|
|
5627
|
-
VpcSettings: output.VpcSettings != null ? de_DirectoryVpcSettingsDescription(output.VpcSettings, context) : undefined,
|
|
5628
|
-
};
|
|
5629
|
-
};
|
|
5630
|
-
const de_RadiusSettings = (output, context) => {
|
|
5631
|
-
return {
|
|
5632
|
-
AuthenticationProtocol: (0, smithy_client_1.expectString)(output.AuthenticationProtocol),
|
|
5633
|
-
DisplayLabel: (0, smithy_client_1.expectString)(output.DisplayLabel),
|
|
5634
|
-
RadiusPort: (0, smithy_client_1.expectInt32)(output.RadiusPort),
|
|
5635
|
-
RadiusRetries: (0, smithy_client_1.expectInt32)(output.RadiusRetries),
|
|
5636
|
-
RadiusServers: output.RadiusServers != null ? de_Servers(output.RadiusServers, context) : undefined,
|
|
5637
|
-
RadiusTimeout: (0, smithy_client_1.expectInt32)(output.RadiusTimeout),
|
|
5638
|
-
SharedSecret: (0, smithy_client_1.expectString)(output.SharedSecret),
|
|
5639
|
-
UseSameUsername: (0, smithy_client_1.expectBoolean)(output.UseSameUsername),
|
|
5640
|
-
};
|
|
5641
|
-
};
|
|
5642
4210
|
const de_RegionDescription = (output, context) => {
|
|
5643
|
-
return {
|
|
5644
|
-
DesiredNumberOfDomainControllers:
|
|
5645
|
-
DirectoryId:
|
|
5646
|
-
LastUpdatedDateTime:
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StatusLastUpdatedDateTime)))
|
|
5655
|
-
: undefined,
|
|
5656
|
-
VpcSettings: output.VpcSettings != null ? de_DirectoryVpcSettings(output.VpcSettings, context) : undefined,
|
|
5657
|
-
};
|
|
5658
|
-
};
|
|
5659
|
-
const de_RegionLimitExceededException = (output, context) => {
|
|
5660
|
-
return {
|
|
5661
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5662
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5663
|
-
};
|
|
4211
|
+
return (0, smithy_client_1.take)(output, {
|
|
4212
|
+
DesiredNumberOfDomainControllers: smithy_client_1.expectInt32,
|
|
4213
|
+
DirectoryId: smithy_client_1.expectString,
|
|
4214
|
+
LastUpdatedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4215
|
+
LaunchTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4216
|
+
RegionName: smithy_client_1.expectString,
|
|
4217
|
+
RegionType: smithy_client_1.expectString,
|
|
4218
|
+
Status: smithy_client_1.expectString,
|
|
4219
|
+
StatusLastUpdatedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4220
|
+
VpcSettings: smithy_client_1._json,
|
|
4221
|
+
});
|
|
5664
4222
|
};
|
|
5665
4223
|
const de_RegionsDescription = (output, context) => {
|
|
5666
4224
|
const retVal = (output || [])
|
|
5667
4225
|
.filter((e) => e != null)
|
|
5668
4226
|
.map((entry) => {
|
|
5669
|
-
if (entry === null) {
|
|
5670
|
-
return null;
|
|
5671
|
-
}
|
|
5672
4227
|
return de_RegionDescription(entry, context);
|
|
5673
4228
|
});
|
|
5674
4229
|
return retVal;
|
|
5675
4230
|
};
|
|
5676
|
-
const de_RegionsInfo = (output, context) => {
|
|
5677
|
-
return {
|
|
5678
|
-
AdditionalRegions: output.AdditionalRegions != null ? de_AdditionalRegions(output.AdditionalRegions, context) : undefined,
|
|
5679
|
-
PrimaryRegion: (0, smithy_client_1.expectString)(output.PrimaryRegion),
|
|
5680
|
-
};
|
|
5681
|
-
};
|
|
5682
|
-
const de_RegisterCertificateResult = (output, context) => {
|
|
5683
|
-
return {
|
|
5684
|
-
CertificateId: (0, smithy_client_1.expectString)(output.CertificateId),
|
|
5685
|
-
};
|
|
5686
|
-
};
|
|
5687
|
-
const de_RegisterEventTopicResult = (output, context) => {
|
|
5688
|
-
return {};
|
|
5689
|
-
};
|
|
5690
|
-
const de_RejectSharedDirectoryResult = (output, context) => {
|
|
5691
|
-
return {
|
|
5692
|
-
SharedDirectoryId: (0, smithy_client_1.expectString)(output.SharedDirectoryId),
|
|
5693
|
-
};
|
|
5694
|
-
};
|
|
5695
|
-
const de_RemoveIpRoutesResult = (output, context) => {
|
|
5696
|
-
return {};
|
|
5697
|
-
};
|
|
5698
|
-
const de_RemoveRegionResult = (output, context) => {
|
|
5699
|
-
return {};
|
|
5700
|
-
};
|
|
5701
|
-
const de_RemoveTagsFromResourceResult = (output, context) => {
|
|
5702
|
-
return {};
|
|
5703
|
-
};
|
|
5704
|
-
const de_ResetUserPasswordResult = (output, context) => {
|
|
5705
|
-
return {};
|
|
5706
|
-
};
|
|
5707
|
-
const de_RestoreFromSnapshotResult = (output, context) => {
|
|
5708
|
-
return {};
|
|
5709
|
-
};
|
|
5710
4231
|
const de_SchemaExtensionInfo = (output, context) => {
|
|
5711
|
-
return {
|
|
5712
|
-
Description:
|
|
5713
|
-
DirectoryId:
|
|
5714
|
-
EndDateTime:
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
StartDateTime: output.StartDateTime != null
|
|
5721
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartDateTime)))
|
|
5722
|
-
: undefined,
|
|
5723
|
-
};
|
|
4232
|
+
return (0, smithy_client_1.take)(output, {
|
|
4233
|
+
Description: smithy_client_1.expectString,
|
|
4234
|
+
DirectoryId: smithy_client_1.expectString,
|
|
4235
|
+
EndDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4236
|
+
SchemaExtensionId: smithy_client_1.expectString,
|
|
4237
|
+
SchemaExtensionStatus: smithy_client_1.expectString,
|
|
4238
|
+
SchemaExtensionStatusReason: smithy_client_1.expectString,
|
|
4239
|
+
StartDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4240
|
+
});
|
|
5724
4241
|
};
|
|
5725
4242
|
const de_SchemaExtensionsInfo = (output, context) => {
|
|
5726
4243
|
const retVal = (output || [])
|
|
5727
4244
|
.filter((e) => e != null)
|
|
5728
4245
|
.map((entry) => {
|
|
5729
|
-
if (entry === null) {
|
|
5730
|
-
return null;
|
|
5731
|
-
}
|
|
5732
4246
|
return de_SchemaExtensionInfo(entry, context);
|
|
5733
4247
|
});
|
|
5734
4248
|
return retVal;
|
|
5735
4249
|
};
|
|
5736
|
-
const de_Servers = (output, context) => {
|
|
5737
|
-
const retVal = (output || [])
|
|
5738
|
-
.filter((e) => e != null)
|
|
5739
|
-
.map((entry) => {
|
|
5740
|
-
if (entry === null) {
|
|
5741
|
-
return null;
|
|
5742
|
-
}
|
|
5743
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
5744
|
-
});
|
|
5745
|
-
return retVal;
|
|
5746
|
-
};
|
|
5747
|
-
const de_ServiceException = (output, context) => {
|
|
5748
|
-
return {
|
|
5749
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5750
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5751
|
-
};
|
|
5752
|
-
};
|
|
5753
4250
|
const de_SettingEntries = (output, context) => {
|
|
5754
4251
|
const retVal = (output || [])
|
|
5755
4252
|
.filter((e) => e != null)
|
|
5756
4253
|
.map((entry) => {
|
|
5757
|
-
if (entry === null) {
|
|
5758
|
-
return null;
|
|
5759
|
-
}
|
|
5760
4254
|
return de_SettingEntry(entry, context);
|
|
5761
4255
|
});
|
|
5762
4256
|
return retVal;
|
|
5763
4257
|
};
|
|
5764
4258
|
const de_SettingEntry = (output, context) => {
|
|
5765
|
-
return {
|
|
5766
|
-
AllowedValues:
|
|
5767
|
-
AppliedValue:
|
|
5768
|
-
LastRequestedDateTime:
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
: undefined,
|
|
5778
|
-
RequestStatus: (0, smithy_client_1.expectString)(output.RequestStatus),
|
|
5779
|
-
RequestStatusMessage: (0, smithy_client_1.expectString)(output.RequestStatusMessage),
|
|
5780
|
-
RequestedValue: (0, smithy_client_1.expectString)(output.RequestedValue),
|
|
5781
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
5782
|
-
};
|
|
4259
|
+
return (0, smithy_client_1.take)(output, {
|
|
4260
|
+
AllowedValues: smithy_client_1.expectString,
|
|
4261
|
+
AppliedValue: smithy_client_1.expectString,
|
|
4262
|
+
LastRequestedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4263
|
+
LastUpdatedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4264
|
+
Name: smithy_client_1.expectString,
|
|
4265
|
+
RequestDetailedStatus: smithy_client_1._json,
|
|
4266
|
+
RequestStatus: smithy_client_1.expectString,
|
|
4267
|
+
RequestStatusMessage: smithy_client_1.expectString,
|
|
4268
|
+
RequestedValue: smithy_client_1.expectString,
|
|
4269
|
+
Type: smithy_client_1.expectString,
|
|
4270
|
+
});
|
|
5783
4271
|
};
|
|
5784
4272
|
const de_SharedDirectories = (output, context) => {
|
|
5785
4273
|
const retVal = (output || [])
|
|
5786
4274
|
.filter((e) => e != null)
|
|
5787
4275
|
.map((entry) => {
|
|
5788
|
-
if (entry === null) {
|
|
5789
|
-
return null;
|
|
5790
|
-
}
|
|
5791
4276
|
return de_SharedDirectory(entry, context);
|
|
5792
4277
|
});
|
|
5793
4278
|
return retVal;
|
|
5794
4279
|
};
|
|
5795
4280
|
const de_SharedDirectory = (output, context) => {
|
|
5796
|
-
return {
|
|
5797
|
-
CreatedDateTime:
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
ShareStatus: (0, smithy_client_1.expectString)(output.ShareStatus),
|
|
5808
|
-
SharedAccountId: (0, smithy_client_1.expectString)(output.SharedAccountId),
|
|
5809
|
-
SharedDirectoryId: (0, smithy_client_1.expectString)(output.SharedDirectoryId),
|
|
5810
|
-
};
|
|
5811
|
-
};
|
|
5812
|
-
const de_ShareDirectoryResult = (output, context) => {
|
|
5813
|
-
return {
|
|
5814
|
-
SharedDirectoryId: (0, smithy_client_1.expectString)(output.SharedDirectoryId),
|
|
5815
|
-
};
|
|
5816
|
-
};
|
|
5817
|
-
const de_ShareLimitExceededException = (output, context) => {
|
|
5818
|
-
return {
|
|
5819
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5820
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5821
|
-
};
|
|
4281
|
+
return (0, smithy_client_1.take)(output, {
|
|
4282
|
+
CreatedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4283
|
+
LastUpdatedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4284
|
+
OwnerAccountId: smithy_client_1.expectString,
|
|
4285
|
+
OwnerDirectoryId: smithy_client_1.expectString,
|
|
4286
|
+
ShareMethod: smithy_client_1.expectString,
|
|
4287
|
+
ShareNotes: smithy_client_1.expectString,
|
|
4288
|
+
ShareStatus: smithy_client_1.expectString,
|
|
4289
|
+
SharedAccountId: smithy_client_1.expectString,
|
|
4290
|
+
SharedDirectoryId: smithy_client_1.expectString,
|
|
4291
|
+
});
|
|
5822
4292
|
};
|
|
5823
4293
|
const de_Snapshot = (output, context) => {
|
|
5824
|
-
return {
|
|
5825
|
-
DirectoryId:
|
|
5826
|
-
Name:
|
|
5827
|
-
SnapshotId:
|
|
5828
|
-
StartTime:
|
|
5829
|
-
Status:
|
|
5830
|
-
Type:
|
|
5831
|
-
};
|
|
5832
|
-
};
|
|
5833
|
-
const de_SnapshotLimitExceededException = (output, context) => {
|
|
5834
|
-
return {
|
|
5835
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5836
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5837
|
-
};
|
|
5838
|
-
};
|
|
5839
|
-
const de_SnapshotLimits = (output, context) => {
|
|
5840
|
-
return {
|
|
5841
|
-
ManualSnapshotsCurrentCount: (0, smithy_client_1.expectInt32)(output.ManualSnapshotsCurrentCount),
|
|
5842
|
-
ManualSnapshotsLimit: (0, smithy_client_1.expectInt32)(output.ManualSnapshotsLimit),
|
|
5843
|
-
ManualSnapshotsLimitReached: (0, smithy_client_1.expectBoolean)(output.ManualSnapshotsLimitReached),
|
|
5844
|
-
};
|
|
4294
|
+
return (0, smithy_client_1.take)(output, {
|
|
4295
|
+
DirectoryId: smithy_client_1.expectString,
|
|
4296
|
+
Name: smithy_client_1.expectString,
|
|
4297
|
+
SnapshotId: smithy_client_1.expectString,
|
|
4298
|
+
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4299
|
+
Status: smithy_client_1.expectString,
|
|
4300
|
+
Type: smithy_client_1.expectString,
|
|
4301
|
+
});
|
|
5845
4302
|
};
|
|
5846
4303
|
const de_Snapshots = (output, context) => {
|
|
5847
4304
|
const retVal = (output || [])
|
|
5848
4305
|
.filter((e) => e != null)
|
|
5849
4306
|
.map((entry) => {
|
|
5850
|
-
if (entry === null) {
|
|
5851
|
-
return null;
|
|
5852
|
-
}
|
|
5853
4307
|
return de_Snapshot(entry, context);
|
|
5854
4308
|
});
|
|
5855
4309
|
return retVal;
|
|
5856
4310
|
};
|
|
5857
|
-
const de_StartSchemaExtensionResult = (output, context) => {
|
|
5858
|
-
return {
|
|
5859
|
-
SchemaExtensionId: (0, smithy_client_1.expectString)(output.SchemaExtensionId),
|
|
5860
|
-
};
|
|
5861
|
-
};
|
|
5862
|
-
const de_SubnetIds = (output, context) => {
|
|
5863
|
-
const retVal = (output || [])
|
|
5864
|
-
.filter((e) => e != null)
|
|
5865
|
-
.map((entry) => {
|
|
5866
|
-
if (entry === null) {
|
|
5867
|
-
return null;
|
|
5868
|
-
}
|
|
5869
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
5870
|
-
});
|
|
5871
|
-
return retVal;
|
|
5872
|
-
};
|
|
5873
|
-
const de_Tag = (output, context) => {
|
|
5874
|
-
return {
|
|
5875
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
5876
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
5877
|
-
};
|
|
5878
|
-
};
|
|
5879
|
-
const de_TagLimitExceededException = (output, context) => {
|
|
5880
|
-
return {
|
|
5881
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5882
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5883
|
-
};
|
|
5884
|
-
};
|
|
5885
|
-
const de_Tags = (output, context) => {
|
|
5886
|
-
const retVal = (output || [])
|
|
5887
|
-
.filter((e) => e != null)
|
|
5888
|
-
.map((entry) => {
|
|
5889
|
-
if (entry === null) {
|
|
5890
|
-
return null;
|
|
5891
|
-
}
|
|
5892
|
-
return de_Tag(entry, context);
|
|
5893
|
-
});
|
|
5894
|
-
return retVal;
|
|
5895
|
-
};
|
|
5896
4311
|
const de_Trust = (output, context) => {
|
|
5897
|
-
return {
|
|
5898
|
-
CreatedDateTime:
|
|
5899
|
-
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
|
|
5910
|
-
TrustDirection: (0, smithy_client_1.expectString)(output.TrustDirection),
|
|
5911
|
-
TrustId: (0, smithy_client_1.expectString)(output.TrustId),
|
|
5912
|
-
TrustState: (0, smithy_client_1.expectString)(output.TrustState),
|
|
5913
|
-
TrustStateReason: (0, smithy_client_1.expectString)(output.TrustStateReason),
|
|
5914
|
-
TrustType: (0, smithy_client_1.expectString)(output.TrustType),
|
|
5915
|
-
};
|
|
4312
|
+
return (0, smithy_client_1.take)(output, {
|
|
4313
|
+
CreatedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4314
|
+
DirectoryId: smithy_client_1.expectString,
|
|
4315
|
+
LastUpdatedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4316
|
+
RemoteDomainName: smithy_client_1.expectString,
|
|
4317
|
+
SelectiveAuth: smithy_client_1.expectString,
|
|
4318
|
+
StateLastUpdatedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4319
|
+
TrustDirection: smithy_client_1.expectString,
|
|
4320
|
+
TrustId: smithy_client_1.expectString,
|
|
4321
|
+
TrustState: smithy_client_1.expectString,
|
|
4322
|
+
TrustStateReason: smithy_client_1.expectString,
|
|
4323
|
+
TrustType: smithy_client_1.expectString,
|
|
4324
|
+
});
|
|
5916
4325
|
};
|
|
5917
4326
|
const de_Trusts = (output, context) => {
|
|
5918
4327
|
const retVal = (output || [])
|
|
5919
4328
|
.filter((e) => e != null)
|
|
5920
4329
|
.map((entry) => {
|
|
5921
|
-
if (entry === null) {
|
|
5922
|
-
return null;
|
|
5923
|
-
}
|
|
5924
4330
|
return de_Trust(entry, context);
|
|
5925
4331
|
});
|
|
5926
4332
|
return retVal;
|
|
5927
4333
|
};
|
|
5928
|
-
const de_UnshareDirectoryResult = (output, context) => {
|
|
5929
|
-
return {
|
|
5930
|
-
SharedDirectoryId: (0, smithy_client_1.expectString)(output.SharedDirectoryId),
|
|
5931
|
-
};
|
|
5932
|
-
};
|
|
5933
|
-
const de_UnsupportedOperationException = (output, context) => {
|
|
5934
|
-
return {
|
|
5935
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5936
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5937
|
-
};
|
|
5938
|
-
};
|
|
5939
|
-
const de_UnsupportedSettingsException = (output, context) => {
|
|
5940
|
-
return {
|
|
5941
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5942
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5943
|
-
};
|
|
5944
|
-
};
|
|
5945
4334
|
const de_UpdateActivities = (output, context) => {
|
|
5946
4335
|
const retVal = (output || [])
|
|
5947
4336
|
.filter((e) => e != null)
|
|
5948
4337
|
.map((entry) => {
|
|
5949
|
-
if (entry === null) {
|
|
5950
|
-
return null;
|
|
5951
|
-
}
|
|
5952
4338
|
return de_UpdateInfoEntry(entry, context);
|
|
5953
4339
|
});
|
|
5954
4340
|
return retVal;
|
|
5955
4341
|
};
|
|
5956
|
-
const de_UpdateConditionalForwarderResult = (output, context) => {
|
|
5957
|
-
return {};
|
|
5958
|
-
};
|
|
5959
|
-
const de_UpdateDirectorySetupResult = (output, context) => {
|
|
5960
|
-
return {};
|
|
5961
|
-
};
|
|
5962
4342
|
const de_UpdateInfoEntry = (output, context) => {
|
|
5963
|
-
return {
|
|
5964
|
-
InitiatedBy:
|
|
5965
|
-
LastUpdatedDateTime:
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
StatusReason: (0, smithy_client_1.expectString)(output.StatusReason),
|
|
5974
|
-
};
|
|
5975
|
-
};
|
|
5976
|
-
const de_UpdateNumberOfDomainControllersResult = (output, context) => {
|
|
5977
|
-
return {};
|
|
5978
|
-
};
|
|
5979
|
-
const de_UpdateRadiusResult = (output, context) => {
|
|
5980
|
-
return {};
|
|
5981
|
-
};
|
|
5982
|
-
const de_UpdateSettingsResult = (output, context) => {
|
|
5983
|
-
return {
|
|
5984
|
-
DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
|
|
5985
|
-
};
|
|
5986
|
-
};
|
|
5987
|
-
const de_UpdateTrustResult = (output, context) => {
|
|
5988
|
-
return {
|
|
5989
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
5990
|
-
TrustId: (0, smithy_client_1.expectString)(output.TrustId),
|
|
5991
|
-
};
|
|
5992
|
-
};
|
|
5993
|
-
const de_UpdateValue = (output, context) => {
|
|
5994
|
-
return {
|
|
5995
|
-
OSUpdateSettings: output.OSUpdateSettings != null ? de_OSUpdateSettings(output.OSUpdateSettings, context) : undefined,
|
|
5996
|
-
};
|
|
5997
|
-
};
|
|
5998
|
-
const de_UserDoesNotExistException = (output, context) => {
|
|
5999
|
-
return {
|
|
6000
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6001
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
6002
|
-
};
|
|
6003
|
-
};
|
|
6004
|
-
const de_VerifyTrustResult = (output, context) => {
|
|
6005
|
-
return {
|
|
6006
|
-
TrustId: (0, smithy_client_1.expectString)(output.TrustId),
|
|
6007
|
-
};
|
|
4343
|
+
return (0, smithy_client_1.take)(output, {
|
|
4344
|
+
InitiatedBy: smithy_client_1.expectString,
|
|
4345
|
+
LastUpdatedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4346
|
+
NewValue: smithy_client_1._json,
|
|
4347
|
+
PreviousValue: smithy_client_1._json,
|
|
4348
|
+
Region: smithy_client_1.expectString,
|
|
4349
|
+
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4350
|
+
Status: smithy_client_1.expectString,
|
|
4351
|
+
StatusReason: smithy_client_1.expectString,
|
|
4352
|
+
});
|
|
6008
4353
|
};
|
|
6009
4354
|
const deserializeMetadata = (output) => ({
|
|
6010
4355
|
httpStatusCode: output.statusCode,
|
|
@@ -6019,6 +4364,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
6019
4364
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
6020
4365
|
};
|
|
6021
4366
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
4367
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(DirectoryServiceServiceException_1.DirectoryServiceServiceException);
|
|
6022
4368
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
6023
4369
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
6024
4370
|
const contents = {
|
|
@@ -6037,6 +4383,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
6037
4383
|
}
|
|
6038
4384
|
return new protocol_http_1.HttpRequest(contents);
|
|
6039
4385
|
};
|
|
4386
|
+
function sharedHeaders(operation) {
|
|
4387
|
+
return {
|
|
4388
|
+
"content-type": "application/x-amz-json-1.1",
|
|
4389
|
+
"x-amz-target": `DirectoryService_20150416.${operation}`,
|
|
4390
|
+
};
|
|
4391
|
+
}
|
|
6040
4392
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
6041
4393
|
if (encoded.length) {
|
|
6042
4394
|
return JSON.parse(encoded);
|