@aws-sdk/client-rekognition 3.686.0 → 3.691.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/models/models_0.d.ts +706 -706
- package/dist-types/models/models_1.d.ts +107 -107
- package/dist-types/ts3.4/models/models_0.d.ts +715 -706
- package/dist-types/ts3.4/models/models_1.d.ts +109 -107
- package/package.json +7 -7
|
@@ -6,37 +6,37 @@ import { RekognitionServiceException as __BaseException } from "./RekognitionSer
|
|
|
6
6
|
export declare class AccessDeniedException extends __BaseException {
|
|
7
7
|
readonly name: "AccessDeniedException";
|
|
8
8
|
readonly $fault: "client";
|
|
9
|
-
Message?: string;
|
|
10
|
-
Code?: string;
|
|
11
|
-
Logref?: string;
|
|
9
|
+
Message?: string | undefined;
|
|
10
|
+
Code?: string | undefined;
|
|
11
|
+
Logref?: string | undefined;
|
|
12
12
|
constructor(
|
|
13
13
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
14
14
|
);
|
|
15
15
|
}
|
|
16
16
|
export interface AgeRange {
|
|
17
|
-
Low?: number;
|
|
18
|
-
High?: number;
|
|
17
|
+
Low?: number | undefined;
|
|
18
|
+
High?: number | undefined;
|
|
19
19
|
}
|
|
20
20
|
export interface S3Object {
|
|
21
|
-
Bucket?: string;
|
|
22
|
-
Name?: string;
|
|
23
|
-
Version?: string;
|
|
21
|
+
Bucket?: string | undefined;
|
|
22
|
+
Name?: string | undefined;
|
|
23
|
+
Version?: string | undefined;
|
|
24
24
|
}
|
|
25
25
|
export interface GroundTruthManifest {
|
|
26
|
-
S3Object?: S3Object;
|
|
26
|
+
S3Object?: S3Object | undefined;
|
|
27
27
|
}
|
|
28
28
|
export interface Asset {
|
|
29
|
-
GroundTruthManifest?: GroundTruthManifest;
|
|
29
|
+
GroundTruthManifest?: GroundTruthManifest | undefined;
|
|
30
30
|
}
|
|
31
31
|
export interface AssociatedFace {
|
|
32
|
-
FaceId?: string;
|
|
32
|
+
FaceId?: string | undefined;
|
|
33
33
|
}
|
|
34
34
|
export interface AssociateFacesRequest {
|
|
35
35
|
CollectionId: string | undefined;
|
|
36
36
|
UserId: string | undefined;
|
|
37
37
|
FaceIds: string[] | undefined;
|
|
38
|
-
UserMatchThreshold?: number;
|
|
39
|
-
ClientRequestToken?: string;
|
|
38
|
+
UserMatchThreshold?: number | undefined;
|
|
39
|
+
ClientRequestToken?: string | undefined;
|
|
40
40
|
}
|
|
41
41
|
export declare const UnsuccessfulFaceAssociationReason: {
|
|
42
42
|
readonly ASSOCIATED_TO_A_DIFFERENT_USER: "ASSOCIATED_TO_A_DIFFERENT_USER";
|
|
@@ -46,10 +46,10 @@ export declare const UnsuccessfulFaceAssociationReason: {
|
|
|
46
46
|
export type UnsuccessfulFaceAssociationReason =
|
|
47
47
|
(typeof UnsuccessfulFaceAssociationReason)[keyof typeof UnsuccessfulFaceAssociationReason];
|
|
48
48
|
export interface UnsuccessfulFaceAssociation {
|
|
49
|
-
FaceId?: string;
|
|
50
|
-
UserId?: string;
|
|
51
|
-
Confidence?: number;
|
|
52
|
-
Reasons?: UnsuccessfulFaceAssociationReason[];
|
|
49
|
+
FaceId?: string | undefined;
|
|
50
|
+
UserId?: string | undefined;
|
|
51
|
+
Confidence?: number | undefined;
|
|
52
|
+
Reasons?: UnsuccessfulFaceAssociationReason[] | undefined;
|
|
53
53
|
}
|
|
54
54
|
export declare const UserStatus: {
|
|
55
55
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -59,24 +59,24 @@ export declare const UserStatus: {
|
|
|
59
59
|
};
|
|
60
60
|
export type UserStatus = (typeof UserStatus)[keyof typeof UserStatus];
|
|
61
61
|
export interface AssociateFacesResponse {
|
|
62
|
-
AssociatedFaces?: AssociatedFace[];
|
|
63
|
-
UnsuccessfulFaceAssociations?: UnsuccessfulFaceAssociation[];
|
|
64
|
-
UserStatus?: UserStatus;
|
|
62
|
+
AssociatedFaces?: AssociatedFace[] | undefined;
|
|
63
|
+
UnsuccessfulFaceAssociations?: UnsuccessfulFaceAssociation[] | undefined;
|
|
64
|
+
UserStatus?: UserStatus | undefined;
|
|
65
65
|
}
|
|
66
66
|
export declare class ConflictException extends __BaseException {
|
|
67
67
|
readonly name: "ConflictException";
|
|
68
68
|
readonly $fault: "client";
|
|
69
|
-
Message?: string;
|
|
70
|
-
Code?: string;
|
|
71
|
-
Logref?: string;
|
|
69
|
+
Message?: string | undefined;
|
|
70
|
+
Code?: string | undefined;
|
|
71
|
+
Logref?: string | undefined;
|
|
72
72
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
73
73
|
}
|
|
74
74
|
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
75
75
|
readonly name: "IdempotentParameterMismatchException";
|
|
76
76
|
readonly $fault: "client";
|
|
77
|
-
Message?: string;
|
|
78
|
-
Code?: string;
|
|
79
|
-
Logref?: string;
|
|
77
|
+
Message?: string | undefined;
|
|
78
|
+
Code?: string | undefined;
|
|
79
|
+
Logref?: string | undefined;
|
|
80
80
|
constructor(
|
|
81
81
|
opts: __ExceptionOptionType<
|
|
82
82
|
IdempotentParameterMismatchException,
|
|
@@ -87,9 +87,9 @@ export declare class IdempotentParameterMismatchException extends __BaseExceptio
|
|
|
87
87
|
export declare class InternalServerError extends __BaseException {
|
|
88
88
|
readonly name: "InternalServerError";
|
|
89
89
|
readonly $fault: "server";
|
|
90
|
-
Message?: string;
|
|
91
|
-
Code?: string;
|
|
92
|
-
Logref?: string;
|
|
90
|
+
Message?: string | undefined;
|
|
91
|
+
Code?: string | undefined;
|
|
92
|
+
Logref?: string | undefined;
|
|
93
93
|
constructor(
|
|
94
94
|
opts: __ExceptionOptionType<InternalServerError, __BaseException>
|
|
95
95
|
);
|
|
@@ -97,9 +97,9 @@ export declare class InternalServerError extends __BaseException {
|
|
|
97
97
|
export declare class InvalidParameterException extends __BaseException {
|
|
98
98
|
readonly name: "InvalidParameterException";
|
|
99
99
|
readonly $fault: "client";
|
|
100
|
-
Message?: string;
|
|
101
|
-
Code?: string;
|
|
102
|
-
Logref?: string;
|
|
100
|
+
Message?: string | undefined;
|
|
101
|
+
Code?: string | undefined;
|
|
102
|
+
Logref?: string | undefined;
|
|
103
103
|
constructor(
|
|
104
104
|
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
105
105
|
);
|
|
@@ -107,9 +107,9 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
107
107
|
export declare class ProvisionedThroughputExceededException extends __BaseException {
|
|
108
108
|
readonly name: "ProvisionedThroughputExceededException";
|
|
109
109
|
readonly $fault: "client";
|
|
110
|
-
Message?: string;
|
|
111
|
-
Code?: string;
|
|
112
|
-
Logref?: string;
|
|
110
|
+
Message?: string | undefined;
|
|
111
|
+
Code?: string | undefined;
|
|
112
|
+
Logref?: string | undefined;
|
|
113
113
|
constructor(
|
|
114
114
|
opts: __ExceptionOptionType<
|
|
115
115
|
ProvisionedThroughputExceededException,
|
|
@@ -120,9 +120,9 @@ export declare class ProvisionedThroughputExceededException extends __BaseExcept
|
|
|
120
120
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
121
121
|
readonly name: "ResourceNotFoundException";
|
|
122
122
|
readonly $fault: "client";
|
|
123
|
-
Message?: string;
|
|
124
|
-
Code?: string;
|
|
125
|
-
Logref?: string;
|
|
123
|
+
Message?: string | undefined;
|
|
124
|
+
Code?: string | undefined;
|
|
125
|
+
Logref?: string | undefined;
|
|
126
126
|
constructor(
|
|
127
127
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
128
128
|
);
|
|
@@ -130,9 +130,9 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
130
130
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
131
131
|
readonly name: "ServiceQuotaExceededException";
|
|
132
132
|
readonly $fault: "client";
|
|
133
|
-
Message?: string;
|
|
134
|
-
Code?: string;
|
|
135
|
-
Logref?: string;
|
|
133
|
+
Message?: string | undefined;
|
|
134
|
+
Code?: string | undefined;
|
|
135
|
+
Logref?: string | undefined;
|
|
136
136
|
constructor(
|
|
137
137
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
138
138
|
);
|
|
@@ -140,9 +140,9 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
140
140
|
export declare class ThrottlingException extends __BaseException {
|
|
141
141
|
readonly name: "ThrottlingException";
|
|
142
142
|
readonly $fault: "server";
|
|
143
|
-
Message?: string;
|
|
144
|
-
Code?: string;
|
|
145
|
-
Logref?: string;
|
|
143
|
+
Message?: string | undefined;
|
|
144
|
+
Code?: string | undefined;
|
|
145
|
+
Logref?: string | undefined;
|
|
146
146
|
constructor(
|
|
147
147
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
148
148
|
);
|
|
@@ -165,29 +165,29 @@ export declare const Attribute: {
|
|
|
165
165
|
};
|
|
166
166
|
export type Attribute = (typeof Attribute)[keyof typeof Attribute];
|
|
167
167
|
export interface AudioMetadata {
|
|
168
|
-
Codec?: string;
|
|
169
|
-
DurationMillis?: number;
|
|
170
|
-
SampleRate?: number;
|
|
171
|
-
NumberOfChannels?: number;
|
|
168
|
+
Codec?: string | undefined;
|
|
169
|
+
DurationMillis?: number | undefined;
|
|
170
|
+
SampleRate?: number | undefined;
|
|
171
|
+
NumberOfChannels?: number | undefined;
|
|
172
172
|
}
|
|
173
173
|
export interface BoundingBox {
|
|
174
|
-
Width?: number;
|
|
175
|
-
Height?: number;
|
|
176
|
-
Left?: number;
|
|
177
|
-
Top?: number;
|
|
174
|
+
Width?: number | undefined;
|
|
175
|
+
Height?: number | undefined;
|
|
176
|
+
Left?: number | undefined;
|
|
177
|
+
Top?: number | undefined;
|
|
178
178
|
}
|
|
179
179
|
export interface AuditImage {
|
|
180
|
-
Bytes?: Uint8Array;
|
|
181
|
-
S3Object?: S3Object;
|
|
182
|
-
BoundingBox?: BoundingBox;
|
|
180
|
+
Bytes?: Uint8Array | undefined;
|
|
181
|
+
S3Object?: S3Object | undefined;
|
|
182
|
+
BoundingBox?: BoundingBox | undefined;
|
|
183
183
|
}
|
|
184
184
|
export interface Beard {
|
|
185
|
-
Value?: boolean;
|
|
186
|
-
Confidence?: number;
|
|
185
|
+
Value?: boolean | undefined;
|
|
186
|
+
Confidence?: number | undefined;
|
|
187
187
|
}
|
|
188
188
|
export interface BlackFrame {
|
|
189
|
-
MaxPixelThreshold?: number;
|
|
190
|
-
MinCoveragePercentage?: number;
|
|
189
|
+
MaxPixelThreshold?: number | undefined;
|
|
190
|
+
MinCoveragePercentage?: number | undefined;
|
|
191
191
|
}
|
|
192
192
|
export declare const BodyPart: {
|
|
193
193
|
readonly FACE: "FACE";
|
|
@@ -197,8 +197,8 @@ export declare const BodyPart: {
|
|
|
197
197
|
};
|
|
198
198
|
export type BodyPart = (typeof BodyPart)[keyof typeof BodyPart];
|
|
199
199
|
export interface CoversBodyPart {
|
|
200
|
-
Confidence?: number;
|
|
201
|
-
Value?: boolean;
|
|
200
|
+
Confidence?: number | undefined;
|
|
201
|
+
Value?: boolean | undefined;
|
|
202
202
|
}
|
|
203
203
|
export declare const ProtectiveEquipmentType: {
|
|
204
204
|
readonly FACE_COVER: "FACE_COVER";
|
|
@@ -208,15 +208,15 @@ export declare const ProtectiveEquipmentType: {
|
|
|
208
208
|
export type ProtectiveEquipmentType =
|
|
209
209
|
(typeof ProtectiveEquipmentType)[keyof typeof ProtectiveEquipmentType];
|
|
210
210
|
export interface EquipmentDetection {
|
|
211
|
-
BoundingBox?: BoundingBox;
|
|
212
|
-
Confidence?: number;
|
|
213
|
-
Type?: ProtectiveEquipmentType;
|
|
214
|
-
CoversBodyPart?: CoversBodyPart;
|
|
211
|
+
BoundingBox?: BoundingBox | undefined;
|
|
212
|
+
Confidence?: number | undefined;
|
|
213
|
+
Type?: ProtectiveEquipmentType | undefined;
|
|
214
|
+
CoversBodyPart?: CoversBodyPart | undefined;
|
|
215
215
|
}
|
|
216
216
|
export interface ProtectiveEquipmentBodyPart {
|
|
217
|
-
Name?: BodyPart;
|
|
218
|
-
Confidence?: number;
|
|
219
|
-
EquipmentDetections?: EquipmentDetection[];
|
|
217
|
+
Name?: BodyPart | undefined;
|
|
218
|
+
Confidence?: number | undefined;
|
|
219
|
+
EquipmentDetections?: EquipmentDetection[] | undefined;
|
|
220
220
|
}
|
|
221
221
|
export declare const EmotionName: {
|
|
222
222
|
readonly ANGRY: "ANGRY";
|
|
@@ -231,8 +231,8 @@ export declare const EmotionName: {
|
|
|
231
231
|
};
|
|
232
232
|
export type EmotionName = (typeof EmotionName)[keyof typeof EmotionName];
|
|
233
233
|
export interface Emotion {
|
|
234
|
-
Type?: EmotionName;
|
|
235
|
-
Confidence?: number;
|
|
234
|
+
Type?: EmotionName | undefined;
|
|
235
|
+
Confidence?: number | undefined;
|
|
236
236
|
}
|
|
237
237
|
export declare const LandmarkType: {
|
|
238
238
|
readonly chinBottom: "chinBottom";
|
|
@@ -268,31 +268,31 @@ export declare const LandmarkType: {
|
|
|
268
268
|
};
|
|
269
269
|
export type LandmarkType = (typeof LandmarkType)[keyof typeof LandmarkType];
|
|
270
270
|
export interface Landmark {
|
|
271
|
-
Type?: LandmarkType;
|
|
272
|
-
X?: number;
|
|
273
|
-
Y?: number;
|
|
271
|
+
Type?: LandmarkType | undefined;
|
|
272
|
+
X?: number | undefined;
|
|
273
|
+
Y?: number | undefined;
|
|
274
274
|
}
|
|
275
275
|
export interface Pose {
|
|
276
|
-
Roll?: number;
|
|
277
|
-
Yaw?: number;
|
|
278
|
-
Pitch?: number;
|
|
276
|
+
Roll?: number | undefined;
|
|
277
|
+
Yaw?: number | undefined;
|
|
278
|
+
Pitch?: number | undefined;
|
|
279
279
|
}
|
|
280
280
|
export interface ImageQuality {
|
|
281
|
-
Brightness?: number;
|
|
282
|
-
Sharpness?: number;
|
|
281
|
+
Brightness?: number | undefined;
|
|
282
|
+
Sharpness?: number | undefined;
|
|
283
283
|
}
|
|
284
284
|
export interface Smile {
|
|
285
|
-
Value?: boolean;
|
|
286
|
-
Confidence?: number;
|
|
285
|
+
Value?: boolean | undefined;
|
|
286
|
+
Confidence?: number | undefined;
|
|
287
287
|
}
|
|
288
288
|
export interface ComparedFace {
|
|
289
|
-
BoundingBox?: BoundingBox;
|
|
290
|
-
Confidence?: number;
|
|
291
|
-
Landmarks?: Landmark[];
|
|
292
|
-
Pose?: Pose;
|
|
293
|
-
Quality?: ImageQuality;
|
|
294
|
-
Emotions?: Emotion[];
|
|
295
|
-
Smile?: Smile;
|
|
289
|
+
BoundingBox?: BoundingBox | undefined;
|
|
290
|
+
Confidence?: number | undefined;
|
|
291
|
+
Landmarks?: Landmark[] | undefined;
|
|
292
|
+
Pose?: Pose | undefined;
|
|
293
|
+
Quality?: ImageQuality | undefined;
|
|
294
|
+
Emotions?: Emotion[] | undefined;
|
|
295
|
+
Smile?: Smile | undefined;
|
|
296
296
|
}
|
|
297
297
|
export declare const KnownGenderType: {
|
|
298
298
|
readonly Female: "Female";
|
|
@@ -303,32 +303,32 @@ export declare const KnownGenderType: {
|
|
|
303
303
|
export type KnownGenderType =
|
|
304
304
|
(typeof KnownGenderType)[keyof typeof KnownGenderType];
|
|
305
305
|
export interface KnownGender {
|
|
306
|
-
Type?: KnownGenderType;
|
|
306
|
+
Type?: KnownGenderType | undefined;
|
|
307
307
|
}
|
|
308
308
|
export interface Celebrity {
|
|
309
|
-
Urls?: string[];
|
|
310
|
-
Name?: string;
|
|
311
|
-
Id?: string;
|
|
312
|
-
Face?: ComparedFace;
|
|
313
|
-
MatchConfidence?: number;
|
|
314
|
-
KnownGender?: KnownGender;
|
|
309
|
+
Urls?: string[] | undefined;
|
|
310
|
+
Name?: string | undefined;
|
|
311
|
+
Id?: string | undefined;
|
|
312
|
+
Face?: ComparedFace | undefined;
|
|
313
|
+
MatchConfidence?: number | undefined;
|
|
314
|
+
KnownGender?: KnownGender | undefined;
|
|
315
315
|
}
|
|
316
316
|
export interface EyeDirection {
|
|
317
|
-
Yaw?: number;
|
|
318
|
-
Pitch?: number;
|
|
319
|
-
Confidence?: number;
|
|
317
|
+
Yaw?: number | undefined;
|
|
318
|
+
Pitch?: number | undefined;
|
|
319
|
+
Confidence?: number | undefined;
|
|
320
320
|
}
|
|
321
321
|
export interface Eyeglasses {
|
|
322
|
-
Value?: boolean;
|
|
323
|
-
Confidence?: number;
|
|
322
|
+
Value?: boolean | undefined;
|
|
323
|
+
Confidence?: number | undefined;
|
|
324
324
|
}
|
|
325
325
|
export interface EyeOpen {
|
|
326
|
-
Value?: boolean;
|
|
327
|
-
Confidence?: number;
|
|
326
|
+
Value?: boolean | undefined;
|
|
327
|
+
Confidence?: number | undefined;
|
|
328
328
|
}
|
|
329
329
|
export interface FaceOccluded {
|
|
330
|
-
Value?: boolean;
|
|
331
|
-
Confidence?: number;
|
|
330
|
+
Value?: boolean | undefined;
|
|
331
|
+
Confidence?: number | undefined;
|
|
332
332
|
}
|
|
333
333
|
export declare const GenderType: {
|
|
334
334
|
readonly Female: "Female";
|
|
@@ -336,52 +336,52 @@ export declare const GenderType: {
|
|
|
336
336
|
};
|
|
337
337
|
export type GenderType = (typeof GenderType)[keyof typeof GenderType];
|
|
338
338
|
export interface Gender {
|
|
339
|
-
Value?: GenderType;
|
|
340
|
-
Confidence?: number;
|
|
339
|
+
Value?: GenderType | undefined;
|
|
340
|
+
Confidence?: number | undefined;
|
|
341
341
|
}
|
|
342
342
|
export interface MouthOpen {
|
|
343
|
-
Value?: boolean;
|
|
344
|
-
Confidence?: number;
|
|
343
|
+
Value?: boolean | undefined;
|
|
344
|
+
Confidence?: number | undefined;
|
|
345
345
|
}
|
|
346
346
|
export interface Mustache {
|
|
347
|
-
Value?: boolean;
|
|
348
|
-
Confidence?: number;
|
|
347
|
+
Value?: boolean | undefined;
|
|
348
|
+
Confidence?: number | undefined;
|
|
349
349
|
}
|
|
350
350
|
export interface Sunglasses {
|
|
351
|
-
Value?: boolean;
|
|
352
|
-
Confidence?: number;
|
|
351
|
+
Value?: boolean | undefined;
|
|
352
|
+
Confidence?: number | undefined;
|
|
353
353
|
}
|
|
354
354
|
export interface FaceDetail {
|
|
355
|
-
BoundingBox?: BoundingBox;
|
|
356
|
-
AgeRange?: AgeRange;
|
|
357
|
-
Smile?: Smile;
|
|
358
|
-
Eyeglasses?: Eyeglasses;
|
|
359
|
-
Sunglasses?: Sunglasses;
|
|
360
|
-
Gender?: Gender;
|
|
361
|
-
Beard?: Beard;
|
|
362
|
-
Mustache?: Mustache;
|
|
363
|
-
EyesOpen?: EyeOpen;
|
|
364
|
-
MouthOpen?: MouthOpen;
|
|
365
|
-
Emotions?: Emotion[];
|
|
366
|
-
Landmarks?: Landmark[];
|
|
367
|
-
Pose?: Pose;
|
|
368
|
-
Quality?: ImageQuality;
|
|
369
|
-
Confidence?: number;
|
|
370
|
-
FaceOccluded?: FaceOccluded;
|
|
371
|
-
EyeDirection?: EyeDirection;
|
|
355
|
+
BoundingBox?: BoundingBox | undefined;
|
|
356
|
+
AgeRange?: AgeRange | undefined;
|
|
357
|
+
Smile?: Smile | undefined;
|
|
358
|
+
Eyeglasses?: Eyeglasses | undefined;
|
|
359
|
+
Sunglasses?: Sunglasses | undefined;
|
|
360
|
+
Gender?: Gender | undefined;
|
|
361
|
+
Beard?: Beard | undefined;
|
|
362
|
+
Mustache?: Mustache | undefined;
|
|
363
|
+
EyesOpen?: EyeOpen | undefined;
|
|
364
|
+
MouthOpen?: MouthOpen | undefined;
|
|
365
|
+
Emotions?: Emotion[] | undefined;
|
|
366
|
+
Landmarks?: Landmark[] | undefined;
|
|
367
|
+
Pose?: Pose | undefined;
|
|
368
|
+
Quality?: ImageQuality | undefined;
|
|
369
|
+
Confidence?: number | undefined;
|
|
370
|
+
FaceOccluded?: FaceOccluded | undefined;
|
|
371
|
+
EyeDirection?: EyeDirection | undefined;
|
|
372
372
|
}
|
|
373
373
|
export interface CelebrityDetail {
|
|
374
|
-
Urls?: string[];
|
|
375
|
-
Name?: string;
|
|
376
|
-
Id?: string;
|
|
377
|
-
Confidence?: number;
|
|
378
|
-
BoundingBox?: BoundingBox;
|
|
379
|
-
Face?: FaceDetail;
|
|
380
|
-
KnownGender?: KnownGender;
|
|
374
|
+
Urls?: string[] | undefined;
|
|
375
|
+
Name?: string | undefined;
|
|
376
|
+
Id?: string | undefined;
|
|
377
|
+
Confidence?: number | undefined;
|
|
378
|
+
BoundingBox?: BoundingBox | undefined;
|
|
379
|
+
Face?: FaceDetail | undefined;
|
|
380
|
+
KnownGender?: KnownGender | undefined;
|
|
381
381
|
}
|
|
382
382
|
export interface CelebrityRecognition {
|
|
383
|
-
Timestamp?: number;
|
|
384
|
-
Celebrity?: CelebrityDetail;
|
|
383
|
+
Timestamp?: number | undefined;
|
|
384
|
+
Celebrity?: CelebrityDetail | undefined;
|
|
385
385
|
}
|
|
386
386
|
export declare const CelebrityRecognitionSortBy: {
|
|
387
387
|
readonly ID: "ID";
|
|
@@ -390,8 +390,8 @@ export declare const CelebrityRecognitionSortBy: {
|
|
|
390
390
|
export type CelebrityRecognitionSortBy =
|
|
391
391
|
(typeof CelebrityRecognitionSortBy)[keyof typeof CelebrityRecognitionSortBy];
|
|
392
392
|
export interface ComparedSourceImageFace {
|
|
393
|
-
BoundingBox?: BoundingBox;
|
|
394
|
-
Confidence?: number;
|
|
393
|
+
BoundingBox?: BoundingBox | undefined;
|
|
394
|
+
Confidence?: number | undefined;
|
|
395
395
|
}
|
|
396
396
|
export declare const QualityFilter: {
|
|
397
397
|
readonly AUTO: "AUTO";
|
|
@@ -402,18 +402,18 @@ export declare const QualityFilter: {
|
|
|
402
402
|
};
|
|
403
403
|
export type QualityFilter = (typeof QualityFilter)[keyof typeof QualityFilter];
|
|
404
404
|
export interface Image {
|
|
405
|
-
Bytes?: Uint8Array;
|
|
406
|
-
S3Object?: S3Object;
|
|
405
|
+
Bytes?: Uint8Array | undefined;
|
|
406
|
+
S3Object?: S3Object | undefined;
|
|
407
407
|
}
|
|
408
408
|
export interface CompareFacesRequest {
|
|
409
409
|
SourceImage: Image | undefined;
|
|
410
410
|
TargetImage: Image | undefined;
|
|
411
|
-
SimilarityThreshold?: number;
|
|
412
|
-
QualityFilter?: QualityFilter;
|
|
411
|
+
SimilarityThreshold?: number | undefined;
|
|
412
|
+
QualityFilter?: QualityFilter | undefined;
|
|
413
413
|
}
|
|
414
414
|
export interface CompareFacesMatch {
|
|
415
|
-
Similarity?: number;
|
|
416
|
-
Face?: ComparedFace;
|
|
415
|
+
Similarity?: number | undefined;
|
|
416
|
+
Face?: ComparedFace | undefined;
|
|
417
417
|
}
|
|
418
418
|
export declare const OrientationCorrection: {
|
|
419
419
|
readonly ROTATE_0: "ROTATE_0";
|
|
@@ -424,18 +424,18 @@ export declare const OrientationCorrection: {
|
|
|
424
424
|
export type OrientationCorrection =
|
|
425
425
|
(typeof OrientationCorrection)[keyof typeof OrientationCorrection];
|
|
426
426
|
export interface CompareFacesResponse {
|
|
427
|
-
SourceImageFace?: ComparedSourceImageFace;
|
|
428
|
-
FaceMatches?: CompareFacesMatch[];
|
|
429
|
-
UnmatchedFaces?: ComparedFace[];
|
|
430
|
-
SourceImageOrientationCorrection?: OrientationCorrection;
|
|
431
|
-
TargetImageOrientationCorrection?: OrientationCorrection;
|
|
427
|
+
SourceImageFace?: ComparedSourceImageFace | undefined;
|
|
428
|
+
FaceMatches?: CompareFacesMatch[] | undefined;
|
|
429
|
+
UnmatchedFaces?: ComparedFace[] | undefined;
|
|
430
|
+
SourceImageOrientationCorrection?: OrientationCorrection | undefined;
|
|
431
|
+
TargetImageOrientationCorrection?: OrientationCorrection | undefined;
|
|
432
432
|
}
|
|
433
433
|
export declare class ImageTooLargeException extends __BaseException {
|
|
434
434
|
readonly name: "ImageTooLargeException";
|
|
435
435
|
readonly $fault: "client";
|
|
436
|
-
Message?: string;
|
|
437
|
-
Code?: string;
|
|
438
|
-
Logref?: string;
|
|
436
|
+
Message?: string | undefined;
|
|
437
|
+
Code?: string | undefined;
|
|
438
|
+
Logref?: string | undefined;
|
|
439
439
|
constructor(
|
|
440
440
|
opts: __ExceptionOptionType<ImageTooLargeException, __BaseException>
|
|
441
441
|
);
|
|
@@ -443,9 +443,9 @@ export declare class ImageTooLargeException extends __BaseException {
|
|
|
443
443
|
export declare class InvalidImageFormatException extends __BaseException {
|
|
444
444
|
readonly name: "InvalidImageFormatException";
|
|
445
445
|
readonly $fault: "client";
|
|
446
|
-
Message?: string;
|
|
447
|
-
Code?: string;
|
|
448
|
-
Logref?: string;
|
|
446
|
+
Message?: string | undefined;
|
|
447
|
+
Code?: string | undefined;
|
|
448
|
+
Logref?: string | undefined;
|
|
449
449
|
constructor(
|
|
450
450
|
opts: __ExceptionOptionType<InvalidImageFormatException, __BaseException>
|
|
451
451
|
);
|
|
@@ -453,20 +453,20 @@ export declare class InvalidImageFormatException extends __BaseException {
|
|
|
453
453
|
export declare class InvalidS3ObjectException extends __BaseException {
|
|
454
454
|
readonly name: "InvalidS3ObjectException";
|
|
455
455
|
readonly $fault: "client";
|
|
456
|
-
Message?: string;
|
|
457
|
-
Code?: string;
|
|
458
|
-
Logref?: string;
|
|
456
|
+
Message?: string | undefined;
|
|
457
|
+
Code?: string | undefined;
|
|
458
|
+
Logref?: string | undefined;
|
|
459
459
|
constructor(
|
|
460
460
|
opts: __ExceptionOptionType<InvalidS3ObjectException, __BaseException>
|
|
461
461
|
);
|
|
462
462
|
}
|
|
463
463
|
export interface ConnectedHomeSettings {
|
|
464
464
|
Labels: string[] | undefined;
|
|
465
|
-
MinConfidence?: number;
|
|
465
|
+
MinConfidence?: number | undefined;
|
|
466
466
|
}
|
|
467
467
|
export interface ConnectedHomeSettingsForUpdate {
|
|
468
|
-
Labels?: string[];
|
|
469
|
-
MinConfidence?: number;
|
|
468
|
+
Labels?: string[] | undefined;
|
|
469
|
+
MinConfidence?: number | undefined;
|
|
470
470
|
}
|
|
471
471
|
export declare const ContentClassifier: {
|
|
472
472
|
readonly FREE_OF_ADULT_CONTENT: "FreeOfAdultContent";
|
|
@@ -481,22 +481,22 @@ export declare const ContentModerationAggregateBy: {
|
|
|
481
481
|
export type ContentModerationAggregateBy =
|
|
482
482
|
(typeof ContentModerationAggregateBy)[keyof typeof ContentModerationAggregateBy];
|
|
483
483
|
export interface ContentType {
|
|
484
|
-
Confidence?: number;
|
|
485
|
-
Name?: string;
|
|
484
|
+
Confidence?: number | undefined;
|
|
485
|
+
Name?: string | undefined;
|
|
486
486
|
}
|
|
487
487
|
export interface ModerationLabel {
|
|
488
|
-
Confidence?: number;
|
|
489
|
-
Name?: string;
|
|
490
|
-
ParentName?: string;
|
|
491
|
-
TaxonomyLevel?: number;
|
|
488
|
+
Confidence?: number | undefined;
|
|
489
|
+
Name?: string | undefined;
|
|
490
|
+
ParentName?: string | undefined;
|
|
491
|
+
TaxonomyLevel?: number | undefined;
|
|
492
492
|
}
|
|
493
493
|
export interface ContentModerationDetection {
|
|
494
|
-
Timestamp?: number;
|
|
495
|
-
ModerationLabel?: ModerationLabel;
|
|
496
|
-
StartTimestampMillis?: number;
|
|
497
|
-
EndTimestampMillis?: number;
|
|
498
|
-
DurationMillis?: number;
|
|
499
|
-
ContentTypes?: ContentType[];
|
|
494
|
+
Timestamp?: number | undefined;
|
|
495
|
+
ModerationLabel?: ModerationLabel | undefined;
|
|
496
|
+
StartTimestampMillis?: number | undefined;
|
|
497
|
+
EndTimestampMillis?: number | undefined;
|
|
498
|
+
DurationMillis?: number | undefined;
|
|
499
|
+
ContentTypes?: ContentType[] | undefined;
|
|
500
500
|
}
|
|
501
501
|
export declare const ContentModerationSortBy: {
|
|
502
502
|
readonly NAME: "NAME";
|
|
@@ -505,8 +505,8 @@ export declare const ContentModerationSortBy: {
|
|
|
505
505
|
export type ContentModerationSortBy =
|
|
506
506
|
(typeof ContentModerationSortBy)[keyof typeof ContentModerationSortBy];
|
|
507
507
|
export interface OutputConfig {
|
|
508
|
-
S3Bucket?: string;
|
|
509
|
-
S3KeyPrefix?: string;
|
|
508
|
+
S3Bucket?: string | undefined;
|
|
509
|
+
S3KeyPrefix?: string | undefined;
|
|
510
510
|
}
|
|
511
511
|
export interface CopyProjectVersionRequest {
|
|
512
512
|
SourceProjectArn: string | undefined;
|
|
@@ -514,18 +514,18 @@ export interface CopyProjectVersionRequest {
|
|
|
514
514
|
DestinationProjectArn: string | undefined;
|
|
515
515
|
VersionName: string | undefined;
|
|
516
516
|
OutputConfig: OutputConfig | undefined;
|
|
517
|
-
Tags?: Record<string, string
|
|
518
|
-
KmsKeyId?: string;
|
|
517
|
+
Tags?: Record<string, string> | undefined;
|
|
518
|
+
KmsKeyId?: string | undefined;
|
|
519
519
|
}
|
|
520
520
|
export interface CopyProjectVersionResponse {
|
|
521
|
-
ProjectVersionArn?: string;
|
|
521
|
+
ProjectVersionArn?: string | undefined;
|
|
522
522
|
}
|
|
523
523
|
export declare class LimitExceededException extends __BaseException {
|
|
524
524
|
readonly name: "LimitExceededException";
|
|
525
525
|
readonly $fault: "client";
|
|
526
|
-
Message?: string;
|
|
527
|
-
Code?: string;
|
|
528
|
-
Logref?: string;
|
|
526
|
+
Message?: string | undefined;
|
|
527
|
+
Code?: string | undefined;
|
|
528
|
+
Logref?: string | undefined;
|
|
529
529
|
constructor(
|
|
530
530
|
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
531
531
|
);
|
|
@@ -533,35 +533,35 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
533
533
|
export declare class ResourceInUseException extends __BaseException {
|
|
534
534
|
readonly name: "ResourceInUseException";
|
|
535
535
|
readonly $fault: "client";
|
|
536
|
-
Message?: string;
|
|
537
|
-
Code?: string;
|
|
538
|
-
Logref?: string;
|
|
536
|
+
Message?: string | undefined;
|
|
537
|
+
Code?: string | undefined;
|
|
538
|
+
Logref?: string | undefined;
|
|
539
539
|
constructor(
|
|
540
540
|
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
541
541
|
);
|
|
542
542
|
}
|
|
543
543
|
export interface CreateCollectionRequest {
|
|
544
544
|
CollectionId: string | undefined;
|
|
545
|
-
Tags?: Record<string, string
|
|
545
|
+
Tags?: Record<string, string> | undefined;
|
|
546
546
|
}
|
|
547
547
|
export interface CreateCollectionResponse {
|
|
548
|
-
StatusCode?: number;
|
|
549
|
-
CollectionArn?: string;
|
|
550
|
-
FaceModelVersion?: string;
|
|
548
|
+
StatusCode?: number | undefined;
|
|
549
|
+
CollectionArn?: string | undefined;
|
|
550
|
+
FaceModelVersion?: string | undefined;
|
|
551
551
|
}
|
|
552
552
|
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
553
553
|
readonly name: "ResourceAlreadyExistsException";
|
|
554
554
|
readonly $fault: "client";
|
|
555
|
-
Message?: string;
|
|
556
|
-
Code?: string;
|
|
557
|
-
Logref?: string;
|
|
555
|
+
Message?: string | undefined;
|
|
556
|
+
Code?: string | undefined;
|
|
557
|
+
Logref?: string | undefined;
|
|
558
558
|
constructor(
|
|
559
559
|
opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
|
|
560
560
|
);
|
|
561
561
|
}
|
|
562
562
|
export interface DatasetSource {
|
|
563
|
-
GroundTruthManifest?: GroundTruthManifest;
|
|
564
|
-
DatasetArn?: string;
|
|
563
|
+
GroundTruthManifest?: GroundTruthManifest | undefined;
|
|
564
|
+
DatasetArn?: string | undefined;
|
|
565
565
|
}
|
|
566
566
|
export declare const DatasetType: {
|
|
567
567
|
readonly TEST: "TEST";
|
|
@@ -569,26 +569,26 @@ export declare const DatasetType: {
|
|
|
569
569
|
};
|
|
570
570
|
export type DatasetType = (typeof DatasetType)[keyof typeof DatasetType];
|
|
571
571
|
export interface CreateDatasetRequest {
|
|
572
|
-
DatasetSource?: DatasetSource;
|
|
572
|
+
DatasetSource?: DatasetSource | undefined;
|
|
573
573
|
DatasetType: DatasetType | undefined;
|
|
574
574
|
ProjectArn: string | undefined;
|
|
575
|
-
Tags?: Record<string, string
|
|
575
|
+
Tags?: Record<string, string> | undefined;
|
|
576
576
|
}
|
|
577
577
|
export interface CreateDatasetResponse {
|
|
578
|
-
DatasetArn?: string;
|
|
578
|
+
DatasetArn?: string | undefined;
|
|
579
579
|
}
|
|
580
580
|
export interface LivenessOutputConfig {
|
|
581
581
|
S3Bucket: string | undefined;
|
|
582
|
-
S3KeyPrefix?: string;
|
|
582
|
+
S3KeyPrefix?: string | undefined;
|
|
583
583
|
}
|
|
584
584
|
export interface CreateFaceLivenessSessionRequestSettings {
|
|
585
|
-
OutputConfig?: LivenessOutputConfig;
|
|
586
|
-
AuditImagesLimit?: number;
|
|
585
|
+
OutputConfig?: LivenessOutputConfig | undefined;
|
|
586
|
+
AuditImagesLimit?: number | undefined;
|
|
587
587
|
}
|
|
588
588
|
export interface CreateFaceLivenessSessionRequest {
|
|
589
|
-
KmsKeyId?: string;
|
|
590
|
-
Settings?: CreateFaceLivenessSessionRequestSettings;
|
|
591
|
-
ClientRequestToken?: string;
|
|
589
|
+
KmsKeyId?: string | undefined;
|
|
590
|
+
Settings?: CreateFaceLivenessSessionRequestSettings | undefined;
|
|
591
|
+
ClientRequestToken?: string | undefined;
|
|
592
592
|
}
|
|
593
593
|
export interface CreateFaceLivenessSessionResponse {
|
|
594
594
|
SessionId: string | undefined;
|
|
@@ -607,78 +607,78 @@ export type CustomizationFeature =
|
|
|
607
607
|
(typeof CustomizationFeature)[keyof typeof CustomizationFeature];
|
|
608
608
|
export interface CreateProjectRequest {
|
|
609
609
|
ProjectName: string | undefined;
|
|
610
|
-
Feature?: CustomizationFeature;
|
|
611
|
-
AutoUpdate?: ProjectAutoUpdate;
|
|
612
|
-
Tags?: Record<string, string
|
|
610
|
+
Feature?: CustomizationFeature | undefined;
|
|
611
|
+
AutoUpdate?: ProjectAutoUpdate | undefined;
|
|
612
|
+
Tags?: Record<string, string> | undefined;
|
|
613
613
|
}
|
|
614
614
|
export interface CreateProjectResponse {
|
|
615
|
-
ProjectArn?: string;
|
|
615
|
+
ProjectArn?: string | undefined;
|
|
616
616
|
}
|
|
617
617
|
export interface CustomizationFeatureContentModerationConfig {
|
|
618
|
-
ConfidenceThreshold?: number;
|
|
618
|
+
ConfidenceThreshold?: number | undefined;
|
|
619
619
|
}
|
|
620
620
|
export interface CustomizationFeatureConfig {
|
|
621
|
-
ContentModeration?: CustomizationFeatureContentModerationConfig;
|
|
621
|
+
ContentModeration?: CustomizationFeatureContentModerationConfig | undefined;
|
|
622
622
|
}
|
|
623
623
|
export interface TestingData {
|
|
624
|
-
Assets?: Asset[];
|
|
625
|
-
AutoCreate?: boolean;
|
|
624
|
+
Assets?: Asset[] | undefined;
|
|
625
|
+
AutoCreate?: boolean | undefined;
|
|
626
626
|
}
|
|
627
627
|
export interface TrainingData {
|
|
628
|
-
Assets?: Asset[];
|
|
628
|
+
Assets?: Asset[] | undefined;
|
|
629
629
|
}
|
|
630
630
|
export interface CreateProjectVersionRequest {
|
|
631
631
|
ProjectArn: string | undefined;
|
|
632
632
|
VersionName: string | undefined;
|
|
633
633
|
OutputConfig: OutputConfig | undefined;
|
|
634
|
-
TrainingData?: TrainingData;
|
|
635
|
-
TestingData?: TestingData;
|
|
636
|
-
Tags?: Record<string, string
|
|
637
|
-
KmsKeyId?: string;
|
|
638
|
-
VersionDescription?: string;
|
|
639
|
-
FeatureConfig?: CustomizationFeatureConfig;
|
|
634
|
+
TrainingData?: TrainingData | undefined;
|
|
635
|
+
TestingData?: TestingData | undefined;
|
|
636
|
+
Tags?: Record<string, string> | undefined;
|
|
637
|
+
KmsKeyId?: string | undefined;
|
|
638
|
+
VersionDescription?: string | undefined;
|
|
639
|
+
FeatureConfig?: CustomizationFeatureConfig | undefined;
|
|
640
640
|
}
|
|
641
641
|
export interface CreateProjectVersionResponse {
|
|
642
|
-
ProjectVersionArn?: string;
|
|
642
|
+
ProjectVersionArn?: string | undefined;
|
|
643
643
|
}
|
|
644
644
|
export interface StreamProcessorDataSharingPreference {
|
|
645
645
|
OptIn: boolean | undefined;
|
|
646
646
|
}
|
|
647
647
|
export interface KinesisVideoStream {
|
|
648
|
-
Arn?: string;
|
|
648
|
+
Arn?: string | undefined;
|
|
649
649
|
}
|
|
650
650
|
export interface StreamProcessorInput {
|
|
651
|
-
KinesisVideoStream?: KinesisVideoStream;
|
|
651
|
+
KinesisVideoStream?: KinesisVideoStream | undefined;
|
|
652
652
|
}
|
|
653
653
|
export interface StreamProcessorNotificationChannel {
|
|
654
654
|
SNSTopicArn: string | undefined;
|
|
655
655
|
}
|
|
656
656
|
export interface KinesisDataStream {
|
|
657
|
-
Arn?: string;
|
|
657
|
+
Arn?: string | undefined;
|
|
658
658
|
}
|
|
659
659
|
export interface S3Destination {
|
|
660
|
-
Bucket?: string;
|
|
661
|
-
KeyPrefix?: string;
|
|
660
|
+
Bucket?: string | undefined;
|
|
661
|
+
KeyPrefix?: string | undefined;
|
|
662
662
|
}
|
|
663
663
|
export interface StreamProcessorOutput {
|
|
664
|
-
KinesisDataStream?: KinesisDataStream;
|
|
665
|
-
S3Destination?: S3Destination;
|
|
664
|
+
KinesisDataStream?: KinesisDataStream | undefined;
|
|
665
|
+
S3Destination?: S3Destination | undefined;
|
|
666
666
|
}
|
|
667
667
|
export interface Point {
|
|
668
|
-
X?: number;
|
|
669
|
-
Y?: number;
|
|
668
|
+
X?: number | undefined;
|
|
669
|
+
Y?: number | undefined;
|
|
670
670
|
}
|
|
671
671
|
export interface RegionOfInterest {
|
|
672
|
-
BoundingBox?: BoundingBox;
|
|
673
|
-
Polygon?: Point[];
|
|
672
|
+
BoundingBox?: BoundingBox | undefined;
|
|
673
|
+
Polygon?: Point[] | undefined;
|
|
674
674
|
}
|
|
675
675
|
export interface FaceSearchSettings {
|
|
676
|
-
CollectionId?: string;
|
|
677
|
-
FaceMatchThreshold?: number;
|
|
676
|
+
CollectionId?: string | undefined;
|
|
677
|
+
FaceMatchThreshold?: number | undefined;
|
|
678
678
|
}
|
|
679
679
|
export interface StreamProcessorSettings {
|
|
680
|
-
FaceSearch?: FaceSearchSettings;
|
|
681
|
-
ConnectedHome?: ConnectedHomeSettings;
|
|
680
|
+
FaceSearch?: FaceSearchSettings | undefined;
|
|
681
|
+
ConnectedHome?: ConnectedHomeSettings | undefined;
|
|
682
682
|
}
|
|
683
683
|
export interface CreateStreamProcessorRequest {
|
|
684
684
|
Input: StreamProcessorInput | undefined;
|
|
@@ -686,38 +686,38 @@ export interface CreateStreamProcessorRequest {
|
|
|
686
686
|
Name: string | undefined;
|
|
687
687
|
Settings: StreamProcessorSettings | undefined;
|
|
688
688
|
RoleArn: string | undefined;
|
|
689
|
-
Tags?: Record<string, string
|
|
690
|
-
NotificationChannel?: StreamProcessorNotificationChannel;
|
|
691
|
-
KmsKeyId?: string;
|
|
692
|
-
RegionsOfInterest?: RegionOfInterest[];
|
|
693
|
-
DataSharingPreference?: StreamProcessorDataSharingPreference;
|
|
689
|
+
Tags?: Record<string, string> | undefined;
|
|
690
|
+
NotificationChannel?: StreamProcessorNotificationChannel | undefined;
|
|
691
|
+
KmsKeyId?: string | undefined;
|
|
692
|
+
RegionsOfInterest?: RegionOfInterest[] | undefined;
|
|
693
|
+
DataSharingPreference?: StreamProcessorDataSharingPreference | undefined;
|
|
694
694
|
}
|
|
695
695
|
export interface CreateStreamProcessorResponse {
|
|
696
|
-
StreamProcessorArn?: string;
|
|
696
|
+
StreamProcessorArn?: string | undefined;
|
|
697
697
|
}
|
|
698
698
|
export interface CreateUserRequest {
|
|
699
699
|
CollectionId: string | undefined;
|
|
700
700
|
UserId: string | undefined;
|
|
701
|
-
ClientRequestToken?: string;
|
|
701
|
+
ClientRequestToken?: string | undefined;
|
|
702
702
|
}
|
|
703
703
|
export interface CreateUserResponse {}
|
|
704
704
|
export interface Geometry {
|
|
705
|
-
BoundingBox?: BoundingBox;
|
|
706
|
-
Polygon?: Point[];
|
|
705
|
+
BoundingBox?: BoundingBox | undefined;
|
|
706
|
+
Polygon?: Point[] | undefined;
|
|
707
707
|
}
|
|
708
708
|
export interface CustomLabel {
|
|
709
|
-
Name?: string;
|
|
710
|
-
Confidence?: number;
|
|
711
|
-
Geometry?: Geometry;
|
|
709
|
+
Name?: string | undefined;
|
|
710
|
+
Confidence?: number | undefined;
|
|
711
|
+
Geometry?: Geometry | undefined;
|
|
712
712
|
}
|
|
713
713
|
export interface DatasetChanges {
|
|
714
714
|
GroundTruth: Uint8Array | undefined;
|
|
715
715
|
}
|
|
716
716
|
export interface DatasetStats {
|
|
717
|
-
LabeledEntries?: number;
|
|
718
|
-
TotalEntries?: number;
|
|
719
|
-
TotalLabels?: number;
|
|
720
|
-
ErrorEntries?: number;
|
|
717
|
+
LabeledEntries?: number | undefined;
|
|
718
|
+
TotalEntries?: number | undefined;
|
|
719
|
+
TotalLabels?: number | undefined;
|
|
720
|
+
ErrorEntries?: number | undefined;
|
|
721
721
|
}
|
|
722
722
|
export declare const DatasetStatus: {
|
|
723
723
|
readonly CREATE_COMPLETE: "CREATE_COMPLETE";
|
|
@@ -737,34 +737,34 @@ export declare const DatasetStatusMessageCode: {
|
|
|
737
737
|
export type DatasetStatusMessageCode =
|
|
738
738
|
(typeof DatasetStatusMessageCode)[keyof typeof DatasetStatusMessageCode];
|
|
739
739
|
export interface DatasetDescription {
|
|
740
|
-
CreationTimestamp?: Date;
|
|
741
|
-
LastUpdatedTimestamp?: Date;
|
|
742
|
-
Status?: DatasetStatus;
|
|
743
|
-
StatusMessage?: string;
|
|
744
|
-
StatusMessageCode?: DatasetStatusMessageCode;
|
|
745
|
-
DatasetStats?: DatasetStats;
|
|
740
|
+
CreationTimestamp?: Date | undefined;
|
|
741
|
+
LastUpdatedTimestamp?: Date | undefined;
|
|
742
|
+
Status?: DatasetStatus | undefined;
|
|
743
|
+
StatusMessage?: string | undefined;
|
|
744
|
+
StatusMessageCode?: DatasetStatusMessageCode | undefined;
|
|
745
|
+
DatasetStats?: DatasetStats | undefined;
|
|
746
746
|
}
|
|
747
747
|
export interface DatasetLabelStats {
|
|
748
|
-
EntryCount?: number;
|
|
749
|
-
BoundingBoxCount?: number;
|
|
748
|
+
EntryCount?: number | undefined;
|
|
749
|
+
BoundingBoxCount?: number | undefined;
|
|
750
750
|
}
|
|
751
751
|
export interface DatasetLabelDescription {
|
|
752
|
-
LabelName?: string;
|
|
753
|
-
LabelStats?: DatasetLabelStats;
|
|
752
|
+
LabelName?: string | undefined;
|
|
753
|
+
LabelStats?: DatasetLabelStats | undefined;
|
|
754
754
|
}
|
|
755
755
|
export interface DatasetMetadata {
|
|
756
|
-
CreationTimestamp?: Date;
|
|
757
|
-
DatasetType?: DatasetType;
|
|
758
|
-
DatasetArn?: string;
|
|
759
|
-
Status?: DatasetStatus;
|
|
760
|
-
StatusMessage?: string;
|
|
761
|
-
StatusMessageCode?: DatasetStatusMessageCode;
|
|
756
|
+
CreationTimestamp?: Date | undefined;
|
|
757
|
+
DatasetType?: DatasetType | undefined;
|
|
758
|
+
DatasetArn?: string | undefined;
|
|
759
|
+
Status?: DatasetStatus | undefined;
|
|
760
|
+
StatusMessage?: string | undefined;
|
|
761
|
+
StatusMessageCode?: DatasetStatusMessageCode | undefined;
|
|
762
762
|
}
|
|
763
763
|
export interface DeleteCollectionRequest {
|
|
764
764
|
CollectionId: string | undefined;
|
|
765
765
|
}
|
|
766
766
|
export interface DeleteCollectionResponse {
|
|
767
|
-
StatusCode?: number;
|
|
767
|
+
StatusCode?: number | undefined;
|
|
768
768
|
}
|
|
769
769
|
export interface DeleteDatasetRequest {
|
|
770
770
|
DatasetArn: string | undefined;
|
|
@@ -781,13 +781,13 @@ export declare const UnsuccessfulFaceDeletionReason: {
|
|
|
781
781
|
export type UnsuccessfulFaceDeletionReason =
|
|
782
782
|
(typeof UnsuccessfulFaceDeletionReason)[keyof typeof UnsuccessfulFaceDeletionReason];
|
|
783
783
|
export interface UnsuccessfulFaceDeletion {
|
|
784
|
-
FaceId?: string;
|
|
785
|
-
UserId?: string;
|
|
786
|
-
Reasons?: UnsuccessfulFaceDeletionReason[];
|
|
784
|
+
FaceId?: string | undefined;
|
|
785
|
+
UserId?: string | undefined;
|
|
786
|
+
Reasons?: UnsuccessfulFaceDeletionReason[] | undefined;
|
|
787
787
|
}
|
|
788
788
|
export interface DeleteFacesResponse {
|
|
789
|
-
DeletedFaces?: string[];
|
|
790
|
-
UnsuccessfulFaceDeletions?: UnsuccessfulFaceDeletion[];
|
|
789
|
+
DeletedFaces?: string[] | undefined;
|
|
790
|
+
UnsuccessfulFaceDeletions?: UnsuccessfulFaceDeletion[] | undefined;
|
|
791
791
|
}
|
|
792
792
|
export interface DeleteProjectRequest {
|
|
793
793
|
ProjectArn: string | undefined;
|
|
@@ -799,20 +799,20 @@ export declare const ProjectStatus: {
|
|
|
799
799
|
};
|
|
800
800
|
export type ProjectStatus = (typeof ProjectStatus)[keyof typeof ProjectStatus];
|
|
801
801
|
export interface DeleteProjectResponse {
|
|
802
|
-
Status?: ProjectStatus;
|
|
802
|
+
Status?: ProjectStatus | undefined;
|
|
803
803
|
}
|
|
804
804
|
export interface DeleteProjectPolicyRequest {
|
|
805
805
|
ProjectArn: string | undefined;
|
|
806
806
|
PolicyName: string | undefined;
|
|
807
|
-
PolicyRevisionId?: string;
|
|
807
|
+
PolicyRevisionId?: string | undefined;
|
|
808
808
|
}
|
|
809
809
|
export interface DeleteProjectPolicyResponse {}
|
|
810
810
|
export declare class InvalidPolicyRevisionIdException extends __BaseException {
|
|
811
811
|
readonly name: "InvalidPolicyRevisionIdException";
|
|
812
812
|
readonly $fault: "client";
|
|
813
|
-
Message?: string;
|
|
814
|
-
Code?: string;
|
|
815
|
-
Logref?: string;
|
|
813
|
+
Message?: string | undefined;
|
|
814
|
+
Code?: string | undefined;
|
|
815
|
+
Logref?: string | undefined;
|
|
816
816
|
constructor(
|
|
817
817
|
opts: __ExceptionOptionType<
|
|
818
818
|
InvalidPolicyRevisionIdException,
|
|
@@ -842,7 +842,7 @@ export declare const ProjectVersionStatus: {
|
|
|
842
842
|
export type ProjectVersionStatus =
|
|
843
843
|
(typeof ProjectVersionStatus)[keyof typeof ProjectVersionStatus];
|
|
844
844
|
export interface DeleteProjectVersionResponse {
|
|
845
|
-
Status?: ProjectVersionStatus;
|
|
845
|
+
Status?: ProjectVersionStatus | undefined;
|
|
846
846
|
}
|
|
847
847
|
export interface DeleteStreamProcessorRequest {
|
|
848
848
|
Name: string | undefined;
|
|
@@ -851,49 +851,49 @@ export interface DeleteStreamProcessorResponse {}
|
|
|
851
851
|
export interface DeleteUserRequest {
|
|
852
852
|
CollectionId: string | undefined;
|
|
853
853
|
UserId: string | undefined;
|
|
854
|
-
ClientRequestToken?: string;
|
|
854
|
+
ClientRequestToken?: string | undefined;
|
|
855
855
|
}
|
|
856
856
|
export interface DeleteUserResponse {}
|
|
857
857
|
export interface DescribeCollectionRequest {
|
|
858
858
|
CollectionId: string | undefined;
|
|
859
859
|
}
|
|
860
860
|
export interface DescribeCollectionResponse {
|
|
861
|
-
FaceCount?: number;
|
|
862
|
-
FaceModelVersion?: string;
|
|
863
|
-
CollectionARN?: string;
|
|
864
|
-
CreationTimestamp?: Date;
|
|
865
|
-
UserCount?: number;
|
|
861
|
+
FaceCount?: number | undefined;
|
|
862
|
+
FaceModelVersion?: string | undefined;
|
|
863
|
+
CollectionARN?: string | undefined;
|
|
864
|
+
CreationTimestamp?: Date | undefined;
|
|
865
|
+
UserCount?: number | undefined;
|
|
866
866
|
}
|
|
867
867
|
export interface DescribeDatasetRequest {
|
|
868
868
|
DatasetArn: string | undefined;
|
|
869
869
|
}
|
|
870
870
|
export interface DescribeDatasetResponse {
|
|
871
|
-
DatasetDescription?: DatasetDescription;
|
|
871
|
+
DatasetDescription?: DatasetDescription | undefined;
|
|
872
872
|
}
|
|
873
873
|
export interface DescribeProjectsRequest {
|
|
874
|
-
NextToken?: string;
|
|
875
|
-
MaxResults?: number;
|
|
876
|
-
ProjectNames?: string[];
|
|
877
|
-
Features?: CustomizationFeature[];
|
|
874
|
+
NextToken?: string | undefined;
|
|
875
|
+
MaxResults?: number | undefined;
|
|
876
|
+
ProjectNames?: string[] | undefined;
|
|
877
|
+
Features?: CustomizationFeature[] | undefined;
|
|
878
878
|
}
|
|
879
879
|
export interface ProjectDescription {
|
|
880
|
-
ProjectArn?: string;
|
|
881
|
-
CreationTimestamp?: Date;
|
|
882
|
-
Status?: ProjectStatus;
|
|
883
|
-
Datasets?: DatasetMetadata[];
|
|
884
|
-
Feature?: CustomizationFeature;
|
|
885
|
-
AutoUpdate?: ProjectAutoUpdate;
|
|
880
|
+
ProjectArn?: string | undefined;
|
|
881
|
+
CreationTimestamp?: Date | undefined;
|
|
882
|
+
Status?: ProjectStatus | undefined;
|
|
883
|
+
Datasets?: DatasetMetadata[] | undefined;
|
|
884
|
+
Feature?: CustomizationFeature | undefined;
|
|
885
|
+
AutoUpdate?: ProjectAutoUpdate | undefined;
|
|
886
886
|
}
|
|
887
887
|
export interface DescribeProjectsResponse {
|
|
888
|
-
ProjectDescriptions?: ProjectDescription[];
|
|
889
|
-
NextToken?: string;
|
|
888
|
+
ProjectDescriptions?: ProjectDescription[] | undefined;
|
|
889
|
+
NextToken?: string | undefined;
|
|
890
890
|
}
|
|
891
891
|
export declare class InvalidPaginationTokenException extends __BaseException {
|
|
892
892
|
readonly name: "InvalidPaginationTokenException";
|
|
893
893
|
readonly $fault: "client";
|
|
894
|
-
Message?: string;
|
|
895
|
-
Code?: string;
|
|
896
|
-
Logref?: string;
|
|
894
|
+
Message?: string | undefined;
|
|
895
|
+
Code?: string | undefined;
|
|
896
|
+
Logref?: string | undefined;
|
|
897
897
|
constructor(
|
|
898
898
|
opts: __ExceptionOptionType<
|
|
899
899
|
InvalidPaginationTokenException,
|
|
@@ -903,54 +903,54 @@ export declare class InvalidPaginationTokenException extends __BaseException {
|
|
|
903
903
|
}
|
|
904
904
|
export interface DescribeProjectVersionsRequest {
|
|
905
905
|
ProjectArn: string | undefined;
|
|
906
|
-
VersionNames?: string[];
|
|
907
|
-
NextToken?: string;
|
|
908
|
-
MaxResults?: number;
|
|
906
|
+
VersionNames?: string[] | undefined;
|
|
907
|
+
NextToken?: string | undefined;
|
|
908
|
+
MaxResults?: number | undefined;
|
|
909
909
|
}
|
|
910
910
|
export interface Summary {
|
|
911
|
-
S3Object?: S3Object;
|
|
911
|
+
S3Object?: S3Object | undefined;
|
|
912
912
|
}
|
|
913
913
|
export interface EvaluationResult {
|
|
914
|
-
F1Score?: number;
|
|
915
|
-
Summary?: Summary;
|
|
914
|
+
F1Score?: number | undefined;
|
|
915
|
+
Summary?: Summary | undefined;
|
|
916
916
|
}
|
|
917
917
|
export interface ValidationData {
|
|
918
|
-
Assets?: Asset[];
|
|
918
|
+
Assets?: Asset[] | undefined;
|
|
919
919
|
}
|
|
920
920
|
export interface TestingDataResult {
|
|
921
|
-
Input?: TestingData;
|
|
922
|
-
Output?: TestingData;
|
|
923
|
-
Validation?: ValidationData;
|
|
921
|
+
Input?: TestingData | undefined;
|
|
922
|
+
Output?: TestingData | undefined;
|
|
923
|
+
Validation?: ValidationData | undefined;
|
|
924
924
|
}
|
|
925
925
|
export interface TrainingDataResult {
|
|
926
|
-
Input?: TrainingData;
|
|
927
|
-
Output?: TrainingData;
|
|
928
|
-
Validation?: ValidationData;
|
|
926
|
+
Input?: TrainingData | undefined;
|
|
927
|
+
Output?: TrainingData | undefined;
|
|
928
|
+
Validation?: ValidationData | undefined;
|
|
929
929
|
}
|
|
930
930
|
export interface ProjectVersionDescription {
|
|
931
|
-
ProjectVersionArn?: string;
|
|
932
|
-
CreationTimestamp?: Date;
|
|
933
|
-
MinInferenceUnits?: number;
|
|
934
|
-
Status?: ProjectVersionStatus;
|
|
935
|
-
StatusMessage?: string;
|
|
936
|
-
BillableTrainingTimeInSeconds?: number;
|
|
937
|
-
TrainingEndTimestamp?: Date;
|
|
938
|
-
OutputConfig?: OutputConfig;
|
|
939
|
-
TrainingDataResult?: TrainingDataResult;
|
|
940
|
-
TestingDataResult?: TestingDataResult;
|
|
941
|
-
EvaluationResult?: EvaluationResult;
|
|
942
|
-
ManifestSummary?: GroundTruthManifest;
|
|
943
|
-
KmsKeyId?: string;
|
|
944
|
-
MaxInferenceUnits?: number;
|
|
945
|
-
SourceProjectVersionArn?: string;
|
|
946
|
-
VersionDescription?: string;
|
|
947
|
-
Feature?: CustomizationFeature;
|
|
948
|
-
BaseModelVersion?: string;
|
|
949
|
-
FeatureConfig?: CustomizationFeatureConfig;
|
|
931
|
+
ProjectVersionArn?: string | undefined;
|
|
932
|
+
CreationTimestamp?: Date | undefined;
|
|
933
|
+
MinInferenceUnits?: number | undefined;
|
|
934
|
+
Status?: ProjectVersionStatus | undefined;
|
|
935
|
+
StatusMessage?: string | undefined;
|
|
936
|
+
BillableTrainingTimeInSeconds?: number | undefined;
|
|
937
|
+
TrainingEndTimestamp?: Date | undefined;
|
|
938
|
+
OutputConfig?: OutputConfig | undefined;
|
|
939
|
+
TrainingDataResult?: TrainingDataResult | undefined;
|
|
940
|
+
TestingDataResult?: TestingDataResult | undefined;
|
|
941
|
+
EvaluationResult?: EvaluationResult | undefined;
|
|
942
|
+
ManifestSummary?: GroundTruthManifest | undefined;
|
|
943
|
+
KmsKeyId?: string | undefined;
|
|
944
|
+
MaxInferenceUnits?: number | undefined;
|
|
945
|
+
SourceProjectVersionArn?: string | undefined;
|
|
946
|
+
VersionDescription?: string | undefined;
|
|
947
|
+
Feature?: CustomizationFeature | undefined;
|
|
948
|
+
BaseModelVersion?: string | undefined;
|
|
949
|
+
FeatureConfig?: CustomizationFeatureConfig | undefined;
|
|
950
950
|
}
|
|
951
951
|
export interface DescribeProjectVersionsResponse {
|
|
952
|
-
ProjectVersionDescriptions?: ProjectVersionDescription[];
|
|
953
|
-
NextToken?: string;
|
|
952
|
+
ProjectVersionDescriptions?: ProjectVersionDescription[] | undefined;
|
|
953
|
+
NextToken?: string | undefined;
|
|
954
954
|
}
|
|
955
955
|
export interface DescribeStreamProcessorRequest {
|
|
956
956
|
Name: string | undefined;
|
|
@@ -966,52 +966,52 @@ export declare const StreamProcessorStatus: {
|
|
|
966
966
|
export type StreamProcessorStatus =
|
|
967
967
|
(typeof StreamProcessorStatus)[keyof typeof StreamProcessorStatus];
|
|
968
968
|
export interface DescribeStreamProcessorResponse {
|
|
969
|
-
Name?: string;
|
|
970
|
-
StreamProcessorArn?: string;
|
|
971
|
-
Status?: StreamProcessorStatus;
|
|
972
|
-
StatusMessage?: string;
|
|
973
|
-
CreationTimestamp?: Date;
|
|
974
|
-
LastUpdateTimestamp?: Date;
|
|
975
|
-
Input?: StreamProcessorInput;
|
|
976
|
-
Output?: StreamProcessorOutput;
|
|
977
|
-
RoleArn?: string;
|
|
978
|
-
Settings?: StreamProcessorSettings;
|
|
979
|
-
NotificationChannel?: StreamProcessorNotificationChannel;
|
|
980
|
-
KmsKeyId?: string;
|
|
981
|
-
RegionsOfInterest?: RegionOfInterest[];
|
|
982
|
-
DataSharingPreference?: StreamProcessorDataSharingPreference;
|
|
969
|
+
Name?: string | undefined;
|
|
970
|
+
StreamProcessorArn?: string | undefined;
|
|
971
|
+
Status?: StreamProcessorStatus | undefined;
|
|
972
|
+
StatusMessage?: string | undefined;
|
|
973
|
+
CreationTimestamp?: Date | undefined;
|
|
974
|
+
LastUpdateTimestamp?: Date | undefined;
|
|
975
|
+
Input?: StreamProcessorInput | undefined;
|
|
976
|
+
Output?: StreamProcessorOutput | undefined;
|
|
977
|
+
RoleArn?: string | undefined;
|
|
978
|
+
Settings?: StreamProcessorSettings | undefined;
|
|
979
|
+
NotificationChannel?: StreamProcessorNotificationChannel | undefined;
|
|
980
|
+
KmsKeyId?: string | undefined;
|
|
981
|
+
RegionsOfInterest?: RegionOfInterest[] | undefined;
|
|
982
|
+
DataSharingPreference?: StreamProcessorDataSharingPreference | undefined;
|
|
983
983
|
}
|
|
984
984
|
export interface DetectCustomLabelsRequest {
|
|
985
985
|
ProjectVersionArn: string | undefined;
|
|
986
986
|
Image: Image | undefined;
|
|
987
|
-
MaxResults?: number;
|
|
988
|
-
MinConfidence?: number;
|
|
987
|
+
MaxResults?: number | undefined;
|
|
988
|
+
MinConfidence?: number | undefined;
|
|
989
989
|
}
|
|
990
990
|
export interface DetectCustomLabelsResponse {
|
|
991
|
-
CustomLabels?: CustomLabel[];
|
|
991
|
+
CustomLabels?: CustomLabel[] | undefined;
|
|
992
992
|
}
|
|
993
993
|
export declare class ResourceNotReadyException extends __BaseException {
|
|
994
994
|
readonly name: "ResourceNotReadyException";
|
|
995
995
|
readonly $fault: "client";
|
|
996
|
-
Message?: string;
|
|
997
|
-
Code?: string;
|
|
998
|
-
Logref?: string;
|
|
996
|
+
Message?: string | undefined;
|
|
997
|
+
Code?: string | undefined;
|
|
998
|
+
Logref?: string | undefined;
|
|
999
999
|
constructor(
|
|
1000
1000
|
opts: __ExceptionOptionType<ResourceNotReadyException, __BaseException>
|
|
1001
1001
|
);
|
|
1002
1002
|
}
|
|
1003
1003
|
export interface DetectFacesRequest {
|
|
1004
1004
|
Image: Image | undefined;
|
|
1005
|
-
Attributes?: Attribute[];
|
|
1005
|
+
Attributes?: Attribute[] | undefined;
|
|
1006
1006
|
}
|
|
1007
1007
|
export interface DetectFacesResponse {
|
|
1008
|
-
FaceDetails?: FaceDetail[];
|
|
1009
|
-
OrientationCorrection?: OrientationCorrection;
|
|
1008
|
+
FaceDetails?: FaceDetail[] | undefined;
|
|
1009
|
+
OrientationCorrection?: OrientationCorrection | undefined;
|
|
1010
1010
|
}
|
|
1011
1011
|
export interface DetectionFilter {
|
|
1012
|
-
MinConfidence?: number;
|
|
1013
|
-
MinBoundingBoxHeight?: number;
|
|
1014
|
-
MinBoundingBoxWidth?: number;
|
|
1012
|
+
MinConfidence?: number | undefined;
|
|
1013
|
+
MinBoundingBoxHeight?: number | undefined;
|
|
1014
|
+
MinBoundingBoxWidth?: number | undefined;
|
|
1015
1015
|
}
|
|
1016
1016
|
export declare const DetectLabelsFeatureName: {
|
|
1017
1017
|
readonly GENERAL_LABELS: "GENERAL_LABELS";
|
|
@@ -1020,116 +1020,119 @@ export declare const DetectLabelsFeatureName: {
|
|
|
1020
1020
|
export type DetectLabelsFeatureName =
|
|
1021
1021
|
(typeof DetectLabelsFeatureName)[keyof typeof DetectLabelsFeatureName];
|
|
1022
1022
|
export interface GeneralLabelsSettings {
|
|
1023
|
-
LabelInclusionFilters?: string[];
|
|
1024
|
-
LabelExclusionFilters?: string[];
|
|
1025
|
-
LabelCategoryInclusionFilters?: string[];
|
|
1026
|
-
LabelCategoryExclusionFilters?: string[];
|
|
1023
|
+
LabelInclusionFilters?: string[] | undefined;
|
|
1024
|
+
LabelExclusionFilters?: string[] | undefined;
|
|
1025
|
+
LabelCategoryInclusionFilters?: string[] | undefined;
|
|
1026
|
+
LabelCategoryExclusionFilters?: string[] | undefined;
|
|
1027
1027
|
}
|
|
1028
1028
|
export interface DetectLabelsImagePropertiesSettings {
|
|
1029
|
-
MaxDominantColors?: number;
|
|
1029
|
+
MaxDominantColors?: number | undefined;
|
|
1030
1030
|
}
|
|
1031
1031
|
export interface DetectLabelsSettings {
|
|
1032
|
-
GeneralLabels?: GeneralLabelsSettings;
|
|
1033
|
-
ImageProperties?: DetectLabelsImagePropertiesSettings;
|
|
1032
|
+
GeneralLabels?: GeneralLabelsSettings | undefined;
|
|
1033
|
+
ImageProperties?: DetectLabelsImagePropertiesSettings | undefined;
|
|
1034
1034
|
}
|
|
1035
1035
|
export interface DetectLabelsRequest {
|
|
1036
1036
|
Image: Image | undefined;
|
|
1037
|
-
MaxLabels?: number;
|
|
1038
|
-
MinConfidence?: number;
|
|
1039
|
-
Features?: DetectLabelsFeatureName[];
|
|
1040
|
-
Settings?: DetectLabelsSettings;
|
|
1037
|
+
MaxLabels?: number | undefined;
|
|
1038
|
+
MinConfidence?: number | undefined;
|
|
1039
|
+
Features?: DetectLabelsFeatureName[] | undefined;
|
|
1040
|
+
Settings?: DetectLabelsSettings | undefined;
|
|
1041
1041
|
}
|
|
1042
1042
|
export interface DominantColor {
|
|
1043
|
-
Red?: number;
|
|
1044
|
-
Blue?: number;
|
|
1045
|
-
Green?: number;
|
|
1046
|
-
HexCode?: string;
|
|
1047
|
-
CSSColor?: string;
|
|
1048
|
-
SimplifiedColor?: string;
|
|
1049
|
-
PixelPercent?: number;
|
|
1043
|
+
Red?: number | undefined;
|
|
1044
|
+
Blue?: number | undefined;
|
|
1045
|
+
Green?: number | undefined;
|
|
1046
|
+
HexCode?: string | undefined;
|
|
1047
|
+
CSSColor?: string | undefined;
|
|
1048
|
+
SimplifiedColor?: string | undefined;
|
|
1049
|
+
PixelPercent?: number | undefined;
|
|
1050
1050
|
}
|
|
1051
1051
|
export interface DetectLabelsImageQuality {
|
|
1052
|
-
Brightness?: number;
|
|
1053
|
-
Sharpness?: number;
|
|
1054
|
-
Contrast?: number;
|
|
1052
|
+
Brightness?: number | undefined;
|
|
1053
|
+
Sharpness?: number | undefined;
|
|
1054
|
+
Contrast?: number | undefined;
|
|
1055
1055
|
}
|
|
1056
1056
|
export interface DetectLabelsImageBackground {
|
|
1057
|
-
Quality?: DetectLabelsImageQuality;
|
|
1058
|
-
DominantColors?: DominantColor[];
|
|
1057
|
+
Quality?: DetectLabelsImageQuality | undefined;
|
|
1058
|
+
DominantColors?: DominantColor[] | undefined;
|
|
1059
1059
|
}
|
|
1060
1060
|
export interface DetectLabelsImageForeground {
|
|
1061
|
-
Quality?: DetectLabelsImageQuality;
|
|
1062
|
-
DominantColors?: DominantColor[];
|
|
1061
|
+
Quality?: DetectLabelsImageQuality | undefined;
|
|
1062
|
+
DominantColors?: DominantColor[] | undefined;
|
|
1063
1063
|
}
|
|
1064
1064
|
export interface DetectLabelsImageProperties {
|
|
1065
|
-
Quality?: DetectLabelsImageQuality;
|
|
1066
|
-
DominantColors?: DominantColor[];
|
|
1067
|
-
Foreground?: DetectLabelsImageForeground;
|
|
1068
|
-
Background?: DetectLabelsImageBackground;
|
|
1065
|
+
Quality?: DetectLabelsImageQuality | undefined;
|
|
1066
|
+
DominantColors?: DominantColor[] | undefined;
|
|
1067
|
+
Foreground?: DetectLabelsImageForeground | undefined;
|
|
1068
|
+
Background?: DetectLabelsImageBackground | undefined;
|
|
1069
1069
|
}
|
|
1070
1070
|
export interface LabelAlias {
|
|
1071
|
-
Name?: string;
|
|
1071
|
+
Name?: string | undefined;
|
|
1072
1072
|
}
|
|
1073
1073
|
export interface LabelCategory {
|
|
1074
|
-
Name?: string;
|
|
1074
|
+
Name?: string | undefined;
|
|
1075
1075
|
}
|
|
1076
1076
|
export interface Instance {
|
|
1077
|
-
BoundingBox?: BoundingBox;
|
|
1078
|
-
Confidence?: number;
|
|
1079
|
-
DominantColors?: DominantColor[];
|
|
1077
|
+
BoundingBox?: BoundingBox | undefined;
|
|
1078
|
+
Confidence?: number | undefined;
|
|
1079
|
+
DominantColors?: DominantColor[] | undefined;
|
|
1080
1080
|
}
|
|
1081
1081
|
export interface Parent {
|
|
1082
|
-
Name?: string;
|
|
1082
|
+
Name?: string | undefined;
|
|
1083
1083
|
}
|
|
1084
1084
|
export interface Label {
|
|
1085
|
-
Name?: string;
|
|
1086
|
-
Confidence?: number;
|
|
1087
|
-
Instances?: Instance[];
|
|
1088
|
-
Parents?: Parent[];
|
|
1089
|
-
Aliases?: LabelAlias[];
|
|
1090
|
-
Categories?: LabelCategory[];
|
|
1085
|
+
Name?: string | undefined;
|
|
1086
|
+
Confidence?: number | undefined;
|
|
1087
|
+
Instances?: Instance[] | undefined;
|
|
1088
|
+
Parents?: Parent[] | undefined;
|
|
1089
|
+
Aliases?: LabelAlias[] | undefined;
|
|
1090
|
+
Categories?: LabelCategory[] | undefined;
|
|
1091
1091
|
}
|
|
1092
1092
|
export interface DetectLabelsResponse {
|
|
1093
|
-
Labels?: Label[];
|
|
1094
|
-
OrientationCorrection?: OrientationCorrection;
|
|
1095
|
-
LabelModelVersion?: string;
|
|
1096
|
-
ImageProperties?: DetectLabelsImageProperties;
|
|
1093
|
+
Labels?: Label[] | undefined;
|
|
1094
|
+
OrientationCorrection?: OrientationCorrection | undefined;
|
|
1095
|
+
LabelModelVersion?: string | undefined;
|
|
1096
|
+
ImageProperties?: DetectLabelsImageProperties | undefined;
|
|
1097
1097
|
}
|
|
1098
1098
|
export interface HumanLoopDataAttributes {
|
|
1099
|
-
ContentClassifiers?: ContentClassifier[];
|
|
1099
|
+
ContentClassifiers?: ContentClassifier[] | undefined;
|
|
1100
1100
|
}
|
|
1101
1101
|
export interface HumanLoopConfig {
|
|
1102
1102
|
HumanLoopName: string | undefined;
|
|
1103
1103
|
FlowDefinitionArn: string | undefined;
|
|
1104
|
-
DataAttributes?: HumanLoopDataAttributes;
|
|
1104
|
+
DataAttributes?: HumanLoopDataAttributes | undefined;
|
|
1105
1105
|
}
|
|
1106
1106
|
export interface DetectModerationLabelsRequest {
|
|
1107
1107
|
Image: Image | undefined;
|
|
1108
|
-
MinConfidence?: number;
|
|
1109
|
-
HumanLoopConfig?: HumanLoopConfig;
|
|
1110
|
-
ProjectVersion?: string;
|
|
1108
|
+
MinConfidence?: number | undefined;
|
|
1109
|
+
HumanLoopConfig?: HumanLoopConfig | undefined;
|
|
1110
|
+
ProjectVersion?: string | undefined;
|
|
1111
1111
|
}
|
|
1112
1112
|
export interface HumanLoopActivationOutput {
|
|
1113
|
-
HumanLoopArn?: string;
|
|
1114
|
-
HumanLoopActivationReasons?: string[];
|
|
1115
|
-
HumanLoopActivationConditionsEvaluationResults?:
|
|
1113
|
+
HumanLoopArn?: string | undefined;
|
|
1114
|
+
HumanLoopActivationReasons?: string[] | undefined;
|
|
1115
|
+
HumanLoopActivationConditionsEvaluationResults?:
|
|
1116
|
+
| __LazyJsonString
|
|
1117
|
+
| string
|
|
1118
|
+
| undefined;
|
|
1116
1119
|
}
|
|
1117
1120
|
export interface DetectModerationLabelsResponse {
|
|
1118
|
-
ModerationLabels?: ModerationLabel[];
|
|
1119
|
-
ModerationModelVersion?: string;
|
|
1120
|
-
HumanLoopActivationOutput?: HumanLoopActivationOutput;
|
|
1121
|
-
ProjectVersion?: string;
|
|
1122
|
-
ContentTypes?: ContentType[];
|
|
1121
|
+
ModerationLabels?: ModerationLabel[] | undefined;
|
|
1122
|
+
ModerationModelVersion?: string | undefined;
|
|
1123
|
+
HumanLoopActivationOutput?: HumanLoopActivationOutput | undefined;
|
|
1124
|
+
ProjectVersion?: string | undefined;
|
|
1125
|
+
ContentTypes?: ContentType[] | undefined;
|
|
1123
1126
|
}
|
|
1124
1127
|
export declare class HumanLoopQuotaExceededException extends __BaseException {
|
|
1125
1128
|
readonly name: "HumanLoopQuotaExceededException";
|
|
1126
1129
|
readonly $fault: "client";
|
|
1127
|
-
ResourceType?: string;
|
|
1128
|
-
QuotaCode?: string;
|
|
1129
|
-
ServiceCode?: string;
|
|
1130
|
-
Message?: string;
|
|
1131
|
-
Code?: string;
|
|
1132
|
-
Logref?: string;
|
|
1130
|
+
ResourceType?: string | undefined;
|
|
1131
|
+
QuotaCode?: string | undefined;
|
|
1132
|
+
ServiceCode?: string | undefined;
|
|
1133
|
+
Message?: string | undefined;
|
|
1134
|
+
Code?: string | undefined;
|
|
1135
|
+
Logref?: string | undefined;
|
|
1133
1136
|
constructor(
|
|
1134
1137
|
opts: __ExceptionOptionType<
|
|
1135
1138
|
HumanLoopQuotaExceededException,
|
|
@@ -1143,31 +1146,33 @@ export interface ProtectiveEquipmentSummarizationAttributes {
|
|
|
1143
1146
|
}
|
|
1144
1147
|
export interface DetectProtectiveEquipmentRequest {
|
|
1145
1148
|
Image: Image | undefined;
|
|
1146
|
-
SummarizationAttributes?:
|
|
1149
|
+
SummarizationAttributes?:
|
|
1150
|
+
| ProtectiveEquipmentSummarizationAttributes
|
|
1151
|
+
| undefined;
|
|
1147
1152
|
}
|
|
1148
1153
|
export interface ProtectiveEquipmentPerson {
|
|
1149
|
-
BodyParts?: ProtectiveEquipmentBodyPart[];
|
|
1150
|
-
BoundingBox?: BoundingBox;
|
|
1151
|
-
Confidence?: number;
|
|
1152
|
-
Id?: number;
|
|
1154
|
+
BodyParts?: ProtectiveEquipmentBodyPart[] | undefined;
|
|
1155
|
+
BoundingBox?: BoundingBox | undefined;
|
|
1156
|
+
Confidence?: number | undefined;
|
|
1157
|
+
Id?: number | undefined;
|
|
1153
1158
|
}
|
|
1154
1159
|
export interface ProtectiveEquipmentSummary {
|
|
1155
|
-
PersonsWithRequiredEquipment?: number[];
|
|
1156
|
-
PersonsWithoutRequiredEquipment?: number[];
|
|
1157
|
-
PersonsIndeterminate?: number[];
|
|
1160
|
+
PersonsWithRequiredEquipment?: number[] | undefined;
|
|
1161
|
+
PersonsWithoutRequiredEquipment?: number[] | undefined;
|
|
1162
|
+
PersonsIndeterminate?: number[] | undefined;
|
|
1158
1163
|
}
|
|
1159
1164
|
export interface DetectProtectiveEquipmentResponse {
|
|
1160
|
-
ProtectiveEquipmentModelVersion?: string;
|
|
1161
|
-
Persons?: ProtectiveEquipmentPerson[];
|
|
1162
|
-
Summary?: ProtectiveEquipmentSummary;
|
|
1165
|
+
ProtectiveEquipmentModelVersion?: string | undefined;
|
|
1166
|
+
Persons?: ProtectiveEquipmentPerson[] | undefined;
|
|
1167
|
+
Summary?: ProtectiveEquipmentSummary | undefined;
|
|
1163
1168
|
}
|
|
1164
1169
|
export interface DetectTextFilters {
|
|
1165
|
-
WordFilter?: DetectionFilter;
|
|
1166
|
-
RegionsOfInterest?: RegionOfInterest[];
|
|
1170
|
+
WordFilter?: DetectionFilter | undefined;
|
|
1171
|
+
RegionsOfInterest?: RegionOfInterest[] | undefined;
|
|
1167
1172
|
}
|
|
1168
1173
|
export interface DetectTextRequest {
|
|
1169
1174
|
Image: Image | undefined;
|
|
1170
|
-
Filters?: DetectTextFilters;
|
|
1175
|
+
Filters?: DetectTextFilters | undefined;
|
|
1171
1176
|
}
|
|
1172
1177
|
export declare const TextTypes: {
|
|
1173
1178
|
readonly LINE: "LINE";
|
|
@@ -1175,24 +1180,24 @@ export declare const TextTypes: {
|
|
|
1175
1180
|
};
|
|
1176
1181
|
export type TextTypes = (typeof TextTypes)[keyof typeof TextTypes];
|
|
1177
1182
|
export interface TextDetection {
|
|
1178
|
-
DetectedText?: string;
|
|
1179
|
-
Type?: TextTypes;
|
|
1180
|
-
Id?: number;
|
|
1181
|
-
ParentId?: number;
|
|
1182
|
-
Confidence?: number;
|
|
1183
|
-
Geometry?: Geometry;
|
|
1183
|
+
DetectedText?: string | undefined;
|
|
1184
|
+
Type?: TextTypes | undefined;
|
|
1185
|
+
Id?: number | undefined;
|
|
1186
|
+
ParentId?: number | undefined;
|
|
1187
|
+
Confidence?: number | undefined;
|
|
1188
|
+
Geometry?: Geometry | undefined;
|
|
1184
1189
|
}
|
|
1185
1190
|
export interface DetectTextResponse {
|
|
1186
|
-
TextDetections?: TextDetection[];
|
|
1187
|
-
TextModelVersion?: string;
|
|
1191
|
+
TextDetections?: TextDetection[] | undefined;
|
|
1192
|
+
TextModelVersion?: string | undefined;
|
|
1188
1193
|
}
|
|
1189
1194
|
export interface DisassociatedFace {
|
|
1190
|
-
FaceId?: string;
|
|
1195
|
+
FaceId?: string | undefined;
|
|
1191
1196
|
}
|
|
1192
1197
|
export interface DisassociateFacesRequest {
|
|
1193
1198
|
CollectionId: string | undefined;
|
|
1194
1199
|
UserId: string | undefined;
|
|
1195
|
-
ClientRequestToken?: string;
|
|
1200
|
+
ClientRequestToken?: string | undefined;
|
|
1196
1201
|
FaceIds: string[] | undefined;
|
|
1197
1202
|
}
|
|
1198
1203
|
export declare const UnsuccessfulFaceDisassociationReason: {
|
|
@@ -1202,14 +1207,16 @@ export declare const UnsuccessfulFaceDisassociationReason: {
|
|
|
1202
1207
|
export type UnsuccessfulFaceDisassociationReason =
|
|
1203
1208
|
(typeof UnsuccessfulFaceDisassociationReason)[keyof typeof UnsuccessfulFaceDisassociationReason];
|
|
1204
1209
|
export interface UnsuccessfulFaceDisassociation {
|
|
1205
|
-
FaceId?: string;
|
|
1206
|
-
UserId?: string;
|
|
1207
|
-
Reasons?: UnsuccessfulFaceDisassociationReason[];
|
|
1210
|
+
FaceId?: string | undefined;
|
|
1211
|
+
UserId?: string | undefined;
|
|
1212
|
+
Reasons?: UnsuccessfulFaceDisassociationReason[] | undefined;
|
|
1208
1213
|
}
|
|
1209
1214
|
export interface DisassociateFacesResponse {
|
|
1210
|
-
DisassociatedFaces?: DisassociatedFace[];
|
|
1211
|
-
UnsuccessfulFaceDisassociations?:
|
|
1212
|
-
|
|
1215
|
+
DisassociatedFaces?: DisassociatedFace[] | undefined;
|
|
1216
|
+
UnsuccessfulFaceDisassociations?:
|
|
1217
|
+
| UnsuccessfulFaceDisassociation[]
|
|
1218
|
+
| undefined;
|
|
1219
|
+
UserStatus?: UserStatus | undefined;
|
|
1213
1220
|
}
|
|
1214
1221
|
export interface DistributeDataset {
|
|
1215
1222
|
Arn: string | undefined;
|
|
@@ -1219,13 +1226,13 @@ export interface DistributeDatasetEntriesRequest {
|
|
|
1219
1226
|
}
|
|
1220
1227
|
export interface DistributeDatasetEntriesResponse {}
|
|
1221
1228
|
export interface Face {
|
|
1222
|
-
FaceId?: string;
|
|
1223
|
-
BoundingBox?: BoundingBox;
|
|
1224
|
-
ImageId?: string;
|
|
1225
|
-
ExternalImageId?: string;
|
|
1226
|
-
Confidence?: number;
|
|
1227
|
-
IndexFacesModelVersion?: string;
|
|
1228
|
-
UserId?: string;
|
|
1229
|
+
FaceId?: string | undefined;
|
|
1230
|
+
BoundingBox?: BoundingBox | undefined;
|
|
1231
|
+
ImageId?: string | undefined;
|
|
1232
|
+
ExternalImageId?: string | undefined;
|
|
1233
|
+
Confidence?: number | undefined;
|
|
1234
|
+
IndexFacesModelVersion?: string | undefined;
|
|
1235
|
+
UserId?: string | undefined;
|
|
1229
1236
|
}
|
|
1230
1237
|
export declare const FaceAttributes: {
|
|
1231
1238
|
readonly ALL: "ALL";
|
|
@@ -1234,16 +1241,16 @@ export declare const FaceAttributes: {
|
|
|
1234
1241
|
export type FaceAttributes =
|
|
1235
1242
|
(typeof FaceAttributes)[keyof typeof FaceAttributes];
|
|
1236
1243
|
export interface FaceDetection {
|
|
1237
|
-
Timestamp?: number;
|
|
1238
|
-
Face?: FaceDetail;
|
|
1244
|
+
Timestamp?: number | undefined;
|
|
1245
|
+
Face?: FaceDetail | undefined;
|
|
1239
1246
|
}
|
|
1240
1247
|
export interface FaceMatch {
|
|
1241
|
-
Similarity?: number;
|
|
1242
|
-
Face?: Face;
|
|
1248
|
+
Similarity?: number | undefined;
|
|
1249
|
+
Face?: Face | undefined;
|
|
1243
1250
|
}
|
|
1244
1251
|
export interface FaceRecord {
|
|
1245
|
-
Face?: Face;
|
|
1246
|
-
FaceDetail?: FaceDetail;
|
|
1252
|
+
Face?: Face | undefined;
|
|
1253
|
+
FaceDetail?: FaceDetail | undefined;
|
|
1247
1254
|
}
|
|
1248
1255
|
export declare const FaceSearchSortBy: {
|
|
1249
1256
|
readonly INDEX: "INDEX";
|
|
@@ -1255,15 +1262,15 @@ export interface GetCelebrityInfoRequest {
|
|
|
1255
1262
|
Id: string | undefined;
|
|
1256
1263
|
}
|
|
1257
1264
|
export interface GetCelebrityInfoResponse {
|
|
1258
|
-
Urls?: string[];
|
|
1259
|
-
Name?: string;
|
|
1260
|
-
KnownGender?: KnownGender;
|
|
1265
|
+
Urls?: string[] | undefined;
|
|
1266
|
+
Name?: string | undefined;
|
|
1267
|
+
KnownGender?: KnownGender | undefined;
|
|
1261
1268
|
}
|
|
1262
1269
|
export interface GetCelebrityRecognitionRequest {
|
|
1263
1270
|
JobId: string | undefined;
|
|
1264
|
-
MaxResults?: number;
|
|
1265
|
-
NextToken?: string;
|
|
1266
|
-
SortBy?: CelebrityRecognitionSortBy;
|
|
1271
|
+
MaxResults?: number | undefined;
|
|
1272
|
+
NextToken?: string | undefined;
|
|
1273
|
+
SortBy?: CelebrityRecognitionSortBy | undefined;
|
|
1267
1274
|
}
|
|
1268
1275
|
export declare const VideoJobStatus: {
|
|
1269
1276
|
readonly FAILED: "FAILED";
|
|
@@ -1273,7 +1280,7 @@ export declare const VideoJobStatus: {
|
|
|
1273
1280
|
export type VideoJobStatus =
|
|
1274
1281
|
(typeof VideoJobStatus)[keyof typeof VideoJobStatus];
|
|
1275
1282
|
export interface Video {
|
|
1276
|
-
S3Object?: S3Object;
|
|
1283
|
+
S3Object?: S3Object | undefined;
|
|
1277
1284
|
}
|
|
1278
1285
|
export declare const VideoColorRange: {
|
|
1279
1286
|
readonly FULL: "FULL";
|
|
@@ -1282,61 +1289,61 @@ export declare const VideoColorRange: {
|
|
|
1282
1289
|
export type VideoColorRange =
|
|
1283
1290
|
(typeof VideoColorRange)[keyof typeof VideoColorRange];
|
|
1284
1291
|
export interface VideoMetadata {
|
|
1285
|
-
Codec?: string;
|
|
1286
|
-
DurationMillis?: number;
|
|
1287
|
-
Format?: string;
|
|
1288
|
-
FrameRate?: number;
|
|
1289
|
-
FrameHeight?: number;
|
|
1290
|
-
FrameWidth?: number;
|
|
1291
|
-
ColorRange?: VideoColorRange;
|
|
1292
|
+
Codec?: string | undefined;
|
|
1293
|
+
DurationMillis?: number | undefined;
|
|
1294
|
+
Format?: string | undefined;
|
|
1295
|
+
FrameRate?: number | undefined;
|
|
1296
|
+
FrameHeight?: number | undefined;
|
|
1297
|
+
FrameWidth?: number | undefined;
|
|
1298
|
+
ColorRange?: VideoColorRange | undefined;
|
|
1292
1299
|
}
|
|
1293
1300
|
export interface GetCelebrityRecognitionResponse {
|
|
1294
|
-
JobStatus?: VideoJobStatus;
|
|
1295
|
-
StatusMessage?: string;
|
|
1296
|
-
VideoMetadata?: VideoMetadata;
|
|
1297
|
-
NextToken?: string;
|
|
1298
|
-
Celebrities?: CelebrityRecognition[];
|
|
1299
|
-
JobId?: string;
|
|
1300
|
-
Video?: Video;
|
|
1301
|
-
JobTag?: string;
|
|
1301
|
+
JobStatus?: VideoJobStatus | undefined;
|
|
1302
|
+
StatusMessage?: string | undefined;
|
|
1303
|
+
VideoMetadata?: VideoMetadata | undefined;
|
|
1304
|
+
NextToken?: string | undefined;
|
|
1305
|
+
Celebrities?: CelebrityRecognition[] | undefined;
|
|
1306
|
+
JobId?: string | undefined;
|
|
1307
|
+
Video?: Video | undefined;
|
|
1308
|
+
JobTag?: string | undefined;
|
|
1302
1309
|
}
|
|
1303
1310
|
export interface GetContentModerationRequest {
|
|
1304
1311
|
JobId: string | undefined;
|
|
1305
|
-
MaxResults?: number;
|
|
1306
|
-
NextToken?: string;
|
|
1307
|
-
SortBy?: ContentModerationSortBy;
|
|
1308
|
-
AggregateBy?: ContentModerationAggregateBy;
|
|
1312
|
+
MaxResults?: number | undefined;
|
|
1313
|
+
NextToken?: string | undefined;
|
|
1314
|
+
SortBy?: ContentModerationSortBy | undefined;
|
|
1315
|
+
AggregateBy?: ContentModerationAggregateBy | undefined;
|
|
1309
1316
|
}
|
|
1310
1317
|
export interface GetContentModerationRequestMetadata {
|
|
1311
|
-
SortBy?: ContentModerationSortBy;
|
|
1312
|
-
AggregateBy?: ContentModerationAggregateBy;
|
|
1318
|
+
SortBy?: ContentModerationSortBy | undefined;
|
|
1319
|
+
AggregateBy?: ContentModerationAggregateBy | undefined;
|
|
1313
1320
|
}
|
|
1314
1321
|
export interface GetContentModerationResponse {
|
|
1315
|
-
JobStatus?: VideoJobStatus;
|
|
1316
|
-
StatusMessage?: string;
|
|
1317
|
-
VideoMetadata?: VideoMetadata;
|
|
1318
|
-
ModerationLabels?: ContentModerationDetection[];
|
|
1319
|
-
NextToken?: string;
|
|
1320
|
-
ModerationModelVersion?: string;
|
|
1321
|
-
JobId?: string;
|
|
1322
|
-
Video?: Video;
|
|
1323
|
-
JobTag?: string;
|
|
1324
|
-
GetRequestMetadata?: GetContentModerationRequestMetadata;
|
|
1322
|
+
JobStatus?: VideoJobStatus | undefined;
|
|
1323
|
+
StatusMessage?: string | undefined;
|
|
1324
|
+
VideoMetadata?: VideoMetadata | undefined;
|
|
1325
|
+
ModerationLabels?: ContentModerationDetection[] | undefined;
|
|
1326
|
+
NextToken?: string | undefined;
|
|
1327
|
+
ModerationModelVersion?: string | undefined;
|
|
1328
|
+
JobId?: string | undefined;
|
|
1329
|
+
Video?: Video | undefined;
|
|
1330
|
+
JobTag?: string | undefined;
|
|
1331
|
+
GetRequestMetadata?: GetContentModerationRequestMetadata | undefined;
|
|
1325
1332
|
}
|
|
1326
1333
|
export interface GetFaceDetectionRequest {
|
|
1327
1334
|
JobId: string | undefined;
|
|
1328
|
-
MaxResults?: number;
|
|
1329
|
-
NextToken?: string;
|
|
1335
|
+
MaxResults?: number | undefined;
|
|
1336
|
+
NextToken?: string | undefined;
|
|
1330
1337
|
}
|
|
1331
1338
|
export interface GetFaceDetectionResponse {
|
|
1332
|
-
JobStatus?: VideoJobStatus;
|
|
1333
|
-
StatusMessage?: string;
|
|
1334
|
-
VideoMetadata?: VideoMetadata;
|
|
1335
|
-
NextToken?: string;
|
|
1336
|
-
Faces?: FaceDetection[];
|
|
1337
|
-
JobId?: string;
|
|
1338
|
-
Video?: Video;
|
|
1339
|
-
JobTag?: string;
|
|
1339
|
+
JobStatus?: VideoJobStatus | undefined;
|
|
1340
|
+
StatusMessage?: string | undefined;
|
|
1341
|
+
VideoMetadata?: VideoMetadata | undefined;
|
|
1342
|
+
NextToken?: string | undefined;
|
|
1343
|
+
Faces?: FaceDetection[] | undefined;
|
|
1344
|
+
JobId?: string | undefined;
|
|
1345
|
+
Video?: Video | undefined;
|
|
1346
|
+
JobTag?: string | undefined;
|
|
1340
1347
|
}
|
|
1341
1348
|
export interface GetFaceLivenessSessionResultsRequest {
|
|
1342
1349
|
SessionId: string | undefined;
|
|
@@ -1353,45 +1360,45 @@ export type LivenessSessionStatus =
|
|
|
1353
1360
|
export interface GetFaceLivenessSessionResultsResponse {
|
|
1354
1361
|
SessionId: string | undefined;
|
|
1355
1362
|
Status: LivenessSessionStatus | undefined;
|
|
1356
|
-
Confidence?: number;
|
|
1357
|
-
ReferenceImage?: AuditImage;
|
|
1358
|
-
AuditImages?: AuditImage[];
|
|
1363
|
+
Confidence?: number | undefined;
|
|
1364
|
+
ReferenceImage?: AuditImage | undefined;
|
|
1365
|
+
AuditImages?: AuditImage[] | undefined;
|
|
1359
1366
|
}
|
|
1360
1367
|
export declare class SessionNotFoundException extends __BaseException {
|
|
1361
1368
|
readonly name: "SessionNotFoundException";
|
|
1362
1369
|
readonly $fault: "client";
|
|
1363
|
-
Message?: string;
|
|
1364
|
-
Code?: string;
|
|
1365
|
-
Logref?: string;
|
|
1370
|
+
Message?: string | undefined;
|
|
1371
|
+
Code?: string | undefined;
|
|
1372
|
+
Logref?: string | undefined;
|
|
1366
1373
|
constructor(
|
|
1367
1374
|
opts: __ExceptionOptionType<SessionNotFoundException, __BaseException>
|
|
1368
1375
|
);
|
|
1369
1376
|
}
|
|
1370
1377
|
export interface GetFaceSearchRequest {
|
|
1371
1378
|
JobId: string | undefined;
|
|
1372
|
-
MaxResults?: number;
|
|
1373
|
-
NextToken?: string;
|
|
1374
|
-
SortBy?: FaceSearchSortBy;
|
|
1379
|
+
MaxResults?: number | undefined;
|
|
1380
|
+
NextToken?: string | undefined;
|
|
1381
|
+
SortBy?: FaceSearchSortBy | undefined;
|
|
1375
1382
|
}
|
|
1376
1383
|
export interface PersonDetail {
|
|
1377
|
-
Index?: number;
|
|
1378
|
-
BoundingBox?: BoundingBox;
|
|
1379
|
-
Face?: FaceDetail;
|
|
1384
|
+
Index?: number | undefined;
|
|
1385
|
+
BoundingBox?: BoundingBox | undefined;
|
|
1386
|
+
Face?: FaceDetail | undefined;
|
|
1380
1387
|
}
|
|
1381
1388
|
export interface PersonMatch {
|
|
1382
|
-
Timestamp?: number;
|
|
1383
|
-
Person?: PersonDetail;
|
|
1384
|
-
FaceMatches?: FaceMatch[];
|
|
1389
|
+
Timestamp?: number | undefined;
|
|
1390
|
+
Person?: PersonDetail | undefined;
|
|
1391
|
+
FaceMatches?: FaceMatch[] | undefined;
|
|
1385
1392
|
}
|
|
1386
1393
|
export interface GetFaceSearchResponse {
|
|
1387
|
-
JobStatus?: VideoJobStatus;
|
|
1388
|
-
StatusMessage?: string;
|
|
1389
|
-
NextToken?: string;
|
|
1390
|
-
VideoMetadata?: VideoMetadata;
|
|
1391
|
-
Persons?: PersonMatch[];
|
|
1392
|
-
JobId?: string;
|
|
1393
|
-
Video?: Video;
|
|
1394
|
-
JobTag?: string;
|
|
1394
|
+
JobStatus?: VideoJobStatus | undefined;
|
|
1395
|
+
StatusMessage?: string | undefined;
|
|
1396
|
+
NextToken?: string | undefined;
|
|
1397
|
+
VideoMetadata?: VideoMetadata | undefined;
|
|
1398
|
+
Persons?: PersonMatch[] | undefined;
|
|
1399
|
+
JobId?: string | undefined;
|
|
1400
|
+
Video?: Video | undefined;
|
|
1401
|
+
JobTag?: string | undefined;
|
|
1395
1402
|
}
|
|
1396
1403
|
export declare const LabelDetectionAggregateBy: {
|
|
1397
1404
|
readonly SEGMENTS: "SEGMENTS";
|
|
@@ -1407,33 +1414,33 @@ export type LabelDetectionSortBy =
|
|
|
1407
1414
|
(typeof LabelDetectionSortBy)[keyof typeof LabelDetectionSortBy];
|
|
1408
1415
|
export interface GetLabelDetectionRequest {
|
|
1409
1416
|
JobId: string | undefined;
|
|
1410
|
-
MaxResults?: number;
|
|
1411
|
-
NextToken?: string;
|
|
1412
|
-
SortBy?: LabelDetectionSortBy;
|
|
1413
|
-
AggregateBy?: LabelDetectionAggregateBy;
|
|
1417
|
+
MaxResults?: number | undefined;
|
|
1418
|
+
NextToken?: string | undefined;
|
|
1419
|
+
SortBy?: LabelDetectionSortBy | undefined;
|
|
1420
|
+
AggregateBy?: LabelDetectionAggregateBy | undefined;
|
|
1414
1421
|
}
|
|
1415
1422
|
export interface GetLabelDetectionRequestMetadata {
|
|
1416
|
-
SortBy?: LabelDetectionSortBy;
|
|
1417
|
-
AggregateBy?: LabelDetectionAggregateBy;
|
|
1423
|
+
SortBy?: LabelDetectionSortBy | undefined;
|
|
1424
|
+
AggregateBy?: LabelDetectionAggregateBy | undefined;
|
|
1418
1425
|
}
|
|
1419
1426
|
export interface LabelDetection {
|
|
1420
|
-
Timestamp?: number;
|
|
1421
|
-
Label?: Label;
|
|
1422
|
-
StartTimestampMillis?: number;
|
|
1423
|
-
EndTimestampMillis?: number;
|
|
1424
|
-
DurationMillis?: number;
|
|
1427
|
+
Timestamp?: number | undefined;
|
|
1428
|
+
Label?: Label | undefined;
|
|
1429
|
+
StartTimestampMillis?: number | undefined;
|
|
1430
|
+
EndTimestampMillis?: number | undefined;
|
|
1431
|
+
DurationMillis?: number | undefined;
|
|
1425
1432
|
}
|
|
1426
1433
|
export interface GetLabelDetectionResponse {
|
|
1427
|
-
JobStatus?: VideoJobStatus;
|
|
1428
|
-
StatusMessage?: string;
|
|
1429
|
-
VideoMetadata?: VideoMetadata;
|
|
1430
|
-
NextToken?: string;
|
|
1431
|
-
Labels?: LabelDetection[];
|
|
1432
|
-
LabelModelVersion?: string;
|
|
1433
|
-
JobId?: string;
|
|
1434
|
-
Video?: Video;
|
|
1435
|
-
JobTag?: string;
|
|
1436
|
-
GetRequestMetadata?: GetLabelDetectionRequestMetadata;
|
|
1434
|
+
JobStatus?: VideoJobStatus | undefined;
|
|
1435
|
+
StatusMessage?: string | undefined;
|
|
1436
|
+
VideoMetadata?: VideoMetadata | undefined;
|
|
1437
|
+
NextToken?: string | undefined;
|
|
1438
|
+
Labels?: LabelDetection[] | undefined;
|
|
1439
|
+
LabelModelVersion?: string | undefined;
|
|
1440
|
+
JobId?: string | undefined;
|
|
1441
|
+
Video?: Video | undefined;
|
|
1442
|
+
JobTag?: string | undefined;
|
|
1443
|
+
GetRequestMetadata?: GetLabelDetectionRequestMetadata | undefined;
|
|
1437
1444
|
}
|
|
1438
1445
|
export interface GetMediaAnalysisJobRequest {
|
|
1439
1446
|
JobId: string | undefined;
|
|
@@ -1452,32 +1459,34 @@ export declare const MediaAnalysisJobFailureCode: {
|
|
|
1452
1459
|
export type MediaAnalysisJobFailureCode =
|
|
1453
1460
|
(typeof MediaAnalysisJobFailureCode)[keyof typeof MediaAnalysisJobFailureCode];
|
|
1454
1461
|
export interface MediaAnalysisJobFailureDetails {
|
|
1455
|
-
Code?: MediaAnalysisJobFailureCode;
|
|
1456
|
-
Message?: string;
|
|
1462
|
+
Code?: MediaAnalysisJobFailureCode | undefined;
|
|
1463
|
+
Message?: string | undefined;
|
|
1457
1464
|
}
|
|
1458
1465
|
export interface MediaAnalysisInput {
|
|
1459
1466
|
S3Object: S3Object | undefined;
|
|
1460
1467
|
}
|
|
1461
1468
|
export interface MediaAnalysisManifestSummary {
|
|
1462
|
-
S3Object?: S3Object;
|
|
1469
|
+
S3Object?: S3Object | undefined;
|
|
1463
1470
|
}
|
|
1464
1471
|
export interface MediaAnalysisDetectModerationLabelsConfig {
|
|
1465
|
-
MinConfidence?: number;
|
|
1466
|
-
ProjectVersion?: string;
|
|
1472
|
+
MinConfidence?: number | undefined;
|
|
1473
|
+
ProjectVersion?: string | undefined;
|
|
1467
1474
|
}
|
|
1468
1475
|
export interface MediaAnalysisOperationsConfig {
|
|
1469
|
-
DetectModerationLabels?:
|
|
1476
|
+
DetectModerationLabels?:
|
|
1477
|
+
| MediaAnalysisDetectModerationLabelsConfig
|
|
1478
|
+
| undefined;
|
|
1470
1479
|
}
|
|
1471
1480
|
export interface MediaAnalysisOutputConfig {
|
|
1472
1481
|
S3Bucket: string | undefined;
|
|
1473
|
-
S3KeyPrefix?: string;
|
|
1482
|
+
S3KeyPrefix?: string | undefined;
|
|
1474
1483
|
}
|
|
1475
1484
|
export interface MediaAnalysisModelVersions {
|
|
1476
|
-
Moderation?: string;
|
|
1485
|
+
Moderation?: string | undefined;
|
|
1477
1486
|
}
|
|
1478
1487
|
export interface MediaAnalysisResults {
|
|
1479
|
-
S3Object?: S3Object;
|
|
1480
|
-
ModelVersions?: MediaAnalysisModelVersions;
|
|
1488
|
+
S3Object?: S3Object | undefined;
|
|
1489
|
+
ModelVersions?: MediaAnalysisModelVersions | undefined;
|
|
1481
1490
|
}
|
|
1482
1491
|
export declare const MediaAnalysisJobStatus: {
|
|
1483
1492
|
readonly CREATED: "CREATED";
|
|
@@ -1490,17 +1499,17 @@ export type MediaAnalysisJobStatus =
|
|
|
1490
1499
|
(typeof MediaAnalysisJobStatus)[keyof typeof MediaAnalysisJobStatus];
|
|
1491
1500
|
export interface GetMediaAnalysisJobResponse {
|
|
1492
1501
|
JobId: string | undefined;
|
|
1493
|
-
JobName?: string;
|
|
1502
|
+
JobName?: string | undefined;
|
|
1494
1503
|
OperationsConfig: MediaAnalysisOperationsConfig | undefined;
|
|
1495
1504
|
Status: MediaAnalysisJobStatus | undefined;
|
|
1496
|
-
FailureDetails?: MediaAnalysisJobFailureDetails;
|
|
1505
|
+
FailureDetails?: MediaAnalysisJobFailureDetails | undefined;
|
|
1497
1506
|
CreationTimestamp: Date | undefined;
|
|
1498
|
-
CompletionTimestamp?: Date;
|
|
1507
|
+
CompletionTimestamp?: Date | undefined;
|
|
1499
1508
|
Input: MediaAnalysisInput | undefined;
|
|
1500
1509
|
OutputConfig: MediaAnalysisOutputConfig | undefined;
|
|
1501
|
-
KmsKeyId?: string;
|
|
1502
|
-
Results?: MediaAnalysisResults;
|
|
1503
|
-
ManifestSummary?: MediaAnalysisManifestSummary;
|
|
1510
|
+
KmsKeyId?: string | undefined;
|
|
1511
|
+
Results?: MediaAnalysisResults | undefined;
|
|
1512
|
+
ManifestSummary?: MediaAnalysisManifestSummary | undefined;
|
|
1504
1513
|
}
|
|
1505
1514
|
export declare const PersonTrackingSortBy: {
|
|
1506
1515
|
readonly INDEX: "INDEX";
|
|
@@ -1510,32 +1519,32 @@ export type PersonTrackingSortBy =
|
|
|
1510
1519
|
(typeof PersonTrackingSortBy)[keyof typeof PersonTrackingSortBy];
|
|
1511
1520
|
export interface GetPersonTrackingRequest {
|
|
1512
1521
|
JobId: string | undefined;
|
|
1513
|
-
MaxResults?: number;
|
|
1514
|
-
NextToken?: string;
|
|
1515
|
-
SortBy?: PersonTrackingSortBy;
|
|
1522
|
+
MaxResults?: number | undefined;
|
|
1523
|
+
NextToken?: string | undefined;
|
|
1524
|
+
SortBy?: PersonTrackingSortBy | undefined;
|
|
1516
1525
|
}
|
|
1517
1526
|
export interface PersonDetection {
|
|
1518
|
-
Timestamp?: number;
|
|
1519
|
-
Person?: PersonDetail;
|
|
1527
|
+
Timestamp?: number | undefined;
|
|
1528
|
+
Person?: PersonDetail | undefined;
|
|
1520
1529
|
}
|
|
1521
1530
|
export interface GetPersonTrackingResponse {
|
|
1522
|
-
JobStatus?: VideoJobStatus;
|
|
1523
|
-
StatusMessage?: string;
|
|
1524
|
-
VideoMetadata?: VideoMetadata;
|
|
1525
|
-
NextToken?: string;
|
|
1526
|
-
Persons?: PersonDetection[];
|
|
1527
|
-
JobId?: string;
|
|
1528
|
-
Video?: Video;
|
|
1529
|
-
JobTag?: string;
|
|
1531
|
+
JobStatus?: VideoJobStatus | undefined;
|
|
1532
|
+
StatusMessage?: string | undefined;
|
|
1533
|
+
VideoMetadata?: VideoMetadata | undefined;
|
|
1534
|
+
NextToken?: string | undefined;
|
|
1535
|
+
Persons?: PersonDetection[] | undefined;
|
|
1536
|
+
JobId?: string | undefined;
|
|
1537
|
+
Video?: Video | undefined;
|
|
1538
|
+
JobTag?: string | undefined;
|
|
1530
1539
|
}
|
|
1531
1540
|
export interface GetSegmentDetectionRequest {
|
|
1532
1541
|
JobId: string | undefined;
|
|
1533
|
-
MaxResults?: number;
|
|
1534
|
-
NextToken?: string;
|
|
1542
|
+
MaxResults?: number | undefined;
|
|
1543
|
+
NextToken?: string | undefined;
|
|
1535
1544
|
}
|
|
1536
1545
|
export interface ShotSegment {
|
|
1537
|
-
Index?: number;
|
|
1538
|
-
Confidence?: number;
|
|
1546
|
+
Index?: number | undefined;
|
|
1547
|
+
Confidence?: number | undefined;
|
|
1539
1548
|
}
|
|
1540
1549
|
export declare const TechnicalCueType: {
|
|
1541
1550
|
readonly BLACK_FRAMES: "BlackFrames";
|
|
@@ -1549,8 +1558,8 @@ export declare const TechnicalCueType: {
|
|
|
1549
1558
|
export type TechnicalCueType =
|
|
1550
1559
|
(typeof TechnicalCueType)[keyof typeof TechnicalCueType];
|
|
1551
1560
|
export interface TechnicalCueSegment {
|
|
1552
|
-
Type?: TechnicalCueType;
|
|
1553
|
-
Confidence?: number;
|
|
1561
|
+
Type?: TechnicalCueType | undefined;
|
|
1562
|
+
Confidence?: number | undefined;
|
|
1554
1563
|
}
|
|
1555
1564
|
export declare const SegmentType: {
|
|
1556
1565
|
readonly SHOT: "SHOT";
|
|
@@ -1558,62 +1567,62 @@ export declare const SegmentType: {
|
|
|
1558
1567
|
};
|
|
1559
1568
|
export type SegmentType = (typeof SegmentType)[keyof typeof SegmentType];
|
|
1560
1569
|
export interface SegmentDetection {
|
|
1561
|
-
Type?: SegmentType;
|
|
1562
|
-
StartTimestampMillis?: number;
|
|
1563
|
-
EndTimestampMillis?: number;
|
|
1564
|
-
DurationMillis?: number;
|
|
1565
|
-
StartTimecodeSMPTE?: string;
|
|
1566
|
-
EndTimecodeSMPTE?: string;
|
|
1567
|
-
DurationSMPTE?: string;
|
|
1568
|
-
TechnicalCueSegment?: TechnicalCueSegment;
|
|
1569
|
-
ShotSegment?: ShotSegment;
|
|
1570
|
-
StartFrameNumber?: number;
|
|
1571
|
-
EndFrameNumber?: number;
|
|
1572
|
-
DurationFrames?: number;
|
|
1570
|
+
Type?: SegmentType | undefined;
|
|
1571
|
+
StartTimestampMillis?: number | undefined;
|
|
1572
|
+
EndTimestampMillis?: number | undefined;
|
|
1573
|
+
DurationMillis?: number | undefined;
|
|
1574
|
+
StartTimecodeSMPTE?: string | undefined;
|
|
1575
|
+
EndTimecodeSMPTE?: string | undefined;
|
|
1576
|
+
DurationSMPTE?: string | undefined;
|
|
1577
|
+
TechnicalCueSegment?: TechnicalCueSegment | undefined;
|
|
1578
|
+
ShotSegment?: ShotSegment | undefined;
|
|
1579
|
+
StartFrameNumber?: number | undefined;
|
|
1580
|
+
EndFrameNumber?: number | undefined;
|
|
1581
|
+
DurationFrames?: number | undefined;
|
|
1573
1582
|
}
|
|
1574
1583
|
export interface SegmentTypeInfo {
|
|
1575
|
-
Type?: SegmentType;
|
|
1576
|
-
ModelVersion?: string;
|
|
1584
|
+
Type?: SegmentType | undefined;
|
|
1585
|
+
ModelVersion?: string | undefined;
|
|
1577
1586
|
}
|
|
1578
1587
|
export interface GetSegmentDetectionResponse {
|
|
1579
|
-
JobStatus?: VideoJobStatus;
|
|
1580
|
-
StatusMessage?: string;
|
|
1581
|
-
VideoMetadata?: VideoMetadata[];
|
|
1582
|
-
AudioMetadata?: AudioMetadata[];
|
|
1583
|
-
NextToken?: string;
|
|
1584
|
-
Segments?: SegmentDetection[];
|
|
1585
|
-
SelectedSegmentTypes?: SegmentTypeInfo[];
|
|
1586
|
-
JobId?: string;
|
|
1587
|
-
Video?: Video;
|
|
1588
|
-
JobTag?: string;
|
|
1588
|
+
JobStatus?: VideoJobStatus | undefined;
|
|
1589
|
+
StatusMessage?: string | undefined;
|
|
1590
|
+
VideoMetadata?: VideoMetadata[] | undefined;
|
|
1591
|
+
AudioMetadata?: AudioMetadata[] | undefined;
|
|
1592
|
+
NextToken?: string | undefined;
|
|
1593
|
+
Segments?: SegmentDetection[] | undefined;
|
|
1594
|
+
SelectedSegmentTypes?: SegmentTypeInfo[] | undefined;
|
|
1595
|
+
JobId?: string | undefined;
|
|
1596
|
+
Video?: Video | undefined;
|
|
1597
|
+
JobTag?: string | undefined;
|
|
1589
1598
|
}
|
|
1590
1599
|
export interface GetTextDetectionRequest {
|
|
1591
1600
|
JobId: string | undefined;
|
|
1592
|
-
MaxResults?: number;
|
|
1593
|
-
NextToken?: string;
|
|
1601
|
+
MaxResults?: number | undefined;
|
|
1602
|
+
NextToken?: string | undefined;
|
|
1594
1603
|
}
|
|
1595
1604
|
export interface TextDetectionResult {
|
|
1596
|
-
Timestamp?: number;
|
|
1597
|
-
TextDetection?: TextDetection;
|
|
1605
|
+
Timestamp?: number | undefined;
|
|
1606
|
+
TextDetection?: TextDetection | undefined;
|
|
1598
1607
|
}
|
|
1599
1608
|
export interface GetTextDetectionResponse {
|
|
1600
|
-
JobStatus?: VideoJobStatus;
|
|
1601
|
-
StatusMessage?: string;
|
|
1602
|
-
VideoMetadata?: VideoMetadata;
|
|
1603
|
-
TextDetections?: TextDetectionResult[];
|
|
1604
|
-
NextToken?: string;
|
|
1605
|
-
TextModelVersion?: string;
|
|
1606
|
-
JobId?: string;
|
|
1607
|
-
Video?: Video;
|
|
1608
|
-
JobTag?: string;
|
|
1609
|
+
JobStatus?: VideoJobStatus | undefined;
|
|
1610
|
+
StatusMessage?: string | undefined;
|
|
1611
|
+
VideoMetadata?: VideoMetadata | undefined;
|
|
1612
|
+
TextDetections?: TextDetectionResult[] | undefined;
|
|
1613
|
+
NextToken?: string | undefined;
|
|
1614
|
+
TextModelVersion?: string | undefined;
|
|
1615
|
+
JobId?: string | undefined;
|
|
1616
|
+
Video?: Video | undefined;
|
|
1617
|
+
JobTag?: string | undefined;
|
|
1609
1618
|
}
|
|
1610
1619
|
export interface IndexFacesRequest {
|
|
1611
1620
|
CollectionId: string | undefined;
|
|
1612
1621
|
Image: Image | undefined;
|
|
1613
|
-
ExternalImageId?: string;
|
|
1614
|
-
DetectionAttributes?: Attribute[];
|
|
1615
|
-
MaxFaces?: number;
|
|
1616
|
-
QualityFilter?: QualityFilter;
|
|
1622
|
+
ExternalImageId?: string | undefined;
|
|
1623
|
+
DetectionAttributes?: Attribute[] | undefined;
|
|
1624
|
+
MaxFaces?: number | undefined;
|
|
1625
|
+
QualityFilter?: QualityFilter | undefined;
|
|
1617
1626
|
}
|
|
1618
1627
|
export declare const Reason: {
|
|
1619
1628
|
readonly EXCEEDS_MAX_FACES: "EXCEEDS_MAX_FACES";
|
|
@@ -1626,28 +1635,28 @@ export declare const Reason: {
|
|
|
1626
1635
|
};
|
|
1627
1636
|
export type Reason = (typeof Reason)[keyof typeof Reason];
|
|
1628
1637
|
export interface UnindexedFace {
|
|
1629
|
-
Reasons?: Reason[];
|
|
1630
|
-
FaceDetail?: FaceDetail;
|
|
1638
|
+
Reasons?: Reason[] | undefined;
|
|
1639
|
+
FaceDetail?: FaceDetail | undefined;
|
|
1631
1640
|
}
|
|
1632
1641
|
export interface IndexFacesResponse {
|
|
1633
|
-
FaceRecords?: FaceRecord[];
|
|
1634
|
-
OrientationCorrection?: OrientationCorrection;
|
|
1635
|
-
FaceModelVersion?: string;
|
|
1636
|
-
UnindexedFaces?: UnindexedFace[];
|
|
1642
|
+
FaceRecords?: FaceRecord[] | undefined;
|
|
1643
|
+
OrientationCorrection?: OrientationCorrection | undefined;
|
|
1644
|
+
FaceModelVersion?: string | undefined;
|
|
1645
|
+
UnindexedFaces?: UnindexedFace[] | undefined;
|
|
1637
1646
|
}
|
|
1638
1647
|
export declare class InvalidManifestException extends __BaseException {
|
|
1639
1648
|
readonly name: "InvalidManifestException";
|
|
1640
1649
|
readonly $fault: "client";
|
|
1641
|
-
Message?: string;
|
|
1642
|
-
Code?: string;
|
|
1643
|
-
Logref?: string;
|
|
1650
|
+
Message?: string | undefined;
|
|
1651
|
+
Code?: string | undefined;
|
|
1652
|
+
Logref?: string | undefined;
|
|
1644
1653
|
constructor(
|
|
1645
1654
|
opts: __ExceptionOptionType<InvalidManifestException, __BaseException>
|
|
1646
1655
|
);
|
|
1647
1656
|
}
|
|
1648
1657
|
export interface KinesisVideoStreamStartSelector {
|
|
1649
|
-
ProducerTimestamp?: number;
|
|
1650
|
-
FragmentNumber?: string;
|
|
1658
|
+
ProducerTimestamp?: number | undefined;
|
|
1659
|
+
FragmentNumber?: string | undefined;
|
|
1651
1660
|
}
|
|
1652
1661
|
export declare const LabelDetectionFeatureName: {
|
|
1653
1662
|
readonly GENERAL_LABELS: "GENERAL_LABELS";
|
|
@@ -1655,127 +1664,127 @@ export declare const LabelDetectionFeatureName: {
|
|
|
1655
1664
|
export type LabelDetectionFeatureName =
|
|
1656
1665
|
(typeof LabelDetectionFeatureName)[keyof typeof LabelDetectionFeatureName];
|
|
1657
1666
|
export interface LabelDetectionSettings {
|
|
1658
|
-
GeneralLabels?: GeneralLabelsSettings;
|
|
1667
|
+
GeneralLabels?: GeneralLabelsSettings | undefined;
|
|
1659
1668
|
}
|
|
1660
1669
|
export interface ListCollectionsRequest {
|
|
1661
|
-
NextToken?: string;
|
|
1662
|
-
MaxResults?: number;
|
|
1670
|
+
NextToken?: string | undefined;
|
|
1671
|
+
MaxResults?: number | undefined;
|
|
1663
1672
|
}
|
|
1664
1673
|
export interface ListCollectionsResponse {
|
|
1665
|
-
CollectionIds?: string[];
|
|
1666
|
-
NextToken?: string;
|
|
1667
|
-
FaceModelVersions?: string[];
|
|
1674
|
+
CollectionIds?: string[] | undefined;
|
|
1675
|
+
NextToken?: string | undefined;
|
|
1676
|
+
FaceModelVersions?: string[] | undefined;
|
|
1668
1677
|
}
|
|
1669
1678
|
export interface ListDatasetEntriesRequest {
|
|
1670
1679
|
DatasetArn: string | undefined;
|
|
1671
|
-
ContainsLabels?: string[];
|
|
1672
|
-
Labeled?: boolean;
|
|
1673
|
-
SourceRefContains?: string;
|
|
1674
|
-
HasErrors?: boolean;
|
|
1675
|
-
NextToken?: string;
|
|
1676
|
-
MaxResults?: number;
|
|
1680
|
+
ContainsLabels?: string[] | undefined;
|
|
1681
|
+
Labeled?: boolean | undefined;
|
|
1682
|
+
SourceRefContains?: string | undefined;
|
|
1683
|
+
HasErrors?: boolean | undefined;
|
|
1684
|
+
NextToken?: string | undefined;
|
|
1685
|
+
MaxResults?: number | undefined;
|
|
1677
1686
|
}
|
|
1678
1687
|
export interface ListDatasetEntriesResponse {
|
|
1679
|
-
DatasetEntries?: string[];
|
|
1680
|
-
NextToken?: string;
|
|
1688
|
+
DatasetEntries?: string[] | undefined;
|
|
1689
|
+
NextToken?: string | undefined;
|
|
1681
1690
|
}
|
|
1682
1691
|
export interface ListDatasetLabelsRequest {
|
|
1683
1692
|
DatasetArn: string | undefined;
|
|
1684
|
-
NextToken?: string;
|
|
1685
|
-
MaxResults?: number;
|
|
1693
|
+
NextToken?: string | undefined;
|
|
1694
|
+
MaxResults?: number | undefined;
|
|
1686
1695
|
}
|
|
1687
1696
|
export interface ListDatasetLabelsResponse {
|
|
1688
|
-
DatasetLabelDescriptions?: DatasetLabelDescription[];
|
|
1689
|
-
NextToken?: string;
|
|
1697
|
+
DatasetLabelDescriptions?: DatasetLabelDescription[] | undefined;
|
|
1698
|
+
NextToken?: string | undefined;
|
|
1690
1699
|
}
|
|
1691
1700
|
export interface ListFacesRequest {
|
|
1692
1701
|
CollectionId: string | undefined;
|
|
1693
|
-
NextToken?: string;
|
|
1694
|
-
MaxResults?: number;
|
|
1695
|
-
UserId?: string;
|
|
1696
|
-
FaceIds?: string[];
|
|
1702
|
+
NextToken?: string | undefined;
|
|
1703
|
+
MaxResults?: number | undefined;
|
|
1704
|
+
UserId?: string | undefined;
|
|
1705
|
+
FaceIds?: string[] | undefined;
|
|
1697
1706
|
}
|
|
1698
1707
|
export interface ListFacesResponse {
|
|
1699
|
-
Faces?: Face[];
|
|
1700
|
-
NextToken?: string;
|
|
1701
|
-
FaceModelVersion?: string;
|
|
1708
|
+
Faces?: Face[] | undefined;
|
|
1709
|
+
NextToken?: string | undefined;
|
|
1710
|
+
FaceModelVersion?: string | undefined;
|
|
1702
1711
|
}
|
|
1703
1712
|
export interface ListMediaAnalysisJobsRequest {
|
|
1704
|
-
NextToken?: string;
|
|
1705
|
-
MaxResults?: number;
|
|
1713
|
+
NextToken?: string | undefined;
|
|
1714
|
+
MaxResults?: number | undefined;
|
|
1706
1715
|
}
|
|
1707
1716
|
export interface MediaAnalysisJobDescription {
|
|
1708
1717
|
JobId: string | undefined;
|
|
1709
|
-
JobName?: string;
|
|
1718
|
+
JobName?: string | undefined;
|
|
1710
1719
|
OperationsConfig: MediaAnalysisOperationsConfig | undefined;
|
|
1711
1720
|
Status: MediaAnalysisJobStatus | undefined;
|
|
1712
|
-
FailureDetails?: MediaAnalysisJobFailureDetails;
|
|
1721
|
+
FailureDetails?: MediaAnalysisJobFailureDetails | undefined;
|
|
1713
1722
|
CreationTimestamp: Date | undefined;
|
|
1714
|
-
CompletionTimestamp?: Date;
|
|
1723
|
+
CompletionTimestamp?: Date | undefined;
|
|
1715
1724
|
Input: MediaAnalysisInput | undefined;
|
|
1716
1725
|
OutputConfig: MediaAnalysisOutputConfig | undefined;
|
|
1717
|
-
KmsKeyId?: string;
|
|
1718
|
-
Results?: MediaAnalysisResults;
|
|
1719
|
-
ManifestSummary?: MediaAnalysisManifestSummary;
|
|
1726
|
+
KmsKeyId?: string | undefined;
|
|
1727
|
+
Results?: MediaAnalysisResults | undefined;
|
|
1728
|
+
ManifestSummary?: MediaAnalysisManifestSummary | undefined;
|
|
1720
1729
|
}
|
|
1721
1730
|
export interface ListMediaAnalysisJobsResponse {
|
|
1722
|
-
NextToken?: string;
|
|
1731
|
+
NextToken?: string | undefined;
|
|
1723
1732
|
MediaAnalysisJobs: MediaAnalysisJobDescription[] | undefined;
|
|
1724
1733
|
}
|
|
1725
1734
|
export interface ListProjectPoliciesRequest {
|
|
1726
1735
|
ProjectArn: string | undefined;
|
|
1727
|
-
NextToken?: string;
|
|
1728
|
-
MaxResults?: number;
|
|
1736
|
+
NextToken?: string | undefined;
|
|
1737
|
+
MaxResults?: number | undefined;
|
|
1729
1738
|
}
|
|
1730
1739
|
export interface ProjectPolicy {
|
|
1731
|
-
ProjectArn?: string;
|
|
1732
|
-
PolicyName?: string;
|
|
1733
|
-
PolicyRevisionId?: string;
|
|
1734
|
-
PolicyDocument?: string;
|
|
1735
|
-
CreationTimestamp?: Date;
|
|
1736
|
-
LastUpdatedTimestamp?: Date;
|
|
1740
|
+
ProjectArn?: string | undefined;
|
|
1741
|
+
PolicyName?: string | undefined;
|
|
1742
|
+
PolicyRevisionId?: string | undefined;
|
|
1743
|
+
PolicyDocument?: string | undefined;
|
|
1744
|
+
CreationTimestamp?: Date | undefined;
|
|
1745
|
+
LastUpdatedTimestamp?: Date | undefined;
|
|
1737
1746
|
}
|
|
1738
1747
|
export interface ListProjectPoliciesResponse {
|
|
1739
|
-
ProjectPolicies?: ProjectPolicy[];
|
|
1740
|
-
NextToken?: string;
|
|
1748
|
+
ProjectPolicies?: ProjectPolicy[] | undefined;
|
|
1749
|
+
NextToken?: string | undefined;
|
|
1741
1750
|
}
|
|
1742
1751
|
export interface ListStreamProcessorsRequest {
|
|
1743
|
-
NextToken?: string;
|
|
1744
|
-
MaxResults?: number;
|
|
1752
|
+
NextToken?: string | undefined;
|
|
1753
|
+
MaxResults?: number | undefined;
|
|
1745
1754
|
}
|
|
1746
1755
|
export interface StreamProcessor {
|
|
1747
|
-
Name?: string;
|
|
1748
|
-
Status?: StreamProcessorStatus;
|
|
1756
|
+
Name?: string | undefined;
|
|
1757
|
+
Status?: StreamProcessorStatus | undefined;
|
|
1749
1758
|
}
|
|
1750
1759
|
export interface ListStreamProcessorsResponse {
|
|
1751
|
-
NextToken?: string;
|
|
1752
|
-
StreamProcessors?: StreamProcessor[];
|
|
1760
|
+
NextToken?: string | undefined;
|
|
1761
|
+
StreamProcessors?: StreamProcessor[] | undefined;
|
|
1753
1762
|
}
|
|
1754
1763
|
export interface ListTagsForResourceRequest {
|
|
1755
1764
|
ResourceArn: string | undefined;
|
|
1756
1765
|
}
|
|
1757
1766
|
export interface ListTagsForResourceResponse {
|
|
1758
|
-
Tags?: Record<string, string
|
|
1767
|
+
Tags?: Record<string, string> | undefined;
|
|
1759
1768
|
}
|
|
1760
1769
|
export interface ListUsersRequest {
|
|
1761
1770
|
CollectionId: string | undefined;
|
|
1762
|
-
MaxResults?: number;
|
|
1763
|
-
NextToken?: string;
|
|
1771
|
+
MaxResults?: number | undefined;
|
|
1772
|
+
NextToken?: string | undefined;
|
|
1764
1773
|
}
|
|
1765
1774
|
export interface User {
|
|
1766
|
-
UserId?: string;
|
|
1767
|
-
UserStatus?: UserStatus;
|
|
1775
|
+
UserId?: string | undefined;
|
|
1776
|
+
UserStatus?: UserStatus | undefined;
|
|
1768
1777
|
}
|
|
1769
1778
|
export interface ListUsersResponse {
|
|
1770
|
-
Users?: User[];
|
|
1771
|
-
NextToken?: string;
|
|
1779
|
+
Users?: User[] | undefined;
|
|
1780
|
+
NextToken?: string | undefined;
|
|
1772
1781
|
}
|
|
1773
1782
|
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
1774
1783
|
readonly name: "MalformedPolicyDocumentException";
|
|
1775
1784
|
readonly $fault: "client";
|
|
1776
|
-
Message?: string;
|
|
1777
|
-
Code?: string;
|
|
1778
|
-
Logref?: string;
|
|
1785
|
+
Message?: string | undefined;
|
|
1786
|
+
Code?: string | undefined;
|
|
1787
|
+
Logref?: string | undefined;
|
|
1779
1788
|
constructor(
|
|
1780
1789
|
opts: __ExceptionOptionType<
|
|
1781
1790
|
MalformedPolicyDocumentException,
|