@aws-sdk/client-rekognition 3.300.0 → 3.301.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/commands/CompareFacesCommand.d.ts +3 -3
- package/dist-types/commands/CopyProjectVersionCommand.d.ts +3 -3
- package/dist-types/commands/CreateCollectionCommand.d.ts +2 -2
- package/dist-types/commands/CreateDatasetCommand.d.ts +4 -4
- package/dist-types/commands/CreateProjectCommand.d.ts +1 -1
- package/dist-types/commands/CreateProjectVersionCommand.d.ts +9 -9
- package/dist-types/commands/CreateStreamProcessorCommand.d.ts +18 -18
- package/dist-types/commands/DeleteCollectionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDatasetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFacesCommand.d.ts +2 -2
- package/dist-types/commands/DeleteProjectCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProjectVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStreamProcessorCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCollectionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDatasetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeProjectsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeStreamProcessorCommand.d.ts +1 -1
- package/dist-types/commands/DetectCustomLabelsCommand.d.ts +3 -3
- package/dist-types/commands/DetectFacesCommand.d.ts +4 -4
- package/dist-types/commands/DetectLabelsCommand.d.ts +8 -8
- package/dist-types/commands/DetectModerationLabelsCommand.d.ts +6 -6
- package/dist-types/commands/DetectProtectiveEquipmentCommand.d.ts +5 -5
- package/dist-types/commands/DetectTextCommand.d.ts +10 -10
- package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +3 -3
- package/dist-types/commands/GetCelebrityInfoCommand.d.ts +1 -1
- package/dist-types/commands/GetCelebrityRecognitionCommand.d.ts +1 -1
- package/dist-types/commands/GetContentModerationCommand.d.ts +1 -1
- package/dist-types/commands/GetFaceDetectionCommand.d.ts +1 -1
- package/dist-types/commands/GetFaceSearchCommand.d.ts +1 -1
- package/dist-types/commands/GetLabelDetectionCommand.d.ts +1 -1
- package/dist-types/commands/GetPersonTrackingCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentDetectionCommand.d.ts +1 -1
- package/dist-types/commands/GetTextDetectionCommand.d.ts +1 -1
- package/dist-types/commands/IndexFacesCommand.d.ts +4 -4
- package/dist-types/commands/ListCollectionsCommand.d.ts +1 -1
- package/dist-types/commands/ListDatasetEntriesCommand.d.ts +2 -2
- package/dist-types/commands/ListDatasetLabelsCommand.d.ts +1 -1
- package/dist-types/commands/ListFacesCommand.d.ts +1 -1
- package/dist-types/commands/ListProjectPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListStreamProcessorsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutProjectPolicyCommand.d.ts +1 -1
- package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +3 -3
- package/dist-types/commands/SearchFacesByImageCommand.d.ts +3 -3
- package/dist-types/commands/SearchFacesCommand.d.ts +1 -1
- package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +4 -4
- package/dist-types/commands/StartContentModerationCommand.d.ts +4 -4
- package/dist-types/commands/StartFaceDetectionCommand.d.ts +4 -4
- package/dist-types/commands/StartFaceSearchCommand.d.ts +4 -4
- package/dist-types/commands/StartLabelDetectionCommand.d.ts +8 -8
- package/dist-types/commands/StartPersonTrackingCommand.d.ts +4 -4
- package/dist-types/commands/StartProjectVersionCommand.d.ts +1 -1
- package/dist-types/commands/StartSegmentDetectionCommand.d.ts +9 -9
- package/dist-types/commands/StartStreamProcessorCommand.d.ts +4 -4
- package/dist-types/commands/StartTextDetectionCommand.d.ts +11 -11
- package/dist-types/commands/StopProjectVersionCommand.d.ts +1 -1
- package/dist-types/commands/StopStreamProcessorCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +2 -2
- package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +11 -11
- package/package.json +3 -3
|
@@ -116,18 +116,18 @@ export interface IndexFacesCommandOutput extends IndexFacesResponse, __MetadataB
|
|
|
116
116
|
* import { RekognitionClient, IndexFacesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
117
117
|
* // const { RekognitionClient, IndexFacesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
118
118
|
* const client = new RekognitionClient(config);
|
|
119
|
-
* const input = {
|
|
119
|
+
* const input = { // IndexFacesRequest
|
|
120
120
|
* CollectionId: "STRING_VALUE", // required
|
|
121
|
-
* Image: {
|
|
121
|
+
* Image: { // Image
|
|
122
122
|
* Bytes: "BLOB_VALUE",
|
|
123
|
-
* S3Object: {
|
|
123
|
+
* S3Object: { // S3Object
|
|
124
124
|
* Bucket: "STRING_VALUE",
|
|
125
125
|
* Name: "STRING_VALUE",
|
|
126
126
|
* Version: "STRING_VALUE",
|
|
127
127
|
* },
|
|
128
128
|
* },
|
|
129
129
|
* ExternalImageId: "STRING_VALUE",
|
|
130
|
-
* DetectionAttributes: [
|
|
130
|
+
* DetectionAttributes: [ // Attributes
|
|
131
131
|
* "DEFAULT" || "ALL",
|
|
132
132
|
* ],
|
|
133
133
|
* MaxFaces: Number("int"),
|
|
@@ -32,7 +32,7 @@ export interface ListCollectionsCommandOutput extends ListCollectionsResponse, _
|
|
|
32
32
|
* import { RekognitionClient, ListCollectionsCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
33
33
|
* // const { RekognitionClient, ListCollectionsCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
34
34
|
* const client = new RekognitionClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // ListCollectionsRequest
|
|
36
36
|
* NextToken: "STRING_VALUE",
|
|
37
37
|
* MaxResults: Number("int"),
|
|
38
38
|
* };
|
|
@@ -39,9 +39,9 @@ export interface ListDatasetEntriesCommandOutput extends ListDatasetEntriesRespo
|
|
|
39
39
|
* import { RekognitionClient, ListDatasetEntriesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
40
40
|
* // const { RekognitionClient, ListDatasetEntriesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
41
41
|
* const client = new RekognitionClient(config);
|
|
42
|
-
* const input = {
|
|
42
|
+
* const input = { // ListDatasetEntriesRequest
|
|
43
43
|
* DatasetArn: "STRING_VALUE", // required
|
|
44
|
-
* ContainsLabels: [
|
|
44
|
+
* ContainsLabels: [ // DatasetLabels
|
|
45
45
|
* "STRING_VALUE",
|
|
46
46
|
* ],
|
|
47
47
|
* Labeled: true || false,
|
|
@@ -31,7 +31,7 @@ export interface ListDatasetLabelsCommandOutput extends ListDatasetLabelsRespons
|
|
|
31
31
|
* import { RekognitionClient, ListDatasetLabelsCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
32
32
|
* // const { RekognitionClient, ListDatasetLabelsCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
33
33
|
* const client = new RekognitionClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // ListDatasetLabelsRequest
|
|
35
35
|
* DatasetArn: "STRING_VALUE", // required
|
|
36
36
|
* NextToken: "STRING_VALUE",
|
|
37
37
|
* MaxResults: Number("int"),
|
|
@@ -31,7 +31,7 @@ export interface ListFacesCommandOutput extends ListFacesResponse, __MetadataBea
|
|
|
31
31
|
* import { RekognitionClient, ListFacesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
32
32
|
* // const { RekognitionClient, ListFacesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
33
33
|
* const client = new RekognitionClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // ListFacesRequest
|
|
35
35
|
* CollectionId: "STRING_VALUE", // required
|
|
36
36
|
* NextToken: "STRING_VALUE",
|
|
37
37
|
* MaxResults: Number("int"),
|
|
@@ -27,7 +27,7 @@ export interface ListProjectPoliciesCommandOutput extends ListProjectPoliciesRes
|
|
|
27
27
|
* import { RekognitionClient, ListProjectPoliciesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
28
28
|
* // const { RekognitionClient, ListProjectPoliciesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
29
29
|
* const client = new RekognitionClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListProjectPoliciesRequest
|
|
31
31
|
* ProjectArn: "STRING_VALUE", // required
|
|
32
32
|
* NextToken: "STRING_VALUE",
|
|
33
33
|
* MaxResults: Number("int"),
|
|
@@ -26,7 +26,7 @@ export interface ListStreamProcessorsCommandOutput extends ListStreamProcessorsR
|
|
|
26
26
|
* import { RekognitionClient, ListStreamProcessorsCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
27
27
|
* // const { RekognitionClient, ListStreamProcessorsCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
28
28
|
* const client = new RekognitionClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListStreamProcessorsRequest
|
|
30
30
|
* NextToken: "STRING_VALUE",
|
|
31
31
|
* MaxResults: Number("int"),
|
|
32
32
|
* };
|
|
@@ -29,7 +29,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
29
29
|
* import { RekognitionClient, ListTagsForResourceCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
30
30
|
* // const { RekognitionClient, ListTagsForResourceCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
31
31
|
* const client = new RekognitionClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // ListTagsForResourceRequest
|
|
33
33
|
* ResourceArn: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -38,7 +38,7 @@ export interface PutProjectPolicyCommandOutput extends PutProjectPolicyResponse,
|
|
|
38
38
|
* import { RekognitionClient, PutProjectPolicyCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
39
39
|
* // const { RekognitionClient, PutProjectPolicyCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
40
40
|
* const client = new RekognitionClient(config);
|
|
41
|
-
* const input = {
|
|
41
|
+
* const input = { // PutProjectPolicyRequest
|
|
42
42
|
* ProjectArn: "STRING_VALUE", // required
|
|
43
43
|
* PolicyName: "STRING_VALUE", // required
|
|
44
44
|
* PolicyRevisionId: "STRING_VALUE",
|
|
@@ -52,10 +52,10 @@ export interface RecognizeCelebritiesCommandOutput extends RecognizeCelebritiesR
|
|
|
52
52
|
* import { RekognitionClient, RecognizeCelebritiesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
53
53
|
* // const { RekognitionClient, RecognizeCelebritiesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
54
54
|
* const client = new RekognitionClient(config);
|
|
55
|
-
* const input = {
|
|
56
|
-
* Image: {
|
|
55
|
+
* const input = { // RecognizeCelebritiesRequest
|
|
56
|
+
* Image: { // Image
|
|
57
57
|
* Bytes: "BLOB_VALUE",
|
|
58
|
-
* S3Object: {
|
|
58
|
+
* S3Object: { // S3Object
|
|
59
59
|
* Bucket: "STRING_VALUE",
|
|
60
60
|
* Name: "STRING_VALUE",
|
|
61
61
|
* Version: "STRING_VALUE",
|
|
@@ -62,11 +62,11 @@ export interface SearchFacesByImageCommandOutput extends SearchFacesByImageRespo
|
|
|
62
62
|
* import { RekognitionClient, SearchFacesByImageCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
63
63
|
* // const { RekognitionClient, SearchFacesByImageCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
64
64
|
* const client = new RekognitionClient(config);
|
|
65
|
-
* const input = {
|
|
65
|
+
* const input = { // SearchFacesByImageRequest
|
|
66
66
|
* CollectionId: "STRING_VALUE", // required
|
|
67
|
-
* Image: {
|
|
67
|
+
* Image: { // Image
|
|
68
68
|
* Bytes: "BLOB_VALUE",
|
|
69
|
-
* S3Object: {
|
|
69
|
+
* S3Object: { // S3Object
|
|
70
70
|
* Bucket: "STRING_VALUE",
|
|
71
71
|
* Name: "STRING_VALUE",
|
|
72
72
|
* Version: "STRING_VALUE",
|
|
@@ -41,7 +41,7 @@ export interface SearchFacesCommandOutput extends SearchFacesResponse, __Metadat
|
|
|
41
41
|
* import { RekognitionClient, SearchFacesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
42
42
|
* // const { RekognitionClient, SearchFacesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
43
43
|
* const client = new RekognitionClient(config);
|
|
44
|
-
* const input = {
|
|
44
|
+
* const input = { // SearchFacesRequest
|
|
45
45
|
* CollectionId: "STRING_VALUE", // required
|
|
46
46
|
* FaceId: "STRING_VALUE", // required
|
|
47
47
|
* MaxFaces: Number("int"),
|
|
@@ -36,16 +36,16 @@ export interface StartCelebrityRecognitionCommandOutput extends StartCelebrityRe
|
|
|
36
36
|
* import { RekognitionClient, StartCelebrityRecognitionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
37
37
|
* // const { RekognitionClient, StartCelebrityRecognitionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
38
38
|
* const client = new RekognitionClient(config);
|
|
39
|
-
* const input = {
|
|
40
|
-
* Video: {
|
|
41
|
-
* S3Object: {
|
|
39
|
+
* const input = { // StartCelebrityRecognitionRequest
|
|
40
|
+
* Video: { // Video
|
|
41
|
+
* S3Object: { // S3Object
|
|
42
42
|
* Bucket: "STRING_VALUE",
|
|
43
43
|
* Name: "STRING_VALUE",
|
|
44
44
|
* Version: "STRING_VALUE",
|
|
45
45
|
* },
|
|
46
46
|
* },
|
|
47
47
|
* ClientRequestToken: "STRING_VALUE",
|
|
48
|
-
* NotificationChannel: {
|
|
48
|
+
* NotificationChannel: { // NotificationChannel
|
|
49
49
|
* SNSTopicArn: "STRING_VALUE", // required
|
|
50
50
|
* RoleArn: "STRING_VALUE", // required
|
|
51
51
|
* },
|
|
@@ -36,9 +36,9 @@ export interface StartContentModerationCommandOutput extends StartContentModerat
|
|
|
36
36
|
* import { RekognitionClient, StartContentModerationCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
37
37
|
* // const { RekognitionClient, StartContentModerationCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
38
38
|
* const client = new RekognitionClient(config);
|
|
39
|
-
* const input = {
|
|
40
|
-
* Video: {
|
|
41
|
-
* S3Object: {
|
|
39
|
+
* const input = { // StartContentModerationRequest
|
|
40
|
+
* Video: { // Video
|
|
41
|
+
* S3Object: { // S3Object
|
|
42
42
|
* Bucket: "STRING_VALUE",
|
|
43
43
|
* Name: "STRING_VALUE",
|
|
44
44
|
* Version: "STRING_VALUE",
|
|
@@ -46,7 +46,7 @@ export interface StartContentModerationCommandOutput extends StartContentModerat
|
|
|
46
46
|
* },
|
|
47
47
|
* MinConfidence: Number("float"),
|
|
48
48
|
* ClientRequestToken: "STRING_VALUE",
|
|
49
|
-
* NotificationChannel: {
|
|
49
|
+
* NotificationChannel: { // NotificationChannel
|
|
50
50
|
* SNSTopicArn: "STRING_VALUE", // required
|
|
51
51
|
* RoleArn: "STRING_VALUE", // required
|
|
52
52
|
* },
|
|
@@ -37,16 +37,16 @@ export interface StartFaceDetectionCommandOutput extends StartFaceDetectionRespo
|
|
|
37
37
|
* import { RekognitionClient, StartFaceDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
38
38
|
* // const { RekognitionClient, StartFaceDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
39
39
|
* const client = new RekognitionClient(config);
|
|
40
|
-
* const input = {
|
|
41
|
-
* Video: {
|
|
42
|
-
* S3Object: {
|
|
40
|
+
* const input = { // StartFaceDetectionRequest
|
|
41
|
+
* Video: { // Video
|
|
42
|
+
* S3Object: { // S3Object
|
|
43
43
|
* Bucket: "STRING_VALUE",
|
|
44
44
|
* Name: "STRING_VALUE",
|
|
45
45
|
* Version: "STRING_VALUE",
|
|
46
46
|
* },
|
|
47
47
|
* },
|
|
48
48
|
* ClientRequestToken: "STRING_VALUE",
|
|
49
|
-
* NotificationChannel: {
|
|
49
|
+
* NotificationChannel: { // NotificationChannel
|
|
50
50
|
* SNSTopicArn: "STRING_VALUE", // required
|
|
51
51
|
* RoleArn: "STRING_VALUE", // required
|
|
52
52
|
* },
|
|
@@ -36,9 +36,9 @@ export interface StartFaceSearchCommandOutput extends StartFaceSearchResponse, _
|
|
|
36
36
|
* import { RekognitionClient, StartFaceSearchCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
37
37
|
* // const { RekognitionClient, StartFaceSearchCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
38
38
|
* const client = new RekognitionClient(config);
|
|
39
|
-
* const input = {
|
|
40
|
-
* Video: {
|
|
41
|
-
* S3Object: {
|
|
39
|
+
* const input = { // StartFaceSearchRequest
|
|
40
|
+
* Video: { // Video
|
|
41
|
+
* S3Object: { // S3Object
|
|
42
42
|
* Bucket: "STRING_VALUE",
|
|
43
43
|
* Name: "STRING_VALUE",
|
|
44
44
|
* Version: "STRING_VALUE",
|
|
@@ -47,7 +47,7 @@ export interface StartFaceSearchCommandOutput extends StartFaceSearchResponse, _
|
|
|
47
47
|
* ClientRequestToken: "STRING_VALUE",
|
|
48
48
|
* FaceMatchThreshold: Number("float"),
|
|
49
49
|
* CollectionId: "STRING_VALUE", // required
|
|
50
|
-
* NotificationChannel: {
|
|
50
|
+
* NotificationChannel: { // NotificationChannel
|
|
51
51
|
* SNSTopicArn: "STRING_VALUE", // required
|
|
52
52
|
* RoleArn: "STRING_VALUE", // required
|
|
53
53
|
* },
|
|
@@ -50,9 +50,9 @@ export interface StartLabelDetectionCommandOutput extends StartLabelDetectionRes
|
|
|
50
50
|
* import { RekognitionClient, StartLabelDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
51
51
|
* // const { RekognitionClient, StartLabelDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
52
52
|
* const client = new RekognitionClient(config);
|
|
53
|
-
* const input = {
|
|
54
|
-
* Video: {
|
|
55
|
-
* S3Object: {
|
|
53
|
+
* const input = { // StartLabelDetectionRequest
|
|
54
|
+
* Video: { // Video
|
|
55
|
+
* S3Object: { // S3Object
|
|
56
56
|
* Bucket: "STRING_VALUE",
|
|
57
57
|
* Name: "STRING_VALUE",
|
|
58
58
|
* Version: "STRING_VALUE",
|
|
@@ -60,17 +60,17 @@ export interface StartLabelDetectionCommandOutput extends StartLabelDetectionRes
|
|
|
60
60
|
* },
|
|
61
61
|
* ClientRequestToken: "STRING_VALUE",
|
|
62
62
|
* MinConfidence: Number("float"),
|
|
63
|
-
* NotificationChannel: {
|
|
63
|
+
* NotificationChannel: { // NotificationChannel
|
|
64
64
|
* SNSTopicArn: "STRING_VALUE", // required
|
|
65
65
|
* RoleArn: "STRING_VALUE", // required
|
|
66
66
|
* },
|
|
67
67
|
* JobTag: "STRING_VALUE",
|
|
68
|
-
* Features: [
|
|
68
|
+
* Features: [ // LabelDetectionFeatureList
|
|
69
69
|
* "GENERAL_LABELS",
|
|
70
70
|
* ],
|
|
71
|
-
* Settings: {
|
|
72
|
-
* GeneralLabels: {
|
|
73
|
-
* LabelInclusionFilters: [
|
|
71
|
+
* Settings: { // LabelDetectionSettings
|
|
72
|
+
* GeneralLabels: { // GeneralLabelsSettings
|
|
73
|
+
* LabelInclusionFilters: [ // GeneralLabelsFilterList
|
|
74
74
|
* "STRING_VALUE",
|
|
75
75
|
* ],
|
|
76
76
|
* LabelExclusionFilters: [
|
|
@@ -34,16 +34,16 @@ export interface StartPersonTrackingCommandOutput extends StartPersonTrackingRes
|
|
|
34
34
|
* import { RekognitionClient, StartPersonTrackingCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
35
35
|
* // const { RekognitionClient, StartPersonTrackingCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
36
36
|
* const client = new RekognitionClient(config);
|
|
37
|
-
* const input = {
|
|
38
|
-
* Video: {
|
|
39
|
-
* S3Object: {
|
|
37
|
+
* const input = { // StartPersonTrackingRequest
|
|
38
|
+
* Video: { // Video
|
|
39
|
+
* S3Object: { // S3Object
|
|
40
40
|
* Bucket: "STRING_VALUE",
|
|
41
41
|
* Name: "STRING_VALUE",
|
|
42
42
|
* Version: "STRING_VALUE",
|
|
43
43
|
* },
|
|
44
44
|
* },
|
|
45
45
|
* ClientRequestToken: "STRING_VALUE",
|
|
46
|
-
* NotificationChannel: {
|
|
46
|
+
* NotificationChannel: { // NotificationChannel
|
|
47
47
|
* SNSTopicArn: "STRING_VALUE", // required
|
|
48
48
|
* RoleArn: "STRING_VALUE", // required
|
|
49
49
|
* },
|
|
@@ -36,7 +36,7 @@ export interface StartProjectVersionCommandOutput extends StartProjectVersionRes
|
|
|
36
36
|
* import { RekognitionClient, StartProjectVersionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
37
37
|
* // const { RekognitionClient, StartProjectVersionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
38
38
|
* const client = new RekognitionClient(config);
|
|
39
|
-
* const input = {
|
|
39
|
+
* const input = { // StartProjectVersionRequest
|
|
40
40
|
* ProjectVersionArn: "STRING_VALUE", // required
|
|
41
41
|
* MinInferenceUnits: Number("int"), // required
|
|
42
42
|
* MaxInferenceUnits: Number("int"),
|
|
@@ -39,33 +39,33 @@ export interface StartSegmentDetectionCommandOutput extends StartSegmentDetectio
|
|
|
39
39
|
* import { RekognitionClient, StartSegmentDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
40
40
|
* // const { RekognitionClient, StartSegmentDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
41
41
|
* const client = new RekognitionClient(config);
|
|
42
|
-
* const input = {
|
|
43
|
-
* Video: {
|
|
44
|
-
* S3Object: {
|
|
42
|
+
* const input = { // StartSegmentDetectionRequest
|
|
43
|
+
* Video: { // Video
|
|
44
|
+
* S3Object: { // S3Object
|
|
45
45
|
* Bucket: "STRING_VALUE",
|
|
46
46
|
* Name: "STRING_VALUE",
|
|
47
47
|
* Version: "STRING_VALUE",
|
|
48
48
|
* },
|
|
49
49
|
* },
|
|
50
50
|
* ClientRequestToken: "STRING_VALUE",
|
|
51
|
-
* NotificationChannel: {
|
|
51
|
+
* NotificationChannel: { // NotificationChannel
|
|
52
52
|
* SNSTopicArn: "STRING_VALUE", // required
|
|
53
53
|
* RoleArn: "STRING_VALUE", // required
|
|
54
54
|
* },
|
|
55
55
|
* JobTag: "STRING_VALUE",
|
|
56
|
-
* Filters: {
|
|
57
|
-
* TechnicalCueFilter: {
|
|
56
|
+
* Filters: { // StartSegmentDetectionFilters
|
|
57
|
+
* TechnicalCueFilter: { // StartTechnicalCueDetectionFilter
|
|
58
58
|
* MinSegmentConfidence: Number("float"),
|
|
59
|
-
* BlackFrame: {
|
|
59
|
+
* BlackFrame: { // BlackFrame
|
|
60
60
|
* MaxPixelThreshold: Number("float"),
|
|
61
61
|
* MinCoveragePercentage: Number("float"),
|
|
62
62
|
* },
|
|
63
63
|
* },
|
|
64
|
-
* ShotFilter: {
|
|
64
|
+
* ShotFilter: { // StartShotDetectionFilter
|
|
65
65
|
* MinSegmentConfidence: Number("float"),
|
|
66
66
|
* },
|
|
67
67
|
* },
|
|
68
|
-
* SegmentTypes: [ // required
|
|
68
|
+
* SegmentTypes: [ // SegmentTypes // required
|
|
69
69
|
* "TECHNICAL_CUE" || "SHOT",
|
|
70
70
|
* ],
|
|
71
71
|
* };
|
|
@@ -29,15 +29,15 @@ export interface StartStreamProcessorCommandOutput extends StartStreamProcessorR
|
|
|
29
29
|
* import { RekognitionClient, StartStreamProcessorCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
30
30
|
* // const { RekognitionClient, StartStreamProcessorCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
31
31
|
* const client = new RekognitionClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // StartStreamProcessorRequest
|
|
33
33
|
* Name: "STRING_VALUE", // required
|
|
34
|
-
* StartSelector: {
|
|
35
|
-
* KVSStreamStartSelector: {
|
|
34
|
+
* StartSelector: { // StreamProcessingStartSelector
|
|
35
|
+
* KVSStreamStartSelector: { // KinesisVideoStreamStartSelector
|
|
36
36
|
* ProducerTimestamp: Number("long"),
|
|
37
37
|
* FragmentNumber: "STRING_VALUE",
|
|
38
38
|
* },
|
|
39
39
|
* },
|
|
40
|
-
* StopSelector: {
|
|
40
|
+
* StopSelector: { // StreamProcessingStopSelector
|
|
41
41
|
* MaxDurationInSeconds: Number("long"),
|
|
42
42
|
* },
|
|
43
43
|
* };
|
|
@@ -33,36 +33,36 @@ export interface StartTextDetectionCommandOutput extends StartTextDetectionRespo
|
|
|
33
33
|
* import { RekognitionClient, StartTextDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
34
34
|
* // const { RekognitionClient, StartTextDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
35
35
|
* const client = new RekognitionClient(config);
|
|
36
|
-
* const input = {
|
|
37
|
-
* Video: {
|
|
38
|
-
* S3Object: {
|
|
36
|
+
* const input = { // StartTextDetectionRequest
|
|
37
|
+
* Video: { // Video
|
|
38
|
+
* S3Object: { // S3Object
|
|
39
39
|
* Bucket: "STRING_VALUE",
|
|
40
40
|
* Name: "STRING_VALUE",
|
|
41
41
|
* Version: "STRING_VALUE",
|
|
42
42
|
* },
|
|
43
43
|
* },
|
|
44
44
|
* ClientRequestToken: "STRING_VALUE",
|
|
45
|
-
* NotificationChannel: {
|
|
45
|
+
* NotificationChannel: { // NotificationChannel
|
|
46
46
|
* SNSTopicArn: "STRING_VALUE", // required
|
|
47
47
|
* RoleArn: "STRING_VALUE", // required
|
|
48
48
|
* },
|
|
49
49
|
* JobTag: "STRING_VALUE",
|
|
50
|
-
* Filters: {
|
|
51
|
-
* WordFilter: {
|
|
50
|
+
* Filters: { // StartTextDetectionFilters
|
|
51
|
+
* WordFilter: { // DetectionFilter
|
|
52
52
|
* MinConfidence: Number("float"),
|
|
53
53
|
* MinBoundingBoxHeight: Number("float"),
|
|
54
54
|
* MinBoundingBoxWidth: Number("float"),
|
|
55
55
|
* },
|
|
56
|
-
* RegionsOfInterest: [
|
|
57
|
-
* {
|
|
58
|
-
* BoundingBox: {
|
|
56
|
+
* RegionsOfInterest: [ // RegionsOfInterest
|
|
57
|
+
* { // RegionOfInterest
|
|
58
|
+
* BoundingBox: { // BoundingBox
|
|
59
59
|
* Width: Number("float"),
|
|
60
60
|
* Height: Number("float"),
|
|
61
61
|
* Left: Number("float"),
|
|
62
62
|
* Top: Number("float"),
|
|
63
63
|
* },
|
|
64
|
-
* Polygon: [
|
|
65
|
-
* {
|
|
64
|
+
* Polygon: [ // Polygon
|
|
65
|
+
* { // Point
|
|
66
66
|
* X: Number("float"),
|
|
67
67
|
* Y: Number("float"),
|
|
68
68
|
* },
|
|
@@ -27,7 +27,7 @@ export interface StopProjectVersionCommandOutput extends StopProjectVersionRespo
|
|
|
27
27
|
* import { RekognitionClient, StopProjectVersionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
28
28
|
* // const { RekognitionClient, StopProjectVersionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
29
29
|
* const client = new RekognitionClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // StopProjectVersionRequest
|
|
31
31
|
* ProjectVersionArn: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new StopProjectVersionCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface StopStreamProcessorCommandOutput extends StopStreamProcessorRes
|
|
|
26
26
|
* import { RekognitionClient, StopStreamProcessorCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
27
27
|
* // const { RekognitionClient, StopStreamProcessorCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
28
28
|
* const client = new RekognitionClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // StopStreamProcessorRequest
|
|
30
30
|
* Name: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new StopStreamProcessorCommand(input);
|
|
@@ -30,9 +30,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
30
30
|
* import { RekognitionClient, TagResourceCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
31
31
|
* // const { RekognitionClient, TagResourceCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
32
32
|
* const client = new RekognitionClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // TagResourceRequest
|
|
34
34
|
* ResourceArn: "STRING_VALUE", // required
|
|
35
|
-
* Tags: { // required
|
|
35
|
+
* Tags: { // TagMap // required
|
|
36
36
|
* "<keys>": "STRING_VALUE",
|
|
37
37
|
* },
|
|
38
38
|
* };
|
|
@@ -29,9 +29,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
29
29
|
* import { RekognitionClient, UntagResourceCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
30
30
|
* // const { RekognitionClient, UntagResourceCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
31
31
|
* const client = new RekognitionClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // UntagResourceRequest
|
|
33
33
|
* ResourceArn: "STRING_VALUE", // required
|
|
34
|
-
* TagKeys: [ // required
|
|
34
|
+
* TagKeys: [ // TagKeyList // required
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* };
|
|
@@ -47,9 +47,9 @@ export interface UpdateDatasetEntriesCommandOutput extends UpdateDatasetEntriesR
|
|
|
47
47
|
* import { RekognitionClient, UpdateDatasetEntriesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
48
48
|
* // const { RekognitionClient, UpdateDatasetEntriesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
49
49
|
* const client = new RekognitionClient(config);
|
|
50
|
-
* const input = {
|
|
50
|
+
* const input = { // UpdateDatasetEntriesRequest
|
|
51
51
|
* DatasetArn: "STRING_VALUE", // required
|
|
52
|
-
* Changes: {
|
|
52
|
+
* Changes: { // DatasetChanges
|
|
53
53
|
* GroundTruth: "BLOB_VALUE", // required
|
|
54
54
|
* },
|
|
55
55
|
* };
|
|
@@ -28,36 +28,36 @@ export interface UpdateStreamProcessorCommandOutput extends UpdateStreamProcesso
|
|
|
28
28
|
* import { RekognitionClient, UpdateStreamProcessorCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
29
29
|
* // const { RekognitionClient, UpdateStreamProcessorCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
30
30
|
* const client = new RekognitionClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // UpdateStreamProcessorRequest
|
|
32
32
|
* Name: "STRING_VALUE", // required
|
|
33
|
-
* SettingsForUpdate: {
|
|
34
|
-
* ConnectedHomeForUpdate: {
|
|
35
|
-
* Labels: [
|
|
33
|
+
* SettingsForUpdate: { // StreamProcessorSettingsForUpdate
|
|
34
|
+
* ConnectedHomeForUpdate: { // ConnectedHomeSettingsForUpdate
|
|
35
|
+
* Labels: [ // ConnectedHomeLabels
|
|
36
36
|
* "STRING_VALUE",
|
|
37
37
|
* ],
|
|
38
38
|
* MinConfidence: Number("float"),
|
|
39
39
|
* },
|
|
40
40
|
* },
|
|
41
|
-
* RegionsOfInterestForUpdate: [
|
|
42
|
-
* {
|
|
43
|
-
* BoundingBox: {
|
|
41
|
+
* RegionsOfInterestForUpdate: [ // RegionsOfInterest
|
|
42
|
+
* { // RegionOfInterest
|
|
43
|
+
* BoundingBox: { // BoundingBox
|
|
44
44
|
* Width: Number("float"),
|
|
45
45
|
* Height: Number("float"),
|
|
46
46
|
* Left: Number("float"),
|
|
47
47
|
* Top: Number("float"),
|
|
48
48
|
* },
|
|
49
|
-
* Polygon: [
|
|
50
|
-
* {
|
|
49
|
+
* Polygon: [ // Polygon
|
|
50
|
+
* { // Point
|
|
51
51
|
* X: Number("float"),
|
|
52
52
|
* Y: Number("float"),
|
|
53
53
|
* },
|
|
54
54
|
* ],
|
|
55
55
|
* },
|
|
56
56
|
* ],
|
|
57
|
-
* DataSharingPreferenceForUpdate: {
|
|
57
|
+
* DataSharingPreferenceForUpdate: { // StreamProcessorDataSharingPreference
|
|
58
58
|
* OptIn: true || false, // required
|
|
59
59
|
* },
|
|
60
|
-
* ParametersToDelete: [
|
|
60
|
+
* ParametersToDelete: [ // StreamProcessorParametersToDelete
|
|
61
61
|
* "ConnectedHomeMinConfidence" || "RegionsOfInterest",
|
|
62
62
|
* ],
|
|
63
63
|
* };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rekognition",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rekognition Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|