@aws-sdk/client-workspaces 3.312.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 +375 -2162
- package/dist-es/protocols/Aws_json1_1.js +376 -2163
- package/package.json +6 -6
|
@@ -1,239 +1,239 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { AccessDeniedException, InvalidParameterValuesException, InvalidResourceStateException, OperationInProgressException, OperationNotSupportedException, ResourceAlreadyExistsException, ResourceAssociatedException, ResourceCreationFailedException, ResourceLimitExceededException, ResourceNotFoundException, ResourceUnavailableException, UnsupportedNetworkConfigurationException, UnsupportedWorkspaceConfigurationException, WorkspacesDefaultRoleNotFoundException, } from "../models/models_0";
|
|
4
4
|
import { WorkSpacesServiceException as __BaseException } from "../models/WorkSpacesServiceException";
|
|
5
5
|
export const se_AssociateConnectionAliasCommand = async (input, context) => {
|
|
6
6
|
const headers = sharedHeaders("AssociateConnectionAlias");
|
|
7
7
|
let body;
|
|
8
|
-
body = JSON.stringify(
|
|
8
|
+
body = JSON.stringify(_json(input));
|
|
9
9
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
10
10
|
};
|
|
11
11
|
export const se_AssociateIpGroupsCommand = async (input, context) => {
|
|
12
12
|
const headers = sharedHeaders("AssociateIpGroups");
|
|
13
13
|
let body;
|
|
14
|
-
body = JSON.stringify(
|
|
14
|
+
body = JSON.stringify(_json(input));
|
|
15
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
16
|
};
|
|
17
17
|
export const se_AuthorizeIpRulesCommand = async (input, context) => {
|
|
18
18
|
const headers = sharedHeaders("AuthorizeIpRules");
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(_json(input));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
23
|
export const se_CopyWorkspaceImageCommand = async (input, context) => {
|
|
24
24
|
const headers = sharedHeaders("CopyWorkspaceImage");
|
|
25
25
|
let body;
|
|
26
|
-
body = JSON.stringify(
|
|
26
|
+
body = JSON.stringify(_json(input));
|
|
27
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
28
|
};
|
|
29
29
|
export const se_CreateConnectClientAddInCommand = async (input, context) => {
|
|
30
30
|
const headers = sharedHeaders("CreateConnectClientAddIn");
|
|
31
31
|
let body;
|
|
32
|
-
body = JSON.stringify(
|
|
32
|
+
body = JSON.stringify(_json(input));
|
|
33
33
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
34
34
|
};
|
|
35
35
|
export const se_CreateConnectionAliasCommand = async (input, context) => {
|
|
36
36
|
const headers = sharedHeaders("CreateConnectionAlias");
|
|
37
37
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(_json(input));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
41
|
export const se_CreateIpGroupCommand = async (input, context) => {
|
|
42
42
|
const headers = sharedHeaders("CreateIpGroup");
|
|
43
43
|
let body;
|
|
44
|
-
body = JSON.stringify(
|
|
44
|
+
body = JSON.stringify(_json(input));
|
|
45
45
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
46
46
|
};
|
|
47
47
|
export const se_CreateStandbyWorkspacesCommand = async (input, context) => {
|
|
48
48
|
const headers = sharedHeaders("CreateStandbyWorkspaces");
|
|
49
49
|
let body;
|
|
50
|
-
body = JSON.stringify(
|
|
50
|
+
body = JSON.stringify(_json(input));
|
|
51
51
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
52
52
|
};
|
|
53
53
|
export const se_CreateTagsCommand = async (input, context) => {
|
|
54
54
|
const headers = sharedHeaders("CreateTags");
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(_json(input));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
59
|
export const se_CreateUpdatedWorkspaceImageCommand = async (input, context) => {
|
|
60
60
|
const headers = sharedHeaders("CreateUpdatedWorkspaceImage");
|
|
61
61
|
let body;
|
|
62
|
-
body = JSON.stringify(
|
|
62
|
+
body = JSON.stringify(_json(input));
|
|
63
63
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
64
64
|
};
|
|
65
65
|
export const se_CreateWorkspaceBundleCommand = async (input, context) => {
|
|
66
66
|
const headers = sharedHeaders("CreateWorkspaceBundle");
|
|
67
67
|
let body;
|
|
68
|
-
body = JSON.stringify(
|
|
68
|
+
body = JSON.stringify(_json(input));
|
|
69
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
70
|
};
|
|
71
71
|
export const se_CreateWorkspaceImageCommand = async (input, context) => {
|
|
72
72
|
const headers = sharedHeaders("CreateWorkspaceImage");
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(_json(input));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
77
|
export const se_CreateWorkspacesCommand = async (input, context) => {
|
|
78
78
|
const headers = sharedHeaders("CreateWorkspaces");
|
|
79
79
|
let body;
|
|
80
|
-
body = JSON.stringify(
|
|
80
|
+
body = JSON.stringify(_json(input));
|
|
81
81
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
82
82
|
};
|
|
83
83
|
export const se_DeleteClientBrandingCommand = async (input, context) => {
|
|
84
84
|
const headers = sharedHeaders("DeleteClientBranding");
|
|
85
85
|
let body;
|
|
86
|
-
body = JSON.stringify(
|
|
86
|
+
body = JSON.stringify(_json(input));
|
|
87
87
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
88
88
|
};
|
|
89
89
|
export const se_DeleteConnectClientAddInCommand = async (input, context) => {
|
|
90
90
|
const headers = sharedHeaders("DeleteConnectClientAddIn");
|
|
91
91
|
let body;
|
|
92
|
-
body = JSON.stringify(
|
|
92
|
+
body = JSON.stringify(_json(input));
|
|
93
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
94
|
};
|
|
95
95
|
export const se_DeleteConnectionAliasCommand = async (input, context) => {
|
|
96
96
|
const headers = sharedHeaders("DeleteConnectionAlias");
|
|
97
97
|
let body;
|
|
98
|
-
body = JSON.stringify(
|
|
98
|
+
body = JSON.stringify(_json(input));
|
|
99
99
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
100
100
|
};
|
|
101
101
|
export const se_DeleteIpGroupCommand = async (input, context) => {
|
|
102
102
|
const headers = sharedHeaders("DeleteIpGroup");
|
|
103
103
|
let body;
|
|
104
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify(_json(input));
|
|
105
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
106
106
|
};
|
|
107
107
|
export const se_DeleteTagsCommand = async (input, context) => {
|
|
108
108
|
const headers = sharedHeaders("DeleteTags");
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(_json(input));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
113
|
export const se_DeleteWorkspaceBundleCommand = async (input, context) => {
|
|
114
114
|
const headers = sharedHeaders("DeleteWorkspaceBundle");
|
|
115
115
|
let body;
|
|
116
|
-
body = JSON.stringify(
|
|
116
|
+
body = JSON.stringify(_json(input));
|
|
117
117
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
118
|
};
|
|
119
119
|
export const se_DeleteWorkspaceImageCommand = async (input, context) => {
|
|
120
120
|
const headers = sharedHeaders("DeleteWorkspaceImage");
|
|
121
121
|
let body;
|
|
122
|
-
body = JSON.stringify(
|
|
122
|
+
body = JSON.stringify(_json(input));
|
|
123
123
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
124
124
|
};
|
|
125
125
|
export const se_DeregisterWorkspaceDirectoryCommand = async (input, context) => {
|
|
126
126
|
const headers = sharedHeaders("DeregisterWorkspaceDirectory");
|
|
127
127
|
let body;
|
|
128
|
-
body = JSON.stringify(
|
|
128
|
+
body = JSON.stringify(_json(input));
|
|
129
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
130
|
};
|
|
131
131
|
export const se_DescribeAccountCommand = async (input, context) => {
|
|
132
132
|
const headers = sharedHeaders("DescribeAccount");
|
|
133
133
|
let body;
|
|
134
|
-
body = JSON.stringify(
|
|
134
|
+
body = JSON.stringify(_json(input));
|
|
135
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
136
136
|
};
|
|
137
137
|
export const se_DescribeAccountModificationsCommand = async (input, context) => {
|
|
138
138
|
const headers = sharedHeaders("DescribeAccountModifications");
|
|
139
139
|
let body;
|
|
140
|
-
body = JSON.stringify(
|
|
140
|
+
body = JSON.stringify(_json(input));
|
|
141
141
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
142
142
|
};
|
|
143
143
|
export const se_DescribeClientBrandingCommand = async (input, context) => {
|
|
144
144
|
const headers = sharedHeaders("DescribeClientBranding");
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(_json(input));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
149
|
export const se_DescribeClientPropertiesCommand = async (input, context) => {
|
|
150
150
|
const headers = sharedHeaders("DescribeClientProperties");
|
|
151
151
|
let body;
|
|
152
|
-
body = JSON.stringify(
|
|
152
|
+
body = JSON.stringify(_json(input));
|
|
153
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
154
154
|
};
|
|
155
155
|
export const se_DescribeConnectClientAddInsCommand = async (input, context) => {
|
|
156
156
|
const headers = sharedHeaders("DescribeConnectClientAddIns");
|
|
157
157
|
let body;
|
|
158
|
-
body = JSON.stringify(
|
|
158
|
+
body = JSON.stringify(_json(input));
|
|
159
159
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
160
160
|
};
|
|
161
161
|
export const se_DescribeConnectionAliasesCommand = async (input, context) => {
|
|
162
162
|
const headers = sharedHeaders("DescribeConnectionAliases");
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(_json(input));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
167
|
export const se_DescribeConnectionAliasPermissionsCommand = async (input, context) => {
|
|
168
168
|
const headers = sharedHeaders("DescribeConnectionAliasPermissions");
|
|
169
169
|
let body;
|
|
170
|
-
body = JSON.stringify(
|
|
170
|
+
body = JSON.stringify(_json(input));
|
|
171
171
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
172
172
|
};
|
|
173
173
|
export const se_DescribeIpGroupsCommand = async (input, context) => {
|
|
174
174
|
const headers = sharedHeaders("DescribeIpGroups");
|
|
175
175
|
let body;
|
|
176
|
-
body = JSON.stringify(
|
|
176
|
+
body = JSON.stringify(_json(input));
|
|
177
177
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
178
178
|
};
|
|
179
179
|
export const se_DescribeTagsCommand = async (input, context) => {
|
|
180
180
|
const headers = sharedHeaders("DescribeTags");
|
|
181
181
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify(_json(input));
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
185
185
|
export const se_DescribeWorkspaceBundlesCommand = async (input, context) => {
|
|
186
186
|
const headers = sharedHeaders("DescribeWorkspaceBundles");
|
|
187
187
|
let body;
|
|
188
|
-
body = JSON.stringify(
|
|
188
|
+
body = JSON.stringify(_json(input));
|
|
189
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
190
190
|
};
|
|
191
191
|
export const se_DescribeWorkspaceDirectoriesCommand = async (input, context) => {
|
|
192
192
|
const headers = sharedHeaders("DescribeWorkspaceDirectories");
|
|
193
193
|
let body;
|
|
194
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify(_json(input));
|
|
195
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
196
|
};
|
|
197
197
|
export const se_DescribeWorkspaceImagePermissionsCommand = async (input, context) => {
|
|
198
198
|
const headers = sharedHeaders("DescribeWorkspaceImagePermissions");
|
|
199
199
|
let body;
|
|
200
|
-
body = JSON.stringify(
|
|
200
|
+
body = JSON.stringify(_json(input));
|
|
201
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
202
|
};
|
|
203
203
|
export const se_DescribeWorkspaceImagesCommand = async (input, context) => {
|
|
204
204
|
const headers = sharedHeaders("DescribeWorkspaceImages");
|
|
205
205
|
let body;
|
|
206
|
-
body = JSON.stringify(
|
|
206
|
+
body = JSON.stringify(_json(input));
|
|
207
207
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
208
208
|
};
|
|
209
209
|
export const se_DescribeWorkspacesCommand = async (input, context) => {
|
|
210
210
|
const headers = sharedHeaders("DescribeWorkspaces");
|
|
211
211
|
let body;
|
|
212
|
-
body = JSON.stringify(
|
|
212
|
+
body = JSON.stringify(_json(input));
|
|
213
213
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
214
214
|
};
|
|
215
215
|
export const se_DescribeWorkspacesConnectionStatusCommand = async (input, context) => {
|
|
216
216
|
const headers = sharedHeaders("DescribeWorkspacesConnectionStatus");
|
|
217
217
|
let body;
|
|
218
|
-
body = JSON.stringify(
|
|
218
|
+
body = JSON.stringify(_json(input));
|
|
219
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
220
|
};
|
|
221
221
|
export const se_DescribeWorkspaceSnapshotsCommand = async (input, context) => {
|
|
222
222
|
const headers = sharedHeaders("DescribeWorkspaceSnapshots");
|
|
223
223
|
let body;
|
|
224
|
-
body = JSON.stringify(
|
|
224
|
+
body = JSON.stringify(_json(input));
|
|
225
225
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
226
226
|
};
|
|
227
227
|
export const se_DisassociateConnectionAliasCommand = async (input, context) => {
|
|
228
228
|
const headers = sharedHeaders("DisassociateConnectionAlias");
|
|
229
229
|
let body;
|
|
230
|
-
body = JSON.stringify(
|
|
230
|
+
body = JSON.stringify(_json(input));
|
|
231
231
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
232
232
|
};
|
|
233
233
|
export const se_DisassociateIpGroupsCommand = async (input, context) => {
|
|
234
234
|
const headers = sharedHeaders("DisassociateIpGroups");
|
|
235
235
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify(_json(input));
|
|
237
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
238
|
};
|
|
239
239
|
export const se_ImportClientBrandingCommand = async (input, context) => {
|
|
@@ -245,151 +245,151 @@ export const se_ImportClientBrandingCommand = async (input, context) => {
|
|
|
245
245
|
export const se_ImportWorkspaceImageCommand = async (input, context) => {
|
|
246
246
|
const headers = sharedHeaders("ImportWorkspaceImage");
|
|
247
247
|
let body;
|
|
248
|
-
body = JSON.stringify(
|
|
248
|
+
body = JSON.stringify(_json(input));
|
|
249
249
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
250
250
|
};
|
|
251
251
|
export const se_ListAvailableManagementCidrRangesCommand = async (input, context) => {
|
|
252
252
|
const headers = sharedHeaders("ListAvailableManagementCidrRanges");
|
|
253
253
|
let body;
|
|
254
|
-
body = JSON.stringify(
|
|
254
|
+
body = JSON.stringify(_json(input));
|
|
255
255
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
256
256
|
};
|
|
257
257
|
export const se_MigrateWorkspaceCommand = async (input, context) => {
|
|
258
258
|
const headers = sharedHeaders("MigrateWorkspace");
|
|
259
259
|
let body;
|
|
260
|
-
body = JSON.stringify(
|
|
260
|
+
body = JSON.stringify(_json(input));
|
|
261
261
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
262
262
|
};
|
|
263
263
|
export const se_ModifyAccountCommand = async (input, context) => {
|
|
264
264
|
const headers = sharedHeaders("ModifyAccount");
|
|
265
265
|
let body;
|
|
266
|
-
body = JSON.stringify(
|
|
266
|
+
body = JSON.stringify(_json(input));
|
|
267
267
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
268
268
|
};
|
|
269
269
|
export const se_ModifyCertificateBasedAuthPropertiesCommand = async (input, context) => {
|
|
270
270
|
const headers = sharedHeaders("ModifyCertificateBasedAuthProperties");
|
|
271
271
|
let body;
|
|
272
|
-
body = JSON.stringify(
|
|
272
|
+
body = JSON.stringify(_json(input));
|
|
273
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
274
274
|
};
|
|
275
275
|
export const se_ModifyClientPropertiesCommand = async (input, context) => {
|
|
276
276
|
const headers = sharedHeaders("ModifyClientProperties");
|
|
277
277
|
let body;
|
|
278
|
-
body = JSON.stringify(
|
|
278
|
+
body = JSON.stringify(_json(input));
|
|
279
279
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
280
280
|
};
|
|
281
281
|
export const se_ModifySamlPropertiesCommand = async (input, context) => {
|
|
282
282
|
const headers = sharedHeaders("ModifySamlProperties");
|
|
283
283
|
let body;
|
|
284
|
-
body = JSON.stringify(
|
|
284
|
+
body = JSON.stringify(_json(input));
|
|
285
285
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
286
286
|
};
|
|
287
287
|
export const se_ModifySelfservicePermissionsCommand = async (input, context) => {
|
|
288
288
|
const headers = sharedHeaders("ModifySelfservicePermissions");
|
|
289
289
|
let body;
|
|
290
|
-
body = JSON.stringify(
|
|
290
|
+
body = JSON.stringify(_json(input));
|
|
291
291
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
292
292
|
};
|
|
293
293
|
export const se_ModifyWorkspaceAccessPropertiesCommand = async (input, context) => {
|
|
294
294
|
const headers = sharedHeaders("ModifyWorkspaceAccessProperties");
|
|
295
295
|
let body;
|
|
296
|
-
body = JSON.stringify(
|
|
296
|
+
body = JSON.stringify(_json(input));
|
|
297
297
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
298
298
|
};
|
|
299
299
|
export const se_ModifyWorkspaceCreationPropertiesCommand = async (input, context) => {
|
|
300
300
|
const headers = sharedHeaders("ModifyWorkspaceCreationProperties");
|
|
301
301
|
let body;
|
|
302
|
-
body = JSON.stringify(
|
|
302
|
+
body = JSON.stringify(_json(input));
|
|
303
303
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
304
304
|
};
|
|
305
305
|
export const se_ModifyWorkspacePropertiesCommand = async (input, context) => {
|
|
306
306
|
const headers = sharedHeaders("ModifyWorkspaceProperties");
|
|
307
307
|
let body;
|
|
308
|
-
body = JSON.stringify(
|
|
308
|
+
body = JSON.stringify(_json(input));
|
|
309
309
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
310
310
|
};
|
|
311
311
|
export const se_ModifyWorkspaceStateCommand = async (input, context) => {
|
|
312
312
|
const headers = sharedHeaders("ModifyWorkspaceState");
|
|
313
313
|
let body;
|
|
314
|
-
body = JSON.stringify(
|
|
314
|
+
body = JSON.stringify(_json(input));
|
|
315
315
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
316
316
|
};
|
|
317
317
|
export const se_RebootWorkspacesCommand = async (input, context) => {
|
|
318
318
|
const headers = sharedHeaders("RebootWorkspaces");
|
|
319
319
|
let body;
|
|
320
|
-
body = JSON.stringify(
|
|
320
|
+
body = JSON.stringify(_json(input));
|
|
321
321
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
322
322
|
};
|
|
323
323
|
export const se_RebuildWorkspacesCommand = async (input, context) => {
|
|
324
324
|
const headers = sharedHeaders("RebuildWorkspaces");
|
|
325
325
|
let body;
|
|
326
|
-
body = JSON.stringify(
|
|
326
|
+
body = JSON.stringify(_json(input));
|
|
327
327
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
328
328
|
};
|
|
329
329
|
export const se_RegisterWorkspaceDirectoryCommand = async (input, context) => {
|
|
330
330
|
const headers = sharedHeaders("RegisterWorkspaceDirectory");
|
|
331
331
|
let body;
|
|
332
|
-
body = JSON.stringify(
|
|
332
|
+
body = JSON.stringify(_json(input));
|
|
333
333
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
334
334
|
};
|
|
335
335
|
export const se_RestoreWorkspaceCommand = async (input, context) => {
|
|
336
336
|
const headers = sharedHeaders("RestoreWorkspace");
|
|
337
337
|
let body;
|
|
338
|
-
body = JSON.stringify(
|
|
338
|
+
body = JSON.stringify(_json(input));
|
|
339
339
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
340
340
|
};
|
|
341
341
|
export const se_RevokeIpRulesCommand = async (input, context) => {
|
|
342
342
|
const headers = sharedHeaders("RevokeIpRules");
|
|
343
343
|
let body;
|
|
344
|
-
body = JSON.stringify(
|
|
344
|
+
body = JSON.stringify(_json(input));
|
|
345
345
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
346
346
|
};
|
|
347
347
|
export const se_StartWorkspacesCommand = async (input, context) => {
|
|
348
348
|
const headers = sharedHeaders("StartWorkspaces");
|
|
349
349
|
let body;
|
|
350
|
-
body = JSON.stringify(
|
|
350
|
+
body = JSON.stringify(_json(input));
|
|
351
351
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
352
352
|
};
|
|
353
353
|
export const se_StopWorkspacesCommand = async (input, context) => {
|
|
354
354
|
const headers = sharedHeaders("StopWorkspaces");
|
|
355
355
|
let body;
|
|
356
|
-
body = JSON.stringify(
|
|
356
|
+
body = JSON.stringify(_json(input));
|
|
357
357
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
358
358
|
};
|
|
359
359
|
export const se_TerminateWorkspacesCommand = async (input, context) => {
|
|
360
360
|
const headers = sharedHeaders("TerminateWorkspaces");
|
|
361
361
|
let body;
|
|
362
|
-
body = JSON.stringify(
|
|
362
|
+
body = JSON.stringify(_json(input));
|
|
363
363
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
364
364
|
};
|
|
365
365
|
export const se_UpdateConnectClientAddInCommand = async (input, context) => {
|
|
366
366
|
const headers = sharedHeaders("UpdateConnectClientAddIn");
|
|
367
367
|
let body;
|
|
368
|
-
body = JSON.stringify(
|
|
368
|
+
body = JSON.stringify(_json(input));
|
|
369
369
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
370
370
|
};
|
|
371
371
|
export const se_UpdateConnectionAliasPermissionCommand = async (input, context) => {
|
|
372
372
|
const headers = sharedHeaders("UpdateConnectionAliasPermission");
|
|
373
373
|
let body;
|
|
374
|
-
body = JSON.stringify(
|
|
374
|
+
body = JSON.stringify(_json(input));
|
|
375
375
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
376
376
|
};
|
|
377
377
|
export const se_UpdateRulesOfIpGroupCommand = async (input, context) => {
|
|
378
378
|
const headers = sharedHeaders("UpdateRulesOfIpGroup");
|
|
379
379
|
let body;
|
|
380
|
-
body = JSON.stringify(
|
|
380
|
+
body = JSON.stringify(_json(input));
|
|
381
381
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
382
382
|
};
|
|
383
383
|
export const se_UpdateWorkspaceBundleCommand = async (input, context) => {
|
|
384
384
|
const headers = sharedHeaders("UpdateWorkspaceBundle");
|
|
385
385
|
let body;
|
|
386
|
-
body = JSON.stringify(
|
|
386
|
+
body = JSON.stringify(_json(input));
|
|
387
387
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
388
388
|
};
|
|
389
389
|
export const se_UpdateWorkspaceImagePermissionCommand = async (input, context) => {
|
|
390
390
|
const headers = sharedHeaders("UpdateWorkspaceImagePermission");
|
|
391
391
|
let body;
|
|
392
|
-
body = JSON.stringify(
|
|
392
|
+
body = JSON.stringify(_json(input));
|
|
393
393
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
394
394
|
};
|
|
395
395
|
export const de_AssociateConnectionAliasCommand = async (output, context) => {
|
|
@@ -398,12 +398,12 @@ export const de_AssociateConnectionAliasCommand = async (output, context) => {
|
|
|
398
398
|
}
|
|
399
399
|
const data = await parseBody(output.body, context);
|
|
400
400
|
let contents = {};
|
|
401
|
-
contents =
|
|
401
|
+
contents = _json(data);
|
|
402
402
|
const response = {
|
|
403
403
|
$metadata: deserializeMetadata(output),
|
|
404
404
|
...contents,
|
|
405
405
|
};
|
|
406
|
-
return
|
|
406
|
+
return response;
|
|
407
407
|
};
|
|
408
408
|
const de_AssociateConnectionAliasCommandError = async (output, context) => {
|
|
409
409
|
const parsedOutput = {
|
|
@@ -432,10 +432,9 @@ const de_AssociateConnectionAliasCommandError = async (output, context) => {
|
|
|
432
432
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
433
433
|
default:
|
|
434
434
|
const parsedBody = parsedOutput.body;
|
|
435
|
-
throwDefaultError({
|
|
435
|
+
return throwDefaultError({
|
|
436
436
|
output,
|
|
437
437
|
parsedBody,
|
|
438
|
-
exceptionCtor: __BaseException,
|
|
439
438
|
errorCode,
|
|
440
439
|
});
|
|
441
440
|
}
|
|
@@ -446,12 +445,12 @@ export const de_AssociateIpGroupsCommand = async (output, context) => {
|
|
|
446
445
|
}
|
|
447
446
|
const data = await parseBody(output.body, context);
|
|
448
447
|
let contents = {};
|
|
449
|
-
contents =
|
|
448
|
+
contents = _json(data);
|
|
450
449
|
const response = {
|
|
451
450
|
$metadata: deserializeMetadata(output),
|
|
452
451
|
...contents,
|
|
453
452
|
};
|
|
454
|
-
return
|
|
453
|
+
return response;
|
|
455
454
|
};
|
|
456
455
|
const de_AssociateIpGroupsCommandError = async (output, context) => {
|
|
457
456
|
const parsedOutput = {
|
|
@@ -480,10 +479,9 @@ const de_AssociateIpGroupsCommandError = async (output, context) => {
|
|
|
480
479
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
481
480
|
default:
|
|
482
481
|
const parsedBody = parsedOutput.body;
|
|
483
|
-
throwDefaultError({
|
|
482
|
+
return throwDefaultError({
|
|
484
483
|
output,
|
|
485
484
|
parsedBody,
|
|
486
|
-
exceptionCtor: __BaseException,
|
|
487
485
|
errorCode,
|
|
488
486
|
});
|
|
489
487
|
}
|
|
@@ -494,12 +492,12 @@ export const de_AuthorizeIpRulesCommand = async (output, context) => {
|
|
|
494
492
|
}
|
|
495
493
|
const data = await parseBody(output.body, context);
|
|
496
494
|
let contents = {};
|
|
497
|
-
contents =
|
|
495
|
+
contents = _json(data);
|
|
498
496
|
const response = {
|
|
499
497
|
$metadata: deserializeMetadata(output),
|
|
500
498
|
...contents,
|
|
501
499
|
};
|
|
502
|
-
return
|
|
500
|
+
return response;
|
|
503
501
|
};
|
|
504
502
|
const de_AuthorizeIpRulesCommandError = async (output, context) => {
|
|
505
503
|
const parsedOutput = {
|
|
@@ -525,10 +523,9 @@ const de_AuthorizeIpRulesCommandError = async (output, context) => {
|
|
|
525
523
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
526
524
|
default:
|
|
527
525
|
const parsedBody = parsedOutput.body;
|
|
528
|
-
throwDefaultError({
|
|
526
|
+
return throwDefaultError({
|
|
529
527
|
output,
|
|
530
528
|
parsedBody,
|
|
531
|
-
exceptionCtor: __BaseException,
|
|
532
529
|
errorCode,
|
|
533
530
|
});
|
|
534
531
|
}
|
|
@@ -539,12 +536,12 @@ export const de_CopyWorkspaceImageCommand = async (output, context) => {
|
|
|
539
536
|
}
|
|
540
537
|
const data = await parseBody(output.body, context);
|
|
541
538
|
let contents = {};
|
|
542
|
-
contents =
|
|
539
|
+
contents = _json(data);
|
|
543
540
|
const response = {
|
|
544
541
|
$metadata: deserializeMetadata(output),
|
|
545
542
|
...contents,
|
|
546
543
|
};
|
|
547
|
-
return
|
|
544
|
+
return response;
|
|
548
545
|
};
|
|
549
546
|
const de_CopyWorkspaceImageCommandError = async (output, context) => {
|
|
550
547
|
const parsedOutput = {
|
|
@@ -576,10 +573,9 @@ const de_CopyWorkspaceImageCommandError = async (output, context) => {
|
|
|
576
573
|
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
577
574
|
default:
|
|
578
575
|
const parsedBody = parsedOutput.body;
|
|
579
|
-
throwDefaultError({
|
|
576
|
+
return throwDefaultError({
|
|
580
577
|
output,
|
|
581
578
|
parsedBody,
|
|
582
|
-
exceptionCtor: __BaseException,
|
|
583
579
|
errorCode,
|
|
584
580
|
});
|
|
585
581
|
}
|
|
@@ -590,12 +586,12 @@ export const de_CreateConnectClientAddInCommand = async (output, context) => {
|
|
|
590
586
|
}
|
|
591
587
|
const data = await parseBody(output.body, context);
|
|
592
588
|
let contents = {};
|
|
593
|
-
contents =
|
|
589
|
+
contents = _json(data);
|
|
594
590
|
const response = {
|
|
595
591
|
$metadata: deserializeMetadata(output),
|
|
596
592
|
...contents,
|
|
597
593
|
};
|
|
598
|
-
return
|
|
594
|
+
return response;
|
|
599
595
|
};
|
|
600
596
|
const de_CreateConnectClientAddInCommandError = async (output, context) => {
|
|
601
597
|
const parsedOutput = {
|
|
@@ -621,10 +617,9 @@ const de_CreateConnectClientAddInCommandError = async (output, context) => {
|
|
|
621
617
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
622
618
|
default:
|
|
623
619
|
const parsedBody = parsedOutput.body;
|
|
624
|
-
throwDefaultError({
|
|
620
|
+
return throwDefaultError({
|
|
625
621
|
output,
|
|
626
622
|
parsedBody,
|
|
627
|
-
exceptionCtor: __BaseException,
|
|
628
623
|
errorCode,
|
|
629
624
|
});
|
|
630
625
|
}
|
|
@@ -635,12 +630,12 @@ export const de_CreateConnectionAliasCommand = async (output, context) => {
|
|
|
635
630
|
}
|
|
636
631
|
const data = await parseBody(output.body, context);
|
|
637
632
|
let contents = {};
|
|
638
|
-
contents =
|
|
633
|
+
contents = _json(data);
|
|
639
634
|
const response = {
|
|
640
635
|
$metadata: deserializeMetadata(output),
|
|
641
636
|
...contents,
|
|
642
637
|
};
|
|
643
|
-
return
|
|
638
|
+
return response;
|
|
644
639
|
};
|
|
645
640
|
const de_CreateConnectionAliasCommandError = async (output, context) => {
|
|
646
641
|
const parsedOutput = {
|
|
@@ -669,10 +664,9 @@ const de_CreateConnectionAliasCommandError = async (output, context) => {
|
|
|
669
664
|
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
670
665
|
default:
|
|
671
666
|
const parsedBody = parsedOutput.body;
|
|
672
|
-
throwDefaultError({
|
|
667
|
+
return throwDefaultError({
|
|
673
668
|
output,
|
|
674
669
|
parsedBody,
|
|
675
|
-
exceptionCtor: __BaseException,
|
|
676
670
|
errorCode,
|
|
677
671
|
});
|
|
678
672
|
}
|
|
@@ -683,12 +677,12 @@ export const de_CreateIpGroupCommand = async (output, context) => {
|
|
|
683
677
|
}
|
|
684
678
|
const data = await parseBody(output.body, context);
|
|
685
679
|
let contents = {};
|
|
686
|
-
contents =
|
|
680
|
+
contents = _json(data);
|
|
687
681
|
const response = {
|
|
688
682
|
$metadata: deserializeMetadata(output),
|
|
689
683
|
...contents,
|
|
690
684
|
};
|
|
691
|
-
return
|
|
685
|
+
return response;
|
|
692
686
|
};
|
|
693
687
|
const de_CreateIpGroupCommandError = async (output, context) => {
|
|
694
688
|
const parsedOutput = {
|
|
@@ -714,10 +708,9 @@ const de_CreateIpGroupCommandError = async (output, context) => {
|
|
|
714
708
|
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
715
709
|
default:
|
|
716
710
|
const parsedBody = parsedOutput.body;
|
|
717
|
-
throwDefaultError({
|
|
711
|
+
return throwDefaultError({
|
|
718
712
|
output,
|
|
719
713
|
parsedBody,
|
|
720
|
-
exceptionCtor: __BaseException,
|
|
721
714
|
errorCode,
|
|
722
715
|
});
|
|
723
716
|
}
|
|
@@ -728,12 +721,12 @@ export const de_CreateStandbyWorkspacesCommand = async (output, context) => {
|
|
|
728
721
|
}
|
|
729
722
|
const data = await parseBody(output.body, context);
|
|
730
723
|
let contents = {};
|
|
731
|
-
contents =
|
|
724
|
+
contents = _json(data);
|
|
732
725
|
const response = {
|
|
733
726
|
$metadata: deserializeMetadata(output),
|
|
734
727
|
...contents,
|
|
735
728
|
};
|
|
736
|
-
return
|
|
729
|
+
return response;
|
|
737
730
|
};
|
|
738
731
|
const de_CreateStandbyWorkspacesCommandError = async (output, context) => {
|
|
739
732
|
const parsedOutput = {
|
|
@@ -759,10 +752,9 @@ const de_CreateStandbyWorkspacesCommandError = async (output, context) => {
|
|
|
759
752
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
760
753
|
default:
|
|
761
754
|
const parsedBody = parsedOutput.body;
|
|
762
|
-
throwDefaultError({
|
|
755
|
+
return throwDefaultError({
|
|
763
756
|
output,
|
|
764
757
|
parsedBody,
|
|
765
|
-
exceptionCtor: __BaseException,
|
|
766
758
|
errorCode,
|
|
767
759
|
});
|
|
768
760
|
}
|
|
@@ -773,12 +765,12 @@ export const de_CreateTagsCommand = async (output, context) => {
|
|
|
773
765
|
}
|
|
774
766
|
const data = await parseBody(output.body, context);
|
|
775
767
|
let contents = {};
|
|
776
|
-
contents =
|
|
768
|
+
contents = _json(data);
|
|
777
769
|
const response = {
|
|
778
770
|
$metadata: deserializeMetadata(output),
|
|
779
771
|
...contents,
|
|
780
772
|
};
|
|
781
|
-
return
|
|
773
|
+
return response;
|
|
782
774
|
};
|
|
783
775
|
const de_CreateTagsCommandError = async (output, context) => {
|
|
784
776
|
const parsedOutput = {
|
|
@@ -798,10 +790,9 @@ const de_CreateTagsCommandError = async (output, context) => {
|
|
|
798
790
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
799
791
|
default:
|
|
800
792
|
const parsedBody = parsedOutput.body;
|
|
801
|
-
throwDefaultError({
|
|
793
|
+
return throwDefaultError({
|
|
802
794
|
output,
|
|
803
795
|
parsedBody,
|
|
804
|
-
exceptionCtor: __BaseException,
|
|
805
796
|
errorCode,
|
|
806
797
|
});
|
|
807
798
|
}
|
|
@@ -812,12 +803,12 @@ export const de_CreateUpdatedWorkspaceImageCommand = async (output, context) =>
|
|
|
812
803
|
}
|
|
813
804
|
const data = await parseBody(output.body, context);
|
|
814
805
|
let contents = {};
|
|
815
|
-
contents =
|
|
806
|
+
contents = _json(data);
|
|
816
807
|
const response = {
|
|
817
808
|
$metadata: deserializeMetadata(output),
|
|
818
809
|
...contents,
|
|
819
810
|
};
|
|
820
|
-
return
|
|
811
|
+
return response;
|
|
821
812
|
};
|
|
822
813
|
const de_CreateUpdatedWorkspaceImageCommandError = async (output, context) => {
|
|
823
814
|
const parsedOutput = {
|
|
@@ -849,10 +840,9 @@ const de_CreateUpdatedWorkspaceImageCommandError = async (output, context) => {
|
|
|
849
840
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
850
841
|
default:
|
|
851
842
|
const parsedBody = parsedOutput.body;
|
|
852
|
-
throwDefaultError({
|
|
843
|
+
return throwDefaultError({
|
|
853
844
|
output,
|
|
854
845
|
parsedBody,
|
|
855
|
-
exceptionCtor: __BaseException,
|
|
856
846
|
errorCode,
|
|
857
847
|
});
|
|
858
848
|
}
|
|
@@ -868,7 +858,7 @@ export const de_CreateWorkspaceBundleCommand = async (output, context) => {
|
|
|
868
858
|
$metadata: deserializeMetadata(output),
|
|
869
859
|
...contents,
|
|
870
860
|
};
|
|
871
|
-
return
|
|
861
|
+
return response;
|
|
872
862
|
};
|
|
873
863
|
const de_CreateWorkspaceBundleCommandError = async (output, context) => {
|
|
874
864
|
const parsedOutput = {
|
|
@@ -897,10 +887,9 @@ const de_CreateWorkspaceBundleCommandError = async (output, context) => {
|
|
|
897
887
|
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
898
888
|
default:
|
|
899
889
|
const parsedBody = parsedOutput.body;
|
|
900
|
-
throwDefaultError({
|
|
890
|
+
return throwDefaultError({
|
|
901
891
|
output,
|
|
902
892
|
parsedBody,
|
|
903
|
-
exceptionCtor: __BaseException,
|
|
904
893
|
errorCode,
|
|
905
894
|
});
|
|
906
895
|
}
|
|
@@ -916,7 +905,7 @@ export const de_CreateWorkspaceImageCommand = async (output, context) => {
|
|
|
916
905
|
$metadata: deserializeMetadata(output),
|
|
917
906
|
...contents,
|
|
918
907
|
};
|
|
919
|
-
return
|
|
908
|
+
return response;
|
|
920
909
|
};
|
|
921
910
|
const de_CreateWorkspaceImageCommandError = async (output, context) => {
|
|
922
911
|
const parsedOutput = {
|
|
@@ -948,10 +937,9 @@ const de_CreateWorkspaceImageCommandError = async (output, context) => {
|
|
|
948
937
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
949
938
|
default:
|
|
950
939
|
const parsedBody = parsedOutput.body;
|
|
951
|
-
throwDefaultError({
|
|
940
|
+
return throwDefaultError({
|
|
952
941
|
output,
|
|
953
942
|
parsedBody,
|
|
954
|
-
exceptionCtor: __BaseException,
|
|
955
943
|
errorCode,
|
|
956
944
|
});
|
|
957
945
|
}
|
|
@@ -962,12 +950,12 @@ export const de_CreateWorkspacesCommand = async (output, context) => {
|
|
|
962
950
|
}
|
|
963
951
|
const data = await parseBody(output.body, context);
|
|
964
952
|
let contents = {};
|
|
965
|
-
contents =
|
|
953
|
+
contents = _json(data);
|
|
966
954
|
const response = {
|
|
967
955
|
$metadata: deserializeMetadata(output),
|
|
968
956
|
...contents,
|
|
969
957
|
};
|
|
970
|
-
return
|
|
958
|
+
return response;
|
|
971
959
|
};
|
|
972
960
|
const de_CreateWorkspacesCommandError = async (output, context) => {
|
|
973
961
|
const parsedOutput = {
|
|
@@ -984,10 +972,9 @@ const de_CreateWorkspacesCommandError = async (output, context) => {
|
|
|
984
972
|
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
985
973
|
default:
|
|
986
974
|
const parsedBody = parsedOutput.body;
|
|
987
|
-
throwDefaultError({
|
|
975
|
+
return throwDefaultError({
|
|
988
976
|
output,
|
|
989
977
|
parsedBody,
|
|
990
|
-
exceptionCtor: __BaseException,
|
|
991
978
|
errorCode,
|
|
992
979
|
});
|
|
993
980
|
}
|
|
@@ -998,12 +985,12 @@ export const de_DeleteClientBrandingCommand = async (output, context) => {
|
|
|
998
985
|
}
|
|
999
986
|
const data = await parseBody(output.body, context);
|
|
1000
987
|
let contents = {};
|
|
1001
|
-
contents =
|
|
988
|
+
contents = _json(data);
|
|
1002
989
|
const response = {
|
|
1003
990
|
$metadata: deserializeMetadata(output),
|
|
1004
991
|
...contents,
|
|
1005
992
|
};
|
|
1006
|
-
return
|
|
993
|
+
return response;
|
|
1007
994
|
};
|
|
1008
995
|
const de_DeleteClientBrandingCommandError = async (output, context) => {
|
|
1009
996
|
const parsedOutput = {
|
|
@@ -1023,10 +1010,9 @@ const de_DeleteClientBrandingCommandError = async (output, context) => {
|
|
|
1023
1010
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1024
1011
|
default:
|
|
1025
1012
|
const parsedBody = parsedOutput.body;
|
|
1026
|
-
throwDefaultError({
|
|
1013
|
+
return throwDefaultError({
|
|
1027
1014
|
output,
|
|
1028
1015
|
parsedBody,
|
|
1029
|
-
exceptionCtor: __BaseException,
|
|
1030
1016
|
errorCode,
|
|
1031
1017
|
});
|
|
1032
1018
|
}
|
|
@@ -1037,12 +1023,12 @@ export const de_DeleteConnectClientAddInCommand = async (output, context) => {
|
|
|
1037
1023
|
}
|
|
1038
1024
|
const data = await parseBody(output.body, context);
|
|
1039
1025
|
let contents = {};
|
|
1040
|
-
contents =
|
|
1026
|
+
contents = _json(data);
|
|
1041
1027
|
const response = {
|
|
1042
1028
|
$metadata: deserializeMetadata(output),
|
|
1043
1029
|
...contents,
|
|
1044
1030
|
};
|
|
1045
|
-
return
|
|
1031
|
+
return response;
|
|
1046
1032
|
};
|
|
1047
1033
|
const de_DeleteConnectClientAddInCommandError = async (output, context) => {
|
|
1048
1034
|
const parsedOutput = {
|
|
@@ -1062,10 +1048,9 @@ const de_DeleteConnectClientAddInCommandError = async (output, context) => {
|
|
|
1062
1048
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1063
1049
|
default:
|
|
1064
1050
|
const parsedBody = parsedOutput.body;
|
|
1065
|
-
throwDefaultError({
|
|
1051
|
+
return throwDefaultError({
|
|
1066
1052
|
output,
|
|
1067
1053
|
parsedBody,
|
|
1068
|
-
exceptionCtor: __BaseException,
|
|
1069
1054
|
errorCode,
|
|
1070
1055
|
});
|
|
1071
1056
|
}
|
|
@@ -1076,12 +1061,12 @@ export const de_DeleteConnectionAliasCommand = async (output, context) => {
|
|
|
1076
1061
|
}
|
|
1077
1062
|
const data = await parseBody(output.body, context);
|
|
1078
1063
|
let contents = {};
|
|
1079
|
-
contents =
|
|
1064
|
+
contents = _json(data);
|
|
1080
1065
|
const response = {
|
|
1081
1066
|
$metadata: deserializeMetadata(output),
|
|
1082
1067
|
...contents,
|
|
1083
1068
|
};
|
|
1084
|
-
return
|
|
1069
|
+
return response;
|
|
1085
1070
|
};
|
|
1086
1071
|
const de_DeleteConnectionAliasCommandError = async (output, context) => {
|
|
1087
1072
|
const parsedOutput = {
|
|
@@ -1110,10 +1095,9 @@ const de_DeleteConnectionAliasCommandError = async (output, context) => {
|
|
|
1110
1095
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1111
1096
|
default:
|
|
1112
1097
|
const parsedBody = parsedOutput.body;
|
|
1113
|
-
throwDefaultError({
|
|
1098
|
+
return throwDefaultError({
|
|
1114
1099
|
output,
|
|
1115
1100
|
parsedBody,
|
|
1116
|
-
exceptionCtor: __BaseException,
|
|
1117
1101
|
errorCode,
|
|
1118
1102
|
});
|
|
1119
1103
|
}
|
|
@@ -1124,12 +1108,12 @@ export const de_DeleteIpGroupCommand = async (output, context) => {
|
|
|
1124
1108
|
}
|
|
1125
1109
|
const data = await parseBody(output.body, context);
|
|
1126
1110
|
let contents = {};
|
|
1127
|
-
contents =
|
|
1111
|
+
contents = _json(data);
|
|
1128
1112
|
const response = {
|
|
1129
1113
|
$metadata: deserializeMetadata(output),
|
|
1130
1114
|
...contents,
|
|
1131
1115
|
};
|
|
1132
|
-
return
|
|
1116
|
+
return response;
|
|
1133
1117
|
};
|
|
1134
1118
|
const de_DeleteIpGroupCommandError = async (output, context) => {
|
|
1135
1119
|
const parsedOutput = {
|
|
@@ -1152,10 +1136,9 @@ const de_DeleteIpGroupCommandError = async (output, context) => {
|
|
|
1152
1136
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1153
1137
|
default:
|
|
1154
1138
|
const parsedBody = parsedOutput.body;
|
|
1155
|
-
throwDefaultError({
|
|
1139
|
+
return throwDefaultError({
|
|
1156
1140
|
output,
|
|
1157
1141
|
parsedBody,
|
|
1158
|
-
exceptionCtor: __BaseException,
|
|
1159
1142
|
errorCode,
|
|
1160
1143
|
});
|
|
1161
1144
|
}
|
|
@@ -1166,12 +1149,12 @@ export const de_DeleteTagsCommand = async (output, context) => {
|
|
|
1166
1149
|
}
|
|
1167
1150
|
const data = await parseBody(output.body, context);
|
|
1168
1151
|
let contents = {};
|
|
1169
|
-
contents =
|
|
1152
|
+
contents = _json(data);
|
|
1170
1153
|
const response = {
|
|
1171
1154
|
$metadata: deserializeMetadata(output),
|
|
1172
1155
|
...contents,
|
|
1173
1156
|
};
|
|
1174
|
-
return
|
|
1157
|
+
return response;
|
|
1175
1158
|
};
|
|
1176
1159
|
const de_DeleteTagsCommandError = async (output, context) => {
|
|
1177
1160
|
const parsedOutput = {
|
|
@@ -1188,10 +1171,9 @@ const de_DeleteTagsCommandError = async (output, context) => {
|
|
|
1188
1171
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1189
1172
|
default:
|
|
1190
1173
|
const parsedBody = parsedOutput.body;
|
|
1191
|
-
throwDefaultError({
|
|
1174
|
+
return throwDefaultError({
|
|
1192
1175
|
output,
|
|
1193
1176
|
parsedBody,
|
|
1194
|
-
exceptionCtor: __BaseException,
|
|
1195
1177
|
errorCode,
|
|
1196
1178
|
});
|
|
1197
1179
|
}
|
|
@@ -1202,12 +1184,12 @@ export const de_DeleteWorkspaceBundleCommand = async (output, context) => {
|
|
|
1202
1184
|
}
|
|
1203
1185
|
const data = await parseBody(output.body, context);
|
|
1204
1186
|
let contents = {};
|
|
1205
|
-
contents =
|
|
1187
|
+
contents = _json(data);
|
|
1206
1188
|
const response = {
|
|
1207
1189
|
$metadata: deserializeMetadata(output),
|
|
1208
1190
|
...contents,
|
|
1209
1191
|
};
|
|
1210
|
-
return
|
|
1192
|
+
return response;
|
|
1211
1193
|
};
|
|
1212
1194
|
const de_DeleteWorkspaceBundleCommandError = async (output, context) => {
|
|
1213
1195
|
const parsedOutput = {
|
|
@@ -1230,10 +1212,9 @@ const de_DeleteWorkspaceBundleCommandError = async (output, context) => {
|
|
|
1230
1212
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1231
1213
|
default:
|
|
1232
1214
|
const parsedBody = parsedOutput.body;
|
|
1233
|
-
throwDefaultError({
|
|
1215
|
+
return throwDefaultError({
|
|
1234
1216
|
output,
|
|
1235
1217
|
parsedBody,
|
|
1236
|
-
exceptionCtor: __BaseException,
|
|
1237
1218
|
errorCode,
|
|
1238
1219
|
});
|
|
1239
1220
|
}
|
|
@@ -1244,12 +1225,12 @@ export const de_DeleteWorkspaceImageCommand = async (output, context) => {
|
|
|
1244
1225
|
}
|
|
1245
1226
|
const data = await parseBody(output.body, context);
|
|
1246
1227
|
let contents = {};
|
|
1247
|
-
contents =
|
|
1228
|
+
contents = _json(data);
|
|
1248
1229
|
const response = {
|
|
1249
1230
|
$metadata: deserializeMetadata(output),
|
|
1250
1231
|
...contents,
|
|
1251
1232
|
};
|
|
1252
|
-
return
|
|
1233
|
+
return response;
|
|
1253
1234
|
};
|
|
1254
1235
|
const de_DeleteWorkspaceImageCommandError = async (output, context) => {
|
|
1255
1236
|
const parsedOutput = {
|
|
@@ -1269,10 +1250,9 @@ const de_DeleteWorkspaceImageCommandError = async (output, context) => {
|
|
|
1269
1250
|
throw await de_ResourceAssociatedExceptionRes(parsedOutput, context);
|
|
1270
1251
|
default:
|
|
1271
1252
|
const parsedBody = parsedOutput.body;
|
|
1272
|
-
throwDefaultError({
|
|
1253
|
+
return throwDefaultError({
|
|
1273
1254
|
output,
|
|
1274
1255
|
parsedBody,
|
|
1275
|
-
exceptionCtor: __BaseException,
|
|
1276
1256
|
errorCode,
|
|
1277
1257
|
});
|
|
1278
1258
|
}
|
|
@@ -1283,12 +1263,12 @@ export const de_DeregisterWorkspaceDirectoryCommand = async (output, context) =>
|
|
|
1283
1263
|
}
|
|
1284
1264
|
const data = await parseBody(output.body, context);
|
|
1285
1265
|
let contents = {};
|
|
1286
|
-
contents =
|
|
1266
|
+
contents = _json(data);
|
|
1287
1267
|
const response = {
|
|
1288
1268
|
$metadata: deserializeMetadata(output),
|
|
1289
1269
|
...contents,
|
|
1290
1270
|
};
|
|
1291
|
-
return
|
|
1271
|
+
return response;
|
|
1292
1272
|
};
|
|
1293
1273
|
const de_DeregisterWorkspaceDirectoryCommandError = async (output, context) => {
|
|
1294
1274
|
const parsedOutput = {
|
|
@@ -1314,10 +1294,9 @@ const de_DeregisterWorkspaceDirectoryCommandError = async (output, context) => {
|
|
|
1314
1294
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1315
1295
|
default:
|
|
1316
1296
|
const parsedBody = parsedOutput.body;
|
|
1317
|
-
throwDefaultError({
|
|
1297
|
+
return throwDefaultError({
|
|
1318
1298
|
output,
|
|
1319
1299
|
parsedBody,
|
|
1320
|
-
exceptionCtor: __BaseException,
|
|
1321
1300
|
errorCode,
|
|
1322
1301
|
});
|
|
1323
1302
|
}
|
|
@@ -1328,12 +1307,12 @@ export const de_DescribeAccountCommand = async (output, context) => {
|
|
|
1328
1307
|
}
|
|
1329
1308
|
const data = await parseBody(output.body, context);
|
|
1330
1309
|
let contents = {};
|
|
1331
|
-
contents =
|
|
1310
|
+
contents = _json(data);
|
|
1332
1311
|
const response = {
|
|
1333
1312
|
$metadata: deserializeMetadata(output),
|
|
1334
1313
|
...contents,
|
|
1335
1314
|
};
|
|
1336
|
-
return
|
|
1315
|
+
return response;
|
|
1337
1316
|
};
|
|
1338
1317
|
const de_DescribeAccountCommandError = async (output, context) => {
|
|
1339
1318
|
const parsedOutput = {
|
|
@@ -1347,10 +1326,9 @@ const de_DescribeAccountCommandError = async (output, context) => {
|
|
|
1347
1326
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1348
1327
|
default:
|
|
1349
1328
|
const parsedBody = parsedOutput.body;
|
|
1350
|
-
throwDefaultError({
|
|
1329
|
+
return throwDefaultError({
|
|
1351
1330
|
output,
|
|
1352
1331
|
parsedBody,
|
|
1353
|
-
exceptionCtor: __BaseException,
|
|
1354
1332
|
errorCode,
|
|
1355
1333
|
});
|
|
1356
1334
|
}
|
|
@@ -1366,7 +1344,7 @@ export const de_DescribeAccountModificationsCommand = async (output, context) =>
|
|
|
1366
1344
|
$metadata: deserializeMetadata(output),
|
|
1367
1345
|
...contents,
|
|
1368
1346
|
};
|
|
1369
|
-
return
|
|
1347
|
+
return response;
|
|
1370
1348
|
};
|
|
1371
1349
|
const de_DescribeAccountModificationsCommandError = async (output, context) => {
|
|
1372
1350
|
const parsedOutput = {
|
|
@@ -1380,10 +1358,9 @@ const de_DescribeAccountModificationsCommandError = async (output, context) => {
|
|
|
1380
1358
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1381
1359
|
default:
|
|
1382
1360
|
const parsedBody = parsedOutput.body;
|
|
1383
|
-
throwDefaultError({
|
|
1361
|
+
return throwDefaultError({
|
|
1384
1362
|
output,
|
|
1385
1363
|
parsedBody,
|
|
1386
|
-
exceptionCtor: __BaseException,
|
|
1387
1364
|
errorCode,
|
|
1388
1365
|
});
|
|
1389
1366
|
}
|
|
@@ -1394,12 +1371,12 @@ export const de_DescribeClientBrandingCommand = async (output, context) => {
|
|
|
1394
1371
|
}
|
|
1395
1372
|
const data = await parseBody(output.body, context);
|
|
1396
1373
|
let contents = {};
|
|
1397
|
-
contents =
|
|
1374
|
+
contents = _json(data);
|
|
1398
1375
|
const response = {
|
|
1399
1376
|
$metadata: deserializeMetadata(output),
|
|
1400
1377
|
...contents,
|
|
1401
1378
|
};
|
|
1402
|
-
return
|
|
1379
|
+
return response;
|
|
1403
1380
|
};
|
|
1404
1381
|
const de_DescribeClientBrandingCommandError = async (output, context) => {
|
|
1405
1382
|
const parsedOutput = {
|
|
@@ -1419,10 +1396,9 @@ const de_DescribeClientBrandingCommandError = async (output, context) => {
|
|
|
1419
1396
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1420
1397
|
default:
|
|
1421
1398
|
const parsedBody = parsedOutput.body;
|
|
1422
|
-
throwDefaultError({
|
|
1399
|
+
return throwDefaultError({
|
|
1423
1400
|
output,
|
|
1424
1401
|
parsedBody,
|
|
1425
|
-
exceptionCtor: __BaseException,
|
|
1426
1402
|
errorCode,
|
|
1427
1403
|
});
|
|
1428
1404
|
}
|
|
@@ -1433,12 +1409,12 @@ export const de_DescribeClientPropertiesCommand = async (output, context) => {
|
|
|
1433
1409
|
}
|
|
1434
1410
|
const data = await parseBody(output.body, context);
|
|
1435
1411
|
let contents = {};
|
|
1436
|
-
contents =
|
|
1412
|
+
contents = _json(data);
|
|
1437
1413
|
const response = {
|
|
1438
1414
|
$metadata: deserializeMetadata(output),
|
|
1439
1415
|
...contents,
|
|
1440
1416
|
};
|
|
1441
|
-
return
|
|
1417
|
+
return response;
|
|
1442
1418
|
};
|
|
1443
1419
|
const de_DescribeClientPropertiesCommandError = async (output, context) => {
|
|
1444
1420
|
const parsedOutput = {
|
|
@@ -1458,10 +1434,9 @@ const de_DescribeClientPropertiesCommandError = async (output, context) => {
|
|
|
1458
1434
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1459
1435
|
default:
|
|
1460
1436
|
const parsedBody = parsedOutput.body;
|
|
1461
|
-
throwDefaultError({
|
|
1437
|
+
return throwDefaultError({
|
|
1462
1438
|
output,
|
|
1463
1439
|
parsedBody,
|
|
1464
|
-
exceptionCtor: __BaseException,
|
|
1465
1440
|
errorCode,
|
|
1466
1441
|
});
|
|
1467
1442
|
}
|
|
@@ -1472,12 +1447,12 @@ export const de_DescribeConnectClientAddInsCommand = async (output, context) =>
|
|
|
1472
1447
|
}
|
|
1473
1448
|
const data = await parseBody(output.body, context);
|
|
1474
1449
|
let contents = {};
|
|
1475
|
-
contents =
|
|
1450
|
+
contents = _json(data);
|
|
1476
1451
|
const response = {
|
|
1477
1452
|
$metadata: deserializeMetadata(output),
|
|
1478
1453
|
...contents,
|
|
1479
1454
|
};
|
|
1480
|
-
return
|
|
1455
|
+
return response;
|
|
1481
1456
|
};
|
|
1482
1457
|
const de_DescribeConnectClientAddInsCommandError = async (output, context) => {
|
|
1483
1458
|
const parsedOutput = {
|
|
@@ -1497,10 +1472,9 @@ const de_DescribeConnectClientAddInsCommandError = async (output, context) => {
|
|
|
1497
1472
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1498
1473
|
default:
|
|
1499
1474
|
const parsedBody = parsedOutput.body;
|
|
1500
|
-
throwDefaultError({
|
|
1475
|
+
return throwDefaultError({
|
|
1501
1476
|
output,
|
|
1502
1477
|
parsedBody,
|
|
1503
|
-
exceptionCtor: __BaseException,
|
|
1504
1478
|
errorCode,
|
|
1505
1479
|
});
|
|
1506
1480
|
}
|
|
@@ -1511,12 +1485,12 @@ export const de_DescribeConnectionAliasesCommand = async (output, context) => {
|
|
|
1511
1485
|
}
|
|
1512
1486
|
const data = await parseBody(output.body, context);
|
|
1513
1487
|
let contents = {};
|
|
1514
|
-
contents =
|
|
1488
|
+
contents = _json(data);
|
|
1515
1489
|
const response = {
|
|
1516
1490
|
$metadata: deserializeMetadata(output),
|
|
1517
1491
|
...contents,
|
|
1518
1492
|
};
|
|
1519
|
-
return
|
|
1493
|
+
return response;
|
|
1520
1494
|
};
|
|
1521
1495
|
const de_DescribeConnectionAliasesCommandError = async (output, context) => {
|
|
1522
1496
|
const parsedOutput = {
|
|
@@ -1536,10 +1510,9 @@ const de_DescribeConnectionAliasesCommandError = async (output, context) => {
|
|
|
1536
1510
|
throw await de_OperationNotSupportedExceptionRes(parsedOutput, context);
|
|
1537
1511
|
default:
|
|
1538
1512
|
const parsedBody = parsedOutput.body;
|
|
1539
|
-
throwDefaultError({
|
|
1513
|
+
return throwDefaultError({
|
|
1540
1514
|
output,
|
|
1541
1515
|
parsedBody,
|
|
1542
|
-
exceptionCtor: __BaseException,
|
|
1543
1516
|
errorCode,
|
|
1544
1517
|
});
|
|
1545
1518
|
}
|
|
@@ -1550,12 +1523,12 @@ export const de_DescribeConnectionAliasPermissionsCommand = async (output, conte
|
|
|
1550
1523
|
}
|
|
1551
1524
|
const data = await parseBody(output.body, context);
|
|
1552
1525
|
let contents = {};
|
|
1553
|
-
contents =
|
|
1526
|
+
contents = _json(data);
|
|
1554
1527
|
const response = {
|
|
1555
1528
|
$metadata: deserializeMetadata(output),
|
|
1556
1529
|
...contents,
|
|
1557
1530
|
};
|
|
1558
|
-
return
|
|
1531
|
+
return response;
|
|
1559
1532
|
};
|
|
1560
1533
|
const de_DescribeConnectionAliasPermissionsCommandError = async (output, context) => {
|
|
1561
1534
|
const parsedOutput = {
|
|
@@ -1578,10 +1551,9 @@ const de_DescribeConnectionAliasPermissionsCommandError = async (output, context
|
|
|
1578
1551
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1579
1552
|
default:
|
|
1580
1553
|
const parsedBody = parsedOutput.body;
|
|
1581
|
-
throwDefaultError({
|
|
1554
|
+
return throwDefaultError({
|
|
1582
1555
|
output,
|
|
1583
1556
|
parsedBody,
|
|
1584
|
-
exceptionCtor: __BaseException,
|
|
1585
1557
|
errorCode,
|
|
1586
1558
|
});
|
|
1587
1559
|
}
|
|
@@ -1592,12 +1564,12 @@ export const de_DescribeIpGroupsCommand = async (output, context) => {
|
|
|
1592
1564
|
}
|
|
1593
1565
|
const data = await parseBody(output.body, context);
|
|
1594
1566
|
let contents = {};
|
|
1595
|
-
contents =
|
|
1567
|
+
contents = _json(data);
|
|
1596
1568
|
const response = {
|
|
1597
1569
|
$metadata: deserializeMetadata(output),
|
|
1598
1570
|
...contents,
|
|
1599
1571
|
};
|
|
1600
|
-
return
|
|
1572
|
+
return response;
|
|
1601
1573
|
};
|
|
1602
1574
|
const de_DescribeIpGroupsCommandError = async (output, context) => {
|
|
1603
1575
|
const parsedOutput = {
|
|
@@ -1614,10 +1586,9 @@ const de_DescribeIpGroupsCommandError = async (output, context) => {
|
|
|
1614
1586
|
throw await de_InvalidParameterValuesExceptionRes(parsedOutput, context);
|
|
1615
1587
|
default:
|
|
1616
1588
|
const parsedBody = parsedOutput.body;
|
|
1617
|
-
throwDefaultError({
|
|
1589
|
+
return throwDefaultError({
|
|
1618
1590
|
output,
|
|
1619
1591
|
parsedBody,
|
|
1620
|
-
exceptionCtor: __BaseException,
|
|
1621
1592
|
errorCode,
|
|
1622
1593
|
});
|
|
1623
1594
|
}
|
|
@@ -1628,12 +1599,12 @@ export const de_DescribeTagsCommand = async (output, context) => {
|
|
|
1628
1599
|
}
|
|
1629
1600
|
const data = await parseBody(output.body, context);
|
|
1630
1601
|
let contents = {};
|
|
1631
|
-
contents =
|
|
1602
|
+
contents = _json(data);
|
|
1632
1603
|
const response = {
|
|
1633
1604
|
$metadata: deserializeMetadata(output),
|
|
1634
1605
|
...contents,
|
|
1635
1606
|
};
|
|
1636
|
-
return
|
|
1607
|
+
return response;
|
|
1637
1608
|
};
|
|
1638
1609
|
const de_DescribeTagsCommandError = async (output, context) => {
|
|
1639
1610
|
const parsedOutput = {
|
|
@@ -1647,10 +1618,9 @@ const de_DescribeTagsCommandError = async (output, context) => {
|
|
|
1647
1618
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1648
1619
|
default:
|
|
1649
1620
|
const parsedBody = parsedOutput.body;
|
|
1650
|
-
throwDefaultError({
|
|
1621
|
+
return throwDefaultError({
|
|
1651
1622
|
output,
|
|
1652
1623
|
parsedBody,
|
|
1653
|
-
exceptionCtor: __BaseException,
|
|
1654
1624
|
errorCode,
|
|
1655
1625
|
});
|
|
1656
1626
|
}
|
|
@@ -1666,7 +1636,7 @@ export const de_DescribeWorkspaceBundlesCommand = async (output, context) => {
|
|
|
1666
1636
|
$metadata: deserializeMetadata(output),
|
|
1667
1637
|
...contents,
|
|
1668
1638
|
};
|
|
1669
|
-
return
|
|
1639
|
+
return response;
|
|
1670
1640
|
};
|
|
1671
1641
|
const de_DescribeWorkspaceBundlesCommandError = async (output, context) => {
|
|
1672
1642
|
const parsedOutput = {
|
|
@@ -1680,10 +1650,9 @@ const de_DescribeWorkspaceBundlesCommandError = async (output, context) => {
|
|
|
1680
1650
|
throw await de_InvalidParameterValuesExceptionRes(parsedOutput, context);
|
|
1681
1651
|
default:
|
|
1682
1652
|
const parsedBody = parsedOutput.body;
|
|
1683
|
-
throwDefaultError({
|
|
1653
|
+
return throwDefaultError({
|
|
1684
1654
|
output,
|
|
1685
1655
|
parsedBody,
|
|
1686
|
-
exceptionCtor: __BaseException,
|
|
1687
1656
|
errorCode,
|
|
1688
1657
|
});
|
|
1689
1658
|
}
|
|
@@ -1694,12 +1663,12 @@ export const de_DescribeWorkspaceDirectoriesCommand = async (output, context) =>
|
|
|
1694
1663
|
}
|
|
1695
1664
|
const data = await parseBody(output.body, context);
|
|
1696
1665
|
let contents = {};
|
|
1697
|
-
contents =
|
|
1666
|
+
contents = _json(data);
|
|
1698
1667
|
const response = {
|
|
1699
1668
|
$metadata: deserializeMetadata(output),
|
|
1700
1669
|
...contents,
|
|
1701
1670
|
};
|
|
1702
|
-
return
|
|
1671
|
+
return response;
|
|
1703
1672
|
};
|
|
1704
1673
|
const de_DescribeWorkspaceDirectoriesCommandError = async (output, context) => {
|
|
1705
1674
|
const parsedOutput = {
|
|
@@ -1713,10 +1682,9 @@ const de_DescribeWorkspaceDirectoriesCommandError = async (output, context) => {
|
|
|
1713
1682
|
throw await de_InvalidParameterValuesExceptionRes(parsedOutput, context);
|
|
1714
1683
|
default:
|
|
1715
1684
|
const parsedBody = parsedOutput.body;
|
|
1716
|
-
throwDefaultError({
|
|
1685
|
+
return throwDefaultError({
|
|
1717
1686
|
output,
|
|
1718
1687
|
parsedBody,
|
|
1719
|
-
exceptionCtor: __BaseException,
|
|
1720
1688
|
errorCode,
|
|
1721
1689
|
});
|
|
1722
1690
|
}
|
|
@@ -1727,12 +1695,12 @@ export const de_DescribeWorkspaceImagePermissionsCommand = async (output, contex
|
|
|
1727
1695
|
}
|
|
1728
1696
|
const data = await parseBody(output.body, context);
|
|
1729
1697
|
let contents = {};
|
|
1730
|
-
contents =
|
|
1698
|
+
contents = _json(data);
|
|
1731
1699
|
const response = {
|
|
1732
1700
|
$metadata: deserializeMetadata(output),
|
|
1733
1701
|
...contents,
|
|
1734
1702
|
};
|
|
1735
|
-
return
|
|
1703
|
+
return response;
|
|
1736
1704
|
};
|
|
1737
1705
|
const de_DescribeWorkspaceImagePermissionsCommandError = async (output, context) => {
|
|
1738
1706
|
const parsedOutput = {
|
|
@@ -1752,10 +1720,9 @@ const de_DescribeWorkspaceImagePermissionsCommandError = async (output, context)
|
|
|
1752
1720
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1753
1721
|
default:
|
|
1754
1722
|
const parsedBody = parsedOutput.body;
|
|
1755
|
-
throwDefaultError({
|
|
1723
|
+
return throwDefaultError({
|
|
1756
1724
|
output,
|
|
1757
1725
|
parsedBody,
|
|
1758
|
-
exceptionCtor: __BaseException,
|
|
1759
1726
|
errorCode,
|
|
1760
1727
|
});
|
|
1761
1728
|
}
|
|
@@ -1771,7 +1738,7 @@ export const de_DescribeWorkspaceImagesCommand = async (output, context) => {
|
|
|
1771
1738
|
$metadata: deserializeMetadata(output),
|
|
1772
1739
|
...contents,
|
|
1773
1740
|
};
|
|
1774
|
-
return
|
|
1741
|
+
return response;
|
|
1775
1742
|
};
|
|
1776
1743
|
const de_DescribeWorkspaceImagesCommandError = async (output, context) => {
|
|
1777
1744
|
const parsedOutput = {
|
|
@@ -1785,10 +1752,9 @@ const de_DescribeWorkspaceImagesCommandError = async (output, context) => {
|
|
|
1785
1752
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1786
1753
|
default:
|
|
1787
1754
|
const parsedBody = parsedOutput.body;
|
|
1788
|
-
throwDefaultError({
|
|
1755
|
+
return throwDefaultError({
|
|
1789
1756
|
output,
|
|
1790
1757
|
parsedBody,
|
|
1791
|
-
exceptionCtor: __BaseException,
|
|
1792
1758
|
errorCode,
|
|
1793
1759
|
});
|
|
1794
1760
|
}
|
|
@@ -1799,12 +1765,12 @@ export const de_DescribeWorkspacesCommand = async (output, context) => {
|
|
|
1799
1765
|
}
|
|
1800
1766
|
const data = await parseBody(output.body, context);
|
|
1801
1767
|
let contents = {};
|
|
1802
|
-
contents =
|
|
1768
|
+
contents = _json(data);
|
|
1803
1769
|
const response = {
|
|
1804
1770
|
$metadata: deserializeMetadata(output),
|
|
1805
1771
|
...contents,
|
|
1806
1772
|
};
|
|
1807
|
-
return
|
|
1773
|
+
return response;
|
|
1808
1774
|
};
|
|
1809
1775
|
const de_DescribeWorkspacesCommandError = async (output, context) => {
|
|
1810
1776
|
const parsedOutput = {
|
|
@@ -1821,10 +1787,9 @@ const de_DescribeWorkspacesCommandError = async (output, context) => {
|
|
|
1821
1787
|
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
1822
1788
|
default:
|
|
1823
1789
|
const parsedBody = parsedOutput.body;
|
|
1824
|
-
throwDefaultError({
|
|
1790
|
+
return throwDefaultError({
|
|
1825
1791
|
output,
|
|
1826
1792
|
parsedBody,
|
|
1827
|
-
exceptionCtor: __BaseException,
|
|
1828
1793
|
errorCode,
|
|
1829
1794
|
});
|
|
1830
1795
|
}
|
|
@@ -1840,7 +1805,7 @@ export const de_DescribeWorkspacesConnectionStatusCommand = async (output, conte
|
|
|
1840
1805
|
$metadata: deserializeMetadata(output),
|
|
1841
1806
|
...contents,
|
|
1842
1807
|
};
|
|
1843
|
-
return
|
|
1808
|
+
return response;
|
|
1844
1809
|
};
|
|
1845
1810
|
const de_DescribeWorkspacesConnectionStatusCommandError = async (output, context) => {
|
|
1846
1811
|
const parsedOutput = {
|
|
@@ -1854,10 +1819,9 @@ const de_DescribeWorkspacesConnectionStatusCommandError = async (output, context
|
|
|
1854
1819
|
throw await de_InvalidParameterValuesExceptionRes(parsedOutput, context);
|
|
1855
1820
|
default:
|
|
1856
1821
|
const parsedBody = parsedOutput.body;
|
|
1857
|
-
throwDefaultError({
|
|
1822
|
+
return throwDefaultError({
|
|
1858
1823
|
output,
|
|
1859
1824
|
parsedBody,
|
|
1860
|
-
exceptionCtor: __BaseException,
|
|
1861
1825
|
errorCode,
|
|
1862
1826
|
});
|
|
1863
1827
|
}
|
|
@@ -1873,7 +1837,7 @@ export const de_DescribeWorkspaceSnapshotsCommand = async (output, context) => {
|
|
|
1873
1837
|
$metadata: deserializeMetadata(output),
|
|
1874
1838
|
...contents,
|
|
1875
1839
|
};
|
|
1876
|
-
return
|
|
1840
|
+
return response;
|
|
1877
1841
|
};
|
|
1878
1842
|
const de_DescribeWorkspaceSnapshotsCommandError = async (output, context) => {
|
|
1879
1843
|
const parsedOutput = {
|
|
@@ -1893,10 +1857,9 @@ const de_DescribeWorkspaceSnapshotsCommandError = async (output, context) => {
|
|
|
1893
1857
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1894
1858
|
default:
|
|
1895
1859
|
const parsedBody = parsedOutput.body;
|
|
1896
|
-
throwDefaultError({
|
|
1860
|
+
return throwDefaultError({
|
|
1897
1861
|
output,
|
|
1898
1862
|
parsedBody,
|
|
1899
|
-
exceptionCtor: __BaseException,
|
|
1900
1863
|
errorCode,
|
|
1901
1864
|
});
|
|
1902
1865
|
}
|
|
@@ -1907,12 +1870,12 @@ export const de_DisassociateConnectionAliasCommand = async (output, context) =>
|
|
|
1907
1870
|
}
|
|
1908
1871
|
const data = await parseBody(output.body, context);
|
|
1909
1872
|
let contents = {};
|
|
1910
|
-
contents =
|
|
1873
|
+
contents = _json(data);
|
|
1911
1874
|
const response = {
|
|
1912
1875
|
$metadata: deserializeMetadata(output),
|
|
1913
1876
|
...contents,
|
|
1914
1877
|
};
|
|
1915
|
-
return
|
|
1878
|
+
return response;
|
|
1916
1879
|
};
|
|
1917
1880
|
const de_DisassociateConnectionAliasCommandError = async (output, context) => {
|
|
1918
1881
|
const parsedOutput = {
|
|
@@ -1938,10 +1901,9 @@ const de_DisassociateConnectionAliasCommandError = async (output, context) => {
|
|
|
1938
1901
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1939
1902
|
default:
|
|
1940
1903
|
const parsedBody = parsedOutput.body;
|
|
1941
|
-
throwDefaultError({
|
|
1904
|
+
return throwDefaultError({
|
|
1942
1905
|
output,
|
|
1943
1906
|
parsedBody,
|
|
1944
|
-
exceptionCtor: __BaseException,
|
|
1945
1907
|
errorCode,
|
|
1946
1908
|
});
|
|
1947
1909
|
}
|
|
@@ -1952,12 +1914,12 @@ export const de_DisassociateIpGroupsCommand = async (output, context) => {
|
|
|
1952
1914
|
}
|
|
1953
1915
|
const data = await parseBody(output.body, context);
|
|
1954
1916
|
let contents = {};
|
|
1955
|
-
contents =
|
|
1917
|
+
contents = _json(data);
|
|
1956
1918
|
const response = {
|
|
1957
1919
|
$metadata: deserializeMetadata(output),
|
|
1958
1920
|
...contents,
|
|
1959
1921
|
};
|
|
1960
|
-
return
|
|
1922
|
+
return response;
|
|
1961
1923
|
};
|
|
1962
1924
|
const de_DisassociateIpGroupsCommandError = async (output, context) => {
|
|
1963
1925
|
const parsedOutput = {
|
|
@@ -1980,10 +1942,9 @@ const de_DisassociateIpGroupsCommandError = async (output, context) => {
|
|
|
1980
1942
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1981
1943
|
default:
|
|
1982
1944
|
const parsedBody = parsedOutput.body;
|
|
1983
|
-
throwDefaultError({
|
|
1945
|
+
return throwDefaultError({
|
|
1984
1946
|
output,
|
|
1985
1947
|
parsedBody,
|
|
1986
|
-
exceptionCtor: __BaseException,
|
|
1987
1948
|
errorCode,
|
|
1988
1949
|
});
|
|
1989
1950
|
}
|
|
@@ -1994,12 +1955,12 @@ export const de_ImportClientBrandingCommand = async (output, context) => {
|
|
|
1994
1955
|
}
|
|
1995
1956
|
const data = await parseBody(output.body, context);
|
|
1996
1957
|
let contents = {};
|
|
1997
|
-
contents =
|
|
1958
|
+
contents = _json(data);
|
|
1998
1959
|
const response = {
|
|
1999
1960
|
$metadata: deserializeMetadata(output),
|
|
2000
1961
|
...contents,
|
|
2001
1962
|
};
|
|
2002
|
-
return
|
|
1963
|
+
return response;
|
|
2003
1964
|
};
|
|
2004
1965
|
const de_ImportClientBrandingCommandError = async (output, context) => {
|
|
2005
1966
|
const parsedOutput = {
|
|
@@ -2022,10 +1983,9 @@ const de_ImportClientBrandingCommandError = async (output, context) => {
|
|
|
2022
1983
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2023
1984
|
default:
|
|
2024
1985
|
const parsedBody = parsedOutput.body;
|
|
2025
|
-
throwDefaultError({
|
|
1986
|
+
return throwDefaultError({
|
|
2026
1987
|
output,
|
|
2027
1988
|
parsedBody,
|
|
2028
|
-
exceptionCtor: __BaseException,
|
|
2029
1989
|
errorCode,
|
|
2030
1990
|
});
|
|
2031
1991
|
}
|
|
@@ -2036,12 +1996,12 @@ export const de_ImportWorkspaceImageCommand = async (output, context) => {
|
|
|
2036
1996
|
}
|
|
2037
1997
|
const data = await parseBody(output.body, context);
|
|
2038
1998
|
let contents = {};
|
|
2039
|
-
contents =
|
|
1999
|
+
contents = _json(data);
|
|
2040
2000
|
const response = {
|
|
2041
2001
|
$metadata: deserializeMetadata(output),
|
|
2042
2002
|
...contents,
|
|
2043
2003
|
};
|
|
2044
|
-
return
|
|
2004
|
+
return response;
|
|
2045
2005
|
};
|
|
2046
2006
|
const de_ImportWorkspaceImageCommandError = async (output, context) => {
|
|
2047
2007
|
const parsedOutput = {
|
|
@@ -2070,10 +2030,9 @@ const de_ImportWorkspaceImageCommandError = async (output, context) => {
|
|
|
2070
2030
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2071
2031
|
default:
|
|
2072
2032
|
const parsedBody = parsedOutput.body;
|
|
2073
|
-
throwDefaultError({
|
|
2033
|
+
return throwDefaultError({
|
|
2074
2034
|
output,
|
|
2075
2035
|
parsedBody,
|
|
2076
|
-
exceptionCtor: __BaseException,
|
|
2077
2036
|
errorCode,
|
|
2078
2037
|
});
|
|
2079
2038
|
}
|
|
@@ -2084,12 +2043,12 @@ export const de_ListAvailableManagementCidrRangesCommand = async (output, contex
|
|
|
2084
2043
|
}
|
|
2085
2044
|
const data = await parseBody(output.body, context);
|
|
2086
2045
|
let contents = {};
|
|
2087
|
-
contents =
|
|
2046
|
+
contents = _json(data);
|
|
2088
2047
|
const response = {
|
|
2089
2048
|
$metadata: deserializeMetadata(output),
|
|
2090
2049
|
...contents,
|
|
2091
2050
|
};
|
|
2092
|
-
return
|
|
2051
|
+
return response;
|
|
2093
2052
|
};
|
|
2094
2053
|
const de_ListAvailableManagementCidrRangesCommandError = async (output, context) => {
|
|
2095
2054
|
const parsedOutput = {
|
|
@@ -2106,10 +2065,9 @@ const de_ListAvailableManagementCidrRangesCommandError = async (output, context)
|
|
|
2106
2065
|
throw await de_InvalidParameterValuesExceptionRes(parsedOutput, context);
|
|
2107
2066
|
default:
|
|
2108
2067
|
const parsedBody = parsedOutput.body;
|
|
2109
|
-
throwDefaultError({
|
|
2068
|
+
return throwDefaultError({
|
|
2110
2069
|
output,
|
|
2111
2070
|
parsedBody,
|
|
2112
|
-
exceptionCtor: __BaseException,
|
|
2113
2071
|
errorCode,
|
|
2114
2072
|
});
|
|
2115
2073
|
}
|
|
@@ -2120,12 +2078,12 @@ export const de_MigrateWorkspaceCommand = async (output, context) => {
|
|
|
2120
2078
|
}
|
|
2121
2079
|
const data = await parseBody(output.body, context);
|
|
2122
2080
|
let contents = {};
|
|
2123
|
-
contents =
|
|
2081
|
+
contents = _json(data);
|
|
2124
2082
|
const response = {
|
|
2125
2083
|
$metadata: deserializeMetadata(output),
|
|
2126
2084
|
...contents,
|
|
2127
2085
|
};
|
|
2128
|
-
return
|
|
2086
|
+
return response;
|
|
2129
2087
|
};
|
|
2130
2088
|
const de_MigrateWorkspaceCommandError = async (output, context) => {
|
|
2131
2089
|
const parsedOutput = {
|
|
@@ -2154,10 +2112,9 @@ const de_MigrateWorkspaceCommandError = async (output, context) => {
|
|
|
2154
2112
|
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
2155
2113
|
default:
|
|
2156
2114
|
const parsedBody = parsedOutput.body;
|
|
2157
|
-
throwDefaultError({
|
|
2115
|
+
return throwDefaultError({
|
|
2158
2116
|
output,
|
|
2159
2117
|
parsedBody,
|
|
2160
|
-
exceptionCtor: __BaseException,
|
|
2161
2118
|
errorCode,
|
|
2162
2119
|
});
|
|
2163
2120
|
}
|
|
@@ -2168,12 +2125,12 @@ export const de_ModifyAccountCommand = async (output, context) => {
|
|
|
2168
2125
|
}
|
|
2169
2126
|
const data = await parseBody(output.body, context);
|
|
2170
2127
|
let contents = {};
|
|
2171
|
-
contents =
|
|
2128
|
+
contents = _json(data);
|
|
2172
2129
|
const response = {
|
|
2173
2130
|
$metadata: deserializeMetadata(output),
|
|
2174
2131
|
...contents,
|
|
2175
2132
|
};
|
|
2176
|
-
return
|
|
2133
|
+
return response;
|
|
2177
2134
|
};
|
|
2178
2135
|
const de_ModifyAccountCommandError = async (output, context) => {
|
|
2179
2136
|
const parsedOutput = {
|
|
@@ -2199,10 +2156,9 @@ const de_ModifyAccountCommandError = async (output, context) => {
|
|
|
2199
2156
|
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
2200
2157
|
default:
|
|
2201
2158
|
const parsedBody = parsedOutput.body;
|
|
2202
|
-
throwDefaultError({
|
|
2159
|
+
return throwDefaultError({
|
|
2203
2160
|
output,
|
|
2204
2161
|
parsedBody,
|
|
2205
|
-
exceptionCtor: __BaseException,
|
|
2206
2162
|
errorCode,
|
|
2207
2163
|
});
|
|
2208
2164
|
}
|
|
@@ -2213,12 +2169,12 @@ export const de_ModifyCertificateBasedAuthPropertiesCommand = async (output, con
|
|
|
2213
2169
|
}
|
|
2214
2170
|
const data = await parseBody(output.body, context);
|
|
2215
2171
|
let contents = {};
|
|
2216
|
-
contents =
|
|
2172
|
+
contents = _json(data);
|
|
2217
2173
|
const response = {
|
|
2218
2174
|
$metadata: deserializeMetadata(output),
|
|
2219
2175
|
...contents,
|
|
2220
2176
|
};
|
|
2221
|
-
return
|
|
2177
|
+
return response;
|
|
2222
2178
|
};
|
|
2223
2179
|
const de_ModifyCertificateBasedAuthPropertiesCommandError = async (output, context) => {
|
|
2224
2180
|
const parsedOutput = {
|
|
@@ -2241,10 +2197,9 @@ const de_ModifyCertificateBasedAuthPropertiesCommandError = async (output, conte
|
|
|
2241
2197
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2242
2198
|
default:
|
|
2243
2199
|
const parsedBody = parsedOutput.body;
|
|
2244
|
-
throwDefaultError({
|
|
2200
|
+
return throwDefaultError({
|
|
2245
2201
|
output,
|
|
2246
2202
|
parsedBody,
|
|
2247
|
-
exceptionCtor: __BaseException,
|
|
2248
2203
|
errorCode,
|
|
2249
2204
|
});
|
|
2250
2205
|
}
|
|
@@ -2255,12 +2210,12 @@ export const de_ModifyClientPropertiesCommand = async (output, context) => {
|
|
|
2255
2210
|
}
|
|
2256
2211
|
const data = await parseBody(output.body, context);
|
|
2257
2212
|
let contents = {};
|
|
2258
|
-
contents =
|
|
2213
|
+
contents = _json(data);
|
|
2259
2214
|
const response = {
|
|
2260
2215
|
$metadata: deserializeMetadata(output),
|
|
2261
2216
|
...contents,
|
|
2262
2217
|
};
|
|
2263
|
-
return
|
|
2218
|
+
return response;
|
|
2264
2219
|
};
|
|
2265
2220
|
const de_ModifyClientPropertiesCommandError = async (output, context) => {
|
|
2266
2221
|
const parsedOutput = {
|
|
@@ -2280,10 +2235,9 @@ const de_ModifyClientPropertiesCommandError = async (output, context) => {
|
|
|
2280
2235
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2281
2236
|
default:
|
|
2282
2237
|
const parsedBody = parsedOutput.body;
|
|
2283
|
-
throwDefaultError({
|
|
2238
|
+
return throwDefaultError({
|
|
2284
2239
|
output,
|
|
2285
2240
|
parsedBody,
|
|
2286
|
-
exceptionCtor: __BaseException,
|
|
2287
2241
|
errorCode,
|
|
2288
2242
|
});
|
|
2289
2243
|
}
|
|
@@ -2294,12 +2248,12 @@ export const de_ModifySamlPropertiesCommand = async (output, context) => {
|
|
|
2294
2248
|
}
|
|
2295
2249
|
const data = await parseBody(output.body, context);
|
|
2296
2250
|
let contents = {};
|
|
2297
|
-
contents =
|
|
2251
|
+
contents = _json(data);
|
|
2298
2252
|
const response = {
|
|
2299
2253
|
$metadata: deserializeMetadata(output),
|
|
2300
2254
|
...contents,
|
|
2301
2255
|
};
|
|
2302
|
-
return
|
|
2256
|
+
return response;
|
|
2303
2257
|
};
|
|
2304
2258
|
const de_ModifySamlPropertiesCommandError = async (output, context) => {
|
|
2305
2259
|
const parsedOutput = {
|
|
@@ -2322,10 +2276,9 @@ const de_ModifySamlPropertiesCommandError = async (output, context) => {
|
|
|
2322
2276
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2323
2277
|
default:
|
|
2324
2278
|
const parsedBody = parsedOutput.body;
|
|
2325
|
-
throwDefaultError({
|
|
2279
|
+
return throwDefaultError({
|
|
2326
2280
|
output,
|
|
2327
2281
|
parsedBody,
|
|
2328
|
-
exceptionCtor: __BaseException,
|
|
2329
2282
|
errorCode,
|
|
2330
2283
|
});
|
|
2331
2284
|
}
|
|
@@ -2336,12 +2289,12 @@ export const de_ModifySelfservicePermissionsCommand = async (output, context) =>
|
|
|
2336
2289
|
}
|
|
2337
2290
|
const data = await parseBody(output.body, context);
|
|
2338
2291
|
let contents = {};
|
|
2339
|
-
contents =
|
|
2292
|
+
contents = _json(data);
|
|
2340
2293
|
const response = {
|
|
2341
2294
|
$metadata: deserializeMetadata(output),
|
|
2342
2295
|
...contents,
|
|
2343
2296
|
};
|
|
2344
|
-
return
|
|
2297
|
+
return response;
|
|
2345
2298
|
};
|
|
2346
2299
|
const de_ModifySelfservicePermissionsCommandError = async (output, context) => {
|
|
2347
2300
|
const parsedOutput = {
|
|
@@ -2361,10 +2314,9 @@ const de_ModifySelfservicePermissionsCommandError = async (output, context) => {
|
|
|
2361
2314
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2362
2315
|
default:
|
|
2363
2316
|
const parsedBody = parsedOutput.body;
|
|
2364
|
-
throwDefaultError({
|
|
2317
|
+
return throwDefaultError({
|
|
2365
2318
|
output,
|
|
2366
2319
|
parsedBody,
|
|
2367
|
-
exceptionCtor: __BaseException,
|
|
2368
2320
|
errorCode,
|
|
2369
2321
|
});
|
|
2370
2322
|
}
|
|
@@ -2375,12 +2327,12 @@ export const de_ModifyWorkspaceAccessPropertiesCommand = async (output, context)
|
|
|
2375
2327
|
}
|
|
2376
2328
|
const data = await parseBody(output.body, context);
|
|
2377
2329
|
let contents = {};
|
|
2378
|
-
contents =
|
|
2330
|
+
contents = _json(data);
|
|
2379
2331
|
const response = {
|
|
2380
2332
|
$metadata: deserializeMetadata(output),
|
|
2381
2333
|
...contents,
|
|
2382
2334
|
};
|
|
2383
|
-
return
|
|
2335
|
+
return response;
|
|
2384
2336
|
};
|
|
2385
2337
|
const de_ModifyWorkspaceAccessPropertiesCommandError = async (output, context) => {
|
|
2386
2338
|
const parsedOutput = {
|
|
@@ -2397,10 +2349,9 @@ const de_ModifyWorkspaceAccessPropertiesCommandError = async (output, context) =
|
|
|
2397
2349
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2398
2350
|
default:
|
|
2399
2351
|
const parsedBody = parsedOutput.body;
|
|
2400
|
-
throwDefaultError({
|
|
2352
|
+
return throwDefaultError({
|
|
2401
2353
|
output,
|
|
2402
2354
|
parsedBody,
|
|
2403
|
-
exceptionCtor: __BaseException,
|
|
2404
2355
|
errorCode,
|
|
2405
2356
|
});
|
|
2406
2357
|
}
|
|
@@ -2411,12 +2362,12 @@ export const de_ModifyWorkspaceCreationPropertiesCommand = async (output, contex
|
|
|
2411
2362
|
}
|
|
2412
2363
|
const data = await parseBody(output.body, context);
|
|
2413
2364
|
let contents = {};
|
|
2414
|
-
contents =
|
|
2365
|
+
contents = _json(data);
|
|
2415
2366
|
const response = {
|
|
2416
2367
|
$metadata: deserializeMetadata(output),
|
|
2417
2368
|
...contents,
|
|
2418
2369
|
};
|
|
2419
|
-
return
|
|
2370
|
+
return response;
|
|
2420
2371
|
};
|
|
2421
2372
|
const de_ModifyWorkspaceCreationPropertiesCommandError = async (output, context) => {
|
|
2422
2373
|
const parsedOutput = {
|
|
@@ -2439,10 +2390,9 @@ const de_ModifyWorkspaceCreationPropertiesCommandError = async (output, context)
|
|
|
2439
2390
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2440
2391
|
default:
|
|
2441
2392
|
const parsedBody = parsedOutput.body;
|
|
2442
|
-
throwDefaultError({
|
|
2393
|
+
return throwDefaultError({
|
|
2443
2394
|
output,
|
|
2444
2395
|
parsedBody,
|
|
2445
|
-
exceptionCtor: __BaseException,
|
|
2446
2396
|
errorCode,
|
|
2447
2397
|
});
|
|
2448
2398
|
}
|
|
@@ -2453,12 +2403,12 @@ export const de_ModifyWorkspacePropertiesCommand = async (output, context) => {
|
|
|
2453
2403
|
}
|
|
2454
2404
|
const data = await parseBody(output.body, context);
|
|
2455
2405
|
let contents = {};
|
|
2456
|
-
contents =
|
|
2406
|
+
contents = _json(data);
|
|
2457
2407
|
const response = {
|
|
2458
2408
|
$metadata: deserializeMetadata(output),
|
|
2459
2409
|
...contents,
|
|
2460
2410
|
};
|
|
2461
|
-
return
|
|
2411
|
+
return response;
|
|
2462
2412
|
};
|
|
2463
2413
|
const de_ModifyWorkspacePropertiesCommandError = async (output, context) => {
|
|
2464
2414
|
const parsedOutput = {
|
|
@@ -2490,10 +2440,9 @@ const de_ModifyWorkspacePropertiesCommandError = async (output, context) => {
|
|
|
2490
2440
|
throw await de_UnsupportedWorkspaceConfigurationExceptionRes(parsedOutput, context);
|
|
2491
2441
|
default:
|
|
2492
2442
|
const parsedBody = parsedOutput.body;
|
|
2493
|
-
throwDefaultError({
|
|
2443
|
+
return throwDefaultError({
|
|
2494
2444
|
output,
|
|
2495
2445
|
parsedBody,
|
|
2496
|
-
exceptionCtor: __BaseException,
|
|
2497
2446
|
errorCode,
|
|
2498
2447
|
});
|
|
2499
2448
|
}
|
|
@@ -2504,12 +2453,12 @@ export const de_ModifyWorkspaceStateCommand = async (output, context) => {
|
|
|
2504
2453
|
}
|
|
2505
2454
|
const data = await parseBody(output.body, context);
|
|
2506
2455
|
let contents = {};
|
|
2507
|
-
contents =
|
|
2456
|
+
contents = _json(data);
|
|
2508
2457
|
const response = {
|
|
2509
2458
|
$metadata: deserializeMetadata(output),
|
|
2510
2459
|
...contents,
|
|
2511
2460
|
};
|
|
2512
|
-
return
|
|
2461
|
+
return response;
|
|
2513
2462
|
};
|
|
2514
2463
|
const de_ModifyWorkspaceStateCommandError = async (output, context) => {
|
|
2515
2464
|
const parsedOutput = {
|
|
@@ -2532,10 +2481,9 @@ const de_ModifyWorkspaceStateCommandError = async (output, context) => {
|
|
|
2532
2481
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2533
2482
|
default:
|
|
2534
2483
|
const parsedBody = parsedOutput.body;
|
|
2535
|
-
throwDefaultError({
|
|
2484
|
+
return throwDefaultError({
|
|
2536
2485
|
output,
|
|
2537
2486
|
parsedBody,
|
|
2538
|
-
exceptionCtor: __BaseException,
|
|
2539
2487
|
errorCode,
|
|
2540
2488
|
});
|
|
2541
2489
|
}
|
|
@@ -2546,12 +2494,12 @@ export const de_RebootWorkspacesCommand = async (output, context) => {
|
|
|
2546
2494
|
}
|
|
2547
2495
|
const data = await parseBody(output.body, context);
|
|
2548
2496
|
let contents = {};
|
|
2549
|
-
contents =
|
|
2497
|
+
contents = _json(data);
|
|
2550
2498
|
const response = {
|
|
2551
2499
|
$metadata: deserializeMetadata(output),
|
|
2552
2500
|
...contents,
|
|
2553
2501
|
};
|
|
2554
|
-
return
|
|
2502
|
+
return response;
|
|
2555
2503
|
};
|
|
2556
2504
|
const de_RebootWorkspacesCommandError = async (output, context) => {
|
|
2557
2505
|
const parsedOutput = {
|
|
@@ -2565,10 +2513,9 @@ const de_RebootWorkspacesCommandError = async (output, context) => {
|
|
|
2565
2513
|
throw await de_OperationNotSupportedExceptionRes(parsedOutput, context);
|
|
2566
2514
|
default:
|
|
2567
2515
|
const parsedBody = parsedOutput.body;
|
|
2568
|
-
throwDefaultError({
|
|
2516
|
+
return throwDefaultError({
|
|
2569
2517
|
output,
|
|
2570
2518
|
parsedBody,
|
|
2571
|
-
exceptionCtor: __BaseException,
|
|
2572
2519
|
errorCode,
|
|
2573
2520
|
});
|
|
2574
2521
|
}
|
|
@@ -2579,12 +2526,12 @@ export const de_RebuildWorkspacesCommand = async (output, context) => {
|
|
|
2579
2526
|
}
|
|
2580
2527
|
const data = await parseBody(output.body, context);
|
|
2581
2528
|
let contents = {};
|
|
2582
|
-
contents =
|
|
2529
|
+
contents = _json(data);
|
|
2583
2530
|
const response = {
|
|
2584
2531
|
$metadata: deserializeMetadata(output),
|
|
2585
2532
|
...contents,
|
|
2586
2533
|
};
|
|
2587
|
-
return
|
|
2534
|
+
return response;
|
|
2588
2535
|
};
|
|
2589
2536
|
const de_RebuildWorkspacesCommandError = async (output, context) => {
|
|
2590
2537
|
const parsedOutput = {
|
|
@@ -2598,10 +2545,9 @@ const de_RebuildWorkspacesCommandError = async (output, context) => {
|
|
|
2598
2545
|
throw await de_OperationNotSupportedExceptionRes(parsedOutput, context);
|
|
2599
2546
|
default:
|
|
2600
2547
|
const parsedBody = parsedOutput.body;
|
|
2601
|
-
throwDefaultError({
|
|
2548
|
+
return throwDefaultError({
|
|
2602
2549
|
output,
|
|
2603
2550
|
parsedBody,
|
|
2604
|
-
exceptionCtor: __BaseException,
|
|
2605
2551
|
errorCode,
|
|
2606
2552
|
});
|
|
2607
2553
|
}
|
|
@@ -2612,12 +2558,12 @@ export const de_RegisterWorkspaceDirectoryCommand = async (output, context) => {
|
|
|
2612
2558
|
}
|
|
2613
2559
|
const data = await parseBody(output.body, context);
|
|
2614
2560
|
let contents = {};
|
|
2615
|
-
contents =
|
|
2561
|
+
contents = _json(data);
|
|
2616
2562
|
const response = {
|
|
2617
2563
|
$metadata: deserializeMetadata(output),
|
|
2618
2564
|
...contents,
|
|
2619
2565
|
};
|
|
2620
|
-
return
|
|
2566
|
+
return response;
|
|
2621
2567
|
};
|
|
2622
2568
|
const de_RegisterWorkspaceDirectoryCommandError = async (output, context) => {
|
|
2623
2569
|
const parsedOutput = {
|
|
@@ -2652,10 +2598,9 @@ const de_RegisterWorkspaceDirectoryCommandError = async (output, context) => {
|
|
|
2652
2598
|
throw await de_WorkspacesDefaultRoleNotFoundExceptionRes(parsedOutput, context);
|
|
2653
2599
|
default:
|
|
2654
2600
|
const parsedBody = parsedOutput.body;
|
|
2655
|
-
throwDefaultError({
|
|
2601
|
+
return throwDefaultError({
|
|
2656
2602
|
output,
|
|
2657
2603
|
parsedBody,
|
|
2658
|
-
exceptionCtor: __BaseException,
|
|
2659
2604
|
errorCode,
|
|
2660
2605
|
});
|
|
2661
2606
|
}
|
|
@@ -2666,12 +2611,12 @@ export const de_RestoreWorkspaceCommand = async (output, context) => {
|
|
|
2666
2611
|
}
|
|
2667
2612
|
const data = await parseBody(output.body, context);
|
|
2668
2613
|
let contents = {};
|
|
2669
|
-
contents =
|
|
2614
|
+
contents = _json(data);
|
|
2670
2615
|
const response = {
|
|
2671
2616
|
$metadata: deserializeMetadata(output),
|
|
2672
2617
|
...contents,
|
|
2673
2618
|
};
|
|
2674
|
-
return
|
|
2619
|
+
return response;
|
|
2675
2620
|
};
|
|
2676
2621
|
const de_RestoreWorkspaceCommandError = async (output, context) => {
|
|
2677
2622
|
const parsedOutput = {
|
|
@@ -2694,10 +2639,9 @@ const de_RestoreWorkspaceCommandError = async (output, context) => {
|
|
|
2694
2639
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2695
2640
|
default:
|
|
2696
2641
|
const parsedBody = parsedOutput.body;
|
|
2697
|
-
throwDefaultError({
|
|
2642
|
+
return throwDefaultError({
|
|
2698
2643
|
output,
|
|
2699
2644
|
parsedBody,
|
|
2700
|
-
exceptionCtor: __BaseException,
|
|
2701
2645
|
errorCode,
|
|
2702
2646
|
});
|
|
2703
2647
|
}
|
|
@@ -2708,12 +2652,12 @@ export const de_RevokeIpRulesCommand = async (output, context) => {
|
|
|
2708
2652
|
}
|
|
2709
2653
|
const data = await parseBody(output.body, context);
|
|
2710
2654
|
let contents = {};
|
|
2711
|
-
contents =
|
|
2655
|
+
contents = _json(data);
|
|
2712
2656
|
const response = {
|
|
2713
2657
|
$metadata: deserializeMetadata(output),
|
|
2714
2658
|
...contents,
|
|
2715
2659
|
};
|
|
2716
|
-
return
|
|
2660
|
+
return response;
|
|
2717
2661
|
};
|
|
2718
2662
|
const de_RevokeIpRulesCommandError = async (output, context) => {
|
|
2719
2663
|
const parsedOutput = {
|
|
@@ -2736,10 +2680,9 @@ const de_RevokeIpRulesCommandError = async (output, context) => {
|
|
|
2736
2680
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2737
2681
|
default:
|
|
2738
2682
|
const parsedBody = parsedOutput.body;
|
|
2739
|
-
throwDefaultError({
|
|
2683
|
+
return throwDefaultError({
|
|
2740
2684
|
output,
|
|
2741
2685
|
parsedBody,
|
|
2742
|
-
exceptionCtor: __BaseException,
|
|
2743
2686
|
errorCode,
|
|
2744
2687
|
});
|
|
2745
2688
|
}
|
|
@@ -2750,12 +2693,12 @@ export const de_StartWorkspacesCommand = async (output, context) => {
|
|
|
2750
2693
|
}
|
|
2751
2694
|
const data = await parseBody(output.body, context);
|
|
2752
2695
|
let contents = {};
|
|
2753
|
-
contents =
|
|
2696
|
+
contents = _json(data);
|
|
2754
2697
|
const response = {
|
|
2755
2698
|
$metadata: deserializeMetadata(output),
|
|
2756
2699
|
...contents,
|
|
2757
2700
|
};
|
|
2758
|
-
return
|
|
2701
|
+
return response;
|
|
2759
2702
|
};
|
|
2760
2703
|
const de_StartWorkspacesCommandError = async (output, context) => {
|
|
2761
2704
|
const parsedOutput = {
|
|
@@ -2764,10 +2707,9 @@ const de_StartWorkspacesCommandError = async (output, context) => {
|
|
|
2764
2707
|
};
|
|
2765
2708
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2766
2709
|
const parsedBody = parsedOutput.body;
|
|
2767
|
-
throwDefaultError({
|
|
2710
|
+
return throwDefaultError({
|
|
2768
2711
|
output,
|
|
2769
2712
|
parsedBody,
|
|
2770
|
-
exceptionCtor: __BaseException,
|
|
2771
2713
|
errorCode,
|
|
2772
2714
|
});
|
|
2773
2715
|
};
|
|
@@ -2777,12 +2719,12 @@ export const de_StopWorkspacesCommand = async (output, context) => {
|
|
|
2777
2719
|
}
|
|
2778
2720
|
const data = await parseBody(output.body, context);
|
|
2779
2721
|
let contents = {};
|
|
2780
|
-
contents =
|
|
2722
|
+
contents = _json(data);
|
|
2781
2723
|
const response = {
|
|
2782
2724
|
$metadata: deserializeMetadata(output),
|
|
2783
2725
|
...contents,
|
|
2784
2726
|
};
|
|
2785
|
-
return
|
|
2727
|
+
return response;
|
|
2786
2728
|
};
|
|
2787
2729
|
const de_StopWorkspacesCommandError = async (output, context) => {
|
|
2788
2730
|
const parsedOutput = {
|
|
@@ -2791,10 +2733,9 @@ const de_StopWorkspacesCommandError = async (output, context) => {
|
|
|
2791
2733
|
};
|
|
2792
2734
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2793
2735
|
const parsedBody = parsedOutput.body;
|
|
2794
|
-
throwDefaultError({
|
|
2736
|
+
return throwDefaultError({
|
|
2795
2737
|
output,
|
|
2796
2738
|
parsedBody,
|
|
2797
|
-
exceptionCtor: __BaseException,
|
|
2798
2739
|
errorCode,
|
|
2799
2740
|
});
|
|
2800
2741
|
};
|
|
@@ -2804,12 +2745,12 @@ export const de_TerminateWorkspacesCommand = async (output, context) => {
|
|
|
2804
2745
|
}
|
|
2805
2746
|
const data = await parseBody(output.body, context);
|
|
2806
2747
|
let contents = {};
|
|
2807
|
-
contents =
|
|
2748
|
+
contents = _json(data);
|
|
2808
2749
|
const response = {
|
|
2809
2750
|
$metadata: deserializeMetadata(output),
|
|
2810
2751
|
...contents,
|
|
2811
2752
|
};
|
|
2812
|
-
return
|
|
2753
|
+
return response;
|
|
2813
2754
|
};
|
|
2814
2755
|
const de_TerminateWorkspacesCommandError = async (output, context) => {
|
|
2815
2756
|
const parsedOutput = {
|
|
@@ -2818,10 +2759,9 @@ const de_TerminateWorkspacesCommandError = async (output, context) => {
|
|
|
2818
2759
|
};
|
|
2819
2760
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2820
2761
|
const parsedBody = parsedOutput.body;
|
|
2821
|
-
throwDefaultError({
|
|
2762
|
+
return throwDefaultError({
|
|
2822
2763
|
output,
|
|
2823
2764
|
parsedBody,
|
|
2824
|
-
exceptionCtor: __BaseException,
|
|
2825
2765
|
errorCode,
|
|
2826
2766
|
});
|
|
2827
2767
|
};
|
|
@@ -2831,12 +2771,12 @@ export const de_UpdateConnectClientAddInCommand = async (output, context) => {
|
|
|
2831
2771
|
}
|
|
2832
2772
|
const data = await parseBody(output.body, context);
|
|
2833
2773
|
let contents = {};
|
|
2834
|
-
contents =
|
|
2774
|
+
contents = _json(data);
|
|
2835
2775
|
const response = {
|
|
2836
2776
|
$metadata: deserializeMetadata(output),
|
|
2837
2777
|
...contents,
|
|
2838
2778
|
};
|
|
2839
|
-
return
|
|
2779
|
+
return response;
|
|
2840
2780
|
};
|
|
2841
2781
|
const de_UpdateConnectClientAddInCommandError = async (output, context) => {
|
|
2842
2782
|
const parsedOutput = {
|
|
@@ -2856,10 +2796,9 @@ const de_UpdateConnectClientAddInCommandError = async (output, context) => {
|
|
|
2856
2796
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2857
2797
|
default:
|
|
2858
2798
|
const parsedBody = parsedOutput.body;
|
|
2859
|
-
throwDefaultError({
|
|
2799
|
+
return throwDefaultError({
|
|
2860
2800
|
output,
|
|
2861
2801
|
parsedBody,
|
|
2862
|
-
exceptionCtor: __BaseException,
|
|
2863
2802
|
errorCode,
|
|
2864
2803
|
});
|
|
2865
2804
|
}
|
|
@@ -2870,12 +2809,12 @@ export const de_UpdateConnectionAliasPermissionCommand = async (output, context)
|
|
|
2870
2809
|
}
|
|
2871
2810
|
const data = await parseBody(output.body, context);
|
|
2872
2811
|
let contents = {};
|
|
2873
|
-
contents =
|
|
2812
|
+
contents = _json(data);
|
|
2874
2813
|
const response = {
|
|
2875
2814
|
$metadata: deserializeMetadata(output),
|
|
2876
2815
|
...contents,
|
|
2877
2816
|
};
|
|
2878
|
-
return
|
|
2817
|
+
return response;
|
|
2879
2818
|
};
|
|
2880
2819
|
const de_UpdateConnectionAliasPermissionCommandError = async (output, context) => {
|
|
2881
2820
|
const parsedOutput = {
|
|
@@ -2907,10 +2846,9 @@ const de_UpdateConnectionAliasPermissionCommandError = async (output, context) =
|
|
|
2907
2846
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2908
2847
|
default:
|
|
2909
2848
|
const parsedBody = parsedOutput.body;
|
|
2910
|
-
throwDefaultError({
|
|
2849
|
+
return throwDefaultError({
|
|
2911
2850
|
output,
|
|
2912
2851
|
parsedBody,
|
|
2913
|
-
exceptionCtor: __BaseException,
|
|
2914
2852
|
errorCode,
|
|
2915
2853
|
});
|
|
2916
2854
|
}
|
|
@@ -2921,12 +2859,12 @@ export const de_UpdateRulesOfIpGroupCommand = async (output, context) => {
|
|
|
2921
2859
|
}
|
|
2922
2860
|
const data = await parseBody(output.body, context);
|
|
2923
2861
|
let contents = {};
|
|
2924
|
-
contents =
|
|
2862
|
+
contents = _json(data);
|
|
2925
2863
|
const response = {
|
|
2926
2864
|
$metadata: deserializeMetadata(output),
|
|
2927
2865
|
...contents,
|
|
2928
2866
|
};
|
|
2929
|
-
return
|
|
2867
|
+
return response;
|
|
2930
2868
|
};
|
|
2931
2869
|
const de_UpdateRulesOfIpGroupCommandError = async (output, context) => {
|
|
2932
2870
|
const parsedOutput = {
|
|
@@ -2952,10 +2890,9 @@ const de_UpdateRulesOfIpGroupCommandError = async (output, context) => {
|
|
|
2952
2890
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2953
2891
|
default:
|
|
2954
2892
|
const parsedBody = parsedOutput.body;
|
|
2955
|
-
throwDefaultError({
|
|
2893
|
+
return throwDefaultError({
|
|
2956
2894
|
output,
|
|
2957
2895
|
parsedBody,
|
|
2958
|
-
exceptionCtor: __BaseException,
|
|
2959
2896
|
errorCode,
|
|
2960
2897
|
});
|
|
2961
2898
|
}
|
|
@@ -2966,12 +2903,12 @@ export const de_UpdateWorkspaceBundleCommand = async (output, context) => {
|
|
|
2966
2903
|
}
|
|
2967
2904
|
const data = await parseBody(output.body, context);
|
|
2968
2905
|
let contents = {};
|
|
2969
|
-
contents =
|
|
2906
|
+
contents = _json(data);
|
|
2970
2907
|
const response = {
|
|
2971
2908
|
$metadata: deserializeMetadata(output),
|
|
2972
2909
|
...contents,
|
|
2973
2910
|
};
|
|
2974
|
-
return
|
|
2911
|
+
return response;
|
|
2975
2912
|
};
|
|
2976
2913
|
const de_UpdateWorkspaceBundleCommandError = async (output, context) => {
|
|
2977
2914
|
const parsedOutput = {
|
|
@@ -2997,10 +2934,9 @@ const de_UpdateWorkspaceBundleCommandError = async (output, context) => {
|
|
|
2997
2934
|
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
2998
2935
|
default:
|
|
2999
2936
|
const parsedBody = parsedOutput.body;
|
|
3000
|
-
throwDefaultError({
|
|
2937
|
+
return throwDefaultError({
|
|
3001
2938
|
output,
|
|
3002
2939
|
parsedBody,
|
|
3003
|
-
exceptionCtor: __BaseException,
|
|
3004
2940
|
errorCode,
|
|
3005
2941
|
});
|
|
3006
2942
|
}
|
|
@@ -3011,12 +2947,12 @@ export const de_UpdateWorkspaceImagePermissionCommand = async (output, context)
|
|
|
3011
2947
|
}
|
|
3012
2948
|
const data = await parseBody(output.body, context);
|
|
3013
2949
|
let contents = {};
|
|
3014
|
-
contents =
|
|
2950
|
+
contents = _json(data);
|
|
3015
2951
|
const response = {
|
|
3016
2952
|
$metadata: deserializeMetadata(output),
|
|
3017
2953
|
...contents,
|
|
3018
2954
|
};
|
|
3019
|
-
return
|
|
2955
|
+
return response;
|
|
3020
2956
|
};
|
|
3021
2957
|
const de_UpdateWorkspaceImagePermissionCommandError = async (output, context) => {
|
|
3022
2958
|
const parsedOutput = {
|
|
@@ -3042,17 +2978,16 @@ const de_UpdateWorkspaceImagePermissionCommandError = async (output, context) =>
|
|
|
3042
2978
|
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
3043
2979
|
default:
|
|
3044
2980
|
const parsedBody = parsedOutput.body;
|
|
3045
|
-
throwDefaultError({
|
|
2981
|
+
return throwDefaultError({
|
|
3046
2982
|
output,
|
|
3047
2983
|
parsedBody,
|
|
3048
|
-
exceptionCtor: __BaseException,
|
|
3049
2984
|
errorCode,
|
|
3050
2985
|
});
|
|
3051
2986
|
}
|
|
3052
2987
|
};
|
|
3053
2988
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
3054
2989
|
const body = parsedOutput.body;
|
|
3055
|
-
const deserialized =
|
|
2990
|
+
const deserialized = _json(body);
|
|
3056
2991
|
const exception = new AccessDeniedException({
|
|
3057
2992
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3058
2993
|
...deserialized,
|
|
@@ -3061,7 +2996,7 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
3061
2996
|
};
|
|
3062
2997
|
const de_InvalidParameterValuesExceptionRes = async (parsedOutput, context) => {
|
|
3063
2998
|
const body = parsedOutput.body;
|
|
3064
|
-
const deserialized =
|
|
2999
|
+
const deserialized = _json(body);
|
|
3065
3000
|
const exception = new InvalidParameterValuesException({
|
|
3066
3001
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3067
3002
|
...deserialized,
|
|
@@ -3070,7 +3005,7 @@ const de_InvalidParameterValuesExceptionRes = async (parsedOutput, context) => {
|
|
|
3070
3005
|
};
|
|
3071
3006
|
const de_InvalidResourceStateExceptionRes = async (parsedOutput, context) => {
|
|
3072
3007
|
const body = parsedOutput.body;
|
|
3073
|
-
const deserialized =
|
|
3008
|
+
const deserialized = _json(body);
|
|
3074
3009
|
const exception = new InvalidResourceStateException({
|
|
3075
3010
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3076
3011
|
...deserialized,
|
|
@@ -3079,7 +3014,7 @@ const de_InvalidResourceStateExceptionRes = async (parsedOutput, context) => {
|
|
|
3079
3014
|
};
|
|
3080
3015
|
const de_OperationInProgressExceptionRes = async (parsedOutput, context) => {
|
|
3081
3016
|
const body = parsedOutput.body;
|
|
3082
|
-
const deserialized =
|
|
3017
|
+
const deserialized = _json(body);
|
|
3083
3018
|
const exception = new OperationInProgressException({
|
|
3084
3019
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3085
3020
|
...deserialized,
|
|
@@ -3088,7 +3023,7 @@ const de_OperationInProgressExceptionRes = async (parsedOutput, context) => {
|
|
|
3088
3023
|
};
|
|
3089
3024
|
const de_OperationNotSupportedExceptionRes = async (parsedOutput, context) => {
|
|
3090
3025
|
const body = parsedOutput.body;
|
|
3091
|
-
const deserialized =
|
|
3026
|
+
const deserialized = _json(body);
|
|
3092
3027
|
const exception = new OperationNotSupportedException({
|
|
3093
3028
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3094
3029
|
...deserialized,
|
|
@@ -3097,7 +3032,7 @@ const de_OperationNotSupportedExceptionRes = async (parsedOutput, context) => {
|
|
|
3097
3032
|
};
|
|
3098
3033
|
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
3099
3034
|
const body = parsedOutput.body;
|
|
3100
|
-
const deserialized =
|
|
3035
|
+
const deserialized = _json(body);
|
|
3101
3036
|
const exception = new ResourceAlreadyExistsException({
|
|
3102
3037
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3103
3038
|
...deserialized,
|
|
@@ -3106,7 +3041,7 @@ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
3106
3041
|
};
|
|
3107
3042
|
const de_ResourceAssociatedExceptionRes = async (parsedOutput, context) => {
|
|
3108
3043
|
const body = parsedOutput.body;
|
|
3109
|
-
const deserialized =
|
|
3044
|
+
const deserialized = _json(body);
|
|
3110
3045
|
const exception = new ResourceAssociatedException({
|
|
3111
3046
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3112
3047
|
...deserialized,
|
|
@@ -3115,7 +3050,7 @@ const de_ResourceAssociatedExceptionRes = async (parsedOutput, context) => {
|
|
|
3115
3050
|
};
|
|
3116
3051
|
const de_ResourceCreationFailedExceptionRes = async (parsedOutput, context) => {
|
|
3117
3052
|
const body = parsedOutput.body;
|
|
3118
|
-
const deserialized =
|
|
3053
|
+
const deserialized = _json(body);
|
|
3119
3054
|
const exception = new ResourceCreationFailedException({
|
|
3120
3055
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3121
3056
|
...deserialized,
|
|
@@ -3124,7 +3059,7 @@ const de_ResourceCreationFailedExceptionRes = async (parsedOutput, context) => {
|
|
|
3124
3059
|
};
|
|
3125
3060
|
const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3126
3061
|
const body = parsedOutput.body;
|
|
3127
|
-
const deserialized =
|
|
3062
|
+
const deserialized = _json(body);
|
|
3128
3063
|
const exception = new ResourceLimitExceededException({
|
|
3129
3064
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3130
3065
|
...deserialized,
|
|
@@ -3133,7 +3068,7 @@ const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
3133
3068
|
};
|
|
3134
3069
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3135
3070
|
const body = parsedOutput.body;
|
|
3136
|
-
const deserialized =
|
|
3071
|
+
const deserialized = _json(body);
|
|
3137
3072
|
const exception = new ResourceNotFoundException({
|
|
3138
3073
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3139
3074
|
...deserialized,
|
|
@@ -3142,7 +3077,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3142
3077
|
};
|
|
3143
3078
|
const de_ResourceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
3144
3079
|
const body = parsedOutput.body;
|
|
3145
|
-
const deserialized =
|
|
3080
|
+
const deserialized = _json(body);
|
|
3146
3081
|
const exception = new ResourceUnavailableException({
|
|
3147
3082
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3148
3083
|
...deserialized,
|
|
@@ -3151,7 +3086,7 @@ const de_ResourceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
|
3151
3086
|
};
|
|
3152
3087
|
const de_UnsupportedNetworkConfigurationExceptionRes = async (parsedOutput, context) => {
|
|
3153
3088
|
const body = parsedOutput.body;
|
|
3154
|
-
const deserialized =
|
|
3089
|
+
const deserialized = _json(body);
|
|
3155
3090
|
const exception = new UnsupportedNetworkConfigurationException({
|
|
3156
3091
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3157
3092
|
...deserialized,
|
|
@@ -3160,7 +3095,7 @@ const de_UnsupportedNetworkConfigurationExceptionRes = async (parsedOutput, cont
|
|
|
3160
3095
|
};
|
|
3161
3096
|
const de_UnsupportedWorkspaceConfigurationExceptionRes = async (parsedOutput, context) => {
|
|
3162
3097
|
const body = parsedOutput.body;
|
|
3163
|
-
const deserialized =
|
|
3098
|
+
const deserialized = _json(body);
|
|
3164
3099
|
const exception = new UnsupportedWorkspaceConfigurationException({
|
|
3165
3100
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3166
3101
|
...deserialized,
|
|
@@ -3169,1908 +3104,185 @@ const de_UnsupportedWorkspaceConfigurationExceptionRes = async (parsedOutput, co
|
|
|
3169
3104
|
};
|
|
3170
3105
|
const de_WorkspacesDefaultRoleNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3171
3106
|
const body = parsedOutput.body;
|
|
3172
|
-
const deserialized =
|
|
3107
|
+
const deserialized = _json(body);
|
|
3173
3108
|
const exception = new WorkspacesDefaultRoleNotFoundException({
|
|
3174
3109
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3175
3110
|
...deserialized,
|
|
3176
3111
|
});
|
|
3177
3112
|
return __decorateServiceException(exception, body);
|
|
3178
3113
|
};
|
|
3179
|
-
const se_ApplicationList = (input, context) => {
|
|
3180
|
-
return input
|
|
3181
|
-
.filter((e) => e != null)
|
|
3182
|
-
.map((entry) => {
|
|
3183
|
-
return entry;
|
|
3184
|
-
});
|
|
3185
|
-
};
|
|
3186
|
-
const se_AssociateConnectionAliasRequest = (input, context) => {
|
|
3187
|
-
return {
|
|
3188
|
-
...(input.AliasId != null && { AliasId: input.AliasId }),
|
|
3189
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3190
|
-
};
|
|
3191
|
-
};
|
|
3192
|
-
const se_AssociateIpGroupsRequest = (input, context) => {
|
|
3193
|
-
return {
|
|
3194
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
3195
|
-
...(input.GroupIds != null && { GroupIds: se_IpGroupIdList(input.GroupIds, context) }),
|
|
3196
|
-
};
|
|
3197
|
-
};
|
|
3198
|
-
const se_AuthorizeIpRulesRequest = (input, context) => {
|
|
3199
|
-
return {
|
|
3200
|
-
...(input.GroupId != null && { GroupId: input.GroupId }),
|
|
3201
|
-
...(input.UserRules != null && { UserRules: se_IpRuleList(input.UserRules, context) }),
|
|
3202
|
-
};
|
|
3203
|
-
};
|
|
3204
|
-
const se_BundleIdList = (input, context) => {
|
|
3205
|
-
return input
|
|
3206
|
-
.filter((e) => e != null)
|
|
3207
|
-
.map((entry) => {
|
|
3208
|
-
return entry;
|
|
3209
|
-
});
|
|
3210
|
-
};
|
|
3211
|
-
const se_CertificateBasedAuthProperties = (input, context) => {
|
|
3212
|
-
return {
|
|
3213
|
-
...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
|
|
3214
|
-
...(input.Status != null && { Status: input.Status }),
|
|
3215
|
-
};
|
|
3216
|
-
};
|
|
3217
|
-
const se_ClientDeviceTypeList = (input, context) => {
|
|
3218
|
-
return input
|
|
3219
|
-
.filter((e) => e != null)
|
|
3220
|
-
.map((entry) => {
|
|
3221
|
-
return entry;
|
|
3222
|
-
});
|
|
3223
|
-
};
|
|
3224
|
-
const se_ClientProperties = (input, context) => {
|
|
3225
|
-
return {
|
|
3226
|
-
...(input.LogUploadEnabled != null && { LogUploadEnabled: input.LogUploadEnabled }),
|
|
3227
|
-
...(input.ReconnectEnabled != null && { ReconnectEnabled: input.ReconnectEnabled }),
|
|
3228
|
-
};
|
|
3229
|
-
};
|
|
3230
|
-
const se_ComputeType = (input, context) => {
|
|
3231
|
-
return {
|
|
3232
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3233
|
-
};
|
|
3234
|
-
};
|
|
3235
|
-
const se_ConnectionAliasIdList = (input, context) => {
|
|
3236
|
-
return input
|
|
3237
|
-
.filter((e) => e != null)
|
|
3238
|
-
.map((entry) => {
|
|
3239
|
-
return entry;
|
|
3240
|
-
});
|
|
3241
|
-
};
|
|
3242
|
-
const se_ConnectionAliasPermission = (input, context) => {
|
|
3243
|
-
return {
|
|
3244
|
-
...(input.AllowAssociation != null && { AllowAssociation: input.AllowAssociation }),
|
|
3245
|
-
...(input.SharedAccountId != null && { SharedAccountId: input.SharedAccountId }),
|
|
3246
|
-
};
|
|
3247
|
-
};
|
|
3248
|
-
const se_CopyWorkspaceImageRequest = (input, context) => {
|
|
3249
|
-
return {
|
|
3250
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3251
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3252
|
-
...(input.SourceImageId != null && { SourceImageId: input.SourceImageId }),
|
|
3253
|
-
...(input.SourceRegion != null && { SourceRegion: input.SourceRegion }),
|
|
3254
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3255
|
-
};
|
|
3256
|
-
};
|
|
3257
|
-
const se_CreateConnectClientAddInRequest = (input, context) => {
|
|
3258
|
-
return {
|
|
3259
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3260
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3261
|
-
...(input.URL != null && { URL: input.URL }),
|
|
3262
|
-
};
|
|
3263
|
-
};
|
|
3264
|
-
const se_CreateConnectionAliasRequest = (input, context) => {
|
|
3265
|
-
return {
|
|
3266
|
-
...(input.ConnectionString != null && { ConnectionString: input.ConnectionString }),
|
|
3267
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3268
|
-
};
|
|
3269
|
-
};
|
|
3270
|
-
const se_CreateIpGroupRequest = (input, context) => {
|
|
3271
|
-
return {
|
|
3272
|
-
...(input.GroupDesc != null && { GroupDesc: input.GroupDesc }),
|
|
3273
|
-
...(input.GroupName != null && { GroupName: input.GroupName }),
|
|
3274
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3275
|
-
...(input.UserRules != null && { UserRules: se_IpRuleList(input.UserRules, context) }),
|
|
3276
|
-
};
|
|
3277
|
-
};
|
|
3278
|
-
const se_CreateStandbyWorkspacesRequest = (input, context) => {
|
|
3279
|
-
return {
|
|
3280
|
-
...(input.PrimaryRegion != null && { PrimaryRegion: input.PrimaryRegion }),
|
|
3281
|
-
...(input.StandbyWorkspaces != null && {
|
|
3282
|
-
StandbyWorkspaces: se_StandbyWorkspacesList(input.StandbyWorkspaces, context),
|
|
3283
|
-
}),
|
|
3284
|
-
};
|
|
3285
|
-
};
|
|
3286
|
-
const se_CreateTagsRequest = (input, context) => {
|
|
3287
|
-
return {
|
|
3288
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3289
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3290
|
-
};
|
|
3291
|
-
};
|
|
3292
|
-
const se_CreateUpdatedWorkspaceImageRequest = (input, context) => {
|
|
3293
|
-
return {
|
|
3294
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3295
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3296
|
-
...(input.SourceImageId != null && { SourceImageId: input.SourceImageId }),
|
|
3297
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3298
|
-
};
|
|
3299
|
-
};
|
|
3300
|
-
const se_CreateWorkspaceBundleRequest = (input, context) => {
|
|
3301
|
-
return {
|
|
3302
|
-
...(input.BundleDescription != null && { BundleDescription: input.BundleDescription }),
|
|
3303
|
-
...(input.BundleName != null && { BundleName: input.BundleName }),
|
|
3304
|
-
...(input.ComputeType != null && { ComputeType: se_ComputeType(input.ComputeType, context) }),
|
|
3305
|
-
...(input.ImageId != null && { ImageId: input.ImageId }),
|
|
3306
|
-
...(input.RootStorage != null && { RootStorage: se_RootStorage(input.RootStorage, context) }),
|
|
3307
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3308
|
-
...(input.UserStorage != null && { UserStorage: se_UserStorage(input.UserStorage, context) }),
|
|
3309
|
-
};
|
|
3310
|
-
};
|
|
3311
|
-
const se_CreateWorkspaceImageRequest = (input, context) => {
|
|
3312
|
-
return {
|
|
3313
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3314
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3315
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3316
|
-
...(input.WorkspaceId != null && { WorkspaceId: input.WorkspaceId }),
|
|
3317
|
-
};
|
|
3318
|
-
};
|
|
3319
|
-
const se_CreateWorkspacesRequest = (input, context) => {
|
|
3320
|
-
return {
|
|
3321
|
-
...(input.Workspaces != null && { Workspaces: se_WorkspaceRequestList(input.Workspaces, context) }),
|
|
3322
|
-
};
|
|
3323
|
-
};
|
|
3324
3114
|
const se_DefaultImportClientBrandingAttributes = (input, context) => {
|
|
3325
|
-
return {
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
};
|
|
3332
|
-
};
|
|
3333
|
-
const se_DeletableCertificateBasedAuthPropertiesList = (input, context) => {
|
|
3334
|
-
return input
|
|
3335
|
-
.filter((e) => e != null)
|
|
3336
|
-
.map((entry) => {
|
|
3337
|
-
return entry;
|
|
3338
|
-
});
|
|
3339
|
-
};
|
|
3340
|
-
const se_DeletableSamlPropertiesList = (input, context) => {
|
|
3341
|
-
return input
|
|
3342
|
-
.filter((e) => e != null)
|
|
3343
|
-
.map((entry) => {
|
|
3344
|
-
return entry;
|
|
3345
|
-
});
|
|
3346
|
-
};
|
|
3347
|
-
const se_DeleteClientBrandingRequest = (input, context) => {
|
|
3348
|
-
return {
|
|
3349
|
-
...(input.Platforms != null && { Platforms: se_ClientDeviceTypeList(input.Platforms, context) }),
|
|
3350
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3351
|
-
};
|
|
3352
|
-
};
|
|
3353
|
-
const se_DeleteConnectClientAddInRequest = (input, context) => {
|
|
3354
|
-
return {
|
|
3355
|
-
...(input.AddInId != null && { AddInId: input.AddInId }),
|
|
3356
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3357
|
-
};
|
|
3358
|
-
};
|
|
3359
|
-
const se_DeleteConnectionAliasRequest = (input, context) => {
|
|
3360
|
-
return {
|
|
3361
|
-
...(input.AliasId != null && { AliasId: input.AliasId }),
|
|
3362
|
-
};
|
|
3363
|
-
};
|
|
3364
|
-
const se_DeleteIpGroupRequest = (input, context) => {
|
|
3365
|
-
return {
|
|
3366
|
-
...(input.GroupId != null && { GroupId: input.GroupId }),
|
|
3367
|
-
};
|
|
3368
|
-
};
|
|
3369
|
-
const se_DeleteTagsRequest = (input, context) => {
|
|
3370
|
-
return {
|
|
3371
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3372
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
3373
|
-
};
|
|
3374
|
-
};
|
|
3375
|
-
const se_DeleteWorkspaceBundleRequest = (input, context) => {
|
|
3376
|
-
return {
|
|
3377
|
-
...(input.BundleId != null && { BundleId: input.BundleId }),
|
|
3378
|
-
};
|
|
3379
|
-
};
|
|
3380
|
-
const se_DeleteWorkspaceImageRequest = (input, context) => {
|
|
3381
|
-
return {
|
|
3382
|
-
...(input.ImageId != null && { ImageId: input.ImageId }),
|
|
3383
|
-
};
|
|
3384
|
-
};
|
|
3385
|
-
const se_DeregisterWorkspaceDirectoryRequest = (input, context) => {
|
|
3386
|
-
return {
|
|
3387
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
3388
|
-
};
|
|
3389
|
-
};
|
|
3390
|
-
const se_DescribeAccountModificationsRequest = (input, context) => {
|
|
3391
|
-
return {
|
|
3392
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3393
|
-
};
|
|
3394
|
-
};
|
|
3395
|
-
const se_DescribeAccountRequest = (input, context) => {
|
|
3396
|
-
return {};
|
|
3397
|
-
};
|
|
3398
|
-
const se_DescribeClientBrandingRequest = (input, context) => {
|
|
3399
|
-
return {
|
|
3400
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3401
|
-
};
|
|
3402
|
-
};
|
|
3403
|
-
const se_DescribeClientPropertiesRequest = (input, context) => {
|
|
3404
|
-
return {
|
|
3405
|
-
...(input.ResourceIds != null && { ResourceIds: se_ResourceIdList(input.ResourceIds, context) }),
|
|
3406
|
-
};
|
|
3407
|
-
};
|
|
3408
|
-
const se_DescribeConnectClientAddInsRequest = (input, context) => {
|
|
3409
|
-
return {
|
|
3410
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3411
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3412
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3413
|
-
};
|
|
3414
|
-
};
|
|
3415
|
-
const se_DescribeConnectionAliasesRequest = (input, context) => {
|
|
3416
|
-
return {
|
|
3417
|
-
...(input.AliasIds != null && { AliasIds: se_ConnectionAliasIdList(input.AliasIds, context) }),
|
|
3418
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
3419
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3420
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3421
|
-
};
|
|
3422
|
-
};
|
|
3423
|
-
const se_DescribeConnectionAliasPermissionsRequest = (input, context) => {
|
|
3424
|
-
return {
|
|
3425
|
-
...(input.AliasId != null && { AliasId: input.AliasId }),
|
|
3426
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3427
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3428
|
-
};
|
|
3429
|
-
};
|
|
3430
|
-
const se_DescribeIpGroupsRequest = (input, context) => {
|
|
3431
|
-
return {
|
|
3432
|
-
...(input.GroupIds != null && { GroupIds: se_IpGroupIdList(input.GroupIds, context) }),
|
|
3433
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3434
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3435
|
-
};
|
|
3436
|
-
};
|
|
3437
|
-
const se_DescribeTagsRequest = (input, context) => {
|
|
3438
|
-
return {
|
|
3439
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3440
|
-
};
|
|
3441
|
-
};
|
|
3442
|
-
const se_DescribeWorkspaceBundlesRequest = (input, context) => {
|
|
3443
|
-
return {
|
|
3444
|
-
...(input.BundleIds != null && { BundleIds: se_BundleIdList(input.BundleIds, context) }),
|
|
3445
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3446
|
-
...(input.Owner != null && { Owner: input.Owner }),
|
|
3447
|
-
};
|
|
3448
|
-
};
|
|
3449
|
-
const se_DescribeWorkspaceDirectoriesRequest = (input, context) => {
|
|
3450
|
-
return {
|
|
3451
|
-
...(input.DirectoryIds != null && { DirectoryIds: se_DirectoryIdList(input.DirectoryIds, context) }),
|
|
3452
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
3453
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3454
|
-
};
|
|
3455
|
-
};
|
|
3456
|
-
const se_DescribeWorkspaceImagePermissionsRequest = (input, context) => {
|
|
3457
|
-
return {
|
|
3458
|
-
...(input.ImageId != null && { ImageId: input.ImageId }),
|
|
3459
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3460
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3461
|
-
};
|
|
3462
|
-
};
|
|
3463
|
-
const se_DescribeWorkspaceImagesRequest = (input, context) => {
|
|
3464
|
-
return {
|
|
3465
|
-
...(input.ImageIds != null && { ImageIds: se_WorkspaceImageIdList(input.ImageIds, context) }),
|
|
3466
|
-
...(input.ImageType != null && { ImageType: input.ImageType }),
|
|
3467
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3468
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3469
|
-
};
|
|
3470
|
-
};
|
|
3471
|
-
const se_DescribeWorkspacesConnectionStatusRequest = (input, context) => {
|
|
3472
|
-
return {
|
|
3473
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3474
|
-
...(input.WorkspaceIds != null && { WorkspaceIds: se_WorkspaceIdList(input.WorkspaceIds, context) }),
|
|
3475
|
-
};
|
|
3476
|
-
};
|
|
3477
|
-
const se_DescribeWorkspaceSnapshotsRequest = (input, context) => {
|
|
3478
|
-
return {
|
|
3479
|
-
...(input.WorkspaceId != null && { WorkspaceId: input.WorkspaceId }),
|
|
3480
|
-
};
|
|
3481
|
-
};
|
|
3482
|
-
const se_DescribeWorkspacesRequest = (input, context) => {
|
|
3483
|
-
return {
|
|
3484
|
-
...(input.BundleId != null && { BundleId: input.BundleId }),
|
|
3485
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
3486
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
3487
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3488
|
-
...(input.UserName != null && { UserName: input.UserName }),
|
|
3489
|
-
...(input.WorkspaceIds != null && { WorkspaceIds: se_WorkspaceIdList(input.WorkspaceIds, context) }),
|
|
3490
|
-
};
|
|
3491
|
-
};
|
|
3492
|
-
const se_DirectoryIdList = (input, context) => {
|
|
3493
|
-
return input
|
|
3494
|
-
.filter((e) => e != null)
|
|
3495
|
-
.map((entry) => {
|
|
3496
|
-
return entry;
|
|
3497
|
-
});
|
|
3498
|
-
};
|
|
3499
|
-
const se_DisassociateConnectionAliasRequest = (input, context) => {
|
|
3500
|
-
return {
|
|
3501
|
-
...(input.AliasId != null && { AliasId: input.AliasId }),
|
|
3502
|
-
};
|
|
3503
|
-
};
|
|
3504
|
-
const se_DisassociateIpGroupsRequest = (input, context) => {
|
|
3505
|
-
return {
|
|
3506
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
3507
|
-
...(input.GroupIds != null && { GroupIds: se_IpGroupIdList(input.GroupIds, context) }),
|
|
3508
|
-
};
|
|
3509
|
-
};
|
|
3510
|
-
const se_ImportClientBrandingRequest = (input, context) => {
|
|
3511
|
-
return {
|
|
3512
|
-
...(input.DeviceTypeAndroid != null && {
|
|
3513
|
-
DeviceTypeAndroid: se_DefaultImportClientBrandingAttributes(input.DeviceTypeAndroid, context),
|
|
3514
|
-
}),
|
|
3515
|
-
...(input.DeviceTypeIos != null && {
|
|
3516
|
-
DeviceTypeIos: se_IosImportClientBrandingAttributes(input.DeviceTypeIos, context),
|
|
3517
|
-
}),
|
|
3518
|
-
...(input.DeviceTypeLinux != null && {
|
|
3519
|
-
DeviceTypeLinux: se_DefaultImportClientBrandingAttributes(input.DeviceTypeLinux, context),
|
|
3520
|
-
}),
|
|
3521
|
-
...(input.DeviceTypeOsx != null && {
|
|
3522
|
-
DeviceTypeOsx: se_DefaultImportClientBrandingAttributes(input.DeviceTypeOsx, context),
|
|
3523
|
-
}),
|
|
3524
|
-
...(input.DeviceTypeWeb != null && {
|
|
3525
|
-
DeviceTypeWeb: se_DefaultImportClientBrandingAttributes(input.DeviceTypeWeb, context),
|
|
3526
|
-
}),
|
|
3527
|
-
...(input.DeviceTypeWindows != null && {
|
|
3528
|
-
DeviceTypeWindows: se_DefaultImportClientBrandingAttributes(input.DeviceTypeWindows, context),
|
|
3529
|
-
}),
|
|
3530
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3531
|
-
};
|
|
3532
|
-
};
|
|
3533
|
-
const se_ImportWorkspaceImageRequest = (input, context) => {
|
|
3534
|
-
return {
|
|
3535
|
-
...(input.Applications != null && { Applications: se_ApplicationList(input.Applications, context) }),
|
|
3536
|
-
...(input.Ec2ImageId != null && { Ec2ImageId: input.Ec2ImageId }),
|
|
3537
|
-
...(input.ImageDescription != null && { ImageDescription: input.ImageDescription }),
|
|
3538
|
-
...(input.ImageName != null && { ImageName: input.ImageName }),
|
|
3539
|
-
...(input.IngestionProcess != null && { IngestionProcess: input.IngestionProcess }),
|
|
3540
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3541
|
-
};
|
|
3542
|
-
};
|
|
3543
|
-
const se_IosImportClientBrandingAttributes = (input, context) => {
|
|
3544
|
-
return {
|
|
3545
|
-
...(input.ForgotPasswordLink != null && { ForgotPasswordLink: input.ForgotPasswordLink }),
|
|
3546
|
-
...(input.LoginMessage != null && { LoginMessage: se_LoginMessage(input.LoginMessage, context) }),
|
|
3547
|
-
...(input.Logo != null && { Logo: context.base64Encoder(input.Logo) }),
|
|
3548
|
-
...(input.Logo2x != null && { Logo2x: context.base64Encoder(input.Logo2x) }),
|
|
3549
|
-
...(input.Logo3x != null && { Logo3x: context.base64Encoder(input.Logo3x) }),
|
|
3550
|
-
...(input.SupportEmail != null && { SupportEmail: input.SupportEmail }),
|
|
3551
|
-
...(input.SupportLink != null && { SupportLink: input.SupportLink }),
|
|
3552
|
-
};
|
|
3553
|
-
};
|
|
3554
|
-
const se_IpGroupIdList = (input, context) => {
|
|
3555
|
-
return input
|
|
3556
|
-
.filter((e) => e != null)
|
|
3557
|
-
.map((entry) => {
|
|
3558
|
-
return entry;
|
|
3559
|
-
});
|
|
3560
|
-
};
|
|
3561
|
-
const se_IpRevokedRuleList = (input, context) => {
|
|
3562
|
-
return input
|
|
3563
|
-
.filter((e) => e != null)
|
|
3564
|
-
.map((entry) => {
|
|
3565
|
-
return entry;
|
|
3566
|
-
});
|
|
3567
|
-
};
|
|
3568
|
-
const se_IpRuleItem = (input, context) => {
|
|
3569
|
-
return {
|
|
3570
|
-
...(input.ipRule != null && { ipRule: input.ipRule }),
|
|
3571
|
-
...(input.ruleDesc != null && { ruleDesc: input.ruleDesc }),
|
|
3572
|
-
};
|
|
3573
|
-
};
|
|
3574
|
-
const se_IpRuleList = (input, context) => {
|
|
3575
|
-
return input
|
|
3576
|
-
.filter((e) => e != null)
|
|
3577
|
-
.map((entry) => {
|
|
3578
|
-
return se_IpRuleItem(entry, context);
|
|
3579
|
-
});
|
|
3580
|
-
};
|
|
3581
|
-
const se_ListAvailableManagementCidrRangesRequest = (input, context) => {
|
|
3582
|
-
return {
|
|
3583
|
-
...(input.ManagementCidrRangeConstraint != null && {
|
|
3584
|
-
ManagementCidrRangeConstraint: input.ManagementCidrRangeConstraint,
|
|
3585
|
-
}),
|
|
3586
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3587
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3588
|
-
};
|
|
3589
|
-
};
|
|
3590
|
-
const se_LoginMessage = (input, context) => {
|
|
3591
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3592
|
-
if (value === null) {
|
|
3593
|
-
return acc;
|
|
3594
|
-
}
|
|
3595
|
-
acc[key] = value;
|
|
3596
|
-
return acc;
|
|
3597
|
-
}, {});
|
|
3598
|
-
};
|
|
3599
|
-
const se_MigrateWorkspaceRequest = (input, context) => {
|
|
3600
|
-
return {
|
|
3601
|
-
...(input.BundleId != null && { BundleId: input.BundleId }),
|
|
3602
|
-
...(input.SourceWorkspaceId != null && { SourceWorkspaceId: input.SourceWorkspaceId }),
|
|
3603
|
-
};
|
|
3604
|
-
};
|
|
3605
|
-
const se_ModifyAccountRequest = (input, context) => {
|
|
3606
|
-
return {
|
|
3607
|
-
...(input.DedicatedTenancyManagementCidrRange != null && {
|
|
3608
|
-
DedicatedTenancyManagementCidrRange: input.DedicatedTenancyManagementCidrRange,
|
|
3609
|
-
}),
|
|
3610
|
-
...(input.DedicatedTenancySupport != null && { DedicatedTenancySupport: input.DedicatedTenancySupport }),
|
|
3611
|
-
};
|
|
3612
|
-
};
|
|
3613
|
-
const se_ModifyCertificateBasedAuthPropertiesRequest = (input, context) => {
|
|
3614
|
-
return {
|
|
3615
|
-
...(input.CertificateBasedAuthProperties != null && {
|
|
3616
|
-
CertificateBasedAuthProperties: se_CertificateBasedAuthProperties(input.CertificateBasedAuthProperties, context),
|
|
3617
|
-
}),
|
|
3618
|
-
...(input.PropertiesToDelete != null && {
|
|
3619
|
-
PropertiesToDelete: se_DeletableCertificateBasedAuthPropertiesList(input.PropertiesToDelete, context),
|
|
3620
|
-
}),
|
|
3621
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3622
|
-
};
|
|
3623
|
-
};
|
|
3624
|
-
const se_ModifyClientPropertiesRequest = (input, context) => {
|
|
3625
|
-
return {
|
|
3626
|
-
...(input.ClientProperties != null && { ClientProperties: se_ClientProperties(input.ClientProperties, context) }),
|
|
3627
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3628
|
-
};
|
|
3629
|
-
};
|
|
3630
|
-
const se_ModifySamlPropertiesRequest = (input, context) => {
|
|
3631
|
-
return {
|
|
3632
|
-
...(input.PropertiesToDelete != null && {
|
|
3633
|
-
PropertiesToDelete: se_DeletableSamlPropertiesList(input.PropertiesToDelete, context),
|
|
3634
|
-
}),
|
|
3635
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3636
|
-
...(input.SamlProperties != null && { SamlProperties: se_SamlProperties(input.SamlProperties, context) }),
|
|
3637
|
-
};
|
|
3638
|
-
};
|
|
3639
|
-
const se_ModifySelfservicePermissionsRequest = (input, context) => {
|
|
3640
|
-
return {
|
|
3641
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3642
|
-
...(input.SelfservicePermissions != null && {
|
|
3643
|
-
SelfservicePermissions: se_SelfservicePermissions(input.SelfservicePermissions, context),
|
|
3644
|
-
}),
|
|
3645
|
-
};
|
|
3646
|
-
};
|
|
3647
|
-
const se_ModifyWorkspaceAccessPropertiesRequest = (input, context) => {
|
|
3648
|
-
return {
|
|
3649
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3650
|
-
...(input.WorkspaceAccessProperties != null && {
|
|
3651
|
-
WorkspaceAccessProperties: se_WorkspaceAccessProperties(input.WorkspaceAccessProperties, context),
|
|
3652
|
-
}),
|
|
3653
|
-
};
|
|
3654
|
-
};
|
|
3655
|
-
const se_ModifyWorkspaceCreationPropertiesRequest = (input, context) => {
|
|
3656
|
-
return {
|
|
3657
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3658
|
-
...(input.WorkspaceCreationProperties != null && {
|
|
3659
|
-
WorkspaceCreationProperties: se_WorkspaceCreationProperties(input.WorkspaceCreationProperties, context),
|
|
3660
|
-
}),
|
|
3661
|
-
};
|
|
3662
|
-
};
|
|
3663
|
-
const se_ModifyWorkspacePropertiesRequest = (input, context) => {
|
|
3664
|
-
return {
|
|
3665
|
-
...(input.WorkspaceId != null && { WorkspaceId: input.WorkspaceId }),
|
|
3666
|
-
...(input.WorkspaceProperties != null && {
|
|
3667
|
-
WorkspaceProperties: se_WorkspaceProperties(input.WorkspaceProperties, context),
|
|
3668
|
-
}),
|
|
3669
|
-
};
|
|
3670
|
-
};
|
|
3671
|
-
const se_ModifyWorkspaceStateRequest = (input, context) => {
|
|
3672
|
-
return {
|
|
3673
|
-
...(input.WorkspaceId != null && { WorkspaceId: input.WorkspaceId }),
|
|
3674
|
-
...(input.WorkspaceState != null && { WorkspaceState: input.WorkspaceState }),
|
|
3675
|
-
};
|
|
3676
|
-
};
|
|
3677
|
-
const se_ProtocolList = (input, context) => {
|
|
3678
|
-
return input
|
|
3679
|
-
.filter((e) => e != null)
|
|
3680
|
-
.map((entry) => {
|
|
3681
|
-
return entry;
|
|
3682
|
-
});
|
|
3683
|
-
};
|
|
3684
|
-
const se_RebootRequest = (input, context) => {
|
|
3685
|
-
return {
|
|
3686
|
-
...(input.WorkspaceId != null && { WorkspaceId: input.WorkspaceId }),
|
|
3687
|
-
};
|
|
3688
|
-
};
|
|
3689
|
-
const se_RebootWorkspaceRequests = (input, context) => {
|
|
3690
|
-
return input
|
|
3691
|
-
.filter((e) => e != null)
|
|
3692
|
-
.map((entry) => {
|
|
3693
|
-
return se_RebootRequest(entry, context);
|
|
3694
|
-
});
|
|
3695
|
-
};
|
|
3696
|
-
const se_RebootWorkspacesRequest = (input, context) => {
|
|
3697
|
-
return {
|
|
3698
|
-
...(input.RebootWorkspaceRequests != null && {
|
|
3699
|
-
RebootWorkspaceRequests: se_RebootWorkspaceRequests(input.RebootWorkspaceRequests, context),
|
|
3700
|
-
}),
|
|
3701
|
-
};
|
|
3702
|
-
};
|
|
3703
|
-
const se_RebuildRequest = (input, context) => {
|
|
3704
|
-
return {
|
|
3705
|
-
...(input.WorkspaceId != null && { WorkspaceId: input.WorkspaceId }),
|
|
3706
|
-
};
|
|
3707
|
-
};
|
|
3708
|
-
const se_RebuildWorkspaceRequests = (input, context) => {
|
|
3709
|
-
return input
|
|
3710
|
-
.filter((e) => e != null)
|
|
3711
|
-
.map((entry) => {
|
|
3712
|
-
return se_RebuildRequest(entry, context);
|
|
3713
|
-
});
|
|
3714
|
-
};
|
|
3715
|
-
const se_RebuildWorkspacesRequest = (input, context) => {
|
|
3716
|
-
return {
|
|
3717
|
-
...(input.RebuildWorkspaceRequests != null && {
|
|
3718
|
-
RebuildWorkspaceRequests: se_RebuildWorkspaceRequests(input.RebuildWorkspaceRequests, context),
|
|
3719
|
-
}),
|
|
3720
|
-
};
|
|
3721
|
-
};
|
|
3722
|
-
const se_RegisterWorkspaceDirectoryRequest = (input, context) => {
|
|
3723
|
-
return {
|
|
3724
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
3725
|
-
...(input.EnableSelfService != null && { EnableSelfService: input.EnableSelfService }),
|
|
3726
|
-
...(input.EnableWorkDocs != null && { EnableWorkDocs: input.EnableWorkDocs }),
|
|
3727
|
-
...(input.SubnetIds != null && { SubnetIds: se_SubnetIds(input.SubnetIds, context) }),
|
|
3728
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3729
|
-
...(input.Tenancy != null && { Tenancy: input.Tenancy }),
|
|
3730
|
-
};
|
|
3731
|
-
};
|
|
3732
|
-
const se_ResourceIdList = (input, context) => {
|
|
3733
|
-
return input
|
|
3734
|
-
.filter((e) => e != null)
|
|
3735
|
-
.map((entry) => {
|
|
3736
|
-
return entry;
|
|
3737
|
-
});
|
|
3738
|
-
};
|
|
3739
|
-
const se_RestoreWorkspaceRequest = (input, context) => {
|
|
3740
|
-
return {
|
|
3741
|
-
...(input.WorkspaceId != null && { WorkspaceId: input.WorkspaceId }),
|
|
3742
|
-
};
|
|
3743
|
-
};
|
|
3744
|
-
const se_RevokeIpRulesRequest = (input, context) => {
|
|
3745
|
-
return {
|
|
3746
|
-
...(input.GroupId != null && { GroupId: input.GroupId }),
|
|
3747
|
-
...(input.UserRules != null && { UserRules: se_IpRevokedRuleList(input.UserRules, context) }),
|
|
3748
|
-
};
|
|
3749
|
-
};
|
|
3750
|
-
const se_RootStorage = (input, context) => {
|
|
3751
|
-
return {
|
|
3752
|
-
...(input.Capacity != null && { Capacity: input.Capacity }),
|
|
3753
|
-
};
|
|
3754
|
-
};
|
|
3755
|
-
const se_SamlProperties = (input, context) => {
|
|
3756
|
-
return {
|
|
3757
|
-
...(input.RelayStateParameterName != null && { RelayStateParameterName: input.RelayStateParameterName }),
|
|
3758
|
-
...(input.Status != null && { Status: input.Status }),
|
|
3759
|
-
...(input.UserAccessUrl != null && { UserAccessUrl: input.UserAccessUrl }),
|
|
3760
|
-
};
|
|
3761
|
-
};
|
|
3762
|
-
const se_SelfservicePermissions = (input, context) => {
|
|
3763
|
-
return {
|
|
3764
|
-
...(input.ChangeComputeType != null && { ChangeComputeType: input.ChangeComputeType }),
|
|
3765
|
-
...(input.IncreaseVolumeSize != null && { IncreaseVolumeSize: input.IncreaseVolumeSize }),
|
|
3766
|
-
...(input.RebuildWorkspace != null && { RebuildWorkspace: input.RebuildWorkspace }),
|
|
3767
|
-
...(input.RestartWorkspace != null && { RestartWorkspace: input.RestartWorkspace }),
|
|
3768
|
-
...(input.SwitchRunningMode != null && { SwitchRunningMode: input.SwitchRunningMode }),
|
|
3769
|
-
};
|
|
3770
|
-
};
|
|
3771
|
-
const se_StandbyWorkspace = (input, context) => {
|
|
3772
|
-
return {
|
|
3773
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
3774
|
-
...(input.PrimaryWorkspaceId != null && { PrimaryWorkspaceId: input.PrimaryWorkspaceId }),
|
|
3775
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3776
|
-
...(input.VolumeEncryptionKey != null && { VolumeEncryptionKey: input.VolumeEncryptionKey }),
|
|
3777
|
-
};
|
|
3778
|
-
};
|
|
3779
|
-
const se_StandbyWorkspacesList = (input, context) => {
|
|
3780
|
-
return input
|
|
3781
|
-
.filter((e) => e != null)
|
|
3782
|
-
.map((entry) => {
|
|
3783
|
-
return se_StandbyWorkspace(entry, context);
|
|
3784
|
-
});
|
|
3785
|
-
};
|
|
3786
|
-
const se_StartRequest = (input, context) => {
|
|
3787
|
-
return {
|
|
3788
|
-
...(input.WorkspaceId != null && { WorkspaceId: input.WorkspaceId }),
|
|
3789
|
-
};
|
|
3790
|
-
};
|
|
3791
|
-
const se_StartWorkspaceRequests = (input, context) => {
|
|
3792
|
-
return input
|
|
3793
|
-
.filter((e) => e != null)
|
|
3794
|
-
.map((entry) => {
|
|
3795
|
-
return se_StartRequest(entry, context);
|
|
3796
|
-
});
|
|
3797
|
-
};
|
|
3798
|
-
const se_StartWorkspacesRequest = (input, context) => {
|
|
3799
|
-
return {
|
|
3800
|
-
...(input.StartWorkspaceRequests != null && {
|
|
3801
|
-
StartWorkspaceRequests: se_StartWorkspaceRequests(input.StartWorkspaceRequests, context),
|
|
3802
|
-
}),
|
|
3803
|
-
};
|
|
3804
|
-
};
|
|
3805
|
-
const se_StopRequest = (input, context) => {
|
|
3806
|
-
return {
|
|
3807
|
-
...(input.WorkspaceId != null && { WorkspaceId: input.WorkspaceId }),
|
|
3808
|
-
};
|
|
3809
|
-
};
|
|
3810
|
-
const se_StopWorkspaceRequests = (input, context) => {
|
|
3811
|
-
return input
|
|
3812
|
-
.filter((e) => e != null)
|
|
3813
|
-
.map((entry) => {
|
|
3814
|
-
return se_StopRequest(entry, context);
|
|
3815
|
-
});
|
|
3816
|
-
};
|
|
3817
|
-
const se_StopWorkspacesRequest = (input, context) => {
|
|
3818
|
-
return {
|
|
3819
|
-
...(input.StopWorkspaceRequests != null && {
|
|
3820
|
-
StopWorkspaceRequests: se_StopWorkspaceRequests(input.StopWorkspaceRequests, context),
|
|
3821
|
-
}),
|
|
3822
|
-
};
|
|
3823
|
-
};
|
|
3824
|
-
const se_SubnetIds = (input, context) => {
|
|
3825
|
-
return input
|
|
3826
|
-
.filter((e) => e != null)
|
|
3827
|
-
.map((entry) => {
|
|
3828
|
-
return entry;
|
|
3829
|
-
});
|
|
3830
|
-
};
|
|
3831
|
-
const se_Tag = (input, context) => {
|
|
3832
|
-
return {
|
|
3833
|
-
...(input.Key != null && { Key: input.Key }),
|
|
3834
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3835
|
-
};
|
|
3836
|
-
};
|
|
3837
|
-
const se_TagKeyList = (input, context) => {
|
|
3838
|
-
return input
|
|
3839
|
-
.filter((e) => e != null)
|
|
3840
|
-
.map((entry) => {
|
|
3841
|
-
return entry;
|
|
3842
|
-
});
|
|
3843
|
-
};
|
|
3844
|
-
const se_TagList = (input, context) => {
|
|
3845
|
-
return input
|
|
3846
|
-
.filter((e) => e != null)
|
|
3847
|
-
.map((entry) => {
|
|
3848
|
-
return se_Tag(entry, context);
|
|
3849
|
-
});
|
|
3850
|
-
};
|
|
3851
|
-
const se_TerminateRequest = (input, context) => {
|
|
3852
|
-
return {
|
|
3853
|
-
...(input.WorkspaceId != null && { WorkspaceId: input.WorkspaceId }),
|
|
3854
|
-
};
|
|
3855
|
-
};
|
|
3856
|
-
const se_TerminateWorkspaceRequests = (input, context) => {
|
|
3857
|
-
return input
|
|
3858
|
-
.filter((e) => e != null)
|
|
3859
|
-
.map((entry) => {
|
|
3860
|
-
return se_TerminateRequest(entry, context);
|
|
3861
|
-
});
|
|
3862
|
-
};
|
|
3863
|
-
const se_TerminateWorkspacesRequest = (input, context) => {
|
|
3864
|
-
return {
|
|
3865
|
-
...(input.TerminateWorkspaceRequests != null && {
|
|
3866
|
-
TerminateWorkspaceRequests: se_TerminateWorkspaceRequests(input.TerminateWorkspaceRequests, context),
|
|
3867
|
-
}),
|
|
3868
|
-
};
|
|
3869
|
-
};
|
|
3870
|
-
const se_UpdateConnectClientAddInRequest = (input, context) => {
|
|
3871
|
-
return {
|
|
3872
|
-
...(input.AddInId != null && { AddInId: input.AddInId }),
|
|
3873
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3874
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3875
|
-
...(input.URL != null && { URL: input.URL }),
|
|
3876
|
-
};
|
|
3877
|
-
};
|
|
3878
|
-
const se_UpdateConnectionAliasPermissionRequest = (input, context) => {
|
|
3879
|
-
return {
|
|
3880
|
-
...(input.AliasId != null && { AliasId: input.AliasId }),
|
|
3881
|
-
...(input.ConnectionAliasPermission != null && {
|
|
3882
|
-
ConnectionAliasPermission: se_ConnectionAliasPermission(input.ConnectionAliasPermission, context),
|
|
3883
|
-
}),
|
|
3884
|
-
};
|
|
3885
|
-
};
|
|
3886
|
-
const se_UpdateRulesOfIpGroupRequest = (input, context) => {
|
|
3887
|
-
return {
|
|
3888
|
-
...(input.GroupId != null && { GroupId: input.GroupId }),
|
|
3889
|
-
...(input.UserRules != null && { UserRules: se_IpRuleList(input.UserRules, context) }),
|
|
3890
|
-
};
|
|
3891
|
-
};
|
|
3892
|
-
const se_UpdateWorkspaceBundleRequest = (input, context) => {
|
|
3893
|
-
return {
|
|
3894
|
-
...(input.BundleId != null && { BundleId: input.BundleId }),
|
|
3895
|
-
...(input.ImageId != null && { ImageId: input.ImageId }),
|
|
3896
|
-
};
|
|
3897
|
-
};
|
|
3898
|
-
const se_UpdateWorkspaceImagePermissionRequest = (input, context) => {
|
|
3899
|
-
return {
|
|
3900
|
-
...(input.AllowCopyImage != null && { AllowCopyImage: input.AllowCopyImage }),
|
|
3901
|
-
...(input.ImageId != null && { ImageId: input.ImageId }),
|
|
3902
|
-
...(input.SharedAccountId != null && { SharedAccountId: input.SharedAccountId }),
|
|
3903
|
-
};
|
|
3904
|
-
};
|
|
3905
|
-
const se_UserStorage = (input, context) => {
|
|
3906
|
-
return {
|
|
3907
|
-
...(input.Capacity != null && { Capacity: input.Capacity }),
|
|
3908
|
-
};
|
|
3909
|
-
};
|
|
3910
|
-
const se_WorkspaceAccessProperties = (input, context) => {
|
|
3911
|
-
return {
|
|
3912
|
-
...(input.DeviceTypeAndroid != null && { DeviceTypeAndroid: input.DeviceTypeAndroid }),
|
|
3913
|
-
...(input.DeviceTypeChromeOs != null && { DeviceTypeChromeOs: input.DeviceTypeChromeOs }),
|
|
3914
|
-
...(input.DeviceTypeIos != null && { DeviceTypeIos: input.DeviceTypeIos }),
|
|
3915
|
-
...(input.DeviceTypeLinux != null && { DeviceTypeLinux: input.DeviceTypeLinux }),
|
|
3916
|
-
...(input.DeviceTypeOsx != null && { DeviceTypeOsx: input.DeviceTypeOsx }),
|
|
3917
|
-
...(input.DeviceTypeWeb != null && { DeviceTypeWeb: input.DeviceTypeWeb }),
|
|
3918
|
-
...(input.DeviceTypeWindows != null && { DeviceTypeWindows: input.DeviceTypeWindows }),
|
|
3919
|
-
...(input.DeviceTypeZeroClient != null && { DeviceTypeZeroClient: input.DeviceTypeZeroClient }),
|
|
3920
|
-
};
|
|
3921
|
-
};
|
|
3922
|
-
const se_WorkspaceCreationProperties = (input, context) => {
|
|
3923
|
-
return {
|
|
3924
|
-
...(input.CustomSecurityGroupId != null && { CustomSecurityGroupId: input.CustomSecurityGroupId }),
|
|
3925
|
-
...(input.DefaultOu != null && { DefaultOu: input.DefaultOu }),
|
|
3926
|
-
...(input.EnableInternetAccess != null && { EnableInternetAccess: input.EnableInternetAccess }),
|
|
3927
|
-
...(input.EnableMaintenanceMode != null && { EnableMaintenanceMode: input.EnableMaintenanceMode }),
|
|
3928
|
-
...(input.EnableWorkDocs != null && { EnableWorkDocs: input.EnableWorkDocs }),
|
|
3929
|
-
...(input.UserEnabledAsLocalAdministrator != null && {
|
|
3930
|
-
UserEnabledAsLocalAdministrator: input.UserEnabledAsLocalAdministrator,
|
|
3931
|
-
}),
|
|
3932
|
-
};
|
|
3933
|
-
};
|
|
3934
|
-
const se_WorkspaceIdList = (input, context) => {
|
|
3935
|
-
return input
|
|
3936
|
-
.filter((e) => e != null)
|
|
3937
|
-
.map((entry) => {
|
|
3938
|
-
return entry;
|
|
3939
|
-
});
|
|
3940
|
-
};
|
|
3941
|
-
const se_WorkspaceImageIdList = (input, context) => {
|
|
3942
|
-
return input
|
|
3943
|
-
.filter((e) => e != null)
|
|
3944
|
-
.map((entry) => {
|
|
3945
|
-
return entry;
|
|
3946
|
-
});
|
|
3947
|
-
};
|
|
3948
|
-
const se_WorkspaceProperties = (input, context) => {
|
|
3949
|
-
return {
|
|
3950
|
-
...(input.ComputeTypeName != null && { ComputeTypeName: input.ComputeTypeName }),
|
|
3951
|
-
...(input.Protocols != null && { Protocols: se_ProtocolList(input.Protocols, context) }),
|
|
3952
|
-
...(input.RootVolumeSizeGib != null && { RootVolumeSizeGib: input.RootVolumeSizeGib }),
|
|
3953
|
-
...(input.RunningMode != null && { RunningMode: input.RunningMode }),
|
|
3954
|
-
...(input.RunningModeAutoStopTimeoutInMinutes != null && {
|
|
3955
|
-
RunningModeAutoStopTimeoutInMinutes: input.RunningModeAutoStopTimeoutInMinutes,
|
|
3956
|
-
}),
|
|
3957
|
-
...(input.UserVolumeSizeGib != null && { UserVolumeSizeGib: input.UserVolumeSizeGib }),
|
|
3958
|
-
};
|
|
3959
|
-
};
|
|
3960
|
-
const se_WorkspaceRequest = (input, context) => {
|
|
3961
|
-
return {
|
|
3962
|
-
...(input.BundleId != null && { BundleId: input.BundleId }),
|
|
3963
|
-
...(input.DirectoryId != null && { DirectoryId: input.DirectoryId }),
|
|
3964
|
-
...(input.RootVolumeEncryptionEnabled != null && {
|
|
3965
|
-
RootVolumeEncryptionEnabled: input.RootVolumeEncryptionEnabled,
|
|
3966
|
-
}),
|
|
3967
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3968
|
-
...(input.UserName != null && { UserName: input.UserName }),
|
|
3969
|
-
...(input.UserVolumeEncryptionEnabled != null && {
|
|
3970
|
-
UserVolumeEncryptionEnabled: input.UserVolumeEncryptionEnabled,
|
|
3971
|
-
}),
|
|
3972
|
-
...(input.VolumeEncryptionKey != null && { VolumeEncryptionKey: input.VolumeEncryptionKey }),
|
|
3973
|
-
...(input.WorkspaceProperties != null && {
|
|
3974
|
-
WorkspaceProperties: se_WorkspaceProperties(input.WorkspaceProperties, context),
|
|
3975
|
-
}),
|
|
3976
|
-
};
|
|
3977
|
-
};
|
|
3978
|
-
const se_WorkspaceRequestList = (input, context) => {
|
|
3979
|
-
return input
|
|
3980
|
-
.filter((e) => e != null)
|
|
3981
|
-
.map((entry) => {
|
|
3982
|
-
return se_WorkspaceRequest(entry, context);
|
|
3983
|
-
});
|
|
3984
|
-
};
|
|
3985
|
-
const de_AccessDeniedException = (output, context) => {
|
|
3986
|
-
return {
|
|
3987
|
-
message: __expectString(output.message),
|
|
3988
|
-
};
|
|
3989
|
-
};
|
|
3990
|
-
const de_AccountModification = (output, context) => {
|
|
3991
|
-
return {
|
|
3992
|
-
DedicatedTenancyManagementCidrRange: __expectString(output.DedicatedTenancyManagementCidrRange),
|
|
3993
|
-
DedicatedTenancySupport: __expectString(output.DedicatedTenancySupport),
|
|
3994
|
-
ErrorCode: __expectString(output.ErrorCode),
|
|
3995
|
-
ErrorMessage: __expectString(output.ErrorMessage),
|
|
3996
|
-
ModificationState: __expectString(output.ModificationState),
|
|
3997
|
-
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
3998
|
-
};
|
|
3999
|
-
};
|
|
4000
|
-
const de_AccountModificationList = (output, context) => {
|
|
4001
|
-
const retVal = (output || [])
|
|
4002
|
-
.filter((e) => e != null)
|
|
4003
|
-
.map((entry) => {
|
|
4004
|
-
if (entry === null) {
|
|
4005
|
-
return null;
|
|
4006
|
-
}
|
|
4007
|
-
return de_AccountModification(entry, context);
|
|
4008
|
-
});
|
|
4009
|
-
return retVal;
|
|
4010
|
-
};
|
|
4011
|
-
const de_AssociateConnectionAliasResult = (output, context) => {
|
|
4012
|
-
return {
|
|
4013
|
-
ConnectionIdentifier: __expectString(output.ConnectionIdentifier),
|
|
4014
|
-
};
|
|
4015
|
-
};
|
|
4016
|
-
const de_AssociateIpGroupsResult = (output, context) => {
|
|
4017
|
-
return {};
|
|
4018
|
-
};
|
|
4019
|
-
const de_AuthorizeIpRulesResult = (output, context) => {
|
|
4020
|
-
return {};
|
|
4021
|
-
};
|
|
4022
|
-
const de_BundleList = (output, context) => {
|
|
4023
|
-
const retVal = (output || [])
|
|
4024
|
-
.filter((e) => e != null)
|
|
4025
|
-
.map((entry) => {
|
|
4026
|
-
if (entry === null) {
|
|
4027
|
-
return null;
|
|
4028
|
-
}
|
|
4029
|
-
return de_WorkspaceBundle(entry, context);
|
|
4030
|
-
});
|
|
4031
|
-
return retVal;
|
|
4032
|
-
};
|
|
4033
|
-
const de_CertificateBasedAuthProperties = (output, context) => {
|
|
4034
|
-
return {
|
|
4035
|
-
CertificateAuthorityArn: __expectString(output.CertificateAuthorityArn),
|
|
4036
|
-
Status: __expectString(output.Status),
|
|
4037
|
-
};
|
|
4038
|
-
};
|
|
4039
|
-
const de_ClientProperties = (output, context) => {
|
|
4040
|
-
return {
|
|
4041
|
-
LogUploadEnabled: __expectString(output.LogUploadEnabled),
|
|
4042
|
-
ReconnectEnabled: __expectString(output.ReconnectEnabled),
|
|
4043
|
-
};
|
|
4044
|
-
};
|
|
4045
|
-
const de_ClientPropertiesList = (output, context) => {
|
|
4046
|
-
const retVal = (output || [])
|
|
4047
|
-
.filter((e) => e != null)
|
|
4048
|
-
.map((entry) => {
|
|
4049
|
-
if (entry === null) {
|
|
4050
|
-
return null;
|
|
4051
|
-
}
|
|
4052
|
-
return de_ClientPropertiesResult(entry, context);
|
|
4053
|
-
});
|
|
4054
|
-
return retVal;
|
|
4055
|
-
};
|
|
4056
|
-
const de_ClientPropertiesResult = (output, context) => {
|
|
4057
|
-
return {
|
|
4058
|
-
ClientProperties: output.ClientProperties != null ? de_ClientProperties(output.ClientProperties, context) : undefined,
|
|
4059
|
-
ResourceId: __expectString(output.ResourceId),
|
|
4060
|
-
};
|
|
4061
|
-
};
|
|
4062
|
-
const de_ComputeType = (output, context) => {
|
|
4063
|
-
return {
|
|
4064
|
-
Name: __expectString(output.Name),
|
|
4065
|
-
};
|
|
4066
|
-
};
|
|
4067
|
-
const de_ConnectClientAddIn = (output, context) => {
|
|
4068
|
-
return {
|
|
4069
|
-
AddInId: __expectString(output.AddInId),
|
|
4070
|
-
Name: __expectString(output.Name),
|
|
4071
|
-
ResourceId: __expectString(output.ResourceId),
|
|
4072
|
-
URL: __expectString(output.URL),
|
|
4073
|
-
};
|
|
4074
|
-
};
|
|
4075
|
-
const de_ConnectClientAddInList = (output, context) => {
|
|
4076
|
-
const retVal = (output || [])
|
|
4077
|
-
.filter((e) => e != null)
|
|
4078
|
-
.map((entry) => {
|
|
4079
|
-
if (entry === null) {
|
|
4080
|
-
return null;
|
|
4081
|
-
}
|
|
4082
|
-
return de_ConnectClientAddIn(entry, context);
|
|
4083
|
-
});
|
|
4084
|
-
return retVal;
|
|
4085
|
-
};
|
|
4086
|
-
const de_ConnectionAlias = (output, context) => {
|
|
4087
|
-
return {
|
|
4088
|
-
AliasId: __expectString(output.AliasId),
|
|
4089
|
-
Associations: output.Associations != null ? de_ConnectionAliasAssociationList(output.Associations, context) : undefined,
|
|
4090
|
-
ConnectionString: __expectString(output.ConnectionString),
|
|
4091
|
-
OwnerAccountId: __expectString(output.OwnerAccountId),
|
|
4092
|
-
State: __expectString(output.State),
|
|
4093
|
-
};
|
|
4094
|
-
};
|
|
4095
|
-
const de_ConnectionAliasAssociation = (output, context) => {
|
|
4096
|
-
return {
|
|
4097
|
-
AssociatedAccountId: __expectString(output.AssociatedAccountId),
|
|
4098
|
-
AssociationStatus: __expectString(output.AssociationStatus),
|
|
4099
|
-
ConnectionIdentifier: __expectString(output.ConnectionIdentifier),
|
|
4100
|
-
ResourceId: __expectString(output.ResourceId),
|
|
4101
|
-
};
|
|
4102
|
-
};
|
|
4103
|
-
const de_ConnectionAliasAssociationList = (output, context) => {
|
|
4104
|
-
const retVal = (output || [])
|
|
4105
|
-
.filter((e) => e != null)
|
|
4106
|
-
.map((entry) => {
|
|
4107
|
-
if (entry === null) {
|
|
4108
|
-
return null;
|
|
4109
|
-
}
|
|
4110
|
-
return de_ConnectionAliasAssociation(entry, context);
|
|
4111
|
-
});
|
|
4112
|
-
return retVal;
|
|
4113
|
-
};
|
|
4114
|
-
const de_ConnectionAliasList = (output, context) => {
|
|
4115
|
-
const retVal = (output || [])
|
|
4116
|
-
.filter((e) => e != null)
|
|
4117
|
-
.map((entry) => {
|
|
4118
|
-
if (entry === null) {
|
|
4119
|
-
return null;
|
|
4120
|
-
}
|
|
4121
|
-
return de_ConnectionAlias(entry, context);
|
|
4122
|
-
});
|
|
4123
|
-
return retVal;
|
|
4124
|
-
};
|
|
4125
|
-
const de_ConnectionAliasPermission = (output, context) => {
|
|
4126
|
-
return {
|
|
4127
|
-
AllowAssociation: __expectBoolean(output.AllowAssociation),
|
|
4128
|
-
SharedAccountId: __expectString(output.SharedAccountId),
|
|
4129
|
-
};
|
|
4130
|
-
};
|
|
4131
|
-
const de_ConnectionAliasPermissions = (output, context) => {
|
|
4132
|
-
const retVal = (output || [])
|
|
4133
|
-
.filter((e) => e != null)
|
|
4134
|
-
.map((entry) => {
|
|
4135
|
-
if (entry === null) {
|
|
4136
|
-
return null;
|
|
4137
|
-
}
|
|
4138
|
-
return de_ConnectionAliasPermission(entry, context);
|
|
4139
|
-
});
|
|
4140
|
-
return retVal;
|
|
4141
|
-
};
|
|
4142
|
-
const de_CopyWorkspaceImageResult = (output, context) => {
|
|
4143
|
-
return {
|
|
4144
|
-
ImageId: __expectString(output.ImageId),
|
|
4145
|
-
};
|
|
4146
|
-
};
|
|
4147
|
-
const de_CreateConnectClientAddInResult = (output, context) => {
|
|
4148
|
-
return {
|
|
4149
|
-
AddInId: __expectString(output.AddInId),
|
|
4150
|
-
};
|
|
4151
|
-
};
|
|
4152
|
-
const de_CreateConnectionAliasResult = (output, context) => {
|
|
4153
|
-
return {
|
|
4154
|
-
AliasId: __expectString(output.AliasId),
|
|
4155
|
-
};
|
|
4156
|
-
};
|
|
4157
|
-
const de_CreateIpGroupResult = (output, context) => {
|
|
4158
|
-
return {
|
|
4159
|
-
GroupId: __expectString(output.GroupId),
|
|
4160
|
-
};
|
|
4161
|
-
};
|
|
4162
|
-
const de_CreateStandbyWorkspacesResult = (output, context) => {
|
|
4163
|
-
return {
|
|
4164
|
-
FailedStandbyRequests: output.FailedStandbyRequests != null
|
|
4165
|
-
? de_FailedCreateStandbyWorkspacesRequestList(output.FailedStandbyRequests, context)
|
|
4166
|
-
: undefined,
|
|
4167
|
-
PendingStandbyRequests: output.PendingStandbyRequests != null
|
|
4168
|
-
? de_PendingCreateStandbyWorkspacesRequestList(output.PendingStandbyRequests, context)
|
|
4169
|
-
: undefined,
|
|
4170
|
-
};
|
|
4171
|
-
};
|
|
4172
|
-
const de_CreateTagsResult = (output, context) => {
|
|
4173
|
-
return {};
|
|
4174
|
-
};
|
|
4175
|
-
const de_CreateUpdatedWorkspaceImageResult = (output, context) => {
|
|
4176
|
-
return {
|
|
4177
|
-
ImageId: __expectString(output.ImageId),
|
|
4178
|
-
};
|
|
4179
|
-
};
|
|
4180
|
-
const de_CreateWorkspaceBundleResult = (output, context) => {
|
|
4181
|
-
return {
|
|
4182
|
-
WorkspaceBundle: output.WorkspaceBundle != null ? de_WorkspaceBundle(output.WorkspaceBundle, context) : undefined,
|
|
4183
|
-
};
|
|
4184
|
-
};
|
|
4185
|
-
const de_CreateWorkspaceImageResult = (output, context) => {
|
|
4186
|
-
return {
|
|
4187
|
-
Created: output.Created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Created))) : undefined,
|
|
4188
|
-
Description: __expectString(output.Description),
|
|
4189
|
-
ImageId: __expectString(output.ImageId),
|
|
4190
|
-
Name: __expectString(output.Name),
|
|
4191
|
-
OperatingSystem: output.OperatingSystem != null ? de_OperatingSystem(output.OperatingSystem, context) : undefined,
|
|
4192
|
-
OwnerAccountId: __expectString(output.OwnerAccountId),
|
|
4193
|
-
RequiredTenancy: __expectString(output.RequiredTenancy),
|
|
4194
|
-
State: __expectString(output.State),
|
|
4195
|
-
};
|
|
4196
|
-
};
|
|
4197
|
-
const de_CreateWorkspacesResult = (output, context) => {
|
|
4198
|
-
return {
|
|
4199
|
-
FailedRequests: output.FailedRequests != null ? de_FailedCreateWorkspaceRequests(output.FailedRequests, context) : undefined,
|
|
4200
|
-
PendingRequests: output.PendingRequests != null ? de_WorkspaceList(output.PendingRequests, context) : undefined,
|
|
4201
|
-
};
|
|
4202
|
-
};
|
|
4203
|
-
const de_DedicatedTenancyCidrRangeList = (output, context) => {
|
|
4204
|
-
const retVal = (output || [])
|
|
4205
|
-
.filter((e) => e != null)
|
|
4206
|
-
.map((entry) => {
|
|
4207
|
-
if (entry === null) {
|
|
4208
|
-
return null;
|
|
4209
|
-
}
|
|
4210
|
-
return __expectString(entry);
|
|
4211
|
-
});
|
|
4212
|
-
return retVal;
|
|
4213
|
-
};
|
|
4214
|
-
const de_DefaultClientBrandingAttributes = (output, context) => {
|
|
4215
|
-
return {
|
|
4216
|
-
ForgotPasswordLink: __expectString(output.ForgotPasswordLink),
|
|
4217
|
-
LoginMessage: output.LoginMessage != null ? de_LoginMessage(output.LoginMessage, context) : undefined,
|
|
4218
|
-
LogoUrl: __expectString(output.LogoUrl),
|
|
4219
|
-
SupportEmail: __expectString(output.SupportEmail),
|
|
4220
|
-
SupportLink: __expectString(output.SupportLink),
|
|
4221
|
-
};
|
|
4222
|
-
};
|
|
4223
|
-
const de_DefaultWorkspaceCreationProperties = (output, context) => {
|
|
4224
|
-
return {
|
|
4225
|
-
CustomSecurityGroupId: __expectString(output.CustomSecurityGroupId),
|
|
4226
|
-
DefaultOu: __expectString(output.DefaultOu),
|
|
4227
|
-
EnableInternetAccess: __expectBoolean(output.EnableInternetAccess),
|
|
4228
|
-
EnableMaintenanceMode: __expectBoolean(output.EnableMaintenanceMode),
|
|
4229
|
-
EnableWorkDocs: __expectBoolean(output.EnableWorkDocs),
|
|
4230
|
-
UserEnabledAsLocalAdministrator: __expectBoolean(output.UserEnabledAsLocalAdministrator),
|
|
4231
|
-
};
|
|
4232
|
-
};
|
|
4233
|
-
const de_DeleteClientBrandingResult = (output, context) => {
|
|
4234
|
-
return {};
|
|
4235
|
-
};
|
|
4236
|
-
const de_DeleteConnectClientAddInResult = (output, context) => {
|
|
4237
|
-
return {};
|
|
4238
|
-
};
|
|
4239
|
-
const de_DeleteConnectionAliasResult = (output, context) => {
|
|
4240
|
-
return {};
|
|
4241
|
-
};
|
|
4242
|
-
const de_DeleteIpGroupResult = (output, context) => {
|
|
4243
|
-
return {};
|
|
4244
|
-
};
|
|
4245
|
-
const de_DeleteTagsResult = (output, context) => {
|
|
4246
|
-
return {};
|
|
4247
|
-
};
|
|
4248
|
-
const de_DeleteWorkspaceBundleResult = (output, context) => {
|
|
4249
|
-
return {};
|
|
4250
|
-
};
|
|
4251
|
-
const de_DeleteWorkspaceImageResult = (output, context) => {
|
|
4252
|
-
return {};
|
|
4253
|
-
};
|
|
4254
|
-
const de_DeregisterWorkspaceDirectoryResult = (output, context) => {
|
|
4255
|
-
return {};
|
|
4256
|
-
};
|
|
4257
|
-
const de_DescribeAccountModificationsResult = (output, context) => {
|
|
4258
|
-
return {
|
|
4259
|
-
AccountModifications: output.AccountModifications != null
|
|
4260
|
-
? de_AccountModificationList(output.AccountModifications, context)
|
|
4261
|
-
: undefined,
|
|
4262
|
-
NextToken: __expectString(output.NextToken),
|
|
4263
|
-
};
|
|
4264
|
-
};
|
|
4265
|
-
const de_DescribeAccountResult = (output, context) => {
|
|
4266
|
-
return {
|
|
4267
|
-
DedicatedTenancyManagementCidrRange: __expectString(output.DedicatedTenancyManagementCidrRange),
|
|
4268
|
-
DedicatedTenancySupport: __expectString(output.DedicatedTenancySupport),
|
|
4269
|
-
};
|
|
4270
|
-
};
|
|
4271
|
-
const de_DescribeClientBrandingResult = (output, context) => {
|
|
4272
|
-
return {
|
|
4273
|
-
DeviceTypeAndroid: output.DeviceTypeAndroid != null
|
|
4274
|
-
? de_DefaultClientBrandingAttributes(output.DeviceTypeAndroid, context)
|
|
4275
|
-
: undefined,
|
|
4276
|
-
DeviceTypeIos: output.DeviceTypeIos != null ? de_IosClientBrandingAttributes(output.DeviceTypeIos, context) : undefined,
|
|
4277
|
-
DeviceTypeLinux: output.DeviceTypeLinux != null ? de_DefaultClientBrandingAttributes(output.DeviceTypeLinux, context) : undefined,
|
|
4278
|
-
DeviceTypeOsx: output.DeviceTypeOsx != null ? de_DefaultClientBrandingAttributes(output.DeviceTypeOsx, context) : undefined,
|
|
4279
|
-
DeviceTypeWeb: output.DeviceTypeWeb != null ? de_DefaultClientBrandingAttributes(output.DeviceTypeWeb, context) : undefined,
|
|
4280
|
-
DeviceTypeWindows: output.DeviceTypeWindows != null
|
|
4281
|
-
? de_DefaultClientBrandingAttributes(output.DeviceTypeWindows, context)
|
|
4282
|
-
: undefined,
|
|
4283
|
-
};
|
|
4284
|
-
};
|
|
4285
|
-
const de_DescribeClientPropertiesResult = (output, context) => {
|
|
4286
|
-
return {
|
|
4287
|
-
ClientPropertiesList: output.ClientPropertiesList != null ? de_ClientPropertiesList(output.ClientPropertiesList, context) : undefined,
|
|
4288
|
-
};
|
|
4289
|
-
};
|
|
4290
|
-
const de_DescribeConnectClientAddInsResult = (output, context) => {
|
|
4291
|
-
return {
|
|
4292
|
-
AddIns: output.AddIns != null ? de_ConnectClientAddInList(output.AddIns, context) : undefined,
|
|
4293
|
-
NextToken: __expectString(output.NextToken),
|
|
4294
|
-
};
|
|
4295
|
-
};
|
|
4296
|
-
const de_DescribeConnectionAliasesResult = (output, context) => {
|
|
4297
|
-
return {
|
|
4298
|
-
ConnectionAliases: output.ConnectionAliases != null ? de_ConnectionAliasList(output.ConnectionAliases, context) : undefined,
|
|
4299
|
-
NextToken: __expectString(output.NextToken),
|
|
4300
|
-
};
|
|
4301
|
-
};
|
|
4302
|
-
const de_DescribeConnectionAliasPermissionsResult = (output, context) => {
|
|
4303
|
-
return {
|
|
4304
|
-
AliasId: __expectString(output.AliasId),
|
|
4305
|
-
ConnectionAliasPermissions: output.ConnectionAliasPermissions != null
|
|
4306
|
-
? de_ConnectionAliasPermissions(output.ConnectionAliasPermissions, context)
|
|
4307
|
-
: undefined,
|
|
4308
|
-
NextToken: __expectString(output.NextToken),
|
|
4309
|
-
};
|
|
4310
|
-
};
|
|
4311
|
-
const de_DescribeIpGroupsResult = (output, context) => {
|
|
4312
|
-
return {
|
|
4313
|
-
NextToken: __expectString(output.NextToken),
|
|
4314
|
-
Result: output.Result != null ? de_WorkspacesIpGroupsList(output.Result, context) : undefined,
|
|
4315
|
-
};
|
|
4316
|
-
};
|
|
4317
|
-
const de_DescribeTagsResult = (output, context) => {
|
|
4318
|
-
return {
|
|
4319
|
-
TagList: output.TagList != null ? de_TagList(output.TagList, context) : undefined,
|
|
4320
|
-
};
|
|
4321
|
-
};
|
|
4322
|
-
const de_DescribeWorkspaceBundlesResult = (output, context) => {
|
|
4323
|
-
return {
|
|
4324
|
-
Bundles: output.Bundles != null ? de_BundleList(output.Bundles, context) : undefined,
|
|
4325
|
-
NextToken: __expectString(output.NextToken),
|
|
4326
|
-
};
|
|
4327
|
-
};
|
|
4328
|
-
const de_DescribeWorkspaceDirectoriesResult = (output, context) => {
|
|
4329
|
-
return {
|
|
4330
|
-
Directories: output.Directories != null ? de_DirectoryList(output.Directories, context) : undefined,
|
|
4331
|
-
NextToken: __expectString(output.NextToken),
|
|
4332
|
-
};
|
|
4333
|
-
};
|
|
4334
|
-
const de_DescribeWorkspaceImagePermissionsResult = (output, context) => {
|
|
4335
|
-
return {
|
|
4336
|
-
ImageId: __expectString(output.ImageId),
|
|
4337
|
-
ImagePermissions: output.ImagePermissions != null ? de_ImagePermissions(output.ImagePermissions, context) : undefined,
|
|
4338
|
-
NextToken: __expectString(output.NextToken),
|
|
4339
|
-
};
|
|
4340
|
-
};
|
|
4341
|
-
const de_DescribeWorkspaceImagesResult = (output, context) => {
|
|
4342
|
-
return {
|
|
4343
|
-
Images: output.Images != null ? de_WorkspaceImageList(output.Images, context) : undefined,
|
|
4344
|
-
NextToken: __expectString(output.NextToken),
|
|
4345
|
-
};
|
|
4346
|
-
};
|
|
4347
|
-
const de_DescribeWorkspacesConnectionStatusResult = (output, context) => {
|
|
4348
|
-
return {
|
|
4349
|
-
NextToken: __expectString(output.NextToken),
|
|
4350
|
-
WorkspacesConnectionStatus: output.WorkspacesConnectionStatus != null
|
|
4351
|
-
? de_WorkspaceConnectionStatusList(output.WorkspacesConnectionStatus, context)
|
|
4352
|
-
: undefined,
|
|
4353
|
-
};
|
|
4354
|
-
};
|
|
4355
|
-
const de_DescribeWorkspaceSnapshotsResult = (output, context) => {
|
|
4356
|
-
return {
|
|
4357
|
-
RebuildSnapshots: output.RebuildSnapshots != null ? de_SnapshotList(output.RebuildSnapshots, context) : undefined,
|
|
4358
|
-
RestoreSnapshots: output.RestoreSnapshots != null ? de_SnapshotList(output.RestoreSnapshots, context) : undefined,
|
|
4359
|
-
};
|
|
4360
|
-
};
|
|
4361
|
-
const de_DescribeWorkspacesResult = (output, context) => {
|
|
4362
|
-
return {
|
|
4363
|
-
NextToken: __expectString(output.NextToken),
|
|
4364
|
-
Workspaces: output.Workspaces != null ? de_WorkspaceList(output.Workspaces, context) : undefined,
|
|
4365
|
-
};
|
|
4366
|
-
};
|
|
4367
|
-
const de_DirectoryList = (output, context) => {
|
|
4368
|
-
const retVal = (output || [])
|
|
4369
|
-
.filter((e) => e != null)
|
|
4370
|
-
.map((entry) => {
|
|
4371
|
-
if (entry === null) {
|
|
4372
|
-
return null;
|
|
4373
|
-
}
|
|
4374
|
-
return de_WorkspaceDirectory(entry, context);
|
|
4375
|
-
});
|
|
4376
|
-
return retVal;
|
|
4377
|
-
};
|
|
4378
|
-
const de_DisassociateConnectionAliasResult = (output, context) => {
|
|
4379
|
-
return {};
|
|
4380
|
-
};
|
|
4381
|
-
const de_DisassociateIpGroupsResult = (output, context) => {
|
|
4382
|
-
return {};
|
|
4383
|
-
};
|
|
4384
|
-
const de_DnsIpAddresses = (output, context) => {
|
|
4385
|
-
const retVal = (output || [])
|
|
4386
|
-
.filter((e) => e != null)
|
|
4387
|
-
.map((entry) => {
|
|
4388
|
-
if (entry === null) {
|
|
4389
|
-
return null;
|
|
4390
|
-
}
|
|
4391
|
-
return __expectString(entry);
|
|
4392
|
-
});
|
|
4393
|
-
return retVal;
|
|
4394
|
-
};
|
|
4395
|
-
const de_FailedCreateStandbyWorkspacesRequest = (output, context) => {
|
|
4396
|
-
return {
|
|
4397
|
-
ErrorCode: __expectString(output.ErrorCode),
|
|
4398
|
-
ErrorMessage: __expectString(output.ErrorMessage),
|
|
4399
|
-
StandbyWorkspaceRequest: output.StandbyWorkspaceRequest != null ? de_StandbyWorkspace(output.StandbyWorkspaceRequest, context) : undefined,
|
|
4400
|
-
};
|
|
4401
|
-
};
|
|
4402
|
-
const de_FailedCreateStandbyWorkspacesRequestList = (output, context) => {
|
|
4403
|
-
const retVal = (output || [])
|
|
4404
|
-
.filter((e) => e != null)
|
|
4405
|
-
.map((entry) => {
|
|
4406
|
-
if (entry === null) {
|
|
4407
|
-
return null;
|
|
4408
|
-
}
|
|
4409
|
-
return de_FailedCreateStandbyWorkspacesRequest(entry, context);
|
|
4410
|
-
});
|
|
4411
|
-
return retVal;
|
|
4412
|
-
};
|
|
4413
|
-
const de_FailedCreateWorkspaceRequest = (output, context) => {
|
|
4414
|
-
return {
|
|
4415
|
-
ErrorCode: __expectString(output.ErrorCode),
|
|
4416
|
-
ErrorMessage: __expectString(output.ErrorMessage),
|
|
4417
|
-
WorkspaceRequest: output.WorkspaceRequest != null ? de_WorkspaceRequest(output.WorkspaceRequest, context) : undefined,
|
|
4418
|
-
};
|
|
4419
|
-
};
|
|
4420
|
-
const de_FailedCreateWorkspaceRequests = (output, context) => {
|
|
4421
|
-
const retVal = (output || [])
|
|
4422
|
-
.filter((e) => e != null)
|
|
4423
|
-
.map((entry) => {
|
|
4424
|
-
if (entry === null) {
|
|
4425
|
-
return null;
|
|
4426
|
-
}
|
|
4427
|
-
return de_FailedCreateWorkspaceRequest(entry, context);
|
|
4428
|
-
});
|
|
4429
|
-
return retVal;
|
|
4430
|
-
};
|
|
4431
|
-
const de_FailedRebootWorkspaceRequests = (output, context) => {
|
|
4432
|
-
const retVal = (output || [])
|
|
4433
|
-
.filter((e) => e != null)
|
|
4434
|
-
.map((entry) => {
|
|
4435
|
-
if (entry === null) {
|
|
4436
|
-
return null;
|
|
4437
|
-
}
|
|
4438
|
-
return de_FailedWorkspaceChangeRequest(entry, context);
|
|
4439
|
-
});
|
|
4440
|
-
return retVal;
|
|
4441
|
-
};
|
|
4442
|
-
const de_FailedRebuildWorkspaceRequests = (output, context) => {
|
|
4443
|
-
const retVal = (output || [])
|
|
4444
|
-
.filter((e) => e != null)
|
|
4445
|
-
.map((entry) => {
|
|
4446
|
-
if (entry === null) {
|
|
4447
|
-
return null;
|
|
4448
|
-
}
|
|
4449
|
-
return de_FailedWorkspaceChangeRequest(entry, context);
|
|
4450
|
-
});
|
|
4451
|
-
return retVal;
|
|
4452
|
-
};
|
|
4453
|
-
const de_FailedStartWorkspaceRequests = (output, context) => {
|
|
4454
|
-
const retVal = (output || [])
|
|
4455
|
-
.filter((e) => e != null)
|
|
4456
|
-
.map((entry) => {
|
|
4457
|
-
if (entry === null) {
|
|
4458
|
-
return null;
|
|
4459
|
-
}
|
|
4460
|
-
return de_FailedWorkspaceChangeRequest(entry, context);
|
|
3115
|
+
return take(input, {
|
|
3116
|
+
ForgotPasswordLink: [],
|
|
3117
|
+
LoginMessage: _json,
|
|
3118
|
+
Logo: context.base64Encoder,
|
|
3119
|
+
SupportEmail: [],
|
|
3120
|
+
SupportLink: [],
|
|
4461
3121
|
});
|
|
4462
|
-
return retVal;
|
|
4463
3122
|
};
|
|
4464
|
-
const
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
3123
|
+
const se_ImportClientBrandingRequest = (input, context) => {
|
|
3124
|
+
return take(input, {
|
|
3125
|
+
DeviceTypeAndroid: (_) => se_DefaultImportClientBrandingAttributes(_, context),
|
|
3126
|
+
DeviceTypeIos: (_) => se_IosImportClientBrandingAttributes(_, context),
|
|
3127
|
+
DeviceTypeLinux: (_) => se_DefaultImportClientBrandingAttributes(_, context),
|
|
3128
|
+
DeviceTypeOsx: (_) => se_DefaultImportClientBrandingAttributes(_, context),
|
|
3129
|
+
DeviceTypeWeb: (_) => se_DefaultImportClientBrandingAttributes(_, context),
|
|
3130
|
+
DeviceTypeWindows: (_) => se_DefaultImportClientBrandingAttributes(_, context),
|
|
3131
|
+
ResourceId: [],
|
|
4472
3132
|
});
|
|
4473
|
-
return retVal;
|
|
4474
3133
|
};
|
|
4475
|
-
const
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
3134
|
+
const se_IosImportClientBrandingAttributes = (input, context) => {
|
|
3135
|
+
return take(input, {
|
|
3136
|
+
ForgotPasswordLink: [],
|
|
3137
|
+
LoginMessage: _json,
|
|
3138
|
+
Logo: context.base64Encoder,
|
|
3139
|
+
Logo2x: context.base64Encoder,
|
|
3140
|
+
Logo3x: context.base64Encoder,
|
|
3141
|
+
SupportEmail: [],
|
|
3142
|
+
SupportLink: [],
|
|
4483
3143
|
});
|
|
4484
|
-
return retVal;
|
|
4485
|
-
};
|
|
4486
|
-
const de_FailedWorkspaceChangeRequest = (output, context) => {
|
|
4487
|
-
return {
|
|
4488
|
-
ErrorCode: __expectString(output.ErrorCode),
|
|
4489
|
-
ErrorMessage: __expectString(output.ErrorMessage),
|
|
4490
|
-
WorkspaceId: __expectString(output.WorkspaceId),
|
|
4491
|
-
};
|
|
4492
3144
|
};
|
|
4493
|
-
const
|
|
4494
|
-
return {
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
.map((entry) => {
|
|
4502
|
-
if (entry === null) {
|
|
4503
|
-
return null;
|
|
4504
|
-
}
|
|
4505
|
-
return de_ImagePermission(entry, context);
|
|
3145
|
+
const de_AccountModification = (output, context) => {
|
|
3146
|
+
return take(output, {
|
|
3147
|
+
DedicatedTenancyManagementCidrRange: __expectString,
|
|
3148
|
+
DedicatedTenancySupport: __expectString,
|
|
3149
|
+
ErrorCode: __expectString,
|
|
3150
|
+
ErrorMessage: __expectString,
|
|
3151
|
+
ModificationState: __expectString,
|
|
3152
|
+
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4506
3153
|
});
|
|
4507
|
-
return retVal;
|
|
4508
|
-
};
|
|
4509
|
-
const de_ImportClientBrandingResult = (output, context) => {
|
|
4510
|
-
return {
|
|
4511
|
-
DeviceTypeAndroid: output.DeviceTypeAndroid != null
|
|
4512
|
-
? de_DefaultClientBrandingAttributes(output.DeviceTypeAndroid, context)
|
|
4513
|
-
: undefined,
|
|
4514
|
-
DeviceTypeIos: output.DeviceTypeIos != null ? de_IosClientBrandingAttributes(output.DeviceTypeIos, context) : undefined,
|
|
4515
|
-
DeviceTypeLinux: output.DeviceTypeLinux != null ? de_DefaultClientBrandingAttributes(output.DeviceTypeLinux, context) : undefined,
|
|
4516
|
-
DeviceTypeOsx: output.DeviceTypeOsx != null ? de_DefaultClientBrandingAttributes(output.DeviceTypeOsx, context) : undefined,
|
|
4517
|
-
DeviceTypeWeb: output.DeviceTypeWeb != null ? de_DefaultClientBrandingAttributes(output.DeviceTypeWeb, context) : undefined,
|
|
4518
|
-
DeviceTypeWindows: output.DeviceTypeWindows != null
|
|
4519
|
-
? de_DefaultClientBrandingAttributes(output.DeviceTypeWindows, context)
|
|
4520
|
-
: undefined,
|
|
4521
|
-
};
|
|
4522
|
-
};
|
|
4523
|
-
const de_ImportWorkspaceImageResult = (output, context) => {
|
|
4524
|
-
return {
|
|
4525
|
-
ImageId: __expectString(output.ImageId),
|
|
4526
|
-
};
|
|
4527
|
-
};
|
|
4528
|
-
const de_InvalidParameterValuesException = (output, context) => {
|
|
4529
|
-
return {
|
|
4530
|
-
message: __expectString(output.message),
|
|
4531
|
-
};
|
|
4532
3154
|
};
|
|
4533
|
-
const
|
|
4534
|
-
return {
|
|
4535
|
-
message: __expectString(output.message),
|
|
4536
|
-
};
|
|
4537
|
-
};
|
|
4538
|
-
const de_IosClientBrandingAttributes = (output, context) => {
|
|
4539
|
-
return {
|
|
4540
|
-
ForgotPasswordLink: __expectString(output.ForgotPasswordLink),
|
|
4541
|
-
LoginMessage: output.LoginMessage != null ? de_LoginMessage(output.LoginMessage, context) : undefined,
|
|
4542
|
-
Logo2xUrl: __expectString(output.Logo2xUrl),
|
|
4543
|
-
Logo3xUrl: __expectString(output.Logo3xUrl),
|
|
4544
|
-
LogoUrl: __expectString(output.LogoUrl),
|
|
4545
|
-
SupportEmail: __expectString(output.SupportEmail),
|
|
4546
|
-
SupportLink: __expectString(output.SupportLink),
|
|
4547
|
-
};
|
|
4548
|
-
};
|
|
4549
|
-
const de_IpGroupIdList = (output, context) => {
|
|
3155
|
+
const de_AccountModificationList = (output, context) => {
|
|
4550
3156
|
const retVal = (output || [])
|
|
4551
3157
|
.filter((e) => e != null)
|
|
4552
3158
|
.map((entry) => {
|
|
4553
|
-
|
|
4554
|
-
return null;
|
|
4555
|
-
}
|
|
4556
|
-
return __expectString(entry);
|
|
3159
|
+
return de_AccountModification(entry, context);
|
|
4557
3160
|
});
|
|
4558
3161
|
return retVal;
|
|
4559
3162
|
};
|
|
4560
|
-
const
|
|
4561
|
-
return {
|
|
4562
|
-
ipRule: __expectString(output.ipRule),
|
|
4563
|
-
ruleDesc: __expectString(output.ruleDesc),
|
|
4564
|
-
};
|
|
4565
|
-
};
|
|
4566
|
-
const de_IpRuleList = (output, context) => {
|
|
3163
|
+
const de_BundleList = (output, context) => {
|
|
4567
3164
|
const retVal = (output || [])
|
|
4568
3165
|
.filter((e) => e != null)
|
|
4569
3166
|
.map((entry) => {
|
|
4570
|
-
|
|
4571
|
-
return null;
|
|
4572
|
-
}
|
|
4573
|
-
return de_IpRuleItem(entry, context);
|
|
3167
|
+
return de_WorkspaceBundle(entry, context);
|
|
4574
3168
|
});
|
|
4575
3169
|
return retVal;
|
|
4576
3170
|
};
|
|
4577
|
-
const
|
|
4578
|
-
return {
|
|
4579
|
-
|
|
4580
|
-
? de_DedicatedTenancyCidrRangeList(output.ManagementCidrRanges, context)
|
|
4581
|
-
: undefined,
|
|
4582
|
-
NextToken: __expectString(output.NextToken),
|
|
4583
|
-
};
|
|
4584
|
-
};
|
|
4585
|
-
const de_LoginMessage = (output, context) => {
|
|
4586
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4587
|
-
if (value === null) {
|
|
4588
|
-
return acc;
|
|
4589
|
-
}
|
|
4590
|
-
acc[key] = __expectString(value);
|
|
4591
|
-
return acc;
|
|
4592
|
-
}, {});
|
|
4593
|
-
};
|
|
4594
|
-
const de_MigrateWorkspaceResult = (output, context) => {
|
|
4595
|
-
return {
|
|
4596
|
-
SourceWorkspaceId: __expectString(output.SourceWorkspaceId),
|
|
4597
|
-
TargetWorkspaceId: __expectString(output.TargetWorkspaceId),
|
|
4598
|
-
};
|
|
4599
|
-
};
|
|
4600
|
-
const de_ModificationState = (output, context) => {
|
|
4601
|
-
return {
|
|
4602
|
-
Resource: __expectString(output.Resource),
|
|
4603
|
-
State: __expectString(output.State),
|
|
4604
|
-
};
|
|
4605
|
-
};
|
|
4606
|
-
const de_ModificationStateList = (output, context) => {
|
|
4607
|
-
const retVal = (output || [])
|
|
4608
|
-
.filter((e) => e != null)
|
|
4609
|
-
.map((entry) => {
|
|
4610
|
-
if (entry === null) {
|
|
4611
|
-
return null;
|
|
4612
|
-
}
|
|
4613
|
-
return de_ModificationState(entry, context);
|
|
3171
|
+
const de_CreateWorkspaceBundleResult = (output, context) => {
|
|
3172
|
+
return take(output, {
|
|
3173
|
+
WorkspaceBundle: (_) => de_WorkspaceBundle(_, context),
|
|
4614
3174
|
});
|
|
4615
|
-
return retVal;
|
|
4616
3175
|
};
|
|
4617
|
-
const
|
|
4618
|
-
return {
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
return {};
|
|
4628
|
-
};
|
|
4629
|
-
const de_ModifySelfservicePermissionsResult = (output, context) => {
|
|
4630
|
-
return {};
|
|
4631
|
-
};
|
|
4632
|
-
const de_ModifyWorkspaceAccessPropertiesResult = (output, context) => {
|
|
4633
|
-
return {};
|
|
4634
|
-
};
|
|
4635
|
-
const de_ModifyWorkspaceCreationPropertiesResult = (output, context) => {
|
|
4636
|
-
return {};
|
|
4637
|
-
};
|
|
4638
|
-
const de_ModifyWorkspacePropertiesResult = (output, context) => {
|
|
4639
|
-
return {};
|
|
4640
|
-
};
|
|
4641
|
-
const de_ModifyWorkspaceStateResult = (output, context) => {
|
|
4642
|
-
return {};
|
|
4643
|
-
};
|
|
4644
|
-
const de_OperatingSystem = (output, context) => {
|
|
4645
|
-
return {
|
|
4646
|
-
Type: __expectString(output.Type),
|
|
4647
|
-
};
|
|
4648
|
-
};
|
|
4649
|
-
const de_OperationInProgressException = (output, context) => {
|
|
4650
|
-
return {
|
|
4651
|
-
message: __expectString(output.message),
|
|
4652
|
-
};
|
|
4653
|
-
};
|
|
4654
|
-
const de_OperationNotSupportedException = (output, context) => {
|
|
4655
|
-
return {
|
|
4656
|
-
message: __expectString(output.message),
|
|
4657
|
-
reason: __expectString(output.reason),
|
|
4658
|
-
};
|
|
4659
|
-
};
|
|
4660
|
-
const de_PendingCreateStandbyWorkspacesRequest = (output, context) => {
|
|
4661
|
-
return {
|
|
4662
|
-
DirectoryId: __expectString(output.DirectoryId),
|
|
4663
|
-
State: __expectString(output.State),
|
|
4664
|
-
UserName: __expectString(output.UserName),
|
|
4665
|
-
WorkspaceId: __expectString(output.WorkspaceId),
|
|
4666
|
-
};
|
|
4667
|
-
};
|
|
4668
|
-
const de_PendingCreateStandbyWorkspacesRequestList = (output, context) => {
|
|
4669
|
-
const retVal = (output || [])
|
|
4670
|
-
.filter((e) => e != null)
|
|
4671
|
-
.map((entry) => {
|
|
4672
|
-
if (entry === null) {
|
|
4673
|
-
return null;
|
|
4674
|
-
}
|
|
4675
|
-
return de_PendingCreateStandbyWorkspacesRequest(entry, context);
|
|
3176
|
+
const de_CreateWorkspaceImageResult = (output, context) => {
|
|
3177
|
+
return take(output, {
|
|
3178
|
+
Created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3179
|
+
Description: __expectString,
|
|
3180
|
+
ImageId: __expectString,
|
|
3181
|
+
Name: __expectString,
|
|
3182
|
+
OperatingSystem: _json,
|
|
3183
|
+
OwnerAccountId: __expectString,
|
|
3184
|
+
RequiredTenancy: __expectString,
|
|
3185
|
+
State: __expectString,
|
|
4676
3186
|
});
|
|
4677
|
-
return retVal;
|
|
4678
3187
|
};
|
|
4679
|
-
const
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
if (entry === null) {
|
|
4684
|
-
return null;
|
|
4685
|
-
}
|
|
4686
|
-
return __expectString(entry);
|
|
3188
|
+
const de_DescribeAccountModificationsResult = (output, context) => {
|
|
3189
|
+
return take(output, {
|
|
3190
|
+
AccountModifications: (_) => de_AccountModificationList(_, context),
|
|
3191
|
+
NextToken: __expectString,
|
|
4687
3192
|
});
|
|
4688
|
-
return retVal;
|
|
4689
|
-
};
|
|
4690
|
-
const de_RebootWorkspacesResult = (output, context) => {
|
|
4691
|
-
return {
|
|
4692
|
-
FailedRequests: output.FailedRequests != null ? de_FailedRebootWorkspaceRequests(output.FailedRequests, context) : undefined,
|
|
4693
|
-
};
|
|
4694
|
-
};
|
|
4695
|
-
const de_RebuildWorkspacesResult = (output, context) => {
|
|
4696
|
-
return {
|
|
4697
|
-
FailedRequests: output.FailedRequests != null ? de_FailedRebuildWorkspaceRequests(output.FailedRequests, context) : undefined,
|
|
4698
|
-
};
|
|
4699
3193
|
};
|
|
4700
|
-
const
|
|
4701
|
-
return {
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
return {
|
|
4705
|
-
Region: __expectString(output.Region),
|
|
4706
|
-
State: __expectString(output.State),
|
|
4707
|
-
Type: __expectString(output.Type),
|
|
4708
|
-
WorkspaceId: __expectString(output.WorkspaceId),
|
|
4709
|
-
};
|
|
4710
|
-
};
|
|
4711
|
-
const de_RelatedWorkspaces = (output, context) => {
|
|
4712
|
-
const retVal = (output || [])
|
|
4713
|
-
.filter((e) => e != null)
|
|
4714
|
-
.map((entry) => {
|
|
4715
|
-
if (entry === null) {
|
|
4716
|
-
return null;
|
|
4717
|
-
}
|
|
4718
|
-
return de_RelatedWorkspaceProperties(entry, context);
|
|
3194
|
+
const de_DescribeWorkspaceBundlesResult = (output, context) => {
|
|
3195
|
+
return take(output, {
|
|
3196
|
+
Bundles: (_) => de_BundleList(_, context),
|
|
3197
|
+
NextToken: __expectString,
|
|
4719
3198
|
});
|
|
4720
|
-
return retVal;
|
|
4721
|
-
};
|
|
4722
|
-
const de_ResourceAlreadyExistsException = (output, context) => {
|
|
4723
|
-
return {
|
|
4724
|
-
message: __expectString(output.message),
|
|
4725
|
-
};
|
|
4726
|
-
};
|
|
4727
|
-
const de_ResourceAssociatedException = (output, context) => {
|
|
4728
|
-
return {
|
|
4729
|
-
message: __expectString(output.message),
|
|
4730
|
-
};
|
|
4731
|
-
};
|
|
4732
|
-
const de_ResourceCreationFailedException = (output, context) => {
|
|
4733
|
-
return {
|
|
4734
|
-
message: __expectString(output.message),
|
|
4735
|
-
};
|
|
4736
|
-
};
|
|
4737
|
-
const de_ResourceLimitExceededException = (output, context) => {
|
|
4738
|
-
return {
|
|
4739
|
-
message: __expectString(output.message),
|
|
4740
|
-
};
|
|
4741
|
-
};
|
|
4742
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
4743
|
-
return {
|
|
4744
|
-
ResourceId: __expectString(output.ResourceId),
|
|
4745
|
-
message: __expectString(output.message),
|
|
4746
|
-
};
|
|
4747
|
-
};
|
|
4748
|
-
const de_ResourceUnavailableException = (output, context) => {
|
|
4749
|
-
return {
|
|
4750
|
-
ResourceId: __expectString(output.ResourceId),
|
|
4751
|
-
message: __expectString(output.message),
|
|
4752
|
-
};
|
|
4753
|
-
};
|
|
4754
|
-
const de_RestoreWorkspaceResult = (output, context) => {
|
|
4755
|
-
return {};
|
|
4756
|
-
};
|
|
4757
|
-
const de_RevokeIpRulesResult = (output, context) => {
|
|
4758
|
-
return {};
|
|
4759
3199
|
};
|
|
4760
|
-
const
|
|
4761
|
-
return {
|
|
4762
|
-
|
|
4763
|
-
|
|
3200
|
+
const de_DescribeWorkspaceImagesResult = (output, context) => {
|
|
3201
|
+
return take(output, {
|
|
3202
|
+
Images: (_) => de_WorkspaceImageList(_, context),
|
|
3203
|
+
NextToken: __expectString,
|
|
3204
|
+
});
|
|
4764
3205
|
};
|
|
4765
|
-
const
|
|
4766
|
-
return {
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
};
|
|
3206
|
+
const de_DescribeWorkspacesConnectionStatusResult = (output, context) => {
|
|
3207
|
+
return take(output, {
|
|
3208
|
+
NextToken: __expectString,
|
|
3209
|
+
WorkspacesConnectionStatus: (_) => de_WorkspaceConnectionStatusList(_, context),
|
|
3210
|
+
});
|
|
4771
3211
|
};
|
|
4772
|
-
const
|
|
4773
|
-
return {
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
RestartWorkspace: __expectString(output.RestartWorkspace),
|
|
4778
|
-
SwitchRunningMode: __expectString(output.SwitchRunningMode),
|
|
4779
|
-
};
|
|
3212
|
+
const de_DescribeWorkspaceSnapshotsResult = (output, context) => {
|
|
3213
|
+
return take(output, {
|
|
3214
|
+
RebuildSnapshots: (_) => de_SnapshotList(_, context),
|
|
3215
|
+
RestoreSnapshots: (_) => de_SnapshotList(_, context),
|
|
3216
|
+
});
|
|
4780
3217
|
};
|
|
4781
3218
|
const de_Snapshot = (output, context) => {
|
|
4782
|
-
return {
|
|
4783
|
-
SnapshotTime:
|
|
4784
|
-
|
|
4785
|
-
: undefined,
|
|
4786
|
-
};
|
|
3219
|
+
return take(output, {
|
|
3220
|
+
SnapshotTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3221
|
+
});
|
|
4787
3222
|
};
|
|
4788
3223
|
const de_SnapshotList = (output, context) => {
|
|
4789
3224
|
const retVal = (output || [])
|
|
4790
3225
|
.filter((e) => e != null)
|
|
4791
3226
|
.map((entry) => {
|
|
4792
|
-
if (entry === null) {
|
|
4793
|
-
return null;
|
|
4794
|
-
}
|
|
4795
3227
|
return de_Snapshot(entry, context);
|
|
4796
3228
|
});
|
|
4797
3229
|
return retVal;
|
|
4798
3230
|
};
|
|
4799
|
-
const de_StandbyWorkspace = (output, context) => {
|
|
4800
|
-
return {
|
|
4801
|
-
DirectoryId: __expectString(output.DirectoryId),
|
|
4802
|
-
PrimaryWorkspaceId: __expectString(output.PrimaryWorkspaceId),
|
|
4803
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
4804
|
-
VolumeEncryptionKey: __expectString(output.VolumeEncryptionKey),
|
|
4805
|
-
};
|
|
4806
|
-
};
|
|
4807
|
-
const de_StartWorkspacesResult = (output, context) => {
|
|
4808
|
-
return {
|
|
4809
|
-
FailedRequests: output.FailedRequests != null ? de_FailedStartWorkspaceRequests(output.FailedRequests, context) : undefined,
|
|
4810
|
-
};
|
|
4811
|
-
};
|
|
4812
|
-
const de_StopWorkspacesResult = (output, context) => {
|
|
4813
|
-
return {
|
|
4814
|
-
FailedRequests: output.FailedRequests != null ? de_FailedStopWorkspaceRequests(output.FailedRequests, context) : undefined,
|
|
4815
|
-
};
|
|
4816
|
-
};
|
|
4817
|
-
const de_SubnetIds = (output, context) => {
|
|
4818
|
-
const retVal = (output || [])
|
|
4819
|
-
.filter((e) => e != null)
|
|
4820
|
-
.map((entry) => {
|
|
4821
|
-
if (entry === null) {
|
|
4822
|
-
return null;
|
|
4823
|
-
}
|
|
4824
|
-
return __expectString(entry);
|
|
4825
|
-
});
|
|
4826
|
-
return retVal;
|
|
4827
|
-
};
|
|
4828
|
-
const de_Tag = (output, context) => {
|
|
4829
|
-
return {
|
|
4830
|
-
Key: __expectString(output.Key),
|
|
4831
|
-
Value: __expectString(output.Value),
|
|
4832
|
-
};
|
|
4833
|
-
};
|
|
4834
|
-
const de_TagList = (output, context) => {
|
|
4835
|
-
const retVal = (output || [])
|
|
4836
|
-
.filter((e) => e != null)
|
|
4837
|
-
.map((entry) => {
|
|
4838
|
-
if (entry === null) {
|
|
4839
|
-
return null;
|
|
4840
|
-
}
|
|
4841
|
-
return de_Tag(entry, context);
|
|
4842
|
-
});
|
|
4843
|
-
return retVal;
|
|
4844
|
-
};
|
|
4845
|
-
const de_TerminateWorkspacesResult = (output, context) => {
|
|
4846
|
-
return {
|
|
4847
|
-
FailedRequests: output.FailedRequests != null ? de_FailedTerminateWorkspaceRequests(output.FailedRequests, context) : undefined,
|
|
4848
|
-
};
|
|
4849
|
-
};
|
|
4850
|
-
const de_UnsupportedNetworkConfigurationException = (output, context) => {
|
|
4851
|
-
return {
|
|
4852
|
-
message: __expectString(output.message),
|
|
4853
|
-
};
|
|
4854
|
-
};
|
|
4855
|
-
const de_UnsupportedWorkspaceConfigurationException = (output, context) => {
|
|
4856
|
-
return {
|
|
4857
|
-
message: __expectString(output.message),
|
|
4858
|
-
};
|
|
4859
|
-
};
|
|
4860
|
-
const de_UpdateConnectClientAddInResult = (output, context) => {
|
|
4861
|
-
return {};
|
|
4862
|
-
};
|
|
4863
|
-
const de_UpdateConnectionAliasPermissionResult = (output, context) => {
|
|
4864
|
-
return {};
|
|
4865
|
-
};
|
|
4866
|
-
const de_UpdateResult = (output, context) => {
|
|
4867
|
-
return {
|
|
4868
|
-
Description: __expectString(output.Description),
|
|
4869
|
-
UpdateAvailable: __expectBoolean(output.UpdateAvailable),
|
|
4870
|
-
};
|
|
4871
|
-
};
|
|
4872
|
-
const de_UpdateRulesOfIpGroupResult = (output, context) => {
|
|
4873
|
-
return {};
|
|
4874
|
-
};
|
|
4875
|
-
const de_UpdateWorkspaceBundleResult = (output, context) => {
|
|
4876
|
-
return {};
|
|
4877
|
-
};
|
|
4878
|
-
const de_UpdateWorkspaceImagePermissionResult = (output, context) => {
|
|
4879
|
-
return {};
|
|
4880
|
-
};
|
|
4881
|
-
const de_UserStorage = (output, context) => {
|
|
4882
|
-
return {
|
|
4883
|
-
Capacity: __expectString(output.Capacity),
|
|
4884
|
-
};
|
|
4885
|
-
};
|
|
4886
|
-
const de_Workspace = (output, context) => {
|
|
4887
|
-
return {
|
|
4888
|
-
BundleId: __expectString(output.BundleId),
|
|
4889
|
-
ComputerName: __expectString(output.ComputerName),
|
|
4890
|
-
DirectoryId: __expectString(output.DirectoryId),
|
|
4891
|
-
ErrorCode: __expectString(output.ErrorCode),
|
|
4892
|
-
ErrorMessage: __expectString(output.ErrorMessage),
|
|
4893
|
-
IpAddress: __expectString(output.IpAddress),
|
|
4894
|
-
ModificationStates: output.ModificationStates != null ? de_ModificationStateList(output.ModificationStates, context) : undefined,
|
|
4895
|
-
RelatedWorkspaces: output.RelatedWorkspaces != null ? de_RelatedWorkspaces(output.RelatedWorkspaces, context) : undefined,
|
|
4896
|
-
RootVolumeEncryptionEnabled: __expectBoolean(output.RootVolumeEncryptionEnabled),
|
|
4897
|
-
State: __expectString(output.State),
|
|
4898
|
-
SubnetId: __expectString(output.SubnetId),
|
|
4899
|
-
UserName: __expectString(output.UserName),
|
|
4900
|
-
UserVolumeEncryptionEnabled: __expectBoolean(output.UserVolumeEncryptionEnabled),
|
|
4901
|
-
VolumeEncryptionKey: __expectString(output.VolumeEncryptionKey),
|
|
4902
|
-
WorkspaceId: __expectString(output.WorkspaceId),
|
|
4903
|
-
WorkspaceProperties: output.WorkspaceProperties != null ? de_WorkspaceProperties(output.WorkspaceProperties, context) : undefined,
|
|
4904
|
-
};
|
|
4905
|
-
};
|
|
4906
|
-
const de_WorkspaceAccessProperties = (output, context) => {
|
|
4907
|
-
return {
|
|
4908
|
-
DeviceTypeAndroid: __expectString(output.DeviceTypeAndroid),
|
|
4909
|
-
DeviceTypeChromeOs: __expectString(output.DeviceTypeChromeOs),
|
|
4910
|
-
DeviceTypeIos: __expectString(output.DeviceTypeIos),
|
|
4911
|
-
DeviceTypeLinux: __expectString(output.DeviceTypeLinux),
|
|
4912
|
-
DeviceTypeOsx: __expectString(output.DeviceTypeOsx),
|
|
4913
|
-
DeviceTypeWeb: __expectString(output.DeviceTypeWeb),
|
|
4914
|
-
DeviceTypeWindows: __expectString(output.DeviceTypeWindows),
|
|
4915
|
-
DeviceTypeZeroClient: __expectString(output.DeviceTypeZeroClient),
|
|
4916
|
-
};
|
|
4917
|
-
};
|
|
4918
3231
|
const de_WorkspaceBundle = (output, context) => {
|
|
4919
|
-
return {
|
|
4920
|
-
BundleId: __expectString
|
|
4921
|
-
BundleType: __expectString
|
|
4922
|
-
ComputeType:
|
|
4923
|
-
CreationTime:
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
RootStorage: output.RootStorage != null ? de_RootStorage(output.RootStorage, context) : undefined,
|
|
4934
|
-
State: __expectString(output.State),
|
|
4935
|
-
UserStorage: output.UserStorage != null ? de_UserStorage(output.UserStorage, context) : undefined,
|
|
4936
|
-
};
|
|
3232
|
+
return take(output, {
|
|
3233
|
+
BundleId: __expectString,
|
|
3234
|
+
BundleType: __expectString,
|
|
3235
|
+
ComputeType: _json,
|
|
3236
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3237
|
+
Description: __expectString,
|
|
3238
|
+
ImageId: __expectString,
|
|
3239
|
+
LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3240
|
+
Name: __expectString,
|
|
3241
|
+
Owner: __expectString,
|
|
3242
|
+
RootStorage: _json,
|
|
3243
|
+
State: __expectString,
|
|
3244
|
+
UserStorage: _json,
|
|
3245
|
+
});
|
|
4937
3246
|
};
|
|
4938
3247
|
const de_WorkspaceConnectionStatus = (output, context) => {
|
|
4939
|
-
return {
|
|
4940
|
-
ConnectionState: __expectString
|
|
4941
|
-
ConnectionStateCheckTimestamp:
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastKnownUserConnectionTimestamp)))
|
|
4946
|
-
: undefined,
|
|
4947
|
-
WorkspaceId: __expectString(output.WorkspaceId),
|
|
4948
|
-
};
|
|
3248
|
+
return take(output, {
|
|
3249
|
+
ConnectionState: __expectString,
|
|
3250
|
+
ConnectionStateCheckTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3251
|
+
LastKnownUserConnectionTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3252
|
+
WorkspaceId: __expectString,
|
|
3253
|
+
});
|
|
4949
3254
|
};
|
|
4950
3255
|
const de_WorkspaceConnectionStatusList = (output, context) => {
|
|
4951
3256
|
const retVal = (output || [])
|
|
4952
3257
|
.filter((e) => e != null)
|
|
4953
3258
|
.map((entry) => {
|
|
4954
|
-
if (entry === null) {
|
|
4955
|
-
return null;
|
|
4956
|
-
}
|
|
4957
3259
|
return de_WorkspaceConnectionStatus(entry, context);
|
|
4958
3260
|
});
|
|
4959
3261
|
return retVal;
|
|
4960
3262
|
};
|
|
4961
|
-
const de_WorkspaceDirectory = (output, context) => {
|
|
4962
|
-
return {
|
|
4963
|
-
Alias: __expectString(output.Alias),
|
|
4964
|
-
CertificateBasedAuthProperties: output.CertificateBasedAuthProperties != null
|
|
4965
|
-
? de_CertificateBasedAuthProperties(output.CertificateBasedAuthProperties, context)
|
|
4966
|
-
: undefined,
|
|
4967
|
-
CustomerUserName: __expectString(output.CustomerUserName),
|
|
4968
|
-
DirectoryId: __expectString(output.DirectoryId),
|
|
4969
|
-
DirectoryName: __expectString(output.DirectoryName),
|
|
4970
|
-
DirectoryType: __expectString(output.DirectoryType),
|
|
4971
|
-
DnsIpAddresses: output.DnsIpAddresses != null ? de_DnsIpAddresses(output.DnsIpAddresses, context) : undefined,
|
|
4972
|
-
IamRoleId: __expectString(output.IamRoleId),
|
|
4973
|
-
RegistrationCode: __expectString(output.RegistrationCode),
|
|
4974
|
-
SamlProperties: output.SamlProperties != null ? de_SamlProperties(output.SamlProperties, context) : undefined,
|
|
4975
|
-
SelfservicePermissions: output.SelfservicePermissions != null
|
|
4976
|
-
? de_SelfservicePermissions(output.SelfservicePermissions, context)
|
|
4977
|
-
: undefined,
|
|
4978
|
-
State: __expectString(output.State),
|
|
4979
|
-
SubnetIds: output.SubnetIds != null ? de_SubnetIds(output.SubnetIds, context) : undefined,
|
|
4980
|
-
Tenancy: __expectString(output.Tenancy),
|
|
4981
|
-
WorkspaceAccessProperties: output.WorkspaceAccessProperties != null
|
|
4982
|
-
? de_WorkspaceAccessProperties(output.WorkspaceAccessProperties, context)
|
|
4983
|
-
: undefined,
|
|
4984
|
-
WorkspaceCreationProperties: output.WorkspaceCreationProperties != null
|
|
4985
|
-
? de_DefaultWorkspaceCreationProperties(output.WorkspaceCreationProperties, context)
|
|
4986
|
-
: undefined,
|
|
4987
|
-
WorkspaceSecurityGroupId: __expectString(output.WorkspaceSecurityGroupId),
|
|
4988
|
-
ipGroupIds: output.ipGroupIds != null ? de_IpGroupIdList(output.ipGroupIds, context) : undefined,
|
|
4989
|
-
};
|
|
4990
|
-
};
|
|
4991
3263
|
const de_WorkspaceImage = (output, context) => {
|
|
4992
|
-
return {
|
|
4993
|
-
Created:
|
|
4994
|
-
Description: __expectString
|
|
4995
|
-
ErrorCode: __expectString
|
|
4996
|
-
ErrorMessage: __expectString
|
|
4997
|
-
ImageId: __expectString
|
|
4998
|
-
Name: __expectString
|
|
4999
|
-
OperatingSystem:
|
|
5000
|
-
OwnerAccountId: __expectString
|
|
5001
|
-
RequiredTenancy: __expectString
|
|
5002
|
-
State: __expectString
|
|
5003
|
-
Updates:
|
|
5004
|
-
};
|
|
3264
|
+
return take(output, {
|
|
3265
|
+
Created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3266
|
+
Description: __expectString,
|
|
3267
|
+
ErrorCode: __expectString,
|
|
3268
|
+
ErrorMessage: __expectString,
|
|
3269
|
+
ImageId: __expectString,
|
|
3270
|
+
Name: __expectString,
|
|
3271
|
+
OperatingSystem: _json,
|
|
3272
|
+
OwnerAccountId: __expectString,
|
|
3273
|
+
RequiredTenancy: __expectString,
|
|
3274
|
+
State: __expectString,
|
|
3275
|
+
Updates: _json,
|
|
3276
|
+
});
|
|
5005
3277
|
};
|
|
5006
3278
|
const de_WorkspaceImageList = (output, context) => {
|
|
5007
3279
|
const retVal = (output || [])
|
|
5008
3280
|
.filter((e) => e != null)
|
|
5009
3281
|
.map((entry) => {
|
|
5010
|
-
if (entry === null) {
|
|
5011
|
-
return null;
|
|
5012
|
-
}
|
|
5013
3282
|
return de_WorkspaceImage(entry, context);
|
|
5014
3283
|
});
|
|
5015
3284
|
return retVal;
|
|
5016
3285
|
};
|
|
5017
|
-
const de_WorkspaceList = (output, context) => {
|
|
5018
|
-
const retVal = (output || [])
|
|
5019
|
-
.filter((e) => e != null)
|
|
5020
|
-
.map((entry) => {
|
|
5021
|
-
if (entry === null) {
|
|
5022
|
-
return null;
|
|
5023
|
-
}
|
|
5024
|
-
return de_Workspace(entry, context);
|
|
5025
|
-
});
|
|
5026
|
-
return retVal;
|
|
5027
|
-
};
|
|
5028
|
-
const de_WorkspaceProperties = (output, context) => {
|
|
5029
|
-
return {
|
|
5030
|
-
ComputeTypeName: __expectString(output.ComputeTypeName),
|
|
5031
|
-
Protocols: output.Protocols != null ? de_ProtocolList(output.Protocols, context) : undefined,
|
|
5032
|
-
RootVolumeSizeGib: __expectInt32(output.RootVolumeSizeGib),
|
|
5033
|
-
RunningMode: __expectString(output.RunningMode),
|
|
5034
|
-
RunningModeAutoStopTimeoutInMinutes: __expectInt32(output.RunningModeAutoStopTimeoutInMinutes),
|
|
5035
|
-
UserVolumeSizeGib: __expectInt32(output.UserVolumeSizeGib),
|
|
5036
|
-
};
|
|
5037
|
-
};
|
|
5038
|
-
const de_WorkspaceRequest = (output, context) => {
|
|
5039
|
-
return {
|
|
5040
|
-
BundleId: __expectString(output.BundleId),
|
|
5041
|
-
DirectoryId: __expectString(output.DirectoryId),
|
|
5042
|
-
RootVolumeEncryptionEnabled: __expectBoolean(output.RootVolumeEncryptionEnabled),
|
|
5043
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
5044
|
-
UserName: __expectString(output.UserName),
|
|
5045
|
-
UserVolumeEncryptionEnabled: __expectBoolean(output.UserVolumeEncryptionEnabled),
|
|
5046
|
-
VolumeEncryptionKey: __expectString(output.VolumeEncryptionKey),
|
|
5047
|
-
WorkspaceProperties: output.WorkspaceProperties != null ? de_WorkspaceProperties(output.WorkspaceProperties, context) : undefined,
|
|
5048
|
-
};
|
|
5049
|
-
};
|
|
5050
|
-
const de_WorkspacesDefaultRoleNotFoundException = (output, context) => {
|
|
5051
|
-
return {
|
|
5052
|
-
message: __expectString(output.message),
|
|
5053
|
-
};
|
|
5054
|
-
};
|
|
5055
|
-
const de_WorkspacesIpGroup = (output, context) => {
|
|
5056
|
-
return {
|
|
5057
|
-
groupDesc: __expectString(output.groupDesc),
|
|
5058
|
-
groupId: __expectString(output.groupId),
|
|
5059
|
-
groupName: __expectString(output.groupName),
|
|
5060
|
-
userRules: output.userRules != null ? de_IpRuleList(output.userRules, context) : undefined,
|
|
5061
|
-
};
|
|
5062
|
-
};
|
|
5063
|
-
const de_WorkspacesIpGroupsList = (output, context) => {
|
|
5064
|
-
const retVal = (output || [])
|
|
5065
|
-
.filter((e) => e != null)
|
|
5066
|
-
.map((entry) => {
|
|
5067
|
-
if (entry === null) {
|
|
5068
|
-
return null;
|
|
5069
|
-
}
|
|
5070
|
-
return de_WorkspacesIpGroup(entry, context);
|
|
5071
|
-
});
|
|
5072
|
-
return retVal;
|
|
5073
|
-
};
|
|
5074
3286
|
const deserializeMetadata = (output) => ({
|
|
5075
3287
|
httpStatusCode: output.statusCode,
|
|
5076
3288
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -5084,6 +3296,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
5084
3296
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5085
3297
|
};
|
|
5086
3298
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3299
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
5087
3300
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
5088
3301
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
5089
3302
|
const contents = {
|