@@ -844,11 +844,11 @@ export const EmotionName = {
844844export type EmotionName = ( typeof EmotionName ) [ keyof typeof EmotionName ] ;
845845
846846/**
847- * <p>The emotions that appear to be expressed on the face, and the confidence level in the
848- * determination. The API is only making a determination of the physical appearance of a person's
849- * face. It is not a determination of the person’s internal emotional state and should not be
850- * used in such a way. For example, a person pretending to have a sad face might not be sad
851- * emotionally .</p>
847+ * <p>The API returns a prediction of an emotion based on a person's facial expressions, along with
848+ * the confidence level for the predicted emotion. It is not a determination of the person’s internal emotional
849+ * state and should not be used in such a way. For example, a person pretending to have a sad face might not
850+ * be sad emotionally. The API is not intended to be used, and you may not use it, in a manner that violates
851+ * the EU Artificial Intelligence Act or any other applicable law .</p>
852852 * @public
853853 */
854854export interface Emotion {
@@ -1555,6 +1555,74 @@ export const CelebrityRecognitionSortBy = {
15551555 */
15561556export type CelebrityRecognitionSortBy = ( typeof CelebrityRecognitionSortBy ) [ keyof typeof CelebrityRecognitionSortBy ] ;
15571557
1558+ /**
1559+ * @public
1560+ * @enum
1561+ */
1562+ export const ChallengeType = {
1563+ FACE_MOVEMENT_AND_LIGHT_CHALLENGE : "FaceMovementAndLightChallenge" ,
1564+ FACE_MOVEMENT_CHALLENGE : "FaceMovementChallenge" ,
1565+ } as const ;
1566+
1567+ /**
1568+ * @public
1569+ */
1570+ export type ChallengeType = ( typeof ChallengeType ) [ keyof typeof ChallengeType ] ;
1571+
1572+ /**
1573+ * <p>Describes the type and version of the challenge being used for the Face Liveness session.</p>
1574+ * @public
1575+ */
1576+ export interface Challenge {
1577+ /**
1578+ * <p>The type of the challenge being used for the Face Liveness session.</p>
1579+ * @public
1580+ */
1581+ Type : ChallengeType | undefined ;
1582+
1583+ /**
1584+ * <p>The version of the challenge being used for the Face Liveness session.</p>
1585+ * @public
1586+ */
1587+ Version : string | undefined ;
1588+ }
1589+
1590+ /**
1591+ * <p>Object specifying the acceptable range of challenge versions.</p>
1592+ * @public
1593+ */
1594+ export interface Versions {
1595+ /**
1596+ * <p>The desired minimum version for the challenge.</p>
1597+ * @public
1598+ */
1599+ Minimum ?: string | undefined ;
1600+
1601+ /**
1602+ * <p>The desired maximum version for the challenge.</p>
1603+ * @public
1604+ */
1605+ Maximum ?: string | undefined ;
1606+ }
1607+
1608+ /**
1609+ * <p>An ordered list of preferred challenge type and versions.</p>
1610+ * @public
1611+ */
1612+ export interface ChallengePreference {
1613+ /**
1614+ * <p>The types of challenges that have been selected for the Face Liveness session.</p>
1615+ * @public
1616+ */
1617+ Type : ChallengeType | undefined ;
1618+
1619+ /**
1620+ * <p>The version of the challenges that have been selected for the Face Liveness session.</p>
1621+ * @public
1622+ */
1623+ Versions ?: Versions | undefined ;
1624+ }
1625+
15581626/**
15591627 * <p>Type that describes the face Amazon Rekognition chose to compare with the faces in the target.
15601628 * This contains a bounding box for the selected face and confidence level that the bounding box
@@ -2436,6 +2504,12 @@ export interface CreateFaceLivenessSessionRequestSettings {
24362504 * @public
24372505 */
24382506 AuditImagesLimit ?: number | undefined ;
2507+
2508+ /**
2509+ * <p>Indicates preferred challenge types and versions for the Face Liveness session to be created.</p>
2510+ * @public
2511+ */
2512+ ChallengePreferences ?: ChallengePreference [ ] | undefined ;
24392513}
24402514
24412515/**
@@ -6191,6 +6265,12 @@ export interface GetFaceLivenessSessionResultsResponse {
61916265 * @public
61926266 */
61936267 AuditImages ?: AuditImage [ ] | undefined ;
6268+
6269+ /**
6270+ * <p>Contains information regarding the challenge type used for the Face Liveness check.</p>
6271+ * @public
6272+ */
6273+ Challenge ?: Challenge | undefined ;
61946274}
61956275
61966276/**
@@ -8162,97 +8242,6 @@ export interface ListTagsForResourceResponse {
81628242 Tags ?: Record < string , string > | undefined ;
81638243}
81648244
8165- /**
8166- * @public
8167- */
8168- export interface ListUsersRequest {
8169- /**
8170- * <p>The ID of an existing collection.</p>
8171- * @public
8172- */
8173- CollectionId : string | undefined ;
8174-
8175- /**
8176- * <p>Maximum number of UsersID to return. </p>
8177- * @public
8178- */
8179- MaxResults ?: number | undefined ;
8180-
8181- /**
8182- * <p>Pagingation token to receive the next set of UsersID.</p>
8183- * @public
8184- */
8185- NextToken ?: string | undefined ;
8186- }
8187-
8188- /**
8189- * <p>Metadata of the user stored in a collection.</p>
8190- * @public
8191- */
8192- export interface User {
8193- /**
8194- * <p> A provided ID for the User. Unique within the collection.</p>
8195- * @public
8196- */
8197- UserId ?: string | undefined ;
8198-
8199- /**
8200- * <p> Communicates if the UserID has been updated with latest set of faces to be associated
8201- * with the UserID. </p>
8202- * @public
8203- */
8204- UserStatus ?: UserStatus | undefined ;
8205- }
8206-
8207- /**
8208- * @public
8209- */
8210- export interface ListUsersResponse {
8211- /**
8212- * <p>List of UsersID associated with the specified collection.</p>
8213- * @public
8214- */
8215- Users ?: User [ ] | undefined ;
8216-
8217- /**
8218- * <p>A pagination token to be used with the subsequent request if the response is
8219- * truncated.</p>
8220- * @public
8221- */
8222- NextToken ?: string | undefined ;
8223- }
8224-
8225- /**
8226- * <p>The format of the project policy document that you supplied to
8227- * <code>PutProjectPolicy</code> is incorrect. </p>
8228- * @public
8229- */
8230- export class MalformedPolicyDocumentException extends __BaseException {
8231- readonly name : "MalformedPolicyDocumentException" = "MalformedPolicyDocumentException" ;
8232- readonly $fault : "client" = "client" ;
8233- Message ?: string | undefined ;
8234- Code ?: string | undefined ;
8235- /**
8236- * <p>A universally unique identifier (UUID) for the request.</p>
8237- * @public
8238- */
8239- Logref ?: string | undefined ;
8240- /**
8241- * @internal
8242- */
8243- constructor ( opts : __ExceptionOptionType < MalformedPolicyDocumentException , __BaseException > ) {
8244- super ( {
8245- name : "MalformedPolicyDocumentException" ,
8246- $fault : "client" ,
8247- ...opts ,
8248- } ) ;
8249- Object . setPrototypeOf ( this , MalformedPolicyDocumentException . prototype ) ;
8250- this . Message = opts . Message ;
8251- this . Code = opts . Code ;
8252- this . Logref = opts . Logref ;
8253- }
8254- }
8255-
82568245/**
82578246 * @internal
82588247 */
0 commit comments