@aws-sdk/client-chime-sdk-identity 3.54.1 → 3.55.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/CHANGELOG.md +8 -0
- package/dist-cjs/ChimeSDKIdentityClient.js +13 -13
- package/dist-cjs/commands/CreateAppInstanceAdminCommand.js +3 -3
- package/dist-cjs/commands/CreateAppInstanceCommand.js +3 -3
- package/dist-cjs/commands/CreateAppInstanceUserCommand.js +3 -3
- package/dist-cjs/commands/DeleteAppInstanceAdminCommand.js +3 -3
- package/dist-cjs/commands/DeleteAppInstanceCommand.js +3 -3
- package/dist-cjs/commands/DeleteAppInstanceUserCommand.js +3 -3
- package/dist-cjs/commands/DeregisterAppInstanceUserEndpointCommand.js +3 -3
- package/dist-cjs/commands/DescribeAppInstanceAdminCommand.js +3 -3
- package/dist-cjs/commands/DescribeAppInstanceCommand.js +3 -3
- package/dist-cjs/commands/DescribeAppInstanceUserCommand.js +3 -3
- package/dist-cjs/commands/DescribeAppInstanceUserEndpointCommand.js +3 -3
- package/dist-cjs/commands/GetAppInstanceRetentionSettingsCommand.js +3 -3
- package/dist-cjs/commands/ListAppInstanceAdminsCommand.js +3 -3
- package/dist-cjs/commands/ListAppInstanceUserEndpointsCommand.js +3 -3
- package/dist-cjs/commands/ListAppInstanceUsersCommand.js +3 -3
- package/dist-cjs/commands/ListAppInstancesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutAppInstanceRetentionSettingsCommand.js +3 -3
- package/dist-cjs/commands/RegisterAppInstanceUserEndpointCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAppInstanceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAppInstanceUserCommand.js +3 -3
- package/dist-cjs/commands/UpdateAppInstanceUserEndpointCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +148 -148
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/ChimeSDKIdentity.js +24 -24
- package/dist-es/pagination/ListAppInstanceAdminsPaginator.js +4 -4
- package/dist-es/pagination/ListAppInstanceUserEndpointsPaginator.js +4 -4
- package/dist-es/pagination/ListAppInstanceUsersPaginator.js +4 -4
- package/dist-es/pagination/ListAppInstancesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +24 -24
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -15,7 +15,7 @@ const serializeAws_restJson1CreateAppInstanceCommand = async (input, context) =>
|
|
|
15
15
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/app-instances";
|
|
16
16
|
let body;
|
|
17
17
|
body = JSON.stringify({
|
|
18
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
18
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
19
19
|
...(input.Metadata !== undefined && input.Metadata !== null && { Metadata: input.Metadata }),
|
|
20
20
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
21
21
|
...(input.Tags !== undefined &&
|
|
@@ -43,7 +43,7 @@ const serializeAws_restJson1CreateAppInstanceAdminCommand = async (input, contex
|
|
|
43
43
|
if (labelValue.length <= 0) {
|
|
44
44
|
throw new Error("Empty value provided for input HTTP label: AppInstanceArn.");
|
|
45
45
|
}
|
|
46
|
-
resolvedPath = resolvedPath.replace("{AppInstanceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
46
|
+
resolvedPath = resolvedPath.replace("{AppInstanceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
47
47
|
}
|
|
48
48
|
else {
|
|
49
49
|
throw new Error("No value provided for input HTTP label: AppInstanceArn.");
|
|
@@ -77,7 +77,7 @@ const serializeAws_restJson1CreateAppInstanceUserCommand = async (input, context
|
|
|
77
77
|
input.AppInstanceArn !== null && { AppInstanceArn: input.AppInstanceArn }),
|
|
78
78
|
...(input.AppInstanceUserId !== undefined &&
|
|
79
79
|
input.AppInstanceUserId !== null && { AppInstanceUserId: input.AppInstanceUserId }),
|
|
80
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
80
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
81
81
|
...(input.Metadata !== undefined && input.Metadata !== null && { Metadata: input.Metadata }),
|
|
82
82
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
83
83
|
...(input.Tags !== undefined &&
|
|
@@ -103,7 +103,7 @@ const serializeAws_restJson1DeleteAppInstanceCommand = async (input, context) =>
|
|
|
103
103
|
if (labelValue.length <= 0) {
|
|
104
104
|
throw new Error("Empty value provided for input HTTP label: AppInstanceArn.");
|
|
105
105
|
}
|
|
106
|
-
resolvedPath = resolvedPath.replace("{AppInstanceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
106
|
+
resolvedPath = resolvedPath.replace("{AppInstanceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
107
107
|
}
|
|
108
108
|
else {
|
|
109
109
|
throw new Error("No value provided for input HTTP label: AppInstanceArn.");
|
|
@@ -130,7 +130,7 @@ const serializeAws_restJson1DeleteAppInstanceAdminCommand = async (input, contex
|
|
|
130
130
|
if (labelValue.length <= 0) {
|
|
131
131
|
throw new Error("Empty value provided for input HTTP label: AppInstanceAdminArn.");
|
|
132
132
|
}
|
|
133
|
-
resolvedPath = resolvedPath.replace("{AppInstanceAdminArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
133
|
+
resolvedPath = resolvedPath.replace("{AppInstanceAdminArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
134
134
|
}
|
|
135
135
|
else {
|
|
136
136
|
throw new Error("No value provided for input HTTP label: AppInstanceAdminArn.");
|
|
@@ -140,7 +140,7 @@ const serializeAws_restJson1DeleteAppInstanceAdminCommand = async (input, contex
|
|
|
140
140
|
if (labelValue.length <= 0) {
|
|
141
141
|
throw new Error("Empty value provided for input HTTP label: AppInstanceArn.");
|
|
142
142
|
}
|
|
143
|
-
resolvedPath = resolvedPath.replace("{AppInstanceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
143
|
+
resolvedPath = resolvedPath.replace("{AppInstanceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
144
144
|
}
|
|
145
145
|
else {
|
|
146
146
|
throw new Error("No value provided for input HTTP label: AppInstanceArn.");
|
|
@@ -166,7 +166,7 @@ const serializeAws_restJson1DeleteAppInstanceUserCommand = async (input, context
|
|
|
166
166
|
if (labelValue.length <= 0) {
|
|
167
167
|
throw new Error("Empty value provided for input HTTP label: AppInstanceUserArn.");
|
|
168
168
|
}
|
|
169
|
-
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
169
|
+
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
170
170
|
}
|
|
171
171
|
else {
|
|
172
172
|
throw new Error("No value provided for input HTTP label: AppInstanceUserArn.");
|
|
@@ -193,7 +193,7 @@ const serializeAws_restJson1DeregisterAppInstanceUserEndpointCommand = async (in
|
|
|
193
193
|
if (labelValue.length <= 0) {
|
|
194
194
|
throw new Error("Empty value provided for input HTTP label: AppInstanceUserArn.");
|
|
195
195
|
}
|
|
196
|
-
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
196
|
+
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
197
197
|
}
|
|
198
198
|
else {
|
|
199
199
|
throw new Error("No value provided for input HTTP label: AppInstanceUserArn.");
|
|
@@ -203,7 +203,7 @@ const serializeAws_restJson1DeregisterAppInstanceUserEndpointCommand = async (in
|
|
|
203
203
|
if (labelValue.length <= 0) {
|
|
204
204
|
throw new Error("Empty value provided for input HTTP label: EndpointId.");
|
|
205
205
|
}
|
|
206
|
-
resolvedPath = resolvedPath.replace("{EndpointId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
206
|
+
resolvedPath = resolvedPath.replace("{EndpointId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
207
207
|
}
|
|
208
208
|
else {
|
|
209
209
|
throw new Error("No value provided for input HTTP label: EndpointId.");
|
|
@@ -229,7 +229,7 @@ const serializeAws_restJson1DescribeAppInstanceCommand = async (input, context)
|
|
|
229
229
|
if (labelValue.length <= 0) {
|
|
230
230
|
throw new Error("Empty value provided for input HTTP label: AppInstanceArn.");
|
|
231
231
|
}
|
|
232
|
-
resolvedPath = resolvedPath.replace("{AppInstanceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
232
|
+
resolvedPath = resolvedPath.replace("{AppInstanceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
233
233
|
}
|
|
234
234
|
else {
|
|
235
235
|
throw new Error("No value provided for input HTTP label: AppInstanceArn.");
|
|
@@ -256,7 +256,7 @@ const serializeAws_restJson1DescribeAppInstanceAdminCommand = async (input, cont
|
|
|
256
256
|
if (labelValue.length <= 0) {
|
|
257
257
|
throw new Error("Empty value provided for input HTTP label: AppInstanceAdminArn.");
|
|
258
258
|
}
|
|
259
|
-
resolvedPath = resolvedPath.replace("{AppInstanceAdminArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
259
|
+
resolvedPath = resolvedPath.replace("{AppInstanceAdminArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
260
260
|
}
|
|
261
261
|
else {
|
|
262
262
|
throw new Error("No value provided for input HTTP label: AppInstanceAdminArn.");
|
|
@@ -266,7 +266,7 @@ const serializeAws_restJson1DescribeAppInstanceAdminCommand = async (input, cont
|
|
|
266
266
|
if (labelValue.length <= 0) {
|
|
267
267
|
throw new Error("Empty value provided for input HTTP label: AppInstanceArn.");
|
|
268
268
|
}
|
|
269
|
-
resolvedPath = resolvedPath.replace("{AppInstanceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
269
|
+
resolvedPath = resolvedPath.replace("{AppInstanceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
270
270
|
}
|
|
271
271
|
else {
|
|
272
272
|
throw new Error("No value provided for input HTTP label: AppInstanceArn.");
|
|
@@ -292,7 +292,7 @@ const serializeAws_restJson1DescribeAppInstanceUserCommand = async (input, conte
|
|
|
292
292
|
if (labelValue.length <= 0) {
|
|
293
293
|
throw new Error("Empty value provided for input HTTP label: AppInstanceUserArn.");
|
|
294
294
|
}
|
|
295
|
-
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
295
|
+
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
296
296
|
}
|
|
297
297
|
else {
|
|
298
298
|
throw new Error("No value provided for input HTTP label: AppInstanceUserArn.");
|
|
@@ -319,7 +319,7 @@ const serializeAws_restJson1DescribeAppInstanceUserEndpointCommand = async (inpu
|
|
|
319
319
|
if (labelValue.length <= 0) {
|
|
320
320
|
throw new Error("Empty value provided for input HTTP label: AppInstanceUserArn.");
|
|
321
321
|
}
|
|
322
|
-
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
322
|
+
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
323
323
|
}
|
|
324
324
|
else {
|
|
325
325
|
throw new Error("No value provided for input HTTP label: AppInstanceUserArn.");
|
|
@@ -329,7 +329,7 @@ const serializeAws_restJson1DescribeAppInstanceUserEndpointCommand = async (inpu
|
|
|
329
329
|
if (labelValue.length <= 0) {
|
|
330
330
|
throw new Error("Empty value provided for input HTTP label: EndpointId.");
|
|
331
331
|
}
|
|
332
|
-
resolvedPath = resolvedPath.replace("{EndpointId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
332
|
+
resolvedPath = resolvedPath.replace("{EndpointId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
333
333
|
}
|
|
334
334
|
else {
|
|
335
335
|
throw new Error("No value provided for input HTTP label: EndpointId.");
|
|
@@ -356,7 +356,7 @@ const serializeAws_restJson1GetAppInstanceRetentionSettingsCommand = async (inpu
|
|
|
356
356
|
if (labelValue.length <= 0) {
|
|
357
357
|
throw new Error("Empty value provided for input HTTP label: AppInstanceArn.");
|
|
358
358
|
}
|
|
359
|
-
resolvedPath = resolvedPath.replace("{AppInstanceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
359
|
+
resolvedPath = resolvedPath.replace("{AppInstanceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
360
360
|
}
|
|
361
361
|
else {
|
|
362
362
|
throw new Error("No value provided for input HTTP label: AppInstanceArn.");
|
|
@@ -382,7 +382,7 @@ const serializeAws_restJson1ListAppInstanceAdminsCommand = async (input, context
|
|
|
382
382
|
if (labelValue.length <= 0) {
|
|
383
383
|
throw new Error("Empty value provided for input HTTP label: AppInstanceArn.");
|
|
384
384
|
}
|
|
385
|
-
resolvedPath = resolvedPath.replace("{AppInstanceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
385
|
+
resolvedPath = resolvedPath.replace("{AppInstanceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
386
386
|
}
|
|
387
387
|
else {
|
|
388
388
|
throw new Error("No value provided for input HTTP label: AppInstanceArn.");
|
|
@@ -435,7 +435,7 @@ const serializeAws_restJson1ListAppInstanceUserEndpointsCommand = async (input,
|
|
|
435
435
|
if (labelValue.length <= 0) {
|
|
436
436
|
throw new Error("Empty value provided for input HTTP label: AppInstanceUserArn.");
|
|
437
437
|
}
|
|
438
|
-
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
438
|
+
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
439
439
|
}
|
|
440
440
|
else {
|
|
441
441
|
throw new Error("No value provided for input HTTP label: AppInstanceUserArn.");
|
|
@@ -511,7 +511,7 @@ const serializeAws_restJson1PutAppInstanceRetentionSettingsCommand = async (inpu
|
|
|
511
511
|
if (labelValue.length <= 0) {
|
|
512
512
|
throw new Error("Empty value provided for input HTTP label: AppInstanceArn.");
|
|
513
513
|
}
|
|
514
|
-
resolvedPath = resolvedPath.replace("{AppInstanceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
514
|
+
resolvedPath = resolvedPath.replace("{AppInstanceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
515
515
|
}
|
|
516
516
|
else {
|
|
517
517
|
throw new Error("No value provided for input HTTP label: AppInstanceArn.");
|
|
@@ -547,7 +547,7 @@ const serializeAws_restJson1RegisterAppInstanceUserEndpointCommand = async (inpu
|
|
|
547
547
|
if (labelValue.length <= 0) {
|
|
548
548
|
throw new Error("Empty value provided for input HTTP label: AppInstanceUserArn.");
|
|
549
549
|
}
|
|
550
|
-
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
550
|
+
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
551
551
|
}
|
|
552
552
|
else {
|
|
553
553
|
throw new Error("No value provided for input HTTP label: AppInstanceUserArn.");
|
|
@@ -555,7 +555,7 @@ const serializeAws_restJson1RegisterAppInstanceUserEndpointCommand = async (inpu
|
|
|
555
555
|
let body;
|
|
556
556
|
body = JSON.stringify({
|
|
557
557
|
...(input.AllowMessages !== undefined && input.AllowMessages !== null && { AllowMessages: input.AllowMessages }),
|
|
558
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
558
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
559
559
|
...(input.EndpointAttributes !== undefined &&
|
|
560
560
|
input.EndpointAttributes !== null && {
|
|
561
561
|
EndpointAttributes: serializeAws_restJson1EndpointAttributes(input.EndpointAttributes, context),
|
|
@@ -640,7 +640,7 @@ const serializeAws_restJson1UpdateAppInstanceCommand = async (input, context) =>
|
|
|
640
640
|
if (labelValue.length <= 0) {
|
|
641
641
|
throw new Error("Empty value provided for input HTTP label: AppInstanceArn.");
|
|
642
642
|
}
|
|
643
|
-
resolvedPath = resolvedPath.replace("{AppInstanceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
643
|
+
resolvedPath = resolvedPath.replace("{AppInstanceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
644
644
|
}
|
|
645
645
|
else {
|
|
646
646
|
throw new Error("No value provided for input HTTP label: AppInstanceArn.");
|
|
@@ -672,7 +672,7 @@ const serializeAws_restJson1UpdateAppInstanceUserCommand = async (input, context
|
|
|
672
672
|
if (labelValue.length <= 0) {
|
|
673
673
|
throw new Error("Empty value provided for input HTTP label: AppInstanceUserArn.");
|
|
674
674
|
}
|
|
675
|
-
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
675
|
+
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
676
676
|
}
|
|
677
677
|
else {
|
|
678
678
|
throw new Error("No value provided for input HTTP label: AppInstanceUserArn.");
|
|
@@ -705,7 +705,7 @@ const serializeAws_restJson1UpdateAppInstanceUserEndpointCommand = async (input,
|
|
|
705
705
|
if (labelValue.length <= 0) {
|
|
706
706
|
throw new Error("Empty value provided for input HTTP label: AppInstanceUserArn.");
|
|
707
707
|
}
|
|
708
|
-
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
708
|
+
resolvedPath = resolvedPath.replace("{AppInstanceUserArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
709
709
|
}
|
|
710
710
|
else {
|
|
711
711
|
throw new Error("No value provided for input HTTP label: AppInstanceUserArn.");
|
|
@@ -715,7 +715,7 @@ const serializeAws_restJson1UpdateAppInstanceUserEndpointCommand = async (input,
|
|
|
715
715
|
if (labelValue.length <= 0) {
|
|
716
716
|
throw new Error("Empty value provided for input HTTP label: EndpointId.");
|
|
717
717
|
}
|
|
718
|
-
resolvedPath = resolvedPath.replace("{EndpointId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
718
|
+
resolvedPath = resolvedPath.replace("{EndpointId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
719
719
|
}
|
|
720
720
|
else {
|
|
721
721
|
throw new Error("No value provided for input HTTP label: EndpointId.");
|
|
@@ -744,9 +744,9 @@ const deserializeAws_restJson1CreateAppInstanceCommand = async (output, context)
|
|
|
744
744
|
$metadata: deserializeMetadata(output),
|
|
745
745
|
AppInstanceArn: undefined,
|
|
746
746
|
};
|
|
747
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
747
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
748
748
|
if (data.AppInstanceArn !== undefined && data.AppInstanceArn !== null) {
|
|
749
|
-
contents.AppInstanceArn = smithy_client_1.expectString(data.AppInstanceArn);
|
|
749
|
+
contents.AppInstanceArn = (0, smithy_client_1.expectString)(data.AppInstanceArn);
|
|
750
750
|
}
|
|
751
751
|
return Promise.resolve(contents);
|
|
752
752
|
};
|
|
@@ -791,7 +791,7 @@ const deserializeAws_restJson1CreateAppInstanceCommandError = async (output, con
|
|
|
791
791
|
$fault: "client",
|
|
792
792
|
$metadata: deserializeMetadata(output),
|
|
793
793
|
});
|
|
794
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
794
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
795
795
|
}
|
|
796
796
|
};
|
|
797
797
|
const deserializeAws_restJson1CreateAppInstanceAdminCommand = async (output, context) => {
|
|
@@ -803,12 +803,12 @@ const deserializeAws_restJson1CreateAppInstanceAdminCommand = async (output, con
|
|
|
803
803
|
AppInstanceAdmin: undefined,
|
|
804
804
|
AppInstanceArn: undefined,
|
|
805
805
|
};
|
|
806
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
806
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
807
807
|
if (data.AppInstanceAdmin !== undefined && data.AppInstanceAdmin !== null) {
|
|
808
808
|
contents.AppInstanceAdmin = deserializeAws_restJson1Identity(data.AppInstanceAdmin, context);
|
|
809
809
|
}
|
|
810
810
|
if (data.AppInstanceArn !== undefined && data.AppInstanceArn !== null) {
|
|
811
|
-
contents.AppInstanceArn = smithy_client_1.expectString(data.AppInstanceArn);
|
|
811
|
+
contents.AppInstanceArn = (0, smithy_client_1.expectString)(data.AppInstanceArn);
|
|
812
812
|
}
|
|
813
813
|
return Promise.resolve(contents);
|
|
814
814
|
};
|
|
@@ -853,7 +853,7 @@ const deserializeAws_restJson1CreateAppInstanceAdminCommandError = async (output
|
|
|
853
853
|
$fault: "client",
|
|
854
854
|
$metadata: deserializeMetadata(output),
|
|
855
855
|
});
|
|
856
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
856
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
857
857
|
}
|
|
858
858
|
};
|
|
859
859
|
const deserializeAws_restJson1CreateAppInstanceUserCommand = async (output, context) => {
|
|
@@ -864,9 +864,9 @@ const deserializeAws_restJson1CreateAppInstanceUserCommand = async (output, cont
|
|
|
864
864
|
$metadata: deserializeMetadata(output),
|
|
865
865
|
AppInstanceUserArn: undefined,
|
|
866
866
|
};
|
|
867
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
867
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
868
868
|
if (data.AppInstanceUserArn !== undefined && data.AppInstanceUserArn !== null) {
|
|
869
|
-
contents.AppInstanceUserArn = smithy_client_1.expectString(data.AppInstanceUserArn);
|
|
869
|
+
contents.AppInstanceUserArn = (0, smithy_client_1.expectString)(data.AppInstanceUserArn);
|
|
870
870
|
}
|
|
871
871
|
return Promise.resolve(contents);
|
|
872
872
|
};
|
|
@@ -911,7 +911,7 @@ const deserializeAws_restJson1CreateAppInstanceUserCommandError = async (output,
|
|
|
911
911
|
$fault: "client",
|
|
912
912
|
$metadata: deserializeMetadata(output),
|
|
913
913
|
});
|
|
914
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
914
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
915
915
|
}
|
|
916
916
|
};
|
|
917
917
|
const deserializeAws_restJson1DeleteAppInstanceCommand = async (output, context) => {
|
|
@@ -962,7 +962,7 @@ const deserializeAws_restJson1DeleteAppInstanceCommandError = async (output, con
|
|
|
962
962
|
$fault: "client",
|
|
963
963
|
$metadata: deserializeMetadata(output),
|
|
964
964
|
});
|
|
965
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
965
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
966
966
|
}
|
|
967
967
|
};
|
|
968
968
|
const deserializeAws_restJson1DeleteAppInstanceAdminCommand = async (output, context) => {
|
|
@@ -1016,7 +1016,7 @@ const deserializeAws_restJson1DeleteAppInstanceAdminCommandError = async (output
|
|
|
1016
1016
|
$fault: "client",
|
|
1017
1017
|
$metadata: deserializeMetadata(output),
|
|
1018
1018
|
});
|
|
1019
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1019
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1020
1020
|
}
|
|
1021
1021
|
};
|
|
1022
1022
|
const deserializeAws_restJson1DeleteAppInstanceUserCommand = async (output, context) => {
|
|
@@ -1070,7 +1070,7 @@ const deserializeAws_restJson1DeleteAppInstanceUserCommandError = async (output,
|
|
|
1070
1070
|
$fault: "client",
|
|
1071
1071
|
$metadata: deserializeMetadata(output),
|
|
1072
1072
|
});
|
|
1073
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1073
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1074
1074
|
}
|
|
1075
1075
|
};
|
|
1076
1076
|
const deserializeAws_restJson1DeregisterAppInstanceUserEndpointCommand = async (output, context) => {
|
|
@@ -1118,7 +1118,7 @@ const deserializeAws_restJson1DeregisterAppInstanceUserEndpointCommandError = as
|
|
|
1118
1118
|
$fault: "client",
|
|
1119
1119
|
$metadata: deserializeMetadata(output),
|
|
1120
1120
|
});
|
|
1121
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1121
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1122
1122
|
}
|
|
1123
1123
|
};
|
|
1124
1124
|
const deserializeAws_restJson1DescribeAppInstanceCommand = async (output, context) => {
|
|
@@ -1129,7 +1129,7 @@ const deserializeAws_restJson1DescribeAppInstanceCommand = async (output, contex
|
|
|
1129
1129
|
$metadata: deserializeMetadata(output),
|
|
1130
1130
|
AppInstance: undefined,
|
|
1131
1131
|
};
|
|
1132
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1132
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1133
1133
|
if (data.AppInstance !== undefined && data.AppInstance !== null) {
|
|
1134
1134
|
contents.AppInstance = deserializeAws_restJson1AppInstance(data.AppInstance, context);
|
|
1135
1135
|
}
|
|
@@ -1170,7 +1170,7 @@ const deserializeAws_restJson1DescribeAppInstanceCommandError = async (output, c
|
|
|
1170
1170
|
$fault: "client",
|
|
1171
1171
|
$metadata: deserializeMetadata(output),
|
|
1172
1172
|
});
|
|
1173
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1173
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1174
1174
|
}
|
|
1175
1175
|
};
|
|
1176
1176
|
const deserializeAws_restJson1DescribeAppInstanceAdminCommand = async (output, context) => {
|
|
@@ -1181,7 +1181,7 @@ const deserializeAws_restJson1DescribeAppInstanceAdminCommand = async (output, c
|
|
|
1181
1181
|
$metadata: deserializeMetadata(output),
|
|
1182
1182
|
AppInstanceAdmin: undefined,
|
|
1183
1183
|
};
|
|
1184
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1184
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1185
1185
|
if (data.AppInstanceAdmin !== undefined && data.AppInstanceAdmin !== null) {
|
|
1186
1186
|
contents.AppInstanceAdmin = deserializeAws_restJson1AppInstanceAdmin(data.AppInstanceAdmin, context);
|
|
1187
1187
|
}
|
|
@@ -1222,7 +1222,7 @@ const deserializeAws_restJson1DescribeAppInstanceAdminCommandError = async (outp
|
|
|
1222
1222
|
$fault: "client",
|
|
1223
1223
|
$metadata: deserializeMetadata(output),
|
|
1224
1224
|
});
|
|
1225
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1225
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1226
1226
|
}
|
|
1227
1227
|
};
|
|
1228
1228
|
const deserializeAws_restJson1DescribeAppInstanceUserCommand = async (output, context) => {
|
|
@@ -1233,7 +1233,7 @@ const deserializeAws_restJson1DescribeAppInstanceUserCommand = async (output, co
|
|
|
1233
1233
|
$metadata: deserializeMetadata(output),
|
|
1234
1234
|
AppInstanceUser: undefined,
|
|
1235
1235
|
};
|
|
1236
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1236
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1237
1237
|
if (data.AppInstanceUser !== undefined && data.AppInstanceUser !== null) {
|
|
1238
1238
|
contents.AppInstanceUser = deserializeAws_restJson1AppInstanceUser(data.AppInstanceUser, context);
|
|
1239
1239
|
}
|
|
@@ -1274,7 +1274,7 @@ const deserializeAws_restJson1DescribeAppInstanceUserCommandError = async (outpu
|
|
|
1274
1274
|
$fault: "client",
|
|
1275
1275
|
$metadata: deserializeMetadata(output),
|
|
1276
1276
|
});
|
|
1277
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1277
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1278
1278
|
}
|
|
1279
1279
|
};
|
|
1280
1280
|
const deserializeAws_restJson1DescribeAppInstanceUserEndpointCommand = async (output, context) => {
|
|
@@ -1285,7 +1285,7 @@ const deserializeAws_restJson1DescribeAppInstanceUserEndpointCommand = async (ou
|
|
|
1285
1285
|
$metadata: deserializeMetadata(output),
|
|
1286
1286
|
AppInstanceUserEndpoint: undefined,
|
|
1287
1287
|
};
|
|
1288
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1288
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1289
1289
|
if (data.AppInstanceUserEndpoint !== undefined && data.AppInstanceUserEndpoint !== null) {
|
|
1290
1290
|
contents.AppInstanceUserEndpoint = deserializeAws_restJson1AppInstanceUserEndpoint(data.AppInstanceUserEndpoint, context);
|
|
1291
1291
|
}
|
|
@@ -1326,7 +1326,7 @@ const deserializeAws_restJson1DescribeAppInstanceUserEndpointCommandError = asyn
|
|
|
1326
1326
|
$fault: "client",
|
|
1327
1327
|
$metadata: deserializeMetadata(output),
|
|
1328
1328
|
});
|
|
1329
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1329
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1330
1330
|
}
|
|
1331
1331
|
};
|
|
1332
1332
|
const deserializeAws_restJson1GetAppInstanceRetentionSettingsCommand = async (output, context) => {
|
|
@@ -1338,12 +1338,12 @@ const deserializeAws_restJson1GetAppInstanceRetentionSettingsCommand = async (ou
|
|
|
1338
1338
|
AppInstanceRetentionSettings: undefined,
|
|
1339
1339
|
InitiateDeletionTimestamp: undefined,
|
|
1340
1340
|
};
|
|
1341
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1341
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1342
1342
|
if (data.AppInstanceRetentionSettings !== undefined && data.AppInstanceRetentionSettings !== null) {
|
|
1343
1343
|
contents.AppInstanceRetentionSettings = deserializeAws_restJson1AppInstanceRetentionSettings(data.AppInstanceRetentionSettings, context);
|
|
1344
1344
|
}
|
|
1345
1345
|
if (data.InitiateDeletionTimestamp !== undefined && data.InitiateDeletionTimestamp !== null) {
|
|
1346
|
-
contents.InitiateDeletionTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.InitiateDeletionTimestamp)));
|
|
1346
|
+
contents.InitiateDeletionTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.InitiateDeletionTimestamp)));
|
|
1347
1347
|
}
|
|
1348
1348
|
return Promise.resolve(contents);
|
|
1349
1349
|
};
|
|
@@ -1382,7 +1382,7 @@ const deserializeAws_restJson1GetAppInstanceRetentionSettingsCommandError = asyn
|
|
|
1382
1382
|
$fault: "client",
|
|
1383
1383
|
$metadata: deserializeMetadata(output),
|
|
1384
1384
|
});
|
|
1385
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1385
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1386
1386
|
}
|
|
1387
1387
|
};
|
|
1388
1388
|
const deserializeAws_restJson1ListAppInstanceAdminsCommand = async (output, context) => {
|
|
@@ -1395,15 +1395,15 @@ const deserializeAws_restJson1ListAppInstanceAdminsCommand = async (output, cont
|
|
|
1395
1395
|
AppInstanceArn: undefined,
|
|
1396
1396
|
NextToken: undefined,
|
|
1397
1397
|
};
|
|
1398
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1398
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1399
1399
|
if (data.AppInstanceAdmins !== undefined && data.AppInstanceAdmins !== null) {
|
|
1400
1400
|
contents.AppInstanceAdmins = deserializeAws_restJson1AppInstanceAdminList(data.AppInstanceAdmins, context);
|
|
1401
1401
|
}
|
|
1402
1402
|
if (data.AppInstanceArn !== undefined && data.AppInstanceArn !== null) {
|
|
1403
|
-
contents.AppInstanceArn = smithy_client_1.expectString(data.AppInstanceArn);
|
|
1403
|
+
contents.AppInstanceArn = (0, smithy_client_1.expectString)(data.AppInstanceArn);
|
|
1404
1404
|
}
|
|
1405
1405
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1406
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1406
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1407
1407
|
}
|
|
1408
1408
|
return Promise.resolve(contents);
|
|
1409
1409
|
};
|
|
@@ -1445,7 +1445,7 @@ const deserializeAws_restJson1ListAppInstanceAdminsCommandError = async (output,
|
|
|
1445
1445
|
$fault: "client",
|
|
1446
1446
|
$metadata: deserializeMetadata(output),
|
|
1447
1447
|
});
|
|
1448
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1448
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1449
1449
|
}
|
|
1450
1450
|
};
|
|
1451
1451
|
const deserializeAws_restJson1ListAppInstancesCommand = async (output, context) => {
|
|
@@ -1457,12 +1457,12 @@ const deserializeAws_restJson1ListAppInstancesCommand = async (output, context)
|
|
|
1457
1457
|
AppInstances: undefined,
|
|
1458
1458
|
NextToken: undefined,
|
|
1459
1459
|
};
|
|
1460
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1460
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1461
1461
|
if (data.AppInstances !== undefined && data.AppInstances !== null) {
|
|
1462
1462
|
contents.AppInstances = deserializeAws_restJson1AppInstanceList(data.AppInstances, context);
|
|
1463
1463
|
}
|
|
1464
1464
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1465
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1465
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1466
1466
|
}
|
|
1467
1467
|
return Promise.resolve(contents);
|
|
1468
1468
|
};
|
|
@@ -1501,7 +1501,7 @@ const deserializeAws_restJson1ListAppInstancesCommandError = async (output, cont
|
|
|
1501
1501
|
$fault: "client",
|
|
1502
1502
|
$metadata: deserializeMetadata(output),
|
|
1503
1503
|
});
|
|
1504
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1504
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1505
1505
|
}
|
|
1506
1506
|
};
|
|
1507
1507
|
const deserializeAws_restJson1ListAppInstanceUserEndpointsCommand = async (output, context) => {
|
|
@@ -1513,12 +1513,12 @@ const deserializeAws_restJson1ListAppInstanceUserEndpointsCommand = async (outpu
|
|
|
1513
1513
|
AppInstanceUserEndpoints: undefined,
|
|
1514
1514
|
NextToken: undefined,
|
|
1515
1515
|
};
|
|
1516
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1516
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1517
1517
|
if (data.AppInstanceUserEndpoints !== undefined && data.AppInstanceUserEndpoints !== null) {
|
|
1518
1518
|
contents.AppInstanceUserEndpoints = deserializeAws_restJson1AppInstanceUserEndpointSummaryList(data.AppInstanceUserEndpoints, context);
|
|
1519
1519
|
}
|
|
1520
1520
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1521
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1521
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1522
1522
|
}
|
|
1523
1523
|
return Promise.resolve(contents);
|
|
1524
1524
|
};
|
|
@@ -1557,7 +1557,7 @@ const deserializeAws_restJson1ListAppInstanceUserEndpointsCommandError = async (
|
|
|
1557
1557
|
$fault: "client",
|
|
1558
1558
|
$metadata: deserializeMetadata(output),
|
|
1559
1559
|
});
|
|
1560
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1560
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1561
1561
|
}
|
|
1562
1562
|
};
|
|
1563
1563
|
const deserializeAws_restJson1ListAppInstanceUsersCommand = async (output, context) => {
|
|
@@ -1570,15 +1570,15 @@ const deserializeAws_restJson1ListAppInstanceUsersCommand = async (output, conte
|
|
|
1570
1570
|
AppInstanceUsers: undefined,
|
|
1571
1571
|
NextToken: undefined,
|
|
1572
1572
|
};
|
|
1573
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1573
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1574
1574
|
if (data.AppInstanceArn !== undefined && data.AppInstanceArn !== null) {
|
|
1575
|
-
contents.AppInstanceArn = smithy_client_1.expectString(data.AppInstanceArn);
|
|
1575
|
+
contents.AppInstanceArn = (0, smithy_client_1.expectString)(data.AppInstanceArn);
|
|
1576
1576
|
}
|
|
1577
1577
|
if (data.AppInstanceUsers !== undefined && data.AppInstanceUsers !== null) {
|
|
1578
1578
|
contents.AppInstanceUsers = deserializeAws_restJson1AppInstanceUserList(data.AppInstanceUsers, context);
|
|
1579
1579
|
}
|
|
1580
1580
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1581
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1581
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1582
1582
|
}
|
|
1583
1583
|
return Promise.resolve(contents);
|
|
1584
1584
|
};
|
|
@@ -1617,7 +1617,7 @@ const deserializeAws_restJson1ListAppInstanceUsersCommandError = async (output,
|
|
|
1617
1617
|
$fault: "client",
|
|
1618
1618
|
$metadata: deserializeMetadata(output),
|
|
1619
1619
|
});
|
|
1620
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1620
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1621
1621
|
}
|
|
1622
1622
|
};
|
|
1623
1623
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -1628,7 +1628,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
1628
1628
|
$metadata: deserializeMetadata(output),
|
|
1629
1629
|
Tags: undefined,
|
|
1630
1630
|
};
|
|
1631
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1631
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1632
1632
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
1633
1633
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
1634
1634
|
}
|
|
@@ -1669,7 +1669,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1669
1669
|
$fault: "client",
|
|
1670
1670
|
$metadata: deserializeMetadata(output),
|
|
1671
1671
|
});
|
|
1672
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1672
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1673
1673
|
}
|
|
1674
1674
|
};
|
|
1675
1675
|
const deserializeAws_restJson1PutAppInstanceRetentionSettingsCommand = async (output, context) => {
|
|
@@ -1681,12 +1681,12 @@ const deserializeAws_restJson1PutAppInstanceRetentionSettingsCommand = async (ou
|
|
|
1681
1681
|
AppInstanceRetentionSettings: undefined,
|
|
1682
1682
|
InitiateDeletionTimestamp: undefined,
|
|
1683
1683
|
};
|
|
1684
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1684
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1685
1685
|
if (data.AppInstanceRetentionSettings !== undefined && data.AppInstanceRetentionSettings !== null) {
|
|
1686
1686
|
contents.AppInstanceRetentionSettings = deserializeAws_restJson1AppInstanceRetentionSettings(data.AppInstanceRetentionSettings, context);
|
|
1687
1687
|
}
|
|
1688
1688
|
if (data.InitiateDeletionTimestamp !== undefined && data.InitiateDeletionTimestamp !== null) {
|
|
1689
|
-
contents.InitiateDeletionTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.InitiateDeletionTimestamp)));
|
|
1689
|
+
contents.InitiateDeletionTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.InitiateDeletionTimestamp)));
|
|
1690
1690
|
}
|
|
1691
1691
|
return Promise.resolve(contents);
|
|
1692
1692
|
};
|
|
@@ -1725,7 +1725,7 @@ const deserializeAws_restJson1PutAppInstanceRetentionSettingsCommandError = asyn
|
|
|
1725
1725
|
$fault: "client",
|
|
1726
1726
|
$metadata: deserializeMetadata(output),
|
|
1727
1727
|
});
|
|
1728
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1728
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1729
1729
|
}
|
|
1730
1730
|
};
|
|
1731
1731
|
const deserializeAws_restJson1RegisterAppInstanceUserEndpointCommand = async (output, context) => {
|
|
@@ -1737,12 +1737,12 @@ const deserializeAws_restJson1RegisterAppInstanceUserEndpointCommand = async (ou
|
|
|
1737
1737
|
AppInstanceUserArn: undefined,
|
|
1738
1738
|
EndpointId: undefined,
|
|
1739
1739
|
};
|
|
1740
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1740
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1741
1741
|
if (data.AppInstanceUserArn !== undefined && data.AppInstanceUserArn !== null) {
|
|
1742
|
-
contents.AppInstanceUserArn = smithy_client_1.expectString(data.AppInstanceUserArn);
|
|
1742
|
+
contents.AppInstanceUserArn = (0, smithy_client_1.expectString)(data.AppInstanceUserArn);
|
|
1743
1743
|
}
|
|
1744
1744
|
if (data.EndpointId !== undefined && data.EndpointId !== null) {
|
|
1745
|
-
contents.EndpointId = smithy_client_1.expectString(data.EndpointId);
|
|
1745
|
+
contents.EndpointId = (0, smithy_client_1.expectString)(data.EndpointId);
|
|
1746
1746
|
}
|
|
1747
1747
|
return Promise.resolve(contents);
|
|
1748
1748
|
};
|
|
@@ -1787,7 +1787,7 @@ const deserializeAws_restJson1RegisterAppInstanceUserEndpointCommandError = asyn
|
|
|
1787
1787
|
$fault: "client",
|
|
1788
1788
|
$metadata: deserializeMetadata(output),
|
|
1789
1789
|
});
|
|
1790
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1790
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1791
1791
|
}
|
|
1792
1792
|
};
|
|
1793
1793
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -1838,7 +1838,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1838
1838
|
$fault: "client",
|
|
1839
1839
|
$metadata: deserializeMetadata(output),
|
|
1840
1840
|
});
|
|
1841
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1841
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1842
1842
|
}
|
|
1843
1843
|
};
|
|
1844
1844
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -1886,7 +1886,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
1886
1886
|
$fault: "client",
|
|
1887
1887
|
$metadata: deserializeMetadata(output),
|
|
1888
1888
|
});
|
|
1889
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1889
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1890
1890
|
}
|
|
1891
1891
|
};
|
|
1892
1892
|
const deserializeAws_restJson1UpdateAppInstanceCommand = async (output, context) => {
|
|
@@ -1897,9 +1897,9 @@ const deserializeAws_restJson1UpdateAppInstanceCommand = async (output, context)
|
|
|
1897
1897
|
$metadata: deserializeMetadata(output),
|
|
1898
1898
|
AppInstanceArn: undefined,
|
|
1899
1899
|
};
|
|
1900
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1900
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1901
1901
|
if (data.AppInstanceArn !== undefined && data.AppInstanceArn !== null) {
|
|
1902
|
-
contents.AppInstanceArn = smithy_client_1.expectString(data.AppInstanceArn);
|
|
1902
|
+
contents.AppInstanceArn = (0, smithy_client_1.expectString)(data.AppInstanceArn);
|
|
1903
1903
|
}
|
|
1904
1904
|
return Promise.resolve(contents);
|
|
1905
1905
|
};
|
|
@@ -1941,7 +1941,7 @@ const deserializeAws_restJson1UpdateAppInstanceCommandError = async (output, con
|
|
|
1941
1941
|
$fault: "client",
|
|
1942
1942
|
$metadata: deserializeMetadata(output),
|
|
1943
1943
|
});
|
|
1944
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1944
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1945
1945
|
}
|
|
1946
1946
|
};
|
|
1947
1947
|
const deserializeAws_restJson1UpdateAppInstanceUserCommand = async (output, context) => {
|
|
@@ -1952,9 +1952,9 @@ const deserializeAws_restJson1UpdateAppInstanceUserCommand = async (output, cont
|
|
|
1952
1952
|
$metadata: deserializeMetadata(output),
|
|
1953
1953
|
AppInstanceUserArn: undefined,
|
|
1954
1954
|
};
|
|
1955
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1955
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1956
1956
|
if (data.AppInstanceUserArn !== undefined && data.AppInstanceUserArn !== null) {
|
|
1957
|
-
contents.AppInstanceUserArn = smithy_client_1.expectString(data.AppInstanceUserArn);
|
|
1957
|
+
contents.AppInstanceUserArn = (0, smithy_client_1.expectString)(data.AppInstanceUserArn);
|
|
1958
1958
|
}
|
|
1959
1959
|
return Promise.resolve(contents);
|
|
1960
1960
|
};
|
|
@@ -1999,7 +1999,7 @@ const deserializeAws_restJson1UpdateAppInstanceUserCommandError = async (output,
|
|
|
1999
1999
|
$fault: "client",
|
|
2000
2000
|
$metadata: deserializeMetadata(output),
|
|
2001
2001
|
});
|
|
2002
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2002
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2003
2003
|
}
|
|
2004
2004
|
};
|
|
2005
2005
|
const deserializeAws_restJson1UpdateAppInstanceUserEndpointCommand = async (output, context) => {
|
|
@@ -2011,12 +2011,12 @@ const deserializeAws_restJson1UpdateAppInstanceUserEndpointCommand = async (outp
|
|
|
2011
2011
|
AppInstanceUserArn: undefined,
|
|
2012
2012
|
EndpointId: undefined,
|
|
2013
2013
|
};
|
|
2014
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2014
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2015
2015
|
if (data.AppInstanceUserArn !== undefined && data.AppInstanceUserArn !== null) {
|
|
2016
|
-
contents.AppInstanceUserArn = smithy_client_1.expectString(data.AppInstanceUserArn);
|
|
2016
|
+
contents.AppInstanceUserArn = (0, smithy_client_1.expectString)(data.AppInstanceUserArn);
|
|
2017
2017
|
}
|
|
2018
2018
|
if (data.EndpointId !== undefined && data.EndpointId !== null) {
|
|
2019
|
-
contents.EndpointId = smithy_client_1.expectString(data.EndpointId);
|
|
2019
|
+
contents.EndpointId = (0, smithy_client_1.expectString)(data.EndpointId);
|
|
2020
2020
|
}
|
|
2021
2021
|
return Promise.resolve(contents);
|
|
2022
2022
|
};
|
|
@@ -2058,128 +2058,128 @@ const deserializeAws_restJson1UpdateAppInstanceUserEndpointCommandError = async
|
|
|
2058
2058
|
$fault: "client",
|
|
2059
2059
|
$metadata: deserializeMetadata(output),
|
|
2060
2060
|
});
|
|
2061
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2061
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2062
2062
|
}
|
|
2063
2063
|
};
|
|
2064
2064
|
const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
|
|
2065
2065
|
const contents = {};
|
|
2066
2066
|
const data = parsedOutput.body;
|
|
2067
2067
|
if (data.Code !== undefined && data.Code !== null) {
|
|
2068
|
-
contents.Code = smithy_client_1.expectString(data.Code);
|
|
2068
|
+
contents.Code = (0, smithy_client_1.expectString)(data.Code);
|
|
2069
2069
|
}
|
|
2070
2070
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2071
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2071
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
2072
2072
|
}
|
|
2073
2073
|
const exception = new models_0_1.BadRequestException({
|
|
2074
2074
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2075
2075
|
...contents,
|
|
2076
2076
|
});
|
|
2077
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2077
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2078
2078
|
};
|
|
2079
2079
|
const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
2080
2080
|
const contents = {};
|
|
2081
2081
|
const data = parsedOutput.body;
|
|
2082
2082
|
if (data.Code !== undefined && data.Code !== null) {
|
|
2083
|
-
contents.Code = smithy_client_1.expectString(data.Code);
|
|
2083
|
+
contents.Code = (0, smithy_client_1.expectString)(data.Code);
|
|
2084
2084
|
}
|
|
2085
2085
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2086
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2086
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
2087
2087
|
}
|
|
2088
2088
|
const exception = new models_0_1.ConflictException({
|
|
2089
2089
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2090
2090
|
...contents,
|
|
2091
2091
|
});
|
|
2092
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2092
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2093
2093
|
};
|
|
2094
2094
|
const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput, context) => {
|
|
2095
2095
|
const contents = {};
|
|
2096
2096
|
const data = parsedOutput.body;
|
|
2097
2097
|
if (data.Code !== undefined && data.Code !== null) {
|
|
2098
|
-
contents.Code = smithy_client_1.expectString(data.Code);
|
|
2098
|
+
contents.Code = (0, smithy_client_1.expectString)(data.Code);
|
|
2099
2099
|
}
|
|
2100
2100
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2101
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2101
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
2102
2102
|
}
|
|
2103
2103
|
const exception = new models_0_1.ForbiddenException({
|
|
2104
2104
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2105
2105
|
...contents,
|
|
2106
2106
|
});
|
|
2107
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2107
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2108
2108
|
};
|
|
2109
2109
|
const deserializeAws_restJson1ResourceLimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
2110
2110
|
const contents = {};
|
|
2111
2111
|
const data = parsedOutput.body;
|
|
2112
2112
|
if (data.Code !== undefined && data.Code !== null) {
|
|
2113
|
-
contents.Code = smithy_client_1.expectString(data.Code);
|
|
2113
|
+
contents.Code = (0, smithy_client_1.expectString)(data.Code);
|
|
2114
2114
|
}
|
|
2115
2115
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2116
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2116
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
2117
2117
|
}
|
|
2118
2118
|
const exception = new models_0_1.ResourceLimitExceededException({
|
|
2119
2119
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2120
2120
|
...contents,
|
|
2121
2121
|
});
|
|
2122
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2122
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2123
2123
|
};
|
|
2124
2124
|
const deserializeAws_restJson1ServiceFailureExceptionResponse = async (parsedOutput, context) => {
|
|
2125
2125
|
const contents = {};
|
|
2126
2126
|
const data = parsedOutput.body;
|
|
2127
2127
|
if (data.Code !== undefined && data.Code !== null) {
|
|
2128
|
-
contents.Code = smithy_client_1.expectString(data.Code);
|
|
2128
|
+
contents.Code = (0, smithy_client_1.expectString)(data.Code);
|
|
2129
2129
|
}
|
|
2130
2130
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2131
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2131
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
2132
2132
|
}
|
|
2133
2133
|
const exception = new models_0_1.ServiceFailureException({
|
|
2134
2134
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2135
2135
|
...contents,
|
|
2136
2136
|
});
|
|
2137
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2137
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2138
2138
|
};
|
|
2139
2139
|
const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
|
|
2140
2140
|
const contents = {};
|
|
2141
2141
|
const data = parsedOutput.body;
|
|
2142
2142
|
if (data.Code !== undefined && data.Code !== null) {
|
|
2143
|
-
contents.Code = smithy_client_1.expectString(data.Code);
|
|
2143
|
+
contents.Code = (0, smithy_client_1.expectString)(data.Code);
|
|
2144
2144
|
}
|
|
2145
2145
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2146
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2146
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
2147
2147
|
}
|
|
2148
2148
|
const exception = new models_0_1.ServiceUnavailableException({
|
|
2149
2149
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2150
2150
|
...contents,
|
|
2151
2151
|
});
|
|
2152
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2152
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2153
2153
|
};
|
|
2154
2154
|
const deserializeAws_restJson1ThrottledClientExceptionResponse = async (parsedOutput, context) => {
|
|
2155
2155
|
const contents = {};
|
|
2156
2156
|
const data = parsedOutput.body;
|
|
2157
2157
|
if (data.Code !== undefined && data.Code !== null) {
|
|
2158
|
-
contents.Code = smithy_client_1.expectString(data.Code);
|
|
2158
|
+
contents.Code = (0, smithy_client_1.expectString)(data.Code);
|
|
2159
2159
|
}
|
|
2160
2160
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2161
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2161
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
2162
2162
|
}
|
|
2163
2163
|
const exception = new models_0_1.ThrottledClientException({
|
|
2164
2164
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2165
2165
|
...contents,
|
|
2166
2166
|
});
|
|
2167
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2167
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2168
2168
|
};
|
|
2169
2169
|
const deserializeAws_restJson1UnauthorizedClientExceptionResponse = async (parsedOutput, context) => {
|
|
2170
2170
|
const contents = {};
|
|
2171
2171
|
const data = parsedOutput.body;
|
|
2172
2172
|
if (data.Code !== undefined && data.Code !== null) {
|
|
2173
|
-
contents.Code = smithy_client_1.expectString(data.Code);
|
|
2173
|
+
contents.Code = (0, smithy_client_1.expectString)(data.Code);
|
|
2174
2174
|
}
|
|
2175
2175
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2176
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2176
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
2177
2177
|
}
|
|
2178
2178
|
const exception = new models_0_1.UnauthorizedClientException({
|
|
2179
2179
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2180
2180
|
...contents,
|
|
2181
2181
|
});
|
|
2182
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2182
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2183
2183
|
};
|
|
2184
2184
|
const serializeAws_restJson1AppInstanceRetentionSettings = (input, context) => {
|
|
2185
2185
|
return {
|
|
@@ -2229,15 +2229,15 @@ const serializeAws_restJson1TagList = (input, context) => {
|
|
|
2229
2229
|
};
|
|
2230
2230
|
const deserializeAws_restJson1AppInstance = (output, context) => {
|
|
2231
2231
|
return {
|
|
2232
|
-
AppInstanceArn: smithy_client_1.expectString(output.AppInstanceArn),
|
|
2232
|
+
AppInstanceArn: (0, smithy_client_1.expectString)(output.AppInstanceArn),
|
|
2233
2233
|
CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
2234
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
|
|
2234
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
|
|
2235
2235
|
: undefined,
|
|
2236
2236
|
LastUpdatedTimestamp: output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
|
|
2237
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTimestamp)))
|
|
2237
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTimestamp)))
|
|
2238
2238
|
: undefined,
|
|
2239
|
-
Metadata: smithy_client_1.expectString(output.Metadata),
|
|
2240
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2239
|
+
Metadata: (0, smithy_client_1.expectString)(output.Metadata),
|
|
2240
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2241
2241
|
};
|
|
2242
2242
|
};
|
|
2243
2243
|
const deserializeAws_restJson1AppInstanceAdmin = (output, context) => {
|
|
@@ -2245,9 +2245,9 @@ const deserializeAws_restJson1AppInstanceAdmin = (output, context) => {
|
|
|
2245
2245
|
Admin: output.Admin !== undefined && output.Admin !== null
|
|
2246
2246
|
? deserializeAws_restJson1Identity(output.Admin, context)
|
|
2247
2247
|
: undefined,
|
|
2248
|
-
AppInstanceArn: smithy_client_1.expectString(output.AppInstanceArn),
|
|
2248
|
+
AppInstanceArn: (0, smithy_client_1.expectString)(output.AppInstanceArn),
|
|
2249
2249
|
CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
2250
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
|
|
2250
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
|
|
2251
2251
|
: undefined,
|
|
2252
2252
|
};
|
|
2253
2253
|
};
|
|
@@ -2289,56 +2289,56 @@ const deserializeAws_restJson1AppInstanceRetentionSettings = (output, context) =
|
|
|
2289
2289
|
};
|
|
2290
2290
|
const deserializeAws_restJson1AppInstanceSummary = (output, context) => {
|
|
2291
2291
|
return {
|
|
2292
|
-
AppInstanceArn: smithy_client_1.expectString(output.AppInstanceArn),
|
|
2293
|
-
Metadata: smithy_client_1.expectString(output.Metadata),
|
|
2294
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2292
|
+
AppInstanceArn: (0, smithy_client_1.expectString)(output.AppInstanceArn),
|
|
2293
|
+
Metadata: (0, smithy_client_1.expectString)(output.Metadata),
|
|
2294
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2295
2295
|
};
|
|
2296
2296
|
};
|
|
2297
2297
|
const deserializeAws_restJson1AppInstanceUser = (output, context) => {
|
|
2298
2298
|
return {
|
|
2299
|
-
AppInstanceUserArn: smithy_client_1.expectString(output.AppInstanceUserArn),
|
|
2299
|
+
AppInstanceUserArn: (0, smithy_client_1.expectString)(output.AppInstanceUserArn),
|
|
2300
2300
|
CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
2301
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
|
|
2301
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
|
|
2302
2302
|
: undefined,
|
|
2303
2303
|
LastUpdatedTimestamp: output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
|
|
2304
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTimestamp)))
|
|
2304
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTimestamp)))
|
|
2305
2305
|
: undefined,
|
|
2306
|
-
Metadata: smithy_client_1.expectString(output.Metadata),
|
|
2307
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2306
|
+
Metadata: (0, smithy_client_1.expectString)(output.Metadata),
|
|
2307
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2308
2308
|
};
|
|
2309
2309
|
};
|
|
2310
2310
|
const deserializeAws_restJson1AppInstanceUserEndpoint = (output, context) => {
|
|
2311
2311
|
return {
|
|
2312
|
-
AllowMessages: smithy_client_1.expectString(output.AllowMessages),
|
|
2313
|
-
AppInstanceUserArn: smithy_client_1.expectString(output.AppInstanceUserArn),
|
|
2312
|
+
AllowMessages: (0, smithy_client_1.expectString)(output.AllowMessages),
|
|
2313
|
+
AppInstanceUserArn: (0, smithy_client_1.expectString)(output.AppInstanceUserArn),
|
|
2314
2314
|
CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
2315
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
|
|
2315
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
|
|
2316
2316
|
: undefined,
|
|
2317
2317
|
EndpointAttributes: output.EndpointAttributes !== undefined && output.EndpointAttributes !== null
|
|
2318
2318
|
? deserializeAws_restJson1EndpointAttributes(output.EndpointAttributes, context)
|
|
2319
2319
|
: undefined,
|
|
2320
|
-
EndpointId: smithy_client_1.expectString(output.EndpointId),
|
|
2320
|
+
EndpointId: (0, smithy_client_1.expectString)(output.EndpointId),
|
|
2321
2321
|
EndpointState: output.EndpointState !== undefined && output.EndpointState !== null
|
|
2322
2322
|
? deserializeAws_restJson1EndpointState(output.EndpointState, context)
|
|
2323
2323
|
: undefined,
|
|
2324
2324
|
LastUpdatedTimestamp: output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
|
|
2325
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTimestamp)))
|
|
2325
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTimestamp)))
|
|
2326
2326
|
: undefined,
|
|
2327
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2328
|
-
ResourceArn: smithy_client_1.expectString(output.ResourceArn),
|
|
2329
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
2327
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2328
|
+
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
2329
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2330
2330
|
};
|
|
2331
2331
|
};
|
|
2332
2332
|
const deserializeAws_restJson1AppInstanceUserEndpointSummary = (output, context) => {
|
|
2333
2333
|
return {
|
|
2334
|
-
AllowMessages: smithy_client_1.expectString(output.AllowMessages),
|
|
2335
|
-
AppInstanceUserArn: smithy_client_1.expectString(output.AppInstanceUserArn),
|
|
2336
|
-
EndpointId: smithy_client_1.expectString(output.EndpointId),
|
|
2334
|
+
AllowMessages: (0, smithy_client_1.expectString)(output.AllowMessages),
|
|
2335
|
+
AppInstanceUserArn: (0, smithy_client_1.expectString)(output.AppInstanceUserArn),
|
|
2336
|
+
EndpointId: (0, smithy_client_1.expectString)(output.EndpointId),
|
|
2337
2337
|
EndpointState: output.EndpointState !== undefined && output.EndpointState !== null
|
|
2338
2338
|
? deserializeAws_restJson1EndpointState(output.EndpointState, context)
|
|
2339
2339
|
: undefined,
|
|
2340
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2341
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
2340
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2341
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2342
2342
|
};
|
|
2343
2343
|
};
|
|
2344
2344
|
const deserializeAws_restJson1AppInstanceUserEndpointSummaryList = (output, context) => {
|
|
@@ -2365,38 +2365,38 @@ const deserializeAws_restJson1AppInstanceUserList = (output, context) => {
|
|
|
2365
2365
|
};
|
|
2366
2366
|
const deserializeAws_restJson1AppInstanceUserSummary = (output, context) => {
|
|
2367
2367
|
return {
|
|
2368
|
-
AppInstanceUserArn: smithy_client_1.expectString(output.AppInstanceUserArn),
|
|
2369
|
-
Metadata: smithy_client_1.expectString(output.Metadata),
|
|
2370
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2368
|
+
AppInstanceUserArn: (0, smithy_client_1.expectString)(output.AppInstanceUserArn),
|
|
2369
|
+
Metadata: (0, smithy_client_1.expectString)(output.Metadata),
|
|
2370
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2371
2371
|
};
|
|
2372
2372
|
};
|
|
2373
2373
|
const deserializeAws_restJson1ChannelRetentionSettings = (output, context) => {
|
|
2374
2374
|
return {
|
|
2375
|
-
RetentionDays: smithy_client_1.expectInt32(output.RetentionDays),
|
|
2375
|
+
RetentionDays: (0, smithy_client_1.expectInt32)(output.RetentionDays),
|
|
2376
2376
|
};
|
|
2377
2377
|
};
|
|
2378
2378
|
const deserializeAws_restJson1EndpointAttributes = (output, context) => {
|
|
2379
2379
|
return {
|
|
2380
|
-
DeviceToken: smithy_client_1.expectString(output.DeviceToken),
|
|
2381
|
-
VoipDeviceToken: smithy_client_1.expectString(output.VoipDeviceToken),
|
|
2380
|
+
DeviceToken: (0, smithy_client_1.expectString)(output.DeviceToken),
|
|
2381
|
+
VoipDeviceToken: (0, smithy_client_1.expectString)(output.VoipDeviceToken),
|
|
2382
2382
|
};
|
|
2383
2383
|
};
|
|
2384
2384
|
const deserializeAws_restJson1EndpointState = (output, context) => {
|
|
2385
2385
|
return {
|
|
2386
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
2387
|
-
StatusReason: smithy_client_1.expectString(output.StatusReason),
|
|
2386
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2387
|
+
StatusReason: (0, smithy_client_1.expectString)(output.StatusReason),
|
|
2388
2388
|
};
|
|
2389
2389
|
};
|
|
2390
2390
|
const deserializeAws_restJson1Identity = (output, context) => {
|
|
2391
2391
|
return {
|
|
2392
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
2393
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2392
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2393
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2394
2394
|
};
|
|
2395
2395
|
};
|
|
2396
2396
|
const deserializeAws_restJson1Tag = (output, context) => {
|
|
2397
2397
|
return {
|
|
2398
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
2399
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
2398
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2399
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2400
2400
|
};
|
|
2401
2401
|
};
|
|
2402
2402
|
const deserializeAws_restJson1TagList = (output, context) => {
|