@aws-sdk/client-rekognition 3.533.0 → 3.540.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/dist-cjs/index.js +0 -3
- package/dist-es/endpoint/endpointResolver.js +3 -1
- package/dist-es/index.js +0 -1
- package/dist-types/Rekognition.d.ts +6 -1
- package/dist-types/RekognitionClient.d.ts +1 -1
- package/dist-types/commands/AssociateFacesCommand.d.ts +2 -1
- package/dist-types/commands/CompareFacesCommand.d.ts +2 -1
- package/dist-types/commands/CopyProjectVersionCommand.d.ts +2 -1
- package/dist-types/commands/CreateCollectionCommand.d.ts +2 -1
- package/dist-types/commands/CreateDatasetCommand.d.ts +2 -1
- package/dist-types/commands/CreateFaceLivenessSessionCommand.d.ts +2 -1
- package/dist-types/commands/CreateProjectCommand.d.ts +2 -1
- package/dist-types/commands/CreateProjectVersionCommand.d.ts +2 -1
- package/dist-types/commands/CreateStreamProcessorCommand.d.ts +2 -1
- package/dist-types/commands/CreateUserCommand.d.ts +2 -1
- package/dist-types/commands/DeleteCollectionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDatasetCommand.d.ts +2 -1
- package/dist-types/commands/DeleteFacesCommand.d.ts +2 -1
- package/dist-types/commands/DeleteProjectCommand.d.ts +2 -1
- package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteProjectVersionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteStreamProcessorCommand.d.ts +2 -1
- package/dist-types/commands/DeleteUserCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCollectionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeDatasetCommand.d.ts +2 -1
- package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeProjectsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeStreamProcessorCommand.d.ts +2 -1
- package/dist-types/commands/DetectCustomLabelsCommand.d.ts +2 -1
- package/dist-types/commands/DetectFacesCommand.d.ts +2 -1
- package/dist-types/commands/DetectLabelsCommand.d.ts +2 -1
- package/dist-types/commands/DetectModerationLabelsCommand.d.ts +2 -1
- package/dist-types/commands/DetectProtectiveEquipmentCommand.d.ts +2 -1
- package/dist-types/commands/DetectTextCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateFacesCommand.d.ts +2 -1
- package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +2 -1
- package/dist-types/commands/GetCelebrityInfoCommand.d.ts +2 -1
- package/dist-types/commands/GetCelebrityRecognitionCommand.d.ts +2 -1
- package/dist-types/commands/GetContentModerationCommand.d.ts +2 -1
- package/dist-types/commands/GetFaceDetectionCommand.d.ts +2 -1
- package/dist-types/commands/GetFaceLivenessSessionResultsCommand.d.ts +2 -1
- package/dist-types/commands/GetFaceSearchCommand.d.ts +2 -1
- package/dist-types/commands/GetLabelDetectionCommand.d.ts +2 -1
- package/dist-types/commands/GetMediaAnalysisJobCommand.d.ts +2 -1
- package/dist-types/commands/GetPersonTrackingCommand.d.ts +2 -1
- package/dist-types/commands/GetSegmentDetectionCommand.d.ts +2 -1
- package/dist-types/commands/GetTextDetectionCommand.d.ts +2 -1
- package/dist-types/commands/IndexFacesCommand.d.ts +2 -1
- package/dist-types/commands/ListCollectionsCommand.d.ts +2 -1
- package/dist-types/commands/ListDatasetEntriesCommand.d.ts +2 -1
- package/dist-types/commands/ListDatasetLabelsCommand.d.ts +2 -1
- package/dist-types/commands/ListFacesCommand.d.ts +2 -1
- package/dist-types/commands/ListMediaAnalysisJobsCommand.d.ts +2 -1
- package/dist-types/commands/ListProjectPoliciesCommand.d.ts +2 -1
- package/dist-types/commands/ListStreamProcessorsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/ListUsersCommand.d.ts +2 -1
- package/dist-types/commands/PutProjectPolicyCommand.d.ts +2 -1
- package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +2 -1
- package/dist-types/commands/SearchFacesByImageCommand.d.ts +2 -1
- package/dist-types/commands/SearchFacesCommand.d.ts +2 -1
- package/dist-types/commands/SearchUsersByImageCommand.d.ts +2 -1
- package/dist-types/commands/SearchUsersCommand.d.ts +2 -1
- package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +2 -1
- package/dist-types/commands/StartContentModerationCommand.d.ts +2 -1
- package/dist-types/commands/StartFaceDetectionCommand.d.ts +2 -1
- package/dist-types/commands/StartFaceSearchCommand.d.ts +2 -1
- package/dist-types/commands/StartLabelDetectionCommand.d.ts +2 -1
- package/dist-types/commands/StartMediaAnalysisJobCommand.d.ts +2 -1
- package/dist-types/commands/StartPersonTrackingCommand.d.ts +2 -1
- package/dist-types/commands/StartProjectVersionCommand.d.ts +2 -1
- package/dist-types/commands/StartSegmentDetectionCommand.d.ts +2 -1
- package/dist-types/commands/StartStreamProcessorCommand.d.ts +2 -1
- package/dist-types/commands/StartTextDetectionCommand.d.ts +2 -1
- package/dist-types/commands/StopProjectVersionCommand.d.ts +2 -1
- package/dist-types/commands/StopStreamProcessorCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +2 -1
- package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +2 -1
- package/dist-types/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +911 -911
- package/dist-types/models/models_1.d.ts +159 -159
- package/dist-types/ts3.4/Rekognition.d.ts +5 -0
- package/dist-types/ts3.4/commands/AssociateFacesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CompareFacesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CopyProjectVersionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateCollectionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateFaceLivenessSessionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateProjectVersionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateStreamProcessorCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteCollectionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteFacesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteProjectPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteProjectVersionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteStreamProcessorCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeCollectionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeProjectVersionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeProjectsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeStreamProcessorCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DetectCustomLabelsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DetectFacesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DetectLabelsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DetectModerationLabelsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DetectProtectiveEquipmentCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DetectTextCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DisassociateFacesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DistributeDatasetEntriesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetCelebrityInfoCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetCelebrityRecognitionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetContentModerationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetFaceDetectionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetFaceLivenessSessionResultsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetFaceSearchCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetLabelDetectionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetMediaAnalysisJobCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetPersonTrackingCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetSegmentDetectionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetTextDetectionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/IndexFacesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListCollectionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListDatasetEntriesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListDatasetLabelsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListFacesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListMediaAnalysisJobsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListProjectPoliciesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListStreamProcessorsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutProjectPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RecognizeCelebritiesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SearchFacesByImageCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SearchFacesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SearchUsersByImageCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartContentModerationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartFaceDetectionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartFaceSearchCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartLabelDetectionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartMediaAnalysisJobCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartPersonTrackingCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartProjectVersionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartSegmentDetectionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartStreamProcessorCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartTextDetectionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StopProjectVersionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StopStreamProcessorCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateDatasetEntriesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateStreamProcessorCommand.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +0 -1
- package/package.json +41 -41
|
@@ -2,36 +2,36 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
|
|
|
2
2
|
import { BlackFrame, BoundingBox, Celebrity, ComparedFace, ConnectedHomeSettingsForUpdate, DatasetChanges, DetectionFilter, FaceAttributes, FaceDetail, FaceMatch, Image, KinesisVideoStreamStartSelector, LabelDetectionFeatureName, LabelDetectionSettings, MediaAnalysisInput, MediaAnalysisOperationsConfig, MediaAnalysisOutputConfig, OrientationCorrection, ProjectVersionStatus, QualityFilter, RegionOfInterest, SegmentType, StreamProcessorDataSharingPreference, UserStatus, Video } from "./models_0";
|
|
3
3
|
import { RekognitionServiceException as __BaseException } from "./RekognitionServiceException";
|
|
4
4
|
/**
|
|
5
|
-
* @public
|
|
6
5
|
* <p>Contains metadata for a UserID matched with a given face.</p>
|
|
6
|
+
* @public
|
|
7
7
|
*/
|
|
8
8
|
export interface MatchedUser {
|
|
9
9
|
/**
|
|
10
|
-
* @public
|
|
11
10
|
* <p>A provided ID for the UserID. Unique within the collection.</p>
|
|
11
|
+
* @public
|
|
12
12
|
*/
|
|
13
13
|
UserId?: string;
|
|
14
14
|
/**
|
|
15
|
-
* @public
|
|
16
15
|
* <p>The status of the user matched to a provided FaceID.</p>
|
|
16
|
+
* @public
|
|
17
17
|
*/
|
|
18
18
|
UserStatus?: UserStatus;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
|
-
* @public
|
|
22
21
|
* <p>The Amazon Simple Notification Service topic to which Amazon Rekognition publishes the completion status of a video analysis operation. For more information, see
|
|
23
22
|
* <a href="https://docs.aws.amazon.com/rekognition/latest/dg/api-video.html">Calling Amazon Rekognition Video operations</a>. Note that the Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.
|
|
24
23
|
* For more information, see <a href="https://docs.aws.amazon.com/rekognition/latest/dg/api-video-roles.html#api-video-roles-all-topics">Giving access to multiple Amazon SNS topics</a>.</p>
|
|
24
|
+
* @public
|
|
25
25
|
*/
|
|
26
26
|
export interface NotificationChannel {
|
|
27
27
|
/**
|
|
28
|
-
* @public
|
|
29
28
|
* <p>The Amazon SNS topic to which Amazon Rekognition posts the completion status.</p>
|
|
29
|
+
* @public
|
|
30
30
|
*/
|
|
31
31
|
SNSTopicArn: string | undefined;
|
|
32
32
|
/**
|
|
33
|
-
* @public
|
|
34
33
|
* <p>The ARN of an IAM role that gives Amazon Rekognition publishing permissions to the Amazon SNS topic. </p>
|
|
34
|
+
* @public
|
|
35
35
|
*/
|
|
36
36
|
RoleArn: string | undefined;
|
|
37
37
|
}
|
|
@@ -40,29 +40,29 @@ export interface NotificationChannel {
|
|
|
40
40
|
*/
|
|
41
41
|
export interface PutProjectPolicyRequest {
|
|
42
42
|
/**
|
|
43
|
-
* @public
|
|
44
43
|
* <p>The Amazon Resource Name (ARN) of the project that the project policy is attached to.</p>
|
|
44
|
+
* @public
|
|
45
45
|
*/
|
|
46
46
|
ProjectArn: string | undefined;
|
|
47
47
|
/**
|
|
48
|
-
* @public
|
|
49
48
|
* <p>A name for the policy.</p>
|
|
49
|
+
* @public
|
|
50
50
|
*/
|
|
51
51
|
PolicyName: string | undefined;
|
|
52
52
|
/**
|
|
53
|
-
* @public
|
|
54
53
|
* <p>The revision ID for the Project Policy. Each time you modify a policy, Amazon Rekognition Custom Labels
|
|
55
54
|
* generates and assigns a new <code>PolicyRevisionId</code> and then deletes the previous version of the
|
|
56
55
|
* policy.</p>
|
|
56
|
+
* @public
|
|
57
57
|
*/
|
|
58
58
|
PolicyRevisionId?: string;
|
|
59
59
|
/**
|
|
60
|
-
* @public
|
|
61
60
|
* <p>A resource policy to add to the model. The policy is a JSON structure that contains
|
|
62
61
|
* one or more statements that define the policy.
|
|
63
62
|
* The policy must follow the IAM syntax. For
|
|
64
63
|
* more information about the contents of a JSON policy document, see
|
|
65
64
|
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html">IAM JSON policy reference</a>. </p>
|
|
65
|
+
* @public
|
|
66
66
|
*/
|
|
67
67
|
PolicyDocument: string | undefined;
|
|
68
68
|
}
|
|
@@ -71,8 +71,8 @@ export interface PutProjectPolicyRequest {
|
|
|
71
71
|
*/
|
|
72
72
|
export interface PutProjectPolicyResponse {
|
|
73
73
|
/**
|
|
74
|
-
* @public
|
|
75
74
|
* <p>The ID of the project policy.</p>
|
|
75
|
+
* @public
|
|
76
76
|
*/
|
|
77
77
|
PolicyRevisionId?: string;
|
|
78
78
|
}
|
|
@@ -81,12 +81,12 @@ export interface PutProjectPolicyResponse {
|
|
|
81
81
|
*/
|
|
82
82
|
export interface RecognizeCelebritiesRequest {
|
|
83
83
|
/**
|
|
84
|
-
* @public
|
|
85
84
|
* <p>The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to
|
|
86
85
|
* call Amazon Rekognition operations, passing base64-encoded image bytes is not supported. </p>
|
|
87
86
|
* <p>If you are using an AWS SDK to call Amazon Rekognition, you might not need to
|
|
88
87
|
* base64-encode image bytes passed using the <code>Bytes</code> field. For more information, see
|
|
89
88
|
* Images in the Amazon Rekognition developer guide.</p>
|
|
89
|
+
* @public
|
|
90
90
|
*/
|
|
91
91
|
Image: Image | undefined;
|
|
92
92
|
}
|
|
@@ -95,22 +95,21 @@ export interface RecognizeCelebritiesRequest {
|
|
|
95
95
|
*/
|
|
96
96
|
export interface RecognizeCelebritiesResponse {
|
|
97
97
|
/**
|
|
98
|
-
* @public
|
|
99
98
|
* <p>Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 64
|
|
100
99
|
* celebrities in an image. Each celebrity object includes the following attributes:
|
|
101
100
|
* <code>Face</code>, <code>Confidence</code>, <code>Emotions</code>, <code>Landmarks</code>,
|
|
102
101
|
* <code>Pose</code>, <code>Quality</code>, <code>Smile</code>, <code>Id</code>,
|
|
103
102
|
* <code>KnownGender</code>, <code>MatchConfidence</code>, <code>Name</code>,
|
|
104
103
|
* <code>Urls</code>.</p>
|
|
104
|
+
* @public
|
|
105
105
|
*/
|
|
106
106
|
CelebrityFaces?: Celebrity[];
|
|
107
107
|
/**
|
|
108
|
-
* @public
|
|
109
108
|
* <p>Details about each unrecognized face in the image.</p>
|
|
109
|
+
* @public
|
|
110
110
|
*/
|
|
111
111
|
UnrecognizedFaces?: ComparedFace[];
|
|
112
112
|
/**
|
|
113
|
-
* @public
|
|
114
113
|
* <note>
|
|
115
114
|
* <p>Support for estimating image orientation using the the OrientationCorrection field
|
|
116
115
|
* has ceased as of August 2021. Any returned values for this field included in an API response
|
|
@@ -128,6 +127,7 @@ export interface RecognizeCelebritiesResponse {
|
|
|
128
127
|
* coordinates represent face locations after Exif metadata is used to correct the image
|
|
129
128
|
* orientation. Images in .png format don't contain Exif metadata. </p>
|
|
130
129
|
* </note>
|
|
130
|
+
* @public
|
|
131
131
|
*/
|
|
132
132
|
OrientationCorrection?: OrientationCorrection;
|
|
133
133
|
}
|
|
@@ -136,26 +136,26 @@ export interface RecognizeCelebritiesResponse {
|
|
|
136
136
|
*/
|
|
137
137
|
export interface SearchFacesRequest {
|
|
138
138
|
/**
|
|
139
|
-
* @public
|
|
140
139
|
* <p>ID of the collection the face belongs to.</p>
|
|
140
|
+
* @public
|
|
141
141
|
*/
|
|
142
142
|
CollectionId: string | undefined;
|
|
143
143
|
/**
|
|
144
|
-
* @public
|
|
145
144
|
* <p>ID of a face to find matches for in the collection.</p>
|
|
145
|
+
* @public
|
|
146
146
|
*/
|
|
147
147
|
FaceId: string | undefined;
|
|
148
148
|
/**
|
|
149
|
-
* @public
|
|
150
149
|
* <p>Maximum number of faces to return. The operation returns the maximum number of faces
|
|
151
150
|
* with the highest confidence in the match.</p>
|
|
151
|
+
* @public
|
|
152
152
|
*/
|
|
153
153
|
MaxFaces?: number;
|
|
154
154
|
/**
|
|
155
|
-
* @public
|
|
156
155
|
* <p>Optional value specifying the minimum confidence in the face match to return. For
|
|
157
156
|
* example, don't return any matches where confidence in matches is less than 70%. The default
|
|
158
157
|
* value is 80%. </p>
|
|
158
|
+
* @public
|
|
159
159
|
*/
|
|
160
160
|
FaceMatchThreshold?: number;
|
|
161
161
|
}
|
|
@@ -164,20 +164,20 @@ export interface SearchFacesRequest {
|
|
|
164
164
|
*/
|
|
165
165
|
export interface SearchFacesResponse {
|
|
166
166
|
/**
|
|
167
|
-
* @public
|
|
168
167
|
* <p>ID of the face that was searched for matches in a collection.</p>
|
|
168
|
+
* @public
|
|
169
169
|
*/
|
|
170
170
|
SearchedFaceId?: string;
|
|
171
171
|
/**
|
|
172
|
-
* @public
|
|
173
172
|
* <p>An array of faces that matched the input face, along with the confidence in the
|
|
174
173
|
* match.</p>
|
|
174
|
+
* @public
|
|
175
175
|
*/
|
|
176
176
|
FaceMatches?: FaceMatch[];
|
|
177
177
|
/**
|
|
178
|
-
* @public
|
|
179
178
|
* <p>Version number of the face detection model associated with the input collection
|
|
180
179
|
* (<code>CollectionId</code>).</p>
|
|
180
|
+
* @public
|
|
181
181
|
*/
|
|
182
182
|
FaceModelVersion?: string;
|
|
183
183
|
}
|
|
@@ -186,34 +186,33 @@ export interface SearchFacesResponse {
|
|
|
186
186
|
*/
|
|
187
187
|
export interface SearchFacesByImageRequest {
|
|
188
188
|
/**
|
|
189
|
-
* @public
|
|
190
189
|
* <p>ID of the collection to search.</p>
|
|
190
|
+
* @public
|
|
191
191
|
*/
|
|
192
192
|
CollectionId: string | undefined;
|
|
193
193
|
/**
|
|
194
|
-
* @public
|
|
195
194
|
* <p>The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to
|
|
196
195
|
* call Amazon Rekognition operations, passing base64-encoded image bytes is not supported. </p>
|
|
197
196
|
* <p>If you are using an AWS SDK to call Amazon Rekognition, you might not need to
|
|
198
197
|
* base64-encode image bytes passed using the <code>Bytes</code> field. For more information, see
|
|
199
198
|
* Images in the Amazon Rekognition developer guide.</p>
|
|
199
|
+
* @public
|
|
200
200
|
*/
|
|
201
201
|
Image: Image | undefined;
|
|
202
202
|
/**
|
|
203
|
-
* @public
|
|
204
203
|
* <p>Maximum number of faces to return. The operation returns the maximum number of faces
|
|
205
204
|
* with the highest confidence in the match.</p>
|
|
205
|
+
* @public
|
|
206
206
|
*/
|
|
207
207
|
MaxFaces?: number;
|
|
208
208
|
/**
|
|
209
|
-
* @public
|
|
210
209
|
* <p>(Optional) Specifies the minimum confidence in the face match to return. For example,
|
|
211
210
|
* don't return any matches where confidence in matches is less than 70%. The default value is
|
|
212
211
|
* 80%.</p>
|
|
212
|
+
* @public
|
|
213
213
|
*/
|
|
214
214
|
FaceMatchThreshold?: number;
|
|
215
215
|
/**
|
|
216
|
-
* @public
|
|
217
216
|
* <p>A filter that specifies a quality bar for how much filtering is done to identify faces.
|
|
218
217
|
* Filtered faces aren't searched for in the collection. If you specify <code>AUTO</code>,
|
|
219
218
|
* Amazon Rekognition chooses the quality bar. If you specify <code>LOW</code>, <code>MEDIUM</code>, or
|
|
@@ -225,6 +224,7 @@ export interface SearchFacesByImageRequest {
|
|
|
225
224
|
* filtering is performed. The default value is <code>NONE</code>. </p>
|
|
226
225
|
* <p>To use quality filtering, the collection you are using must be associated with version 3
|
|
227
226
|
* of the face model or higher.</p>
|
|
227
|
+
* @public
|
|
228
228
|
*/
|
|
229
229
|
QualityFilter?: QualityFilter;
|
|
230
230
|
}
|
|
@@ -233,27 +233,27 @@ export interface SearchFacesByImageRequest {
|
|
|
233
233
|
*/
|
|
234
234
|
export interface SearchFacesByImageResponse {
|
|
235
235
|
/**
|
|
236
|
-
* @public
|
|
237
236
|
* <p>The bounding box around the face in the input image that Amazon Rekognition used for the
|
|
238
237
|
* search.</p>
|
|
238
|
+
* @public
|
|
239
239
|
*/
|
|
240
240
|
SearchedFaceBoundingBox?: BoundingBox;
|
|
241
241
|
/**
|
|
242
|
-
* @public
|
|
243
242
|
* <p>The level of confidence that the <code>searchedFaceBoundingBox</code>, contains a
|
|
244
243
|
* face.</p>
|
|
244
|
+
* @public
|
|
245
245
|
*/
|
|
246
246
|
SearchedFaceConfidence?: number;
|
|
247
247
|
/**
|
|
248
|
-
* @public
|
|
249
248
|
* <p>An array of faces that match the input face, along with the confidence in the
|
|
250
249
|
* match.</p>
|
|
250
|
+
* @public
|
|
251
251
|
*/
|
|
252
252
|
FaceMatches?: FaceMatch[];
|
|
253
253
|
/**
|
|
254
|
-
* @public
|
|
255
254
|
* <p>Version number of the face detection model associated with the input collection
|
|
256
255
|
* (<code>CollectionId</code>).</p>
|
|
256
|
+
* @public
|
|
257
257
|
*/
|
|
258
258
|
FaceModelVersion?: string;
|
|
259
259
|
}
|
|
@@ -262,70 +262,70 @@ export interface SearchFacesByImageResponse {
|
|
|
262
262
|
*/
|
|
263
263
|
export interface SearchUsersRequest {
|
|
264
264
|
/**
|
|
265
|
-
* @public
|
|
266
265
|
* <p>The ID of an existing collection containing the UserID, used with a UserId or FaceId. If a
|
|
267
266
|
* FaceId is provided, UserId isn’t required to be present in the Collection.</p>
|
|
267
|
+
* @public
|
|
268
268
|
*/
|
|
269
269
|
CollectionId: string | undefined;
|
|
270
270
|
/**
|
|
271
|
-
* @public
|
|
272
271
|
* <p>ID for the existing User.</p>
|
|
272
|
+
* @public
|
|
273
273
|
*/
|
|
274
274
|
UserId?: string;
|
|
275
275
|
/**
|
|
276
|
-
* @public
|
|
277
276
|
* <p>ID for the existing face.</p>
|
|
277
|
+
* @public
|
|
278
278
|
*/
|
|
279
279
|
FaceId?: string;
|
|
280
280
|
/**
|
|
281
|
-
* @public
|
|
282
281
|
* <p>Optional value that specifies the minimum confidence in the matched UserID to return.
|
|
283
282
|
* Default value of 80.</p>
|
|
283
|
+
* @public
|
|
284
284
|
*/
|
|
285
285
|
UserMatchThreshold?: number;
|
|
286
286
|
/**
|
|
287
|
-
* @public
|
|
288
287
|
* <p>Maximum number of identities to return.</p>
|
|
288
|
+
* @public
|
|
289
289
|
*/
|
|
290
290
|
MaxUsers?: number;
|
|
291
291
|
}
|
|
292
292
|
/**
|
|
293
|
-
* @public
|
|
294
293
|
* <p>Provides face metadata such as FaceId, BoundingBox, Confidence of the input face used for
|
|
295
294
|
* search.</p>
|
|
295
|
+
* @public
|
|
296
296
|
*/
|
|
297
297
|
export interface SearchedFace {
|
|
298
298
|
/**
|
|
299
|
-
* @public
|
|
300
299
|
* <p> Unique identifier assigned to the face.</p>
|
|
300
|
+
* @public
|
|
301
301
|
*/
|
|
302
302
|
FaceId?: string;
|
|
303
303
|
}
|
|
304
304
|
/**
|
|
305
|
-
* @public
|
|
306
305
|
* <p>Contains metadata about a User searched for within a collection.</p>
|
|
306
|
+
* @public
|
|
307
307
|
*/
|
|
308
308
|
export interface SearchedUser {
|
|
309
309
|
/**
|
|
310
|
-
* @public
|
|
311
310
|
* <p> A provided ID for the UserID. Unique within the collection. </p>
|
|
311
|
+
* @public
|
|
312
312
|
*/
|
|
313
313
|
UserId?: string;
|
|
314
314
|
}
|
|
315
315
|
/**
|
|
316
|
-
* @public
|
|
317
316
|
* <p>Provides UserID metadata along with the confidence in the match of this UserID with the
|
|
318
317
|
* input face.</p>
|
|
318
|
+
* @public
|
|
319
319
|
*/
|
|
320
320
|
export interface UserMatch {
|
|
321
321
|
/**
|
|
322
|
-
* @public
|
|
323
322
|
* <p> Describes the UserID metadata.</p>
|
|
323
|
+
* @public
|
|
324
324
|
*/
|
|
325
325
|
Similarity?: number;
|
|
326
326
|
/**
|
|
327
|
-
* @public
|
|
328
327
|
* <p> Confidence in the match of this UserID with the input face. </p>
|
|
328
|
+
* @public
|
|
329
329
|
*/
|
|
330
330
|
User?: MatchedUser;
|
|
331
331
|
}
|
|
@@ -334,24 +334,24 @@ export interface UserMatch {
|
|
|
334
334
|
*/
|
|
335
335
|
export interface SearchUsersResponse {
|
|
336
336
|
/**
|
|
337
|
-
* @public
|
|
338
337
|
* <p>An array of UserMatch objects that matched the input face along with the confidence in the
|
|
339
338
|
* match. Array will be empty if there are no matches.</p>
|
|
339
|
+
* @public
|
|
340
340
|
*/
|
|
341
341
|
UserMatches?: UserMatch[];
|
|
342
342
|
/**
|
|
343
|
-
* @public
|
|
344
343
|
* <p>Version number of the face detection model associated with the input CollectionId.</p>
|
|
344
|
+
* @public
|
|
345
345
|
*/
|
|
346
346
|
FaceModelVersion?: string;
|
|
347
347
|
/**
|
|
348
|
-
* @public
|
|
349
348
|
* <p>Contains the ID of a face that was used to search for matches in a collection.</p>
|
|
349
|
+
* @public
|
|
350
350
|
*/
|
|
351
351
|
SearchedFace?: SearchedFace;
|
|
352
352
|
/**
|
|
353
|
-
* @public
|
|
354
353
|
* <p>Contains the ID of the UserID that was used to search for matches in a collection.</p>
|
|
354
|
+
* @public
|
|
355
355
|
*/
|
|
356
356
|
SearchedUser?: SearchedUser;
|
|
357
357
|
}
|
|
@@ -360,12 +360,11 @@ export interface SearchUsersResponse {
|
|
|
360
360
|
*/
|
|
361
361
|
export interface SearchUsersByImageRequest {
|
|
362
362
|
/**
|
|
363
|
-
* @public
|
|
364
363
|
* <p>The ID of an existing collection containing the UserID.</p>
|
|
364
|
+
* @public
|
|
365
365
|
*/
|
|
366
366
|
CollectionId: string | undefined;
|
|
367
367
|
/**
|
|
368
|
-
* @public
|
|
369
368
|
* <p>Provides the input image either as bytes or an S3 object.</p>
|
|
370
369
|
* <p>You pass image bytes to an Amazon Rekognition API operation by using the <code>Bytes</code>
|
|
371
370
|
* property. For example, you would use the <code>Bytes</code> property to pass an image loaded
|
|
@@ -385,33 +384,33 @@ export interface SearchUsersByImageRequest {
|
|
|
385
384
|
* <p>For Amazon Rekognition to process an S3 object, the user must have permission to
|
|
386
385
|
* access the S3 object. For more information, see How Amazon Rekognition works with IAM in the
|
|
387
386
|
* Amazon Rekognition Developer Guide. </p>
|
|
387
|
+
* @public
|
|
388
388
|
*/
|
|
389
389
|
Image: Image | undefined;
|
|
390
390
|
/**
|
|
391
|
-
* @public
|
|
392
391
|
* <p>Specifies the minimum confidence in the UserID match to return. Default value is
|
|
393
392
|
* 80.</p>
|
|
393
|
+
* @public
|
|
394
394
|
*/
|
|
395
395
|
UserMatchThreshold?: number;
|
|
396
396
|
/**
|
|
397
|
-
* @public
|
|
398
397
|
* <p>Maximum number of UserIDs to return.</p>
|
|
398
|
+
* @public
|
|
399
399
|
*/
|
|
400
400
|
MaxUsers?: number;
|
|
401
401
|
/**
|
|
402
|
-
* @public
|
|
403
402
|
* <p>A filter that specifies a quality bar for how much filtering is done to identify faces.
|
|
404
403
|
* Filtered faces aren't searched for in the collection. The default value is NONE.</p>
|
|
404
|
+
* @public
|
|
405
405
|
*/
|
|
406
406
|
QualityFilter?: QualityFilter;
|
|
407
407
|
}
|
|
408
408
|
/**
|
|
409
|
-
* @public
|
|
410
409
|
* <p>Contains data regarding the input face used for a search.</p>
|
|
410
|
+
* @public
|
|
411
411
|
*/
|
|
412
412
|
export interface SearchedFaceDetails {
|
|
413
413
|
/**
|
|
414
|
-
* @public
|
|
415
414
|
* <p>Structure containing attributes of the face that the algorithm detected.</p>
|
|
416
415
|
* <p>A <code>FaceDetail</code> object contains either the default facial attributes or all
|
|
417
416
|
* facial attributes. The default attributes are <code>BoundingBox</code>,
|
|
@@ -438,6 +437,7 @@ export interface SearchedFaceDetails {
|
|
|
438
437
|
* can return all facial attributes. To specify which attributes to return, use the
|
|
439
438
|
* <code>Attributes</code> input parameter for <code>DetectFaces</code>. For
|
|
440
439
|
* <code>IndexFaces</code>, use the <code>DetectAttributes</code> input parameter.</p>
|
|
440
|
+
* @public
|
|
441
441
|
*/
|
|
442
442
|
FaceDetail?: FaceDetail;
|
|
443
443
|
}
|
|
@@ -460,13 +460,12 @@ export declare const UnsearchedFaceReason: {
|
|
|
460
460
|
*/
|
|
461
461
|
export type UnsearchedFaceReason = (typeof UnsearchedFaceReason)[keyof typeof UnsearchedFaceReason];
|
|
462
462
|
/**
|
|
463
|
-
* @public
|
|
464
463
|
* <p>Face details inferred from the image but not used for search. The response attribute
|
|
465
464
|
* contains reasons for why a face wasn't used for Search. </p>
|
|
465
|
+
* @public
|
|
466
466
|
*/
|
|
467
467
|
export interface UnsearchedFace {
|
|
468
468
|
/**
|
|
469
|
-
* @public
|
|
470
469
|
* <p>Structure containing attributes of the face that the algorithm detected.</p>
|
|
471
470
|
* <p>A <code>FaceDetail</code> object contains either the default facial attributes or all
|
|
472
471
|
* facial attributes. The default attributes are <code>BoundingBox</code>,
|
|
@@ -493,11 +492,12 @@ export interface UnsearchedFace {
|
|
|
493
492
|
* can return all facial attributes. To specify which attributes to return, use the
|
|
494
493
|
* <code>Attributes</code> input parameter for <code>DetectFaces</code>. For
|
|
495
494
|
* <code>IndexFaces</code>, use the <code>DetectAttributes</code> input parameter.</p>
|
|
495
|
+
* @public
|
|
496
496
|
*/
|
|
497
497
|
FaceDetails?: FaceDetail;
|
|
498
498
|
/**
|
|
499
|
-
* @public
|
|
500
499
|
* <p> Reasons why a face wasn't used for Search. </p>
|
|
500
|
+
* @public
|
|
501
501
|
*/
|
|
502
502
|
Reasons?: UnsearchedFaceReason[];
|
|
503
503
|
}
|
|
@@ -506,30 +506,30 @@ export interface UnsearchedFace {
|
|
|
506
506
|
*/
|
|
507
507
|
export interface SearchUsersByImageResponse {
|
|
508
508
|
/**
|
|
509
|
-
* @public
|
|
510
509
|
* <p>An array of UserID objects that matched the input face, along with the confidence in the
|
|
511
510
|
* match. The returned structure will be empty if there are no matches. Returned if the
|
|
512
511
|
* SearchUsersByImageResponse action is successful.</p>
|
|
512
|
+
* @public
|
|
513
513
|
*/
|
|
514
514
|
UserMatches?: UserMatch[];
|
|
515
515
|
/**
|
|
516
|
-
* @public
|
|
517
516
|
* <p>Version number of the face detection model associated with the input collection
|
|
518
517
|
* CollectionId.</p>
|
|
518
|
+
* @public
|
|
519
519
|
*/
|
|
520
520
|
FaceModelVersion?: string;
|
|
521
521
|
/**
|
|
522
|
-
* @public
|
|
523
522
|
* <p>A list of FaceDetail objects containing the BoundingBox for the largest face in image, as
|
|
524
523
|
* well as the confidence in the bounding box, that was searched for matches. If no valid face is
|
|
525
524
|
* detected in the image the response will contain no SearchedFace object.</p>
|
|
525
|
+
* @public
|
|
526
526
|
*/
|
|
527
527
|
SearchedFace?: SearchedFaceDetails;
|
|
528
528
|
/**
|
|
529
|
-
* @public
|
|
530
529
|
* <p>List of UnsearchedFace objects. Contains the face details infered from the specified image
|
|
531
530
|
* but not used for search. Contains reasons that describe why a face wasn't used for Search.
|
|
532
531
|
* </p>
|
|
532
|
+
* @public
|
|
533
533
|
*/
|
|
534
534
|
UnsearchedFaces?: UnsearchedFace[];
|
|
535
535
|
}
|
|
@@ -538,28 +538,28 @@ export interface SearchUsersByImageResponse {
|
|
|
538
538
|
*/
|
|
539
539
|
export interface StartCelebrityRecognitionRequest {
|
|
540
540
|
/**
|
|
541
|
-
* @public
|
|
542
541
|
* <p>The video in which you want to recognize celebrities. The video must be stored
|
|
543
542
|
* in an Amazon S3 bucket.</p>
|
|
543
|
+
* @public
|
|
544
544
|
*/
|
|
545
545
|
Video: Video | undefined;
|
|
546
546
|
/**
|
|
547
|
-
* @public
|
|
548
547
|
* <p>Idempotent token used to identify the start request. If you use the same token with multiple
|
|
549
548
|
* <code>StartCelebrityRecognition</code> requests, the same <code>JobId</code> is returned. Use
|
|
550
549
|
* <code>ClientRequestToken</code> to prevent the same job from being accidently started more than once. </p>
|
|
550
|
+
* @public
|
|
551
551
|
*/
|
|
552
552
|
ClientRequestToken?: string;
|
|
553
553
|
/**
|
|
554
|
-
* @public
|
|
555
554
|
* <p>The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the
|
|
556
555
|
* celebrity recognition analysis to. The Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy.</p>
|
|
556
|
+
* @public
|
|
557
557
|
*/
|
|
558
558
|
NotificationChannel?: NotificationChannel;
|
|
559
559
|
/**
|
|
560
|
-
* @public
|
|
561
560
|
* <p>An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.
|
|
562
561
|
* For example, you can use <code>JobTag</code> to group related jobs and identify them in the completion notification.</p>
|
|
562
|
+
* @public
|
|
563
563
|
*/
|
|
564
564
|
JobTag?: string;
|
|
565
565
|
}
|
|
@@ -568,16 +568,16 @@ export interface StartCelebrityRecognitionRequest {
|
|
|
568
568
|
*/
|
|
569
569
|
export interface StartCelebrityRecognitionResponse {
|
|
570
570
|
/**
|
|
571
|
-
* @public
|
|
572
571
|
* <p>The identifier for the celebrity recognition analysis job. Use <code>JobId</code> to identify the job in
|
|
573
572
|
* a subsequent call to <code>GetCelebrityRecognition</code>.</p>
|
|
573
|
+
* @public
|
|
574
574
|
*/
|
|
575
575
|
JobId?: string;
|
|
576
576
|
}
|
|
577
577
|
/**
|
|
578
|
-
* @public
|
|
579
578
|
* <p>The file size or duration of the supplied media is too large. The maximum file size is 10GB.
|
|
580
579
|
* The maximum duration is 6 hours. </p>
|
|
580
|
+
* @public
|
|
581
581
|
*/
|
|
582
582
|
export declare class VideoTooLargeException extends __BaseException {
|
|
583
583
|
readonly name: "VideoTooLargeException";
|
|
@@ -585,8 +585,8 @@ export declare class VideoTooLargeException extends __BaseException {
|
|
|
585
585
|
Message?: string;
|
|
586
586
|
Code?: string;
|
|
587
587
|
/**
|
|
588
|
-
* @public
|
|
589
588
|
* <p>A universally unique identifier (UUID) for the request.</p>
|
|
589
|
+
* @public
|
|
590
590
|
*/
|
|
591
591
|
Logref?: string;
|
|
592
592
|
/**
|
|
@@ -599,37 +599,37 @@ export declare class VideoTooLargeException extends __BaseException {
|
|
|
599
599
|
*/
|
|
600
600
|
export interface StartContentModerationRequest {
|
|
601
601
|
/**
|
|
602
|
-
* @public
|
|
603
602
|
* <p>The video in which you want to detect inappropriate, unwanted, or offensive content. The video must be stored
|
|
604
603
|
* in an Amazon S3 bucket.</p>
|
|
604
|
+
* @public
|
|
605
605
|
*/
|
|
606
606
|
Video: Video | undefined;
|
|
607
607
|
/**
|
|
608
|
-
* @public
|
|
609
608
|
* <p>Specifies the minimum confidence that Amazon Rekognition must have in order to return a moderated content label. Confidence
|
|
610
609
|
* represents how certain Amazon Rekognition is that the moderated content is correctly identified. 0 is the lowest confidence.
|
|
611
610
|
* 100 is the highest confidence. Amazon Rekognition doesn't return any moderated content labels with a confidence level
|
|
612
611
|
* lower than this specified value. If you don't specify <code>MinConfidence</code>, <code>GetContentModeration</code>
|
|
613
612
|
* returns labels with confidence values greater than or equal to 50 percent.</p>
|
|
613
|
+
* @public
|
|
614
614
|
*/
|
|
615
615
|
MinConfidence?: number;
|
|
616
616
|
/**
|
|
617
|
-
* @public
|
|
618
617
|
* <p>Idempotent token used to identify the start request. If you use the same token with multiple
|
|
619
618
|
* <code>StartContentModeration</code> requests, the same <code>JobId</code> is returned. Use
|
|
620
619
|
* <code>ClientRequestToken</code> to prevent the same job from being accidently started more than once. </p>
|
|
620
|
+
* @public
|
|
621
621
|
*/
|
|
622
622
|
ClientRequestToken?: string;
|
|
623
623
|
/**
|
|
624
|
-
* @public
|
|
625
624
|
* <p>The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the
|
|
626
625
|
* content analysis to. The Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.</p>
|
|
626
|
+
* @public
|
|
627
627
|
*/
|
|
628
628
|
NotificationChannel?: NotificationChannel;
|
|
629
629
|
/**
|
|
630
|
-
* @public
|
|
631
630
|
* <p>An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.
|
|
632
631
|
* For example, you can use <code>JobTag</code> to group related jobs and identify them in the completion notification.</p>
|
|
632
|
+
* @public
|
|
633
633
|
*/
|
|
634
634
|
JobTag?: string;
|
|
635
635
|
}
|
|
@@ -638,9 +638,9 @@ export interface StartContentModerationRequest {
|
|
|
638
638
|
*/
|
|
639
639
|
export interface StartContentModerationResponse {
|
|
640
640
|
/**
|
|
641
|
-
* @public
|
|
642
641
|
* <p>The identifier for the content analysis job. Use <code>JobId</code> to identify the job in
|
|
643
642
|
* a subsequent call to <code>GetContentModeration</code>.</p>
|
|
643
|
+
* @public
|
|
644
644
|
*/
|
|
645
645
|
JobId?: string;
|
|
646
646
|
}
|
|
@@ -649,37 +649,37 @@ export interface StartContentModerationResponse {
|
|
|
649
649
|
*/
|
|
650
650
|
export interface StartFaceDetectionRequest {
|
|
651
651
|
/**
|
|
652
|
-
* @public
|
|
653
652
|
* <p>The video in which you want to detect faces. The video must be stored
|
|
654
653
|
* in an Amazon S3 bucket.</p>
|
|
654
|
+
* @public
|
|
655
655
|
*/
|
|
656
656
|
Video: Video | undefined;
|
|
657
657
|
/**
|
|
658
|
-
* @public
|
|
659
658
|
* <p>Idempotent token used to identify the start request. If you use the same token with multiple
|
|
660
659
|
* <code>StartFaceDetection</code> requests, the same <code>JobId</code> is returned. Use
|
|
661
660
|
* <code>ClientRequestToken</code> to prevent the same job from being accidently started more than once. </p>
|
|
661
|
+
* @public
|
|
662
662
|
*/
|
|
663
663
|
ClientRequestToken?: string;
|
|
664
664
|
/**
|
|
665
|
-
* @public
|
|
666
665
|
* <p>The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the
|
|
667
666
|
* face detection operation. The Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy.</p>
|
|
667
|
+
* @public
|
|
668
668
|
*/
|
|
669
669
|
NotificationChannel?: NotificationChannel;
|
|
670
670
|
/**
|
|
671
|
-
* @public
|
|
672
671
|
* <p>The face attributes you want returned.</p>
|
|
673
672
|
* <p>
|
|
674
673
|
* <code>DEFAULT</code> - The following subset of facial attributes are returned: BoundingBox, Confidence, Pose, Quality and Landmarks. </p>
|
|
675
674
|
* <p>
|
|
676
675
|
* <code>ALL</code> - All facial attributes are returned.</p>
|
|
676
|
+
* @public
|
|
677
677
|
*/
|
|
678
678
|
FaceAttributes?: FaceAttributes;
|
|
679
679
|
/**
|
|
680
|
-
* @public
|
|
681
680
|
* <p>An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.
|
|
682
681
|
* For example, you can use <code>JobTag</code> to group related jobs and identify them in the completion notification.</p>
|
|
682
|
+
* @public
|
|
683
683
|
*/
|
|
684
684
|
JobTag?: string;
|
|
685
685
|
}
|
|
@@ -688,9 +688,9 @@ export interface StartFaceDetectionRequest {
|
|
|
688
688
|
*/
|
|
689
689
|
export interface StartFaceDetectionResponse {
|
|
690
690
|
/**
|
|
691
|
-
* @public
|
|
692
691
|
* <p>The identifier for the face detection job. Use <code>JobId</code> to identify the job in
|
|
693
692
|
* a subsequent call to <code>GetFaceDetection</code>.</p>
|
|
693
|
+
* @public
|
|
694
694
|
*/
|
|
695
695
|
JobId?: string;
|
|
696
696
|
}
|
|
@@ -699,37 +699,37 @@ export interface StartFaceDetectionResponse {
|
|
|
699
699
|
*/
|
|
700
700
|
export interface StartFaceSearchRequest {
|
|
701
701
|
/**
|
|
702
|
-
* @public
|
|
703
702
|
* <p>The video you want to search. The video must be stored in an Amazon S3 bucket. </p>
|
|
703
|
+
* @public
|
|
704
704
|
*/
|
|
705
705
|
Video: Video | undefined;
|
|
706
706
|
/**
|
|
707
|
-
* @public
|
|
708
707
|
* <p>Idempotent token used to identify the start request. If you use the same token with multiple
|
|
709
708
|
* <code>StartFaceSearch</code> requests, the same <code>JobId</code> is returned. Use
|
|
710
709
|
* <code>ClientRequestToken</code> to prevent the same job from being accidently started more than once. </p>
|
|
710
|
+
* @public
|
|
711
711
|
*/
|
|
712
712
|
ClientRequestToken?: string;
|
|
713
713
|
/**
|
|
714
|
-
* @public
|
|
715
714
|
* <p>The minimum confidence in the person match to return. For example, don't return any matches where confidence in matches is less than 70%.
|
|
716
715
|
* The default value is 80%.</p>
|
|
716
|
+
* @public
|
|
717
717
|
*/
|
|
718
718
|
FaceMatchThreshold?: number;
|
|
719
719
|
/**
|
|
720
|
-
* @public
|
|
721
720
|
* <p>ID of the collection that contains the faces you want to search for.</p>
|
|
721
|
+
* @public
|
|
722
722
|
*/
|
|
723
723
|
CollectionId: string | undefined;
|
|
724
724
|
/**
|
|
725
|
-
* @public
|
|
726
725
|
* <p>The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the search. The Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.</p>
|
|
726
|
+
* @public
|
|
727
727
|
*/
|
|
728
728
|
NotificationChannel?: NotificationChannel;
|
|
729
729
|
/**
|
|
730
|
-
* @public
|
|
731
730
|
* <p>An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.
|
|
732
731
|
* For example, you can use <code>JobTag</code> to group related jobs and identify them in the completion notification.</p>
|
|
732
|
+
* @public
|
|
733
733
|
*/
|
|
734
734
|
JobTag?: string;
|
|
735
735
|
}
|
|
@@ -738,8 +738,8 @@ export interface StartFaceSearchRequest {
|
|
|
738
738
|
*/
|
|
739
739
|
export interface StartFaceSearchResponse {
|
|
740
740
|
/**
|
|
741
|
-
* @public
|
|
742
741
|
* <p>The identifier for the search job. Use <code>JobId</code> to identify the job in a subsequent call to <code>GetFaceSearch</code>. </p>
|
|
742
|
+
* @public
|
|
743
743
|
*/
|
|
744
744
|
JobId?: string;
|
|
745
745
|
}
|
|
@@ -748,20 +748,19 @@ export interface StartFaceSearchResponse {
|
|
|
748
748
|
*/
|
|
749
749
|
export interface StartLabelDetectionRequest {
|
|
750
750
|
/**
|
|
751
|
-
* @public
|
|
752
751
|
* <p>The video in which you want to detect labels. The video must be stored
|
|
753
752
|
* in an Amazon S3 bucket.</p>
|
|
753
|
+
* @public
|
|
754
754
|
*/
|
|
755
755
|
Video: Video | undefined;
|
|
756
756
|
/**
|
|
757
|
-
* @public
|
|
758
757
|
* <p>Idempotent token used to identify the start request. If you use the same token with multiple
|
|
759
758
|
* <code>StartLabelDetection</code> requests, the same <code>JobId</code> is returned. Use
|
|
760
759
|
* <code>ClientRequestToken</code> to prevent the same job from being accidently started more than once. </p>
|
|
760
|
+
* @public
|
|
761
761
|
*/
|
|
762
762
|
ClientRequestToken?: string;
|
|
763
763
|
/**
|
|
764
|
-
* @public
|
|
765
764
|
* <p>Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected label. Confidence
|
|
766
765
|
* represents how certain Amazon Rekognition is that a label is correctly identified.0 is the lowest confidence.
|
|
767
766
|
* 100 is the highest confidence. Amazon Rekognition Video doesn't return any labels with a confidence level
|
|
@@ -769,29 +768,30 @@ export interface StartLabelDetectionRequest {
|
|
|
769
768
|
* <p>If you don't specify <code>MinConfidence</code>, the operation returns labels and
|
|
770
769
|
* bounding boxes (if detected) with confidence values greater than or equal to 50
|
|
771
770
|
* percent.</p>
|
|
771
|
+
* @public
|
|
772
772
|
*/
|
|
773
773
|
MinConfidence?: number;
|
|
774
774
|
/**
|
|
775
|
-
* @public
|
|
776
775
|
* <p>The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the label detection
|
|
777
776
|
* operation to. The Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy.</p>
|
|
777
|
+
* @public
|
|
778
778
|
*/
|
|
779
779
|
NotificationChannel?: NotificationChannel;
|
|
780
780
|
/**
|
|
781
|
-
* @public
|
|
782
781
|
* <p>An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.
|
|
783
782
|
* For example, you can use <code>JobTag</code> to group related jobs and identify them in the completion notification.</p>
|
|
783
|
+
* @public
|
|
784
784
|
*/
|
|
785
785
|
JobTag?: string;
|
|
786
786
|
/**
|
|
787
|
-
* @public
|
|
788
787
|
* <p>The features to return after video analysis. You can specify that GENERAL_LABELS are returned.</p>
|
|
788
|
+
* @public
|
|
789
789
|
*/
|
|
790
790
|
Features?: LabelDetectionFeatureName[];
|
|
791
791
|
/**
|
|
792
|
-
* @public
|
|
793
792
|
* <p>The settings for a StartLabelDetection request.Contains the specified parameters for the label detection request of an asynchronous label analysis operation.
|
|
794
793
|
* Settings can include filters for GENERAL_LABELS.</p>
|
|
794
|
+
* @public
|
|
795
795
|
*/
|
|
796
796
|
Settings?: LabelDetectionSettings;
|
|
797
797
|
}
|
|
@@ -800,9 +800,9 @@ export interface StartLabelDetectionRequest {
|
|
|
800
800
|
*/
|
|
801
801
|
export interface StartLabelDetectionResponse {
|
|
802
802
|
/**
|
|
803
|
-
* @public
|
|
804
803
|
* <p>The identifier for the label detection job. Use <code>JobId</code> to identify the job in
|
|
805
804
|
* a subsequent call to <code>GetLabelDetection</code>. </p>
|
|
805
|
+
* @public
|
|
806
806
|
*/
|
|
807
807
|
JobId?: string;
|
|
808
808
|
}
|
|
@@ -811,38 +811,38 @@ export interface StartLabelDetectionResponse {
|
|
|
811
811
|
*/
|
|
812
812
|
export interface StartMediaAnalysisJobRequest {
|
|
813
813
|
/**
|
|
814
|
-
* @public
|
|
815
814
|
* <p>Idempotency token used to prevent the accidental creation of duplicate versions. If
|
|
816
815
|
* you use the same token with multiple <code>StartMediaAnalysisJobRequest</code> requests, the same
|
|
817
816
|
* response is returned. Use <code>ClientRequestToken</code> to prevent the same request from being
|
|
818
817
|
* processed more than once.</p>
|
|
818
|
+
* @public
|
|
819
819
|
*/
|
|
820
820
|
ClientRequestToken?: string;
|
|
821
821
|
/**
|
|
822
|
-
* @public
|
|
823
822
|
* <p>The name of the job. Does not have to be unique.</p>
|
|
823
|
+
* @public
|
|
824
824
|
*/
|
|
825
825
|
JobName?: string;
|
|
826
826
|
/**
|
|
827
|
-
* @public
|
|
828
827
|
* <p>Configuration options for the media analysis job to be created.</p>
|
|
828
|
+
* @public
|
|
829
829
|
*/
|
|
830
830
|
OperationsConfig: MediaAnalysisOperationsConfig | undefined;
|
|
831
831
|
/**
|
|
832
|
-
* @public
|
|
833
832
|
* <p>Input data to be analyzed by the job.</p>
|
|
833
|
+
* @public
|
|
834
834
|
*/
|
|
835
835
|
Input: MediaAnalysisInput | undefined;
|
|
836
836
|
/**
|
|
837
|
-
* @public
|
|
838
837
|
* <p>The Amazon S3 bucket location to store the results.</p>
|
|
838
|
+
* @public
|
|
839
839
|
*/
|
|
840
840
|
OutputConfig: MediaAnalysisOutputConfig | undefined;
|
|
841
841
|
/**
|
|
842
|
-
* @public
|
|
843
842
|
* <p>The identifier of customer managed AWS KMS key (name or ARN). The key
|
|
844
843
|
* is used to encrypt images copied into the service. The key is also used
|
|
845
844
|
* to encrypt results and manifest files written to the output Amazon S3 bucket.</p>
|
|
845
|
+
* @public
|
|
846
846
|
*/
|
|
847
847
|
KmsKeyId?: string;
|
|
848
848
|
}
|
|
@@ -851,8 +851,8 @@ export interface StartMediaAnalysisJobRequest {
|
|
|
851
851
|
*/
|
|
852
852
|
export interface StartMediaAnalysisJobResponse {
|
|
853
853
|
/**
|
|
854
|
-
* @public
|
|
855
854
|
* <p>Identifier for the created job.</p>
|
|
855
|
+
* @public
|
|
856
856
|
*/
|
|
857
857
|
JobId: string | undefined;
|
|
858
858
|
}
|
|
@@ -861,28 +861,28 @@ export interface StartMediaAnalysisJobResponse {
|
|
|
861
861
|
*/
|
|
862
862
|
export interface StartPersonTrackingRequest {
|
|
863
863
|
/**
|
|
864
|
-
* @public
|
|
865
864
|
* <p>The video in which you want to detect people. The video must be stored
|
|
866
865
|
* in an Amazon S3 bucket.</p>
|
|
866
|
+
* @public
|
|
867
867
|
*/
|
|
868
868
|
Video: Video | undefined;
|
|
869
869
|
/**
|
|
870
|
-
* @public
|
|
871
870
|
* <p>Idempotent token used to identify the start request. If you use the same token with multiple
|
|
872
871
|
* <code>StartPersonTracking</code> requests, the same <code>JobId</code> is returned. Use
|
|
873
872
|
* <code>ClientRequestToken</code> to prevent the same job from being accidently started more than once. </p>
|
|
873
|
+
* @public
|
|
874
874
|
*/
|
|
875
875
|
ClientRequestToken?: string;
|
|
876
876
|
/**
|
|
877
|
-
* @public
|
|
878
877
|
* <p>The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the people detection
|
|
879
878
|
* operation to. The Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy.</p>
|
|
879
|
+
* @public
|
|
880
880
|
*/
|
|
881
881
|
NotificationChannel?: NotificationChannel;
|
|
882
882
|
/**
|
|
883
|
-
* @public
|
|
884
883
|
* <p>An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.
|
|
885
884
|
* For example, you can use <code>JobTag</code> to group related jobs and identify them in the completion notification.</p>
|
|
885
|
+
* @public
|
|
886
886
|
*/
|
|
887
887
|
JobTag?: string;
|
|
888
888
|
}
|
|
@@ -891,9 +891,9 @@ export interface StartPersonTrackingRequest {
|
|
|
891
891
|
*/
|
|
892
892
|
export interface StartPersonTrackingResponse {
|
|
893
893
|
/**
|
|
894
|
-
* @public
|
|
895
894
|
* <p>The identifier for the person detection job. Use <code>JobId</code> to identify the job in
|
|
896
895
|
* a subsequent call to <code>GetPersonTracking</code>.</p>
|
|
896
|
+
* @public
|
|
897
897
|
*/
|
|
898
898
|
JobId?: string;
|
|
899
899
|
}
|
|
@@ -902,23 +902,23 @@ export interface StartPersonTrackingResponse {
|
|
|
902
902
|
*/
|
|
903
903
|
export interface StartProjectVersionRequest {
|
|
904
904
|
/**
|
|
905
|
-
* @public
|
|
906
905
|
* <p>The Amazon Resource Name(ARN) of the model version that you want to start.</p>
|
|
906
|
+
* @public
|
|
907
907
|
*/
|
|
908
908
|
ProjectVersionArn: string | undefined;
|
|
909
909
|
/**
|
|
910
|
-
* @public
|
|
911
910
|
* <p>The minimum number of inference units to use. A single
|
|
912
911
|
* inference unit represents 1 hour of processing. </p>
|
|
913
912
|
* <p>Use a higher number to increase the TPS throughput of your model. You are charged for the number
|
|
914
913
|
* of inference units that you use.
|
|
915
914
|
* </p>
|
|
915
|
+
* @public
|
|
916
916
|
*/
|
|
917
917
|
MinInferenceUnits: number | undefined;
|
|
918
918
|
/**
|
|
919
|
-
* @public
|
|
920
919
|
* <p>The maximum number of inference units to use for auto-scaling the model. If you don't
|
|
921
920
|
* specify a value, Amazon Rekognition Custom Labels doesn't auto-scale the model.</p>
|
|
921
|
+
* @public
|
|
922
922
|
*/
|
|
923
923
|
MaxInferenceUnits?: number;
|
|
924
924
|
}
|
|
@@ -927,68 +927,68 @@ export interface StartProjectVersionRequest {
|
|
|
927
927
|
*/
|
|
928
928
|
export interface StartProjectVersionResponse {
|
|
929
929
|
/**
|
|
930
|
-
* @public
|
|
931
930
|
* <p>The current running status of the model. </p>
|
|
931
|
+
* @public
|
|
932
932
|
*/
|
|
933
933
|
Status?: ProjectVersionStatus;
|
|
934
934
|
}
|
|
935
935
|
/**
|
|
936
|
-
* @public
|
|
937
936
|
* <p>Filters for the shot detection segments returned by <code>GetSegmentDetection</code>.
|
|
938
937
|
* For more information, see <a>StartSegmentDetectionFilters</a>.</p>
|
|
938
|
+
* @public
|
|
939
939
|
*/
|
|
940
940
|
export interface StartShotDetectionFilter {
|
|
941
941
|
/**
|
|
942
|
-
* @public
|
|
943
942
|
* <p>Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected segment. Confidence
|
|
944
943
|
* represents how certain Amazon Rekognition is that a segment is correctly identified. 0 is the lowest confidence.
|
|
945
944
|
* 100 is the highest confidence. Amazon Rekognition Video doesn't return any segments with a confidence level
|
|
946
945
|
* lower than this specified value.</p>
|
|
947
946
|
* <p>If you don't specify <code>MinSegmentConfidence</code>, the <code>GetSegmentDetection</code> returns
|
|
948
947
|
* segments with confidence values greater than or equal to 50 percent.</p>
|
|
948
|
+
* @public
|
|
949
949
|
*/
|
|
950
950
|
MinSegmentConfidence?: number;
|
|
951
951
|
}
|
|
952
952
|
/**
|
|
953
|
-
* @public
|
|
954
953
|
* <p>Filters for the technical segments returned by <a>GetSegmentDetection</a>. For more information,
|
|
955
954
|
* see <a>StartSegmentDetectionFilters</a>.</p>
|
|
955
|
+
* @public
|
|
956
956
|
*/
|
|
957
957
|
export interface StartTechnicalCueDetectionFilter {
|
|
958
958
|
/**
|
|
959
|
-
* @public
|
|
960
959
|
* <p>Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected segment. Confidence
|
|
961
960
|
* represents how certain Amazon Rekognition is that a segment is correctly identified. 0 is the lowest confidence.
|
|
962
961
|
* 100 is the highest confidence. Amazon Rekognition Video doesn't return any segments with a confidence level
|
|
963
962
|
* lower than this specified value.</p>
|
|
964
963
|
* <p>If you don't specify <code>MinSegmentConfidence</code>, <code>GetSegmentDetection</code> returns
|
|
965
964
|
* segments with confidence values greater than or equal to 50 percent.</p>
|
|
965
|
+
* @public
|
|
966
966
|
*/
|
|
967
967
|
MinSegmentConfidence?: number;
|
|
968
968
|
/**
|
|
969
|
-
* @public
|
|
970
969
|
* <p>
|
|
971
970
|
* A filter that allows you to control the black frame detection by specifying the black levels and pixel coverage of black pixels in a frame.
|
|
972
971
|
* Videos can come from multiple sources, formats, and time periods, with different standards and varying noise levels for black frames that need to be accounted for.
|
|
973
972
|
* </p>
|
|
973
|
+
* @public
|
|
974
974
|
*/
|
|
975
975
|
BlackFrame?: BlackFrame;
|
|
976
976
|
}
|
|
977
977
|
/**
|
|
978
|
-
* @public
|
|
979
978
|
* <p>Filters applied to the technical cue or shot detection segments.
|
|
980
979
|
* For more information, see <a>StartSegmentDetection</a>.
|
|
981
980
|
* </p>
|
|
981
|
+
* @public
|
|
982
982
|
*/
|
|
983
983
|
export interface StartSegmentDetectionFilters {
|
|
984
984
|
/**
|
|
985
|
-
* @public
|
|
986
985
|
* <p>Filters that are specific to technical cues.</p>
|
|
986
|
+
* @public
|
|
987
987
|
*/
|
|
988
988
|
TechnicalCueFilter?: StartTechnicalCueDetectionFilter;
|
|
989
989
|
/**
|
|
990
|
-
* @public
|
|
991
990
|
* <p>Filters that are specific to shot detections.</p>
|
|
991
|
+
* @public
|
|
992
992
|
*/
|
|
993
993
|
ShotFilter?: StartShotDetectionFilter;
|
|
994
994
|
}
|
|
@@ -997,38 +997,38 @@ export interface StartSegmentDetectionFilters {
|
|
|
997
997
|
*/
|
|
998
998
|
export interface StartSegmentDetectionRequest {
|
|
999
999
|
/**
|
|
1000
|
-
* @public
|
|
1001
1000
|
* <p>Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as <a>StartLabelDetection</a> use <code>Video</code> to
|
|
1002
1001
|
* specify a video for analysis. The supported file formats are .mp4, .mov and .avi.</p>
|
|
1002
|
+
* @public
|
|
1003
1003
|
*/
|
|
1004
1004
|
Video: Video | undefined;
|
|
1005
1005
|
/**
|
|
1006
|
-
* @public
|
|
1007
1006
|
* <p>Idempotent token used to identify the start request. If you use the same token with multiple
|
|
1008
1007
|
* <code>StartSegmentDetection</code> requests, the same <code>JobId</code> is returned. Use
|
|
1009
1008
|
* <code>ClientRequestToken</code> to prevent the same job from being accidently started more than once. </p>
|
|
1009
|
+
* @public
|
|
1010
1010
|
*/
|
|
1011
1011
|
ClientRequestToken?: string;
|
|
1012
1012
|
/**
|
|
1013
|
-
* @public
|
|
1014
1013
|
* <p>The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the
|
|
1015
1014
|
* segment detection operation. Note that the Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.</p>
|
|
1015
|
+
* @public
|
|
1016
1016
|
*/
|
|
1017
1017
|
NotificationChannel?: NotificationChannel;
|
|
1018
1018
|
/**
|
|
1019
|
-
* @public
|
|
1020
1019
|
* <p>An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.
|
|
1021
1020
|
* For example, you can use <code>JobTag</code> to group related jobs and identify them in the completion notification.</p>
|
|
1021
|
+
* @public
|
|
1022
1022
|
*/
|
|
1023
1023
|
JobTag?: string;
|
|
1024
1024
|
/**
|
|
1025
|
-
* @public
|
|
1026
1025
|
* <p>Filters for technical cue or shot detection.</p>
|
|
1026
|
+
* @public
|
|
1027
1027
|
*/
|
|
1028
1028
|
Filters?: StartSegmentDetectionFilters;
|
|
1029
1029
|
/**
|
|
1030
|
-
* @public
|
|
1031
1030
|
* <p>An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.</p>
|
|
1031
|
+
* @public
|
|
1032
1032
|
*/
|
|
1033
1033
|
SegmentTypes: SegmentType[] | undefined;
|
|
1034
1034
|
}
|
|
@@ -1037,39 +1037,39 @@ export interface StartSegmentDetectionRequest {
|
|
|
1037
1037
|
*/
|
|
1038
1038
|
export interface StartSegmentDetectionResponse {
|
|
1039
1039
|
/**
|
|
1040
|
-
* @public
|
|
1041
1040
|
* <p>Unique identifier for the segment detection job. The <code>JobId</code> is returned from <code>StartSegmentDetection</code>.
|
|
1042
1041
|
* </p>
|
|
1042
|
+
* @public
|
|
1043
1043
|
*/
|
|
1044
1044
|
JobId?: string;
|
|
1045
1045
|
}
|
|
1046
1046
|
/**
|
|
1047
|
-
* @public
|
|
1048
1047
|
* <p>This is a required parameter for label detection stream processors and should not be used
|
|
1049
1048
|
* to start a face search stream processor.</p>
|
|
1049
|
+
* @public
|
|
1050
1050
|
*/
|
|
1051
1051
|
export interface StreamProcessingStartSelector {
|
|
1052
1052
|
/**
|
|
1053
|
-
* @public
|
|
1054
1053
|
* <p>
|
|
1055
1054
|
* Specifies the starting point in the stream to start processing. This can be done with a producer timestamp or a fragment number in a Kinesis stream.
|
|
1056
1055
|
* </p>
|
|
1056
|
+
* @public
|
|
1057
1057
|
*/
|
|
1058
1058
|
KVSStreamStartSelector?: KinesisVideoStreamStartSelector;
|
|
1059
1059
|
}
|
|
1060
1060
|
/**
|
|
1061
|
-
* @public
|
|
1062
1061
|
* <p>
|
|
1063
1062
|
* Specifies when to stop processing the stream. You can specify a maximum amount
|
|
1064
1063
|
* of time to process the video.
|
|
1065
1064
|
* </p>
|
|
1065
|
+
* @public
|
|
1066
1066
|
*/
|
|
1067
1067
|
export interface StreamProcessingStopSelector {
|
|
1068
1068
|
/**
|
|
1069
|
-
* @public
|
|
1070
1069
|
* <p>
|
|
1071
1070
|
* Specifies the maximum amount of time in seconds that you want the stream to be processed. The largest amount of time is 2 minutes. The default is 10 seconds.
|
|
1072
1071
|
* </p>
|
|
1072
|
+
* @public
|
|
1073
1073
|
*/
|
|
1074
1074
|
MaxDurationInSeconds?: number;
|
|
1075
1075
|
}
|
|
@@ -1078,27 +1078,27 @@ export interface StreamProcessingStopSelector {
|
|
|
1078
1078
|
*/
|
|
1079
1079
|
export interface StartStreamProcessorRequest {
|
|
1080
1080
|
/**
|
|
1081
|
-
* @public
|
|
1082
1081
|
* <p>The name of the stream processor to start processing.</p>
|
|
1082
|
+
* @public
|
|
1083
1083
|
*/
|
|
1084
1084
|
Name: string | undefined;
|
|
1085
1085
|
/**
|
|
1086
|
-
* @public
|
|
1087
1086
|
* <p>
|
|
1088
1087
|
* Specifies the starting point in the Kinesis stream to start processing.
|
|
1089
1088
|
* You can use the producer timestamp or the fragment number. If you use the producer timestamp, you must put the time in milliseconds.
|
|
1090
1089
|
* For more information about fragment numbers, see <a href="https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_reader_Fragment.html">Fragment</a>.
|
|
1091
1090
|
* </p>
|
|
1092
1091
|
* <p>This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.</p>
|
|
1092
|
+
* @public
|
|
1093
1093
|
*/
|
|
1094
1094
|
StartSelector?: StreamProcessingStartSelector;
|
|
1095
1095
|
/**
|
|
1096
|
-
* @public
|
|
1097
1096
|
* <p>
|
|
1098
1097
|
* Specifies when to stop processing the stream. You can specify a
|
|
1099
1098
|
* maximum amount of time to process the video.
|
|
1100
1099
|
* </p>
|
|
1101
1100
|
* <p>This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.</p>
|
|
1101
|
+
* @public
|
|
1102
1102
|
*/
|
|
1103
1103
|
StopSelector?: StreamProcessingStopSelector;
|
|
1104
1104
|
}
|
|
@@ -1107,29 +1107,29 @@ export interface StartStreamProcessorRequest {
|
|
|
1107
1107
|
*/
|
|
1108
1108
|
export interface StartStreamProcessorResponse {
|
|
1109
1109
|
/**
|
|
1110
|
-
* @public
|
|
1111
1110
|
* <p>
|
|
1112
1111
|
* A unique identifier for the stream processing session.
|
|
1113
1112
|
* </p>
|
|
1113
|
+
* @public
|
|
1114
1114
|
*/
|
|
1115
1115
|
SessionId?: string;
|
|
1116
1116
|
}
|
|
1117
1117
|
/**
|
|
1118
|
-
* @public
|
|
1119
1118
|
* <p>Set of optional parameters that let you set the criteria text must meet to be included in your response.
|
|
1120
1119
|
* <code>WordFilter</code> looks at a word's height, width and minimum confidence. <code>RegionOfInterest</code>
|
|
1121
1120
|
* lets you set a specific region of the screen to look for text in.</p>
|
|
1121
|
+
* @public
|
|
1122
1122
|
*/
|
|
1123
1123
|
export interface StartTextDetectionFilters {
|
|
1124
1124
|
/**
|
|
1125
|
-
* @public
|
|
1126
1125
|
* <p>Filters focusing on qualities of the text, such as confidence or size.</p>
|
|
1126
|
+
* @public
|
|
1127
1127
|
*/
|
|
1128
1128
|
WordFilter?: DetectionFilter;
|
|
1129
1129
|
/**
|
|
1130
|
-
* @public
|
|
1131
1130
|
* <p>Filter focusing on a certain area of the frame. Uses a <code>BoundingBox</code> object to set the region
|
|
1132
1131
|
* of the screen.</p>
|
|
1132
|
+
* @public
|
|
1133
1133
|
*/
|
|
1134
1134
|
RegionsOfInterest?: RegionOfInterest[];
|
|
1135
1135
|
}
|
|
@@ -1138,34 +1138,34 @@ export interface StartTextDetectionFilters {
|
|
|
1138
1138
|
*/
|
|
1139
1139
|
export interface StartTextDetectionRequest {
|
|
1140
1140
|
/**
|
|
1141
|
-
* @public
|
|
1142
1141
|
* <p>Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as <a>StartLabelDetection</a> use <code>Video</code> to
|
|
1143
1142
|
* specify a video for analysis. The supported file formats are .mp4, .mov and .avi.</p>
|
|
1143
|
+
* @public
|
|
1144
1144
|
*/
|
|
1145
1145
|
Video: Video | undefined;
|
|
1146
1146
|
/**
|
|
1147
|
-
* @public
|
|
1148
1147
|
* <p>Idempotent token used to identify the start request. If you use the same token with multiple <code>StartTextDetection</code>
|
|
1149
1148
|
* requests, the same <code>JobId</code> is returned. Use <code>ClientRequestToken</code> to prevent the same job
|
|
1150
1149
|
* from being accidentaly started more than once.</p>
|
|
1150
|
+
* @public
|
|
1151
1151
|
*/
|
|
1152
1152
|
ClientRequestToken?: string;
|
|
1153
1153
|
/**
|
|
1154
|
-
* @public
|
|
1155
1154
|
* <p>The Amazon Simple Notification Service topic to which Amazon Rekognition publishes the completion status of a video analysis operation. For more information, see
|
|
1156
1155
|
* <a href="https://docs.aws.amazon.com/rekognition/latest/dg/api-video.html">Calling Amazon Rekognition Video operations</a>. Note that the Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.
|
|
1157
1156
|
* For more information, see <a href="https://docs.aws.amazon.com/rekognition/latest/dg/api-video-roles.html#api-video-roles-all-topics">Giving access to multiple Amazon SNS topics</a>.</p>
|
|
1157
|
+
* @public
|
|
1158
1158
|
*/
|
|
1159
1159
|
NotificationChannel?: NotificationChannel;
|
|
1160
1160
|
/**
|
|
1161
|
-
* @public
|
|
1162
1161
|
* <p>An identifier returned in the completion status published by your Amazon Simple Notification Service topic. For example, you can use <code>JobTag</code> to group related jobs
|
|
1163
1162
|
* and identify them in the completion notification.</p>
|
|
1163
|
+
* @public
|
|
1164
1164
|
*/
|
|
1165
1165
|
JobTag?: string;
|
|
1166
1166
|
/**
|
|
1167
|
-
* @public
|
|
1168
1167
|
* <p>Optional parameters that let you set criteria the text must meet to be included in your response.</p>
|
|
1168
|
+
* @public
|
|
1169
1169
|
*/
|
|
1170
1170
|
Filters?: StartTextDetectionFilters;
|
|
1171
1171
|
}
|
|
@@ -1174,8 +1174,8 @@ export interface StartTextDetectionRequest {
|
|
|
1174
1174
|
*/
|
|
1175
1175
|
export interface StartTextDetectionResponse {
|
|
1176
1176
|
/**
|
|
1177
|
-
* @public
|
|
1178
1177
|
* <p>Identifier for the text detection job. Use <code>JobId</code> to identify the job in a subsequent call to <code>GetTextDetection</code>.</p>
|
|
1178
|
+
* @public
|
|
1179
1179
|
*/
|
|
1180
1180
|
JobId?: string;
|
|
1181
1181
|
}
|
|
@@ -1184,9 +1184,9 @@ export interface StartTextDetectionResponse {
|
|
|
1184
1184
|
*/
|
|
1185
1185
|
export interface StopProjectVersionRequest {
|
|
1186
1186
|
/**
|
|
1187
|
-
* @public
|
|
1188
1187
|
* <p>The Amazon Resource Name (ARN) of the model version that you want to stop.</p>
|
|
1189
1188
|
* <p>This operation requires permissions to perform the <code>rekognition:StopProjectVersion</code> action.</p>
|
|
1189
|
+
* @public
|
|
1190
1190
|
*/
|
|
1191
1191
|
ProjectVersionArn: string | undefined;
|
|
1192
1192
|
}
|
|
@@ -1195,8 +1195,8 @@ export interface StopProjectVersionRequest {
|
|
|
1195
1195
|
*/
|
|
1196
1196
|
export interface StopProjectVersionResponse {
|
|
1197
1197
|
/**
|
|
1198
|
-
* @public
|
|
1199
1198
|
* <p>The current status of the stop operation. </p>
|
|
1199
|
+
* @public
|
|
1200
1200
|
*/
|
|
1201
1201
|
Status?: ProjectVersionStatus;
|
|
1202
1202
|
}
|
|
@@ -1205,8 +1205,8 @@ export interface StopProjectVersionResponse {
|
|
|
1205
1205
|
*/
|
|
1206
1206
|
export interface StopStreamProcessorRequest {
|
|
1207
1207
|
/**
|
|
1208
|
-
* @public
|
|
1209
1208
|
* <p>The name of a stream processor created by <a>CreateStreamProcessor</a>.</p>
|
|
1209
|
+
* @public
|
|
1210
1210
|
*/
|
|
1211
1211
|
Name: string | undefined;
|
|
1212
1212
|
}
|
|
@@ -1220,14 +1220,14 @@ export interface StopStreamProcessorResponse {
|
|
|
1220
1220
|
*/
|
|
1221
1221
|
export interface TagResourceRequest {
|
|
1222
1222
|
/**
|
|
1223
|
-
* @public
|
|
1224
1223
|
* <p> Amazon Resource Name (ARN) of the model, collection, or stream processor that you want to
|
|
1225
1224
|
* assign the tags to. </p>
|
|
1225
|
+
* @public
|
|
1226
1226
|
*/
|
|
1227
1227
|
ResourceArn: string | undefined;
|
|
1228
1228
|
/**
|
|
1229
|
-
* @public
|
|
1230
1229
|
* <p> The key-value tags to assign to the resource. </p>
|
|
1230
|
+
* @public
|
|
1231
1231
|
*/
|
|
1232
1232
|
Tags: Record<string, string> | undefined;
|
|
1233
1233
|
}
|
|
@@ -1241,14 +1241,14 @@ export interface TagResourceResponse {
|
|
|
1241
1241
|
*/
|
|
1242
1242
|
export interface UntagResourceRequest {
|
|
1243
1243
|
/**
|
|
1244
|
-
* @public
|
|
1245
1244
|
* <p> Amazon Resource Name (ARN) of the model, collection, or stream processor that you want to
|
|
1246
1245
|
* remove the tags from. </p>
|
|
1246
|
+
* @public
|
|
1247
1247
|
*/
|
|
1248
1248
|
ResourceArn: string | undefined;
|
|
1249
1249
|
/**
|
|
1250
|
-
* @public
|
|
1251
1250
|
* <p> A list of the tags that you want to remove. </p>
|
|
1251
|
+
* @public
|
|
1252
1252
|
*/
|
|
1253
1253
|
TagKeys: string[] | undefined;
|
|
1254
1254
|
}
|
|
@@ -1262,17 +1262,17 @@ export interface UntagResourceResponse {
|
|
|
1262
1262
|
*/
|
|
1263
1263
|
export interface UpdateDatasetEntriesRequest {
|
|
1264
1264
|
/**
|
|
1265
|
-
* @public
|
|
1266
1265
|
* <p>
|
|
1267
1266
|
* The Amazon Resource Name (ARN) of the dataset that you want to update.
|
|
1268
1267
|
* </p>
|
|
1268
|
+
* @public
|
|
1269
1269
|
*/
|
|
1270
1270
|
DatasetArn: string | undefined;
|
|
1271
1271
|
/**
|
|
1272
|
-
* @public
|
|
1273
1272
|
* <p>
|
|
1274
1273
|
* The changes that you want to make to the dataset.
|
|
1275
1274
|
* </p>
|
|
1275
|
+
* @public
|
|
1276
1276
|
*/
|
|
1277
1277
|
Changes: DatasetChanges | undefined;
|
|
1278
1278
|
}
|
|
@@ -1294,17 +1294,17 @@ export declare const StreamProcessorParameterToDelete: {
|
|
|
1294
1294
|
*/
|
|
1295
1295
|
export type StreamProcessorParameterToDelete = (typeof StreamProcessorParameterToDelete)[keyof typeof StreamProcessorParameterToDelete];
|
|
1296
1296
|
/**
|
|
1297
|
-
* @public
|
|
1298
1297
|
* <p>
|
|
1299
1298
|
* The stream processor settings that you want to update. <code>ConnectedHome</code> settings can be updated to detect different labels with a different minimum confidence.
|
|
1300
1299
|
* </p>
|
|
1300
|
+
* @public
|
|
1301
1301
|
*/
|
|
1302
1302
|
export interface StreamProcessorSettingsForUpdate {
|
|
1303
1303
|
/**
|
|
1304
|
-
* @public
|
|
1305
1304
|
* <p>
|
|
1306
1305
|
* The label detection settings you want to use for your stream processor.
|
|
1307
1306
|
* </p>
|
|
1307
|
+
* @public
|
|
1308
1308
|
*/
|
|
1309
1309
|
ConnectedHomeForUpdate?: ConnectedHomeSettingsForUpdate;
|
|
1310
1310
|
}
|
|
@@ -1313,39 +1313,39 @@ export interface StreamProcessorSettingsForUpdate {
|
|
|
1313
1313
|
*/
|
|
1314
1314
|
export interface UpdateStreamProcessorRequest {
|
|
1315
1315
|
/**
|
|
1316
|
-
* @public
|
|
1317
1316
|
* <p>
|
|
1318
1317
|
* Name of the stream processor that you want to update.
|
|
1319
1318
|
* </p>
|
|
1319
|
+
* @public
|
|
1320
1320
|
*/
|
|
1321
1321
|
Name: string | undefined;
|
|
1322
1322
|
/**
|
|
1323
|
-
* @public
|
|
1324
1323
|
* <p>
|
|
1325
1324
|
* The stream processor settings that you want to update. Label detection settings can be updated to detect different labels with a different minimum confidence.
|
|
1326
1325
|
* </p>
|
|
1326
|
+
* @public
|
|
1327
1327
|
*/
|
|
1328
1328
|
SettingsForUpdate?: StreamProcessorSettingsForUpdate;
|
|
1329
1329
|
/**
|
|
1330
|
-
* @public
|
|
1331
1330
|
* <p>
|
|
1332
1331
|
* Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.
|
|
1333
1332
|
* </p>
|
|
1333
|
+
* @public
|
|
1334
1334
|
*/
|
|
1335
1335
|
RegionsOfInterestForUpdate?: RegionOfInterest[];
|
|
1336
1336
|
/**
|
|
1337
|
-
* @public
|
|
1338
1337
|
* <p>
|
|
1339
1338
|
* Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis.
|
|
1340
1339
|
* Note that if you opt out at the account level this setting is ignored on individual streams.
|
|
1341
1340
|
* </p>
|
|
1341
|
+
* @public
|
|
1342
1342
|
*/
|
|
1343
1343
|
DataSharingPreferenceForUpdate?: StreamProcessorDataSharingPreference;
|
|
1344
1344
|
/**
|
|
1345
|
-
* @public
|
|
1346
1345
|
* <p>
|
|
1347
1346
|
* A list of parameters you want to delete from the stream processor.
|
|
1348
1347
|
* </p>
|
|
1348
|
+
* @public
|
|
1349
1349
|
*/
|
|
1350
1350
|
ParametersToDelete?: StreamProcessorParameterToDelete[];
|
|
1351
1351
|
}
|