@aws-sdk/client-voice-id 3.54.1 → 3.58.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 +24 -0
- package/dist-cjs/VoiceIDClient.js +13 -13
- package/dist-cjs/commands/CreateDomainCommand.js +3 -3
- package/dist-cjs/commands/DeleteDomainCommand.js +3 -3
- package/dist-cjs/commands/DeleteFraudsterCommand.js +3 -3
- package/dist-cjs/commands/DeleteSpeakerCommand.js +3 -3
- package/dist-cjs/commands/DescribeDomainCommand.js +3 -3
- package/dist-cjs/commands/DescribeFraudsterCommand.js +3 -3
- package/dist-cjs/commands/DescribeFraudsterRegistrationJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeSpeakerCommand.js +3 -3
- package/dist-cjs/commands/DescribeSpeakerEnrollmentJobCommand.js +3 -3
- package/dist-cjs/commands/EvaluateSessionCommand.js +3 -3
- package/dist-cjs/commands/ListDomainsCommand.js +3 -3
- package/dist-cjs/commands/ListFraudsterRegistrationJobsCommand.js +3 -3
- package/dist-cjs/commands/ListSpeakerEnrollmentJobsCommand.js +3 -3
- package/dist-cjs/commands/ListSpeakersCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/OptOutSpeakerCommand.js +3 -3
- package/dist-cjs/commands/StartFraudsterRegistrationJobCommand.js +3 -3
- package/dist-cjs/commands/StartSpeakerEnrollmentJobCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateDomainCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_0.js +133 -133
- 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/VoiceID.js +21 -21
- package/dist-es/pagination/ListDomainsPaginator.js +4 -4
- package/dist-es/pagination/ListFraudsterRegistrationJobsPaginator.js +4 -4
- package/dist-es/pagination/ListSpeakerEnrollmentJobsPaginator.js +4 -4
- package/dist-es/pagination/ListSpeakersPaginator.js +4 -4
- 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
|
@@ -267,7 +267,7 @@ const deserializeAws_json1_0CreateDomainCommandError = async (output, context) =
|
|
|
267
267
|
$fault: "client",
|
|
268
268
|
$metadata: deserializeMetadata(output),
|
|
269
269
|
});
|
|
270
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
270
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
271
271
|
}
|
|
272
272
|
};
|
|
273
273
|
const deserializeAws_json1_0DeleteDomainCommand = async (output, context) => {
|
|
@@ -315,7 +315,7 @@ const deserializeAws_json1_0DeleteDomainCommandError = async (output, context) =
|
|
|
315
315
|
$fault: "client",
|
|
316
316
|
$metadata: deserializeMetadata(output),
|
|
317
317
|
});
|
|
318
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
318
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
319
319
|
}
|
|
320
320
|
};
|
|
321
321
|
const deserializeAws_json1_0DeleteFraudsterCommand = async (output, context) => {
|
|
@@ -360,7 +360,7 @@ const deserializeAws_json1_0DeleteFraudsterCommandError = async (output, context
|
|
|
360
360
|
$fault: "client",
|
|
361
361
|
$metadata: deserializeMetadata(output),
|
|
362
362
|
});
|
|
363
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
363
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
364
364
|
}
|
|
365
365
|
};
|
|
366
366
|
const deserializeAws_json1_0DeleteSpeakerCommand = async (output, context) => {
|
|
@@ -408,7 +408,7 @@ const deserializeAws_json1_0DeleteSpeakerCommandError = async (output, context)
|
|
|
408
408
|
$fault: "client",
|
|
409
409
|
$metadata: deserializeMetadata(output),
|
|
410
410
|
});
|
|
411
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
411
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
412
412
|
}
|
|
413
413
|
};
|
|
414
414
|
const deserializeAws_json1_0DescribeDomainCommand = async (output, context) => {
|
|
@@ -456,7 +456,7 @@ const deserializeAws_json1_0DescribeDomainCommandError = async (output, context)
|
|
|
456
456
|
$fault: "client",
|
|
457
457
|
$metadata: deserializeMetadata(output),
|
|
458
458
|
});
|
|
459
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
459
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
460
460
|
}
|
|
461
461
|
};
|
|
462
462
|
const deserializeAws_json1_0DescribeFraudsterCommand = async (output, context) => {
|
|
@@ -504,7 +504,7 @@ const deserializeAws_json1_0DescribeFraudsterCommandError = async (output, conte
|
|
|
504
504
|
$fault: "client",
|
|
505
505
|
$metadata: deserializeMetadata(output),
|
|
506
506
|
});
|
|
507
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
507
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
508
508
|
}
|
|
509
509
|
};
|
|
510
510
|
const deserializeAws_json1_0DescribeFraudsterRegistrationJobCommand = async (output, context) => {
|
|
@@ -552,7 +552,7 @@ const deserializeAws_json1_0DescribeFraudsterRegistrationJobCommandError = async
|
|
|
552
552
|
$fault: "client",
|
|
553
553
|
$metadata: deserializeMetadata(output),
|
|
554
554
|
});
|
|
555
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
555
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
556
556
|
}
|
|
557
557
|
};
|
|
558
558
|
const deserializeAws_json1_0DescribeSpeakerCommand = async (output, context) => {
|
|
@@ -600,7 +600,7 @@ const deserializeAws_json1_0DescribeSpeakerCommandError = async (output, context
|
|
|
600
600
|
$fault: "client",
|
|
601
601
|
$metadata: deserializeMetadata(output),
|
|
602
602
|
});
|
|
603
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
603
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
604
604
|
}
|
|
605
605
|
};
|
|
606
606
|
const deserializeAws_json1_0DescribeSpeakerEnrollmentJobCommand = async (output, context) => {
|
|
@@ -648,7 +648,7 @@ const deserializeAws_json1_0DescribeSpeakerEnrollmentJobCommandError = async (ou
|
|
|
648
648
|
$fault: "client",
|
|
649
649
|
$metadata: deserializeMetadata(output),
|
|
650
650
|
});
|
|
651
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
651
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
652
652
|
}
|
|
653
653
|
};
|
|
654
654
|
const deserializeAws_json1_0EvaluateSessionCommand = async (output, context) => {
|
|
@@ -696,7 +696,7 @@ const deserializeAws_json1_0EvaluateSessionCommandError = async (output, context
|
|
|
696
696
|
$fault: "client",
|
|
697
697
|
$metadata: deserializeMetadata(output),
|
|
698
698
|
});
|
|
699
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
699
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
700
700
|
}
|
|
701
701
|
};
|
|
702
702
|
const deserializeAws_json1_0ListDomainsCommand = async (output, context) => {
|
|
@@ -741,7 +741,7 @@ const deserializeAws_json1_0ListDomainsCommandError = async (output, context) =>
|
|
|
741
741
|
$fault: "client",
|
|
742
742
|
$metadata: deserializeMetadata(output),
|
|
743
743
|
});
|
|
744
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
744
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
745
745
|
}
|
|
746
746
|
};
|
|
747
747
|
const deserializeAws_json1_0ListFraudsterRegistrationJobsCommand = async (output, context) => {
|
|
@@ -789,7 +789,7 @@ const deserializeAws_json1_0ListFraudsterRegistrationJobsCommandError = async (o
|
|
|
789
789
|
$fault: "client",
|
|
790
790
|
$metadata: deserializeMetadata(output),
|
|
791
791
|
});
|
|
792
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
792
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
793
793
|
}
|
|
794
794
|
};
|
|
795
795
|
const deserializeAws_json1_0ListSpeakerEnrollmentJobsCommand = async (output, context) => {
|
|
@@ -837,7 +837,7 @@ const deserializeAws_json1_0ListSpeakerEnrollmentJobsCommandError = async (outpu
|
|
|
837
837
|
$fault: "client",
|
|
838
838
|
$metadata: deserializeMetadata(output),
|
|
839
839
|
});
|
|
840
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
840
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
841
841
|
}
|
|
842
842
|
};
|
|
843
843
|
const deserializeAws_json1_0ListSpeakersCommand = async (output, context) => {
|
|
@@ -885,7 +885,7 @@ const deserializeAws_json1_0ListSpeakersCommandError = async (output, context) =
|
|
|
885
885
|
$fault: "client",
|
|
886
886
|
$metadata: deserializeMetadata(output),
|
|
887
887
|
});
|
|
888
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
888
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
889
889
|
}
|
|
890
890
|
};
|
|
891
891
|
const deserializeAws_json1_0ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -933,7 +933,7 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
|
|
|
933
933
|
$fault: "client",
|
|
934
934
|
$metadata: deserializeMetadata(output),
|
|
935
935
|
});
|
|
936
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
936
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
937
937
|
}
|
|
938
938
|
};
|
|
939
939
|
const deserializeAws_json1_0OptOutSpeakerCommand = async (output, context) => {
|
|
@@ -984,7 +984,7 @@ const deserializeAws_json1_0OptOutSpeakerCommandError = async (output, context)
|
|
|
984
984
|
$fault: "client",
|
|
985
985
|
$metadata: deserializeMetadata(output),
|
|
986
986
|
});
|
|
987
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
987
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
988
988
|
}
|
|
989
989
|
};
|
|
990
990
|
const deserializeAws_json1_0StartFraudsterRegistrationJobCommand = async (output, context) => {
|
|
@@ -1038,7 +1038,7 @@ const deserializeAws_json1_0StartFraudsterRegistrationJobCommandError = async (o
|
|
|
1038
1038
|
$fault: "client",
|
|
1039
1039
|
$metadata: deserializeMetadata(output),
|
|
1040
1040
|
});
|
|
1041
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1041
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1042
1042
|
}
|
|
1043
1043
|
};
|
|
1044
1044
|
const deserializeAws_json1_0StartSpeakerEnrollmentJobCommand = async (output, context) => {
|
|
@@ -1092,7 +1092,7 @@ const deserializeAws_json1_0StartSpeakerEnrollmentJobCommandError = async (outpu
|
|
|
1092
1092
|
$fault: "client",
|
|
1093
1093
|
$metadata: deserializeMetadata(output),
|
|
1094
1094
|
});
|
|
1095
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1095
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1096
1096
|
}
|
|
1097
1097
|
};
|
|
1098
1098
|
const deserializeAws_json1_0TagResourceCommand = async (output, context) => {
|
|
@@ -1143,7 +1143,7 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
|
|
|
1143
1143
|
$fault: "client",
|
|
1144
1144
|
$metadata: deserializeMetadata(output),
|
|
1145
1145
|
});
|
|
1146
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1146
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1147
1147
|
}
|
|
1148
1148
|
};
|
|
1149
1149
|
const deserializeAws_json1_0UntagResourceCommand = async (output, context) => {
|
|
@@ -1194,7 +1194,7 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
|
|
|
1194
1194
|
$fault: "client",
|
|
1195
1195
|
$metadata: deserializeMetadata(output),
|
|
1196
1196
|
});
|
|
1197
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1197
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1198
1198
|
}
|
|
1199
1199
|
};
|
|
1200
1200
|
const deserializeAws_json1_0UpdateDomainCommand = async (output, context) => {
|
|
@@ -1245,7 +1245,7 @@ const deserializeAws_json1_0UpdateDomainCommandError = async (output, context) =
|
|
|
1245
1245
|
$fault: "client",
|
|
1246
1246
|
$metadata: deserializeMetadata(output),
|
|
1247
1247
|
});
|
|
1248
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1248
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1249
1249
|
}
|
|
1250
1250
|
};
|
|
1251
1251
|
const deserializeAws_json1_0AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -1255,7 +1255,7 @@ const deserializeAws_json1_0AccessDeniedExceptionResponse = async (parsedOutput,
|
|
|
1255
1255
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1256
1256
|
...deserialized,
|
|
1257
1257
|
});
|
|
1258
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1258
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1259
1259
|
};
|
|
1260
1260
|
const deserializeAws_json1_0ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
1261
1261
|
const body = parsedOutput.body;
|
|
@@ -1264,7 +1264,7 @@ const deserializeAws_json1_0ConflictExceptionResponse = async (parsedOutput, con
|
|
|
1264
1264
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1265
1265
|
...deserialized,
|
|
1266
1266
|
});
|
|
1267
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1267
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1268
1268
|
};
|
|
1269
1269
|
const deserializeAws_json1_0InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
1270
1270
|
const body = parsedOutput.body;
|
|
@@ -1273,7 +1273,7 @@ const deserializeAws_json1_0InternalServerExceptionResponse = async (parsedOutpu
|
|
|
1273
1273
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1274
1274
|
...deserialized,
|
|
1275
1275
|
});
|
|
1276
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1276
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1277
1277
|
};
|
|
1278
1278
|
const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1279
1279
|
const body = parsedOutput.body;
|
|
@@ -1282,7 +1282,7 @@ const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOut
|
|
|
1282
1282
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1283
1283
|
...deserialized,
|
|
1284
1284
|
});
|
|
1285
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1285
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1286
1286
|
};
|
|
1287
1287
|
const deserializeAws_json1_0ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
1288
1288
|
const body = parsedOutput.body;
|
|
@@ -1291,7 +1291,7 @@ const deserializeAws_json1_0ServiceQuotaExceededExceptionResponse = async (parse
|
|
|
1291
1291
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1292
1292
|
...deserialized,
|
|
1293
1293
|
});
|
|
1294
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1294
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1295
1295
|
};
|
|
1296
1296
|
const deserializeAws_json1_0ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
1297
1297
|
const body = parsedOutput.body;
|
|
@@ -1300,7 +1300,7 @@ const deserializeAws_json1_0ThrottlingExceptionResponse = async (parsedOutput, c
|
|
|
1300
1300
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1301
1301
|
...deserialized,
|
|
1302
1302
|
});
|
|
1303
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1303
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1304
1304
|
};
|
|
1305
1305
|
const deserializeAws_json1_0ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
1306
1306
|
const body = parsedOutput.body;
|
|
@@ -1309,12 +1309,12 @@ const deserializeAws_json1_0ValidationExceptionResponse = async (parsedOutput, c
|
|
|
1309
1309
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1310
1310
|
...deserialized,
|
|
1311
1311
|
});
|
|
1312
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1312
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1313
1313
|
};
|
|
1314
1314
|
const serializeAws_json1_0CreateDomainRequest = (input, context) => {
|
|
1315
1315
|
var _a;
|
|
1316
1316
|
return {
|
|
1317
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
1317
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1318
1318
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
1319
1319
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
1320
1320
|
...(input.ServerSideEncryptionConfiguration !== undefined &&
|
|
@@ -1463,7 +1463,7 @@ const serializeAws_json1_0ServerSideEncryptionConfiguration = (input, context) =
|
|
|
1463
1463
|
const serializeAws_json1_0StartFraudsterRegistrationJobRequest = (input, context) => {
|
|
1464
1464
|
var _a;
|
|
1465
1465
|
return {
|
|
1466
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
1466
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1467
1467
|
...(input.DataAccessRoleArn !== undefined &&
|
|
1468
1468
|
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
1469
1469
|
...(input.DomainId !== undefined && input.DomainId !== null && { DomainId: input.DomainId }),
|
|
@@ -1485,7 +1485,7 @@ const serializeAws_json1_0StartFraudsterRegistrationJobRequest = (input, context
|
|
|
1485
1485
|
const serializeAws_json1_0StartSpeakerEnrollmentJobRequest = (input, context) => {
|
|
1486
1486
|
var _a;
|
|
1487
1487
|
return {
|
|
1488
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
1488
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1489
1489
|
...(input.DataAccessRoleArn !== undefined &&
|
|
1490
1490
|
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
1491
1491
|
...(input.DomainId !== undefined && input.DomainId !== null && { DomainId: input.DomainId }),
|
|
@@ -1556,36 +1556,36 @@ const serializeAws_json1_0UpdateDomainRequest = (input, context) => {
|
|
|
1556
1556
|
};
|
|
1557
1557
|
const deserializeAws_json1_0AccessDeniedException = (output, context) => {
|
|
1558
1558
|
return {
|
|
1559
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1559
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1560
1560
|
};
|
|
1561
1561
|
};
|
|
1562
1562
|
const deserializeAws_json1_0AuthenticationConfiguration = (output, context) => {
|
|
1563
1563
|
return {
|
|
1564
|
-
AcceptanceThreshold: smithy_client_1.expectInt32(output.AcceptanceThreshold),
|
|
1564
|
+
AcceptanceThreshold: (0, smithy_client_1.expectInt32)(output.AcceptanceThreshold),
|
|
1565
1565
|
};
|
|
1566
1566
|
};
|
|
1567
1567
|
const deserializeAws_json1_0AuthenticationResult = (output, context) => {
|
|
1568
1568
|
return {
|
|
1569
1569
|
AudioAggregationEndedAt: output.AudioAggregationEndedAt !== undefined && output.AudioAggregationEndedAt !== null
|
|
1570
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.AudioAggregationEndedAt)))
|
|
1570
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.AudioAggregationEndedAt)))
|
|
1571
1571
|
: undefined,
|
|
1572
1572
|
AudioAggregationStartedAt: output.AudioAggregationStartedAt !== undefined && output.AudioAggregationStartedAt !== null
|
|
1573
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.AudioAggregationStartedAt)))
|
|
1573
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.AudioAggregationStartedAt)))
|
|
1574
1574
|
: undefined,
|
|
1575
|
-
AuthenticationResultId: smithy_client_1.expectString(output.AuthenticationResultId),
|
|
1575
|
+
AuthenticationResultId: (0, smithy_client_1.expectString)(output.AuthenticationResultId),
|
|
1576
1576
|
Configuration: output.Configuration !== undefined && output.Configuration !== null
|
|
1577
1577
|
? deserializeAws_json1_0AuthenticationConfiguration(output.Configuration, context)
|
|
1578
1578
|
: undefined,
|
|
1579
|
-
CustomerSpeakerId: smithy_client_1.expectString(output.CustomerSpeakerId),
|
|
1580
|
-
Decision: smithy_client_1.expectString(output.Decision),
|
|
1581
|
-
GeneratedSpeakerId: smithy_client_1.expectString(output.GeneratedSpeakerId),
|
|
1582
|
-
Score: smithy_client_1.expectInt32(output.Score),
|
|
1579
|
+
CustomerSpeakerId: (0, smithy_client_1.expectString)(output.CustomerSpeakerId),
|
|
1580
|
+
Decision: (0, smithy_client_1.expectString)(output.Decision),
|
|
1581
|
+
GeneratedSpeakerId: (0, smithy_client_1.expectString)(output.GeneratedSpeakerId),
|
|
1582
|
+
Score: (0, smithy_client_1.expectInt32)(output.Score),
|
|
1583
1583
|
};
|
|
1584
1584
|
};
|
|
1585
1585
|
const deserializeAws_json1_0ConflictException = (output, context) => {
|
|
1586
1586
|
return {
|
|
1587
|
-
ConflictType: smithy_client_1.expectString(output.ConflictType),
|
|
1588
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1587
|
+
ConflictType: (0, smithy_client_1.expectString)(output.ConflictType),
|
|
1588
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1589
1589
|
};
|
|
1590
1590
|
};
|
|
1591
1591
|
const deserializeAws_json1_0CreateDomainResponse = (output, context) => {
|
|
@@ -1632,19 +1632,19 @@ const deserializeAws_json1_0DescribeSpeakerResponse = (output, context) => {
|
|
|
1632
1632
|
};
|
|
1633
1633
|
const deserializeAws_json1_0Domain = (output, context) => {
|
|
1634
1634
|
return {
|
|
1635
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
1635
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
1636
1636
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
1637
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
1637
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
1638
1638
|
: undefined,
|
|
1639
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
1640
|
-
DomainId: smithy_client_1.expectString(output.DomainId),
|
|
1641
|
-
DomainStatus: smithy_client_1.expectString(output.DomainStatus),
|
|
1642
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1639
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
1640
|
+
DomainId: (0, smithy_client_1.expectString)(output.DomainId),
|
|
1641
|
+
DomainStatus: (0, smithy_client_1.expectString)(output.DomainStatus),
|
|
1642
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1643
1643
|
ServerSideEncryptionConfiguration: output.ServerSideEncryptionConfiguration !== undefined && output.ServerSideEncryptionConfiguration !== null
|
|
1644
1644
|
? deserializeAws_json1_0ServerSideEncryptionConfiguration(output.ServerSideEncryptionConfiguration, context)
|
|
1645
1645
|
: undefined,
|
|
1646
1646
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
1647
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
1647
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
1648
1648
|
: undefined,
|
|
1649
1649
|
};
|
|
1650
1650
|
};
|
|
@@ -1661,25 +1661,25 @@ const deserializeAws_json1_0DomainSummaries = (output, context) => {
|
|
|
1661
1661
|
};
|
|
1662
1662
|
const deserializeAws_json1_0DomainSummary = (output, context) => {
|
|
1663
1663
|
return {
|
|
1664
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
1664
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
1665
1665
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
1666
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
1666
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
1667
1667
|
: undefined,
|
|
1668
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
1669
|
-
DomainId: smithy_client_1.expectString(output.DomainId),
|
|
1670
|
-
DomainStatus: smithy_client_1.expectString(output.DomainStatus),
|
|
1671
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1668
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
1669
|
+
DomainId: (0, smithy_client_1.expectString)(output.DomainId),
|
|
1670
|
+
DomainStatus: (0, smithy_client_1.expectString)(output.DomainStatus),
|
|
1671
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1672
1672
|
ServerSideEncryptionConfiguration: output.ServerSideEncryptionConfiguration !== undefined && output.ServerSideEncryptionConfiguration !== null
|
|
1673
1673
|
? deserializeAws_json1_0ServerSideEncryptionConfiguration(output.ServerSideEncryptionConfiguration, context)
|
|
1674
1674
|
: undefined,
|
|
1675
1675
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
1676
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
1676
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
1677
1677
|
: undefined,
|
|
1678
1678
|
};
|
|
1679
1679
|
};
|
|
1680
1680
|
const deserializeAws_json1_0EnrollmentConfig = (output, context) => {
|
|
1681
1681
|
return {
|
|
1682
|
-
ExistingEnrollmentAction: smithy_client_1.expectString(output.ExistingEnrollmentAction),
|
|
1682
|
+
ExistingEnrollmentAction: (0, smithy_client_1.expectString)(output.ExistingEnrollmentAction),
|
|
1683
1683
|
FraudDetectionConfig: output.FraudDetectionConfig !== undefined && output.FraudDetectionConfig !== null
|
|
1684
1684
|
? deserializeAws_json1_0EnrollmentJobFraudDetectionConfig(output.FraudDetectionConfig, context)
|
|
1685
1685
|
: undefined,
|
|
@@ -1687,8 +1687,8 @@ const deserializeAws_json1_0EnrollmentConfig = (output, context) => {
|
|
|
1687
1687
|
};
|
|
1688
1688
|
const deserializeAws_json1_0EnrollmentJobFraudDetectionConfig = (output, context) => {
|
|
1689
1689
|
return {
|
|
1690
|
-
FraudDetectionAction: smithy_client_1.expectString(output.FraudDetectionAction),
|
|
1691
|
-
RiskThreshold: smithy_client_1.expectInt32(output.RiskThreshold),
|
|
1690
|
+
FraudDetectionAction: (0, smithy_client_1.expectString)(output.FraudDetectionAction),
|
|
1691
|
+
RiskThreshold: (0, smithy_client_1.expectInt32)(output.RiskThreshold),
|
|
1692
1692
|
};
|
|
1693
1693
|
};
|
|
1694
1694
|
const deserializeAws_json1_0EvaluateSessionResponse = (output, context) => {
|
|
@@ -1696,24 +1696,24 @@ const deserializeAws_json1_0EvaluateSessionResponse = (output, context) => {
|
|
|
1696
1696
|
AuthenticationResult: output.AuthenticationResult !== undefined && output.AuthenticationResult !== null
|
|
1697
1697
|
? deserializeAws_json1_0AuthenticationResult(output.AuthenticationResult, context)
|
|
1698
1698
|
: undefined,
|
|
1699
|
-
DomainId: smithy_client_1.expectString(output.DomainId),
|
|
1699
|
+
DomainId: (0, smithy_client_1.expectString)(output.DomainId),
|
|
1700
1700
|
FraudDetectionResult: output.FraudDetectionResult !== undefined && output.FraudDetectionResult !== null
|
|
1701
1701
|
? deserializeAws_json1_0FraudDetectionResult(output.FraudDetectionResult, context)
|
|
1702
1702
|
: undefined,
|
|
1703
|
-
SessionId: smithy_client_1.expectString(output.SessionId),
|
|
1704
|
-
SessionName: smithy_client_1.expectString(output.SessionName),
|
|
1705
|
-
StreamingStatus: smithy_client_1.expectString(output.StreamingStatus),
|
|
1703
|
+
SessionId: (0, smithy_client_1.expectString)(output.SessionId),
|
|
1704
|
+
SessionName: (0, smithy_client_1.expectString)(output.SessionName),
|
|
1705
|
+
StreamingStatus: (0, smithy_client_1.expectString)(output.StreamingStatus),
|
|
1706
1706
|
};
|
|
1707
1707
|
};
|
|
1708
1708
|
const deserializeAws_json1_0FailureDetails = (output, context) => {
|
|
1709
1709
|
return {
|
|
1710
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1711
|
-
StatusCode: smithy_client_1.expectInt32(output.StatusCode),
|
|
1710
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1711
|
+
StatusCode: (0, smithy_client_1.expectInt32)(output.StatusCode),
|
|
1712
1712
|
};
|
|
1713
1713
|
};
|
|
1714
1714
|
const deserializeAws_json1_0FraudDetectionConfiguration = (output, context) => {
|
|
1715
1715
|
return {
|
|
1716
|
-
RiskThreshold: smithy_client_1.expectInt32(output.RiskThreshold),
|
|
1716
|
+
RiskThreshold: (0, smithy_client_1.expectInt32)(output.RiskThreshold),
|
|
1717
1717
|
};
|
|
1718
1718
|
};
|
|
1719
1719
|
const deserializeAws_json1_0FraudDetectionReasons = (output, context) => {
|
|
@@ -1723,23 +1723,23 @@ const deserializeAws_json1_0FraudDetectionReasons = (output, context) => {
|
|
|
1723
1723
|
if (entry === null) {
|
|
1724
1724
|
return null;
|
|
1725
1725
|
}
|
|
1726
|
-
return smithy_client_1.expectString(entry);
|
|
1726
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
1727
1727
|
});
|
|
1728
1728
|
return retVal;
|
|
1729
1729
|
};
|
|
1730
1730
|
const deserializeAws_json1_0FraudDetectionResult = (output, context) => {
|
|
1731
1731
|
return {
|
|
1732
1732
|
AudioAggregationEndedAt: output.AudioAggregationEndedAt !== undefined && output.AudioAggregationEndedAt !== null
|
|
1733
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.AudioAggregationEndedAt)))
|
|
1733
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.AudioAggregationEndedAt)))
|
|
1734
1734
|
: undefined,
|
|
1735
1735
|
AudioAggregationStartedAt: output.AudioAggregationStartedAt !== undefined && output.AudioAggregationStartedAt !== null
|
|
1736
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.AudioAggregationStartedAt)))
|
|
1736
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.AudioAggregationStartedAt)))
|
|
1737
1737
|
: undefined,
|
|
1738
1738
|
Configuration: output.Configuration !== undefined && output.Configuration !== null
|
|
1739
1739
|
? deserializeAws_json1_0FraudDetectionConfiguration(output.Configuration, context)
|
|
1740
1740
|
: undefined,
|
|
1741
|
-
Decision: smithy_client_1.expectString(output.Decision),
|
|
1742
|
-
FraudDetectionResultId: smithy_client_1.expectString(output.FraudDetectionResultId),
|
|
1741
|
+
Decision: (0, smithy_client_1.expectString)(output.Decision),
|
|
1742
|
+
FraudDetectionResultId: (0, smithy_client_1.expectString)(output.FraudDetectionResultId),
|
|
1743
1743
|
Reasons: output.Reasons !== undefined && output.Reasons !== null
|
|
1744
1744
|
? deserializeAws_json1_0FraudDetectionReasons(output.Reasons, context)
|
|
1745
1745
|
: undefined,
|
|
@@ -1758,21 +1758,21 @@ const deserializeAws_json1_0FraudRiskDetails = (output, context) => {
|
|
|
1758
1758
|
const deserializeAws_json1_0Fraudster = (output, context) => {
|
|
1759
1759
|
return {
|
|
1760
1760
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
1761
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
1761
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
1762
1762
|
: undefined,
|
|
1763
|
-
DomainId: smithy_client_1.expectString(output.DomainId),
|
|
1764
|
-
GeneratedFraudsterId: smithy_client_1.expectString(output.GeneratedFraudsterId),
|
|
1763
|
+
DomainId: (0, smithy_client_1.expectString)(output.DomainId),
|
|
1764
|
+
GeneratedFraudsterId: (0, smithy_client_1.expectString)(output.GeneratedFraudsterId),
|
|
1765
1765
|
};
|
|
1766
1766
|
};
|
|
1767
1767
|
const deserializeAws_json1_0FraudsterRegistrationJob = (output, context) => {
|
|
1768
1768
|
return {
|
|
1769
1769
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
1770
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
1770
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
1771
1771
|
: undefined,
|
|
1772
|
-
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
1773
|
-
DomainId: smithy_client_1.expectString(output.DomainId),
|
|
1772
|
+
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
1773
|
+
DomainId: (0, smithy_client_1.expectString)(output.DomainId),
|
|
1774
1774
|
EndedAt: output.EndedAt !== undefined && output.EndedAt !== null
|
|
1775
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndedAt)))
|
|
1775
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndedAt)))
|
|
1776
1776
|
: undefined,
|
|
1777
1777
|
FailureDetails: output.FailureDetails !== undefined && output.FailureDetails !== null
|
|
1778
1778
|
? deserializeAws_json1_0FailureDetails(output.FailureDetails, context)
|
|
@@ -1780,12 +1780,12 @@ const deserializeAws_json1_0FraudsterRegistrationJob = (output, context) => {
|
|
|
1780
1780
|
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
1781
1781
|
? deserializeAws_json1_0InputDataConfig(output.InputDataConfig, context)
|
|
1782
1782
|
: undefined,
|
|
1783
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
1784
|
-
JobName: smithy_client_1.expectString(output.JobName),
|
|
1783
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
1784
|
+
JobName: (0, smithy_client_1.expectString)(output.JobName),
|
|
1785
1785
|
JobProgress: output.JobProgress !== undefined && output.JobProgress !== null
|
|
1786
1786
|
? deserializeAws_json1_0JobProgress(output.JobProgress, context)
|
|
1787
1787
|
: undefined,
|
|
1788
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
1788
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
1789
1789
|
OutputDataConfig: output.OutputDataConfig !== undefined && output.OutputDataConfig !== null
|
|
1790
1790
|
? deserializeAws_json1_0OutputDataConfig(output.OutputDataConfig, context)
|
|
1791
1791
|
: undefined,
|
|
@@ -1808,42 +1808,42 @@ const deserializeAws_json1_0FraudsterRegistrationJobSummaries = (output, context
|
|
|
1808
1808
|
const deserializeAws_json1_0FraudsterRegistrationJobSummary = (output, context) => {
|
|
1809
1809
|
return {
|
|
1810
1810
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
1811
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
1811
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
1812
1812
|
: undefined,
|
|
1813
|
-
DomainId: smithy_client_1.expectString(output.DomainId),
|
|
1813
|
+
DomainId: (0, smithy_client_1.expectString)(output.DomainId),
|
|
1814
1814
|
EndedAt: output.EndedAt !== undefined && output.EndedAt !== null
|
|
1815
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndedAt)))
|
|
1815
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndedAt)))
|
|
1816
1816
|
: undefined,
|
|
1817
1817
|
FailureDetails: output.FailureDetails !== undefined && output.FailureDetails !== null
|
|
1818
1818
|
? deserializeAws_json1_0FailureDetails(output.FailureDetails, context)
|
|
1819
1819
|
: undefined,
|
|
1820
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
1821
|
-
JobName: smithy_client_1.expectString(output.JobName),
|
|
1820
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
1821
|
+
JobName: (0, smithy_client_1.expectString)(output.JobName),
|
|
1822
1822
|
JobProgress: output.JobProgress !== undefined && output.JobProgress !== null
|
|
1823
1823
|
? deserializeAws_json1_0JobProgress(output.JobProgress, context)
|
|
1824
1824
|
: undefined,
|
|
1825
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
1825
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
1826
1826
|
};
|
|
1827
1827
|
};
|
|
1828
1828
|
const deserializeAws_json1_0InputDataConfig = (output, context) => {
|
|
1829
1829
|
return {
|
|
1830
|
-
S3Uri: smithy_client_1.expectString(output.S3Uri),
|
|
1830
|
+
S3Uri: (0, smithy_client_1.expectString)(output.S3Uri),
|
|
1831
1831
|
};
|
|
1832
1832
|
};
|
|
1833
1833
|
const deserializeAws_json1_0InternalServerException = (output, context) => {
|
|
1834
1834
|
return {
|
|
1835
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1835
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1836
1836
|
};
|
|
1837
1837
|
};
|
|
1838
1838
|
const deserializeAws_json1_0JobProgress = (output, context) => {
|
|
1839
1839
|
return {
|
|
1840
|
-
PercentComplete: smithy_client_1.expectInt32(output.PercentComplete),
|
|
1840
|
+
PercentComplete: (0, smithy_client_1.expectInt32)(output.PercentComplete),
|
|
1841
1841
|
};
|
|
1842
1842
|
};
|
|
1843
1843
|
const deserializeAws_json1_0KnownFraudsterRisk = (output, context) => {
|
|
1844
1844
|
return {
|
|
1845
|
-
GeneratedFraudsterId: smithy_client_1.expectString(output.GeneratedFraudsterId),
|
|
1846
|
-
RiskScore: smithy_client_1.expectInt32(output.RiskScore),
|
|
1845
|
+
GeneratedFraudsterId: (0, smithy_client_1.expectString)(output.GeneratedFraudsterId),
|
|
1846
|
+
RiskScore: (0, smithy_client_1.expectInt32)(output.RiskScore),
|
|
1847
1847
|
};
|
|
1848
1848
|
};
|
|
1849
1849
|
const deserializeAws_json1_0ListDomainsResponse = (output, context) => {
|
|
@@ -1851,7 +1851,7 @@ const deserializeAws_json1_0ListDomainsResponse = (output, context) => {
|
|
|
1851
1851
|
DomainSummaries: output.DomainSummaries !== undefined && output.DomainSummaries !== null
|
|
1852
1852
|
? deserializeAws_json1_0DomainSummaries(output.DomainSummaries, context)
|
|
1853
1853
|
: undefined,
|
|
1854
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
1854
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1855
1855
|
};
|
|
1856
1856
|
};
|
|
1857
1857
|
const deserializeAws_json1_0ListFraudsterRegistrationJobsResponse = (output, context) => {
|
|
@@ -1859,7 +1859,7 @@ const deserializeAws_json1_0ListFraudsterRegistrationJobsResponse = (output, con
|
|
|
1859
1859
|
JobSummaries: output.JobSummaries !== undefined && output.JobSummaries !== null
|
|
1860
1860
|
? deserializeAws_json1_0FraudsterRegistrationJobSummaries(output.JobSummaries, context)
|
|
1861
1861
|
: undefined,
|
|
1862
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
1862
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1863
1863
|
};
|
|
1864
1864
|
};
|
|
1865
1865
|
const deserializeAws_json1_0ListSpeakerEnrollmentJobsResponse = (output, context) => {
|
|
@@ -1867,12 +1867,12 @@ const deserializeAws_json1_0ListSpeakerEnrollmentJobsResponse = (output, context
|
|
|
1867
1867
|
JobSummaries: output.JobSummaries !== undefined && output.JobSummaries !== null
|
|
1868
1868
|
? deserializeAws_json1_0SpeakerEnrollmentJobSummaries(output.JobSummaries, context)
|
|
1869
1869
|
: undefined,
|
|
1870
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
1870
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1871
1871
|
};
|
|
1872
1872
|
};
|
|
1873
1873
|
const deserializeAws_json1_0ListSpeakersResponse = (output, context) => {
|
|
1874
1874
|
return {
|
|
1875
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
1875
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1876
1876
|
SpeakerSummaries: output.SpeakerSummaries !== undefined && output.SpeakerSummaries !== null
|
|
1877
1877
|
? deserializeAws_json1_0SpeakerSummaries(output.SpeakerSummaries, context)
|
|
1878
1878
|
: undefined,
|
|
@@ -1894,55 +1894,55 @@ const deserializeAws_json1_0OptOutSpeakerResponse = (output, context) => {
|
|
|
1894
1894
|
};
|
|
1895
1895
|
const deserializeAws_json1_0OutputDataConfig = (output, context) => {
|
|
1896
1896
|
return {
|
|
1897
|
-
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
1898
|
-
S3Uri: smithy_client_1.expectString(output.S3Uri),
|
|
1897
|
+
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
1898
|
+
S3Uri: (0, smithy_client_1.expectString)(output.S3Uri),
|
|
1899
1899
|
};
|
|
1900
1900
|
};
|
|
1901
1901
|
const deserializeAws_json1_0RegistrationConfig = (output, context) => {
|
|
1902
1902
|
return {
|
|
1903
|
-
DuplicateRegistrationAction: smithy_client_1.expectString(output.DuplicateRegistrationAction),
|
|
1904
|
-
FraudsterSimilarityThreshold: smithy_client_1.expectInt32(output.FraudsterSimilarityThreshold),
|
|
1903
|
+
DuplicateRegistrationAction: (0, smithy_client_1.expectString)(output.DuplicateRegistrationAction),
|
|
1904
|
+
FraudsterSimilarityThreshold: (0, smithy_client_1.expectInt32)(output.FraudsterSimilarityThreshold),
|
|
1905
1905
|
};
|
|
1906
1906
|
};
|
|
1907
1907
|
const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
|
|
1908
1908
|
return {
|
|
1909
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1910
|
-
ResourceType: smithy_client_1.expectString(output.ResourceType),
|
|
1909
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1910
|
+
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
1911
1911
|
};
|
|
1912
1912
|
};
|
|
1913
1913
|
const deserializeAws_json1_0ServerSideEncryptionConfiguration = (output, context) => {
|
|
1914
1914
|
return {
|
|
1915
|
-
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
1915
|
+
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
1916
1916
|
};
|
|
1917
1917
|
};
|
|
1918
1918
|
const deserializeAws_json1_0ServiceQuotaExceededException = (output, context) => {
|
|
1919
1919
|
return {
|
|
1920
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1920
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1921
1921
|
};
|
|
1922
1922
|
};
|
|
1923
1923
|
const deserializeAws_json1_0Speaker = (output, context) => {
|
|
1924
1924
|
return {
|
|
1925
1925
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
1926
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
1926
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
1927
1927
|
: undefined,
|
|
1928
|
-
CustomerSpeakerId: smithy_client_1.expectString(output.CustomerSpeakerId),
|
|
1929
|
-
DomainId: smithy_client_1.expectString(output.DomainId),
|
|
1930
|
-
GeneratedSpeakerId: smithy_client_1.expectString(output.GeneratedSpeakerId),
|
|
1931
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
1928
|
+
CustomerSpeakerId: (0, smithy_client_1.expectString)(output.CustomerSpeakerId),
|
|
1929
|
+
DomainId: (0, smithy_client_1.expectString)(output.DomainId),
|
|
1930
|
+
GeneratedSpeakerId: (0, smithy_client_1.expectString)(output.GeneratedSpeakerId),
|
|
1931
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
1932
1932
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
1933
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
1933
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
1934
1934
|
: undefined,
|
|
1935
1935
|
};
|
|
1936
1936
|
};
|
|
1937
1937
|
const deserializeAws_json1_0SpeakerEnrollmentJob = (output, context) => {
|
|
1938
1938
|
return {
|
|
1939
1939
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
1940
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
1940
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
1941
1941
|
: undefined,
|
|
1942
|
-
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
1943
|
-
DomainId: smithy_client_1.expectString(output.DomainId),
|
|
1942
|
+
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
1943
|
+
DomainId: (0, smithy_client_1.expectString)(output.DomainId),
|
|
1944
1944
|
EndedAt: output.EndedAt !== undefined && output.EndedAt !== null
|
|
1945
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndedAt)))
|
|
1945
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndedAt)))
|
|
1946
1946
|
: undefined,
|
|
1947
1947
|
EnrollmentConfig: output.EnrollmentConfig !== undefined && output.EnrollmentConfig !== null
|
|
1948
1948
|
? deserializeAws_json1_0EnrollmentConfig(output.EnrollmentConfig, context)
|
|
@@ -1953,12 +1953,12 @@ const deserializeAws_json1_0SpeakerEnrollmentJob = (output, context) => {
|
|
|
1953
1953
|
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
1954
1954
|
? deserializeAws_json1_0InputDataConfig(output.InputDataConfig, context)
|
|
1955
1955
|
: undefined,
|
|
1956
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
1957
|
-
JobName: smithy_client_1.expectString(output.JobName),
|
|
1956
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
1957
|
+
JobName: (0, smithy_client_1.expectString)(output.JobName),
|
|
1958
1958
|
JobProgress: output.JobProgress !== undefined && output.JobProgress !== null
|
|
1959
1959
|
? deserializeAws_json1_0JobProgress(output.JobProgress, context)
|
|
1960
1960
|
: undefined,
|
|
1961
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
1961
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
1962
1962
|
OutputDataConfig: output.OutputDataConfig !== undefined && output.OutputDataConfig !== null
|
|
1963
1963
|
? deserializeAws_json1_0OutputDataConfig(output.OutputDataConfig, context)
|
|
1964
1964
|
: undefined,
|
|
@@ -1978,21 +1978,21 @@ const deserializeAws_json1_0SpeakerEnrollmentJobSummaries = (output, context) =>
|
|
|
1978
1978
|
const deserializeAws_json1_0SpeakerEnrollmentJobSummary = (output, context) => {
|
|
1979
1979
|
return {
|
|
1980
1980
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
1981
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
1981
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
1982
1982
|
: undefined,
|
|
1983
|
-
DomainId: smithy_client_1.expectString(output.DomainId),
|
|
1983
|
+
DomainId: (0, smithy_client_1.expectString)(output.DomainId),
|
|
1984
1984
|
EndedAt: output.EndedAt !== undefined && output.EndedAt !== null
|
|
1985
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndedAt)))
|
|
1985
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndedAt)))
|
|
1986
1986
|
: undefined,
|
|
1987
1987
|
FailureDetails: output.FailureDetails !== undefined && output.FailureDetails !== null
|
|
1988
1988
|
? deserializeAws_json1_0FailureDetails(output.FailureDetails, context)
|
|
1989
1989
|
: undefined,
|
|
1990
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
1991
|
-
JobName: smithy_client_1.expectString(output.JobName),
|
|
1990
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
1991
|
+
JobName: (0, smithy_client_1.expectString)(output.JobName),
|
|
1992
1992
|
JobProgress: output.JobProgress !== undefined && output.JobProgress !== null
|
|
1993
1993
|
? deserializeAws_json1_0JobProgress(output.JobProgress, context)
|
|
1994
1994
|
: undefined,
|
|
1995
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
1995
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
1996
1996
|
};
|
|
1997
1997
|
};
|
|
1998
1998
|
const deserializeAws_json1_0SpeakerSummaries = (output, context) => {
|
|
@@ -2009,14 +2009,14 @@ const deserializeAws_json1_0SpeakerSummaries = (output, context) => {
|
|
|
2009
2009
|
const deserializeAws_json1_0SpeakerSummary = (output, context) => {
|
|
2010
2010
|
return {
|
|
2011
2011
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2012
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2012
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
2013
2013
|
: undefined,
|
|
2014
|
-
CustomerSpeakerId: smithy_client_1.expectString(output.CustomerSpeakerId),
|
|
2015
|
-
DomainId: smithy_client_1.expectString(output.DomainId),
|
|
2016
|
-
GeneratedSpeakerId: smithy_client_1.expectString(output.GeneratedSpeakerId),
|
|
2017
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
2014
|
+
CustomerSpeakerId: (0, smithy_client_1.expectString)(output.CustomerSpeakerId),
|
|
2015
|
+
DomainId: (0, smithy_client_1.expectString)(output.DomainId),
|
|
2016
|
+
GeneratedSpeakerId: (0, smithy_client_1.expectString)(output.GeneratedSpeakerId),
|
|
2017
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2018
2018
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
2019
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
2019
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
2020
2020
|
: undefined,
|
|
2021
2021
|
};
|
|
2022
2022
|
};
|
|
@@ -2036,8 +2036,8 @@ const deserializeAws_json1_0StartSpeakerEnrollmentJobResponse = (output, context
|
|
|
2036
2036
|
};
|
|
2037
2037
|
const deserializeAws_json1_0Tag = (output, context) => {
|
|
2038
2038
|
return {
|
|
2039
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
2040
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
2039
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2040
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2041
2041
|
};
|
|
2042
2042
|
};
|
|
2043
2043
|
const deserializeAws_json1_0TagList = (output, context) => {
|
|
@@ -2056,7 +2056,7 @@ const deserializeAws_json1_0TagResourceResponse = (output, context) => {
|
|
|
2056
2056
|
};
|
|
2057
2057
|
const deserializeAws_json1_0ThrottlingException = (output, context) => {
|
|
2058
2058
|
return {
|
|
2059
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2059
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2060
2060
|
};
|
|
2061
2061
|
};
|
|
2062
2062
|
const deserializeAws_json1_0UntagResourceResponse = (output, context) => {
|
|
@@ -2071,7 +2071,7 @@ const deserializeAws_json1_0UpdateDomainResponse = (output, context) => {
|
|
|
2071
2071
|
};
|
|
2072
2072
|
const deserializeAws_json1_0ValidationException = (output, context) => {
|
|
2073
2073
|
return {
|
|
2074
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2074
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2075
2075
|
};
|
|
2076
2076
|
};
|
|
2077
2077
|
const deserializeMetadata = (output) => {
|