@aws-sdk/client-appstream 3.310.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_json1_1.js +618 -2384
- package/dist-es/protocols/Aws_json1_1.js +619 -2385
- package/package.json +6 -6
|
@@ -8,652 +8,457 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
8
8
|
const AppStreamServiceException_1 = require("../models/AppStreamServiceException");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const se_AssociateApplicationFleetCommand = async (input, context) => {
|
|
11
|
-
const headers =
|
|
12
|
-
"content-type": "application/x-amz-json-1.1",
|
|
13
|
-
"x-amz-target": "PhotonAdminProxyService.AssociateApplicationFleet",
|
|
14
|
-
};
|
|
11
|
+
const headers = sharedHeaders("AssociateApplicationFleet");
|
|
15
12
|
let body;
|
|
16
|
-
body = JSON.stringify(
|
|
13
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
17
14
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
18
15
|
};
|
|
19
16
|
exports.se_AssociateApplicationFleetCommand = se_AssociateApplicationFleetCommand;
|
|
20
17
|
const se_AssociateApplicationToEntitlementCommand = async (input, context) => {
|
|
21
|
-
const headers =
|
|
22
|
-
"content-type": "application/x-amz-json-1.1",
|
|
23
|
-
"x-amz-target": "PhotonAdminProxyService.AssociateApplicationToEntitlement",
|
|
24
|
-
};
|
|
18
|
+
const headers = sharedHeaders("AssociateApplicationToEntitlement");
|
|
25
19
|
let body;
|
|
26
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
27
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
22
|
};
|
|
29
23
|
exports.se_AssociateApplicationToEntitlementCommand = se_AssociateApplicationToEntitlementCommand;
|
|
30
24
|
const se_AssociateFleetCommand = async (input, context) => {
|
|
31
|
-
const headers =
|
|
32
|
-
"content-type": "application/x-amz-json-1.1",
|
|
33
|
-
"x-amz-target": "PhotonAdminProxyService.AssociateFleet",
|
|
34
|
-
};
|
|
25
|
+
const headers = sharedHeaders("AssociateFleet");
|
|
35
26
|
let body;
|
|
36
|
-
body = JSON.stringify(
|
|
27
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
37
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
38
29
|
};
|
|
39
30
|
exports.se_AssociateFleetCommand = se_AssociateFleetCommand;
|
|
40
31
|
const se_BatchAssociateUserStackCommand = async (input, context) => {
|
|
41
|
-
const headers =
|
|
42
|
-
"content-type": "application/x-amz-json-1.1",
|
|
43
|
-
"x-amz-target": "PhotonAdminProxyService.BatchAssociateUserStack",
|
|
44
|
-
};
|
|
32
|
+
const headers = sharedHeaders("BatchAssociateUserStack");
|
|
45
33
|
let body;
|
|
46
|
-
body = JSON.stringify(
|
|
34
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
47
35
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
48
36
|
};
|
|
49
37
|
exports.se_BatchAssociateUserStackCommand = se_BatchAssociateUserStackCommand;
|
|
50
38
|
const se_BatchDisassociateUserStackCommand = async (input, context) => {
|
|
51
|
-
const headers =
|
|
52
|
-
"content-type": "application/x-amz-json-1.1",
|
|
53
|
-
"x-amz-target": "PhotonAdminProxyService.BatchDisassociateUserStack",
|
|
54
|
-
};
|
|
39
|
+
const headers = sharedHeaders("BatchDisassociateUserStack");
|
|
55
40
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
41
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
57
42
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
43
|
};
|
|
59
44
|
exports.se_BatchDisassociateUserStackCommand = se_BatchDisassociateUserStackCommand;
|
|
60
45
|
const se_CopyImageCommand = async (input, context) => {
|
|
61
|
-
const headers =
|
|
62
|
-
"content-type": "application/x-amz-json-1.1",
|
|
63
|
-
"x-amz-target": "PhotonAdminProxyService.CopyImage",
|
|
64
|
-
};
|
|
46
|
+
const headers = sharedHeaders("CopyImage");
|
|
65
47
|
let body;
|
|
66
|
-
body = JSON.stringify(
|
|
48
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
67
49
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
68
50
|
};
|
|
69
51
|
exports.se_CopyImageCommand = se_CopyImageCommand;
|
|
70
52
|
const se_CreateAppBlockCommand = async (input, context) => {
|
|
71
|
-
const headers =
|
|
72
|
-
"content-type": "application/x-amz-json-1.1",
|
|
73
|
-
"x-amz-target": "PhotonAdminProxyService.CreateAppBlock",
|
|
74
|
-
};
|
|
53
|
+
const headers = sharedHeaders("CreateAppBlock");
|
|
75
54
|
let body;
|
|
76
|
-
body = JSON.stringify(
|
|
55
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
77
56
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
78
57
|
};
|
|
79
58
|
exports.se_CreateAppBlockCommand = se_CreateAppBlockCommand;
|
|
80
59
|
const se_CreateApplicationCommand = async (input, context) => {
|
|
81
|
-
const headers =
|
|
82
|
-
"content-type": "application/x-amz-json-1.1",
|
|
83
|
-
"x-amz-target": "PhotonAdminProxyService.CreateApplication",
|
|
84
|
-
};
|
|
60
|
+
const headers = sharedHeaders("CreateApplication");
|
|
85
61
|
let body;
|
|
86
|
-
body = JSON.stringify(
|
|
62
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
87
63
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
88
64
|
};
|
|
89
65
|
exports.se_CreateApplicationCommand = se_CreateApplicationCommand;
|
|
90
66
|
const se_CreateDirectoryConfigCommand = async (input, context) => {
|
|
91
|
-
const headers =
|
|
92
|
-
"content-type": "application/x-amz-json-1.1",
|
|
93
|
-
"x-amz-target": "PhotonAdminProxyService.CreateDirectoryConfig",
|
|
94
|
-
};
|
|
67
|
+
const headers = sharedHeaders("CreateDirectoryConfig");
|
|
95
68
|
let body;
|
|
96
|
-
body = JSON.stringify(
|
|
69
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
97
70
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
98
71
|
};
|
|
99
72
|
exports.se_CreateDirectoryConfigCommand = se_CreateDirectoryConfigCommand;
|
|
100
73
|
const se_CreateEntitlementCommand = async (input, context) => {
|
|
101
|
-
const headers =
|
|
102
|
-
"content-type": "application/x-amz-json-1.1",
|
|
103
|
-
"x-amz-target": "PhotonAdminProxyService.CreateEntitlement",
|
|
104
|
-
};
|
|
74
|
+
const headers = sharedHeaders("CreateEntitlement");
|
|
105
75
|
let body;
|
|
106
|
-
body = JSON.stringify(
|
|
76
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
107
77
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
108
78
|
};
|
|
109
79
|
exports.se_CreateEntitlementCommand = se_CreateEntitlementCommand;
|
|
110
80
|
const se_CreateFleetCommand = async (input, context) => {
|
|
111
|
-
const headers =
|
|
112
|
-
"content-type": "application/x-amz-json-1.1",
|
|
113
|
-
"x-amz-target": "PhotonAdminProxyService.CreateFleet",
|
|
114
|
-
};
|
|
81
|
+
const headers = sharedHeaders("CreateFleet");
|
|
115
82
|
let body;
|
|
116
|
-
body = JSON.stringify(
|
|
83
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
117
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
85
|
};
|
|
119
86
|
exports.se_CreateFleetCommand = se_CreateFleetCommand;
|
|
120
87
|
const se_CreateImageBuilderCommand = async (input, context) => {
|
|
121
|
-
const headers =
|
|
122
|
-
"content-type": "application/x-amz-json-1.1",
|
|
123
|
-
"x-amz-target": "PhotonAdminProxyService.CreateImageBuilder",
|
|
124
|
-
};
|
|
88
|
+
const headers = sharedHeaders("CreateImageBuilder");
|
|
125
89
|
let body;
|
|
126
|
-
body = JSON.stringify(
|
|
90
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
127
91
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
128
92
|
};
|
|
129
93
|
exports.se_CreateImageBuilderCommand = se_CreateImageBuilderCommand;
|
|
130
94
|
const se_CreateImageBuilderStreamingURLCommand = async (input, context) => {
|
|
131
|
-
const headers =
|
|
132
|
-
"content-type": "application/x-amz-json-1.1",
|
|
133
|
-
"x-amz-target": "PhotonAdminProxyService.CreateImageBuilderStreamingURL",
|
|
134
|
-
};
|
|
95
|
+
const headers = sharedHeaders("CreateImageBuilderStreamingURL");
|
|
135
96
|
let body;
|
|
136
|
-
body = JSON.stringify(
|
|
97
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
137
98
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
138
99
|
};
|
|
139
100
|
exports.se_CreateImageBuilderStreamingURLCommand = se_CreateImageBuilderStreamingURLCommand;
|
|
140
101
|
const se_CreateStackCommand = async (input, context) => {
|
|
141
|
-
const headers =
|
|
142
|
-
"content-type": "application/x-amz-json-1.1",
|
|
143
|
-
"x-amz-target": "PhotonAdminProxyService.CreateStack",
|
|
144
|
-
};
|
|
102
|
+
const headers = sharedHeaders("CreateStack");
|
|
145
103
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
147
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
106
|
};
|
|
149
107
|
exports.se_CreateStackCommand = se_CreateStackCommand;
|
|
150
108
|
const se_CreateStreamingURLCommand = async (input, context) => {
|
|
151
|
-
const headers =
|
|
152
|
-
"content-type": "application/x-amz-json-1.1",
|
|
153
|
-
"x-amz-target": "PhotonAdminProxyService.CreateStreamingURL",
|
|
154
|
-
};
|
|
109
|
+
const headers = sharedHeaders("CreateStreamingURL");
|
|
155
110
|
let body;
|
|
156
|
-
body = JSON.stringify(
|
|
111
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
157
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
158
113
|
};
|
|
159
114
|
exports.se_CreateStreamingURLCommand = se_CreateStreamingURLCommand;
|
|
160
115
|
const se_CreateUpdatedImageCommand = async (input, context) => {
|
|
161
|
-
const headers =
|
|
162
|
-
"content-type": "application/x-amz-json-1.1",
|
|
163
|
-
"x-amz-target": "PhotonAdminProxyService.CreateUpdatedImage",
|
|
164
|
-
};
|
|
116
|
+
const headers = sharedHeaders("CreateUpdatedImage");
|
|
165
117
|
let body;
|
|
166
|
-
body = JSON.stringify(
|
|
118
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
167
119
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
120
|
};
|
|
169
121
|
exports.se_CreateUpdatedImageCommand = se_CreateUpdatedImageCommand;
|
|
170
122
|
const se_CreateUsageReportSubscriptionCommand = async (input, context) => {
|
|
171
|
-
const headers =
|
|
172
|
-
"content-type": "application/x-amz-json-1.1",
|
|
173
|
-
"x-amz-target": "PhotonAdminProxyService.CreateUsageReportSubscription",
|
|
174
|
-
};
|
|
123
|
+
const headers = sharedHeaders("CreateUsageReportSubscription");
|
|
175
124
|
let body;
|
|
176
|
-
body = JSON.stringify(
|
|
125
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
177
126
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
178
127
|
};
|
|
179
128
|
exports.se_CreateUsageReportSubscriptionCommand = se_CreateUsageReportSubscriptionCommand;
|
|
180
129
|
const se_CreateUserCommand = async (input, context) => {
|
|
181
|
-
const headers =
|
|
182
|
-
"content-type": "application/x-amz-json-1.1",
|
|
183
|
-
"x-amz-target": "PhotonAdminProxyService.CreateUser",
|
|
184
|
-
};
|
|
130
|
+
const headers = sharedHeaders("CreateUser");
|
|
185
131
|
let body;
|
|
186
|
-
body = JSON.stringify(
|
|
132
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
187
133
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
188
134
|
};
|
|
189
135
|
exports.se_CreateUserCommand = se_CreateUserCommand;
|
|
190
136
|
const se_DeleteAppBlockCommand = async (input, context) => {
|
|
191
|
-
const headers =
|
|
192
|
-
"content-type": "application/x-amz-json-1.1",
|
|
193
|
-
"x-amz-target": "PhotonAdminProxyService.DeleteAppBlock",
|
|
194
|
-
};
|
|
137
|
+
const headers = sharedHeaders("DeleteAppBlock");
|
|
195
138
|
let body;
|
|
196
|
-
body = JSON.stringify(
|
|
139
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
197
140
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
198
141
|
};
|
|
199
142
|
exports.se_DeleteAppBlockCommand = se_DeleteAppBlockCommand;
|
|
200
143
|
const se_DeleteApplicationCommand = async (input, context) => {
|
|
201
|
-
const headers =
|
|
202
|
-
"content-type": "application/x-amz-json-1.1",
|
|
203
|
-
"x-amz-target": "PhotonAdminProxyService.DeleteApplication",
|
|
204
|
-
};
|
|
144
|
+
const headers = sharedHeaders("DeleteApplication");
|
|
205
145
|
let body;
|
|
206
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
207
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
208
148
|
};
|
|
209
149
|
exports.se_DeleteApplicationCommand = se_DeleteApplicationCommand;
|
|
210
150
|
const se_DeleteDirectoryConfigCommand = async (input, context) => {
|
|
211
|
-
const headers =
|
|
212
|
-
"content-type": "application/x-amz-json-1.1",
|
|
213
|
-
"x-amz-target": "PhotonAdminProxyService.DeleteDirectoryConfig",
|
|
214
|
-
};
|
|
151
|
+
const headers = sharedHeaders("DeleteDirectoryConfig");
|
|
215
152
|
let body;
|
|
216
|
-
body = JSON.stringify(
|
|
153
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
217
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
218
155
|
};
|
|
219
156
|
exports.se_DeleteDirectoryConfigCommand = se_DeleteDirectoryConfigCommand;
|
|
220
157
|
const se_DeleteEntitlementCommand = async (input, context) => {
|
|
221
|
-
const headers =
|
|
222
|
-
"content-type": "application/x-amz-json-1.1",
|
|
223
|
-
"x-amz-target": "PhotonAdminProxyService.DeleteEntitlement",
|
|
224
|
-
};
|
|
158
|
+
const headers = sharedHeaders("DeleteEntitlement");
|
|
225
159
|
let body;
|
|
226
|
-
body = JSON.stringify(
|
|
160
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
227
161
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
228
162
|
};
|
|
229
163
|
exports.se_DeleteEntitlementCommand = se_DeleteEntitlementCommand;
|
|
230
164
|
const se_DeleteFleetCommand = async (input, context) => {
|
|
231
|
-
const headers =
|
|
232
|
-
"content-type": "application/x-amz-json-1.1",
|
|
233
|
-
"x-amz-target": "PhotonAdminProxyService.DeleteFleet",
|
|
234
|
-
};
|
|
165
|
+
const headers = sharedHeaders("DeleteFleet");
|
|
235
166
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
167
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
237
168
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
169
|
};
|
|
239
170
|
exports.se_DeleteFleetCommand = se_DeleteFleetCommand;
|
|
240
171
|
const se_DeleteImageCommand = async (input, context) => {
|
|
241
|
-
const headers =
|
|
242
|
-
"content-type": "application/x-amz-json-1.1",
|
|
243
|
-
"x-amz-target": "PhotonAdminProxyService.DeleteImage",
|
|
244
|
-
};
|
|
172
|
+
const headers = sharedHeaders("DeleteImage");
|
|
245
173
|
let body;
|
|
246
|
-
body = JSON.stringify(
|
|
174
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
247
175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
248
176
|
};
|
|
249
177
|
exports.se_DeleteImageCommand = se_DeleteImageCommand;
|
|
250
178
|
const se_DeleteImageBuilderCommand = async (input, context) => {
|
|
251
|
-
const headers =
|
|
252
|
-
"content-type": "application/x-amz-json-1.1",
|
|
253
|
-
"x-amz-target": "PhotonAdminProxyService.DeleteImageBuilder",
|
|
254
|
-
};
|
|
179
|
+
const headers = sharedHeaders("DeleteImageBuilder");
|
|
255
180
|
let body;
|
|
256
|
-
body = JSON.stringify(
|
|
181
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
257
182
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
258
183
|
};
|
|
259
184
|
exports.se_DeleteImageBuilderCommand = se_DeleteImageBuilderCommand;
|
|
260
185
|
const se_DeleteImagePermissionsCommand = async (input, context) => {
|
|
261
|
-
const headers =
|
|
262
|
-
"content-type": "application/x-amz-json-1.1",
|
|
263
|
-
"x-amz-target": "PhotonAdminProxyService.DeleteImagePermissions",
|
|
264
|
-
};
|
|
186
|
+
const headers = sharedHeaders("DeleteImagePermissions");
|
|
265
187
|
let body;
|
|
266
|
-
body = JSON.stringify(
|
|
188
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
267
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
268
190
|
};
|
|
269
191
|
exports.se_DeleteImagePermissionsCommand = se_DeleteImagePermissionsCommand;
|
|
270
192
|
const se_DeleteStackCommand = async (input, context) => {
|
|
271
|
-
const headers =
|
|
272
|
-
"content-type": "application/x-amz-json-1.1",
|
|
273
|
-
"x-amz-target": "PhotonAdminProxyService.DeleteStack",
|
|
274
|
-
};
|
|
193
|
+
const headers = sharedHeaders("DeleteStack");
|
|
275
194
|
let body;
|
|
276
|
-
body = JSON.stringify(
|
|
195
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
277
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
278
197
|
};
|
|
279
198
|
exports.se_DeleteStackCommand = se_DeleteStackCommand;
|
|
280
199
|
const se_DeleteUsageReportSubscriptionCommand = async (input, context) => {
|
|
281
|
-
const headers =
|
|
282
|
-
"content-type": "application/x-amz-json-1.1",
|
|
283
|
-
"x-amz-target": "PhotonAdminProxyService.DeleteUsageReportSubscription",
|
|
284
|
-
};
|
|
200
|
+
const headers = sharedHeaders("DeleteUsageReportSubscription");
|
|
285
201
|
let body;
|
|
286
|
-
body = JSON.stringify(
|
|
202
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
287
203
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
288
204
|
};
|
|
289
205
|
exports.se_DeleteUsageReportSubscriptionCommand = se_DeleteUsageReportSubscriptionCommand;
|
|
290
206
|
const se_DeleteUserCommand = async (input, context) => {
|
|
291
|
-
const headers =
|
|
292
|
-
"content-type": "application/x-amz-json-1.1",
|
|
293
|
-
"x-amz-target": "PhotonAdminProxyService.DeleteUser",
|
|
294
|
-
};
|
|
207
|
+
const headers = sharedHeaders("DeleteUser");
|
|
295
208
|
let body;
|
|
296
|
-
body = JSON.stringify(
|
|
209
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
297
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
298
211
|
};
|
|
299
212
|
exports.se_DeleteUserCommand = se_DeleteUserCommand;
|
|
300
213
|
const se_DescribeAppBlocksCommand = async (input, context) => {
|
|
301
|
-
const headers =
|
|
302
|
-
"content-type": "application/x-amz-json-1.1",
|
|
303
|
-
"x-amz-target": "PhotonAdminProxyService.DescribeAppBlocks",
|
|
304
|
-
};
|
|
214
|
+
const headers = sharedHeaders("DescribeAppBlocks");
|
|
305
215
|
let body;
|
|
306
|
-
body = JSON.stringify(
|
|
216
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
307
217
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
308
218
|
};
|
|
309
219
|
exports.se_DescribeAppBlocksCommand = se_DescribeAppBlocksCommand;
|
|
310
220
|
const se_DescribeApplicationFleetAssociationsCommand = async (input, context) => {
|
|
311
|
-
const headers =
|
|
312
|
-
"content-type": "application/x-amz-json-1.1",
|
|
313
|
-
"x-amz-target": "PhotonAdminProxyService.DescribeApplicationFleetAssociations",
|
|
314
|
-
};
|
|
221
|
+
const headers = sharedHeaders("DescribeApplicationFleetAssociations");
|
|
315
222
|
let body;
|
|
316
|
-
body = JSON.stringify(
|
|
223
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
317
224
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
318
225
|
};
|
|
319
226
|
exports.se_DescribeApplicationFleetAssociationsCommand = se_DescribeApplicationFleetAssociationsCommand;
|
|
320
227
|
const se_DescribeApplicationsCommand = async (input, context) => {
|
|
321
|
-
const headers =
|
|
322
|
-
"content-type": "application/x-amz-json-1.1",
|
|
323
|
-
"x-amz-target": "PhotonAdminProxyService.DescribeApplications",
|
|
324
|
-
};
|
|
228
|
+
const headers = sharedHeaders("DescribeApplications");
|
|
325
229
|
let body;
|
|
326
|
-
body = JSON.stringify(
|
|
230
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
327
231
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
328
232
|
};
|
|
329
233
|
exports.se_DescribeApplicationsCommand = se_DescribeApplicationsCommand;
|
|
330
234
|
const se_DescribeDirectoryConfigsCommand = async (input, context) => {
|
|
331
|
-
const headers =
|
|
332
|
-
"content-type": "application/x-amz-json-1.1",
|
|
333
|
-
"x-amz-target": "PhotonAdminProxyService.DescribeDirectoryConfigs",
|
|
334
|
-
};
|
|
235
|
+
const headers = sharedHeaders("DescribeDirectoryConfigs");
|
|
335
236
|
let body;
|
|
336
|
-
body = JSON.stringify(
|
|
237
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
337
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
338
239
|
};
|
|
339
240
|
exports.se_DescribeDirectoryConfigsCommand = se_DescribeDirectoryConfigsCommand;
|
|
340
241
|
const se_DescribeEntitlementsCommand = async (input, context) => {
|
|
341
|
-
const headers =
|
|
342
|
-
"content-type": "application/x-amz-json-1.1",
|
|
343
|
-
"x-amz-target": "PhotonAdminProxyService.DescribeEntitlements",
|
|
344
|
-
};
|
|
242
|
+
const headers = sharedHeaders("DescribeEntitlements");
|
|
345
243
|
let body;
|
|
346
|
-
body = JSON.stringify(
|
|
244
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
347
245
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
348
246
|
};
|
|
349
247
|
exports.se_DescribeEntitlementsCommand = se_DescribeEntitlementsCommand;
|
|
350
248
|
const se_DescribeFleetsCommand = async (input, context) => {
|
|
351
|
-
const headers =
|
|
352
|
-
"content-type": "application/x-amz-json-1.1",
|
|
353
|
-
"x-amz-target": "PhotonAdminProxyService.DescribeFleets",
|
|
354
|
-
};
|
|
249
|
+
const headers = sharedHeaders("DescribeFleets");
|
|
355
250
|
let body;
|
|
356
|
-
body = JSON.stringify(
|
|
251
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
357
252
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
358
253
|
};
|
|
359
254
|
exports.se_DescribeFleetsCommand = se_DescribeFleetsCommand;
|
|
360
255
|
const se_DescribeImageBuildersCommand = async (input, context) => {
|
|
361
|
-
const headers =
|
|
362
|
-
"content-type": "application/x-amz-json-1.1",
|
|
363
|
-
"x-amz-target": "PhotonAdminProxyService.DescribeImageBuilders",
|
|
364
|
-
};
|
|
256
|
+
const headers = sharedHeaders("DescribeImageBuilders");
|
|
365
257
|
let body;
|
|
366
|
-
body = JSON.stringify(
|
|
258
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
367
259
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
368
260
|
};
|
|
369
261
|
exports.se_DescribeImageBuildersCommand = se_DescribeImageBuildersCommand;
|
|
370
262
|
const se_DescribeImagePermissionsCommand = async (input, context) => {
|
|
371
|
-
const headers =
|
|
372
|
-
"content-type": "application/x-amz-json-1.1",
|
|
373
|
-
"x-amz-target": "PhotonAdminProxyService.DescribeImagePermissions",
|
|
374
|
-
};
|
|
263
|
+
const headers = sharedHeaders("DescribeImagePermissions");
|
|
375
264
|
let body;
|
|
376
|
-
body = JSON.stringify(
|
|
265
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
377
266
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
378
267
|
};
|
|
379
268
|
exports.se_DescribeImagePermissionsCommand = se_DescribeImagePermissionsCommand;
|
|
380
269
|
const se_DescribeImagesCommand = async (input, context) => {
|
|
381
|
-
const headers =
|
|
382
|
-
"content-type": "application/x-amz-json-1.1",
|
|
383
|
-
"x-amz-target": "PhotonAdminProxyService.DescribeImages",
|
|
384
|
-
};
|
|
270
|
+
const headers = sharedHeaders("DescribeImages");
|
|
385
271
|
let body;
|
|
386
|
-
body = JSON.stringify(
|
|
272
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
387
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
388
274
|
};
|
|
389
275
|
exports.se_DescribeImagesCommand = se_DescribeImagesCommand;
|
|
390
276
|
const se_DescribeSessionsCommand = async (input, context) => {
|
|
391
|
-
const headers =
|
|
392
|
-
"content-type": "application/x-amz-json-1.1",
|
|
393
|
-
"x-amz-target": "PhotonAdminProxyService.DescribeSessions",
|
|
394
|
-
};
|
|
277
|
+
const headers = sharedHeaders("DescribeSessions");
|
|
395
278
|
let body;
|
|
396
|
-
body = JSON.stringify(
|
|
279
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
397
280
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
398
281
|
};
|
|
399
282
|
exports.se_DescribeSessionsCommand = se_DescribeSessionsCommand;
|
|
400
283
|
const se_DescribeStacksCommand = async (input, context) => {
|
|
401
|
-
const headers =
|
|
402
|
-
"content-type": "application/x-amz-json-1.1",
|
|
403
|
-
"x-amz-target": "PhotonAdminProxyService.DescribeStacks",
|
|
404
|
-
};
|
|
284
|
+
const headers = sharedHeaders("DescribeStacks");
|
|
405
285
|
let body;
|
|
406
|
-
body = JSON.stringify(
|
|
286
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
407
287
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
408
288
|
};
|
|
409
289
|
exports.se_DescribeStacksCommand = se_DescribeStacksCommand;
|
|
410
290
|
const se_DescribeUsageReportSubscriptionsCommand = async (input, context) => {
|
|
411
|
-
const headers =
|
|
412
|
-
"content-type": "application/x-amz-json-1.1",
|
|
413
|
-
"x-amz-target": "PhotonAdminProxyService.DescribeUsageReportSubscriptions",
|
|
414
|
-
};
|
|
291
|
+
const headers = sharedHeaders("DescribeUsageReportSubscriptions");
|
|
415
292
|
let body;
|
|
416
|
-
body = JSON.stringify(
|
|
293
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
417
294
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
418
295
|
};
|
|
419
296
|
exports.se_DescribeUsageReportSubscriptionsCommand = se_DescribeUsageReportSubscriptionsCommand;
|
|
420
297
|
const se_DescribeUsersCommand = async (input, context) => {
|
|
421
|
-
const headers =
|
|
422
|
-
"content-type": "application/x-amz-json-1.1",
|
|
423
|
-
"x-amz-target": "PhotonAdminProxyService.DescribeUsers",
|
|
424
|
-
};
|
|
298
|
+
const headers = sharedHeaders("DescribeUsers");
|
|
425
299
|
let body;
|
|
426
|
-
body = JSON.stringify(
|
|
300
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
427
301
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
428
302
|
};
|
|
429
303
|
exports.se_DescribeUsersCommand = se_DescribeUsersCommand;
|
|
430
304
|
const se_DescribeUserStackAssociationsCommand = async (input, context) => {
|
|
431
|
-
const headers =
|
|
432
|
-
"content-type": "application/x-amz-json-1.1",
|
|
433
|
-
"x-amz-target": "PhotonAdminProxyService.DescribeUserStackAssociations",
|
|
434
|
-
};
|
|
305
|
+
const headers = sharedHeaders("DescribeUserStackAssociations");
|
|
435
306
|
let body;
|
|
436
|
-
body = JSON.stringify(
|
|
307
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
437
308
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
438
309
|
};
|
|
439
310
|
exports.se_DescribeUserStackAssociationsCommand = se_DescribeUserStackAssociationsCommand;
|
|
440
311
|
const se_DisableUserCommand = async (input, context) => {
|
|
441
|
-
const headers =
|
|
442
|
-
"content-type": "application/x-amz-json-1.1",
|
|
443
|
-
"x-amz-target": "PhotonAdminProxyService.DisableUser",
|
|
444
|
-
};
|
|
312
|
+
const headers = sharedHeaders("DisableUser");
|
|
445
313
|
let body;
|
|
446
|
-
body = JSON.stringify(
|
|
314
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
447
315
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
448
316
|
};
|
|
449
317
|
exports.se_DisableUserCommand = se_DisableUserCommand;
|
|
450
318
|
const se_DisassociateApplicationFleetCommand = async (input, context) => {
|
|
451
|
-
const headers =
|
|
452
|
-
"content-type": "application/x-amz-json-1.1",
|
|
453
|
-
"x-amz-target": "PhotonAdminProxyService.DisassociateApplicationFleet",
|
|
454
|
-
};
|
|
319
|
+
const headers = sharedHeaders("DisassociateApplicationFleet");
|
|
455
320
|
let body;
|
|
456
|
-
body = JSON.stringify(
|
|
321
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
457
322
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
458
323
|
};
|
|
459
324
|
exports.se_DisassociateApplicationFleetCommand = se_DisassociateApplicationFleetCommand;
|
|
460
325
|
const se_DisassociateApplicationFromEntitlementCommand = async (input, context) => {
|
|
461
|
-
const headers =
|
|
462
|
-
"content-type": "application/x-amz-json-1.1",
|
|
463
|
-
"x-amz-target": "PhotonAdminProxyService.DisassociateApplicationFromEntitlement",
|
|
464
|
-
};
|
|
326
|
+
const headers = sharedHeaders("DisassociateApplicationFromEntitlement");
|
|
465
327
|
let body;
|
|
466
|
-
body = JSON.stringify(
|
|
328
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
467
329
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
468
330
|
};
|
|
469
331
|
exports.se_DisassociateApplicationFromEntitlementCommand = se_DisassociateApplicationFromEntitlementCommand;
|
|
470
332
|
const se_DisassociateFleetCommand = async (input, context) => {
|
|
471
|
-
const headers =
|
|
472
|
-
"content-type": "application/x-amz-json-1.1",
|
|
473
|
-
"x-amz-target": "PhotonAdminProxyService.DisassociateFleet",
|
|
474
|
-
};
|
|
333
|
+
const headers = sharedHeaders("DisassociateFleet");
|
|
475
334
|
let body;
|
|
476
|
-
body = JSON.stringify(
|
|
335
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
477
336
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
478
337
|
};
|
|
479
338
|
exports.se_DisassociateFleetCommand = se_DisassociateFleetCommand;
|
|
480
339
|
const se_EnableUserCommand = async (input, context) => {
|
|
481
|
-
const headers =
|
|
482
|
-
"content-type": "application/x-amz-json-1.1",
|
|
483
|
-
"x-amz-target": "PhotonAdminProxyService.EnableUser",
|
|
484
|
-
};
|
|
340
|
+
const headers = sharedHeaders("EnableUser");
|
|
485
341
|
let body;
|
|
486
|
-
body = JSON.stringify(
|
|
342
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
487
343
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
488
344
|
};
|
|
489
345
|
exports.se_EnableUserCommand = se_EnableUserCommand;
|
|
490
346
|
const se_ExpireSessionCommand = async (input, context) => {
|
|
491
|
-
const headers =
|
|
492
|
-
"content-type": "application/x-amz-json-1.1",
|
|
493
|
-
"x-amz-target": "PhotonAdminProxyService.ExpireSession",
|
|
494
|
-
};
|
|
347
|
+
const headers = sharedHeaders("ExpireSession");
|
|
495
348
|
let body;
|
|
496
|
-
body = JSON.stringify(
|
|
349
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
497
350
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
498
351
|
};
|
|
499
352
|
exports.se_ExpireSessionCommand = se_ExpireSessionCommand;
|
|
500
353
|
const se_ListAssociatedFleetsCommand = async (input, context) => {
|
|
501
|
-
const headers =
|
|
502
|
-
"content-type": "application/x-amz-json-1.1",
|
|
503
|
-
"x-amz-target": "PhotonAdminProxyService.ListAssociatedFleets",
|
|
504
|
-
};
|
|
354
|
+
const headers = sharedHeaders("ListAssociatedFleets");
|
|
505
355
|
let body;
|
|
506
|
-
body = JSON.stringify(
|
|
356
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
507
357
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
508
358
|
};
|
|
509
359
|
exports.se_ListAssociatedFleetsCommand = se_ListAssociatedFleetsCommand;
|
|
510
360
|
const se_ListAssociatedStacksCommand = async (input, context) => {
|
|
511
|
-
const headers =
|
|
512
|
-
"content-type": "application/x-amz-json-1.1",
|
|
513
|
-
"x-amz-target": "PhotonAdminProxyService.ListAssociatedStacks",
|
|
514
|
-
};
|
|
361
|
+
const headers = sharedHeaders("ListAssociatedStacks");
|
|
515
362
|
let body;
|
|
516
|
-
body = JSON.stringify(
|
|
363
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
517
364
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
518
365
|
};
|
|
519
366
|
exports.se_ListAssociatedStacksCommand = se_ListAssociatedStacksCommand;
|
|
520
367
|
const se_ListEntitledApplicationsCommand = async (input, context) => {
|
|
521
|
-
const headers =
|
|
522
|
-
"content-type": "application/x-amz-json-1.1",
|
|
523
|
-
"x-amz-target": "PhotonAdminProxyService.ListEntitledApplications",
|
|
524
|
-
};
|
|
368
|
+
const headers = sharedHeaders("ListEntitledApplications");
|
|
525
369
|
let body;
|
|
526
|
-
body = JSON.stringify(
|
|
370
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
527
371
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
528
372
|
};
|
|
529
373
|
exports.se_ListEntitledApplicationsCommand = se_ListEntitledApplicationsCommand;
|
|
530
374
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
531
|
-
const headers =
|
|
532
|
-
"content-type": "application/x-amz-json-1.1",
|
|
533
|
-
"x-amz-target": "PhotonAdminProxyService.ListTagsForResource",
|
|
534
|
-
};
|
|
375
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
535
376
|
let body;
|
|
536
|
-
body = JSON.stringify(
|
|
377
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
537
378
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
538
379
|
};
|
|
539
380
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
540
381
|
const se_StartFleetCommand = async (input, context) => {
|
|
541
|
-
const headers =
|
|
542
|
-
"content-type": "application/x-amz-json-1.1",
|
|
543
|
-
"x-amz-target": "PhotonAdminProxyService.StartFleet",
|
|
544
|
-
};
|
|
382
|
+
const headers = sharedHeaders("StartFleet");
|
|
545
383
|
let body;
|
|
546
|
-
body = JSON.stringify(
|
|
384
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
547
385
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
548
386
|
};
|
|
549
387
|
exports.se_StartFleetCommand = se_StartFleetCommand;
|
|
550
388
|
const se_StartImageBuilderCommand = async (input, context) => {
|
|
551
|
-
const headers =
|
|
552
|
-
"content-type": "application/x-amz-json-1.1",
|
|
553
|
-
"x-amz-target": "PhotonAdminProxyService.StartImageBuilder",
|
|
554
|
-
};
|
|
389
|
+
const headers = sharedHeaders("StartImageBuilder");
|
|
555
390
|
let body;
|
|
556
|
-
body = JSON.stringify(
|
|
391
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
557
392
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
558
393
|
};
|
|
559
394
|
exports.se_StartImageBuilderCommand = se_StartImageBuilderCommand;
|
|
560
395
|
const se_StopFleetCommand = async (input, context) => {
|
|
561
|
-
const headers =
|
|
562
|
-
"content-type": "application/x-amz-json-1.1",
|
|
563
|
-
"x-amz-target": "PhotonAdminProxyService.StopFleet",
|
|
564
|
-
};
|
|
396
|
+
const headers = sharedHeaders("StopFleet");
|
|
565
397
|
let body;
|
|
566
|
-
body = JSON.stringify(
|
|
398
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
567
399
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
568
400
|
};
|
|
569
401
|
exports.se_StopFleetCommand = se_StopFleetCommand;
|
|
570
402
|
const se_StopImageBuilderCommand = async (input, context) => {
|
|
571
|
-
const headers =
|
|
572
|
-
"content-type": "application/x-amz-json-1.1",
|
|
573
|
-
"x-amz-target": "PhotonAdminProxyService.StopImageBuilder",
|
|
574
|
-
};
|
|
403
|
+
const headers = sharedHeaders("StopImageBuilder");
|
|
575
404
|
let body;
|
|
576
|
-
body = JSON.stringify(
|
|
405
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
577
406
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
578
407
|
};
|
|
579
408
|
exports.se_StopImageBuilderCommand = se_StopImageBuilderCommand;
|
|
580
409
|
const se_TagResourceCommand = async (input, context) => {
|
|
581
|
-
const headers =
|
|
582
|
-
"content-type": "application/x-amz-json-1.1",
|
|
583
|
-
"x-amz-target": "PhotonAdminProxyService.TagResource",
|
|
584
|
-
};
|
|
410
|
+
const headers = sharedHeaders("TagResource");
|
|
585
411
|
let body;
|
|
586
|
-
body = JSON.stringify(
|
|
412
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
587
413
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
588
414
|
};
|
|
589
415
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
590
416
|
const se_UntagResourceCommand = async (input, context) => {
|
|
591
|
-
const headers =
|
|
592
|
-
"content-type": "application/x-amz-json-1.1",
|
|
593
|
-
"x-amz-target": "PhotonAdminProxyService.UntagResource",
|
|
594
|
-
};
|
|
417
|
+
const headers = sharedHeaders("UntagResource");
|
|
595
418
|
let body;
|
|
596
|
-
body = JSON.stringify(
|
|
419
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
597
420
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
598
421
|
};
|
|
599
422
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
600
423
|
const se_UpdateApplicationCommand = async (input, context) => {
|
|
601
|
-
const headers =
|
|
602
|
-
"content-type": "application/x-amz-json-1.1",
|
|
603
|
-
"x-amz-target": "PhotonAdminProxyService.UpdateApplication",
|
|
604
|
-
};
|
|
424
|
+
const headers = sharedHeaders("UpdateApplication");
|
|
605
425
|
let body;
|
|
606
|
-
body = JSON.stringify(
|
|
426
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
607
427
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
608
428
|
};
|
|
609
429
|
exports.se_UpdateApplicationCommand = se_UpdateApplicationCommand;
|
|
610
430
|
const se_UpdateDirectoryConfigCommand = async (input, context) => {
|
|
611
|
-
const headers =
|
|
612
|
-
"content-type": "application/x-amz-json-1.1",
|
|
613
|
-
"x-amz-target": "PhotonAdminProxyService.UpdateDirectoryConfig",
|
|
614
|
-
};
|
|
431
|
+
const headers = sharedHeaders("UpdateDirectoryConfig");
|
|
615
432
|
let body;
|
|
616
|
-
body = JSON.stringify(
|
|
433
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
617
434
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
618
435
|
};
|
|
619
436
|
exports.se_UpdateDirectoryConfigCommand = se_UpdateDirectoryConfigCommand;
|
|
620
437
|
const se_UpdateEntitlementCommand = async (input, context) => {
|
|
621
|
-
const headers =
|
|
622
|
-
"content-type": "application/x-amz-json-1.1",
|
|
623
|
-
"x-amz-target": "PhotonAdminProxyService.UpdateEntitlement",
|
|
624
|
-
};
|
|
438
|
+
const headers = sharedHeaders("UpdateEntitlement");
|
|
625
439
|
let body;
|
|
626
|
-
body = JSON.stringify(
|
|
440
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
627
441
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
628
442
|
};
|
|
629
443
|
exports.se_UpdateEntitlementCommand = se_UpdateEntitlementCommand;
|
|
630
444
|
const se_UpdateFleetCommand = async (input, context) => {
|
|
631
|
-
const headers =
|
|
632
|
-
"content-type": "application/x-amz-json-1.1",
|
|
633
|
-
"x-amz-target": "PhotonAdminProxyService.UpdateFleet",
|
|
634
|
-
};
|
|
445
|
+
const headers = sharedHeaders("UpdateFleet");
|
|
635
446
|
let body;
|
|
636
|
-
body = JSON.stringify(
|
|
447
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
637
448
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
638
449
|
};
|
|
639
450
|
exports.se_UpdateFleetCommand = se_UpdateFleetCommand;
|
|
640
451
|
const se_UpdateImagePermissionsCommand = async (input, context) => {
|
|
641
|
-
const headers =
|
|
642
|
-
"content-type": "application/x-amz-json-1.1",
|
|
643
|
-
"x-amz-target": "PhotonAdminProxyService.UpdateImagePermissions",
|
|
644
|
-
};
|
|
452
|
+
const headers = sharedHeaders("UpdateImagePermissions");
|
|
645
453
|
let body;
|
|
646
|
-
body = JSON.stringify(
|
|
454
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
647
455
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
648
456
|
};
|
|
649
457
|
exports.se_UpdateImagePermissionsCommand = se_UpdateImagePermissionsCommand;
|
|
650
458
|
const se_UpdateStackCommand = async (input, context) => {
|
|
651
|
-
const headers =
|
|
652
|
-
"content-type": "application/x-amz-json-1.1",
|
|
653
|
-
"x-amz-target": "PhotonAdminProxyService.UpdateStack",
|
|
654
|
-
};
|
|
459
|
+
const headers = sharedHeaders("UpdateStack");
|
|
655
460
|
let body;
|
|
656
|
-
body = JSON.stringify(
|
|
461
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
657
462
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
658
463
|
};
|
|
659
464
|
exports.se_UpdateStackCommand = se_UpdateStackCommand;
|
|
@@ -663,12 +468,12 @@ const de_AssociateApplicationFleetCommand = async (output, context) => {
|
|
|
663
468
|
}
|
|
664
469
|
const data = await parseBody(output.body, context);
|
|
665
470
|
let contents = {};
|
|
666
|
-
contents =
|
|
471
|
+
contents = (0, smithy_client_1._json)(data);
|
|
667
472
|
const response = {
|
|
668
473
|
$metadata: deserializeMetadata(output),
|
|
669
474
|
...contents,
|
|
670
475
|
};
|
|
671
|
-
return
|
|
476
|
+
return response;
|
|
672
477
|
};
|
|
673
478
|
exports.de_AssociateApplicationFleetCommand = de_AssociateApplicationFleetCommand;
|
|
674
479
|
const de_AssociateApplicationFleetCommandError = async (output, context) => {
|
|
@@ -695,10 +500,9 @@ const de_AssociateApplicationFleetCommandError = async (output, context) => {
|
|
|
695
500
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
696
501
|
default:
|
|
697
502
|
const parsedBody = parsedOutput.body;
|
|
698
|
-
|
|
503
|
+
return throwDefaultError({
|
|
699
504
|
output,
|
|
700
505
|
parsedBody,
|
|
701
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
702
506
|
errorCode,
|
|
703
507
|
});
|
|
704
508
|
}
|
|
@@ -709,12 +513,12 @@ const de_AssociateApplicationToEntitlementCommand = async (output, context) => {
|
|
|
709
513
|
}
|
|
710
514
|
const data = await parseBody(output.body, context);
|
|
711
515
|
let contents = {};
|
|
712
|
-
contents =
|
|
516
|
+
contents = (0, smithy_client_1._json)(data);
|
|
713
517
|
const response = {
|
|
714
518
|
$metadata: deserializeMetadata(output),
|
|
715
519
|
...contents,
|
|
716
520
|
};
|
|
717
|
-
return
|
|
521
|
+
return response;
|
|
718
522
|
};
|
|
719
523
|
exports.de_AssociateApplicationToEntitlementCommand = de_AssociateApplicationToEntitlementCommand;
|
|
720
524
|
const de_AssociateApplicationToEntitlementCommandError = async (output, context) => {
|
|
@@ -738,10 +542,9 @@ const de_AssociateApplicationToEntitlementCommandError = async (output, context)
|
|
|
738
542
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
739
543
|
default:
|
|
740
544
|
const parsedBody = parsedOutput.body;
|
|
741
|
-
|
|
545
|
+
return throwDefaultError({
|
|
742
546
|
output,
|
|
743
547
|
parsedBody,
|
|
744
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
745
548
|
errorCode,
|
|
746
549
|
});
|
|
747
550
|
}
|
|
@@ -752,12 +555,12 @@ const de_AssociateFleetCommand = async (output, context) => {
|
|
|
752
555
|
}
|
|
753
556
|
const data = await parseBody(output.body, context);
|
|
754
557
|
let contents = {};
|
|
755
|
-
contents =
|
|
558
|
+
contents = (0, smithy_client_1._json)(data);
|
|
756
559
|
const response = {
|
|
757
560
|
$metadata: deserializeMetadata(output),
|
|
758
561
|
...contents,
|
|
759
562
|
};
|
|
760
|
-
return
|
|
563
|
+
return response;
|
|
761
564
|
};
|
|
762
565
|
exports.de_AssociateFleetCommand = de_AssociateFleetCommand;
|
|
763
566
|
const de_AssociateFleetCommandError = async (output, context) => {
|
|
@@ -787,10 +590,9 @@ const de_AssociateFleetCommandError = async (output, context) => {
|
|
|
787
590
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
788
591
|
default:
|
|
789
592
|
const parsedBody = parsedOutput.body;
|
|
790
|
-
|
|
593
|
+
return throwDefaultError({
|
|
791
594
|
output,
|
|
792
595
|
parsedBody,
|
|
793
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
794
596
|
errorCode,
|
|
795
597
|
});
|
|
796
598
|
}
|
|
@@ -801,12 +603,12 @@ const de_BatchAssociateUserStackCommand = async (output, context) => {
|
|
|
801
603
|
}
|
|
802
604
|
const data = await parseBody(output.body, context);
|
|
803
605
|
let contents = {};
|
|
804
|
-
contents =
|
|
606
|
+
contents = (0, smithy_client_1._json)(data);
|
|
805
607
|
const response = {
|
|
806
608
|
$metadata: deserializeMetadata(output),
|
|
807
609
|
...contents,
|
|
808
610
|
};
|
|
809
|
-
return
|
|
611
|
+
return response;
|
|
810
612
|
};
|
|
811
613
|
exports.de_BatchAssociateUserStackCommand = de_BatchAssociateUserStackCommand;
|
|
812
614
|
const de_BatchAssociateUserStackCommandError = async (output, context) => {
|
|
@@ -824,10 +626,9 @@ const de_BatchAssociateUserStackCommandError = async (output, context) => {
|
|
|
824
626
|
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
825
627
|
default:
|
|
826
628
|
const parsedBody = parsedOutput.body;
|
|
827
|
-
|
|
629
|
+
return throwDefaultError({
|
|
828
630
|
output,
|
|
829
631
|
parsedBody,
|
|
830
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
831
632
|
errorCode,
|
|
832
633
|
});
|
|
833
634
|
}
|
|
@@ -838,12 +639,12 @@ const de_BatchDisassociateUserStackCommand = async (output, context) => {
|
|
|
838
639
|
}
|
|
839
640
|
const data = await parseBody(output.body, context);
|
|
840
641
|
let contents = {};
|
|
841
|
-
contents =
|
|
642
|
+
contents = (0, smithy_client_1._json)(data);
|
|
842
643
|
const response = {
|
|
843
644
|
$metadata: deserializeMetadata(output),
|
|
844
645
|
...contents,
|
|
845
646
|
};
|
|
846
|
-
return
|
|
647
|
+
return response;
|
|
847
648
|
};
|
|
848
649
|
exports.de_BatchDisassociateUserStackCommand = de_BatchDisassociateUserStackCommand;
|
|
849
650
|
const de_BatchDisassociateUserStackCommandError = async (output, context) => {
|
|
@@ -861,10 +662,9 @@ const de_BatchDisassociateUserStackCommandError = async (output, context) => {
|
|
|
861
662
|
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
862
663
|
default:
|
|
863
664
|
const parsedBody = parsedOutput.body;
|
|
864
|
-
|
|
665
|
+
return throwDefaultError({
|
|
865
666
|
output,
|
|
866
667
|
parsedBody,
|
|
867
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
868
668
|
errorCode,
|
|
869
669
|
});
|
|
870
670
|
}
|
|
@@ -875,12 +675,12 @@ const de_CopyImageCommand = async (output, context) => {
|
|
|
875
675
|
}
|
|
876
676
|
const data = await parseBody(output.body, context);
|
|
877
677
|
let contents = {};
|
|
878
|
-
contents =
|
|
678
|
+
contents = (0, smithy_client_1._json)(data);
|
|
879
679
|
const response = {
|
|
880
680
|
$metadata: deserializeMetadata(output),
|
|
881
681
|
...contents,
|
|
882
682
|
};
|
|
883
|
-
return
|
|
683
|
+
return response;
|
|
884
684
|
};
|
|
885
685
|
exports.de_CopyImageCommand = de_CopyImageCommand;
|
|
886
686
|
const de_CopyImageCommandError = async (output, context) => {
|
|
@@ -910,10 +710,9 @@ const de_CopyImageCommandError = async (output, context) => {
|
|
|
910
710
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
911
711
|
default:
|
|
912
712
|
const parsedBody = parsedOutput.body;
|
|
913
|
-
|
|
713
|
+
return throwDefaultError({
|
|
914
714
|
output,
|
|
915
715
|
parsedBody,
|
|
916
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
917
716
|
errorCode,
|
|
918
717
|
});
|
|
919
718
|
}
|
|
@@ -929,7 +728,7 @@ const de_CreateAppBlockCommand = async (output, context) => {
|
|
|
929
728
|
$metadata: deserializeMetadata(output),
|
|
930
729
|
...contents,
|
|
931
730
|
};
|
|
932
|
-
return
|
|
731
|
+
return response;
|
|
933
732
|
};
|
|
934
733
|
exports.de_CreateAppBlockCommand = de_CreateAppBlockCommand;
|
|
935
734
|
const de_CreateAppBlockCommandError = async (output, context) => {
|
|
@@ -953,10 +752,9 @@ const de_CreateAppBlockCommandError = async (output, context) => {
|
|
|
953
752
|
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
954
753
|
default:
|
|
955
754
|
const parsedBody = parsedOutput.body;
|
|
956
|
-
|
|
755
|
+
return throwDefaultError({
|
|
957
756
|
output,
|
|
958
757
|
parsedBody,
|
|
959
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
960
758
|
errorCode,
|
|
961
759
|
});
|
|
962
760
|
}
|
|
@@ -972,7 +770,7 @@ const de_CreateApplicationCommand = async (output, context) => {
|
|
|
972
770
|
$metadata: deserializeMetadata(output),
|
|
973
771
|
...contents,
|
|
974
772
|
};
|
|
975
|
-
return
|
|
773
|
+
return response;
|
|
976
774
|
};
|
|
977
775
|
exports.de_CreateApplicationCommand = de_CreateApplicationCommand;
|
|
978
776
|
const de_CreateApplicationCommandError = async (output, context) => {
|
|
@@ -999,10 +797,9 @@ const de_CreateApplicationCommandError = async (output, context) => {
|
|
|
999
797
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1000
798
|
default:
|
|
1001
799
|
const parsedBody = parsedOutput.body;
|
|
1002
|
-
|
|
800
|
+
return throwDefaultError({
|
|
1003
801
|
output,
|
|
1004
802
|
parsedBody,
|
|
1005
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1006
803
|
errorCode,
|
|
1007
804
|
});
|
|
1008
805
|
}
|
|
@@ -1018,7 +815,7 @@ const de_CreateDirectoryConfigCommand = async (output, context) => {
|
|
|
1018
815
|
$metadata: deserializeMetadata(output),
|
|
1019
816
|
...contents,
|
|
1020
817
|
};
|
|
1021
|
-
return
|
|
818
|
+
return response;
|
|
1022
819
|
};
|
|
1023
820
|
exports.de_CreateDirectoryConfigCommand = de_CreateDirectoryConfigCommand;
|
|
1024
821
|
const de_CreateDirectoryConfigCommandError = async (output, context) => {
|
|
@@ -1048,10 +845,9 @@ const de_CreateDirectoryConfigCommandError = async (output, context) => {
|
|
|
1048
845
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1049
846
|
default:
|
|
1050
847
|
const parsedBody = parsedOutput.body;
|
|
1051
|
-
|
|
848
|
+
return throwDefaultError({
|
|
1052
849
|
output,
|
|
1053
850
|
parsedBody,
|
|
1054
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1055
851
|
errorCode,
|
|
1056
852
|
});
|
|
1057
853
|
}
|
|
@@ -1067,7 +863,7 @@ const de_CreateEntitlementCommand = async (output, context) => {
|
|
|
1067
863
|
$metadata: deserializeMetadata(output),
|
|
1068
864
|
...contents,
|
|
1069
865
|
};
|
|
1070
|
-
return
|
|
866
|
+
return response;
|
|
1071
867
|
};
|
|
1072
868
|
exports.de_CreateEntitlementCommand = de_CreateEntitlementCommand;
|
|
1073
869
|
const de_CreateEntitlementCommandError = async (output, context) => {
|
|
@@ -1091,10 +887,9 @@ const de_CreateEntitlementCommandError = async (output, context) => {
|
|
|
1091
887
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1092
888
|
default:
|
|
1093
889
|
const parsedBody = parsedOutput.body;
|
|
1094
|
-
|
|
890
|
+
return throwDefaultError({
|
|
1095
891
|
output,
|
|
1096
892
|
parsedBody,
|
|
1097
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1098
893
|
errorCode,
|
|
1099
894
|
});
|
|
1100
895
|
}
|
|
@@ -1110,7 +905,7 @@ const de_CreateFleetCommand = async (output, context) => {
|
|
|
1110
905
|
$metadata: deserializeMetadata(output),
|
|
1111
906
|
...contents,
|
|
1112
907
|
};
|
|
1113
|
-
return
|
|
908
|
+
return response;
|
|
1114
909
|
};
|
|
1115
910
|
exports.de_CreateFleetCommand = de_CreateFleetCommand;
|
|
1116
911
|
const de_CreateFleetCommandError = async (output, context) => {
|
|
@@ -1155,10 +950,9 @@ const de_CreateFleetCommandError = async (output, context) => {
|
|
|
1155
950
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1156
951
|
default:
|
|
1157
952
|
const parsedBody = parsedOutput.body;
|
|
1158
|
-
|
|
953
|
+
return throwDefaultError({
|
|
1159
954
|
output,
|
|
1160
955
|
parsedBody,
|
|
1161
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1162
956
|
errorCode,
|
|
1163
957
|
});
|
|
1164
958
|
}
|
|
@@ -1174,7 +968,7 @@ const de_CreateImageBuilderCommand = async (output, context) => {
|
|
|
1174
968
|
$metadata: deserializeMetadata(output),
|
|
1175
969
|
...contents,
|
|
1176
970
|
};
|
|
1177
|
-
return
|
|
971
|
+
return response;
|
|
1178
972
|
};
|
|
1179
973
|
exports.de_CreateImageBuilderCommand = de_CreateImageBuilderCommand;
|
|
1180
974
|
const de_CreateImageBuilderCommandError = async (output, context) => {
|
|
@@ -1219,10 +1013,9 @@ const de_CreateImageBuilderCommandError = async (output, context) => {
|
|
|
1219
1013
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1220
1014
|
default:
|
|
1221
1015
|
const parsedBody = parsedOutput.body;
|
|
1222
|
-
|
|
1016
|
+
return throwDefaultError({
|
|
1223
1017
|
output,
|
|
1224
1018
|
parsedBody,
|
|
1225
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1226
1019
|
errorCode,
|
|
1227
1020
|
});
|
|
1228
1021
|
}
|
|
@@ -1238,7 +1031,7 @@ const de_CreateImageBuilderStreamingURLCommand = async (output, context) => {
|
|
|
1238
1031
|
$metadata: deserializeMetadata(output),
|
|
1239
1032
|
...contents,
|
|
1240
1033
|
};
|
|
1241
|
-
return
|
|
1034
|
+
return response;
|
|
1242
1035
|
};
|
|
1243
1036
|
exports.de_CreateImageBuilderStreamingURLCommand = de_CreateImageBuilderStreamingURLCommand;
|
|
1244
1037
|
const de_CreateImageBuilderStreamingURLCommandError = async (output, context) => {
|
|
@@ -1256,10 +1049,9 @@ const de_CreateImageBuilderStreamingURLCommandError = async (output, context) =>
|
|
|
1256
1049
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1257
1050
|
default:
|
|
1258
1051
|
const parsedBody = parsedOutput.body;
|
|
1259
|
-
|
|
1052
|
+
return throwDefaultError({
|
|
1260
1053
|
output,
|
|
1261
1054
|
parsedBody,
|
|
1262
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1263
1055
|
errorCode,
|
|
1264
1056
|
});
|
|
1265
1057
|
}
|
|
@@ -1275,7 +1067,7 @@ const de_CreateStackCommand = async (output, context) => {
|
|
|
1275
1067
|
$metadata: deserializeMetadata(output),
|
|
1276
1068
|
...contents,
|
|
1277
1069
|
};
|
|
1278
|
-
return
|
|
1070
|
+
return response;
|
|
1279
1071
|
};
|
|
1280
1072
|
exports.de_CreateStackCommand = de_CreateStackCommand;
|
|
1281
1073
|
const de_CreateStackCommandError = async (output, context) => {
|
|
@@ -1308,10 +1100,9 @@ const de_CreateStackCommandError = async (output, context) => {
|
|
|
1308
1100
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1309
1101
|
default:
|
|
1310
1102
|
const parsedBody = parsedOutput.body;
|
|
1311
|
-
|
|
1103
|
+
return throwDefaultError({
|
|
1312
1104
|
output,
|
|
1313
1105
|
parsedBody,
|
|
1314
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1315
1106
|
errorCode,
|
|
1316
1107
|
});
|
|
1317
1108
|
}
|
|
@@ -1327,7 +1118,7 @@ const de_CreateStreamingURLCommand = async (output, context) => {
|
|
|
1327
1118
|
$metadata: deserializeMetadata(output),
|
|
1328
1119
|
...contents,
|
|
1329
1120
|
};
|
|
1330
|
-
return
|
|
1121
|
+
return response;
|
|
1331
1122
|
};
|
|
1332
1123
|
exports.de_CreateStreamingURLCommand = de_CreateStreamingURLCommand;
|
|
1333
1124
|
const de_CreateStreamingURLCommandError = async (output, context) => {
|
|
@@ -1351,10 +1142,9 @@ const de_CreateStreamingURLCommandError = async (output, context) => {
|
|
|
1351
1142
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1352
1143
|
default:
|
|
1353
1144
|
const parsedBody = parsedOutput.body;
|
|
1354
|
-
|
|
1145
|
+
return throwDefaultError({
|
|
1355
1146
|
output,
|
|
1356
1147
|
parsedBody,
|
|
1357
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1358
1148
|
errorCode,
|
|
1359
1149
|
});
|
|
1360
1150
|
}
|
|
@@ -1370,7 +1160,7 @@ const de_CreateUpdatedImageCommand = async (output, context) => {
|
|
|
1370
1160
|
$metadata: deserializeMetadata(output),
|
|
1371
1161
|
...contents,
|
|
1372
1162
|
};
|
|
1373
|
-
return
|
|
1163
|
+
return response;
|
|
1374
1164
|
};
|
|
1375
1165
|
exports.de_CreateUpdatedImageCommand = de_CreateUpdatedImageCommand;
|
|
1376
1166
|
const de_CreateUpdatedImageCommandError = async (output, context) => {
|
|
@@ -1403,10 +1193,9 @@ const de_CreateUpdatedImageCommandError = async (output, context) => {
|
|
|
1403
1193
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1404
1194
|
default:
|
|
1405
1195
|
const parsedBody = parsedOutput.body;
|
|
1406
|
-
|
|
1196
|
+
return throwDefaultError({
|
|
1407
1197
|
output,
|
|
1408
1198
|
parsedBody,
|
|
1409
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1410
1199
|
errorCode,
|
|
1411
1200
|
});
|
|
1412
1201
|
}
|
|
@@ -1417,12 +1206,12 @@ const de_CreateUsageReportSubscriptionCommand = async (output, context) => {
|
|
|
1417
1206
|
}
|
|
1418
1207
|
const data = await parseBody(output.body, context);
|
|
1419
1208
|
let contents = {};
|
|
1420
|
-
contents =
|
|
1209
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1421
1210
|
const response = {
|
|
1422
1211
|
$metadata: deserializeMetadata(output),
|
|
1423
1212
|
...contents,
|
|
1424
1213
|
};
|
|
1425
|
-
return
|
|
1214
|
+
return response;
|
|
1426
1215
|
};
|
|
1427
1216
|
exports.de_CreateUsageReportSubscriptionCommand = de_CreateUsageReportSubscriptionCommand;
|
|
1428
1217
|
const de_CreateUsageReportSubscriptionCommandError = async (output, context) => {
|
|
@@ -1443,10 +1232,9 @@ const de_CreateUsageReportSubscriptionCommandError = async (output, context) =>
|
|
|
1443
1232
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1444
1233
|
default:
|
|
1445
1234
|
const parsedBody = parsedOutput.body;
|
|
1446
|
-
|
|
1235
|
+
return throwDefaultError({
|
|
1447
1236
|
output,
|
|
1448
1237
|
parsedBody,
|
|
1449
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1450
1238
|
errorCode,
|
|
1451
1239
|
});
|
|
1452
1240
|
}
|
|
@@ -1457,12 +1245,12 @@ const de_CreateUserCommand = async (output, context) => {
|
|
|
1457
1245
|
}
|
|
1458
1246
|
const data = await parseBody(output.body, context);
|
|
1459
1247
|
let contents = {};
|
|
1460
|
-
contents =
|
|
1248
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1461
1249
|
const response = {
|
|
1462
1250
|
$metadata: deserializeMetadata(output),
|
|
1463
1251
|
...contents,
|
|
1464
1252
|
};
|
|
1465
|
-
return
|
|
1253
|
+
return response;
|
|
1466
1254
|
};
|
|
1467
1255
|
exports.de_CreateUserCommand = de_CreateUserCommand;
|
|
1468
1256
|
const de_CreateUserCommandError = async (output, context) => {
|
|
@@ -1489,10 +1277,9 @@ const de_CreateUserCommandError = async (output, context) => {
|
|
|
1489
1277
|
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1490
1278
|
default:
|
|
1491
1279
|
const parsedBody = parsedOutput.body;
|
|
1492
|
-
|
|
1280
|
+
return throwDefaultError({
|
|
1493
1281
|
output,
|
|
1494
1282
|
parsedBody,
|
|
1495
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1496
1283
|
errorCode,
|
|
1497
1284
|
});
|
|
1498
1285
|
}
|
|
@@ -1503,12 +1290,12 @@ const de_DeleteAppBlockCommand = async (output, context) => {
|
|
|
1503
1290
|
}
|
|
1504
1291
|
const data = await parseBody(output.body, context);
|
|
1505
1292
|
let contents = {};
|
|
1506
|
-
contents =
|
|
1293
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1507
1294
|
const response = {
|
|
1508
1295
|
$metadata: deserializeMetadata(output),
|
|
1509
1296
|
...contents,
|
|
1510
1297
|
};
|
|
1511
|
-
return
|
|
1298
|
+
return response;
|
|
1512
1299
|
};
|
|
1513
1300
|
exports.de_DeleteAppBlockCommand = de_DeleteAppBlockCommand;
|
|
1514
1301
|
const de_DeleteAppBlockCommandError = async (output, context) => {
|
|
@@ -1529,10 +1316,9 @@ const de_DeleteAppBlockCommandError = async (output, context) => {
|
|
|
1529
1316
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1530
1317
|
default:
|
|
1531
1318
|
const parsedBody = parsedOutput.body;
|
|
1532
|
-
|
|
1319
|
+
return throwDefaultError({
|
|
1533
1320
|
output,
|
|
1534
1321
|
parsedBody,
|
|
1535
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1536
1322
|
errorCode,
|
|
1537
1323
|
});
|
|
1538
1324
|
}
|
|
@@ -1543,12 +1329,12 @@ const de_DeleteApplicationCommand = async (output, context) => {
|
|
|
1543
1329
|
}
|
|
1544
1330
|
const data = await parseBody(output.body, context);
|
|
1545
1331
|
let contents = {};
|
|
1546
|
-
contents =
|
|
1332
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1547
1333
|
const response = {
|
|
1548
1334
|
$metadata: deserializeMetadata(output),
|
|
1549
1335
|
...contents,
|
|
1550
1336
|
};
|
|
1551
|
-
return
|
|
1337
|
+
return response;
|
|
1552
1338
|
};
|
|
1553
1339
|
exports.de_DeleteApplicationCommand = de_DeleteApplicationCommand;
|
|
1554
1340
|
const de_DeleteApplicationCommandError = async (output, context) => {
|
|
@@ -1572,10 +1358,9 @@ const de_DeleteApplicationCommandError = async (output, context) => {
|
|
|
1572
1358
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1573
1359
|
default:
|
|
1574
1360
|
const parsedBody = parsedOutput.body;
|
|
1575
|
-
|
|
1361
|
+
return throwDefaultError({
|
|
1576
1362
|
output,
|
|
1577
1363
|
parsedBody,
|
|
1578
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1579
1364
|
errorCode,
|
|
1580
1365
|
});
|
|
1581
1366
|
}
|
|
@@ -1586,12 +1371,12 @@ const de_DeleteDirectoryConfigCommand = async (output, context) => {
|
|
|
1586
1371
|
}
|
|
1587
1372
|
const data = await parseBody(output.body, context);
|
|
1588
1373
|
let contents = {};
|
|
1589
|
-
contents =
|
|
1374
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1590
1375
|
const response = {
|
|
1591
1376
|
$metadata: deserializeMetadata(output),
|
|
1592
1377
|
...contents,
|
|
1593
1378
|
};
|
|
1594
|
-
return
|
|
1379
|
+
return response;
|
|
1595
1380
|
};
|
|
1596
1381
|
exports.de_DeleteDirectoryConfigCommand = de_DeleteDirectoryConfigCommand;
|
|
1597
1382
|
const de_DeleteDirectoryConfigCommandError = async (output, context) => {
|
|
@@ -1609,10 +1394,9 @@ const de_DeleteDirectoryConfigCommandError = async (output, context) => {
|
|
|
1609
1394
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1610
1395
|
default:
|
|
1611
1396
|
const parsedBody = parsedOutput.body;
|
|
1612
|
-
|
|
1397
|
+
return throwDefaultError({
|
|
1613
1398
|
output,
|
|
1614
1399
|
parsedBody,
|
|
1615
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1616
1400
|
errorCode,
|
|
1617
1401
|
});
|
|
1618
1402
|
}
|
|
@@ -1623,12 +1407,12 @@ const de_DeleteEntitlementCommand = async (output, context) => {
|
|
|
1623
1407
|
}
|
|
1624
1408
|
const data = await parseBody(output.body, context);
|
|
1625
1409
|
let contents = {};
|
|
1626
|
-
contents =
|
|
1410
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1627
1411
|
const response = {
|
|
1628
1412
|
$metadata: deserializeMetadata(output),
|
|
1629
1413
|
...contents,
|
|
1630
1414
|
};
|
|
1631
|
-
return
|
|
1415
|
+
return response;
|
|
1632
1416
|
};
|
|
1633
1417
|
exports.de_DeleteEntitlementCommand = de_DeleteEntitlementCommand;
|
|
1634
1418
|
const de_DeleteEntitlementCommandError = async (output, context) => {
|
|
@@ -1652,10 +1436,9 @@ const de_DeleteEntitlementCommandError = async (output, context) => {
|
|
|
1652
1436
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1653
1437
|
default:
|
|
1654
1438
|
const parsedBody = parsedOutput.body;
|
|
1655
|
-
|
|
1439
|
+
return throwDefaultError({
|
|
1656
1440
|
output,
|
|
1657
1441
|
parsedBody,
|
|
1658
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1659
1442
|
errorCode,
|
|
1660
1443
|
});
|
|
1661
1444
|
}
|
|
@@ -1666,12 +1449,12 @@ const de_DeleteFleetCommand = async (output, context) => {
|
|
|
1666
1449
|
}
|
|
1667
1450
|
const data = await parseBody(output.body, context);
|
|
1668
1451
|
let contents = {};
|
|
1669
|
-
contents =
|
|
1452
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1670
1453
|
const response = {
|
|
1671
1454
|
$metadata: deserializeMetadata(output),
|
|
1672
1455
|
...contents,
|
|
1673
1456
|
};
|
|
1674
|
-
return
|
|
1457
|
+
return response;
|
|
1675
1458
|
};
|
|
1676
1459
|
exports.de_DeleteFleetCommand = de_DeleteFleetCommand;
|
|
1677
1460
|
const de_DeleteFleetCommandError = async (output, context) => {
|
|
@@ -1692,10 +1475,9 @@ const de_DeleteFleetCommandError = async (output, context) => {
|
|
|
1692
1475
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1693
1476
|
default:
|
|
1694
1477
|
const parsedBody = parsedOutput.body;
|
|
1695
|
-
|
|
1478
|
+
return throwDefaultError({
|
|
1696
1479
|
output,
|
|
1697
1480
|
parsedBody,
|
|
1698
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1699
1481
|
errorCode,
|
|
1700
1482
|
});
|
|
1701
1483
|
}
|
|
@@ -1711,7 +1493,7 @@ const de_DeleteImageCommand = async (output, context) => {
|
|
|
1711
1493
|
$metadata: deserializeMetadata(output),
|
|
1712
1494
|
...contents,
|
|
1713
1495
|
};
|
|
1714
|
-
return
|
|
1496
|
+
return response;
|
|
1715
1497
|
};
|
|
1716
1498
|
exports.de_DeleteImageCommand = de_DeleteImageCommand;
|
|
1717
1499
|
const de_DeleteImageCommandError = async (output, context) => {
|
|
@@ -1735,10 +1517,9 @@ const de_DeleteImageCommandError = async (output, context) => {
|
|
|
1735
1517
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1736
1518
|
default:
|
|
1737
1519
|
const parsedBody = parsedOutput.body;
|
|
1738
|
-
|
|
1520
|
+
return throwDefaultError({
|
|
1739
1521
|
output,
|
|
1740
1522
|
parsedBody,
|
|
1741
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1742
1523
|
errorCode,
|
|
1743
1524
|
});
|
|
1744
1525
|
}
|
|
@@ -1754,7 +1535,7 @@ const de_DeleteImageBuilderCommand = async (output, context) => {
|
|
|
1754
1535
|
$metadata: deserializeMetadata(output),
|
|
1755
1536
|
...contents,
|
|
1756
1537
|
};
|
|
1757
|
-
return
|
|
1538
|
+
return response;
|
|
1758
1539
|
};
|
|
1759
1540
|
exports.de_DeleteImageBuilderCommand = de_DeleteImageBuilderCommand;
|
|
1760
1541
|
const de_DeleteImageBuilderCommandError = async (output, context) => {
|
|
@@ -1775,10 +1556,9 @@ const de_DeleteImageBuilderCommandError = async (output, context) => {
|
|
|
1775
1556
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1776
1557
|
default:
|
|
1777
1558
|
const parsedBody = parsedOutput.body;
|
|
1778
|
-
|
|
1559
|
+
return throwDefaultError({
|
|
1779
1560
|
output,
|
|
1780
1561
|
parsedBody,
|
|
1781
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1782
1562
|
errorCode,
|
|
1783
1563
|
});
|
|
1784
1564
|
}
|
|
@@ -1789,12 +1569,12 @@ const de_DeleteImagePermissionsCommand = async (output, context) => {
|
|
|
1789
1569
|
}
|
|
1790
1570
|
const data = await parseBody(output.body, context);
|
|
1791
1571
|
let contents = {};
|
|
1792
|
-
contents =
|
|
1572
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1793
1573
|
const response = {
|
|
1794
1574
|
$metadata: deserializeMetadata(output),
|
|
1795
1575
|
...contents,
|
|
1796
1576
|
};
|
|
1797
|
-
return
|
|
1577
|
+
return response;
|
|
1798
1578
|
};
|
|
1799
1579
|
exports.de_DeleteImagePermissionsCommand = de_DeleteImagePermissionsCommand;
|
|
1800
1580
|
const de_DeleteImagePermissionsCommandError = async (output, context) => {
|
|
@@ -1812,10 +1592,9 @@ const de_DeleteImagePermissionsCommandError = async (output, context) => {
|
|
|
1812
1592
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1813
1593
|
default:
|
|
1814
1594
|
const parsedBody = parsedOutput.body;
|
|
1815
|
-
|
|
1595
|
+
return throwDefaultError({
|
|
1816
1596
|
output,
|
|
1817
1597
|
parsedBody,
|
|
1818
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1819
1598
|
errorCode,
|
|
1820
1599
|
});
|
|
1821
1600
|
}
|
|
@@ -1826,12 +1605,12 @@ const de_DeleteStackCommand = async (output, context) => {
|
|
|
1826
1605
|
}
|
|
1827
1606
|
const data = await parseBody(output.body, context);
|
|
1828
1607
|
let contents = {};
|
|
1829
|
-
contents =
|
|
1608
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1830
1609
|
const response = {
|
|
1831
1610
|
$metadata: deserializeMetadata(output),
|
|
1832
1611
|
...contents,
|
|
1833
1612
|
};
|
|
1834
|
-
return
|
|
1613
|
+
return response;
|
|
1835
1614
|
};
|
|
1836
1615
|
exports.de_DeleteStackCommand = de_DeleteStackCommand;
|
|
1837
1616
|
const de_DeleteStackCommandError = async (output, context) => {
|
|
@@ -1855,10 +1634,9 @@ const de_DeleteStackCommandError = async (output, context) => {
|
|
|
1855
1634
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1856
1635
|
default:
|
|
1857
1636
|
const parsedBody = parsedOutput.body;
|
|
1858
|
-
|
|
1637
|
+
return throwDefaultError({
|
|
1859
1638
|
output,
|
|
1860
1639
|
parsedBody,
|
|
1861
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1862
1640
|
errorCode,
|
|
1863
1641
|
});
|
|
1864
1642
|
}
|
|
@@ -1869,12 +1647,12 @@ const de_DeleteUsageReportSubscriptionCommand = async (output, context) => {
|
|
|
1869
1647
|
}
|
|
1870
1648
|
const data = await parseBody(output.body, context);
|
|
1871
1649
|
let contents = {};
|
|
1872
|
-
contents =
|
|
1650
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1873
1651
|
const response = {
|
|
1874
1652
|
$metadata: deserializeMetadata(output),
|
|
1875
1653
|
...contents,
|
|
1876
1654
|
};
|
|
1877
|
-
return
|
|
1655
|
+
return response;
|
|
1878
1656
|
};
|
|
1879
1657
|
exports.de_DeleteUsageReportSubscriptionCommand = de_DeleteUsageReportSubscriptionCommand;
|
|
1880
1658
|
const de_DeleteUsageReportSubscriptionCommandError = async (output, context) => {
|
|
@@ -1892,10 +1670,9 @@ const de_DeleteUsageReportSubscriptionCommandError = async (output, context) =>
|
|
|
1892
1670
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1893
1671
|
default:
|
|
1894
1672
|
const parsedBody = parsedOutput.body;
|
|
1895
|
-
|
|
1673
|
+
return throwDefaultError({
|
|
1896
1674
|
output,
|
|
1897
1675
|
parsedBody,
|
|
1898
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1899
1676
|
errorCode,
|
|
1900
1677
|
});
|
|
1901
1678
|
}
|
|
@@ -1906,12 +1683,12 @@ const de_DeleteUserCommand = async (output, context) => {
|
|
|
1906
1683
|
}
|
|
1907
1684
|
const data = await parseBody(output.body, context);
|
|
1908
1685
|
let contents = {};
|
|
1909
|
-
contents =
|
|
1686
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1910
1687
|
const response = {
|
|
1911
1688
|
$metadata: deserializeMetadata(output),
|
|
1912
1689
|
...contents,
|
|
1913
1690
|
};
|
|
1914
|
-
return
|
|
1691
|
+
return response;
|
|
1915
1692
|
};
|
|
1916
1693
|
exports.de_DeleteUserCommand = de_DeleteUserCommand;
|
|
1917
1694
|
const de_DeleteUserCommandError = async (output, context) => {
|
|
@@ -1926,10 +1703,9 @@ const de_DeleteUserCommandError = async (output, context) => {
|
|
|
1926
1703
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1927
1704
|
default:
|
|
1928
1705
|
const parsedBody = parsedOutput.body;
|
|
1929
|
-
|
|
1706
|
+
return throwDefaultError({
|
|
1930
1707
|
output,
|
|
1931
1708
|
parsedBody,
|
|
1932
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1933
1709
|
errorCode,
|
|
1934
1710
|
});
|
|
1935
1711
|
}
|
|
@@ -1945,7 +1721,7 @@ const de_DescribeAppBlocksCommand = async (output, context) => {
|
|
|
1945
1721
|
$metadata: deserializeMetadata(output),
|
|
1946
1722
|
...contents,
|
|
1947
1723
|
};
|
|
1948
|
-
return
|
|
1724
|
+
return response;
|
|
1949
1725
|
};
|
|
1950
1726
|
exports.de_DescribeAppBlocksCommand = de_DescribeAppBlocksCommand;
|
|
1951
1727
|
const de_DescribeAppBlocksCommandError = async (output, context) => {
|
|
@@ -1963,10 +1739,9 @@ const de_DescribeAppBlocksCommandError = async (output, context) => {
|
|
|
1963
1739
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1964
1740
|
default:
|
|
1965
1741
|
const parsedBody = parsedOutput.body;
|
|
1966
|
-
|
|
1742
|
+
return throwDefaultError({
|
|
1967
1743
|
output,
|
|
1968
1744
|
parsedBody,
|
|
1969
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
1970
1745
|
errorCode,
|
|
1971
1746
|
});
|
|
1972
1747
|
}
|
|
@@ -1977,12 +1752,12 @@ const de_DescribeApplicationFleetAssociationsCommand = async (output, context) =
|
|
|
1977
1752
|
}
|
|
1978
1753
|
const data = await parseBody(output.body, context);
|
|
1979
1754
|
let contents = {};
|
|
1980
|
-
contents =
|
|
1755
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1981
1756
|
const response = {
|
|
1982
1757
|
$metadata: deserializeMetadata(output),
|
|
1983
1758
|
...contents,
|
|
1984
1759
|
};
|
|
1985
|
-
return
|
|
1760
|
+
return response;
|
|
1986
1761
|
};
|
|
1987
1762
|
exports.de_DescribeApplicationFleetAssociationsCommand = de_DescribeApplicationFleetAssociationsCommand;
|
|
1988
1763
|
const de_DescribeApplicationFleetAssociationsCommandError = async (output, context) => {
|
|
@@ -2000,10 +1775,9 @@ const de_DescribeApplicationFleetAssociationsCommandError = async (output, conte
|
|
|
2000
1775
|
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2001
1776
|
default:
|
|
2002
1777
|
const parsedBody = parsedOutput.body;
|
|
2003
|
-
|
|
1778
|
+
return throwDefaultError({
|
|
2004
1779
|
output,
|
|
2005
1780
|
parsedBody,
|
|
2006
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2007
1781
|
errorCode,
|
|
2008
1782
|
});
|
|
2009
1783
|
}
|
|
@@ -2019,7 +1793,7 @@ const de_DescribeApplicationsCommand = async (output, context) => {
|
|
|
2019
1793
|
$metadata: deserializeMetadata(output),
|
|
2020
1794
|
...contents,
|
|
2021
1795
|
};
|
|
2022
|
-
return
|
|
1796
|
+
return response;
|
|
2023
1797
|
};
|
|
2024
1798
|
exports.de_DescribeApplicationsCommand = de_DescribeApplicationsCommand;
|
|
2025
1799
|
const de_DescribeApplicationsCommandError = async (output, context) => {
|
|
@@ -2037,10 +1811,9 @@ const de_DescribeApplicationsCommandError = async (output, context) => {
|
|
|
2037
1811
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2038
1812
|
default:
|
|
2039
1813
|
const parsedBody = parsedOutput.body;
|
|
2040
|
-
|
|
1814
|
+
return throwDefaultError({
|
|
2041
1815
|
output,
|
|
2042
1816
|
parsedBody,
|
|
2043
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2044
1817
|
errorCode,
|
|
2045
1818
|
});
|
|
2046
1819
|
}
|
|
@@ -2056,7 +1829,7 @@ const de_DescribeDirectoryConfigsCommand = async (output, context) => {
|
|
|
2056
1829
|
$metadata: deserializeMetadata(output),
|
|
2057
1830
|
...contents,
|
|
2058
1831
|
};
|
|
2059
|
-
return
|
|
1832
|
+
return response;
|
|
2060
1833
|
};
|
|
2061
1834
|
exports.de_DescribeDirectoryConfigsCommand = de_DescribeDirectoryConfigsCommand;
|
|
2062
1835
|
const de_DescribeDirectoryConfigsCommandError = async (output, context) => {
|
|
@@ -2071,10 +1844,9 @@ const de_DescribeDirectoryConfigsCommandError = async (output, context) => {
|
|
|
2071
1844
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2072
1845
|
default:
|
|
2073
1846
|
const parsedBody = parsedOutput.body;
|
|
2074
|
-
|
|
1847
|
+
return throwDefaultError({
|
|
2075
1848
|
output,
|
|
2076
1849
|
parsedBody,
|
|
2077
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2078
1850
|
errorCode,
|
|
2079
1851
|
});
|
|
2080
1852
|
}
|
|
@@ -2090,7 +1862,7 @@ const de_DescribeEntitlementsCommand = async (output, context) => {
|
|
|
2090
1862
|
$metadata: deserializeMetadata(output),
|
|
2091
1863
|
...contents,
|
|
2092
1864
|
};
|
|
2093
|
-
return
|
|
1865
|
+
return response;
|
|
2094
1866
|
};
|
|
2095
1867
|
exports.de_DescribeEntitlementsCommand = de_DescribeEntitlementsCommand;
|
|
2096
1868
|
const de_DescribeEntitlementsCommandError = async (output, context) => {
|
|
@@ -2111,10 +1883,9 @@ const de_DescribeEntitlementsCommandError = async (output, context) => {
|
|
|
2111
1883
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2112
1884
|
default:
|
|
2113
1885
|
const parsedBody = parsedOutput.body;
|
|
2114
|
-
|
|
1886
|
+
return throwDefaultError({
|
|
2115
1887
|
output,
|
|
2116
1888
|
parsedBody,
|
|
2117
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2118
1889
|
errorCode,
|
|
2119
1890
|
});
|
|
2120
1891
|
}
|
|
@@ -2130,7 +1901,7 @@ const de_DescribeFleetsCommand = async (output, context) => {
|
|
|
2130
1901
|
$metadata: deserializeMetadata(output),
|
|
2131
1902
|
...contents,
|
|
2132
1903
|
};
|
|
2133
|
-
return
|
|
1904
|
+
return response;
|
|
2134
1905
|
};
|
|
2135
1906
|
exports.de_DescribeFleetsCommand = de_DescribeFleetsCommand;
|
|
2136
1907
|
const de_DescribeFleetsCommandError = async (output, context) => {
|
|
@@ -2145,10 +1916,9 @@ const de_DescribeFleetsCommandError = async (output, context) => {
|
|
|
2145
1916
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2146
1917
|
default:
|
|
2147
1918
|
const parsedBody = parsedOutput.body;
|
|
2148
|
-
|
|
1919
|
+
return throwDefaultError({
|
|
2149
1920
|
output,
|
|
2150
1921
|
parsedBody,
|
|
2151
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2152
1922
|
errorCode,
|
|
2153
1923
|
});
|
|
2154
1924
|
}
|
|
@@ -2164,7 +1934,7 @@ const de_DescribeImageBuildersCommand = async (output, context) => {
|
|
|
2164
1934
|
$metadata: deserializeMetadata(output),
|
|
2165
1935
|
...contents,
|
|
2166
1936
|
};
|
|
2167
|
-
return
|
|
1937
|
+
return response;
|
|
2168
1938
|
};
|
|
2169
1939
|
exports.de_DescribeImageBuildersCommand = de_DescribeImageBuildersCommand;
|
|
2170
1940
|
const de_DescribeImageBuildersCommandError = async (output, context) => {
|
|
@@ -2179,10 +1949,9 @@ const de_DescribeImageBuildersCommandError = async (output, context) => {
|
|
|
2179
1949
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2180
1950
|
default:
|
|
2181
1951
|
const parsedBody = parsedOutput.body;
|
|
2182
|
-
|
|
1952
|
+
return throwDefaultError({
|
|
2183
1953
|
output,
|
|
2184
1954
|
parsedBody,
|
|
2185
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2186
1955
|
errorCode,
|
|
2187
1956
|
});
|
|
2188
1957
|
}
|
|
@@ -2193,12 +1962,12 @@ const de_DescribeImagePermissionsCommand = async (output, context) => {
|
|
|
2193
1962
|
}
|
|
2194
1963
|
const data = await parseBody(output.body, context);
|
|
2195
1964
|
let contents = {};
|
|
2196
|
-
contents =
|
|
1965
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2197
1966
|
const response = {
|
|
2198
1967
|
$metadata: deserializeMetadata(output),
|
|
2199
1968
|
...contents,
|
|
2200
1969
|
};
|
|
2201
|
-
return
|
|
1970
|
+
return response;
|
|
2202
1971
|
};
|
|
2203
1972
|
exports.de_DescribeImagePermissionsCommand = de_DescribeImagePermissionsCommand;
|
|
2204
1973
|
const de_DescribeImagePermissionsCommandError = async (output, context) => {
|
|
@@ -2213,10 +1982,9 @@ const de_DescribeImagePermissionsCommandError = async (output, context) => {
|
|
|
2213
1982
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2214
1983
|
default:
|
|
2215
1984
|
const parsedBody = parsedOutput.body;
|
|
2216
|
-
|
|
1985
|
+
return throwDefaultError({
|
|
2217
1986
|
output,
|
|
2218
1987
|
parsedBody,
|
|
2219
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2220
1988
|
errorCode,
|
|
2221
1989
|
});
|
|
2222
1990
|
}
|
|
@@ -2232,7 +2000,7 @@ const de_DescribeImagesCommand = async (output, context) => {
|
|
|
2232
2000
|
$metadata: deserializeMetadata(output),
|
|
2233
2001
|
...contents,
|
|
2234
2002
|
};
|
|
2235
|
-
return
|
|
2003
|
+
return response;
|
|
2236
2004
|
};
|
|
2237
2005
|
exports.de_DescribeImagesCommand = de_DescribeImagesCommand;
|
|
2238
2006
|
const de_DescribeImagesCommandError = async (output, context) => {
|
|
@@ -2250,10 +2018,9 @@ const de_DescribeImagesCommandError = async (output, context) => {
|
|
|
2250
2018
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2251
2019
|
default:
|
|
2252
2020
|
const parsedBody = parsedOutput.body;
|
|
2253
|
-
|
|
2021
|
+
return throwDefaultError({
|
|
2254
2022
|
output,
|
|
2255
2023
|
parsedBody,
|
|
2256
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2257
2024
|
errorCode,
|
|
2258
2025
|
});
|
|
2259
2026
|
}
|
|
@@ -2269,7 +2036,7 @@ const de_DescribeSessionsCommand = async (output, context) => {
|
|
|
2269
2036
|
$metadata: deserializeMetadata(output),
|
|
2270
2037
|
...contents,
|
|
2271
2038
|
};
|
|
2272
|
-
return
|
|
2039
|
+
return response;
|
|
2273
2040
|
};
|
|
2274
2041
|
exports.de_DescribeSessionsCommand = de_DescribeSessionsCommand;
|
|
2275
2042
|
const de_DescribeSessionsCommandError = async (output, context) => {
|
|
@@ -2284,10 +2051,9 @@ const de_DescribeSessionsCommandError = async (output, context) => {
|
|
|
2284
2051
|
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
2285
2052
|
default:
|
|
2286
2053
|
const parsedBody = parsedOutput.body;
|
|
2287
|
-
|
|
2054
|
+
return throwDefaultError({
|
|
2288
2055
|
output,
|
|
2289
2056
|
parsedBody,
|
|
2290
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2291
2057
|
errorCode,
|
|
2292
2058
|
});
|
|
2293
2059
|
}
|
|
@@ -2303,7 +2069,7 @@ const de_DescribeStacksCommand = async (output, context) => {
|
|
|
2303
2069
|
$metadata: deserializeMetadata(output),
|
|
2304
2070
|
...contents,
|
|
2305
2071
|
};
|
|
2306
|
-
return
|
|
2072
|
+
return response;
|
|
2307
2073
|
};
|
|
2308
2074
|
exports.de_DescribeStacksCommand = de_DescribeStacksCommand;
|
|
2309
2075
|
const de_DescribeStacksCommandError = async (output, context) => {
|
|
@@ -2318,10 +2084,9 @@ const de_DescribeStacksCommandError = async (output, context) => {
|
|
|
2318
2084
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2319
2085
|
default:
|
|
2320
2086
|
const parsedBody = parsedOutput.body;
|
|
2321
|
-
|
|
2087
|
+
return throwDefaultError({
|
|
2322
2088
|
output,
|
|
2323
2089
|
parsedBody,
|
|
2324
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2325
2090
|
errorCode,
|
|
2326
2091
|
});
|
|
2327
2092
|
}
|
|
@@ -2337,7 +2102,7 @@ const de_DescribeUsageReportSubscriptionsCommand = async (output, context) => {
|
|
|
2337
2102
|
$metadata: deserializeMetadata(output),
|
|
2338
2103
|
...contents,
|
|
2339
2104
|
};
|
|
2340
|
-
return
|
|
2105
|
+
return response;
|
|
2341
2106
|
};
|
|
2342
2107
|
exports.de_DescribeUsageReportSubscriptionsCommand = de_DescribeUsageReportSubscriptionsCommand;
|
|
2343
2108
|
const de_DescribeUsageReportSubscriptionsCommandError = async (output, context) => {
|
|
@@ -2355,10 +2120,9 @@ const de_DescribeUsageReportSubscriptionsCommandError = async (output, context)
|
|
|
2355
2120
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2356
2121
|
default:
|
|
2357
2122
|
const parsedBody = parsedOutput.body;
|
|
2358
|
-
|
|
2123
|
+
return throwDefaultError({
|
|
2359
2124
|
output,
|
|
2360
2125
|
parsedBody,
|
|
2361
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2362
2126
|
errorCode,
|
|
2363
2127
|
});
|
|
2364
2128
|
}
|
|
@@ -2374,7 +2138,7 @@ const de_DescribeUsersCommand = async (output, context) => {
|
|
|
2374
2138
|
$metadata: deserializeMetadata(output),
|
|
2375
2139
|
...contents,
|
|
2376
2140
|
};
|
|
2377
|
-
return
|
|
2141
|
+
return response;
|
|
2378
2142
|
};
|
|
2379
2143
|
exports.de_DescribeUsersCommand = de_DescribeUsersCommand;
|
|
2380
2144
|
const de_DescribeUsersCommandError = async (output, context) => {
|
|
@@ -2395,10 +2159,9 @@ const de_DescribeUsersCommandError = async (output, context) => {
|
|
|
2395
2159
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2396
2160
|
default:
|
|
2397
2161
|
const parsedBody = parsedOutput.body;
|
|
2398
|
-
|
|
2162
|
+
return throwDefaultError({
|
|
2399
2163
|
output,
|
|
2400
2164
|
parsedBody,
|
|
2401
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2402
2165
|
errorCode,
|
|
2403
2166
|
});
|
|
2404
2167
|
}
|
|
@@ -2409,12 +2172,12 @@ const de_DescribeUserStackAssociationsCommand = async (output, context) => {
|
|
|
2409
2172
|
}
|
|
2410
2173
|
const data = await parseBody(output.body, context);
|
|
2411
2174
|
let contents = {};
|
|
2412
|
-
contents =
|
|
2175
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2413
2176
|
const response = {
|
|
2414
2177
|
$metadata: deserializeMetadata(output),
|
|
2415
2178
|
...contents,
|
|
2416
2179
|
};
|
|
2417
|
-
return
|
|
2180
|
+
return response;
|
|
2418
2181
|
};
|
|
2419
2182
|
exports.de_DescribeUserStackAssociationsCommand = de_DescribeUserStackAssociationsCommand;
|
|
2420
2183
|
const de_DescribeUserStackAssociationsCommandError = async (output, context) => {
|
|
@@ -2432,10 +2195,9 @@ const de_DescribeUserStackAssociationsCommandError = async (output, context) =>
|
|
|
2432
2195
|
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2433
2196
|
default:
|
|
2434
2197
|
const parsedBody = parsedOutput.body;
|
|
2435
|
-
|
|
2198
|
+
return throwDefaultError({
|
|
2436
2199
|
output,
|
|
2437
2200
|
parsedBody,
|
|
2438
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2439
2201
|
errorCode,
|
|
2440
2202
|
});
|
|
2441
2203
|
}
|
|
@@ -2446,12 +2208,12 @@ const de_DisableUserCommand = async (output, context) => {
|
|
|
2446
2208
|
}
|
|
2447
2209
|
const data = await parseBody(output.body, context);
|
|
2448
2210
|
let contents = {};
|
|
2449
|
-
contents =
|
|
2211
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2450
2212
|
const response = {
|
|
2451
2213
|
$metadata: deserializeMetadata(output),
|
|
2452
2214
|
...contents,
|
|
2453
2215
|
};
|
|
2454
|
-
return
|
|
2216
|
+
return response;
|
|
2455
2217
|
};
|
|
2456
2218
|
exports.de_DisableUserCommand = de_DisableUserCommand;
|
|
2457
2219
|
const de_DisableUserCommandError = async (output, context) => {
|
|
@@ -2466,10 +2228,9 @@ const de_DisableUserCommandError = async (output, context) => {
|
|
|
2466
2228
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2467
2229
|
default:
|
|
2468
2230
|
const parsedBody = parsedOutput.body;
|
|
2469
|
-
|
|
2231
|
+
return throwDefaultError({
|
|
2470
2232
|
output,
|
|
2471
2233
|
parsedBody,
|
|
2472
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2473
2234
|
errorCode,
|
|
2474
2235
|
});
|
|
2475
2236
|
}
|
|
@@ -2480,12 +2241,12 @@ const de_DisassociateApplicationFleetCommand = async (output, context) => {
|
|
|
2480
2241
|
}
|
|
2481
2242
|
const data = await parseBody(output.body, context);
|
|
2482
2243
|
let contents = {};
|
|
2483
|
-
contents =
|
|
2244
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2484
2245
|
const response = {
|
|
2485
2246
|
$metadata: deserializeMetadata(output),
|
|
2486
2247
|
...contents,
|
|
2487
2248
|
};
|
|
2488
|
-
return
|
|
2249
|
+
return response;
|
|
2489
2250
|
};
|
|
2490
2251
|
exports.de_DisassociateApplicationFleetCommand = de_DisassociateApplicationFleetCommand;
|
|
2491
2252
|
const de_DisassociateApplicationFleetCommandError = async (output, context) => {
|
|
@@ -2506,10 +2267,9 @@ const de_DisassociateApplicationFleetCommandError = async (output, context) => {
|
|
|
2506
2267
|
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2507
2268
|
default:
|
|
2508
2269
|
const parsedBody = parsedOutput.body;
|
|
2509
|
-
|
|
2270
|
+
return throwDefaultError({
|
|
2510
2271
|
output,
|
|
2511
2272
|
parsedBody,
|
|
2512
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2513
2273
|
errorCode,
|
|
2514
2274
|
});
|
|
2515
2275
|
}
|
|
@@ -2520,12 +2280,12 @@ const de_DisassociateApplicationFromEntitlementCommand = async (output, context)
|
|
|
2520
2280
|
}
|
|
2521
2281
|
const data = await parseBody(output.body, context);
|
|
2522
2282
|
let contents = {};
|
|
2523
|
-
contents =
|
|
2283
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2524
2284
|
const response = {
|
|
2525
2285
|
$metadata: deserializeMetadata(output),
|
|
2526
2286
|
...contents,
|
|
2527
2287
|
};
|
|
2528
|
-
return
|
|
2288
|
+
return response;
|
|
2529
2289
|
};
|
|
2530
2290
|
exports.de_DisassociateApplicationFromEntitlementCommand = de_DisassociateApplicationFromEntitlementCommand;
|
|
2531
2291
|
const de_DisassociateApplicationFromEntitlementCommandError = async (output, context) => {
|
|
@@ -2546,10 +2306,9 @@ const de_DisassociateApplicationFromEntitlementCommandError = async (output, con
|
|
|
2546
2306
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2547
2307
|
default:
|
|
2548
2308
|
const parsedBody = parsedOutput.body;
|
|
2549
|
-
|
|
2309
|
+
return throwDefaultError({
|
|
2550
2310
|
output,
|
|
2551
2311
|
parsedBody,
|
|
2552
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2553
2312
|
errorCode,
|
|
2554
2313
|
});
|
|
2555
2314
|
}
|
|
@@ -2560,12 +2319,12 @@ const de_DisassociateFleetCommand = async (output, context) => {
|
|
|
2560
2319
|
}
|
|
2561
2320
|
const data = await parseBody(output.body, context);
|
|
2562
2321
|
let contents = {};
|
|
2563
|
-
contents =
|
|
2322
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2564
2323
|
const response = {
|
|
2565
2324
|
$metadata: deserializeMetadata(output),
|
|
2566
2325
|
...contents,
|
|
2567
2326
|
};
|
|
2568
|
-
return
|
|
2327
|
+
return response;
|
|
2569
2328
|
};
|
|
2570
2329
|
exports.de_DisassociateFleetCommand = de_DisassociateFleetCommand;
|
|
2571
2330
|
const de_DisassociateFleetCommandError = async (output, context) => {
|
|
@@ -2589,10 +2348,9 @@ const de_DisassociateFleetCommandError = async (output, context) => {
|
|
|
2589
2348
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2590
2349
|
default:
|
|
2591
2350
|
const parsedBody = parsedOutput.body;
|
|
2592
|
-
|
|
2351
|
+
return throwDefaultError({
|
|
2593
2352
|
output,
|
|
2594
2353
|
parsedBody,
|
|
2595
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2596
2354
|
errorCode,
|
|
2597
2355
|
});
|
|
2598
2356
|
}
|
|
@@ -2603,12 +2361,12 @@ const de_EnableUserCommand = async (output, context) => {
|
|
|
2603
2361
|
}
|
|
2604
2362
|
const data = await parseBody(output.body, context);
|
|
2605
2363
|
let contents = {};
|
|
2606
|
-
contents =
|
|
2364
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2607
2365
|
const response = {
|
|
2608
2366
|
$metadata: deserializeMetadata(output),
|
|
2609
2367
|
...contents,
|
|
2610
2368
|
};
|
|
2611
|
-
return
|
|
2369
|
+
return response;
|
|
2612
2370
|
};
|
|
2613
2371
|
exports.de_EnableUserCommand = de_EnableUserCommand;
|
|
2614
2372
|
const de_EnableUserCommandError = async (output, context) => {
|
|
@@ -2626,10 +2384,9 @@ const de_EnableUserCommandError = async (output, context) => {
|
|
|
2626
2384
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2627
2385
|
default:
|
|
2628
2386
|
const parsedBody = parsedOutput.body;
|
|
2629
|
-
|
|
2387
|
+
return throwDefaultError({
|
|
2630
2388
|
output,
|
|
2631
2389
|
parsedBody,
|
|
2632
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2633
2390
|
errorCode,
|
|
2634
2391
|
});
|
|
2635
2392
|
}
|
|
@@ -2640,12 +2397,12 @@ const de_ExpireSessionCommand = async (output, context) => {
|
|
|
2640
2397
|
}
|
|
2641
2398
|
const data = await parseBody(output.body, context);
|
|
2642
2399
|
let contents = {};
|
|
2643
|
-
contents =
|
|
2400
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2644
2401
|
const response = {
|
|
2645
2402
|
$metadata: deserializeMetadata(output),
|
|
2646
2403
|
...contents,
|
|
2647
2404
|
};
|
|
2648
|
-
return
|
|
2405
|
+
return response;
|
|
2649
2406
|
};
|
|
2650
2407
|
exports.de_ExpireSessionCommand = de_ExpireSessionCommand;
|
|
2651
2408
|
const de_ExpireSessionCommandError = async (output, context) => {
|
|
@@ -2655,10 +2412,9 @@ const de_ExpireSessionCommandError = async (output, context) => {
|
|
|
2655
2412
|
};
|
|
2656
2413
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2657
2414
|
const parsedBody = parsedOutput.body;
|
|
2658
|
-
|
|
2415
|
+
return throwDefaultError({
|
|
2659
2416
|
output,
|
|
2660
2417
|
parsedBody,
|
|
2661
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2662
2418
|
errorCode,
|
|
2663
2419
|
});
|
|
2664
2420
|
};
|
|
@@ -2668,12 +2424,12 @@ const de_ListAssociatedFleetsCommand = async (output, context) => {
|
|
|
2668
2424
|
}
|
|
2669
2425
|
const data = await parseBody(output.body, context);
|
|
2670
2426
|
let contents = {};
|
|
2671
|
-
contents =
|
|
2427
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2672
2428
|
const response = {
|
|
2673
2429
|
$metadata: deserializeMetadata(output),
|
|
2674
2430
|
...contents,
|
|
2675
2431
|
};
|
|
2676
|
-
return
|
|
2432
|
+
return response;
|
|
2677
2433
|
};
|
|
2678
2434
|
exports.de_ListAssociatedFleetsCommand = de_ListAssociatedFleetsCommand;
|
|
2679
2435
|
const de_ListAssociatedFleetsCommandError = async (output, context) => {
|
|
@@ -2683,10 +2439,9 @@ const de_ListAssociatedFleetsCommandError = async (output, context) => {
|
|
|
2683
2439
|
};
|
|
2684
2440
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2685
2441
|
const parsedBody = parsedOutput.body;
|
|
2686
|
-
|
|
2442
|
+
return throwDefaultError({
|
|
2687
2443
|
output,
|
|
2688
2444
|
parsedBody,
|
|
2689
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2690
2445
|
errorCode,
|
|
2691
2446
|
});
|
|
2692
2447
|
};
|
|
@@ -2696,12 +2451,12 @@ const de_ListAssociatedStacksCommand = async (output, context) => {
|
|
|
2696
2451
|
}
|
|
2697
2452
|
const data = await parseBody(output.body, context);
|
|
2698
2453
|
let contents = {};
|
|
2699
|
-
contents =
|
|
2454
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2700
2455
|
const response = {
|
|
2701
2456
|
$metadata: deserializeMetadata(output),
|
|
2702
2457
|
...contents,
|
|
2703
2458
|
};
|
|
2704
|
-
return
|
|
2459
|
+
return response;
|
|
2705
2460
|
};
|
|
2706
2461
|
exports.de_ListAssociatedStacksCommand = de_ListAssociatedStacksCommand;
|
|
2707
2462
|
const de_ListAssociatedStacksCommandError = async (output, context) => {
|
|
@@ -2711,10 +2466,9 @@ const de_ListAssociatedStacksCommandError = async (output, context) => {
|
|
|
2711
2466
|
};
|
|
2712
2467
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2713
2468
|
const parsedBody = parsedOutput.body;
|
|
2714
|
-
|
|
2469
|
+
return throwDefaultError({
|
|
2715
2470
|
output,
|
|
2716
2471
|
parsedBody,
|
|
2717
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2718
2472
|
errorCode,
|
|
2719
2473
|
});
|
|
2720
2474
|
};
|
|
@@ -2724,12 +2478,12 @@ const de_ListEntitledApplicationsCommand = async (output, context) => {
|
|
|
2724
2478
|
}
|
|
2725
2479
|
const data = await parseBody(output.body, context);
|
|
2726
2480
|
let contents = {};
|
|
2727
|
-
contents =
|
|
2481
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2728
2482
|
const response = {
|
|
2729
2483
|
$metadata: deserializeMetadata(output),
|
|
2730
2484
|
...contents,
|
|
2731
2485
|
};
|
|
2732
|
-
return
|
|
2486
|
+
return response;
|
|
2733
2487
|
};
|
|
2734
2488
|
exports.de_ListEntitledApplicationsCommand = de_ListEntitledApplicationsCommand;
|
|
2735
2489
|
const de_ListEntitledApplicationsCommandError = async (output, context) => {
|
|
@@ -2750,10 +2504,9 @@ const de_ListEntitledApplicationsCommandError = async (output, context) => {
|
|
|
2750
2504
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2751
2505
|
default:
|
|
2752
2506
|
const parsedBody = parsedOutput.body;
|
|
2753
|
-
|
|
2507
|
+
return throwDefaultError({
|
|
2754
2508
|
output,
|
|
2755
2509
|
parsedBody,
|
|
2756
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2757
2510
|
errorCode,
|
|
2758
2511
|
});
|
|
2759
2512
|
}
|
|
@@ -2764,12 +2517,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2764
2517
|
}
|
|
2765
2518
|
const data = await parseBody(output.body, context);
|
|
2766
2519
|
let contents = {};
|
|
2767
|
-
contents =
|
|
2520
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2768
2521
|
const response = {
|
|
2769
2522
|
$metadata: deserializeMetadata(output),
|
|
2770
2523
|
...contents,
|
|
2771
2524
|
};
|
|
2772
|
-
return
|
|
2525
|
+
return response;
|
|
2773
2526
|
};
|
|
2774
2527
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
2775
2528
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -2784,10 +2537,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2784
2537
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2785
2538
|
default:
|
|
2786
2539
|
const parsedBody = parsedOutput.body;
|
|
2787
|
-
|
|
2540
|
+
return throwDefaultError({
|
|
2788
2541
|
output,
|
|
2789
2542
|
parsedBody,
|
|
2790
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2791
2543
|
errorCode,
|
|
2792
2544
|
});
|
|
2793
2545
|
}
|
|
@@ -2798,12 +2550,12 @@ const de_StartFleetCommand = async (output, context) => {
|
|
|
2798
2550
|
}
|
|
2799
2551
|
const data = await parseBody(output.body, context);
|
|
2800
2552
|
let contents = {};
|
|
2801
|
-
contents =
|
|
2553
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2802
2554
|
const response = {
|
|
2803
2555
|
$metadata: deserializeMetadata(output),
|
|
2804
2556
|
...contents,
|
|
2805
2557
|
};
|
|
2806
|
-
return
|
|
2558
|
+
return response;
|
|
2807
2559
|
};
|
|
2808
2560
|
exports.de_StartFleetCommand = de_StartFleetCommand;
|
|
2809
2561
|
const de_StartFleetCommandError = async (output, context) => {
|
|
@@ -2839,10 +2591,9 @@ const de_StartFleetCommandError = async (output, context) => {
|
|
|
2839
2591
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2840
2592
|
default:
|
|
2841
2593
|
const parsedBody = parsedOutput.body;
|
|
2842
|
-
|
|
2594
|
+
return throwDefaultError({
|
|
2843
2595
|
output,
|
|
2844
2596
|
parsedBody,
|
|
2845
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2846
2597
|
errorCode,
|
|
2847
2598
|
});
|
|
2848
2599
|
}
|
|
@@ -2858,7 +2609,7 @@ const de_StartImageBuilderCommand = async (output, context) => {
|
|
|
2858
2609
|
$metadata: deserializeMetadata(output),
|
|
2859
2610
|
...contents,
|
|
2860
2611
|
};
|
|
2861
|
-
return
|
|
2612
|
+
return response;
|
|
2862
2613
|
};
|
|
2863
2614
|
exports.de_StartImageBuilderCommand = de_StartImageBuilderCommand;
|
|
2864
2615
|
const de_StartImageBuilderCommandError = async (output, context) => {
|
|
@@ -2885,10 +2636,9 @@ const de_StartImageBuilderCommandError = async (output, context) => {
|
|
|
2885
2636
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2886
2637
|
default:
|
|
2887
2638
|
const parsedBody = parsedOutput.body;
|
|
2888
|
-
|
|
2639
|
+
return throwDefaultError({
|
|
2889
2640
|
output,
|
|
2890
2641
|
parsedBody,
|
|
2891
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2892
2642
|
errorCode,
|
|
2893
2643
|
});
|
|
2894
2644
|
}
|
|
@@ -2899,12 +2649,12 @@ const de_StopFleetCommand = async (output, context) => {
|
|
|
2899
2649
|
}
|
|
2900
2650
|
const data = await parseBody(output.body, context);
|
|
2901
2651
|
let contents = {};
|
|
2902
|
-
contents =
|
|
2652
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2903
2653
|
const response = {
|
|
2904
2654
|
$metadata: deserializeMetadata(output),
|
|
2905
2655
|
...contents,
|
|
2906
2656
|
};
|
|
2907
|
-
return
|
|
2657
|
+
return response;
|
|
2908
2658
|
};
|
|
2909
2659
|
exports.de_StopFleetCommand = de_StopFleetCommand;
|
|
2910
2660
|
const de_StopFleetCommandError = async (output, context) => {
|
|
@@ -2922,10 +2672,9 @@ const de_StopFleetCommandError = async (output, context) => {
|
|
|
2922
2672
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2923
2673
|
default:
|
|
2924
2674
|
const parsedBody = parsedOutput.body;
|
|
2925
|
-
|
|
2675
|
+
return throwDefaultError({
|
|
2926
2676
|
output,
|
|
2927
2677
|
parsedBody,
|
|
2928
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2929
2678
|
errorCode,
|
|
2930
2679
|
});
|
|
2931
2680
|
}
|
|
@@ -2941,7 +2690,7 @@ const de_StopImageBuilderCommand = async (output, context) => {
|
|
|
2941
2690
|
$metadata: deserializeMetadata(output),
|
|
2942
2691
|
...contents,
|
|
2943
2692
|
};
|
|
2944
|
-
return
|
|
2693
|
+
return response;
|
|
2945
2694
|
};
|
|
2946
2695
|
exports.de_StopImageBuilderCommand = de_StopImageBuilderCommand;
|
|
2947
2696
|
const de_StopImageBuilderCommandError = async (output, context) => {
|
|
@@ -2962,10 +2711,9 @@ const de_StopImageBuilderCommandError = async (output, context) => {
|
|
|
2962
2711
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2963
2712
|
default:
|
|
2964
2713
|
const parsedBody = parsedOutput.body;
|
|
2965
|
-
|
|
2714
|
+
return throwDefaultError({
|
|
2966
2715
|
output,
|
|
2967
2716
|
parsedBody,
|
|
2968
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
2969
2717
|
errorCode,
|
|
2970
2718
|
});
|
|
2971
2719
|
}
|
|
@@ -2976,12 +2724,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
2976
2724
|
}
|
|
2977
2725
|
const data = await parseBody(output.body, context);
|
|
2978
2726
|
let contents = {};
|
|
2979
|
-
contents =
|
|
2727
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2980
2728
|
const response = {
|
|
2981
2729
|
$metadata: deserializeMetadata(output),
|
|
2982
2730
|
...contents,
|
|
2983
2731
|
};
|
|
2984
|
-
return
|
|
2732
|
+
return response;
|
|
2985
2733
|
};
|
|
2986
2734
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
2987
2735
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -3002,10 +2750,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
3002
2750
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3003
2751
|
default:
|
|
3004
2752
|
const parsedBody = parsedOutput.body;
|
|
3005
|
-
|
|
2753
|
+
return throwDefaultError({
|
|
3006
2754
|
output,
|
|
3007
2755
|
parsedBody,
|
|
3008
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
3009
2756
|
errorCode,
|
|
3010
2757
|
});
|
|
3011
2758
|
}
|
|
@@ -3016,12 +2763,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
3016
2763
|
}
|
|
3017
2764
|
const data = await parseBody(output.body, context);
|
|
3018
2765
|
let contents = {};
|
|
3019
|
-
contents =
|
|
2766
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3020
2767
|
const response = {
|
|
3021
2768
|
$metadata: deserializeMetadata(output),
|
|
3022
2769
|
...contents,
|
|
3023
2770
|
};
|
|
3024
|
-
return
|
|
2771
|
+
return response;
|
|
3025
2772
|
};
|
|
3026
2773
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
3027
2774
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -3036,10 +2783,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
3036
2783
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3037
2784
|
default:
|
|
3038
2785
|
const parsedBody = parsedOutput.body;
|
|
3039
|
-
|
|
2786
|
+
return throwDefaultError({
|
|
3040
2787
|
output,
|
|
3041
2788
|
parsedBody,
|
|
3042
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
3043
2789
|
errorCode,
|
|
3044
2790
|
});
|
|
3045
2791
|
}
|
|
@@ -3055,7 +2801,7 @@ const de_UpdateApplicationCommand = async (output, context) => {
|
|
|
3055
2801
|
$metadata: deserializeMetadata(output),
|
|
3056
2802
|
...contents,
|
|
3057
2803
|
};
|
|
3058
|
-
return
|
|
2804
|
+
return response;
|
|
3059
2805
|
};
|
|
3060
2806
|
exports.de_UpdateApplicationCommand = de_UpdateApplicationCommand;
|
|
3061
2807
|
const de_UpdateApplicationCommandError = async (output, context) => {
|
|
@@ -3076,10 +2822,9 @@ const de_UpdateApplicationCommandError = async (output, context) => {
|
|
|
3076
2822
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3077
2823
|
default:
|
|
3078
2824
|
const parsedBody = parsedOutput.body;
|
|
3079
|
-
|
|
2825
|
+
return throwDefaultError({
|
|
3080
2826
|
output,
|
|
3081
2827
|
parsedBody,
|
|
3082
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
3083
2828
|
errorCode,
|
|
3084
2829
|
});
|
|
3085
2830
|
}
|
|
@@ -3095,7 +2840,7 @@ const de_UpdateDirectoryConfigCommand = async (output, context) => {
|
|
|
3095
2840
|
$metadata: deserializeMetadata(output),
|
|
3096
2841
|
...contents,
|
|
3097
2842
|
};
|
|
3098
|
-
return
|
|
2843
|
+
return response;
|
|
3099
2844
|
};
|
|
3100
2845
|
exports.de_UpdateDirectoryConfigCommand = de_UpdateDirectoryConfigCommand;
|
|
3101
2846
|
const de_UpdateDirectoryConfigCommandError = async (output, context) => {
|
|
@@ -3122,10 +2867,9 @@ const de_UpdateDirectoryConfigCommandError = async (output, context) => {
|
|
|
3122
2867
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3123
2868
|
default:
|
|
3124
2869
|
const parsedBody = parsedOutput.body;
|
|
3125
|
-
|
|
2870
|
+
return throwDefaultError({
|
|
3126
2871
|
output,
|
|
3127
2872
|
parsedBody,
|
|
3128
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
3129
2873
|
errorCode,
|
|
3130
2874
|
});
|
|
3131
2875
|
}
|
|
@@ -3141,7 +2885,7 @@ const de_UpdateEntitlementCommand = async (output, context) => {
|
|
|
3141
2885
|
$metadata: deserializeMetadata(output),
|
|
3142
2886
|
...contents,
|
|
3143
2887
|
};
|
|
3144
|
-
return
|
|
2888
|
+
return response;
|
|
3145
2889
|
};
|
|
3146
2890
|
exports.de_UpdateEntitlementCommand = de_UpdateEntitlementCommand;
|
|
3147
2891
|
const de_UpdateEntitlementCommandError = async (output, context) => {
|
|
@@ -3165,10 +2909,9 @@ const de_UpdateEntitlementCommandError = async (output, context) => {
|
|
|
3165
2909
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3166
2910
|
default:
|
|
3167
2911
|
const parsedBody = parsedOutput.body;
|
|
3168
|
-
|
|
2912
|
+
return throwDefaultError({
|
|
3169
2913
|
output,
|
|
3170
2914
|
parsedBody,
|
|
3171
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
3172
2915
|
errorCode,
|
|
3173
2916
|
});
|
|
3174
2917
|
}
|
|
@@ -3184,7 +2927,7 @@ const de_UpdateFleetCommand = async (output, context) => {
|
|
|
3184
2927
|
$metadata: deserializeMetadata(output),
|
|
3185
2928
|
...contents,
|
|
3186
2929
|
};
|
|
3187
|
-
return
|
|
2930
|
+
return response;
|
|
3188
2931
|
};
|
|
3189
2932
|
exports.de_UpdateFleetCommand = de_UpdateFleetCommand;
|
|
3190
2933
|
const de_UpdateFleetCommandError = async (output, context) => {
|
|
@@ -3229,10 +2972,9 @@ const de_UpdateFleetCommandError = async (output, context) => {
|
|
|
3229
2972
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3230
2973
|
default:
|
|
3231
2974
|
const parsedBody = parsedOutput.body;
|
|
3232
|
-
|
|
2975
|
+
return throwDefaultError({
|
|
3233
2976
|
output,
|
|
3234
2977
|
parsedBody,
|
|
3235
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
3236
2978
|
errorCode,
|
|
3237
2979
|
});
|
|
3238
2980
|
}
|
|
@@ -3243,12 +2985,12 @@ const de_UpdateImagePermissionsCommand = async (output, context) => {
|
|
|
3243
2985
|
}
|
|
3244
2986
|
const data = await parseBody(output.body, context);
|
|
3245
2987
|
let contents = {};
|
|
3246
|
-
contents =
|
|
2988
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3247
2989
|
const response = {
|
|
3248
2990
|
$metadata: deserializeMetadata(output),
|
|
3249
2991
|
...contents,
|
|
3250
2992
|
};
|
|
3251
|
-
return
|
|
2993
|
+
return response;
|
|
3252
2994
|
};
|
|
3253
2995
|
exports.de_UpdateImagePermissionsCommand = de_UpdateImagePermissionsCommand;
|
|
3254
2996
|
const de_UpdateImagePermissionsCommandError = async (output, context) => {
|
|
@@ -3269,10 +3011,9 @@ const de_UpdateImagePermissionsCommandError = async (output, context) => {
|
|
|
3269
3011
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3270
3012
|
default:
|
|
3271
3013
|
const parsedBody = parsedOutput.body;
|
|
3272
|
-
|
|
3014
|
+
return throwDefaultError({
|
|
3273
3015
|
output,
|
|
3274
3016
|
parsedBody,
|
|
3275
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
3276
3017
|
errorCode,
|
|
3277
3018
|
});
|
|
3278
3019
|
}
|
|
@@ -3288,7 +3029,7 @@ const de_UpdateStackCommand = async (output, context) => {
|
|
|
3288
3029
|
$metadata: deserializeMetadata(output),
|
|
3289
3030
|
...contents,
|
|
3290
3031
|
};
|
|
3291
|
-
return
|
|
3032
|
+
return response;
|
|
3292
3033
|
};
|
|
3293
3034
|
exports.de_UpdateStackCommand = de_UpdateStackCommand;
|
|
3294
3035
|
const de_UpdateStackCommandError = async (output, context) => {
|
|
@@ -3327,17 +3068,16 @@ const de_UpdateStackCommandError = async (output, context) => {
|
|
|
3327
3068
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3328
3069
|
default:
|
|
3329
3070
|
const parsedBody = parsedOutput.body;
|
|
3330
|
-
|
|
3071
|
+
return throwDefaultError({
|
|
3331
3072
|
output,
|
|
3332
3073
|
parsedBody,
|
|
3333
|
-
exceptionCtor: AppStreamServiceException_1.AppStreamServiceException,
|
|
3334
3074
|
errorCode,
|
|
3335
3075
|
});
|
|
3336
3076
|
}
|
|
3337
3077
|
};
|
|
3338
3078
|
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
3339
3079
|
const body = parsedOutput.body;
|
|
3340
|
-
const deserialized =
|
|
3080
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3341
3081
|
const exception = new models_0_1.ConcurrentModificationException({
|
|
3342
3082
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3343
3083
|
...deserialized,
|
|
@@ -3346,7 +3086,7 @@ const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
|
3346
3086
|
};
|
|
3347
3087
|
const de_EntitlementAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
3348
3088
|
const body = parsedOutput.body;
|
|
3349
|
-
const deserialized =
|
|
3089
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3350
3090
|
const exception = new models_0_1.EntitlementAlreadyExistsException({
|
|
3351
3091
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3352
3092
|
...deserialized,
|
|
@@ -3355,7 +3095,7 @@ const de_EntitlementAlreadyExistsExceptionRes = async (parsedOutput, context) =>
|
|
|
3355
3095
|
};
|
|
3356
3096
|
const de_EntitlementNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3357
3097
|
const body = parsedOutput.body;
|
|
3358
|
-
const deserialized =
|
|
3098
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3359
3099
|
const exception = new models_0_1.EntitlementNotFoundException({
|
|
3360
3100
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3361
3101
|
...deserialized,
|
|
@@ -3364,7 +3104,7 @@ const de_EntitlementNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3364
3104
|
};
|
|
3365
3105
|
const de_IncompatibleImageExceptionRes = async (parsedOutput, context) => {
|
|
3366
3106
|
const body = parsedOutput.body;
|
|
3367
|
-
const deserialized =
|
|
3107
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3368
3108
|
const exception = new models_0_1.IncompatibleImageException({
|
|
3369
3109
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3370
3110
|
...deserialized,
|
|
@@ -3373,7 +3113,7 @@ const de_IncompatibleImageExceptionRes = async (parsedOutput, context) => {
|
|
|
3373
3113
|
};
|
|
3374
3114
|
const de_InvalidAccountStatusExceptionRes = async (parsedOutput, context) => {
|
|
3375
3115
|
const body = parsedOutput.body;
|
|
3376
|
-
const deserialized =
|
|
3116
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3377
3117
|
const exception = new models_0_1.InvalidAccountStatusException({
|
|
3378
3118
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3379
3119
|
...deserialized,
|
|
@@ -3382,7 +3122,7 @@ const de_InvalidAccountStatusExceptionRes = async (parsedOutput, context) => {
|
|
|
3382
3122
|
};
|
|
3383
3123
|
const de_InvalidParameterCombinationExceptionRes = async (parsedOutput, context) => {
|
|
3384
3124
|
const body = parsedOutput.body;
|
|
3385
|
-
const deserialized =
|
|
3125
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3386
3126
|
const exception = new models_0_1.InvalidParameterCombinationException({
|
|
3387
3127
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3388
3128
|
...deserialized,
|
|
@@ -3391,7 +3131,7 @@ const de_InvalidParameterCombinationExceptionRes = async (parsedOutput, context)
|
|
|
3391
3131
|
};
|
|
3392
3132
|
const de_InvalidRoleExceptionRes = async (parsedOutput, context) => {
|
|
3393
3133
|
const body = parsedOutput.body;
|
|
3394
|
-
const deserialized =
|
|
3134
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3395
3135
|
const exception = new models_0_1.InvalidRoleException({
|
|
3396
3136
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3397
3137
|
...deserialized,
|
|
@@ -3400,7 +3140,7 @@ const de_InvalidRoleExceptionRes = async (parsedOutput, context) => {
|
|
|
3400
3140
|
};
|
|
3401
3141
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3402
3142
|
const body = parsedOutput.body;
|
|
3403
|
-
const deserialized =
|
|
3143
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3404
3144
|
const exception = new models_0_1.LimitExceededException({
|
|
3405
3145
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3406
3146
|
...deserialized,
|
|
@@ -3409,7 +3149,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
3409
3149
|
};
|
|
3410
3150
|
const de_OperationNotPermittedExceptionRes = async (parsedOutput, context) => {
|
|
3411
3151
|
const body = parsedOutput.body;
|
|
3412
|
-
const deserialized =
|
|
3152
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3413
3153
|
const exception = new models_0_1.OperationNotPermittedException({
|
|
3414
3154
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3415
3155
|
...deserialized,
|
|
@@ -3418,7 +3158,7 @@ const de_OperationNotPermittedExceptionRes = async (parsedOutput, context) => {
|
|
|
3418
3158
|
};
|
|
3419
3159
|
const de_RequestLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3420
3160
|
const body = parsedOutput.body;
|
|
3421
|
-
const deserialized =
|
|
3161
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3422
3162
|
const exception = new models_0_1.RequestLimitExceededException({
|
|
3423
3163
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3424
3164
|
...deserialized,
|
|
@@ -3427,7 +3167,7 @@ const de_RequestLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
3427
3167
|
};
|
|
3428
3168
|
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
3429
3169
|
const body = parsedOutput.body;
|
|
3430
|
-
const deserialized =
|
|
3170
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3431
3171
|
const exception = new models_0_1.ResourceAlreadyExistsException({
|
|
3432
3172
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3433
3173
|
...deserialized,
|
|
@@ -3436,7 +3176,7 @@ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
3436
3176
|
};
|
|
3437
3177
|
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
3438
3178
|
const body = parsedOutput.body;
|
|
3439
|
-
const deserialized =
|
|
3179
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3440
3180
|
const exception = new models_0_1.ResourceInUseException({
|
|
3441
3181
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3442
3182
|
...deserialized,
|
|
@@ -3445,7 +3185,7 @@ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
3445
3185
|
};
|
|
3446
3186
|
const de_ResourceNotAvailableExceptionRes = async (parsedOutput, context) => {
|
|
3447
3187
|
const body = parsedOutput.body;
|
|
3448
|
-
const deserialized =
|
|
3188
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3449
3189
|
const exception = new models_0_1.ResourceNotAvailableException({
|
|
3450
3190
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3451
3191
|
...deserialized,
|
|
@@ -3454,1966 +3194,453 @@ const de_ResourceNotAvailableExceptionRes = async (parsedOutput, context) => {
|
|
|
3454
3194
|
};
|
|
3455
3195
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3456
3196
|
const body = parsedOutput.body;
|
|
3457
|
-
const deserialized =
|
|
3197
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3458
3198
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
3459
3199
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3460
3200
|
...deserialized,
|
|
3461
3201
|
});
|
|
3462
3202
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3463
3203
|
};
|
|
3464
|
-
const
|
|
3465
|
-
return {
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
.
|
|
3473
|
-
.map((entry) => {
|
|
3474
|
-
return se_AccessEndpoint(entry, context);
|
|
3204
|
+
const de_AppBlock = (output, context) => {
|
|
3205
|
+
return (0, smithy_client_1.take)(output, {
|
|
3206
|
+
Arn: smithy_client_1.expectString,
|
|
3207
|
+
CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3208
|
+
Description: smithy_client_1.expectString,
|
|
3209
|
+
DisplayName: smithy_client_1.expectString,
|
|
3210
|
+
Name: smithy_client_1.expectString,
|
|
3211
|
+
SetupScriptDetails: smithy_client_1._json,
|
|
3212
|
+
SourceS3Location: smithy_client_1._json,
|
|
3475
3213
|
});
|
|
3476
3214
|
};
|
|
3477
|
-
const
|
|
3478
|
-
|
|
3215
|
+
const de_AppBlocks = (output, context) => {
|
|
3216
|
+
const retVal = (output || [])
|
|
3479
3217
|
.filter((e) => e != null)
|
|
3480
3218
|
.map((entry) => {
|
|
3481
|
-
return entry;
|
|
3219
|
+
return de_AppBlock(entry, context);
|
|
3482
3220
|
});
|
|
3221
|
+
return retVal;
|
|
3483
3222
|
};
|
|
3484
|
-
const
|
|
3485
|
-
return {
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3223
|
+
const de_Application = (output, context) => {
|
|
3224
|
+
return (0, smithy_client_1.take)(output, {
|
|
3225
|
+
AppBlockArn: smithy_client_1.expectString,
|
|
3226
|
+
Arn: smithy_client_1.expectString,
|
|
3227
|
+
CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3228
|
+
Description: smithy_client_1.expectString,
|
|
3229
|
+
DisplayName: smithy_client_1.expectString,
|
|
3230
|
+
Enabled: smithy_client_1.expectBoolean,
|
|
3231
|
+
IconS3Location: smithy_client_1._json,
|
|
3232
|
+
IconURL: smithy_client_1.expectString,
|
|
3233
|
+
InstanceFamilies: smithy_client_1._json,
|
|
3234
|
+
LaunchParameters: smithy_client_1.expectString,
|
|
3235
|
+
LaunchPath: smithy_client_1.expectString,
|
|
3236
|
+
Metadata: smithy_client_1._json,
|
|
3237
|
+
Name: smithy_client_1.expectString,
|
|
3238
|
+
Platforms: smithy_client_1._json,
|
|
3239
|
+
WorkingDirectory: smithy_client_1.expectString,
|
|
3240
|
+
});
|
|
3489
3241
|
};
|
|
3490
|
-
const
|
|
3491
|
-
|
|
3242
|
+
const de_Applications = (output, context) => {
|
|
3243
|
+
const retVal = (output || [])
|
|
3492
3244
|
.filter((e) => e != null)
|
|
3493
3245
|
.map((entry) => {
|
|
3494
|
-
return entry;
|
|
3246
|
+
return de_Application(entry, context);
|
|
3495
3247
|
});
|
|
3248
|
+
return retVal;
|
|
3496
3249
|
};
|
|
3497
|
-
const
|
|
3498
|
-
return {
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
};
|
|
3250
|
+
const de_CreateAppBlockResult = (output, context) => {
|
|
3251
|
+
return (0, smithy_client_1.take)(output, {
|
|
3252
|
+
AppBlock: (_) => de_AppBlock(_, context),
|
|
3253
|
+
});
|
|
3502
3254
|
};
|
|
3503
|
-
const
|
|
3504
|
-
return {
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
...(input.StackName != null && { StackName: input.StackName }),
|
|
3508
|
-
};
|
|
3255
|
+
const de_CreateApplicationResult = (output, context) => {
|
|
3256
|
+
return (0, smithy_client_1.take)(output, {
|
|
3257
|
+
Application: (_) => de_Application(_, context),
|
|
3258
|
+
});
|
|
3509
3259
|
};
|
|
3510
|
-
const
|
|
3511
|
-
return {
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
};
|
|
3260
|
+
const de_CreateDirectoryConfigResult = (output, context) => {
|
|
3261
|
+
return (0, smithy_client_1.take)(output, {
|
|
3262
|
+
DirectoryConfig: (_) => de_DirectoryConfig(_, context),
|
|
3263
|
+
});
|
|
3515
3264
|
};
|
|
3516
|
-
const
|
|
3517
|
-
return
|
|
3518
|
-
|
|
3519
|
-
.map((entry) => {
|
|
3520
|
-
return entry;
|
|
3265
|
+
const de_CreateEntitlementResult = (output, context) => {
|
|
3266
|
+
return (0, smithy_client_1.take)(output, {
|
|
3267
|
+
Entitlement: (_) => de_Entitlement(_, context),
|
|
3521
3268
|
});
|
|
3522
3269
|
};
|
|
3523
|
-
const
|
|
3524
|
-
return {
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
}),
|
|
3528
|
-
};
|
|
3270
|
+
const de_CreateFleetResult = (output, context) => {
|
|
3271
|
+
return (0, smithy_client_1.take)(output, {
|
|
3272
|
+
Fleet: (_) => de_Fleet(_, context),
|
|
3273
|
+
});
|
|
3529
3274
|
};
|
|
3530
|
-
const
|
|
3531
|
-
return {
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
}),
|
|
3535
|
-
};
|
|
3275
|
+
const de_CreateImageBuilderResult = (output, context) => {
|
|
3276
|
+
return (0, smithy_client_1.take)(output, {
|
|
3277
|
+
ImageBuilder: (_) => de_ImageBuilder(_, context),
|
|
3278
|
+
});
|
|
3536
3279
|
};
|
|
3537
|
-
const
|
|
3538
|
-
return {
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
};
|
|
3280
|
+
const de_CreateImageBuilderStreamingURLResult = (output, context) => {
|
|
3281
|
+
return (0, smithy_client_1.take)(output, {
|
|
3282
|
+
Expires: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3283
|
+
StreamingURL: smithy_client_1.expectString,
|
|
3284
|
+
});
|
|
3542
3285
|
};
|
|
3543
|
-
const
|
|
3544
|
-
return {
|
|
3545
|
-
|
|
3546
|
-
};
|
|
3286
|
+
const de_CreateStackResult = (output, context) => {
|
|
3287
|
+
return (0, smithy_client_1.take)(output, {
|
|
3288
|
+
Stack: (_) => de_Stack(_, context),
|
|
3289
|
+
});
|
|
3547
3290
|
};
|
|
3548
|
-
const
|
|
3549
|
-
return {
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
...(input.DestinationImageName != null && { DestinationImageName: input.DestinationImageName }),
|
|
3554
|
-
...(input.DestinationRegion != null && { DestinationRegion: input.DestinationRegion }),
|
|
3555
|
-
...(input.SourceImageName != null && { SourceImageName: input.SourceImageName }),
|
|
3556
|
-
};
|
|
3291
|
+
const de_CreateStreamingURLResult = (output, context) => {
|
|
3292
|
+
return (0, smithy_client_1.take)(output, {
|
|
3293
|
+
Expires: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3294
|
+
StreamingURL: smithy_client_1.expectString,
|
|
3295
|
+
});
|
|
3557
3296
|
};
|
|
3558
|
-
const
|
|
3559
|
-
return {
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
...(input.SetupScriptDetails != null && {
|
|
3564
|
-
SetupScriptDetails: se_ScriptDetails(input.SetupScriptDetails, context),
|
|
3565
|
-
}),
|
|
3566
|
-
...(input.SourceS3Location != null && { SourceS3Location: se_S3Location(input.SourceS3Location, context) }),
|
|
3567
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3568
|
-
};
|
|
3297
|
+
const de_CreateUpdatedImageResult = (output, context) => {
|
|
3298
|
+
return (0, smithy_client_1.take)(output, {
|
|
3299
|
+
canUpdateImage: smithy_client_1.expectBoolean,
|
|
3300
|
+
image: (_) => de_Image(_, context),
|
|
3301
|
+
});
|
|
3569
3302
|
};
|
|
3570
|
-
const
|
|
3571
|
-
return {
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
...(input.DisplayName != null && { DisplayName: input.DisplayName }),
|
|
3575
|
-
...(input.IconS3Location != null && { IconS3Location: se_S3Location(input.IconS3Location, context) }),
|
|
3576
|
-
...(input.InstanceFamilies != null && { InstanceFamilies: se_StringList(input.InstanceFamilies, context) }),
|
|
3577
|
-
...(input.LaunchParameters != null && { LaunchParameters: input.LaunchParameters }),
|
|
3578
|
-
...(input.LaunchPath != null && { LaunchPath: input.LaunchPath }),
|
|
3579
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3580
|
-
...(input.Platforms != null && { Platforms: se_Platforms(input.Platforms, context) }),
|
|
3581
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3582
|
-
...(input.WorkingDirectory != null && { WorkingDirectory: input.WorkingDirectory }),
|
|
3583
|
-
};
|
|
3584
|
-
};
|
|
3585
|
-
const se_CreateDirectoryConfigRequest = (input, context) => {
|
|
3586
|
-
return {
|
|
3587
|
-
...(input.CertificateBasedAuthProperties != null && {
|
|
3588
|
-
CertificateBasedAuthProperties: se_CertificateBasedAuthProperties(input.CertificateBasedAuthProperties, context),
|
|
3589
|
-
}),
|
|
3590
|
-
...(input.DirectoryName != null && { DirectoryName: input.DirectoryName }),
|
|
3591
|
-
...(input.OrganizationalUnitDistinguishedNames != null && {
|
|
3592
|
-
OrganizationalUnitDistinguishedNames: se_OrganizationalUnitDistinguishedNamesList(input.OrganizationalUnitDistinguishedNames, context),
|
|
3593
|
-
}),
|
|
3594
|
-
...(input.ServiceAccountCredentials != null && {
|
|
3595
|
-
ServiceAccountCredentials: se_ServiceAccountCredentials(input.ServiceAccountCredentials, context),
|
|
3596
|
-
}),
|
|
3597
|
-
};
|
|
3598
|
-
};
|
|
3599
|
-
const se_CreateEntitlementRequest = (input, context) => {
|
|
3600
|
-
return {
|
|
3601
|
-
...(input.AppVisibility != null && { AppVisibility: input.AppVisibility }),
|
|
3602
|
-
...(input.Attributes != null && { Attributes: se_EntitlementAttributeList(input.Attributes, context) }),
|
|
3603
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3604
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3605
|
-
...(input.StackName != null && { StackName: input.StackName }),
|
|
3606
|
-
};
|
|
3303
|
+
const de_DeleteImageBuilderResult = (output, context) => {
|
|
3304
|
+
return (0, smithy_client_1.take)(output, {
|
|
3305
|
+
ImageBuilder: (_) => de_ImageBuilder(_, context),
|
|
3306
|
+
});
|
|
3607
3307
|
};
|
|
3608
|
-
const
|
|
3609
|
-
return {
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
...(input.DisconnectTimeoutInSeconds != null && { DisconnectTimeoutInSeconds: input.DisconnectTimeoutInSeconds }),
|
|
3613
|
-
...(input.DisplayName != null && { DisplayName: input.DisplayName }),
|
|
3614
|
-
...(input.DomainJoinInfo != null && { DomainJoinInfo: se_DomainJoinInfo(input.DomainJoinInfo, context) }),
|
|
3615
|
-
...(input.EnableDefaultInternetAccess != null && {
|
|
3616
|
-
EnableDefaultInternetAccess: input.EnableDefaultInternetAccess,
|
|
3617
|
-
}),
|
|
3618
|
-
...(input.FleetType != null && { FleetType: input.FleetType }),
|
|
3619
|
-
...(input.IamRoleArn != null && { IamRoleArn: input.IamRoleArn }),
|
|
3620
|
-
...(input.IdleDisconnectTimeoutInSeconds != null && {
|
|
3621
|
-
IdleDisconnectTimeoutInSeconds: input.IdleDisconnectTimeoutInSeconds,
|
|
3622
|
-
}),
|
|
3623
|
-
...(input.ImageArn != null && { ImageArn: input.ImageArn }),
|
|
3624
|
-
...(input.ImageName != null && { ImageName: input.ImageName }),
|
|
3625
|
-
...(input.InstanceType != null && { InstanceType: input.InstanceType }),
|
|
3626
|
-
...(input.MaxConcurrentSessions != null && { MaxConcurrentSessions: input.MaxConcurrentSessions }),
|
|
3627
|
-
...(input.MaxUserDurationInSeconds != null && { MaxUserDurationInSeconds: input.MaxUserDurationInSeconds }),
|
|
3628
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3629
|
-
...(input.Platform != null && { Platform: input.Platform }),
|
|
3630
|
-
...(input.SessionScriptS3Location != null && {
|
|
3631
|
-
SessionScriptS3Location: se_S3Location(input.SessionScriptS3Location, context),
|
|
3632
|
-
}),
|
|
3633
|
-
...(input.StreamView != null && { StreamView: input.StreamView }),
|
|
3634
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3635
|
-
...(input.UsbDeviceFilterStrings != null && {
|
|
3636
|
-
UsbDeviceFilterStrings: se_UsbDeviceFilterStrings(input.UsbDeviceFilterStrings, context),
|
|
3637
|
-
}),
|
|
3638
|
-
...(input.VpcConfig != null && { VpcConfig: se_VpcConfig(input.VpcConfig, context) }),
|
|
3639
|
-
};
|
|
3640
|
-
};
|
|
3641
|
-
const se_CreateImageBuilderRequest = (input, context) => {
|
|
3642
|
-
return {
|
|
3643
|
-
...(input.AccessEndpoints != null && { AccessEndpoints: se_AccessEndpointList(input.AccessEndpoints, context) }),
|
|
3644
|
-
...(input.AppstreamAgentVersion != null && { AppstreamAgentVersion: input.AppstreamAgentVersion }),
|
|
3645
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3646
|
-
...(input.DisplayName != null && { DisplayName: input.DisplayName }),
|
|
3647
|
-
...(input.DomainJoinInfo != null && { DomainJoinInfo: se_DomainJoinInfo(input.DomainJoinInfo, context) }),
|
|
3648
|
-
...(input.EnableDefaultInternetAccess != null && {
|
|
3649
|
-
EnableDefaultInternetAccess: input.EnableDefaultInternetAccess,
|
|
3650
|
-
}),
|
|
3651
|
-
...(input.IamRoleArn != null && { IamRoleArn: input.IamRoleArn }),
|
|
3652
|
-
...(input.ImageArn != null && { ImageArn: input.ImageArn }),
|
|
3653
|
-
...(input.ImageName != null && { ImageName: input.ImageName }),
|
|
3654
|
-
...(input.InstanceType != null && { InstanceType: input.InstanceType }),
|
|
3655
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3656
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3657
|
-
...(input.VpcConfig != null && { VpcConfig: se_VpcConfig(input.VpcConfig, context) }),
|
|
3658
|
-
};
|
|
3659
|
-
};
|
|
3660
|
-
const se_CreateImageBuilderStreamingURLRequest = (input, context) => {
|
|
3661
|
-
return {
|
|
3662
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3663
|
-
...(input.Validity != null && { Validity: input.Validity }),
|
|
3664
|
-
};
|
|
3308
|
+
const de_DeleteImageResult = (output, context) => {
|
|
3309
|
+
return (0, smithy_client_1.take)(output, {
|
|
3310
|
+
Image: (_) => de_Image(_, context),
|
|
3311
|
+
});
|
|
3665
3312
|
};
|
|
3666
|
-
const
|
|
3667
|
-
return {
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
}),
|
|
3672
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3673
|
-
...(input.DisplayName != null && { DisplayName: input.DisplayName }),
|
|
3674
|
-
...(input.EmbedHostDomains != null && { EmbedHostDomains: se_EmbedHostDomains(input.EmbedHostDomains, context) }),
|
|
3675
|
-
...(input.FeedbackURL != null && { FeedbackURL: input.FeedbackURL }),
|
|
3676
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3677
|
-
...(input.RedirectURL != null && { RedirectURL: input.RedirectURL }),
|
|
3678
|
-
...(input.StorageConnectors != null && {
|
|
3679
|
-
StorageConnectors: se_StorageConnectorList(input.StorageConnectors, context),
|
|
3680
|
-
}),
|
|
3681
|
-
...(input.StreamingExperienceSettings != null && {
|
|
3682
|
-
StreamingExperienceSettings: se_StreamingExperienceSettings(input.StreamingExperienceSettings, context),
|
|
3683
|
-
}),
|
|
3684
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3685
|
-
...(input.UserSettings != null && { UserSettings: se_UserSettingList(input.UserSettings, context) }),
|
|
3686
|
-
};
|
|
3687
|
-
};
|
|
3688
|
-
const se_CreateStreamingURLRequest = (input, context) => {
|
|
3689
|
-
return {
|
|
3690
|
-
...(input.ApplicationId != null && { ApplicationId: input.ApplicationId }),
|
|
3691
|
-
...(input.FleetName != null && { FleetName: input.FleetName }),
|
|
3692
|
-
...(input.SessionContext != null && { SessionContext: input.SessionContext }),
|
|
3693
|
-
...(input.StackName != null && { StackName: input.StackName }),
|
|
3694
|
-
...(input.UserId != null && { UserId: input.UserId }),
|
|
3695
|
-
...(input.Validity != null && { Validity: input.Validity }),
|
|
3696
|
-
};
|
|
3313
|
+
const de_DescribeAppBlocksResult = (output, context) => {
|
|
3314
|
+
return (0, smithy_client_1.take)(output, {
|
|
3315
|
+
AppBlocks: (_) => de_AppBlocks(_, context),
|
|
3316
|
+
NextToken: smithy_client_1.expectString,
|
|
3317
|
+
});
|
|
3697
3318
|
};
|
|
3698
|
-
const
|
|
3699
|
-
return {
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
...(input.newImageDisplayName != null && { newImageDisplayName: input.newImageDisplayName }),
|
|
3704
|
-
...(input.newImageName != null && { newImageName: input.newImageName }),
|
|
3705
|
-
...(input.newImageTags != null && { newImageTags: se_Tags(input.newImageTags, context) }),
|
|
3706
|
-
};
|
|
3319
|
+
const de_DescribeApplicationsResult = (output, context) => {
|
|
3320
|
+
return (0, smithy_client_1.take)(output, {
|
|
3321
|
+
Applications: (_) => de_Applications(_, context),
|
|
3322
|
+
NextToken: smithy_client_1.expectString,
|
|
3323
|
+
});
|
|
3707
3324
|
};
|
|
3708
|
-
const
|
|
3709
|
-
return {
|
|
3325
|
+
const de_DescribeDirectoryConfigsResult = (output, context) => {
|
|
3326
|
+
return (0, smithy_client_1.take)(output, {
|
|
3327
|
+
DirectoryConfigs: (_) => de_DirectoryConfigList(_, context),
|
|
3328
|
+
NextToken: smithy_client_1.expectString,
|
|
3329
|
+
});
|
|
3710
3330
|
};
|
|
3711
|
-
const
|
|
3712
|
-
return {
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
...(input.MessageAction != null && { MessageAction: input.MessageAction }),
|
|
3717
|
-
...(input.UserName != null && { UserName: input.UserName }),
|
|
3718
|
-
};
|
|
3331
|
+
const de_DescribeEntitlementsResult = (output, context) => {
|
|
3332
|
+
return (0, smithy_client_1.take)(output, {
|
|
3333
|
+
Entitlements: (_) => de_EntitlementList(_, context),
|
|
3334
|
+
NextToken: smithy_client_1.expectString,
|
|
3335
|
+
});
|
|
3719
3336
|
};
|
|
3720
|
-
const
|
|
3721
|
-
return {
|
|
3722
|
-
|
|
3723
|
-
|
|
3337
|
+
const de_DescribeFleetsResult = (output, context) => {
|
|
3338
|
+
return (0, smithy_client_1.take)(output, {
|
|
3339
|
+
Fleets: (_) => de_FleetList(_, context),
|
|
3340
|
+
NextToken: smithy_client_1.expectString,
|
|
3341
|
+
});
|
|
3724
3342
|
};
|
|
3725
|
-
const
|
|
3726
|
-
return {
|
|
3727
|
-
|
|
3728
|
-
|
|
3343
|
+
const de_DescribeImageBuildersResult = (output, context) => {
|
|
3344
|
+
return (0, smithy_client_1.take)(output, {
|
|
3345
|
+
ImageBuilders: (_) => de_ImageBuilderList(_, context),
|
|
3346
|
+
NextToken: smithy_client_1.expectString,
|
|
3347
|
+
});
|
|
3729
3348
|
};
|
|
3730
|
-
const
|
|
3731
|
-
return {
|
|
3732
|
-
|
|
3733
|
-
|
|
3349
|
+
const de_DescribeImagesResult = (output, context) => {
|
|
3350
|
+
return (0, smithy_client_1.take)(output, {
|
|
3351
|
+
Images: (_) => de_ImageList(_, context),
|
|
3352
|
+
NextToken: smithy_client_1.expectString,
|
|
3353
|
+
});
|
|
3734
3354
|
};
|
|
3735
|
-
const
|
|
3736
|
-
return {
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
};
|
|
3355
|
+
const de_DescribeSessionsResult = (output, context) => {
|
|
3356
|
+
return (0, smithy_client_1.take)(output, {
|
|
3357
|
+
NextToken: smithy_client_1.expectString,
|
|
3358
|
+
Sessions: (_) => de_SessionList(_, context),
|
|
3359
|
+
});
|
|
3740
3360
|
};
|
|
3741
|
-
const
|
|
3742
|
-
return {
|
|
3743
|
-
|
|
3744
|
-
|
|
3361
|
+
const de_DescribeStacksResult = (output, context) => {
|
|
3362
|
+
return (0, smithy_client_1.take)(output, {
|
|
3363
|
+
NextToken: smithy_client_1.expectString,
|
|
3364
|
+
Stacks: (_) => de_StackList(_, context),
|
|
3365
|
+
});
|
|
3745
3366
|
};
|
|
3746
|
-
const
|
|
3747
|
-
return {
|
|
3748
|
-
|
|
3749
|
-
|
|
3367
|
+
const de_DescribeUsageReportSubscriptionsResult = (output, context) => {
|
|
3368
|
+
return (0, smithy_client_1.take)(output, {
|
|
3369
|
+
NextToken: smithy_client_1.expectString,
|
|
3370
|
+
UsageReportSubscriptions: (_) => de_UsageReportSubscriptionList(_, context),
|
|
3371
|
+
});
|
|
3750
3372
|
};
|
|
3751
|
-
const
|
|
3752
|
-
return {
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
};
|
|
3373
|
+
const de_DescribeUsersResult = (output, context) => {
|
|
3374
|
+
return (0, smithy_client_1.take)(output, {
|
|
3375
|
+
NextToken: smithy_client_1.expectString,
|
|
3376
|
+
Users: (_) => de_UserList(_, context),
|
|
3377
|
+
});
|
|
3756
3378
|
};
|
|
3757
|
-
const
|
|
3758
|
-
return {
|
|
3759
|
-
|
|
3760
|
-
|
|
3379
|
+
const de_DirectoryConfig = (output, context) => {
|
|
3380
|
+
return (0, smithy_client_1.take)(output, {
|
|
3381
|
+
CertificateBasedAuthProperties: smithy_client_1._json,
|
|
3382
|
+
CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3383
|
+
DirectoryName: smithy_client_1.expectString,
|
|
3384
|
+
OrganizationalUnitDistinguishedNames: smithy_client_1._json,
|
|
3385
|
+
ServiceAccountCredentials: smithy_client_1._json,
|
|
3386
|
+
});
|
|
3761
3387
|
};
|
|
3762
|
-
const
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3388
|
+
const de_DirectoryConfigList = (output, context) => {
|
|
3389
|
+
const retVal = (output || [])
|
|
3390
|
+
.filter((e) => e != null)
|
|
3391
|
+
.map((entry) => {
|
|
3392
|
+
return de_DirectoryConfig(entry, context);
|
|
3393
|
+
});
|
|
3394
|
+
return retVal;
|
|
3766
3395
|
};
|
|
3767
|
-
const
|
|
3768
|
-
return {
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
return {
|
|
3778
|
-
...(input.Arns != null && { Arns: se_ArnList(input.Arns, context) }),
|
|
3779
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3780
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3781
|
-
};
|
|
3782
|
-
};
|
|
3783
|
-
const se_DescribeApplicationFleetAssociationsRequest = (input, context) => {
|
|
3784
|
-
return {
|
|
3785
|
-
...(input.ApplicationArn != null && { ApplicationArn: input.ApplicationArn }),
|
|
3786
|
-
...(input.FleetName != null && { FleetName: input.FleetName }),
|
|
3787
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3788
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3789
|
-
};
|
|
3790
|
-
};
|
|
3791
|
-
const se_DescribeApplicationsRequest = (input, context) => {
|
|
3792
|
-
return {
|
|
3793
|
-
...(input.Arns != null && { Arns: se_ArnList(input.Arns, context) }),
|
|
3794
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3795
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3796
|
-
};
|
|
3797
|
-
};
|
|
3798
|
-
const se_DescribeDirectoryConfigsRequest = (input, context) => {
|
|
3799
|
-
return {
|
|
3800
|
-
...(input.DirectoryNames != null && { DirectoryNames: se_DirectoryNameList(input.DirectoryNames, context) }),
|
|
3801
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3802
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3803
|
-
};
|
|
3804
|
-
};
|
|
3805
|
-
const se_DescribeEntitlementsRequest = (input, context) => {
|
|
3806
|
-
return {
|
|
3807
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3808
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3809
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3810
|
-
...(input.StackName != null && { StackName: input.StackName }),
|
|
3811
|
-
};
|
|
3812
|
-
};
|
|
3813
|
-
const se_DescribeFleetsRequest = (input, context) => {
|
|
3814
|
-
return {
|
|
3815
|
-
...(input.Names != null && { Names: se_StringList(input.Names, context) }),
|
|
3816
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3817
|
-
};
|
|
3818
|
-
};
|
|
3819
|
-
const se_DescribeImageBuildersRequest = (input, context) => {
|
|
3820
|
-
return {
|
|
3821
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3822
|
-
...(input.Names != null && { Names: se_StringList(input.Names, context) }),
|
|
3823
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3824
|
-
};
|
|
3825
|
-
};
|
|
3826
|
-
const se_DescribeImagePermissionsRequest = (input, context) => {
|
|
3827
|
-
return {
|
|
3828
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3829
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3830
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3831
|
-
...(input.SharedAwsAccountIds != null && {
|
|
3832
|
-
SharedAwsAccountIds: se_AwsAccountIdList(input.SharedAwsAccountIds, context),
|
|
3833
|
-
}),
|
|
3834
|
-
};
|
|
3835
|
-
};
|
|
3836
|
-
const se_DescribeImagesRequest = (input, context) => {
|
|
3837
|
-
return {
|
|
3838
|
-
...(input.Arns != null && { Arns: se_ArnList(input.Arns, context) }),
|
|
3839
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3840
|
-
...(input.Names != null && { Names: se_StringList(input.Names, context) }),
|
|
3841
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3842
|
-
...(input.Type != null && { Type: input.Type }),
|
|
3843
|
-
};
|
|
3844
|
-
};
|
|
3845
|
-
const se_DescribeSessionsRequest = (input, context) => {
|
|
3846
|
-
return {
|
|
3847
|
-
...(input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType }),
|
|
3848
|
-
...(input.FleetName != null && { FleetName: input.FleetName }),
|
|
3849
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
3850
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3851
|
-
...(input.StackName != null && { StackName: input.StackName }),
|
|
3852
|
-
...(input.UserId != null && { UserId: input.UserId }),
|
|
3853
|
-
};
|
|
3854
|
-
};
|
|
3855
|
-
const se_DescribeStacksRequest = (input, context) => {
|
|
3856
|
-
return {
|
|
3857
|
-
...(input.Names != null && { Names: se_StringList(input.Names, context) }),
|
|
3858
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3859
|
-
};
|
|
3860
|
-
};
|
|
3861
|
-
const se_DescribeUsageReportSubscriptionsRequest = (input, context) => {
|
|
3862
|
-
return {
|
|
3863
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3864
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3865
|
-
};
|
|
3866
|
-
};
|
|
3867
|
-
const se_DescribeUsersRequest = (input, context) => {
|
|
3868
|
-
return {
|
|
3869
|
-
...(input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType }),
|
|
3870
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3871
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3872
|
-
};
|
|
3873
|
-
};
|
|
3874
|
-
const se_DescribeUserStackAssociationsRequest = (input, context) => {
|
|
3875
|
-
return {
|
|
3876
|
-
...(input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType }),
|
|
3877
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3878
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3879
|
-
...(input.StackName != null && { StackName: input.StackName }),
|
|
3880
|
-
...(input.UserName != null && { UserName: input.UserName }),
|
|
3881
|
-
};
|
|
3882
|
-
};
|
|
3883
|
-
const se_DirectoryNameList = (input, context) => {
|
|
3884
|
-
return input
|
|
3885
|
-
.filter((e) => e != null)
|
|
3886
|
-
.map((entry) => {
|
|
3887
|
-
return entry;
|
|
3888
|
-
});
|
|
3889
|
-
};
|
|
3890
|
-
const se_DisableUserRequest = (input, context) => {
|
|
3891
|
-
return {
|
|
3892
|
-
...(input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType }),
|
|
3893
|
-
...(input.UserName != null && { UserName: input.UserName }),
|
|
3894
|
-
};
|
|
3895
|
-
};
|
|
3896
|
-
const se_DisassociateApplicationFleetRequest = (input, context) => {
|
|
3897
|
-
return {
|
|
3898
|
-
...(input.ApplicationArn != null && { ApplicationArn: input.ApplicationArn }),
|
|
3899
|
-
...(input.FleetName != null && { FleetName: input.FleetName }),
|
|
3900
|
-
};
|
|
3901
|
-
};
|
|
3902
|
-
const se_DisassociateApplicationFromEntitlementRequest = (input, context) => {
|
|
3903
|
-
return {
|
|
3904
|
-
...(input.ApplicationIdentifier != null && { ApplicationIdentifier: input.ApplicationIdentifier }),
|
|
3905
|
-
...(input.EntitlementName != null && { EntitlementName: input.EntitlementName }),
|
|
3906
|
-
...(input.StackName != null && { StackName: input.StackName }),
|
|
3907
|
-
};
|
|
3908
|
-
};
|
|
3909
|
-
const se_DisassociateFleetRequest = (input, context) => {
|
|
3910
|
-
return {
|
|
3911
|
-
...(input.FleetName != null && { FleetName: input.FleetName }),
|
|
3912
|
-
...(input.StackName != null && { StackName: input.StackName }),
|
|
3913
|
-
};
|
|
3914
|
-
};
|
|
3915
|
-
const se_DomainJoinInfo = (input, context) => {
|
|
3916
|
-
return {
|
|
3917
|
-
...(input.DirectoryName != null && { DirectoryName: input.DirectoryName }),
|
|
3918
|
-
...(input.OrganizationalUnitDistinguishedName != null && {
|
|
3919
|
-
OrganizationalUnitDistinguishedName: input.OrganizationalUnitDistinguishedName,
|
|
3920
|
-
}),
|
|
3921
|
-
};
|
|
3922
|
-
};
|
|
3923
|
-
const se_DomainList = (input, context) => {
|
|
3924
|
-
return input
|
|
3925
|
-
.filter((e) => e != null)
|
|
3926
|
-
.map((entry) => {
|
|
3927
|
-
return entry;
|
|
3928
|
-
});
|
|
3929
|
-
};
|
|
3930
|
-
const se_EmbedHostDomains = (input, context) => {
|
|
3931
|
-
return input
|
|
3932
|
-
.filter((e) => e != null)
|
|
3933
|
-
.map((entry) => {
|
|
3934
|
-
return entry;
|
|
3935
|
-
});
|
|
3936
|
-
};
|
|
3937
|
-
const se_EnableUserRequest = (input, context) => {
|
|
3938
|
-
return {
|
|
3939
|
-
...(input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType }),
|
|
3940
|
-
...(input.UserName != null && { UserName: input.UserName }),
|
|
3941
|
-
};
|
|
3942
|
-
};
|
|
3943
|
-
const se_EntitlementAttribute = (input, context) => {
|
|
3944
|
-
return {
|
|
3945
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3946
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3947
|
-
};
|
|
3948
|
-
};
|
|
3949
|
-
const se_EntitlementAttributeList = (input, context) => {
|
|
3950
|
-
return input
|
|
3951
|
-
.filter((e) => e != null)
|
|
3952
|
-
.map((entry) => {
|
|
3953
|
-
return se_EntitlementAttribute(entry, context);
|
|
3954
|
-
});
|
|
3955
|
-
};
|
|
3956
|
-
const se_ExpireSessionRequest = (input, context) => {
|
|
3957
|
-
return {
|
|
3958
|
-
...(input.SessionId != null && { SessionId: input.SessionId }),
|
|
3959
|
-
};
|
|
3960
|
-
};
|
|
3961
|
-
const se_FleetAttributes = (input, context) => {
|
|
3962
|
-
return input
|
|
3963
|
-
.filter((e) => e != null)
|
|
3964
|
-
.map((entry) => {
|
|
3965
|
-
return entry;
|
|
3966
|
-
});
|
|
3967
|
-
};
|
|
3968
|
-
const se_ImagePermissions = (input, context) => {
|
|
3969
|
-
return {
|
|
3970
|
-
...(input.allowFleet != null && { allowFleet: input.allowFleet }),
|
|
3971
|
-
...(input.allowImageBuilder != null && { allowImageBuilder: input.allowImageBuilder }),
|
|
3972
|
-
};
|
|
3973
|
-
};
|
|
3974
|
-
const se_ListAssociatedFleetsRequest = (input, context) => {
|
|
3975
|
-
return {
|
|
3976
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3977
|
-
...(input.StackName != null && { StackName: input.StackName }),
|
|
3978
|
-
};
|
|
3979
|
-
};
|
|
3980
|
-
const se_ListAssociatedStacksRequest = (input, context) => {
|
|
3981
|
-
return {
|
|
3982
|
-
...(input.FleetName != null && { FleetName: input.FleetName }),
|
|
3983
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3984
|
-
};
|
|
3985
|
-
};
|
|
3986
|
-
const se_ListEntitledApplicationsRequest = (input, context) => {
|
|
3987
|
-
return {
|
|
3988
|
-
...(input.EntitlementName != null && { EntitlementName: input.EntitlementName }),
|
|
3989
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3990
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3991
|
-
...(input.StackName != null && { StackName: input.StackName }),
|
|
3992
|
-
};
|
|
3993
|
-
};
|
|
3994
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
3995
|
-
return {
|
|
3996
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3997
|
-
};
|
|
3998
|
-
};
|
|
3999
|
-
const se_OrganizationalUnitDistinguishedNamesList = (input, context) => {
|
|
4000
|
-
return input
|
|
4001
|
-
.filter((e) => e != null)
|
|
4002
|
-
.map((entry) => {
|
|
4003
|
-
return entry;
|
|
4004
|
-
});
|
|
4005
|
-
};
|
|
4006
|
-
const se_Platforms = (input, context) => {
|
|
4007
|
-
return input
|
|
4008
|
-
.filter((e) => e != null)
|
|
4009
|
-
.map((entry) => {
|
|
4010
|
-
return entry;
|
|
4011
|
-
});
|
|
4012
|
-
};
|
|
4013
|
-
const se_S3Location = (input, context) => {
|
|
4014
|
-
return {
|
|
4015
|
-
...(input.S3Bucket != null && { S3Bucket: input.S3Bucket }),
|
|
4016
|
-
...(input.S3Key != null && { S3Key: input.S3Key }),
|
|
4017
|
-
};
|
|
4018
|
-
};
|
|
4019
|
-
const se_ScriptDetails = (input, context) => {
|
|
4020
|
-
return {
|
|
4021
|
-
...(input.ExecutableParameters != null && { ExecutableParameters: input.ExecutableParameters }),
|
|
4022
|
-
...(input.ExecutablePath != null && { ExecutablePath: input.ExecutablePath }),
|
|
4023
|
-
...(input.ScriptS3Location != null && { ScriptS3Location: se_S3Location(input.ScriptS3Location, context) }),
|
|
4024
|
-
...(input.TimeoutInSeconds != null && { TimeoutInSeconds: input.TimeoutInSeconds }),
|
|
4025
|
-
};
|
|
4026
|
-
};
|
|
4027
|
-
const se_SecurityGroupIdList = (input, context) => {
|
|
4028
|
-
return input
|
|
4029
|
-
.filter((e) => e != null)
|
|
4030
|
-
.map((entry) => {
|
|
4031
|
-
return entry;
|
|
4032
|
-
});
|
|
4033
|
-
};
|
|
4034
|
-
const se_ServiceAccountCredentials = (input, context) => {
|
|
4035
|
-
return {
|
|
4036
|
-
...(input.AccountName != null && { AccountName: input.AccountName }),
|
|
4037
|
-
...(input.AccountPassword != null && { AccountPassword: input.AccountPassword }),
|
|
4038
|
-
};
|
|
4039
|
-
};
|
|
4040
|
-
const se_StackAttributes = (input, context) => {
|
|
4041
|
-
return input
|
|
4042
|
-
.filter((e) => e != null)
|
|
4043
|
-
.map((entry) => {
|
|
4044
|
-
return entry;
|
|
4045
|
-
});
|
|
4046
|
-
};
|
|
4047
|
-
const se_StartFleetRequest = (input, context) => {
|
|
4048
|
-
return {
|
|
4049
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4050
|
-
};
|
|
4051
|
-
};
|
|
4052
|
-
const se_StartImageBuilderRequest = (input, context) => {
|
|
4053
|
-
return {
|
|
4054
|
-
...(input.AppstreamAgentVersion != null && { AppstreamAgentVersion: input.AppstreamAgentVersion }),
|
|
4055
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4056
|
-
};
|
|
4057
|
-
};
|
|
4058
|
-
const se_StopFleetRequest = (input, context) => {
|
|
4059
|
-
return {
|
|
4060
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4061
|
-
};
|
|
4062
|
-
};
|
|
4063
|
-
const se_StopImageBuilderRequest = (input, context) => {
|
|
4064
|
-
return {
|
|
4065
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4066
|
-
};
|
|
4067
|
-
};
|
|
4068
|
-
const se_StorageConnector = (input, context) => {
|
|
4069
|
-
return {
|
|
4070
|
-
...(input.ConnectorType != null && { ConnectorType: input.ConnectorType }),
|
|
4071
|
-
...(input.Domains != null && { Domains: se_DomainList(input.Domains, context) }),
|
|
4072
|
-
...(input.ResourceIdentifier != null && { ResourceIdentifier: input.ResourceIdentifier }),
|
|
4073
|
-
};
|
|
4074
|
-
};
|
|
4075
|
-
const se_StorageConnectorList = (input, context) => {
|
|
4076
|
-
return input
|
|
4077
|
-
.filter((e) => e != null)
|
|
4078
|
-
.map((entry) => {
|
|
4079
|
-
return se_StorageConnector(entry, context);
|
|
4080
|
-
});
|
|
4081
|
-
};
|
|
4082
|
-
const se_StreamingExperienceSettings = (input, context) => {
|
|
4083
|
-
return {
|
|
4084
|
-
...(input.PreferredProtocol != null && { PreferredProtocol: input.PreferredProtocol }),
|
|
4085
|
-
};
|
|
4086
|
-
};
|
|
4087
|
-
const se_StringList = (input, context) => {
|
|
4088
|
-
return input
|
|
4089
|
-
.filter((e) => e != null)
|
|
4090
|
-
.map((entry) => {
|
|
4091
|
-
return entry;
|
|
4092
|
-
});
|
|
4093
|
-
};
|
|
4094
|
-
const se_SubnetIdList = (input, context) => {
|
|
4095
|
-
return input
|
|
4096
|
-
.filter((e) => e != null)
|
|
4097
|
-
.map((entry) => {
|
|
4098
|
-
return entry;
|
|
4099
|
-
});
|
|
4100
|
-
};
|
|
4101
|
-
const se_TagKeyList = (input, context) => {
|
|
4102
|
-
return input
|
|
4103
|
-
.filter((e) => e != null)
|
|
4104
|
-
.map((entry) => {
|
|
4105
|
-
return entry;
|
|
4106
|
-
});
|
|
4107
|
-
};
|
|
4108
|
-
const se_TagResourceRequest = (input, context) => {
|
|
4109
|
-
return {
|
|
4110
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4111
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
4112
|
-
};
|
|
4113
|
-
};
|
|
4114
|
-
const se_Tags = (input, context) => {
|
|
4115
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
4116
|
-
if (value === null) {
|
|
4117
|
-
return acc;
|
|
4118
|
-
}
|
|
4119
|
-
acc[key] = value;
|
|
4120
|
-
return acc;
|
|
4121
|
-
}, {});
|
|
4122
|
-
};
|
|
4123
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
4124
|
-
return {
|
|
4125
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4126
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
4127
|
-
};
|
|
4128
|
-
};
|
|
4129
|
-
const se_UpdateApplicationRequest = (input, context) => {
|
|
4130
|
-
return {
|
|
4131
|
-
...(input.AppBlockArn != null && { AppBlockArn: input.AppBlockArn }),
|
|
4132
|
-
...(input.AttributesToDelete != null && {
|
|
4133
|
-
AttributesToDelete: se_ApplicationAttributes(input.AttributesToDelete, context),
|
|
4134
|
-
}),
|
|
4135
|
-
...(input.Description != null && { Description: input.Description }),
|
|
4136
|
-
...(input.DisplayName != null && { DisplayName: input.DisplayName }),
|
|
4137
|
-
...(input.IconS3Location != null && { IconS3Location: se_S3Location(input.IconS3Location, context) }),
|
|
4138
|
-
...(input.LaunchParameters != null && { LaunchParameters: input.LaunchParameters }),
|
|
4139
|
-
...(input.LaunchPath != null && { LaunchPath: input.LaunchPath }),
|
|
4140
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4141
|
-
...(input.WorkingDirectory != null && { WorkingDirectory: input.WorkingDirectory }),
|
|
4142
|
-
};
|
|
4143
|
-
};
|
|
4144
|
-
const se_UpdateDirectoryConfigRequest = (input, context) => {
|
|
4145
|
-
return {
|
|
4146
|
-
...(input.CertificateBasedAuthProperties != null && {
|
|
4147
|
-
CertificateBasedAuthProperties: se_CertificateBasedAuthProperties(input.CertificateBasedAuthProperties, context),
|
|
4148
|
-
}),
|
|
4149
|
-
...(input.DirectoryName != null && { DirectoryName: input.DirectoryName }),
|
|
4150
|
-
...(input.OrganizationalUnitDistinguishedNames != null && {
|
|
4151
|
-
OrganizationalUnitDistinguishedNames: se_OrganizationalUnitDistinguishedNamesList(input.OrganizationalUnitDistinguishedNames, context),
|
|
4152
|
-
}),
|
|
4153
|
-
...(input.ServiceAccountCredentials != null && {
|
|
4154
|
-
ServiceAccountCredentials: se_ServiceAccountCredentials(input.ServiceAccountCredentials, context),
|
|
4155
|
-
}),
|
|
4156
|
-
};
|
|
4157
|
-
};
|
|
4158
|
-
const se_UpdateEntitlementRequest = (input, context) => {
|
|
4159
|
-
return {
|
|
4160
|
-
...(input.AppVisibility != null && { AppVisibility: input.AppVisibility }),
|
|
4161
|
-
...(input.Attributes != null && { Attributes: se_EntitlementAttributeList(input.Attributes, context) }),
|
|
4162
|
-
...(input.Description != null && { Description: input.Description }),
|
|
4163
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4164
|
-
...(input.StackName != null && { StackName: input.StackName }),
|
|
4165
|
-
};
|
|
4166
|
-
};
|
|
4167
|
-
const se_UpdateFleetRequest = (input, context) => {
|
|
4168
|
-
return {
|
|
4169
|
-
...(input.AttributesToDelete != null && {
|
|
4170
|
-
AttributesToDelete: se_FleetAttributes(input.AttributesToDelete, context),
|
|
4171
|
-
}),
|
|
4172
|
-
...(input.ComputeCapacity != null && { ComputeCapacity: se_ComputeCapacity(input.ComputeCapacity, context) }),
|
|
4173
|
-
...(input.DeleteVpcConfig != null && { DeleteVpcConfig: input.DeleteVpcConfig }),
|
|
4174
|
-
...(input.Description != null && { Description: input.Description }),
|
|
4175
|
-
...(input.DisconnectTimeoutInSeconds != null && { DisconnectTimeoutInSeconds: input.DisconnectTimeoutInSeconds }),
|
|
4176
|
-
...(input.DisplayName != null && { DisplayName: input.DisplayName }),
|
|
4177
|
-
...(input.DomainJoinInfo != null && { DomainJoinInfo: se_DomainJoinInfo(input.DomainJoinInfo, context) }),
|
|
4178
|
-
...(input.EnableDefaultInternetAccess != null && {
|
|
4179
|
-
EnableDefaultInternetAccess: input.EnableDefaultInternetAccess,
|
|
4180
|
-
}),
|
|
4181
|
-
...(input.IamRoleArn != null && { IamRoleArn: input.IamRoleArn }),
|
|
4182
|
-
...(input.IdleDisconnectTimeoutInSeconds != null && {
|
|
4183
|
-
IdleDisconnectTimeoutInSeconds: input.IdleDisconnectTimeoutInSeconds,
|
|
4184
|
-
}),
|
|
4185
|
-
...(input.ImageArn != null && { ImageArn: input.ImageArn }),
|
|
4186
|
-
...(input.ImageName != null && { ImageName: input.ImageName }),
|
|
4187
|
-
...(input.InstanceType != null && { InstanceType: input.InstanceType }),
|
|
4188
|
-
...(input.MaxConcurrentSessions != null && { MaxConcurrentSessions: input.MaxConcurrentSessions }),
|
|
4189
|
-
...(input.MaxUserDurationInSeconds != null && { MaxUserDurationInSeconds: input.MaxUserDurationInSeconds }),
|
|
4190
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4191
|
-
...(input.Platform != null && { Platform: input.Platform }),
|
|
4192
|
-
...(input.SessionScriptS3Location != null && {
|
|
4193
|
-
SessionScriptS3Location: se_S3Location(input.SessionScriptS3Location, context),
|
|
4194
|
-
}),
|
|
4195
|
-
...(input.StreamView != null && { StreamView: input.StreamView }),
|
|
4196
|
-
...(input.UsbDeviceFilterStrings != null && {
|
|
4197
|
-
UsbDeviceFilterStrings: se_UsbDeviceFilterStrings(input.UsbDeviceFilterStrings, context),
|
|
4198
|
-
}),
|
|
4199
|
-
...(input.VpcConfig != null && { VpcConfig: se_VpcConfig(input.VpcConfig, context) }),
|
|
4200
|
-
};
|
|
4201
|
-
};
|
|
4202
|
-
const se_UpdateImagePermissionsRequest = (input, context) => {
|
|
4203
|
-
return {
|
|
4204
|
-
...(input.ImagePermissions != null && { ImagePermissions: se_ImagePermissions(input.ImagePermissions, context) }),
|
|
4205
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4206
|
-
...(input.SharedAccountId != null && { SharedAccountId: input.SharedAccountId }),
|
|
4207
|
-
};
|
|
4208
|
-
};
|
|
4209
|
-
const se_UpdateStackRequest = (input, context) => {
|
|
4210
|
-
return {
|
|
4211
|
-
...(input.AccessEndpoints != null && { AccessEndpoints: se_AccessEndpointList(input.AccessEndpoints, context) }),
|
|
4212
|
-
...(input.ApplicationSettings != null && {
|
|
4213
|
-
ApplicationSettings: se_ApplicationSettings(input.ApplicationSettings, context),
|
|
4214
|
-
}),
|
|
4215
|
-
...(input.AttributesToDelete != null && {
|
|
4216
|
-
AttributesToDelete: se_StackAttributes(input.AttributesToDelete, context),
|
|
4217
|
-
}),
|
|
4218
|
-
...(input.DeleteStorageConnectors != null && { DeleteStorageConnectors: input.DeleteStorageConnectors }),
|
|
4219
|
-
...(input.Description != null && { Description: input.Description }),
|
|
4220
|
-
...(input.DisplayName != null && { DisplayName: input.DisplayName }),
|
|
4221
|
-
...(input.EmbedHostDomains != null && { EmbedHostDomains: se_EmbedHostDomains(input.EmbedHostDomains, context) }),
|
|
4222
|
-
...(input.FeedbackURL != null && { FeedbackURL: input.FeedbackURL }),
|
|
4223
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4224
|
-
...(input.RedirectURL != null && { RedirectURL: input.RedirectURL }),
|
|
4225
|
-
...(input.StorageConnectors != null && {
|
|
4226
|
-
StorageConnectors: se_StorageConnectorList(input.StorageConnectors, context),
|
|
4227
|
-
}),
|
|
4228
|
-
...(input.StreamingExperienceSettings != null && {
|
|
4229
|
-
StreamingExperienceSettings: se_StreamingExperienceSettings(input.StreamingExperienceSettings, context),
|
|
4230
|
-
}),
|
|
4231
|
-
...(input.UserSettings != null && { UserSettings: se_UserSettingList(input.UserSettings, context) }),
|
|
4232
|
-
};
|
|
4233
|
-
};
|
|
4234
|
-
const se_UsbDeviceFilterStrings = (input, context) => {
|
|
4235
|
-
return input
|
|
4236
|
-
.filter((e) => e != null)
|
|
4237
|
-
.map((entry) => {
|
|
4238
|
-
return entry;
|
|
4239
|
-
});
|
|
4240
|
-
};
|
|
4241
|
-
const se_UserSetting = (input, context) => {
|
|
4242
|
-
return {
|
|
4243
|
-
...(input.Action != null && { Action: input.Action }),
|
|
4244
|
-
...(input.Permission != null && { Permission: input.Permission }),
|
|
4245
|
-
};
|
|
4246
|
-
};
|
|
4247
|
-
const se_UserSettingList = (input, context) => {
|
|
4248
|
-
return input
|
|
4249
|
-
.filter((e) => e != null)
|
|
4250
|
-
.map((entry) => {
|
|
4251
|
-
return se_UserSetting(entry, context);
|
|
4252
|
-
});
|
|
4253
|
-
};
|
|
4254
|
-
const se_UserStackAssociation = (input, context) => {
|
|
4255
|
-
return {
|
|
4256
|
-
...(input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType }),
|
|
4257
|
-
...(input.SendEmailNotification != null && { SendEmailNotification: input.SendEmailNotification }),
|
|
4258
|
-
...(input.StackName != null && { StackName: input.StackName }),
|
|
4259
|
-
...(input.UserName != null && { UserName: input.UserName }),
|
|
4260
|
-
};
|
|
4261
|
-
};
|
|
4262
|
-
const se_UserStackAssociationList = (input, context) => {
|
|
4263
|
-
return input
|
|
4264
|
-
.filter((e) => e != null)
|
|
4265
|
-
.map((entry) => {
|
|
4266
|
-
return se_UserStackAssociation(entry, context);
|
|
4267
|
-
});
|
|
4268
|
-
};
|
|
4269
|
-
const se_VpcConfig = (input, context) => {
|
|
4270
|
-
return {
|
|
4271
|
-
...(input.SecurityGroupIds != null && {
|
|
4272
|
-
SecurityGroupIds: se_SecurityGroupIdList(input.SecurityGroupIds, context),
|
|
4273
|
-
}),
|
|
4274
|
-
...(input.SubnetIds != null && { SubnetIds: se_SubnetIdList(input.SubnetIds, context) }),
|
|
4275
|
-
};
|
|
4276
|
-
};
|
|
4277
|
-
const de_AccessEndpoint = (output, context) => {
|
|
4278
|
-
return {
|
|
4279
|
-
EndpointType: (0, smithy_client_1.expectString)(output.EndpointType),
|
|
4280
|
-
VpceId: (0, smithy_client_1.expectString)(output.VpceId),
|
|
4281
|
-
};
|
|
4282
|
-
};
|
|
4283
|
-
const de_AccessEndpointList = (output, context) => {
|
|
4284
|
-
const retVal = (output || [])
|
|
4285
|
-
.filter((e) => e != null)
|
|
4286
|
-
.map((entry) => {
|
|
4287
|
-
if (entry === null) {
|
|
4288
|
-
return null;
|
|
4289
|
-
}
|
|
4290
|
-
return de_AccessEndpoint(entry, context);
|
|
4291
|
-
});
|
|
4292
|
-
return retVal;
|
|
4293
|
-
};
|
|
4294
|
-
const de_AppBlock = (output, context) => {
|
|
4295
|
-
return {
|
|
4296
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4297
|
-
CreatedTime: output.CreatedTime != null
|
|
4298
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
4299
|
-
: undefined,
|
|
4300
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
4301
|
-
DisplayName: (0, smithy_client_1.expectString)(output.DisplayName),
|
|
4302
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4303
|
-
SetupScriptDetails: output.SetupScriptDetails != null ? de_ScriptDetails(output.SetupScriptDetails, context) : undefined,
|
|
4304
|
-
SourceS3Location: output.SourceS3Location != null ? de_S3Location(output.SourceS3Location, context) : undefined,
|
|
4305
|
-
};
|
|
4306
|
-
};
|
|
4307
|
-
const de_AppBlocks = (output, context) => {
|
|
4308
|
-
const retVal = (output || [])
|
|
4309
|
-
.filter((e) => e != null)
|
|
4310
|
-
.map((entry) => {
|
|
4311
|
-
if (entry === null) {
|
|
4312
|
-
return null;
|
|
4313
|
-
}
|
|
4314
|
-
return de_AppBlock(entry, context);
|
|
4315
|
-
});
|
|
4316
|
-
return retVal;
|
|
4317
|
-
};
|
|
4318
|
-
const de_Application = (output, context) => {
|
|
4319
|
-
return {
|
|
4320
|
-
AppBlockArn: (0, smithy_client_1.expectString)(output.AppBlockArn),
|
|
4321
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4322
|
-
CreatedTime: output.CreatedTime != null
|
|
4323
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
4324
|
-
: undefined,
|
|
4325
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
4326
|
-
DisplayName: (0, smithy_client_1.expectString)(output.DisplayName),
|
|
4327
|
-
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
4328
|
-
IconS3Location: output.IconS3Location != null ? de_S3Location(output.IconS3Location, context) : undefined,
|
|
4329
|
-
IconURL: (0, smithy_client_1.expectString)(output.IconURL),
|
|
4330
|
-
InstanceFamilies: output.InstanceFamilies != null ? de_StringList(output.InstanceFamilies, context) : undefined,
|
|
4331
|
-
LaunchParameters: (0, smithy_client_1.expectString)(output.LaunchParameters),
|
|
4332
|
-
LaunchPath: (0, smithy_client_1.expectString)(output.LaunchPath),
|
|
4333
|
-
Metadata: output.Metadata != null ? de_Metadata(output.Metadata, context) : undefined,
|
|
4334
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4335
|
-
Platforms: output.Platforms != null ? de_Platforms(output.Platforms, context) : undefined,
|
|
4336
|
-
WorkingDirectory: (0, smithy_client_1.expectString)(output.WorkingDirectory),
|
|
4337
|
-
};
|
|
4338
|
-
};
|
|
4339
|
-
const de_ApplicationFleetAssociation = (output, context) => {
|
|
4340
|
-
return {
|
|
4341
|
-
ApplicationArn: (0, smithy_client_1.expectString)(output.ApplicationArn),
|
|
4342
|
-
FleetName: (0, smithy_client_1.expectString)(output.FleetName),
|
|
4343
|
-
};
|
|
4344
|
-
};
|
|
4345
|
-
const de_ApplicationFleetAssociationList = (output, context) => {
|
|
4346
|
-
const retVal = (output || [])
|
|
4347
|
-
.filter((e) => e != null)
|
|
4348
|
-
.map((entry) => {
|
|
4349
|
-
if (entry === null) {
|
|
4350
|
-
return null;
|
|
4351
|
-
}
|
|
4352
|
-
return de_ApplicationFleetAssociation(entry, context);
|
|
4353
|
-
});
|
|
4354
|
-
return retVal;
|
|
4355
|
-
};
|
|
4356
|
-
const de_Applications = (output, context) => {
|
|
4357
|
-
const retVal = (output || [])
|
|
4358
|
-
.filter((e) => e != null)
|
|
4359
|
-
.map((entry) => {
|
|
4360
|
-
if (entry === null) {
|
|
4361
|
-
return null;
|
|
4362
|
-
}
|
|
4363
|
-
return de_Application(entry, context);
|
|
4364
|
-
});
|
|
4365
|
-
return retVal;
|
|
4366
|
-
};
|
|
4367
|
-
const de_ApplicationSettingsResponse = (output, context) => {
|
|
4368
|
-
return {
|
|
4369
|
-
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
4370
|
-
S3BucketName: (0, smithy_client_1.expectString)(output.S3BucketName),
|
|
4371
|
-
SettingsGroup: (0, smithy_client_1.expectString)(output.SettingsGroup),
|
|
4372
|
-
};
|
|
4373
|
-
};
|
|
4374
|
-
const de_AssociateApplicationFleetResult = (output, context) => {
|
|
4375
|
-
return {
|
|
4376
|
-
ApplicationFleetAssociation: output.ApplicationFleetAssociation != null
|
|
4377
|
-
? de_ApplicationFleetAssociation(output.ApplicationFleetAssociation, context)
|
|
4378
|
-
: undefined,
|
|
4379
|
-
};
|
|
4380
|
-
};
|
|
4381
|
-
const de_AssociateApplicationToEntitlementResult = (output, context) => {
|
|
4382
|
-
return {};
|
|
4383
|
-
};
|
|
4384
|
-
const de_AssociateFleetResult = (output, context) => {
|
|
4385
|
-
return {};
|
|
4386
|
-
};
|
|
4387
|
-
const de_BatchAssociateUserStackResult = (output, context) => {
|
|
4388
|
-
return {
|
|
4389
|
-
errors: output.errors != null ? de_UserStackAssociationErrorList(output.errors, context) : undefined,
|
|
4390
|
-
};
|
|
4391
|
-
};
|
|
4392
|
-
const de_BatchDisassociateUserStackResult = (output, context) => {
|
|
4393
|
-
return {
|
|
4394
|
-
errors: output.errors != null ? de_UserStackAssociationErrorList(output.errors, context) : undefined,
|
|
4395
|
-
};
|
|
4396
|
-
};
|
|
4397
|
-
const de_CertificateBasedAuthProperties = (output, context) => {
|
|
4398
|
-
return {
|
|
4399
|
-
CertificateAuthorityArn: (0, smithy_client_1.expectString)(output.CertificateAuthorityArn),
|
|
4400
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4401
|
-
};
|
|
4402
|
-
};
|
|
4403
|
-
const de_ComputeCapacityStatus = (output, context) => {
|
|
4404
|
-
return {
|
|
4405
|
-
Available: (0, smithy_client_1.expectInt32)(output.Available),
|
|
4406
|
-
Desired: (0, smithy_client_1.expectInt32)(output.Desired),
|
|
4407
|
-
InUse: (0, smithy_client_1.expectInt32)(output.InUse),
|
|
4408
|
-
Running: (0, smithy_client_1.expectInt32)(output.Running),
|
|
4409
|
-
};
|
|
4410
|
-
};
|
|
4411
|
-
const de_ConcurrentModificationException = (output, context) => {
|
|
4412
|
-
return {
|
|
4413
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4414
|
-
};
|
|
4415
|
-
};
|
|
4416
|
-
const de_CopyImageResponse = (output, context) => {
|
|
4417
|
-
return {
|
|
4418
|
-
DestinationImageName: (0, smithy_client_1.expectString)(output.DestinationImageName),
|
|
4419
|
-
};
|
|
4420
|
-
};
|
|
4421
|
-
const de_CreateAppBlockResult = (output, context) => {
|
|
4422
|
-
return {
|
|
4423
|
-
AppBlock: output.AppBlock != null ? de_AppBlock(output.AppBlock, context) : undefined,
|
|
4424
|
-
};
|
|
4425
|
-
};
|
|
4426
|
-
const de_CreateApplicationResult = (output, context) => {
|
|
4427
|
-
return {
|
|
4428
|
-
Application: output.Application != null ? de_Application(output.Application, context) : undefined,
|
|
4429
|
-
};
|
|
4430
|
-
};
|
|
4431
|
-
const de_CreateDirectoryConfigResult = (output, context) => {
|
|
4432
|
-
return {
|
|
4433
|
-
DirectoryConfig: output.DirectoryConfig != null ? de_DirectoryConfig(output.DirectoryConfig, context) : undefined,
|
|
4434
|
-
};
|
|
4435
|
-
};
|
|
4436
|
-
const de_CreateEntitlementResult = (output, context) => {
|
|
4437
|
-
return {
|
|
4438
|
-
Entitlement: output.Entitlement != null ? de_Entitlement(output.Entitlement, context) : undefined,
|
|
4439
|
-
};
|
|
4440
|
-
};
|
|
4441
|
-
const de_CreateFleetResult = (output, context) => {
|
|
4442
|
-
return {
|
|
4443
|
-
Fleet: output.Fleet != null ? de_Fleet(output.Fleet, context) : undefined,
|
|
4444
|
-
};
|
|
4445
|
-
};
|
|
4446
|
-
const de_CreateImageBuilderResult = (output, context) => {
|
|
4447
|
-
return {
|
|
4448
|
-
ImageBuilder: output.ImageBuilder != null ? de_ImageBuilder(output.ImageBuilder, context) : undefined,
|
|
4449
|
-
};
|
|
4450
|
-
};
|
|
4451
|
-
const de_CreateImageBuilderStreamingURLResult = (output, context) => {
|
|
4452
|
-
return {
|
|
4453
|
-
Expires: output.Expires != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Expires))) : undefined,
|
|
4454
|
-
StreamingURL: (0, smithy_client_1.expectString)(output.StreamingURL),
|
|
4455
|
-
};
|
|
4456
|
-
};
|
|
4457
|
-
const de_CreateStackResult = (output, context) => {
|
|
4458
|
-
return {
|
|
4459
|
-
Stack: output.Stack != null ? de_Stack(output.Stack, context) : undefined,
|
|
4460
|
-
};
|
|
4461
|
-
};
|
|
4462
|
-
const de_CreateStreamingURLResult = (output, context) => {
|
|
4463
|
-
return {
|
|
4464
|
-
Expires: output.Expires != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Expires))) : undefined,
|
|
4465
|
-
StreamingURL: (0, smithy_client_1.expectString)(output.StreamingURL),
|
|
4466
|
-
};
|
|
4467
|
-
};
|
|
4468
|
-
const de_CreateUpdatedImageResult = (output, context) => {
|
|
4469
|
-
return {
|
|
4470
|
-
canUpdateImage: (0, smithy_client_1.expectBoolean)(output.canUpdateImage),
|
|
4471
|
-
image: output.image != null ? de_Image(output.image, context) : undefined,
|
|
4472
|
-
};
|
|
4473
|
-
};
|
|
4474
|
-
const de_CreateUsageReportSubscriptionResult = (output, context) => {
|
|
4475
|
-
return {
|
|
4476
|
-
S3BucketName: (0, smithy_client_1.expectString)(output.S3BucketName),
|
|
4477
|
-
Schedule: (0, smithy_client_1.expectString)(output.Schedule),
|
|
4478
|
-
};
|
|
4479
|
-
};
|
|
4480
|
-
const de_CreateUserResult = (output, context) => {
|
|
4481
|
-
return {};
|
|
4482
|
-
};
|
|
4483
|
-
const de_DeleteAppBlockResult = (output, context) => {
|
|
4484
|
-
return {};
|
|
4485
|
-
};
|
|
4486
|
-
const de_DeleteApplicationResult = (output, context) => {
|
|
4487
|
-
return {};
|
|
4488
|
-
};
|
|
4489
|
-
const de_DeleteDirectoryConfigResult = (output, context) => {
|
|
4490
|
-
return {};
|
|
4491
|
-
};
|
|
4492
|
-
const de_DeleteEntitlementResult = (output, context) => {
|
|
4493
|
-
return {};
|
|
4494
|
-
};
|
|
4495
|
-
const de_DeleteFleetResult = (output, context) => {
|
|
4496
|
-
return {};
|
|
4497
|
-
};
|
|
4498
|
-
const de_DeleteImageBuilderResult = (output, context) => {
|
|
4499
|
-
return {
|
|
4500
|
-
ImageBuilder: output.ImageBuilder != null ? de_ImageBuilder(output.ImageBuilder, context) : undefined,
|
|
4501
|
-
};
|
|
4502
|
-
};
|
|
4503
|
-
const de_DeleteImagePermissionsResult = (output, context) => {
|
|
4504
|
-
return {};
|
|
4505
|
-
};
|
|
4506
|
-
const de_DeleteImageResult = (output, context) => {
|
|
4507
|
-
return {
|
|
4508
|
-
Image: output.Image != null ? de_Image(output.Image, context) : undefined,
|
|
4509
|
-
};
|
|
4510
|
-
};
|
|
4511
|
-
const de_DeleteStackResult = (output, context) => {
|
|
4512
|
-
return {};
|
|
4513
|
-
};
|
|
4514
|
-
const de_DeleteUsageReportSubscriptionResult = (output, context) => {
|
|
4515
|
-
return {};
|
|
4516
|
-
};
|
|
4517
|
-
const de_DeleteUserResult = (output, context) => {
|
|
4518
|
-
return {};
|
|
4519
|
-
};
|
|
4520
|
-
const de_DescribeAppBlocksResult = (output, context) => {
|
|
4521
|
-
return {
|
|
4522
|
-
AppBlocks: output.AppBlocks != null ? de_AppBlocks(output.AppBlocks, context) : undefined,
|
|
4523
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4524
|
-
};
|
|
4525
|
-
};
|
|
4526
|
-
const de_DescribeApplicationFleetAssociationsResult = (output, context) => {
|
|
4527
|
-
return {
|
|
4528
|
-
ApplicationFleetAssociations: output.ApplicationFleetAssociations != null
|
|
4529
|
-
? de_ApplicationFleetAssociationList(output.ApplicationFleetAssociations, context)
|
|
4530
|
-
: undefined,
|
|
4531
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4532
|
-
};
|
|
4533
|
-
};
|
|
4534
|
-
const de_DescribeApplicationsResult = (output, context) => {
|
|
4535
|
-
return {
|
|
4536
|
-
Applications: output.Applications != null ? de_Applications(output.Applications, context) : undefined,
|
|
4537
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4538
|
-
};
|
|
4539
|
-
};
|
|
4540
|
-
const de_DescribeDirectoryConfigsResult = (output, context) => {
|
|
4541
|
-
return {
|
|
4542
|
-
DirectoryConfigs: output.DirectoryConfigs != null ? de_DirectoryConfigList(output.DirectoryConfigs, context) : undefined,
|
|
4543
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4544
|
-
};
|
|
4545
|
-
};
|
|
4546
|
-
const de_DescribeEntitlementsResult = (output, context) => {
|
|
4547
|
-
return {
|
|
4548
|
-
Entitlements: output.Entitlements != null ? de_EntitlementList(output.Entitlements, context) : undefined,
|
|
4549
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4550
|
-
};
|
|
4551
|
-
};
|
|
4552
|
-
const de_DescribeFleetsResult = (output, context) => {
|
|
4553
|
-
return {
|
|
4554
|
-
Fleets: output.Fleets != null ? de_FleetList(output.Fleets, context) : undefined,
|
|
4555
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4556
|
-
};
|
|
4557
|
-
};
|
|
4558
|
-
const de_DescribeImageBuildersResult = (output, context) => {
|
|
4559
|
-
return {
|
|
4560
|
-
ImageBuilders: output.ImageBuilders != null ? de_ImageBuilderList(output.ImageBuilders, context) : undefined,
|
|
4561
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4562
|
-
};
|
|
4563
|
-
};
|
|
4564
|
-
const de_DescribeImagePermissionsResult = (output, context) => {
|
|
4565
|
-
return {
|
|
4566
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4567
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4568
|
-
SharedImagePermissionsList: output.SharedImagePermissionsList != null
|
|
4569
|
-
? de_SharedImagePermissionsList(output.SharedImagePermissionsList, context)
|
|
4570
|
-
: undefined,
|
|
4571
|
-
};
|
|
4572
|
-
};
|
|
4573
|
-
const de_DescribeImagesResult = (output, context) => {
|
|
4574
|
-
return {
|
|
4575
|
-
Images: output.Images != null ? de_ImageList(output.Images, context) : undefined,
|
|
4576
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4577
|
-
};
|
|
4578
|
-
};
|
|
4579
|
-
const de_DescribeSessionsResult = (output, context) => {
|
|
4580
|
-
return {
|
|
4581
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4582
|
-
Sessions: output.Sessions != null ? de_SessionList(output.Sessions, context) : undefined,
|
|
4583
|
-
};
|
|
4584
|
-
};
|
|
4585
|
-
const de_DescribeStacksResult = (output, context) => {
|
|
4586
|
-
return {
|
|
4587
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4588
|
-
Stacks: output.Stacks != null ? de_StackList(output.Stacks, context) : undefined,
|
|
4589
|
-
};
|
|
4590
|
-
};
|
|
4591
|
-
const de_DescribeUsageReportSubscriptionsResult = (output, context) => {
|
|
4592
|
-
return {
|
|
4593
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4594
|
-
UsageReportSubscriptions: output.UsageReportSubscriptions != null
|
|
4595
|
-
? de_UsageReportSubscriptionList(output.UsageReportSubscriptions, context)
|
|
4596
|
-
: undefined,
|
|
4597
|
-
};
|
|
4598
|
-
};
|
|
4599
|
-
const de_DescribeUsersResult = (output, context) => {
|
|
4600
|
-
return {
|
|
4601
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4602
|
-
Users: output.Users != null ? de_UserList(output.Users, context) : undefined,
|
|
4603
|
-
};
|
|
4604
|
-
};
|
|
4605
|
-
const de_DescribeUserStackAssociationsResult = (output, context) => {
|
|
4606
|
-
return {
|
|
4607
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4608
|
-
UserStackAssociations: output.UserStackAssociations != null
|
|
4609
|
-
? de_UserStackAssociationList(output.UserStackAssociations, context)
|
|
4610
|
-
: undefined,
|
|
4611
|
-
};
|
|
4612
|
-
};
|
|
4613
|
-
const de_DirectoryConfig = (output, context) => {
|
|
4614
|
-
return {
|
|
4615
|
-
CertificateBasedAuthProperties: output.CertificateBasedAuthProperties != null
|
|
4616
|
-
? de_CertificateBasedAuthProperties(output.CertificateBasedAuthProperties, context)
|
|
4617
|
-
: undefined,
|
|
4618
|
-
CreatedTime: output.CreatedTime != null
|
|
4619
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
4620
|
-
: undefined,
|
|
4621
|
-
DirectoryName: (0, smithy_client_1.expectString)(output.DirectoryName),
|
|
4622
|
-
OrganizationalUnitDistinguishedNames: output.OrganizationalUnitDistinguishedNames != null
|
|
4623
|
-
? de_OrganizationalUnitDistinguishedNamesList(output.OrganizationalUnitDistinguishedNames, context)
|
|
4624
|
-
: undefined,
|
|
4625
|
-
ServiceAccountCredentials: output.ServiceAccountCredentials != null
|
|
4626
|
-
? de_ServiceAccountCredentials(output.ServiceAccountCredentials, context)
|
|
4627
|
-
: undefined,
|
|
4628
|
-
};
|
|
4629
|
-
};
|
|
4630
|
-
const de_DirectoryConfigList = (output, context) => {
|
|
4631
|
-
const retVal = (output || [])
|
|
4632
|
-
.filter((e) => e != null)
|
|
4633
|
-
.map((entry) => {
|
|
4634
|
-
if (entry === null) {
|
|
4635
|
-
return null;
|
|
4636
|
-
}
|
|
4637
|
-
return de_DirectoryConfig(entry, context);
|
|
4638
|
-
});
|
|
4639
|
-
return retVal;
|
|
4640
|
-
};
|
|
4641
|
-
const de_DisableUserResult = (output, context) => {
|
|
4642
|
-
return {};
|
|
4643
|
-
};
|
|
4644
|
-
const de_DisassociateApplicationFleetResult = (output, context) => {
|
|
4645
|
-
return {};
|
|
4646
|
-
};
|
|
4647
|
-
const de_DisassociateApplicationFromEntitlementResult = (output, context) => {
|
|
4648
|
-
return {};
|
|
4649
|
-
};
|
|
4650
|
-
const de_DisassociateFleetResult = (output, context) => {
|
|
4651
|
-
return {};
|
|
4652
|
-
};
|
|
4653
|
-
const de_DomainJoinInfo = (output, context) => {
|
|
4654
|
-
return {
|
|
4655
|
-
DirectoryName: (0, smithy_client_1.expectString)(output.DirectoryName),
|
|
4656
|
-
OrganizationalUnitDistinguishedName: (0, smithy_client_1.expectString)(output.OrganizationalUnitDistinguishedName),
|
|
4657
|
-
};
|
|
4658
|
-
};
|
|
4659
|
-
const de_DomainList = (output, context) => {
|
|
4660
|
-
const retVal = (output || [])
|
|
4661
|
-
.filter((e) => e != null)
|
|
4662
|
-
.map((entry) => {
|
|
4663
|
-
if (entry === null) {
|
|
4664
|
-
return null;
|
|
4665
|
-
}
|
|
4666
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4667
|
-
});
|
|
4668
|
-
return retVal;
|
|
4669
|
-
};
|
|
4670
|
-
const de_EmbedHostDomains = (output, context) => {
|
|
4671
|
-
const retVal = (output || [])
|
|
4672
|
-
.filter((e) => e != null)
|
|
4673
|
-
.map((entry) => {
|
|
4674
|
-
if (entry === null) {
|
|
4675
|
-
return null;
|
|
4676
|
-
}
|
|
4677
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4678
|
-
});
|
|
4679
|
-
return retVal;
|
|
4680
|
-
};
|
|
4681
|
-
const de_EnableUserResult = (output, context) => {
|
|
4682
|
-
return {};
|
|
4683
|
-
};
|
|
4684
|
-
const de_EntitledApplication = (output, context) => {
|
|
4685
|
-
return {
|
|
4686
|
-
ApplicationIdentifier: (0, smithy_client_1.expectString)(output.ApplicationIdentifier),
|
|
4687
|
-
};
|
|
4688
|
-
};
|
|
4689
|
-
const de_EntitledApplicationList = (output, context) => {
|
|
4690
|
-
const retVal = (output || [])
|
|
4691
|
-
.filter((e) => e != null)
|
|
4692
|
-
.map((entry) => {
|
|
4693
|
-
if (entry === null) {
|
|
4694
|
-
return null;
|
|
4695
|
-
}
|
|
4696
|
-
return de_EntitledApplication(entry, context);
|
|
4697
|
-
});
|
|
4698
|
-
return retVal;
|
|
4699
|
-
};
|
|
4700
|
-
const de_Entitlement = (output, context) => {
|
|
4701
|
-
return {
|
|
4702
|
-
AppVisibility: (0, smithy_client_1.expectString)(output.AppVisibility),
|
|
4703
|
-
Attributes: output.Attributes != null ? de_EntitlementAttributeList(output.Attributes, context) : undefined,
|
|
4704
|
-
CreatedTime: output.CreatedTime != null
|
|
4705
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
4706
|
-
: undefined,
|
|
4707
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
4708
|
-
LastModifiedTime: output.LastModifiedTime != null
|
|
4709
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
4710
|
-
: undefined,
|
|
4711
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4712
|
-
StackName: (0, smithy_client_1.expectString)(output.StackName),
|
|
4713
|
-
};
|
|
4714
|
-
};
|
|
4715
|
-
const de_EntitlementAlreadyExistsException = (output, context) => {
|
|
4716
|
-
return {
|
|
4717
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4718
|
-
};
|
|
4719
|
-
};
|
|
4720
|
-
const de_EntitlementAttribute = (output, context) => {
|
|
4721
|
-
return {
|
|
4722
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4723
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
4724
|
-
};
|
|
4725
|
-
};
|
|
4726
|
-
const de_EntitlementAttributeList = (output, context) => {
|
|
4727
|
-
const retVal = (output || [])
|
|
4728
|
-
.filter((e) => e != null)
|
|
4729
|
-
.map((entry) => {
|
|
4730
|
-
if (entry === null) {
|
|
4731
|
-
return null;
|
|
4732
|
-
}
|
|
4733
|
-
return de_EntitlementAttribute(entry, context);
|
|
4734
|
-
});
|
|
4735
|
-
return retVal;
|
|
4736
|
-
};
|
|
4737
|
-
const de_EntitlementList = (output, context) => {
|
|
4738
|
-
const retVal = (output || [])
|
|
4739
|
-
.filter((e) => e != null)
|
|
4740
|
-
.map((entry) => {
|
|
4741
|
-
if (entry === null) {
|
|
4742
|
-
return null;
|
|
4743
|
-
}
|
|
4744
|
-
return de_Entitlement(entry, context);
|
|
4745
|
-
});
|
|
4746
|
-
return retVal;
|
|
4747
|
-
};
|
|
4748
|
-
const de_EntitlementNotFoundException = (output, context) => {
|
|
4749
|
-
return {
|
|
4750
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4751
|
-
};
|
|
4752
|
-
};
|
|
4753
|
-
const de_ExpireSessionResult = (output, context) => {
|
|
4754
|
-
return {};
|
|
4755
|
-
};
|
|
4756
|
-
const de_Fleet = (output, context) => {
|
|
4757
|
-
return {
|
|
4758
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4759
|
-
ComputeCapacityStatus: output.ComputeCapacityStatus != null
|
|
4760
|
-
? de_ComputeCapacityStatus(output.ComputeCapacityStatus, context)
|
|
4761
|
-
: undefined,
|
|
4762
|
-
CreatedTime: output.CreatedTime != null
|
|
4763
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
4764
|
-
: undefined,
|
|
4765
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
4766
|
-
DisconnectTimeoutInSeconds: (0, smithy_client_1.expectInt32)(output.DisconnectTimeoutInSeconds),
|
|
4767
|
-
DisplayName: (0, smithy_client_1.expectString)(output.DisplayName),
|
|
4768
|
-
DomainJoinInfo: output.DomainJoinInfo != null ? de_DomainJoinInfo(output.DomainJoinInfo, context) : undefined,
|
|
4769
|
-
EnableDefaultInternetAccess: (0, smithy_client_1.expectBoolean)(output.EnableDefaultInternetAccess),
|
|
4770
|
-
FleetErrors: output.FleetErrors != null ? de_FleetErrors(output.FleetErrors, context) : undefined,
|
|
4771
|
-
FleetType: (0, smithy_client_1.expectString)(output.FleetType),
|
|
4772
|
-
IamRoleArn: (0, smithy_client_1.expectString)(output.IamRoleArn),
|
|
4773
|
-
IdleDisconnectTimeoutInSeconds: (0, smithy_client_1.expectInt32)(output.IdleDisconnectTimeoutInSeconds),
|
|
4774
|
-
ImageArn: (0, smithy_client_1.expectString)(output.ImageArn),
|
|
4775
|
-
ImageName: (0, smithy_client_1.expectString)(output.ImageName),
|
|
4776
|
-
InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
|
|
4777
|
-
MaxConcurrentSessions: (0, smithy_client_1.expectInt32)(output.MaxConcurrentSessions),
|
|
4778
|
-
MaxUserDurationInSeconds: (0, smithy_client_1.expectInt32)(output.MaxUserDurationInSeconds),
|
|
4779
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4780
|
-
Platform: (0, smithy_client_1.expectString)(output.Platform),
|
|
4781
|
-
SessionScriptS3Location: output.SessionScriptS3Location != null ? de_S3Location(output.SessionScriptS3Location, context) : undefined,
|
|
4782
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4783
|
-
StreamView: (0, smithy_client_1.expectString)(output.StreamView),
|
|
4784
|
-
UsbDeviceFilterStrings: output.UsbDeviceFilterStrings != null
|
|
4785
|
-
? de_UsbDeviceFilterStrings(output.UsbDeviceFilterStrings, context)
|
|
4786
|
-
: undefined,
|
|
4787
|
-
VpcConfig: output.VpcConfig != null ? de_VpcConfig(output.VpcConfig, context) : undefined,
|
|
4788
|
-
};
|
|
4789
|
-
};
|
|
4790
|
-
const de_FleetError = (output, context) => {
|
|
4791
|
-
return {
|
|
4792
|
-
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
4793
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
4794
|
-
};
|
|
3396
|
+
const de_Entitlement = (output, context) => {
|
|
3397
|
+
return (0, smithy_client_1.take)(output, {
|
|
3398
|
+
AppVisibility: smithy_client_1.expectString,
|
|
3399
|
+
Attributes: smithy_client_1._json,
|
|
3400
|
+
CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3401
|
+
Description: smithy_client_1.expectString,
|
|
3402
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3403
|
+
Name: smithy_client_1.expectString,
|
|
3404
|
+
StackName: smithy_client_1.expectString,
|
|
3405
|
+
});
|
|
4795
3406
|
};
|
|
4796
|
-
const
|
|
3407
|
+
const de_EntitlementList = (output, context) => {
|
|
4797
3408
|
const retVal = (output || [])
|
|
4798
3409
|
.filter((e) => e != null)
|
|
4799
3410
|
.map((entry) => {
|
|
4800
|
-
|
|
4801
|
-
return null;
|
|
4802
|
-
}
|
|
4803
|
-
return de_FleetError(entry, context);
|
|
3411
|
+
return de_Entitlement(entry, context);
|
|
4804
3412
|
});
|
|
4805
3413
|
return retVal;
|
|
4806
3414
|
};
|
|
3415
|
+
const de_Fleet = (output, context) => {
|
|
3416
|
+
return (0, smithy_client_1.take)(output, {
|
|
3417
|
+
Arn: smithy_client_1.expectString,
|
|
3418
|
+
ComputeCapacityStatus: smithy_client_1._json,
|
|
3419
|
+
CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3420
|
+
Description: smithy_client_1.expectString,
|
|
3421
|
+
DisconnectTimeoutInSeconds: smithy_client_1.expectInt32,
|
|
3422
|
+
DisplayName: smithy_client_1.expectString,
|
|
3423
|
+
DomainJoinInfo: smithy_client_1._json,
|
|
3424
|
+
EnableDefaultInternetAccess: smithy_client_1.expectBoolean,
|
|
3425
|
+
FleetErrors: smithy_client_1._json,
|
|
3426
|
+
FleetType: smithy_client_1.expectString,
|
|
3427
|
+
IamRoleArn: smithy_client_1.expectString,
|
|
3428
|
+
IdleDisconnectTimeoutInSeconds: smithy_client_1.expectInt32,
|
|
3429
|
+
ImageArn: smithy_client_1.expectString,
|
|
3430
|
+
ImageName: smithy_client_1.expectString,
|
|
3431
|
+
InstanceType: smithy_client_1.expectString,
|
|
3432
|
+
MaxConcurrentSessions: smithy_client_1.expectInt32,
|
|
3433
|
+
MaxUserDurationInSeconds: smithy_client_1.expectInt32,
|
|
3434
|
+
Name: smithy_client_1.expectString,
|
|
3435
|
+
Platform: smithy_client_1.expectString,
|
|
3436
|
+
SessionScriptS3Location: smithy_client_1._json,
|
|
3437
|
+
State: smithy_client_1.expectString,
|
|
3438
|
+
StreamView: smithy_client_1.expectString,
|
|
3439
|
+
UsbDeviceFilterStrings: smithy_client_1._json,
|
|
3440
|
+
VpcConfig: smithy_client_1._json,
|
|
3441
|
+
});
|
|
3442
|
+
};
|
|
4807
3443
|
const de_FleetList = (output, context) => {
|
|
4808
3444
|
const retVal = (output || [])
|
|
4809
3445
|
.filter((e) => e != null)
|
|
4810
3446
|
.map((entry) => {
|
|
4811
|
-
if (entry === null) {
|
|
4812
|
-
return null;
|
|
4813
|
-
}
|
|
4814
3447
|
return de_Fleet(entry, context);
|
|
4815
3448
|
});
|
|
4816
3449
|
return retVal;
|
|
4817
3450
|
};
|
|
4818
3451
|
const de_Image = (output, context) => {
|
|
4819
|
-
return {
|
|
4820
|
-
Applications:
|
|
4821
|
-
AppstreamAgentVersion:
|
|
4822
|
-
Arn:
|
|
4823
|
-
BaseImageArn:
|
|
4824
|
-
CreatedTime:
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4839
|
-
StateChangeReason: output.StateChangeReason != null ? de_ImageStateChangeReason(output.StateChangeReason, context) : undefined,
|
|
4840
|
-
Visibility: (0, smithy_client_1.expectString)(output.Visibility),
|
|
4841
|
-
};
|
|
3452
|
+
return (0, smithy_client_1.take)(output, {
|
|
3453
|
+
Applications: (_) => de_Applications(_, context),
|
|
3454
|
+
AppstreamAgentVersion: smithy_client_1.expectString,
|
|
3455
|
+
Arn: smithy_client_1.expectString,
|
|
3456
|
+
BaseImageArn: smithy_client_1.expectString,
|
|
3457
|
+
CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3458
|
+
Description: smithy_client_1.expectString,
|
|
3459
|
+
DisplayName: smithy_client_1.expectString,
|
|
3460
|
+
ImageBuilderName: smithy_client_1.expectString,
|
|
3461
|
+
ImageBuilderSupported: smithy_client_1.expectBoolean,
|
|
3462
|
+
ImageErrors: (_) => de_ResourceErrors(_, context),
|
|
3463
|
+
ImagePermissions: smithy_client_1._json,
|
|
3464
|
+
Name: smithy_client_1.expectString,
|
|
3465
|
+
Platform: smithy_client_1.expectString,
|
|
3466
|
+
PublicBaseImageReleasedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3467
|
+
State: smithy_client_1.expectString,
|
|
3468
|
+
StateChangeReason: smithy_client_1._json,
|
|
3469
|
+
Visibility: smithy_client_1.expectString,
|
|
3470
|
+
});
|
|
4842
3471
|
};
|
|
4843
3472
|
const de_ImageBuilder = (output, context) => {
|
|
4844
|
-
return {
|
|
4845
|
-
AccessEndpoints:
|
|
4846
|
-
AppstreamAgentVersion:
|
|
4847
|
-
Arn:
|
|
4848
|
-
CreatedTime:
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
4865
|
-
StateChangeReason: output.StateChangeReason != null
|
|
4866
|
-
? de_ImageBuilderStateChangeReason(output.StateChangeReason, context)
|
|
4867
|
-
: undefined,
|
|
4868
|
-
VpcConfig: output.VpcConfig != null ? de_VpcConfig(output.VpcConfig, context) : undefined,
|
|
4869
|
-
};
|
|
3473
|
+
return (0, smithy_client_1.take)(output, {
|
|
3474
|
+
AccessEndpoints: smithy_client_1._json,
|
|
3475
|
+
AppstreamAgentVersion: smithy_client_1.expectString,
|
|
3476
|
+
Arn: smithy_client_1.expectString,
|
|
3477
|
+
CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3478
|
+
Description: smithy_client_1.expectString,
|
|
3479
|
+
DisplayName: smithy_client_1.expectString,
|
|
3480
|
+
DomainJoinInfo: smithy_client_1._json,
|
|
3481
|
+
EnableDefaultInternetAccess: smithy_client_1.expectBoolean,
|
|
3482
|
+
IamRoleArn: smithy_client_1.expectString,
|
|
3483
|
+
ImageArn: smithy_client_1.expectString,
|
|
3484
|
+
ImageBuilderErrors: (_) => de_ResourceErrors(_, context),
|
|
3485
|
+
InstanceType: smithy_client_1.expectString,
|
|
3486
|
+
Name: smithy_client_1.expectString,
|
|
3487
|
+
NetworkAccessConfiguration: smithy_client_1._json,
|
|
3488
|
+
Platform: smithy_client_1.expectString,
|
|
3489
|
+
State: smithy_client_1.expectString,
|
|
3490
|
+
StateChangeReason: smithy_client_1._json,
|
|
3491
|
+
VpcConfig: smithy_client_1._json,
|
|
3492
|
+
});
|
|
4870
3493
|
};
|
|
4871
3494
|
const de_ImageBuilderList = (output, context) => {
|
|
4872
3495
|
const retVal = (output || [])
|
|
4873
3496
|
.filter((e) => e != null)
|
|
4874
3497
|
.map((entry) => {
|
|
4875
|
-
if (entry === null) {
|
|
4876
|
-
return null;
|
|
4877
|
-
}
|
|
4878
3498
|
return de_ImageBuilder(entry, context);
|
|
4879
3499
|
});
|
|
4880
3500
|
return retVal;
|
|
4881
3501
|
};
|
|
4882
|
-
const de_ImageBuilderStateChangeReason = (output, context) => {
|
|
4883
|
-
return {
|
|
4884
|
-
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
4885
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4886
|
-
};
|
|
4887
|
-
};
|
|
4888
3502
|
const de_ImageList = (output, context) => {
|
|
4889
3503
|
const retVal = (output || [])
|
|
4890
3504
|
.filter((e) => e != null)
|
|
4891
3505
|
.map((entry) => {
|
|
4892
|
-
if (entry === null) {
|
|
4893
|
-
return null;
|
|
4894
|
-
}
|
|
4895
3506
|
return de_Image(entry, context);
|
|
4896
3507
|
});
|
|
4897
3508
|
return retVal;
|
|
4898
3509
|
};
|
|
4899
|
-
const de_ImagePermissions = (output, context) => {
|
|
4900
|
-
return {
|
|
4901
|
-
allowFleet: (0, smithy_client_1.expectBoolean)(output.allowFleet),
|
|
4902
|
-
allowImageBuilder: (0, smithy_client_1.expectBoolean)(output.allowImageBuilder),
|
|
4903
|
-
};
|
|
4904
|
-
};
|
|
4905
|
-
const de_ImageStateChangeReason = (output, context) => {
|
|
4906
|
-
return {
|
|
4907
|
-
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
4908
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4909
|
-
};
|
|
4910
|
-
};
|
|
4911
|
-
const de_IncompatibleImageException = (output, context) => {
|
|
4912
|
-
return {
|
|
4913
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4914
|
-
};
|
|
4915
|
-
};
|
|
4916
|
-
const de_InvalidAccountStatusException = (output, context) => {
|
|
4917
|
-
return {
|
|
4918
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4919
|
-
};
|
|
4920
|
-
};
|
|
4921
|
-
const de_InvalidParameterCombinationException = (output, context) => {
|
|
4922
|
-
return {
|
|
4923
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4924
|
-
};
|
|
4925
|
-
};
|
|
4926
|
-
const de_InvalidRoleException = (output, context) => {
|
|
4927
|
-
return {
|
|
4928
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4929
|
-
};
|
|
4930
|
-
};
|
|
4931
|
-
const de_LastReportGenerationExecutionError = (output, context) => {
|
|
4932
|
-
return {
|
|
4933
|
-
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
4934
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
4935
|
-
};
|
|
4936
|
-
};
|
|
4937
|
-
const de_LastReportGenerationExecutionErrors = (output, context) => {
|
|
4938
|
-
const retVal = (output || [])
|
|
4939
|
-
.filter((e) => e != null)
|
|
4940
|
-
.map((entry) => {
|
|
4941
|
-
if (entry === null) {
|
|
4942
|
-
return null;
|
|
4943
|
-
}
|
|
4944
|
-
return de_LastReportGenerationExecutionError(entry, context);
|
|
4945
|
-
});
|
|
4946
|
-
return retVal;
|
|
4947
|
-
};
|
|
4948
|
-
const de_LimitExceededException = (output, context) => {
|
|
4949
|
-
return {
|
|
4950
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4951
|
-
};
|
|
4952
|
-
};
|
|
4953
|
-
const de_ListAssociatedFleetsResult = (output, context) => {
|
|
4954
|
-
return {
|
|
4955
|
-
Names: output.Names != null ? de_StringList(output.Names, context) : undefined,
|
|
4956
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4957
|
-
};
|
|
4958
|
-
};
|
|
4959
|
-
const de_ListAssociatedStacksResult = (output, context) => {
|
|
4960
|
-
return {
|
|
4961
|
-
Names: output.Names != null ? de_StringList(output.Names, context) : undefined,
|
|
4962
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4963
|
-
};
|
|
4964
|
-
};
|
|
4965
|
-
const de_ListEntitledApplicationsResult = (output, context) => {
|
|
4966
|
-
return {
|
|
4967
|
-
EntitledApplications: output.EntitledApplications != null
|
|
4968
|
-
? de_EntitledApplicationList(output.EntitledApplications, context)
|
|
4969
|
-
: undefined,
|
|
4970
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4971
|
-
};
|
|
4972
|
-
};
|
|
4973
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
4974
|
-
return {
|
|
4975
|
-
Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
|
|
4976
|
-
};
|
|
4977
|
-
};
|
|
4978
|
-
const de_Metadata = (output, context) => {
|
|
4979
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4980
|
-
if (value === null) {
|
|
4981
|
-
return acc;
|
|
4982
|
-
}
|
|
4983
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
4984
|
-
return acc;
|
|
4985
|
-
}, {});
|
|
4986
|
-
};
|
|
4987
|
-
const de_NetworkAccessConfiguration = (output, context) => {
|
|
4988
|
-
return {
|
|
4989
|
-
EniId: (0, smithy_client_1.expectString)(output.EniId),
|
|
4990
|
-
EniPrivateIpAddress: (0, smithy_client_1.expectString)(output.EniPrivateIpAddress),
|
|
4991
|
-
};
|
|
4992
|
-
};
|
|
4993
|
-
const de_OperationNotPermittedException = (output, context) => {
|
|
4994
|
-
return {
|
|
4995
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4996
|
-
};
|
|
4997
|
-
};
|
|
4998
|
-
const de_OrganizationalUnitDistinguishedNamesList = (output, context) => {
|
|
4999
|
-
const retVal = (output || [])
|
|
5000
|
-
.filter((e) => e != null)
|
|
5001
|
-
.map((entry) => {
|
|
5002
|
-
if (entry === null) {
|
|
5003
|
-
return null;
|
|
5004
|
-
}
|
|
5005
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
5006
|
-
});
|
|
5007
|
-
return retVal;
|
|
5008
|
-
};
|
|
5009
|
-
const de_Platforms = (output, context) => {
|
|
5010
|
-
const retVal = (output || [])
|
|
5011
|
-
.filter((e) => e != null)
|
|
5012
|
-
.map((entry) => {
|
|
5013
|
-
if (entry === null) {
|
|
5014
|
-
return null;
|
|
5015
|
-
}
|
|
5016
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
5017
|
-
});
|
|
5018
|
-
return retVal;
|
|
5019
|
-
};
|
|
5020
|
-
const de_RequestLimitExceededException = (output, context) => {
|
|
5021
|
-
return {
|
|
5022
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5023
|
-
};
|
|
5024
|
-
};
|
|
5025
|
-
const de_ResourceAlreadyExistsException = (output, context) => {
|
|
5026
|
-
return {
|
|
5027
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5028
|
-
};
|
|
5029
|
-
};
|
|
5030
3510
|
const de_ResourceError = (output, context) => {
|
|
5031
|
-
return {
|
|
5032
|
-
ErrorCode:
|
|
5033
|
-
ErrorMessage:
|
|
5034
|
-
ErrorTimestamp:
|
|
5035
|
-
|
|
5036
|
-
: undefined,
|
|
5037
|
-
};
|
|
3511
|
+
return (0, smithy_client_1.take)(output, {
|
|
3512
|
+
ErrorCode: smithy_client_1.expectString,
|
|
3513
|
+
ErrorMessage: smithy_client_1.expectString,
|
|
3514
|
+
ErrorTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3515
|
+
});
|
|
5038
3516
|
};
|
|
5039
3517
|
const de_ResourceErrors = (output, context) => {
|
|
5040
3518
|
const retVal = (output || [])
|
|
5041
3519
|
.filter((e) => e != null)
|
|
5042
3520
|
.map((entry) => {
|
|
5043
|
-
if (entry === null) {
|
|
5044
|
-
return null;
|
|
5045
|
-
}
|
|
5046
3521
|
return de_ResourceError(entry, context);
|
|
5047
3522
|
});
|
|
5048
3523
|
return retVal;
|
|
5049
3524
|
};
|
|
5050
|
-
const de_ResourceInUseException = (output, context) => {
|
|
5051
|
-
return {
|
|
5052
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5053
|
-
};
|
|
5054
|
-
};
|
|
5055
|
-
const de_ResourceNotAvailableException = (output, context) => {
|
|
5056
|
-
return {
|
|
5057
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5058
|
-
};
|
|
5059
|
-
};
|
|
5060
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
5061
|
-
return {
|
|
5062
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5063
|
-
};
|
|
5064
|
-
};
|
|
5065
|
-
const de_S3Location = (output, context) => {
|
|
5066
|
-
return {
|
|
5067
|
-
S3Bucket: (0, smithy_client_1.expectString)(output.S3Bucket),
|
|
5068
|
-
S3Key: (0, smithy_client_1.expectString)(output.S3Key),
|
|
5069
|
-
};
|
|
5070
|
-
};
|
|
5071
|
-
const de_ScriptDetails = (output, context) => {
|
|
5072
|
-
return {
|
|
5073
|
-
ExecutableParameters: (0, smithy_client_1.expectString)(output.ExecutableParameters),
|
|
5074
|
-
ExecutablePath: (0, smithy_client_1.expectString)(output.ExecutablePath),
|
|
5075
|
-
ScriptS3Location: output.ScriptS3Location != null ? de_S3Location(output.ScriptS3Location, context) : undefined,
|
|
5076
|
-
TimeoutInSeconds: (0, smithy_client_1.expectInt32)(output.TimeoutInSeconds),
|
|
5077
|
-
};
|
|
5078
|
-
};
|
|
5079
|
-
const de_SecurityGroupIdList = (output, context) => {
|
|
5080
|
-
const retVal = (output || [])
|
|
5081
|
-
.filter((e) => e != null)
|
|
5082
|
-
.map((entry) => {
|
|
5083
|
-
if (entry === null) {
|
|
5084
|
-
return null;
|
|
5085
|
-
}
|
|
5086
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
5087
|
-
});
|
|
5088
|
-
return retVal;
|
|
5089
|
-
};
|
|
5090
|
-
const de_ServiceAccountCredentials = (output, context) => {
|
|
5091
|
-
return {
|
|
5092
|
-
AccountName: (0, smithy_client_1.expectString)(output.AccountName),
|
|
5093
|
-
AccountPassword: (0, smithy_client_1.expectString)(output.AccountPassword),
|
|
5094
|
-
};
|
|
5095
|
-
};
|
|
5096
3525
|
const de_Session = (output, context) => {
|
|
5097
|
-
return {
|
|
5098
|
-
AuthenticationType:
|
|
5099
|
-
ConnectionState:
|
|
5100
|
-
FleetName:
|
|
5101
|
-
Id:
|
|
5102
|
-
MaxExpirationTime:
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
5110
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
5111
|
-
UserId: (0, smithy_client_1.expectString)(output.UserId),
|
|
5112
|
-
};
|
|
3526
|
+
return (0, smithy_client_1.take)(output, {
|
|
3527
|
+
AuthenticationType: smithy_client_1.expectString,
|
|
3528
|
+
ConnectionState: smithy_client_1.expectString,
|
|
3529
|
+
FleetName: smithy_client_1.expectString,
|
|
3530
|
+
Id: smithy_client_1.expectString,
|
|
3531
|
+
MaxExpirationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3532
|
+
NetworkAccessConfiguration: smithy_client_1._json,
|
|
3533
|
+
StackName: smithy_client_1.expectString,
|
|
3534
|
+
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3535
|
+
State: smithy_client_1.expectString,
|
|
3536
|
+
UserId: smithy_client_1.expectString,
|
|
3537
|
+
});
|
|
5113
3538
|
};
|
|
5114
3539
|
const de_SessionList = (output, context) => {
|
|
5115
3540
|
const retVal = (output || [])
|
|
5116
3541
|
.filter((e) => e != null)
|
|
5117
3542
|
.map((entry) => {
|
|
5118
|
-
if (entry === null) {
|
|
5119
|
-
return null;
|
|
5120
|
-
}
|
|
5121
3543
|
return de_Session(entry, context);
|
|
5122
3544
|
});
|
|
5123
3545
|
return retVal;
|
|
5124
3546
|
};
|
|
5125
|
-
const de_SharedImagePermissions = (output, context) => {
|
|
5126
|
-
return {
|
|
5127
|
-
imagePermissions: output.imagePermissions != null ? de_ImagePermissions(output.imagePermissions, context) : undefined,
|
|
5128
|
-
sharedAccountId: (0, smithy_client_1.expectString)(output.sharedAccountId),
|
|
5129
|
-
};
|
|
5130
|
-
};
|
|
5131
|
-
const de_SharedImagePermissionsList = (output, context) => {
|
|
5132
|
-
const retVal = (output || [])
|
|
5133
|
-
.filter((e) => e != null)
|
|
5134
|
-
.map((entry) => {
|
|
5135
|
-
if (entry === null) {
|
|
5136
|
-
return null;
|
|
5137
|
-
}
|
|
5138
|
-
return de_SharedImagePermissions(entry, context);
|
|
5139
|
-
});
|
|
5140
|
-
return retVal;
|
|
5141
|
-
};
|
|
5142
3547
|
const de_Stack = (output, context) => {
|
|
5143
|
-
return {
|
|
5144
|
-
AccessEndpoints:
|
|
5145
|
-
ApplicationSettings:
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
StackErrors: output.StackErrors != null ? de_StackErrors(output.StackErrors, context) : undefined,
|
|
5159
|
-
StorageConnectors: output.StorageConnectors != null ? de_StorageConnectorList(output.StorageConnectors, context) : undefined,
|
|
5160
|
-
StreamingExperienceSettings: output.StreamingExperienceSettings != null
|
|
5161
|
-
? de_StreamingExperienceSettings(output.StreamingExperienceSettings, context)
|
|
5162
|
-
: undefined,
|
|
5163
|
-
UserSettings: output.UserSettings != null ? de_UserSettingList(output.UserSettings, context) : undefined,
|
|
5164
|
-
};
|
|
5165
|
-
};
|
|
5166
|
-
const de_StackError = (output, context) => {
|
|
5167
|
-
return {
|
|
5168
|
-
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
5169
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
5170
|
-
};
|
|
5171
|
-
};
|
|
5172
|
-
const de_StackErrors = (output, context) => {
|
|
5173
|
-
const retVal = (output || [])
|
|
5174
|
-
.filter((e) => e != null)
|
|
5175
|
-
.map((entry) => {
|
|
5176
|
-
if (entry === null) {
|
|
5177
|
-
return null;
|
|
5178
|
-
}
|
|
5179
|
-
return de_StackError(entry, context);
|
|
3548
|
+
return (0, smithy_client_1.take)(output, {
|
|
3549
|
+
AccessEndpoints: smithy_client_1._json,
|
|
3550
|
+
ApplicationSettings: smithy_client_1._json,
|
|
3551
|
+
Arn: smithy_client_1.expectString,
|
|
3552
|
+
CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3553
|
+
Description: smithy_client_1.expectString,
|
|
3554
|
+
DisplayName: smithy_client_1.expectString,
|
|
3555
|
+
EmbedHostDomains: smithy_client_1._json,
|
|
3556
|
+
FeedbackURL: smithy_client_1.expectString,
|
|
3557
|
+
Name: smithy_client_1.expectString,
|
|
3558
|
+
RedirectURL: smithy_client_1.expectString,
|
|
3559
|
+
StackErrors: smithy_client_1._json,
|
|
3560
|
+
StorageConnectors: smithy_client_1._json,
|
|
3561
|
+
StreamingExperienceSettings: smithy_client_1._json,
|
|
3562
|
+
UserSettings: smithy_client_1._json,
|
|
5180
3563
|
});
|
|
5181
|
-
return retVal;
|
|
5182
3564
|
};
|
|
5183
3565
|
const de_StackList = (output, context) => {
|
|
5184
3566
|
const retVal = (output || [])
|
|
5185
3567
|
.filter((e) => e != null)
|
|
5186
3568
|
.map((entry) => {
|
|
5187
|
-
if (entry === null) {
|
|
5188
|
-
return null;
|
|
5189
|
-
}
|
|
5190
3569
|
return de_Stack(entry, context);
|
|
5191
3570
|
});
|
|
5192
3571
|
return retVal;
|
|
5193
3572
|
};
|
|
5194
|
-
const de_StartFleetResult = (output, context) => {
|
|
5195
|
-
return {};
|
|
5196
|
-
};
|
|
5197
3573
|
const de_StartImageBuilderResult = (output, context) => {
|
|
5198
|
-
return {
|
|
5199
|
-
ImageBuilder:
|
|
5200
|
-
};
|
|
5201
|
-
};
|
|
5202
|
-
const de_StopFleetResult = (output, context) => {
|
|
5203
|
-
return {};
|
|
5204
|
-
};
|
|
5205
|
-
const de_StopImageBuilderResult = (output, context) => {
|
|
5206
|
-
return {
|
|
5207
|
-
ImageBuilder: output.ImageBuilder != null ? de_ImageBuilder(output.ImageBuilder, context) : undefined,
|
|
5208
|
-
};
|
|
5209
|
-
};
|
|
5210
|
-
const de_StorageConnector = (output, context) => {
|
|
5211
|
-
return {
|
|
5212
|
-
ConnectorType: (0, smithy_client_1.expectString)(output.ConnectorType),
|
|
5213
|
-
Domains: output.Domains != null ? de_DomainList(output.Domains, context) : undefined,
|
|
5214
|
-
ResourceIdentifier: (0, smithy_client_1.expectString)(output.ResourceIdentifier),
|
|
5215
|
-
};
|
|
5216
|
-
};
|
|
5217
|
-
const de_StorageConnectorList = (output, context) => {
|
|
5218
|
-
const retVal = (output || [])
|
|
5219
|
-
.filter((e) => e != null)
|
|
5220
|
-
.map((entry) => {
|
|
5221
|
-
if (entry === null) {
|
|
5222
|
-
return null;
|
|
5223
|
-
}
|
|
5224
|
-
return de_StorageConnector(entry, context);
|
|
5225
|
-
});
|
|
5226
|
-
return retVal;
|
|
5227
|
-
};
|
|
5228
|
-
const de_StreamingExperienceSettings = (output, context) => {
|
|
5229
|
-
return {
|
|
5230
|
-
PreferredProtocol: (0, smithy_client_1.expectString)(output.PreferredProtocol),
|
|
5231
|
-
};
|
|
5232
|
-
};
|
|
5233
|
-
const de_StringList = (output, context) => {
|
|
5234
|
-
const retVal = (output || [])
|
|
5235
|
-
.filter((e) => e != null)
|
|
5236
|
-
.map((entry) => {
|
|
5237
|
-
if (entry === null) {
|
|
5238
|
-
return null;
|
|
5239
|
-
}
|
|
5240
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3574
|
+
return (0, smithy_client_1.take)(output, {
|
|
3575
|
+
ImageBuilder: (_) => de_ImageBuilder(_, context),
|
|
5241
3576
|
});
|
|
5242
|
-
return retVal;
|
|
5243
3577
|
};
|
|
5244
|
-
const
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
.map((entry) => {
|
|
5248
|
-
if (entry === null) {
|
|
5249
|
-
return null;
|
|
5250
|
-
}
|
|
5251
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3578
|
+
const de_StopImageBuilderResult = (output, context) => {
|
|
3579
|
+
return (0, smithy_client_1.take)(output, {
|
|
3580
|
+
ImageBuilder: (_) => de_ImageBuilder(_, context),
|
|
5252
3581
|
});
|
|
5253
|
-
return retVal;
|
|
5254
|
-
};
|
|
5255
|
-
const de_TagResourceResponse = (output, context) => {
|
|
5256
|
-
return {};
|
|
5257
|
-
};
|
|
5258
|
-
const de_Tags = (output, context) => {
|
|
5259
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
5260
|
-
if (value === null) {
|
|
5261
|
-
return acc;
|
|
5262
|
-
}
|
|
5263
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
5264
|
-
return acc;
|
|
5265
|
-
}, {});
|
|
5266
|
-
};
|
|
5267
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
5268
|
-
return {};
|
|
5269
3582
|
};
|
|
5270
3583
|
const de_UpdateApplicationResult = (output, context) => {
|
|
5271
|
-
return {
|
|
5272
|
-
Application:
|
|
5273
|
-
};
|
|
3584
|
+
return (0, smithy_client_1.take)(output, {
|
|
3585
|
+
Application: (_) => de_Application(_, context),
|
|
3586
|
+
});
|
|
5274
3587
|
};
|
|
5275
3588
|
const de_UpdateDirectoryConfigResult = (output, context) => {
|
|
5276
|
-
return {
|
|
5277
|
-
DirectoryConfig:
|
|
5278
|
-
};
|
|
3589
|
+
return (0, smithy_client_1.take)(output, {
|
|
3590
|
+
DirectoryConfig: (_) => de_DirectoryConfig(_, context),
|
|
3591
|
+
});
|
|
5279
3592
|
};
|
|
5280
3593
|
const de_UpdateEntitlementResult = (output, context) => {
|
|
5281
|
-
return {
|
|
5282
|
-
Entitlement:
|
|
5283
|
-
};
|
|
3594
|
+
return (0, smithy_client_1.take)(output, {
|
|
3595
|
+
Entitlement: (_) => de_Entitlement(_, context),
|
|
3596
|
+
});
|
|
5284
3597
|
};
|
|
5285
3598
|
const de_UpdateFleetResult = (output, context) => {
|
|
5286
|
-
return {
|
|
5287
|
-
Fleet:
|
|
5288
|
-
};
|
|
5289
|
-
};
|
|
5290
|
-
const de_UpdateImagePermissionsResult = (output, context) => {
|
|
5291
|
-
return {};
|
|
3599
|
+
return (0, smithy_client_1.take)(output, {
|
|
3600
|
+
Fleet: (_) => de_Fleet(_, context),
|
|
3601
|
+
});
|
|
5292
3602
|
};
|
|
5293
3603
|
const de_UpdateStackResult = (output, context) => {
|
|
5294
|
-
return {
|
|
5295
|
-
Stack:
|
|
5296
|
-
};
|
|
3604
|
+
return (0, smithy_client_1.take)(output, {
|
|
3605
|
+
Stack: (_) => de_Stack(_, context),
|
|
3606
|
+
});
|
|
5297
3607
|
};
|
|
5298
3608
|
const de_UsageReportSubscription = (output, context) => {
|
|
5299
|
-
return {
|
|
5300
|
-
LastGeneratedReportDate:
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
SubscriptionErrors: output.SubscriptionErrors != null
|
|
5306
|
-
? de_LastReportGenerationExecutionErrors(output.SubscriptionErrors, context)
|
|
5307
|
-
: undefined,
|
|
5308
|
-
};
|
|
3609
|
+
return (0, smithy_client_1.take)(output, {
|
|
3610
|
+
LastGeneratedReportDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3611
|
+
S3BucketName: smithy_client_1.expectString,
|
|
3612
|
+
Schedule: smithy_client_1.expectString,
|
|
3613
|
+
SubscriptionErrors: smithy_client_1._json,
|
|
3614
|
+
});
|
|
5309
3615
|
};
|
|
5310
3616
|
const de_UsageReportSubscriptionList = (output, context) => {
|
|
5311
3617
|
const retVal = (output || [])
|
|
5312
3618
|
.filter((e) => e != null)
|
|
5313
3619
|
.map((entry) => {
|
|
5314
|
-
if (entry === null) {
|
|
5315
|
-
return null;
|
|
5316
|
-
}
|
|
5317
3620
|
return de_UsageReportSubscription(entry, context);
|
|
5318
3621
|
});
|
|
5319
3622
|
return retVal;
|
|
5320
3623
|
};
|
|
5321
|
-
const de_UsbDeviceFilterStrings = (output, context) => {
|
|
5322
|
-
const retVal = (output || [])
|
|
5323
|
-
.filter((e) => e != null)
|
|
5324
|
-
.map((entry) => {
|
|
5325
|
-
if (entry === null) {
|
|
5326
|
-
return null;
|
|
5327
|
-
}
|
|
5328
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
5329
|
-
});
|
|
5330
|
-
return retVal;
|
|
5331
|
-
};
|
|
5332
3624
|
const de_User = (output, context) => {
|
|
5333
|
-
return {
|
|
5334
|
-
Arn:
|
|
5335
|
-
AuthenticationType:
|
|
5336
|
-
CreatedTime:
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
UserName: (0, smithy_client_1.expectString)(output.UserName),
|
|
5344
|
-
};
|
|
3625
|
+
return (0, smithy_client_1.take)(output, {
|
|
3626
|
+
Arn: smithy_client_1.expectString,
|
|
3627
|
+
AuthenticationType: smithy_client_1.expectString,
|
|
3628
|
+
CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3629
|
+
Enabled: smithy_client_1.expectBoolean,
|
|
3630
|
+
FirstName: smithy_client_1.expectString,
|
|
3631
|
+
LastName: smithy_client_1.expectString,
|
|
3632
|
+
Status: smithy_client_1.expectString,
|
|
3633
|
+
UserName: smithy_client_1.expectString,
|
|
3634
|
+
});
|
|
5345
3635
|
};
|
|
5346
3636
|
const de_UserList = (output, context) => {
|
|
5347
3637
|
const retVal = (output || [])
|
|
5348
3638
|
.filter((e) => e != null)
|
|
5349
3639
|
.map((entry) => {
|
|
5350
|
-
if (entry === null) {
|
|
5351
|
-
return null;
|
|
5352
|
-
}
|
|
5353
3640
|
return de_User(entry, context);
|
|
5354
3641
|
});
|
|
5355
3642
|
return retVal;
|
|
5356
3643
|
};
|
|
5357
|
-
const de_UserSetting = (output, context) => {
|
|
5358
|
-
return {
|
|
5359
|
-
Action: (0, smithy_client_1.expectString)(output.Action),
|
|
5360
|
-
Permission: (0, smithy_client_1.expectString)(output.Permission),
|
|
5361
|
-
};
|
|
5362
|
-
};
|
|
5363
|
-
const de_UserSettingList = (output, context) => {
|
|
5364
|
-
const retVal = (output || [])
|
|
5365
|
-
.filter((e) => e != null)
|
|
5366
|
-
.map((entry) => {
|
|
5367
|
-
if (entry === null) {
|
|
5368
|
-
return null;
|
|
5369
|
-
}
|
|
5370
|
-
return de_UserSetting(entry, context);
|
|
5371
|
-
});
|
|
5372
|
-
return retVal;
|
|
5373
|
-
};
|
|
5374
|
-
const de_UserStackAssociation = (output, context) => {
|
|
5375
|
-
return {
|
|
5376
|
-
AuthenticationType: (0, smithy_client_1.expectString)(output.AuthenticationType),
|
|
5377
|
-
SendEmailNotification: (0, smithy_client_1.expectBoolean)(output.SendEmailNotification),
|
|
5378
|
-
StackName: (0, smithy_client_1.expectString)(output.StackName),
|
|
5379
|
-
UserName: (0, smithy_client_1.expectString)(output.UserName),
|
|
5380
|
-
};
|
|
5381
|
-
};
|
|
5382
|
-
const de_UserStackAssociationError = (output, context) => {
|
|
5383
|
-
return {
|
|
5384
|
-
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
5385
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
5386
|
-
UserStackAssociation: output.UserStackAssociation != null ? de_UserStackAssociation(output.UserStackAssociation, context) : undefined,
|
|
5387
|
-
};
|
|
5388
|
-
};
|
|
5389
|
-
const de_UserStackAssociationErrorList = (output, context) => {
|
|
5390
|
-
const retVal = (output || [])
|
|
5391
|
-
.filter((e) => e != null)
|
|
5392
|
-
.map((entry) => {
|
|
5393
|
-
if (entry === null) {
|
|
5394
|
-
return null;
|
|
5395
|
-
}
|
|
5396
|
-
return de_UserStackAssociationError(entry, context);
|
|
5397
|
-
});
|
|
5398
|
-
return retVal;
|
|
5399
|
-
};
|
|
5400
|
-
const de_UserStackAssociationList = (output, context) => {
|
|
5401
|
-
const retVal = (output || [])
|
|
5402
|
-
.filter((e) => e != null)
|
|
5403
|
-
.map((entry) => {
|
|
5404
|
-
if (entry === null) {
|
|
5405
|
-
return null;
|
|
5406
|
-
}
|
|
5407
|
-
return de_UserStackAssociation(entry, context);
|
|
5408
|
-
});
|
|
5409
|
-
return retVal;
|
|
5410
|
-
};
|
|
5411
|
-
const de_VpcConfig = (output, context) => {
|
|
5412
|
-
return {
|
|
5413
|
-
SecurityGroupIds: output.SecurityGroupIds != null ? de_SecurityGroupIdList(output.SecurityGroupIds, context) : undefined,
|
|
5414
|
-
SubnetIds: output.SubnetIds != null ? de_SubnetIdList(output.SubnetIds, context) : undefined,
|
|
5415
|
-
};
|
|
5416
|
-
};
|
|
5417
3644
|
const deserializeMetadata = (output) => ({
|
|
5418
3645
|
httpStatusCode: output.statusCode,
|
|
5419
3646
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -5427,6 +3654,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
5427
3654
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5428
3655
|
};
|
|
5429
3656
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3657
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(AppStreamServiceException_1.AppStreamServiceException);
|
|
5430
3658
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
5431
3659
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
5432
3660
|
const contents = {
|
|
@@ -5445,6 +3673,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
5445
3673
|
}
|
|
5446
3674
|
return new protocol_http_1.HttpRequest(contents);
|
|
5447
3675
|
};
|
|
3676
|
+
function sharedHeaders(operation) {
|
|
3677
|
+
return {
|
|
3678
|
+
"content-type": "application/x-amz-json-1.1",
|
|
3679
|
+
"x-amz-target": `PhotonAdminProxyService.${operation}`,
|
|
3680
|
+
};
|
|
3681
|
+
}
|
|
5448
3682
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
5449
3683
|
if (encoded.length) {
|
|
5450
3684
|
return JSON.parse(encoded);
|