@aws-sdk/client-mq 3.306.0 → 3.310.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/CreateBrokerCommand.js +2 -2
- package/dist-cjs/commands/CreateConfigurationCommand.js +2 -2
- package/dist-cjs/commands/CreateTagsCommand.js +2 -2
- package/dist-cjs/commands/CreateUserCommand.js +2 -2
- package/dist-cjs/commands/DeleteBrokerCommand.js +2 -2
- package/dist-cjs/commands/DeleteTagsCommand.js +2 -2
- package/dist-cjs/commands/DeleteUserCommand.js +2 -2
- package/dist-cjs/commands/DescribeBrokerCommand.js +2 -2
- package/dist-cjs/commands/DescribeBrokerEngineTypesCommand.js +2 -2
- package/dist-cjs/commands/DescribeBrokerInstanceOptionsCommand.js +2 -2
- package/dist-cjs/commands/DescribeConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DescribeConfigurationRevisionCommand.js +2 -2
- package/dist-cjs/commands/DescribeUserCommand.js +2 -2
- package/dist-cjs/commands/ListBrokersCommand.js +2 -2
- package/dist-cjs/commands/ListConfigurationRevisionsCommand.js +2 -2
- package/dist-cjs/commands/ListConfigurationsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsCommand.js +2 -2
- package/dist-cjs/commands/ListUsersCommand.js +2 -2
- package/dist-cjs/commands/RebootBrokerCommand.js +2 -2
- package/dist-cjs/commands/UpdateBrokerCommand.js +2 -2
- package/dist-cjs/commands/UpdateConfigurationCommand.js +2 -2
- package/dist-cjs/commands/UpdateUserCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +350 -366
- package/dist-es/commands/CreateBrokerCommand.js +3 -3
- package/dist-es/commands/CreateConfigurationCommand.js +3 -3
- package/dist-es/commands/CreateTagsCommand.js +3 -3
- package/dist-es/commands/CreateUserCommand.js +3 -3
- package/dist-es/commands/DeleteBrokerCommand.js +3 -3
- package/dist-es/commands/DeleteTagsCommand.js +3 -3
- package/dist-es/commands/DeleteUserCommand.js +3 -3
- package/dist-es/commands/DescribeBrokerCommand.js +3 -3
- package/dist-es/commands/DescribeBrokerEngineTypesCommand.js +3 -3
- package/dist-es/commands/DescribeBrokerInstanceOptionsCommand.js +3 -3
- package/dist-es/commands/DescribeConfigurationCommand.js +3 -3
- package/dist-es/commands/DescribeConfigurationRevisionCommand.js +3 -3
- package/dist-es/commands/DescribeUserCommand.js +3 -3
- package/dist-es/commands/ListBrokersCommand.js +3 -3
- package/dist-es/commands/ListConfigurationRevisionsCommand.js +3 -3
- package/dist-es/commands/ListConfigurationsCommand.js +3 -3
- package/dist-es/commands/ListTagsCommand.js +3 -3
- package/dist-es/commands/ListUsersCommand.js +3 -3
- package/dist-es/commands/RebootBrokerCommand.js +3 -3
- package/dist-es/commands/UpdateBrokerCommand.js +3 -3
- package/dist-es/commands/UpdateConfigurationCommand.js +3 -3
- package/dist-es/commands/UpdateUserCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +305 -321
- package/dist-types/protocols/Aws_restJson1.d.ts +176 -44
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +44 -44
- package/package.json +35 -35
|
@@ -3,7 +3,7 @@ import { decorateServiceException as __decorateServiceException, expectBoolean a
|
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { BadRequestException, ConflictException, ForbiddenException, InternalServerErrorException, NotFoundException, UnauthorizedException, } from "../models/models_0";
|
|
5
5
|
import { MqServiceException as __BaseException } from "../models/MqServiceException";
|
|
6
|
-
export const
|
|
6
|
+
export const se_CreateBrokerCommand = async (input, context) => {
|
|
7
7
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
8
8
|
const headers = {
|
|
9
9
|
"content-type": "application/json",
|
|
@@ -14,32 +14,28 @@ export const serializeAws_restJson1CreateBrokerCommand = async (input, context)
|
|
|
14
14
|
...(input.AuthenticationStrategy != null && { authenticationStrategy: input.AuthenticationStrategy }),
|
|
15
15
|
...(input.AutoMinorVersionUpgrade != null && { autoMinorVersionUpgrade: input.AutoMinorVersionUpgrade }),
|
|
16
16
|
...(input.BrokerName != null && { brokerName: input.BrokerName }),
|
|
17
|
-
...(input.Configuration != null && {
|
|
18
|
-
configuration: serializeAws_restJson1ConfigurationId(input.Configuration, context),
|
|
19
|
-
}),
|
|
17
|
+
...(input.Configuration != null && { configuration: se_ConfigurationId(input.Configuration, context) }),
|
|
20
18
|
creatorRequestId: input.CreatorRequestId ?? generateIdempotencyToken(),
|
|
21
19
|
...(input.DeploymentMode != null && { deploymentMode: input.DeploymentMode }),
|
|
22
20
|
...(input.EncryptionOptions != null && {
|
|
23
|
-
encryptionOptions:
|
|
21
|
+
encryptionOptions: se_EncryptionOptions(input.EncryptionOptions, context),
|
|
24
22
|
}),
|
|
25
23
|
...(input.EngineType != null && { engineType: input.EngineType }),
|
|
26
24
|
...(input.EngineVersion != null && { engineVersion: input.EngineVersion }),
|
|
27
25
|
...(input.HostInstanceType != null && { hostInstanceType: input.HostInstanceType }),
|
|
28
26
|
...(input.LdapServerMetadata != null && {
|
|
29
|
-
ldapServerMetadata:
|
|
27
|
+
ldapServerMetadata: se_LdapServerMetadataInput(input.LdapServerMetadata, context),
|
|
30
28
|
}),
|
|
31
|
-
...(input.Logs != null && { logs:
|
|
29
|
+
...(input.Logs != null && { logs: se_Logs(input.Logs, context) }),
|
|
32
30
|
...(input.MaintenanceWindowStartTime != null && {
|
|
33
|
-
maintenanceWindowStartTime:
|
|
31
|
+
maintenanceWindowStartTime: se_WeeklyStartTime(input.MaintenanceWindowStartTime, context),
|
|
34
32
|
}),
|
|
35
33
|
...(input.PubliclyAccessible != null && { publiclyAccessible: input.PubliclyAccessible }),
|
|
36
|
-
...(input.SecurityGroups != null && {
|
|
37
|
-
securityGroups: serializeAws_restJson1__listOf__string(input.SecurityGroups, context),
|
|
38
|
-
}),
|
|
34
|
+
...(input.SecurityGroups != null && { securityGroups: se___listOf__string(input.SecurityGroups, context) }),
|
|
39
35
|
...(input.StorageType != null && { storageType: input.StorageType }),
|
|
40
|
-
...(input.SubnetIds != null && { subnetIds:
|
|
41
|
-
...(input.Tags != null && { tags:
|
|
42
|
-
...(input.Users != null && { users:
|
|
36
|
+
...(input.SubnetIds != null && { subnetIds: se___listOf__string(input.SubnetIds, context) }),
|
|
37
|
+
...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
|
|
38
|
+
...(input.Users != null && { users: se___listOfUser(input.Users, context) }),
|
|
43
39
|
});
|
|
44
40
|
return new __HttpRequest({
|
|
45
41
|
protocol,
|
|
@@ -51,7 +47,7 @@ export const serializeAws_restJson1CreateBrokerCommand = async (input, context)
|
|
|
51
47
|
body,
|
|
52
48
|
});
|
|
53
49
|
};
|
|
54
|
-
export const
|
|
50
|
+
export const se_CreateConfigurationCommand = async (input, context) => {
|
|
55
51
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
56
52
|
const headers = {
|
|
57
53
|
"content-type": "application/json",
|
|
@@ -63,7 +59,7 @@ export const serializeAws_restJson1CreateConfigurationCommand = async (input, co
|
|
|
63
59
|
...(input.EngineType != null && { engineType: input.EngineType }),
|
|
64
60
|
...(input.EngineVersion != null && { engineVersion: input.EngineVersion }),
|
|
65
61
|
...(input.Name != null && { name: input.Name }),
|
|
66
|
-
...(input.Tags != null && { tags:
|
|
62
|
+
...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
|
|
67
63
|
});
|
|
68
64
|
return new __HttpRequest({
|
|
69
65
|
protocol,
|
|
@@ -75,7 +71,7 @@ export const serializeAws_restJson1CreateConfigurationCommand = async (input, co
|
|
|
75
71
|
body,
|
|
76
72
|
});
|
|
77
73
|
};
|
|
78
|
-
export const
|
|
74
|
+
export const se_CreateTagsCommand = async (input, context) => {
|
|
79
75
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
80
76
|
const headers = {
|
|
81
77
|
"content-type": "application/json",
|
|
@@ -84,7 +80,7 @@ export const serializeAws_restJson1CreateTagsCommand = async (input, context) =>
|
|
|
84
80
|
resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
85
81
|
let body;
|
|
86
82
|
body = JSON.stringify({
|
|
87
|
-
...(input.Tags != null && { tags:
|
|
83
|
+
...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
|
|
88
84
|
});
|
|
89
85
|
return new __HttpRequest({
|
|
90
86
|
protocol,
|
|
@@ -96,7 +92,7 @@ export const serializeAws_restJson1CreateTagsCommand = async (input, context) =>
|
|
|
96
92
|
body,
|
|
97
93
|
});
|
|
98
94
|
};
|
|
99
|
-
export const
|
|
95
|
+
export const se_CreateUserCommand = async (input, context) => {
|
|
100
96
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
101
97
|
const headers = {
|
|
102
98
|
"content-type": "application/json",
|
|
@@ -107,7 +103,7 @@ export const serializeAws_restJson1CreateUserCommand = async (input, context) =>
|
|
|
107
103
|
let body;
|
|
108
104
|
body = JSON.stringify({
|
|
109
105
|
...(input.ConsoleAccess != null && { consoleAccess: input.ConsoleAccess }),
|
|
110
|
-
...(input.Groups != null && { groups:
|
|
106
|
+
...(input.Groups != null && { groups: se___listOf__string(input.Groups, context) }),
|
|
111
107
|
...(input.Password != null && { password: input.Password }),
|
|
112
108
|
});
|
|
113
109
|
return new __HttpRequest({
|
|
@@ -120,7 +116,7 @@ export const serializeAws_restJson1CreateUserCommand = async (input, context) =>
|
|
|
120
116
|
body,
|
|
121
117
|
});
|
|
122
118
|
};
|
|
123
|
-
export const
|
|
119
|
+
export const se_DeleteBrokerCommand = async (input, context) => {
|
|
124
120
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
125
121
|
const headers = {};
|
|
126
122
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/brokers/{BrokerId}";
|
|
@@ -136,7 +132,7 @@ export const serializeAws_restJson1DeleteBrokerCommand = async (input, context)
|
|
|
136
132
|
body,
|
|
137
133
|
});
|
|
138
134
|
};
|
|
139
|
-
export const
|
|
135
|
+
export const se_DeleteTagsCommand = async (input, context) => {
|
|
140
136
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
141
137
|
const headers = {};
|
|
142
138
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tags/{ResourceArn}";
|
|
@@ -159,7 +155,7 @@ export const serializeAws_restJson1DeleteTagsCommand = async (input, context) =>
|
|
|
159
155
|
body,
|
|
160
156
|
});
|
|
161
157
|
};
|
|
162
|
-
export const
|
|
158
|
+
export const se_DeleteUserCommand = async (input, context) => {
|
|
163
159
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
164
160
|
const headers = {};
|
|
165
161
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/brokers/{BrokerId}/users/{Username}";
|
|
@@ -176,7 +172,7 @@ export const serializeAws_restJson1DeleteUserCommand = async (input, context) =>
|
|
|
176
172
|
body,
|
|
177
173
|
});
|
|
178
174
|
};
|
|
179
|
-
export const
|
|
175
|
+
export const se_DescribeBrokerCommand = async (input, context) => {
|
|
180
176
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
181
177
|
const headers = {};
|
|
182
178
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/brokers/{BrokerId}";
|
|
@@ -192,7 +188,7 @@ export const serializeAws_restJson1DescribeBrokerCommand = async (input, context
|
|
|
192
188
|
body,
|
|
193
189
|
});
|
|
194
190
|
};
|
|
195
|
-
export const
|
|
191
|
+
export const se_DescribeBrokerEngineTypesCommand = async (input, context) => {
|
|
196
192
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
197
193
|
const headers = {};
|
|
198
194
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/broker-engine-types";
|
|
@@ -213,7 +209,7 @@ export const serializeAws_restJson1DescribeBrokerEngineTypesCommand = async (inp
|
|
|
213
209
|
body,
|
|
214
210
|
});
|
|
215
211
|
};
|
|
216
|
-
export const
|
|
212
|
+
export const se_DescribeBrokerInstanceOptionsCommand = async (input, context) => {
|
|
217
213
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
218
214
|
const headers = {};
|
|
219
215
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/broker-instance-options";
|
|
@@ -236,7 +232,7 @@ export const serializeAws_restJson1DescribeBrokerInstanceOptionsCommand = async
|
|
|
236
232
|
body,
|
|
237
233
|
});
|
|
238
234
|
};
|
|
239
|
-
export const
|
|
235
|
+
export const se_DescribeConfigurationCommand = async (input, context) => {
|
|
240
236
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
241
237
|
const headers = {};
|
|
242
238
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/configurations/{ConfigurationId}";
|
|
@@ -252,7 +248,7 @@ export const serializeAws_restJson1DescribeConfigurationCommand = async (input,
|
|
|
252
248
|
body,
|
|
253
249
|
});
|
|
254
250
|
};
|
|
255
|
-
export const
|
|
251
|
+
export const se_DescribeConfigurationRevisionCommand = async (input, context) => {
|
|
256
252
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
257
253
|
const headers = {};
|
|
258
254
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -270,7 +266,7 @@ export const serializeAws_restJson1DescribeConfigurationRevisionCommand = async
|
|
|
270
266
|
body,
|
|
271
267
|
});
|
|
272
268
|
};
|
|
273
|
-
export const
|
|
269
|
+
export const se_DescribeUserCommand = async (input, context) => {
|
|
274
270
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
275
271
|
const headers = {};
|
|
276
272
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/brokers/{BrokerId}/users/{Username}";
|
|
@@ -287,7 +283,7 @@ export const serializeAws_restJson1DescribeUserCommand = async (input, context)
|
|
|
287
283
|
body,
|
|
288
284
|
});
|
|
289
285
|
};
|
|
290
|
-
export const
|
|
286
|
+
export const se_ListBrokersCommand = async (input, context) => {
|
|
291
287
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
292
288
|
const headers = {};
|
|
293
289
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/brokers";
|
|
@@ -307,7 +303,7 @@ export const serializeAws_restJson1ListBrokersCommand = async (input, context) =
|
|
|
307
303
|
body,
|
|
308
304
|
});
|
|
309
305
|
};
|
|
310
|
-
export const
|
|
306
|
+
export const se_ListConfigurationRevisionsCommand = async (input, context) => {
|
|
311
307
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
312
308
|
const headers = {};
|
|
313
309
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -329,7 +325,7 @@ export const serializeAws_restJson1ListConfigurationRevisionsCommand = async (in
|
|
|
329
325
|
body,
|
|
330
326
|
});
|
|
331
327
|
};
|
|
332
|
-
export const
|
|
328
|
+
export const se_ListConfigurationsCommand = async (input, context) => {
|
|
333
329
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
334
330
|
const headers = {};
|
|
335
331
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/configurations";
|
|
@@ -349,7 +345,7 @@ export const serializeAws_restJson1ListConfigurationsCommand = async (input, con
|
|
|
349
345
|
body,
|
|
350
346
|
});
|
|
351
347
|
};
|
|
352
|
-
export const
|
|
348
|
+
export const se_ListTagsCommand = async (input, context) => {
|
|
353
349
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
354
350
|
const headers = {};
|
|
355
351
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tags/{ResourceArn}";
|
|
@@ -365,7 +361,7 @@ export const serializeAws_restJson1ListTagsCommand = async (input, context) => {
|
|
|
365
361
|
body,
|
|
366
362
|
});
|
|
367
363
|
};
|
|
368
|
-
export const
|
|
364
|
+
export const se_ListUsersCommand = async (input, context) => {
|
|
369
365
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
370
366
|
const headers = {};
|
|
371
367
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/brokers/{BrokerId}/users";
|
|
@@ -386,7 +382,7 @@ export const serializeAws_restJson1ListUsersCommand = async (input, context) =>
|
|
|
386
382
|
body,
|
|
387
383
|
});
|
|
388
384
|
};
|
|
389
|
-
export const
|
|
385
|
+
export const se_RebootBrokerCommand = async (input, context) => {
|
|
390
386
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
391
387
|
const headers = {};
|
|
392
388
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/brokers/{BrokerId}/reboot";
|
|
@@ -402,7 +398,7 @@ export const serializeAws_restJson1RebootBrokerCommand = async (input, context)
|
|
|
402
398
|
body,
|
|
403
399
|
});
|
|
404
400
|
};
|
|
405
|
-
export const
|
|
401
|
+
export const se_UpdateBrokerCommand = async (input, context) => {
|
|
406
402
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
407
403
|
const headers = {
|
|
408
404
|
"content-type": "application/json",
|
|
@@ -413,21 +409,17 @@ export const serializeAws_restJson1UpdateBrokerCommand = async (input, context)
|
|
|
413
409
|
body = JSON.stringify({
|
|
414
410
|
...(input.AuthenticationStrategy != null && { authenticationStrategy: input.AuthenticationStrategy }),
|
|
415
411
|
...(input.AutoMinorVersionUpgrade != null && { autoMinorVersionUpgrade: input.AutoMinorVersionUpgrade }),
|
|
416
|
-
...(input.Configuration != null && {
|
|
417
|
-
configuration: serializeAws_restJson1ConfigurationId(input.Configuration, context),
|
|
418
|
-
}),
|
|
412
|
+
...(input.Configuration != null && { configuration: se_ConfigurationId(input.Configuration, context) }),
|
|
419
413
|
...(input.EngineVersion != null && { engineVersion: input.EngineVersion }),
|
|
420
414
|
...(input.HostInstanceType != null && { hostInstanceType: input.HostInstanceType }),
|
|
421
415
|
...(input.LdapServerMetadata != null && {
|
|
422
|
-
ldapServerMetadata:
|
|
416
|
+
ldapServerMetadata: se_LdapServerMetadataInput(input.LdapServerMetadata, context),
|
|
423
417
|
}),
|
|
424
|
-
...(input.Logs != null && { logs:
|
|
418
|
+
...(input.Logs != null && { logs: se_Logs(input.Logs, context) }),
|
|
425
419
|
...(input.MaintenanceWindowStartTime != null && {
|
|
426
|
-
maintenanceWindowStartTime:
|
|
427
|
-
}),
|
|
428
|
-
...(input.SecurityGroups != null && {
|
|
429
|
-
securityGroups: serializeAws_restJson1__listOf__string(input.SecurityGroups, context),
|
|
420
|
+
maintenanceWindowStartTime: se_WeeklyStartTime(input.MaintenanceWindowStartTime, context),
|
|
430
421
|
}),
|
|
422
|
+
...(input.SecurityGroups != null && { securityGroups: se___listOf__string(input.SecurityGroups, context) }),
|
|
431
423
|
});
|
|
432
424
|
return new __HttpRequest({
|
|
433
425
|
protocol,
|
|
@@ -439,7 +431,7 @@ export const serializeAws_restJson1UpdateBrokerCommand = async (input, context)
|
|
|
439
431
|
body,
|
|
440
432
|
});
|
|
441
433
|
};
|
|
442
|
-
export const
|
|
434
|
+
export const se_UpdateConfigurationCommand = async (input, context) => {
|
|
443
435
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
444
436
|
const headers = {
|
|
445
437
|
"content-type": "application/json",
|
|
@@ -461,7 +453,7 @@ export const serializeAws_restJson1UpdateConfigurationCommand = async (input, co
|
|
|
461
453
|
body,
|
|
462
454
|
});
|
|
463
455
|
};
|
|
464
|
-
export const
|
|
456
|
+
export const se_UpdateUserCommand = async (input, context) => {
|
|
465
457
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
466
458
|
const headers = {
|
|
467
459
|
"content-type": "application/json",
|
|
@@ -472,7 +464,7 @@ export const serializeAws_restJson1UpdateUserCommand = async (input, context) =>
|
|
|
472
464
|
let body;
|
|
473
465
|
body = JSON.stringify({
|
|
474
466
|
...(input.ConsoleAccess != null && { consoleAccess: input.ConsoleAccess }),
|
|
475
|
-
...(input.Groups != null && { groups:
|
|
467
|
+
...(input.Groups != null && { groups: se___listOf__string(input.Groups, context) }),
|
|
476
468
|
...(input.Password != null && { password: input.Password }),
|
|
477
469
|
});
|
|
478
470
|
return new __HttpRequest({
|
|
@@ -485,9 +477,9 @@ export const serializeAws_restJson1UpdateUserCommand = async (input, context) =>
|
|
|
485
477
|
body,
|
|
486
478
|
});
|
|
487
479
|
};
|
|
488
|
-
export const
|
|
480
|
+
export const de_CreateBrokerCommand = async (output, context) => {
|
|
489
481
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
490
|
-
return
|
|
482
|
+
return de_CreateBrokerCommandError(output, context);
|
|
491
483
|
}
|
|
492
484
|
const contents = map({
|
|
493
485
|
$metadata: deserializeMetadata(output),
|
|
@@ -501,7 +493,7 @@ export const deserializeAws_restJson1CreateBrokerCommand = async (output, contex
|
|
|
501
493
|
}
|
|
502
494
|
return contents;
|
|
503
495
|
};
|
|
504
|
-
const
|
|
496
|
+
const de_CreateBrokerCommandError = async (output, context) => {
|
|
505
497
|
const parsedOutput = {
|
|
506
498
|
...output,
|
|
507
499
|
body: await parseErrorBody(output.body, context),
|
|
@@ -510,19 +502,19 @@ const deserializeAws_restJson1CreateBrokerCommandError = async (output, context)
|
|
|
510
502
|
switch (errorCode) {
|
|
511
503
|
case "BadRequestException":
|
|
512
504
|
case "com.amazonaws.mq#BadRequestException":
|
|
513
|
-
throw await
|
|
505
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
514
506
|
case "ConflictException":
|
|
515
507
|
case "com.amazonaws.mq#ConflictException":
|
|
516
|
-
throw await
|
|
508
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
517
509
|
case "ForbiddenException":
|
|
518
510
|
case "com.amazonaws.mq#ForbiddenException":
|
|
519
|
-
throw await
|
|
511
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
520
512
|
case "InternalServerErrorException":
|
|
521
513
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
522
|
-
throw await
|
|
514
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
523
515
|
case "UnauthorizedException":
|
|
524
516
|
case "com.amazonaws.mq#UnauthorizedException":
|
|
525
|
-
throw await
|
|
517
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
526
518
|
default:
|
|
527
519
|
const parsedBody = parsedOutput.body;
|
|
528
520
|
throwDefaultError({
|
|
@@ -533,9 +525,9 @@ const deserializeAws_restJson1CreateBrokerCommandError = async (output, context)
|
|
|
533
525
|
});
|
|
534
526
|
}
|
|
535
527
|
};
|
|
536
|
-
export const
|
|
528
|
+
export const de_CreateConfigurationCommand = async (output, context) => {
|
|
537
529
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
538
|
-
return
|
|
530
|
+
return de_CreateConfigurationCommandError(output, context);
|
|
539
531
|
}
|
|
540
532
|
const contents = map({
|
|
541
533
|
$metadata: deserializeMetadata(output),
|
|
@@ -554,14 +546,14 @@ export const deserializeAws_restJson1CreateConfigurationCommand = async (output,
|
|
|
554
546
|
contents.Id = __expectString(data.id);
|
|
555
547
|
}
|
|
556
548
|
if (data.latestRevision != null) {
|
|
557
|
-
contents.LatestRevision =
|
|
549
|
+
contents.LatestRevision = de_ConfigurationRevision(data.latestRevision, context);
|
|
558
550
|
}
|
|
559
551
|
if (data.name != null) {
|
|
560
552
|
contents.Name = __expectString(data.name);
|
|
561
553
|
}
|
|
562
554
|
return contents;
|
|
563
555
|
};
|
|
564
|
-
const
|
|
556
|
+
const de_CreateConfigurationCommandError = async (output, context) => {
|
|
565
557
|
const parsedOutput = {
|
|
566
558
|
...output,
|
|
567
559
|
body: await parseErrorBody(output.body, context),
|
|
@@ -570,16 +562,16 @@ const deserializeAws_restJson1CreateConfigurationCommandError = async (output, c
|
|
|
570
562
|
switch (errorCode) {
|
|
571
563
|
case "BadRequestException":
|
|
572
564
|
case "com.amazonaws.mq#BadRequestException":
|
|
573
|
-
throw await
|
|
565
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
574
566
|
case "ConflictException":
|
|
575
567
|
case "com.amazonaws.mq#ConflictException":
|
|
576
|
-
throw await
|
|
568
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
577
569
|
case "ForbiddenException":
|
|
578
570
|
case "com.amazonaws.mq#ForbiddenException":
|
|
579
|
-
throw await
|
|
571
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
580
572
|
case "InternalServerErrorException":
|
|
581
573
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
582
|
-
throw await
|
|
574
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
583
575
|
default:
|
|
584
576
|
const parsedBody = parsedOutput.body;
|
|
585
577
|
throwDefaultError({
|
|
@@ -590,9 +582,9 @@ const deserializeAws_restJson1CreateConfigurationCommandError = async (output, c
|
|
|
590
582
|
});
|
|
591
583
|
}
|
|
592
584
|
};
|
|
593
|
-
export const
|
|
585
|
+
export const de_CreateTagsCommand = async (output, context) => {
|
|
594
586
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
595
|
-
return
|
|
587
|
+
return de_CreateTagsCommandError(output, context);
|
|
596
588
|
}
|
|
597
589
|
const contents = map({
|
|
598
590
|
$metadata: deserializeMetadata(output),
|
|
@@ -600,7 +592,7 @@ export const deserializeAws_restJson1CreateTagsCommand = async (output, context)
|
|
|
600
592
|
await collectBody(output.body, context);
|
|
601
593
|
return contents;
|
|
602
594
|
};
|
|
603
|
-
const
|
|
595
|
+
const de_CreateTagsCommandError = async (output, context) => {
|
|
604
596
|
const parsedOutput = {
|
|
605
597
|
...output,
|
|
606
598
|
body: await parseErrorBody(output.body, context),
|
|
@@ -609,16 +601,16 @@ const deserializeAws_restJson1CreateTagsCommandError = async (output, context) =
|
|
|
609
601
|
switch (errorCode) {
|
|
610
602
|
case "BadRequestException":
|
|
611
603
|
case "com.amazonaws.mq#BadRequestException":
|
|
612
|
-
throw await
|
|
604
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
613
605
|
case "ForbiddenException":
|
|
614
606
|
case "com.amazonaws.mq#ForbiddenException":
|
|
615
|
-
throw await
|
|
607
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
616
608
|
case "InternalServerErrorException":
|
|
617
609
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
618
|
-
throw await
|
|
610
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
619
611
|
case "NotFoundException":
|
|
620
612
|
case "com.amazonaws.mq#NotFoundException":
|
|
621
|
-
throw await
|
|
613
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
622
614
|
default:
|
|
623
615
|
const parsedBody = parsedOutput.body;
|
|
624
616
|
throwDefaultError({
|
|
@@ -629,9 +621,9 @@ const deserializeAws_restJson1CreateTagsCommandError = async (output, context) =
|
|
|
629
621
|
});
|
|
630
622
|
}
|
|
631
623
|
};
|
|
632
|
-
export const
|
|
624
|
+
export const de_CreateUserCommand = async (output, context) => {
|
|
633
625
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
634
|
-
return
|
|
626
|
+
return de_CreateUserCommandError(output, context);
|
|
635
627
|
}
|
|
636
628
|
const contents = map({
|
|
637
629
|
$metadata: deserializeMetadata(output),
|
|
@@ -639,7 +631,7 @@ export const deserializeAws_restJson1CreateUserCommand = async (output, context)
|
|
|
639
631
|
await collectBody(output.body, context);
|
|
640
632
|
return contents;
|
|
641
633
|
};
|
|
642
|
-
const
|
|
634
|
+
const de_CreateUserCommandError = async (output, context) => {
|
|
643
635
|
const parsedOutput = {
|
|
644
636
|
...output,
|
|
645
637
|
body: await parseErrorBody(output.body, context),
|
|
@@ -648,19 +640,19 @@ const deserializeAws_restJson1CreateUserCommandError = async (output, context) =
|
|
|
648
640
|
switch (errorCode) {
|
|
649
641
|
case "BadRequestException":
|
|
650
642
|
case "com.amazonaws.mq#BadRequestException":
|
|
651
|
-
throw await
|
|
643
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
652
644
|
case "ConflictException":
|
|
653
645
|
case "com.amazonaws.mq#ConflictException":
|
|
654
|
-
throw await
|
|
646
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
655
647
|
case "ForbiddenException":
|
|
656
648
|
case "com.amazonaws.mq#ForbiddenException":
|
|
657
|
-
throw await
|
|
649
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
658
650
|
case "InternalServerErrorException":
|
|
659
651
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
660
|
-
throw await
|
|
652
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
661
653
|
case "NotFoundException":
|
|
662
654
|
case "com.amazonaws.mq#NotFoundException":
|
|
663
|
-
throw await
|
|
655
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
664
656
|
default:
|
|
665
657
|
const parsedBody = parsedOutput.body;
|
|
666
658
|
throwDefaultError({
|
|
@@ -671,9 +663,9 @@ const deserializeAws_restJson1CreateUserCommandError = async (output, context) =
|
|
|
671
663
|
});
|
|
672
664
|
}
|
|
673
665
|
};
|
|
674
|
-
export const
|
|
666
|
+
export const de_DeleteBrokerCommand = async (output, context) => {
|
|
675
667
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
676
|
-
return
|
|
668
|
+
return de_DeleteBrokerCommandError(output, context);
|
|
677
669
|
}
|
|
678
670
|
const contents = map({
|
|
679
671
|
$metadata: deserializeMetadata(output),
|
|
@@ -684,7 +676,7 @@ export const deserializeAws_restJson1DeleteBrokerCommand = async (output, contex
|
|
|
684
676
|
}
|
|
685
677
|
return contents;
|
|
686
678
|
};
|
|
687
|
-
const
|
|
679
|
+
const de_DeleteBrokerCommandError = async (output, context) => {
|
|
688
680
|
const parsedOutput = {
|
|
689
681
|
...output,
|
|
690
682
|
body: await parseErrorBody(output.body, context),
|
|
@@ -693,16 +685,16 @@ const deserializeAws_restJson1DeleteBrokerCommandError = async (output, context)
|
|
|
693
685
|
switch (errorCode) {
|
|
694
686
|
case "BadRequestException":
|
|
695
687
|
case "com.amazonaws.mq#BadRequestException":
|
|
696
|
-
throw await
|
|
688
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
697
689
|
case "ForbiddenException":
|
|
698
690
|
case "com.amazonaws.mq#ForbiddenException":
|
|
699
|
-
throw await
|
|
691
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
700
692
|
case "InternalServerErrorException":
|
|
701
693
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
702
|
-
throw await
|
|
694
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
703
695
|
case "NotFoundException":
|
|
704
696
|
case "com.amazonaws.mq#NotFoundException":
|
|
705
|
-
throw await
|
|
697
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
706
698
|
default:
|
|
707
699
|
const parsedBody = parsedOutput.body;
|
|
708
700
|
throwDefaultError({
|
|
@@ -713,9 +705,9 @@ const deserializeAws_restJson1DeleteBrokerCommandError = async (output, context)
|
|
|
713
705
|
});
|
|
714
706
|
}
|
|
715
707
|
};
|
|
716
|
-
export const
|
|
708
|
+
export const de_DeleteTagsCommand = async (output, context) => {
|
|
717
709
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
718
|
-
return
|
|
710
|
+
return de_DeleteTagsCommandError(output, context);
|
|
719
711
|
}
|
|
720
712
|
const contents = map({
|
|
721
713
|
$metadata: deserializeMetadata(output),
|
|
@@ -723,7 +715,7 @@ export const deserializeAws_restJson1DeleteTagsCommand = async (output, context)
|
|
|
723
715
|
await collectBody(output.body, context);
|
|
724
716
|
return contents;
|
|
725
717
|
};
|
|
726
|
-
const
|
|
718
|
+
const de_DeleteTagsCommandError = async (output, context) => {
|
|
727
719
|
const parsedOutput = {
|
|
728
720
|
...output,
|
|
729
721
|
body: await parseErrorBody(output.body, context),
|
|
@@ -732,16 +724,16 @@ const deserializeAws_restJson1DeleteTagsCommandError = async (output, context) =
|
|
|
732
724
|
switch (errorCode) {
|
|
733
725
|
case "BadRequestException":
|
|
734
726
|
case "com.amazonaws.mq#BadRequestException":
|
|
735
|
-
throw await
|
|
727
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
736
728
|
case "ForbiddenException":
|
|
737
729
|
case "com.amazonaws.mq#ForbiddenException":
|
|
738
|
-
throw await
|
|
730
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
739
731
|
case "InternalServerErrorException":
|
|
740
732
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
741
|
-
throw await
|
|
733
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
742
734
|
case "NotFoundException":
|
|
743
735
|
case "com.amazonaws.mq#NotFoundException":
|
|
744
|
-
throw await
|
|
736
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
745
737
|
default:
|
|
746
738
|
const parsedBody = parsedOutput.body;
|
|
747
739
|
throwDefaultError({
|
|
@@ -752,9 +744,9 @@ const deserializeAws_restJson1DeleteTagsCommandError = async (output, context) =
|
|
|
752
744
|
});
|
|
753
745
|
}
|
|
754
746
|
};
|
|
755
|
-
export const
|
|
747
|
+
export const de_DeleteUserCommand = async (output, context) => {
|
|
756
748
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
757
|
-
return
|
|
749
|
+
return de_DeleteUserCommandError(output, context);
|
|
758
750
|
}
|
|
759
751
|
const contents = map({
|
|
760
752
|
$metadata: deserializeMetadata(output),
|
|
@@ -762,7 +754,7 @@ export const deserializeAws_restJson1DeleteUserCommand = async (output, context)
|
|
|
762
754
|
await collectBody(output.body, context);
|
|
763
755
|
return contents;
|
|
764
756
|
};
|
|
765
|
-
const
|
|
757
|
+
const de_DeleteUserCommandError = async (output, context) => {
|
|
766
758
|
const parsedOutput = {
|
|
767
759
|
...output,
|
|
768
760
|
body: await parseErrorBody(output.body, context),
|
|
@@ -771,16 +763,16 @@ const deserializeAws_restJson1DeleteUserCommandError = async (output, context) =
|
|
|
771
763
|
switch (errorCode) {
|
|
772
764
|
case "BadRequestException":
|
|
773
765
|
case "com.amazonaws.mq#BadRequestException":
|
|
774
|
-
throw await
|
|
766
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
775
767
|
case "ForbiddenException":
|
|
776
768
|
case "com.amazonaws.mq#ForbiddenException":
|
|
777
|
-
throw await
|
|
769
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
778
770
|
case "InternalServerErrorException":
|
|
779
771
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
780
|
-
throw await
|
|
772
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
781
773
|
case "NotFoundException":
|
|
782
774
|
case "com.amazonaws.mq#NotFoundException":
|
|
783
|
-
throw await
|
|
775
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
784
776
|
default:
|
|
785
777
|
const parsedBody = parsedOutput.body;
|
|
786
778
|
throwDefaultError({
|
|
@@ -791,16 +783,16 @@ const deserializeAws_restJson1DeleteUserCommandError = async (output, context) =
|
|
|
791
783
|
});
|
|
792
784
|
}
|
|
793
785
|
};
|
|
794
|
-
export const
|
|
786
|
+
export const de_DescribeBrokerCommand = async (output, context) => {
|
|
795
787
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
796
|
-
return
|
|
788
|
+
return de_DescribeBrokerCommandError(output, context);
|
|
797
789
|
}
|
|
798
790
|
const contents = map({
|
|
799
791
|
$metadata: deserializeMetadata(output),
|
|
800
792
|
});
|
|
801
793
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
802
794
|
if (data.actionsRequired != null) {
|
|
803
|
-
contents.ActionsRequired =
|
|
795
|
+
contents.ActionsRequired = de___listOfActionRequired(data.actionsRequired, context);
|
|
804
796
|
}
|
|
805
797
|
if (data.authenticationStrategy != null) {
|
|
806
798
|
contents.AuthenticationStrategy = __expectString(data.authenticationStrategy);
|
|
@@ -815,7 +807,7 @@ export const deserializeAws_restJson1DescribeBrokerCommand = async (output, cont
|
|
|
815
807
|
contents.BrokerId = __expectString(data.brokerId);
|
|
816
808
|
}
|
|
817
809
|
if (data.brokerInstances != null) {
|
|
818
|
-
contents.BrokerInstances =
|
|
810
|
+
contents.BrokerInstances = de___listOfBrokerInstance(data.brokerInstances, context);
|
|
819
811
|
}
|
|
820
812
|
if (data.brokerName != null) {
|
|
821
813
|
contents.BrokerName = __expectString(data.brokerName);
|
|
@@ -824,7 +816,7 @@ export const deserializeAws_restJson1DescribeBrokerCommand = async (output, cont
|
|
|
824
816
|
contents.BrokerState = __expectString(data.brokerState);
|
|
825
817
|
}
|
|
826
818
|
if (data.configurations != null) {
|
|
827
|
-
contents.Configurations =
|
|
819
|
+
contents.Configurations = de_Configurations(data.configurations, context);
|
|
828
820
|
}
|
|
829
821
|
if (data.created != null) {
|
|
830
822
|
contents.Created = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.created));
|
|
@@ -833,7 +825,7 @@ export const deserializeAws_restJson1DescribeBrokerCommand = async (output, cont
|
|
|
833
825
|
contents.DeploymentMode = __expectString(data.deploymentMode);
|
|
834
826
|
}
|
|
835
827
|
if (data.encryptionOptions != null) {
|
|
836
|
-
contents.EncryptionOptions =
|
|
828
|
+
contents.EncryptionOptions = de_EncryptionOptions(data.encryptionOptions, context);
|
|
837
829
|
}
|
|
838
830
|
if (data.engineType != null) {
|
|
839
831
|
contents.EngineType = __expectString(data.engineType);
|
|
@@ -845,13 +837,13 @@ export const deserializeAws_restJson1DescribeBrokerCommand = async (output, cont
|
|
|
845
837
|
contents.HostInstanceType = __expectString(data.hostInstanceType);
|
|
846
838
|
}
|
|
847
839
|
if (data.ldapServerMetadata != null) {
|
|
848
|
-
contents.LdapServerMetadata =
|
|
840
|
+
contents.LdapServerMetadata = de_LdapServerMetadataOutput(data.ldapServerMetadata, context);
|
|
849
841
|
}
|
|
850
842
|
if (data.logs != null) {
|
|
851
|
-
contents.Logs =
|
|
843
|
+
contents.Logs = de_LogsSummary(data.logs, context);
|
|
852
844
|
}
|
|
853
845
|
if (data.maintenanceWindowStartTime != null) {
|
|
854
|
-
contents.MaintenanceWindowStartTime =
|
|
846
|
+
contents.MaintenanceWindowStartTime = de_WeeklyStartTime(data.maintenanceWindowStartTime, context);
|
|
855
847
|
}
|
|
856
848
|
if (data.pendingAuthenticationStrategy != null) {
|
|
857
849
|
contents.PendingAuthenticationStrategy = __expectString(data.pendingAuthenticationStrategy);
|
|
@@ -863,32 +855,32 @@ export const deserializeAws_restJson1DescribeBrokerCommand = async (output, cont
|
|
|
863
855
|
contents.PendingHostInstanceType = __expectString(data.pendingHostInstanceType);
|
|
864
856
|
}
|
|
865
857
|
if (data.pendingLdapServerMetadata != null) {
|
|
866
|
-
contents.PendingLdapServerMetadata =
|
|
858
|
+
contents.PendingLdapServerMetadata = de_LdapServerMetadataOutput(data.pendingLdapServerMetadata, context);
|
|
867
859
|
}
|
|
868
860
|
if (data.pendingSecurityGroups != null) {
|
|
869
|
-
contents.PendingSecurityGroups =
|
|
861
|
+
contents.PendingSecurityGroups = de___listOf__string(data.pendingSecurityGroups, context);
|
|
870
862
|
}
|
|
871
863
|
if (data.publiclyAccessible != null) {
|
|
872
864
|
contents.PubliclyAccessible = __expectBoolean(data.publiclyAccessible);
|
|
873
865
|
}
|
|
874
866
|
if (data.securityGroups != null) {
|
|
875
|
-
contents.SecurityGroups =
|
|
867
|
+
contents.SecurityGroups = de___listOf__string(data.securityGroups, context);
|
|
876
868
|
}
|
|
877
869
|
if (data.storageType != null) {
|
|
878
870
|
contents.StorageType = __expectString(data.storageType);
|
|
879
871
|
}
|
|
880
872
|
if (data.subnetIds != null) {
|
|
881
|
-
contents.SubnetIds =
|
|
873
|
+
contents.SubnetIds = de___listOf__string(data.subnetIds, context);
|
|
882
874
|
}
|
|
883
875
|
if (data.tags != null) {
|
|
884
|
-
contents.Tags =
|
|
876
|
+
contents.Tags = de___mapOf__string(data.tags, context);
|
|
885
877
|
}
|
|
886
878
|
if (data.users != null) {
|
|
887
|
-
contents.Users =
|
|
879
|
+
contents.Users = de___listOfUserSummary(data.users, context);
|
|
888
880
|
}
|
|
889
881
|
return contents;
|
|
890
882
|
};
|
|
891
|
-
const
|
|
883
|
+
const de_DescribeBrokerCommandError = async (output, context) => {
|
|
892
884
|
const parsedOutput = {
|
|
893
885
|
...output,
|
|
894
886
|
body: await parseErrorBody(output.body, context),
|
|
@@ -897,16 +889,16 @@ const deserializeAws_restJson1DescribeBrokerCommandError = async (output, contex
|
|
|
897
889
|
switch (errorCode) {
|
|
898
890
|
case "BadRequestException":
|
|
899
891
|
case "com.amazonaws.mq#BadRequestException":
|
|
900
|
-
throw await
|
|
892
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
901
893
|
case "ForbiddenException":
|
|
902
894
|
case "com.amazonaws.mq#ForbiddenException":
|
|
903
|
-
throw await
|
|
895
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
904
896
|
case "InternalServerErrorException":
|
|
905
897
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
906
|
-
throw await
|
|
898
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
907
899
|
case "NotFoundException":
|
|
908
900
|
case "com.amazonaws.mq#NotFoundException":
|
|
909
|
-
throw await
|
|
901
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
910
902
|
default:
|
|
911
903
|
const parsedBody = parsedOutput.body;
|
|
912
904
|
throwDefaultError({
|
|
@@ -917,16 +909,16 @@ const deserializeAws_restJson1DescribeBrokerCommandError = async (output, contex
|
|
|
917
909
|
});
|
|
918
910
|
}
|
|
919
911
|
};
|
|
920
|
-
export const
|
|
912
|
+
export const de_DescribeBrokerEngineTypesCommand = async (output, context) => {
|
|
921
913
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
922
|
-
return
|
|
914
|
+
return de_DescribeBrokerEngineTypesCommandError(output, context);
|
|
923
915
|
}
|
|
924
916
|
const contents = map({
|
|
925
917
|
$metadata: deserializeMetadata(output),
|
|
926
918
|
});
|
|
927
919
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
928
920
|
if (data.brokerEngineTypes != null) {
|
|
929
|
-
contents.BrokerEngineTypes =
|
|
921
|
+
contents.BrokerEngineTypes = de___listOfBrokerEngineType(data.brokerEngineTypes, context);
|
|
930
922
|
}
|
|
931
923
|
if (data.maxResults != null) {
|
|
932
924
|
contents.MaxResults = __expectInt32(data.maxResults);
|
|
@@ -936,7 +928,7 @@ export const deserializeAws_restJson1DescribeBrokerEngineTypesCommand = async (o
|
|
|
936
928
|
}
|
|
937
929
|
return contents;
|
|
938
930
|
};
|
|
939
|
-
const
|
|
931
|
+
const de_DescribeBrokerEngineTypesCommandError = async (output, context) => {
|
|
940
932
|
const parsedOutput = {
|
|
941
933
|
...output,
|
|
942
934
|
body: await parseErrorBody(output.body, context),
|
|
@@ -945,13 +937,13 @@ const deserializeAws_restJson1DescribeBrokerEngineTypesCommandError = async (out
|
|
|
945
937
|
switch (errorCode) {
|
|
946
938
|
case "BadRequestException":
|
|
947
939
|
case "com.amazonaws.mq#BadRequestException":
|
|
948
|
-
throw await
|
|
940
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
949
941
|
case "ForbiddenException":
|
|
950
942
|
case "com.amazonaws.mq#ForbiddenException":
|
|
951
|
-
throw await
|
|
943
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
952
944
|
case "InternalServerErrorException":
|
|
953
945
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
954
|
-
throw await
|
|
946
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
955
947
|
default:
|
|
956
948
|
const parsedBody = parsedOutput.body;
|
|
957
949
|
throwDefaultError({
|
|
@@ -962,16 +954,16 @@ const deserializeAws_restJson1DescribeBrokerEngineTypesCommandError = async (out
|
|
|
962
954
|
});
|
|
963
955
|
}
|
|
964
956
|
};
|
|
965
|
-
export const
|
|
957
|
+
export const de_DescribeBrokerInstanceOptionsCommand = async (output, context) => {
|
|
966
958
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
967
|
-
return
|
|
959
|
+
return de_DescribeBrokerInstanceOptionsCommandError(output, context);
|
|
968
960
|
}
|
|
969
961
|
const contents = map({
|
|
970
962
|
$metadata: deserializeMetadata(output),
|
|
971
963
|
});
|
|
972
964
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
973
965
|
if (data.brokerInstanceOptions != null) {
|
|
974
|
-
contents.BrokerInstanceOptions =
|
|
966
|
+
contents.BrokerInstanceOptions = de___listOfBrokerInstanceOption(data.brokerInstanceOptions, context);
|
|
975
967
|
}
|
|
976
968
|
if (data.maxResults != null) {
|
|
977
969
|
contents.MaxResults = __expectInt32(data.maxResults);
|
|
@@ -981,7 +973,7 @@ export const deserializeAws_restJson1DescribeBrokerInstanceOptionsCommand = asyn
|
|
|
981
973
|
}
|
|
982
974
|
return contents;
|
|
983
975
|
};
|
|
984
|
-
const
|
|
976
|
+
const de_DescribeBrokerInstanceOptionsCommandError = async (output, context) => {
|
|
985
977
|
const parsedOutput = {
|
|
986
978
|
...output,
|
|
987
979
|
body: await parseErrorBody(output.body, context),
|
|
@@ -990,13 +982,13 @@ const deserializeAws_restJson1DescribeBrokerInstanceOptionsCommandError = async
|
|
|
990
982
|
switch (errorCode) {
|
|
991
983
|
case "BadRequestException":
|
|
992
984
|
case "com.amazonaws.mq#BadRequestException":
|
|
993
|
-
throw await
|
|
985
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
994
986
|
case "ForbiddenException":
|
|
995
987
|
case "com.amazonaws.mq#ForbiddenException":
|
|
996
|
-
throw await
|
|
988
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
997
989
|
case "InternalServerErrorException":
|
|
998
990
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
999
|
-
throw await
|
|
991
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1000
992
|
default:
|
|
1001
993
|
const parsedBody = parsedOutput.body;
|
|
1002
994
|
throwDefaultError({
|
|
@@ -1007,9 +999,9 @@ const deserializeAws_restJson1DescribeBrokerInstanceOptionsCommandError = async
|
|
|
1007
999
|
});
|
|
1008
1000
|
}
|
|
1009
1001
|
};
|
|
1010
|
-
export const
|
|
1002
|
+
export const de_DescribeConfigurationCommand = async (output, context) => {
|
|
1011
1003
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1012
|
-
return
|
|
1004
|
+
return de_DescribeConfigurationCommandError(output, context);
|
|
1013
1005
|
}
|
|
1014
1006
|
const contents = map({
|
|
1015
1007
|
$metadata: deserializeMetadata(output),
|
|
@@ -1037,17 +1029,17 @@ export const deserializeAws_restJson1DescribeConfigurationCommand = async (outpu
|
|
|
1037
1029
|
contents.Id = __expectString(data.id);
|
|
1038
1030
|
}
|
|
1039
1031
|
if (data.latestRevision != null) {
|
|
1040
|
-
contents.LatestRevision =
|
|
1032
|
+
contents.LatestRevision = de_ConfigurationRevision(data.latestRevision, context);
|
|
1041
1033
|
}
|
|
1042
1034
|
if (data.name != null) {
|
|
1043
1035
|
contents.Name = __expectString(data.name);
|
|
1044
1036
|
}
|
|
1045
1037
|
if (data.tags != null) {
|
|
1046
|
-
contents.Tags =
|
|
1038
|
+
contents.Tags = de___mapOf__string(data.tags, context);
|
|
1047
1039
|
}
|
|
1048
1040
|
return contents;
|
|
1049
1041
|
};
|
|
1050
|
-
const
|
|
1042
|
+
const de_DescribeConfigurationCommandError = async (output, context) => {
|
|
1051
1043
|
const parsedOutput = {
|
|
1052
1044
|
...output,
|
|
1053
1045
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1056,16 +1048,16 @@ const deserializeAws_restJson1DescribeConfigurationCommandError = async (output,
|
|
|
1056
1048
|
switch (errorCode) {
|
|
1057
1049
|
case "BadRequestException":
|
|
1058
1050
|
case "com.amazonaws.mq#BadRequestException":
|
|
1059
|
-
throw await
|
|
1051
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1060
1052
|
case "ForbiddenException":
|
|
1061
1053
|
case "com.amazonaws.mq#ForbiddenException":
|
|
1062
|
-
throw await
|
|
1054
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1063
1055
|
case "InternalServerErrorException":
|
|
1064
1056
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
1065
|
-
throw await
|
|
1057
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1066
1058
|
case "NotFoundException":
|
|
1067
1059
|
case "com.amazonaws.mq#NotFoundException":
|
|
1068
|
-
throw await
|
|
1060
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1069
1061
|
default:
|
|
1070
1062
|
const parsedBody = parsedOutput.body;
|
|
1071
1063
|
throwDefaultError({
|
|
@@ -1076,9 +1068,9 @@ const deserializeAws_restJson1DescribeConfigurationCommandError = async (output,
|
|
|
1076
1068
|
});
|
|
1077
1069
|
}
|
|
1078
1070
|
};
|
|
1079
|
-
export const
|
|
1071
|
+
export const de_DescribeConfigurationRevisionCommand = async (output, context) => {
|
|
1080
1072
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1081
|
-
return
|
|
1073
|
+
return de_DescribeConfigurationRevisionCommandError(output, context);
|
|
1082
1074
|
}
|
|
1083
1075
|
const contents = map({
|
|
1084
1076
|
$metadata: deserializeMetadata(output),
|
|
@@ -1098,7 +1090,7 @@ export const deserializeAws_restJson1DescribeConfigurationRevisionCommand = asyn
|
|
|
1098
1090
|
}
|
|
1099
1091
|
return contents;
|
|
1100
1092
|
};
|
|
1101
|
-
const
|
|
1093
|
+
const de_DescribeConfigurationRevisionCommandError = async (output, context) => {
|
|
1102
1094
|
const parsedOutput = {
|
|
1103
1095
|
...output,
|
|
1104
1096
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1107,16 +1099,16 @@ const deserializeAws_restJson1DescribeConfigurationRevisionCommandError = async
|
|
|
1107
1099
|
switch (errorCode) {
|
|
1108
1100
|
case "BadRequestException":
|
|
1109
1101
|
case "com.amazonaws.mq#BadRequestException":
|
|
1110
|
-
throw await
|
|
1102
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1111
1103
|
case "ForbiddenException":
|
|
1112
1104
|
case "com.amazonaws.mq#ForbiddenException":
|
|
1113
|
-
throw await
|
|
1105
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1114
1106
|
case "InternalServerErrorException":
|
|
1115
1107
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
1116
|
-
throw await
|
|
1108
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1117
1109
|
case "NotFoundException":
|
|
1118
1110
|
case "com.amazonaws.mq#NotFoundException":
|
|
1119
|
-
throw await
|
|
1111
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1120
1112
|
default:
|
|
1121
1113
|
const parsedBody = parsedOutput.body;
|
|
1122
1114
|
throwDefaultError({
|
|
@@ -1127,9 +1119,9 @@ const deserializeAws_restJson1DescribeConfigurationRevisionCommandError = async
|
|
|
1127
1119
|
});
|
|
1128
1120
|
}
|
|
1129
1121
|
};
|
|
1130
|
-
export const
|
|
1122
|
+
export const de_DescribeUserCommand = async (output, context) => {
|
|
1131
1123
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1132
|
-
return
|
|
1124
|
+
return de_DescribeUserCommandError(output, context);
|
|
1133
1125
|
}
|
|
1134
1126
|
const contents = map({
|
|
1135
1127
|
$metadata: deserializeMetadata(output),
|
|
@@ -1142,17 +1134,17 @@ export const deserializeAws_restJson1DescribeUserCommand = async (output, contex
|
|
|
1142
1134
|
contents.ConsoleAccess = __expectBoolean(data.consoleAccess);
|
|
1143
1135
|
}
|
|
1144
1136
|
if (data.groups != null) {
|
|
1145
|
-
contents.Groups =
|
|
1137
|
+
contents.Groups = de___listOf__string(data.groups, context);
|
|
1146
1138
|
}
|
|
1147
1139
|
if (data.pending != null) {
|
|
1148
|
-
contents.Pending =
|
|
1140
|
+
contents.Pending = de_UserPendingChanges(data.pending, context);
|
|
1149
1141
|
}
|
|
1150
1142
|
if (data.username != null) {
|
|
1151
1143
|
contents.Username = __expectString(data.username);
|
|
1152
1144
|
}
|
|
1153
1145
|
return contents;
|
|
1154
1146
|
};
|
|
1155
|
-
const
|
|
1147
|
+
const de_DescribeUserCommandError = async (output, context) => {
|
|
1156
1148
|
const parsedOutput = {
|
|
1157
1149
|
...output,
|
|
1158
1150
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1161,16 +1153,16 @@ const deserializeAws_restJson1DescribeUserCommandError = async (output, context)
|
|
|
1161
1153
|
switch (errorCode) {
|
|
1162
1154
|
case "BadRequestException":
|
|
1163
1155
|
case "com.amazonaws.mq#BadRequestException":
|
|
1164
|
-
throw await
|
|
1156
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1165
1157
|
case "ForbiddenException":
|
|
1166
1158
|
case "com.amazonaws.mq#ForbiddenException":
|
|
1167
|
-
throw await
|
|
1159
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1168
1160
|
case "InternalServerErrorException":
|
|
1169
1161
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
1170
|
-
throw await
|
|
1162
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1171
1163
|
case "NotFoundException":
|
|
1172
1164
|
case "com.amazonaws.mq#NotFoundException":
|
|
1173
|
-
throw await
|
|
1165
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1174
1166
|
default:
|
|
1175
1167
|
const parsedBody = parsedOutput.body;
|
|
1176
1168
|
throwDefaultError({
|
|
@@ -1181,23 +1173,23 @@ const deserializeAws_restJson1DescribeUserCommandError = async (output, context)
|
|
|
1181
1173
|
});
|
|
1182
1174
|
}
|
|
1183
1175
|
};
|
|
1184
|
-
export const
|
|
1176
|
+
export const de_ListBrokersCommand = async (output, context) => {
|
|
1185
1177
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1186
|
-
return
|
|
1178
|
+
return de_ListBrokersCommandError(output, context);
|
|
1187
1179
|
}
|
|
1188
1180
|
const contents = map({
|
|
1189
1181
|
$metadata: deserializeMetadata(output),
|
|
1190
1182
|
});
|
|
1191
1183
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1192
1184
|
if (data.brokerSummaries != null) {
|
|
1193
|
-
contents.BrokerSummaries =
|
|
1185
|
+
contents.BrokerSummaries = de___listOfBrokerSummary(data.brokerSummaries, context);
|
|
1194
1186
|
}
|
|
1195
1187
|
if (data.nextToken != null) {
|
|
1196
1188
|
contents.NextToken = __expectString(data.nextToken);
|
|
1197
1189
|
}
|
|
1198
1190
|
return contents;
|
|
1199
1191
|
};
|
|
1200
|
-
const
|
|
1192
|
+
const de_ListBrokersCommandError = async (output, context) => {
|
|
1201
1193
|
const parsedOutput = {
|
|
1202
1194
|
...output,
|
|
1203
1195
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1206,13 +1198,13 @@ const deserializeAws_restJson1ListBrokersCommandError = async (output, context)
|
|
|
1206
1198
|
switch (errorCode) {
|
|
1207
1199
|
case "BadRequestException":
|
|
1208
1200
|
case "com.amazonaws.mq#BadRequestException":
|
|
1209
|
-
throw await
|
|
1201
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1210
1202
|
case "ForbiddenException":
|
|
1211
1203
|
case "com.amazonaws.mq#ForbiddenException":
|
|
1212
|
-
throw await
|
|
1204
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1213
1205
|
case "InternalServerErrorException":
|
|
1214
1206
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
1215
|
-
throw await
|
|
1207
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1216
1208
|
default:
|
|
1217
1209
|
const parsedBody = parsedOutput.body;
|
|
1218
1210
|
throwDefaultError({
|
|
@@ -1223,9 +1215,9 @@ const deserializeAws_restJson1ListBrokersCommandError = async (output, context)
|
|
|
1223
1215
|
});
|
|
1224
1216
|
}
|
|
1225
1217
|
};
|
|
1226
|
-
export const
|
|
1218
|
+
export const de_ListConfigurationRevisionsCommand = async (output, context) => {
|
|
1227
1219
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1228
|
-
return
|
|
1220
|
+
return de_ListConfigurationRevisionsCommandError(output, context);
|
|
1229
1221
|
}
|
|
1230
1222
|
const contents = map({
|
|
1231
1223
|
$metadata: deserializeMetadata(output),
|
|
@@ -1241,11 +1233,11 @@ export const deserializeAws_restJson1ListConfigurationRevisionsCommand = async (
|
|
|
1241
1233
|
contents.NextToken = __expectString(data.nextToken);
|
|
1242
1234
|
}
|
|
1243
1235
|
if (data.revisions != null) {
|
|
1244
|
-
contents.Revisions =
|
|
1236
|
+
contents.Revisions = de___listOfConfigurationRevision(data.revisions, context);
|
|
1245
1237
|
}
|
|
1246
1238
|
return contents;
|
|
1247
1239
|
};
|
|
1248
|
-
const
|
|
1240
|
+
const de_ListConfigurationRevisionsCommandError = async (output, context) => {
|
|
1249
1241
|
const parsedOutput = {
|
|
1250
1242
|
...output,
|
|
1251
1243
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1254,16 +1246,16 @@ const deserializeAws_restJson1ListConfigurationRevisionsCommandError = async (ou
|
|
|
1254
1246
|
switch (errorCode) {
|
|
1255
1247
|
case "BadRequestException":
|
|
1256
1248
|
case "com.amazonaws.mq#BadRequestException":
|
|
1257
|
-
throw await
|
|
1249
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1258
1250
|
case "ForbiddenException":
|
|
1259
1251
|
case "com.amazonaws.mq#ForbiddenException":
|
|
1260
|
-
throw await
|
|
1252
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1261
1253
|
case "InternalServerErrorException":
|
|
1262
1254
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
1263
|
-
throw await
|
|
1255
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1264
1256
|
case "NotFoundException":
|
|
1265
1257
|
case "com.amazonaws.mq#NotFoundException":
|
|
1266
|
-
throw await
|
|
1258
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1267
1259
|
default:
|
|
1268
1260
|
const parsedBody = parsedOutput.body;
|
|
1269
1261
|
throwDefaultError({
|
|
@@ -1274,16 +1266,16 @@ const deserializeAws_restJson1ListConfigurationRevisionsCommandError = async (ou
|
|
|
1274
1266
|
});
|
|
1275
1267
|
}
|
|
1276
1268
|
};
|
|
1277
|
-
export const
|
|
1269
|
+
export const de_ListConfigurationsCommand = async (output, context) => {
|
|
1278
1270
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1279
|
-
return
|
|
1271
|
+
return de_ListConfigurationsCommandError(output, context);
|
|
1280
1272
|
}
|
|
1281
1273
|
const contents = map({
|
|
1282
1274
|
$metadata: deserializeMetadata(output),
|
|
1283
1275
|
});
|
|
1284
1276
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1285
1277
|
if (data.configurations != null) {
|
|
1286
|
-
contents.Configurations =
|
|
1278
|
+
contents.Configurations = de___listOfConfiguration(data.configurations, context);
|
|
1287
1279
|
}
|
|
1288
1280
|
if (data.maxResults != null) {
|
|
1289
1281
|
contents.MaxResults = __expectInt32(data.maxResults);
|
|
@@ -1293,7 +1285,7 @@ export const deserializeAws_restJson1ListConfigurationsCommand = async (output,
|
|
|
1293
1285
|
}
|
|
1294
1286
|
return contents;
|
|
1295
1287
|
};
|
|
1296
|
-
const
|
|
1288
|
+
const de_ListConfigurationsCommandError = async (output, context) => {
|
|
1297
1289
|
const parsedOutput = {
|
|
1298
1290
|
...output,
|
|
1299
1291
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1302,13 +1294,13 @@ const deserializeAws_restJson1ListConfigurationsCommandError = async (output, co
|
|
|
1302
1294
|
switch (errorCode) {
|
|
1303
1295
|
case "BadRequestException":
|
|
1304
1296
|
case "com.amazonaws.mq#BadRequestException":
|
|
1305
|
-
throw await
|
|
1297
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1306
1298
|
case "ForbiddenException":
|
|
1307
1299
|
case "com.amazonaws.mq#ForbiddenException":
|
|
1308
|
-
throw await
|
|
1300
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1309
1301
|
case "InternalServerErrorException":
|
|
1310
1302
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
1311
|
-
throw await
|
|
1303
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1312
1304
|
default:
|
|
1313
1305
|
const parsedBody = parsedOutput.body;
|
|
1314
1306
|
throwDefaultError({
|
|
@@ -1319,20 +1311,20 @@ const deserializeAws_restJson1ListConfigurationsCommandError = async (output, co
|
|
|
1319
1311
|
});
|
|
1320
1312
|
}
|
|
1321
1313
|
};
|
|
1322
|
-
export const
|
|
1314
|
+
export const de_ListTagsCommand = async (output, context) => {
|
|
1323
1315
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1324
|
-
return
|
|
1316
|
+
return de_ListTagsCommandError(output, context);
|
|
1325
1317
|
}
|
|
1326
1318
|
const contents = map({
|
|
1327
1319
|
$metadata: deserializeMetadata(output),
|
|
1328
1320
|
});
|
|
1329
1321
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1330
1322
|
if (data.tags != null) {
|
|
1331
|
-
contents.Tags =
|
|
1323
|
+
contents.Tags = de___mapOf__string(data.tags, context);
|
|
1332
1324
|
}
|
|
1333
1325
|
return contents;
|
|
1334
1326
|
};
|
|
1335
|
-
const
|
|
1327
|
+
const de_ListTagsCommandError = async (output, context) => {
|
|
1336
1328
|
const parsedOutput = {
|
|
1337
1329
|
...output,
|
|
1338
1330
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1341,16 +1333,16 @@ const deserializeAws_restJson1ListTagsCommandError = async (output, context) =>
|
|
|
1341
1333
|
switch (errorCode) {
|
|
1342
1334
|
case "BadRequestException":
|
|
1343
1335
|
case "com.amazonaws.mq#BadRequestException":
|
|
1344
|
-
throw await
|
|
1336
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1345
1337
|
case "ForbiddenException":
|
|
1346
1338
|
case "com.amazonaws.mq#ForbiddenException":
|
|
1347
|
-
throw await
|
|
1339
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1348
1340
|
case "InternalServerErrorException":
|
|
1349
1341
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
1350
|
-
throw await
|
|
1342
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1351
1343
|
case "NotFoundException":
|
|
1352
1344
|
case "com.amazonaws.mq#NotFoundException":
|
|
1353
|
-
throw await
|
|
1345
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1354
1346
|
default:
|
|
1355
1347
|
const parsedBody = parsedOutput.body;
|
|
1356
1348
|
throwDefaultError({
|
|
@@ -1361,9 +1353,9 @@ const deserializeAws_restJson1ListTagsCommandError = async (output, context) =>
|
|
|
1361
1353
|
});
|
|
1362
1354
|
}
|
|
1363
1355
|
};
|
|
1364
|
-
export const
|
|
1356
|
+
export const de_ListUsersCommand = async (output, context) => {
|
|
1365
1357
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1366
|
-
return
|
|
1358
|
+
return de_ListUsersCommandError(output, context);
|
|
1367
1359
|
}
|
|
1368
1360
|
const contents = map({
|
|
1369
1361
|
$metadata: deserializeMetadata(output),
|
|
@@ -1379,11 +1371,11 @@ export const deserializeAws_restJson1ListUsersCommand = async (output, context)
|
|
|
1379
1371
|
contents.NextToken = __expectString(data.nextToken);
|
|
1380
1372
|
}
|
|
1381
1373
|
if (data.users != null) {
|
|
1382
|
-
contents.Users =
|
|
1374
|
+
contents.Users = de___listOfUserSummary(data.users, context);
|
|
1383
1375
|
}
|
|
1384
1376
|
return contents;
|
|
1385
1377
|
};
|
|
1386
|
-
const
|
|
1378
|
+
const de_ListUsersCommandError = async (output, context) => {
|
|
1387
1379
|
const parsedOutput = {
|
|
1388
1380
|
...output,
|
|
1389
1381
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1392,16 +1384,16 @@ const deserializeAws_restJson1ListUsersCommandError = async (output, context) =>
|
|
|
1392
1384
|
switch (errorCode) {
|
|
1393
1385
|
case "BadRequestException":
|
|
1394
1386
|
case "com.amazonaws.mq#BadRequestException":
|
|
1395
|
-
throw await
|
|
1387
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1396
1388
|
case "ForbiddenException":
|
|
1397
1389
|
case "com.amazonaws.mq#ForbiddenException":
|
|
1398
|
-
throw await
|
|
1390
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1399
1391
|
case "InternalServerErrorException":
|
|
1400
1392
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
1401
|
-
throw await
|
|
1393
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1402
1394
|
case "NotFoundException":
|
|
1403
1395
|
case "com.amazonaws.mq#NotFoundException":
|
|
1404
|
-
throw await
|
|
1396
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1405
1397
|
default:
|
|
1406
1398
|
const parsedBody = parsedOutput.body;
|
|
1407
1399
|
throwDefaultError({
|
|
@@ -1412,9 +1404,9 @@ const deserializeAws_restJson1ListUsersCommandError = async (output, context) =>
|
|
|
1412
1404
|
});
|
|
1413
1405
|
}
|
|
1414
1406
|
};
|
|
1415
|
-
export const
|
|
1407
|
+
export const de_RebootBrokerCommand = async (output, context) => {
|
|
1416
1408
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1417
|
-
return
|
|
1409
|
+
return de_RebootBrokerCommandError(output, context);
|
|
1418
1410
|
}
|
|
1419
1411
|
const contents = map({
|
|
1420
1412
|
$metadata: deserializeMetadata(output),
|
|
@@ -1422,7 +1414,7 @@ export const deserializeAws_restJson1RebootBrokerCommand = async (output, contex
|
|
|
1422
1414
|
await collectBody(output.body, context);
|
|
1423
1415
|
return contents;
|
|
1424
1416
|
};
|
|
1425
|
-
const
|
|
1417
|
+
const de_RebootBrokerCommandError = async (output, context) => {
|
|
1426
1418
|
const parsedOutput = {
|
|
1427
1419
|
...output,
|
|
1428
1420
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1431,16 +1423,16 @@ const deserializeAws_restJson1RebootBrokerCommandError = async (output, context)
|
|
|
1431
1423
|
switch (errorCode) {
|
|
1432
1424
|
case "BadRequestException":
|
|
1433
1425
|
case "com.amazonaws.mq#BadRequestException":
|
|
1434
|
-
throw await
|
|
1426
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1435
1427
|
case "ForbiddenException":
|
|
1436
1428
|
case "com.amazonaws.mq#ForbiddenException":
|
|
1437
|
-
throw await
|
|
1429
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1438
1430
|
case "InternalServerErrorException":
|
|
1439
1431
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
1440
|
-
throw await
|
|
1432
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1441
1433
|
case "NotFoundException":
|
|
1442
1434
|
case "com.amazonaws.mq#NotFoundException":
|
|
1443
|
-
throw await
|
|
1435
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1444
1436
|
default:
|
|
1445
1437
|
const parsedBody = parsedOutput.body;
|
|
1446
1438
|
throwDefaultError({
|
|
@@ -1451,9 +1443,9 @@ const deserializeAws_restJson1RebootBrokerCommandError = async (output, context)
|
|
|
1451
1443
|
});
|
|
1452
1444
|
}
|
|
1453
1445
|
};
|
|
1454
|
-
export const
|
|
1446
|
+
export const de_UpdateBrokerCommand = async (output, context) => {
|
|
1455
1447
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1456
|
-
return
|
|
1448
|
+
return de_UpdateBrokerCommandError(output, context);
|
|
1457
1449
|
}
|
|
1458
1450
|
const contents = map({
|
|
1459
1451
|
$metadata: deserializeMetadata(output),
|
|
@@ -1469,7 +1461,7 @@ export const deserializeAws_restJson1UpdateBrokerCommand = async (output, contex
|
|
|
1469
1461
|
contents.BrokerId = __expectString(data.brokerId);
|
|
1470
1462
|
}
|
|
1471
1463
|
if (data.configuration != null) {
|
|
1472
|
-
contents.Configuration =
|
|
1464
|
+
contents.Configuration = de_ConfigurationId(data.configuration, context);
|
|
1473
1465
|
}
|
|
1474
1466
|
if (data.engineVersion != null) {
|
|
1475
1467
|
contents.EngineVersion = __expectString(data.engineVersion);
|
|
@@ -1478,20 +1470,20 @@ export const deserializeAws_restJson1UpdateBrokerCommand = async (output, contex
|
|
|
1478
1470
|
contents.HostInstanceType = __expectString(data.hostInstanceType);
|
|
1479
1471
|
}
|
|
1480
1472
|
if (data.ldapServerMetadata != null) {
|
|
1481
|
-
contents.LdapServerMetadata =
|
|
1473
|
+
contents.LdapServerMetadata = de_LdapServerMetadataOutput(data.ldapServerMetadata, context);
|
|
1482
1474
|
}
|
|
1483
1475
|
if (data.logs != null) {
|
|
1484
|
-
contents.Logs =
|
|
1476
|
+
contents.Logs = de_Logs(data.logs, context);
|
|
1485
1477
|
}
|
|
1486
1478
|
if (data.maintenanceWindowStartTime != null) {
|
|
1487
|
-
contents.MaintenanceWindowStartTime =
|
|
1479
|
+
contents.MaintenanceWindowStartTime = de_WeeklyStartTime(data.maintenanceWindowStartTime, context);
|
|
1488
1480
|
}
|
|
1489
1481
|
if (data.securityGroups != null) {
|
|
1490
|
-
contents.SecurityGroups =
|
|
1482
|
+
contents.SecurityGroups = de___listOf__string(data.securityGroups, context);
|
|
1491
1483
|
}
|
|
1492
1484
|
return contents;
|
|
1493
1485
|
};
|
|
1494
|
-
const
|
|
1486
|
+
const de_UpdateBrokerCommandError = async (output, context) => {
|
|
1495
1487
|
const parsedOutput = {
|
|
1496
1488
|
...output,
|
|
1497
1489
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1500,19 +1492,19 @@ const deserializeAws_restJson1UpdateBrokerCommandError = async (output, context)
|
|
|
1500
1492
|
switch (errorCode) {
|
|
1501
1493
|
case "BadRequestException":
|
|
1502
1494
|
case "com.amazonaws.mq#BadRequestException":
|
|
1503
|
-
throw await
|
|
1495
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1504
1496
|
case "ConflictException":
|
|
1505
1497
|
case "com.amazonaws.mq#ConflictException":
|
|
1506
|
-
throw await
|
|
1498
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1507
1499
|
case "ForbiddenException":
|
|
1508
1500
|
case "com.amazonaws.mq#ForbiddenException":
|
|
1509
|
-
throw await
|
|
1501
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1510
1502
|
case "InternalServerErrorException":
|
|
1511
1503
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
1512
|
-
throw await
|
|
1504
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1513
1505
|
case "NotFoundException":
|
|
1514
1506
|
case "com.amazonaws.mq#NotFoundException":
|
|
1515
|
-
throw await
|
|
1507
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1516
1508
|
default:
|
|
1517
1509
|
const parsedBody = parsedOutput.body;
|
|
1518
1510
|
throwDefaultError({
|
|
@@ -1523,9 +1515,9 @@ const deserializeAws_restJson1UpdateBrokerCommandError = async (output, context)
|
|
|
1523
1515
|
});
|
|
1524
1516
|
}
|
|
1525
1517
|
};
|
|
1526
|
-
export const
|
|
1518
|
+
export const de_UpdateConfigurationCommand = async (output, context) => {
|
|
1527
1519
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1528
|
-
return
|
|
1520
|
+
return de_UpdateConfigurationCommandError(output, context);
|
|
1529
1521
|
}
|
|
1530
1522
|
const contents = map({
|
|
1531
1523
|
$metadata: deserializeMetadata(output),
|
|
@@ -1541,17 +1533,17 @@ export const deserializeAws_restJson1UpdateConfigurationCommand = async (output,
|
|
|
1541
1533
|
contents.Id = __expectString(data.id);
|
|
1542
1534
|
}
|
|
1543
1535
|
if (data.latestRevision != null) {
|
|
1544
|
-
contents.LatestRevision =
|
|
1536
|
+
contents.LatestRevision = de_ConfigurationRevision(data.latestRevision, context);
|
|
1545
1537
|
}
|
|
1546
1538
|
if (data.name != null) {
|
|
1547
1539
|
contents.Name = __expectString(data.name);
|
|
1548
1540
|
}
|
|
1549
1541
|
if (data.warnings != null) {
|
|
1550
|
-
contents.Warnings =
|
|
1542
|
+
contents.Warnings = de___listOfSanitizationWarning(data.warnings, context);
|
|
1551
1543
|
}
|
|
1552
1544
|
return contents;
|
|
1553
1545
|
};
|
|
1554
|
-
const
|
|
1546
|
+
const de_UpdateConfigurationCommandError = async (output, context) => {
|
|
1555
1547
|
const parsedOutput = {
|
|
1556
1548
|
...output,
|
|
1557
1549
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1560,19 +1552,19 @@ const deserializeAws_restJson1UpdateConfigurationCommandError = async (output, c
|
|
|
1560
1552
|
switch (errorCode) {
|
|
1561
1553
|
case "BadRequestException":
|
|
1562
1554
|
case "com.amazonaws.mq#BadRequestException":
|
|
1563
|
-
throw await
|
|
1555
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1564
1556
|
case "ConflictException":
|
|
1565
1557
|
case "com.amazonaws.mq#ConflictException":
|
|
1566
|
-
throw await
|
|
1558
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1567
1559
|
case "ForbiddenException":
|
|
1568
1560
|
case "com.amazonaws.mq#ForbiddenException":
|
|
1569
|
-
throw await
|
|
1561
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1570
1562
|
case "InternalServerErrorException":
|
|
1571
1563
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
1572
|
-
throw await
|
|
1564
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1573
1565
|
case "NotFoundException":
|
|
1574
1566
|
case "com.amazonaws.mq#NotFoundException":
|
|
1575
|
-
throw await
|
|
1567
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1576
1568
|
default:
|
|
1577
1569
|
const parsedBody = parsedOutput.body;
|
|
1578
1570
|
throwDefaultError({
|
|
@@ -1583,9 +1575,9 @@ const deserializeAws_restJson1UpdateConfigurationCommandError = async (output, c
|
|
|
1583
1575
|
});
|
|
1584
1576
|
}
|
|
1585
1577
|
};
|
|
1586
|
-
export const
|
|
1578
|
+
export const de_UpdateUserCommand = async (output, context) => {
|
|
1587
1579
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1588
|
-
return
|
|
1580
|
+
return de_UpdateUserCommandError(output, context);
|
|
1589
1581
|
}
|
|
1590
1582
|
const contents = map({
|
|
1591
1583
|
$metadata: deserializeMetadata(output),
|
|
@@ -1593,7 +1585,7 @@ export const deserializeAws_restJson1UpdateUserCommand = async (output, context)
|
|
|
1593
1585
|
await collectBody(output.body, context);
|
|
1594
1586
|
return contents;
|
|
1595
1587
|
};
|
|
1596
|
-
const
|
|
1588
|
+
const de_UpdateUserCommandError = async (output, context) => {
|
|
1597
1589
|
const parsedOutput = {
|
|
1598
1590
|
...output,
|
|
1599
1591
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1602,19 +1594,19 @@ const deserializeAws_restJson1UpdateUserCommandError = async (output, context) =
|
|
|
1602
1594
|
switch (errorCode) {
|
|
1603
1595
|
case "BadRequestException":
|
|
1604
1596
|
case "com.amazonaws.mq#BadRequestException":
|
|
1605
|
-
throw await
|
|
1597
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1606
1598
|
case "ConflictException":
|
|
1607
1599
|
case "com.amazonaws.mq#ConflictException":
|
|
1608
|
-
throw await
|
|
1600
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1609
1601
|
case "ForbiddenException":
|
|
1610
1602
|
case "com.amazonaws.mq#ForbiddenException":
|
|
1611
|
-
throw await
|
|
1603
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1612
1604
|
case "InternalServerErrorException":
|
|
1613
1605
|
case "com.amazonaws.mq#InternalServerErrorException":
|
|
1614
|
-
throw await
|
|
1606
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1615
1607
|
case "NotFoundException":
|
|
1616
1608
|
case "com.amazonaws.mq#NotFoundException":
|
|
1617
|
-
throw await
|
|
1609
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1618
1610
|
default:
|
|
1619
1611
|
const parsedBody = parsedOutput.body;
|
|
1620
1612
|
throwDefaultError({
|
|
@@ -1626,7 +1618,7 @@ const deserializeAws_restJson1UpdateUserCommandError = async (output, context) =
|
|
|
1626
1618
|
}
|
|
1627
1619
|
};
|
|
1628
1620
|
const map = __map;
|
|
1629
|
-
const
|
|
1621
|
+
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
1630
1622
|
const contents = map({});
|
|
1631
1623
|
const data = parsedOutput.body;
|
|
1632
1624
|
if (data.errorAttribute != null) {
|
|
@@ -1641,7 +1633,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
|
|
|
1641
1633
|
});
|
|
1642
1634
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1643
1635
|
};
|
|
1644
|
-
const
|
|
1636
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1645
1637
|
const contents = map({});
|
|
1646
1638
|
const data = parsedOutput.body;
|
|
1647
1639
|
if (data.errorAttribute != null) {
|
|
@@ -1656,7 +1648,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
|
|
|
1656
1648
|
});
|
|
1657
1649
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1658
1650
|
};
|
|
1659
|
-
const
|
|
1651
|
+
const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
1660
1652
|
const contents = map({});
|
|
1661
1653
|
const data = parsedOutput.body;
|
|
1662
1654
|
if (data.errorAttribute != null) {
|
|
@@ -1671,7 +1663,7 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
|
|
|
1671
1663
|
});
|
|
1672
1664
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1673
1665
|
};
|
|
1674
|
-
const
|
|
1666
|
+
const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
|
|
1675
1667
|
const contents = map({});
|
|
1676
1668
|
const data = parsedOutput.body;
|
|
1677
1669
|
if (data.errorAttribute != null) {
|
|
@@ -1686,7 +1678,7 @@ const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (pars
|
|
|
1686
1678
|
});
|
|
1687
1679
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1688
1680
|
};
|
|
1689
|
-
const
|
|
1681
|
+
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1690
1682
|
const contents = map({});
|
|
1691
1683
|
const data = parsedOutput.body;
|
|
1692
1684
|
if (data.errorAttribute != null) {
|
|
@@ -1701,7 +1693,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
|
|
|
1701
1693
|
});
|
|
1702
1694
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1703
1695
|
};
|
|
1704
|
-
const
|
|
1696
|
+
const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
|
|
1705
1697
|
const contents = map({});
|
|
1706
1698
|
const data = parsedOutput.body;
|
|
1707
1699
|
if (data.errorAttribute != null) {
|
|
@@ -1716,21 +1708,21 @@ const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutpu
|
|
|
1716
1708
|
});
|
|
1717
1709
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1718
1710
|
};
|
|
1719
|
-
const
|
|
1711
|
+
const se___listOf__string = (input, context) => {
|
|
1720
1712
|
return input
|
|
1721
1713
|
.filter((e) => e != null)
|
|
1722
1714
|
.map((entry) => {
|
|
1723
1715
|
return entry;
|
|
1724
1716
|
});
|
|
1725
1717
|
};
|
|
1726
|
-
const
|
|
1718
|
+
const se___listOfUser = (input, context) => {
|
|
1727
1719
|
return input
|
|
1728
1720
|
.filter((e) => e != null)
|
|
1729
1721
|
.map((entry) => {
|
|
1730
|
-
return
|
|
1722
|
+
return se_User(entry, context);
|
|
1731
1723
|
});
|
|
1732
1724
|
};
|
|
1733
|
-
const
|
|
1725
|
+
const se___mapOf__string = (input, context) => {
|
|
1734
1726
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1735
1727
|
if (value === null) {
|
|
1736
1728
|
return acc;
|
|
@@ -1739,21 +1731,21 @@ const serializeAws_restJson1__mapOf__string = (input, context) => {
|
|
|
1739
1731
|
return acc;
|
|
1740
1732
|
}, {});
|
|
1741
1733
|
};
|
|
1742
|
-
const
|
|
1734
|
+
const se_ConfigurationId = (input, context) => {
|
|
1743
1735
|
return {
|
|
1744
1736
|
...(input.Id != null && { id: input.Id }),
|
|
1745
1737
|
...(input.Revision != null && { revision: input.Revision }),
|
|
1746
1738
|
};
|
|
1747
1739
|
};
|
|
1748
|
-
const
|
|
1740
|
+
const se_EncryptionOptions = (input, context) => {
|
|
1749
1741
|
return {
|
|
1750
1742
|
...(input.KmsKeyId != null && { kmsKeyId: input.KmsKeyId }),
|
|
1751
1743
|
...(input.UseAwsOwnedKey != null && { useAwsOwnedKey: input.UseAwsOwnedKey }),
|
|
1752
1744
|
};
|
|
1753
1745
|
};
|
|
1754
|
-
const
|
|
1746
|
+
const se_LdapServerMetadataInput = (input, context) => {
|
|
1755
1747
|
return {
|
|
1756
|
-
...(input.Hosts != null && { hosts:
|
|
1748
|
+
...(input.Hosts != null && { hosts: se___listOf__string(input.Hosts, context) }),
|
|
1757
1749
|
...(input.RoleBase != null && { roleBase: input.RoleBase }),
|
|
1758
1750
|
...(input.RoleName != null && { roleName: input.RoleName }),
|
|
1759
1751
|
...(input.RoleSearchMatching != null && { roleSearchMatching: input.RoleSearchMatching }),
|
|
@@ -1766,28 +1758,28 @@ const serializeAws_restJson1LdapServerMetadataInput = (input, context) => {
|
|
|
1766
1758
|
...(input.UserSearchSubtree != null && { userSearchSubtree: input.UserSearchSubtree }),
|
|
1767
1759
|
};
|
|
1768
1760
|
};
|
|
1769
|
-
const
|
|
1761
|
+
const se_Logs = (input, context) => {
|
|
1770
1762
|
return {
|
|
1771
1763
|
...(input.Audit != null && { audit: input.Audit }),
|
|
1772
1764
|
...(input.General != null && { general: input.General }),
|
|
1773
1765
|
};
|
|
1774
1766
|
};
|
|
1775
|
-
const
|
|
1767
|
+
const se_User = (input, context) => {
|
|
1776
1768
|
return {
|
|
1777
1769
|
...(input.ConsoleAccess != null && { consoleAccess: input.ConsoleAccess }),
|
|
1778
|
-
...(input.Groups != null && { groups:
|
|
1770
|
+
...(input.Groups != null && { groups: se___listOf__string(input.Groups, context) }),
|
|
1779
1771
|
...(input.Password != null && { password: input.Password }),
|
|
1780
1772
|
...(input.Username != null && { username: input.Username }),
|
|
1781
1773
|
};
|
|
1782
1774
|
};
|
|
1783
|
-
const
|
|
1775
|
+
const se_WeeklyStartTime = (input, context) => {
|
|
1784
1776
|
return {
|
|
1785
1777
|
...(input.DayOfWeek != null && { dayOfWeek: input.DayOfWeek }),
|
|
1786
1778
|
...(input.TimeOfDay != null && { timeOfDay: input.TimeOfDay }),
|
|
1787
1779
|
...(input.TimeZone != null && { timeZone: input.TimeZone }),
|
|
1788
1780
|
};
|
|
1789
1781
|
};
|
|
1790
|
-
const
|
|
1782
|
+
const de___listOf__string = (output, context) => {
|
|
1791
1783
|
const retVal = (output || [])
|
|
1792
1784
|
.filter((e) => e != null)
|
|
1793
1785
|
.map((entry) => {
|
|
@@ -1798,106 +1790,106 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
|
|
|
1798
1790
|
});
|
|
1799
1791
|
return retVal;
|
|
1800
1792
|
};
|
|
1801
|
-
const
|
|
1793
|
+
const de___listOfActionRequired = (output, context) => {
|
|
1802
1794
|
const retVal = (output || [])
|
|
1803
1795
|
.filter((e) => e != null)
|
|
1804
1796
|
.map((entry) => {
|
|
1805
1797
|
if (entry === null) {
|
|
1806
1798
|
return null;
|
|
1807
1799
|
}
|
|
1808
|
-
return
|
|
1800
|
+
return de_ActionRequired(entry, context);
|
|
1809
1801
|
});
|
|
1810
1802
|
return retVal;
|
|
1811
1803
|
};
|
|
1812
|
-
const
|
|
1804
|
+
const de___listOfAvailabilityZone = (output, context) => {
|
|
1813
1805
|
const retVal = (output || [])
|
|
1814
1806
|
.filter((e) => e != null)
|
|
1815
1807
|
.map((entry) => {
|
|
1816
1808
|
if (entry === null) {
|
|
1817
1809
|
return null;
|
|
1818
1810
|
}
|
|
1819
|
-
return
|
|
1811
|
+
return de_AvailabilityZone(entry, context);
|
|
1820
1812
|
});
|
|
1821
1813
|
return retVal;
|
|
1822
1814
|
};
|
|
1823
|
-
const
|
|
1815
|
+
const de___listOfBrokerEngineType = (output, context) => {
|
|
1824
1816
|
const retVal = (output || [])
|
|
1825
1817
|
.filter((e) => e != null)
|
|
1826
1818
|
.map((entry) => {
|
|
1827
1819
|
if (entry === null) {
|
|
1828
1820
|
return null;
|
|
1829
1821
|
}
|
|
1830
|
-
return
|
|
1822
|
+
return de_BrokerEngineType(entry, context);
|
|
1831
1823
|
});
|
|
1832
1824
|
return retVal;
|
|
1833
1825
|
};
|
|
1834
|
-
const
|
|
1826
|
+
const de___listOfBrokerInstance = (output, context) => {
|
|
1835
1827
|
const retVal = (output || [])
|
|
1836
1828
|
.filter((e) => e != null)
|
|
1837
1829
|
.map((entry) => {
|
|
1838
1830
|
if (entry === null) {
|
|
1839
1831
|
return null;
|
|
1840
1832
|
}
|
|
1841
|
-
return
|
|
1833
|
+
return de_BrokerInstance(entry, context);
|
|
1842
1834
|
});
|
|
1843
1835
|
return retVal;
|
|
1844
1836
|
};
|
|
1845
|
-
const
|
|
1837
|
+
const de___listOfBrokerInstanceOption = (output, context) => {
|
|
1846
1838
|
const retVal = (output || [])
|
|
1847
1839
|
.filter((e) => e != null)
|
|
1848
1840
|
.map((entry) => {
|
|
1849
1841
|
if (entry === null) {
|
|
1850
1842
|
return null;
|
|
1851
1843
|
}
|
|
1852
|
-
return
|
|
1844
|
+
return de_BrokerInstanceOption(entry, context);
|
|
1853
1845
|
});
|
|
1854
1846
|
return retVal;
|
|
1855
1847
|
};
|
|
1856
|
-
const
|
|
1848
|
+
const de___listOfBrokerSummary = (output, context) => {
|
|
1857
1849
|
const retVal = (output || [])
|
|
1858
1850
|
.filter((e) => e != null)
|
|
1859
1851
|
.map((entry) => {
|
|
1860
1852
|
if (entry === null) {
|
|
1861
1853
|
return null;
|
|
1862
1854
|
}
|
|
1863
|
-
return
|
|
1855
|
+
return de_BrokerSummary(entry, context);
|
|
1864
1856
|
});
|
|
1865
1857
|
return retVal;
|
|
1866
1858
|
};
|
|
1867
|
-
const
|
|
1859
|
+
const de___listOfConfiguration = (output, context) => {
|
|
1868
1860
|
const retVal = (output || [])
|
|
1869
1861
|
.filter((e) => e != null)
|
|
1870
1862
|
.map((entry) => {
|
|
1871
1863
|
if (entry === null) {
|
|
1872
1864
|
return null;
|
|
1873
1865
|
}
|
|
1874
|
-
return
|
|
1866
|
+
return de_Configuration(entry, context);
|
|
1875
1867
|
});
|
|
1876
1868
|
return retVal;
|
|
1877
1869
|
};
|
|
1878
|
-
const
|
|
1870
|
+
const de___listOfConfigurationId = (output, context) => {
|
|
1879
1871
|
const retVal = (output || [])
|
|
1880
1872
|
.filter((e) => e != null)
|
|
1881
1873
|
.map((entry) => {
|
|
1882
1874
|
if (entry === null) {
|
|
1883
1875
|
return null;
|
|
1884
1876
|
}
|
|
1885
|
-
return
|
|
1877
|
+
return de_ConfigurationId(entry, context);
|
|
1886
1878
|
});
|
|
1887
1879
|
return retVal;
|
|
1888
1880
|
};
|
|
1889
|
-
const
|
|
1881
|
+
const de___listOfConfigurationRevision = (output, context) => {
|
|
1890
1882
|
const retVal = (output || [])
|
|
1891
1883
|
.filter((e) => e != null)
|
|
1892
1884
|
.map((entry) => {
|
|
1893
1885
|
if (entry === null) {
|
|
1894
1886
|
return null;
|
|
1895
1887
|
}
|
|
1896
|
-
return
|
|
1888
|
+
return de_ConfigurationRevision(entry, context);
|
|
1897
1889
|
});
|
|
1898
1890
|
return retVal;
|
|
1899
1891
|
};
|
|
1900
|
-
const
|
|
1892
|
+
const de___listOfDeploymentMode = (output, context) => {
|
|
1901
1893
|
const retVal = (output || [])
|
|
1902
1894
|
.filter((e) => e != null)
|
|
1903
1895
|
.map((entry) => {
|
|
@@ -1908,40 +1900,40 @@ const deserializeAws_restJson1__listOfDeploymentMode = (output, context) => {
|
|
|
1908
1900
|
});
|
|
1909
1901
|
return retVal;
|
|
1910
1902
|
};
|
|
1911
|
-
const
|
|
1903
|
+
const de___listOfEngineVersion = (output, context) => {
|
|
1912
1904
|
const retVal = (output || [])
|
|
1913
1905
|
.filter((e) => e != null)
|
|
1914
1906
|
.map((entry) => {
|
|
1915
1907
|
if (entry === null) {
|
|
1916
1908
|
return null;
|
|
1917
1909
|
}
|
|
1918
|
-
return
|
|
1910
|
+
return de_EngineVersion(entry, context);
|
|
1919
1911
|
});
|
|
1920
1912
|
return retVal;
|
|
1921
1913
|
};
|
|
1922
|
-
const
|
|
1914
|
+
const de___listOfSanitizationWarning = (output, context) => {
|
|
1923
1915
|
const retVal = (output || [])
|
|
1924
1916
|
.filter((e) => e != null)
|
|
1925
1917
|
.map((entry) => {
|
|
1926
1918
|
if (entry === null) {
|
|
1927
1919
|
return null;
|
|
1928
1920
|
}
|
|
1929
|
-
return
|
|
1921
|
+
return de_SanitizationWarning(entry, context);
|
|
1930
1922
|
});
|
|
1931
1923
|
return retVal;
|
|
1932
1924
|
};
|
|
1933
|
-
const
|
|
1925
|
+
const de___listOfUserSummary = (output, context) => {
|
|
1934
1926
|
const retVal = (output || [])
|
|
1935
1927
|
.filter((e) => e != null)
|
|
1936
1928
|
.map((entry) => {
|
|
1937
1929
|
if (entry === null) {
|
|
1938
1930
|
return null;
|
|
1939
1931
|
}
|
|
1940
|
-
return
|
|
1932
|
+
return de_UserSummary(entry, context);
|
|
1941
1933
|
});
|
|
1942
1934
|
return retVal;
|
|
1943
1935
|
};
|
|
1944
|
-
const
|
|
1936
|
+
const de___mapOf__string = (output, context) => {
|
|
1945
1937
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1946
1938
|
if (value === null) {
|
|
1947
1939
|
return acc;
|
|
@@ -1950,49 +1942,43 @@ const deserializeAws_restJson1__mapOf__string = (output, context) => {
|
|
|
1950
1942
|
return acc;
|
|
1951
1943
|
}, {});
|
|
1952
1944
|
};
|
|
1953
|
-
const
|
|
1945
|
+
const de_ActionRequired = (output, context) => {
|
|
1954
1946
|
return {
|
|
1955
1947
|
ActionRequiredCode: __expectString(output.actionRequiredCode),
|
|
1956
1948
|
ActionRequiredInfo: __expectString(output.actionRequiredInfo),
|
|
1957
1949
|
};
|
|
1958
1950
|
};
|
|
1959
|
-
const
|
|
1951
|
+
const de_AvailabilityZone = (output, context) => {
|
|
1960
1952
|
return {
|
|
1961
1953
|
Name: __expectString(output.name),
|
|
1962
1954
|
};
|
|
1963
1955
|
};
|
|
1964
|
-
const
|
|
1956
|
+
const de_BrokerEngineType = (output, context) => {
|
|
1965
1957
|
return {
|
|
1966
1958
|
EngineType: __expectString(output.engineType),
|
|
1967
|
-
EngineVersions: output.engineVersions != null
|
|
1968
|
-
? deserializeAws_restJson1__listOfEngineVersion(output.engineVersions, context)
|
|
1969
|
-
: undefined,
|
|
1959
|
+
EngineVersions: output.engineVersions != null ? de___listOfEngineVersion(output.engineVersions, context) : undefined,
|
|
1970
1960
|
};
|
|
1971
1961
|
};
|
|
1972
|
-
const
|
|
1962
|
+
const de_BrokerInstance = (output, context) => {
|
|
1973
1963
|
return {
|
|
1974
1964
|
ConsoleURL: __expectString(output.consoleURL),
|
|
1975
|
-
Endpoints: output.endpoints != null ?
|
|
1965
|
+
Endpoints: output.endpoints != null ? de___listOf__string(output.endpoints, context) : undefined,
|
|
1976
1966
|
IpAddress: __expectString(output.ipAddress),
|
|
1977
1967
|
};
|
|
1978
1968
|
};
|
|
1979
|
-
const
|
|
1969
|
+
const de_BrokerInstanceOption = (output, context) => {
|
|
1980
1970
|
return {
|
|
1981
|
-
AvailabilityZones: output.availabilityZones != null
|
|
1982
|
-
? deserializeAws_restJson1__listOfAvailabilityZone(output.availabilityZones, context)
|
|
1983
|
-
: undefined,
|
|
1971
|
+
AvailabilityZones: output.availabilityZones != null ? de___listOfAvailabilityZone(output.availabilityZones, context) : undefined,
|
|
1984
1972
|
EngineType: __expectString(output.engineType),
|
|
1985
1973
|
HostInstanceType: __expectString(output.hostInstanceType),
|
|
1986
1974
|
StorageType: __expectString(output.storageType),
|
|
1987
1975
|
SupportedDeploymentModes: output.supportedDeploymentModes != null
|
|
1988
|
-
?
|
|
1989
|
-
: undefined,
|
|
1990
|
-
SupportedEngineVersions: output.supportedEngineVersions != null
|
|
1991
|
-
? deserializeAws_restJson1__listOf__string(output.supportedEngineVersions, context)
|
|
1976
|
+
? de___listOfDeploymentMode(output.supportedDeploymentModes, context)
|
|
1992
1977
|
: undefined,
|
|
1978
|
+
SupportedEngineVersions: output.supportedEngineVersions != null ? de___listOf__string(output.supportedEngineVersions, context) : undefined,
|
|
1993
1979
|
};
|
|
1994
1980
|
};
|
|
1995
|
-
const
|
|
1981
|
+
const de_BrokerSummary = (output, context) => {
|
|
1996
1982
|
return {
|
|
1997
1983
|
BrokerArn: __expectString(output.brokerArn),
|
|
1998
1984
|
BrokerId: __expectString(output.brokerId),
|
|
@@ -2004,7 +1990,7 @@ const deserializeAws_restJson1BrokerSummary = (output, context) => {
|
|
|
2004
1990
|
HostInstanceType: __expectString(output.hostInstanceType),
|
|
2005
1991
|
};
|
|
2006
1992
|
};
|
|
2007
|
-
const
|
|
1993
|
+
const de_Configuration = (output, context) => {
|
|
2008
1994
|
return {
|
|
2009
1995
|
Arn: __expectString(output.arn),
|
|
2010
1996
|
AuthenticationStrategy: __expectString(output.authenticationStrategy),
|
|
@@ -2013,47 +1999,45 @@ const deserializeAws_restJson1Configuration = (output, context) => {
|
|
|
2013
1999
|
EngineType: __expectString(output.engineType),
|
|
2014
2000
|
EngineVersion: __expectString(output.engineVersion),
|
|
2015
2001
|
Id: __expectString(output.id),
|
|
2016
|
-
LatestRevision: output.latestRevision != null
|
|
2017
|
-
? deserializeAws_restJson1ConfigurationRevision(output.latestRevision, context)
|
|
2018
|
-
: undefined,
|
|
2002
|
+
LatestRevision: output.latestRevision != null ? de_ConfigurationRevision(output.latestRevision, context) : undefined,
|
|
2019
2003
|
Name: __expectString(output.name),
|
|
2020
|
-
Tags: output.tags != null ?
|
|
2004
|
+
Tags: output.tags != null ? de___mapOf__string(output.tags, context) : undefined,
|
|
2021
2005
|
};
|
|
2022
2006
|
};
|
|
2023
|
-
const
|
|
2007
|
+
const de_ConfigurationId = (output, context) => {
|
|
2024
2008
|
return {
|
|
2025
2009
|
Id: __expectString(output.id),
|
|
2026
2010
|
Revision: __expectInt32(output.revision),
|
|
2027
2011
|
};
|
|
2028
2012
|
};
|
|
2029
|
-
const
|
|
2013
|
+
const de_ConfigurationRevision = (output, context) => {
|
|
2030
2014
|
return {
|
|
2031
2015
|
Created: output.created != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.created)) : undefined,
|
|
2032
2016
|
Description: __expectString(output.description),
|
|
2033
2017
|
Revision: __expectInt32(output.revision),
|
|
2034
2018
|
};
|
|
2035
2019
|
};
|
|
2036
|
-
const
|
|
2020
|
+
const de_Configurations = (output, context) => {
|
|
2037
2021
|
return {
|
|
2038
|
-
Current: output.current != null ?
|
|
2039
|
-
History: output.history != null ?
|
|
2040
|
-
Pending: output.pending != null ?
|
|
2022
|
+
Current: output.current != null ? de_ConfigurationId(output.current, context) : undefined,
|
|
2023
|
+
History: output.history != null ? de___listOfConfigurationId(output.history, context) : undefined,
|
|
2024
|
+
Pending: output.pending != null ? de_ConfigurationId(output.pending, context) : undefined,
|
|
2041
2025
|
};
|
|
2042
2026
|
};
|
|
2043
|
-
const
|
|
2027
|
+
const de_EncryptionOptions = (output, context) => {
|
|
2044
2028
|
return {
|
|
2045
2029
|
KmsKeyId: __expectString(output.kmsKeyId),
|
|
2046
2030
|
UseAwsOwnedKey: __expectBoolean(output.useAwsOwnedKey),
|
|
2047
2031
|
};
|
|
2048
2032
|
};
|
|
2049
|
-
const
|
|
2033
|
+
const de_EngineVersion = (output, context) => {
|
|
2050
2034
|
return {
|
|
2051
2035
|
Name: __expectString(output.name),
|
|
2052
2036
|
};
|
|
2053
2037
|
};
|
|
2054
|
-
const
|
|
2038
|
+
const de_LdapServerMetadataOutput = (output, context) => {
|
|
2055
2039
|
return {
|
|
2056
|
-
Hosts: output.hosts != null ?
|
|
2040
|
+
Hosts: output.hosts != null ? de___listOf__string(output.hosts, context) : undefined,
|
|
2057
2041
|
RoleBase: __expectString(output.roleBase),
|
|
2058
2042
|
RoleName: __expectString(output.roleName),
|
|
2059
2043
|
RoleSearchMatching: __expectString(output.roleSearchMatching),
|
|
@@ -2065,48 +2049,48 @@ const deserializeAws_restJson1LdapServerMetadataOutput = (output, context) => {
|
|
|
2065
2049
|
UserSearchSubtree: __expectBoolean(output.userSearchSubtree),
|
|
2066
2050
|
};
|
|
2067
2051
|
};
|
|
2068
|
-
const
|
|
2052
|
+
const de_Logs = (output, context) => {
|
|
2069
2053
|
return {
|
|
2070
2054
|
Audit: __expectBoolean(output.audit),
|
|
2071
2055
|
General: __expectBoolean(output.general),
|
|
2072
2056
|
};
|
|
2073
2057
|
};
|
|
2074
|
-
const
|
|
2058
|
+
const de_LogsSummary = (output, context) => {
|
|
2075
2059
|
return {
|
|
2076
2060
|
Audit: __expectBoolean(output.audit),
|
|
2077
2061
|
AuditLogGroup: __expectString(output.auditLogGroup),
|
|
2078
2062
|
General: __expectBoolean(output.general),
|
|
2079
2063
|
GeneralLogGroup: __expectString(output.generalLogGroup),
|
|
2080
|
-
Pending: output.pending != null ?
|
|
2064
|
+
Pending: output.pending != null ? de_PendingLogs(output.pending, context) : undefined,
|
|
2081
2065
|
};
|
|
2082
2066
|
};
|
|
2083
|
-
const
|
|
2067
|
+
const de_PendingLogs = (output, context) => {
|
|
2084
2068
|
return {
|
|
2085
2069
|
Audit: __expectBoolean(output.audit),
|
|
2086
2070
|
General: __expectBoolean(output.general),
|
|
2087
2071
|
};
|
|
2088
2072
|
};
|
|
2089
|
-
const
|
|
2073
|
+
const de_SanitizationWarning = (output, context) => {
|
|
2090
2074
|
return {
|
|
2091
2075
|
AttributeName: __expectString(output.attributeName),
|
|
2092
2076
|
ElementName: __expectString(output.elementName),
|
|
2093
2077
|
Reason: __expectString(output.reason),
|
|
2094
2078
|
};
|
|
2095
2079
|
};
|
|
2096
|
-
const
|
|
2080
|
+
const de_UserPendingChanges = (output, context) => {
|
|
2097
2081
|
return {
|
|
2098
2082
|
ConsoleAccess: __expectBoolean(output.consoleAccess),
|
|
2099
|
-
Groups: output.groups != null ?
|
|
2083
|
+
Groups: output.groups != null ? de___listOf__string(output.groups, context) : undefined,
|
|
2100
2084
|
PendingChange: __expectString(output.pendingChange),
|
|
2101
2085
|
};
|
|
2102
2086
|
};
|
|
2103
|
-
const
|
|
2087
|
+
const de_UserSummary = (output, context) => {
|
|
2104
2088
|
return {
|
|
2105
2089
|
PendingChange: __expectString(output.pendingChange),
|
|
2106
2090
|
Username: __expectString(output.username),
|
|
2107
2091
|
};
|
|
2108
2092
|
};
|
|
2109
|
-
const
|
|
2093
|
+
const de_WeeklyStartTime = (output, context) => {
|
|
2110
2094
|
return {
|
|
2111
2095
|
DayOfWeek: __expectString(output.dayOfWeek),
|
|
2112
2096
|
TimeOfDay: __expectString(output.timeOfDay),
|