@aws-sdk/client-rekognition 3.319.0 → 3.323.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/models/models_0.js +6 -6
- package/dist-cjs/models/models_1.js +5 -0
- package/dist-cjs/protocols/Aws_json1_1.js +29 -0
- package/dist-es/models/models_0.js +4 -4
- package/dist-es/models/models_1.js +4 -1
- package/dist-es/protocols/Aws_json1_1.js +29 -0
- package/dist-types/commands/GetContentModerationCommand.d.ts +1 -0
- package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +220 -45
- package/dist-types/models/models_1.d.ts +35 -1
- package/dist-types/ts3.4/commands/UpdateDatasetEntriesCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +47 -14
- package/dist-types/ts3.4/models/models_1.d.ts +12 -1
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.GetFaceLivenessSessionResultsResponseFilterSensitiveLog = exports.AuditImageFilterSensitiveLog = exports.
|
|
3
|
+
exports.IdempotentParameterMismatchException = exports.SegmentType = exports.TechnicalCueType = exports.PersonTrackingSortBy = exports.LabelDetectionSortBy = exports.LabelDetectionAggregateBy = exports.SessionNotFoundException = exports.LivenessSessionStatus = exports.VideoColorRange = exports.VideoJobStatus = exports.FaceSearchSortBy = exports.FaceAttributes = exports.TextTypes = exports.HumanLoopQuotaExceededException = exports.DetectLabelsFeatureName = exports.ResourceNotReadyException = exports.StreamProcessorStatus = exports.InvalidPaginationTokenException = exports.ProjectVersionStatus = exports.InvalidPolicyRevisionIdException = exports.ProjectStatus = exports.DatasetStatusMessageCode = exports.DatasetStatus = exports.DatasetType = exports.ResourceAlreadyExistsException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.LimitExceededException = exports.ContentModerationSortBy = exports.ContentModerationAggregateBy = exports.ContentClassifier = exports.ThrottlingException = exports.ProvisionedThroughputExceededException = exports.InvalidS3ObjectException = exports.InvalidParameterException = exports.InvalidImageFormatException = exports.InternalServerError = exports.ImageTooLargeException = exports.OrientationCorrection = exports.QualityFilter = exports.CelebrityRecognitionSortBy = exports.GenderType = exports.KnownGenderType = exports.LandmarkType = exports.EmotionName = exports.ProtectiveEquipmentType = exports.BodyPart = exports.Attribute = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.GetFaceLivenessSessionResultsResponseFilterSensitiveLog = exports.AuditImageFilterSensitiveLog = exports.VideoTooLargeException = exports.MalformedPolicyDocumentException = exports.LabelDetectionFeatureName = exports.Reason = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const RekognitionServiceException_1 = require("./RekognitionServiceException");
|
|
7
7
|
class AccessDeniedException extends RekognitionServiceException_1.RekognitionServiceException {
|
|
@@ -221,6 +221,10 @@ exports.ContentClassifier = {
|
|
|
221
221
|
FREE_OF_ADULT_CONTENT: "FreeOfAdultContent",
|
|
222
222
|
FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation",
|
|
223
223
|
};
|
|
224
|
+
exports.ContentModerationAggregateBy = {
|
|
225
|
+
SEGMENTS: "SEGMENTS",
|
|
226
|
+
TIMESTAMPS: "TIMESTAMPS",
|
|
227
|
+
};
|
|
224
228
|
exports.ContentModerationSortBy = {
|
|
225
229
|
NAME: "NAME",
|
|
226
230
|
TIMESTAMP: "TIMESTAMP",
|
|
@@ -550,10 +554,6 @@ class VideoTooLargeException extends RekognitionServiceException_1.RekognitionSe
|
|
|
550
554
|
}
|
|
551
555
|
}
|
|
552
556
|
exports.VideoTooLargeException = VideoTooLargeException;
|
|
553
|
-
exports.StreamProcessorParameterToDelete = {
|
|
554
|
-
ConnectedHomeMinConfidence: "ConnectedHomeMinConfidence",
|
|
555
|
-
RegionsOfInterest: "RegionsOfInterest",
|
|
556
|
-
};
|
|
557
557
|
const AuditImageFilterSensitiveLog = (obj) => ({
|
|
558
558
|
...obj,
|
|
559
559
|
...(obj.Bytes && { Bytes: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StreamProcessorParameterToDelete = void 0;
|
|
4
|
+
exports.StreamProcessorParameterToDelete = {
|
|
5
|
+
ConnectedHomeMinConfidence: "ConnectedHomeMinConfidence",
|
|
6
|
+
RegionsOfInterest: "RegionsOfInterest",
|
|
7
|
+
};
|
|
@@ -4506,7 +4506,10 @@ const de_ConnectedHomeSettings = (output, context) => {
|
|
|
4506
4506
|
};
|
|
4507
4507
|
const de_ContentModerationDetection = (output, context) => {
|
|
4508
4508
|
return (0, smithy_client_1.take)(output, {
|
|
4509
|
+
DurationMillis: smithy_client_1.expectLong,
|
|
4510
|
+
EndTimestampMillis: smithy_client_1.expectLong,
|
|
4509
4511
|
ModerationLabel: (_) => de_ModerationLabel(_, context),
|
|
4512
|
+
StartTimestampMillis: smithy_client_1.expectLong,
|
|
4510
4513
|
Timestamp: smithy_client_1.expectLong,
|
|
4511
4514
|
});
|
|
4512
4515
|
};
|
|
@@ -4851,28 +4854,38 @@ const de_Geometry = (output, context) => {
|
|
|
4851
4854
|
const de_GetCelebrityRecognitionResponse = (output, context) => {
|
|
4852
4855
|
return (0, smithy_client_1.take)(output, {
|
|
4853
4856
|
Celebrities: (_) => de_CelebrityRecognitions(_, context),
|
|
4857
|
+
JobId: smithy_client_1.expectString,
|
|
4854
4858
|
JobStatus: smithy_client_1.expectString,
|
|
4859
|
+
JobTag: smithy_client_1.expectString,
|
|
4855
4860
|
NextToken: smithy_client_1.expectString,
|
|
4856
4861
|
StatusMessage: smithy_client_1.expectString,
|
|
4862
|
+
Video: smithy_client_1._json,
|
|
4857
4863
|
VideoMetadata: (_) => de_VideoMetadata(_, context),
|
|
4858
4864
|
});
|
|
4859
4865
|
};
|
|
4860
4866
|
const de_GetContentModerationResponse = (output, context) => {
|
|
4861
4867
|
return (0, smithy_client_1.take)(output, {
|
|
4868
|
+
GetRequestMetadata: smithy_client_1._json,
|
|
4869
|
+
JobId: smithy_client_1.expectString,
|
|
4862
4870
|
JobStatus: smithy_client_1.expectString,
|
|
4871
|
+
JobTag: smithy_client_1.expectString,
|
|
4863
4872
|
ModerationLabels: (_) => de_ContentModerationDetections(_, context),
|
|
4864
4873
|
ModerationModelVersion: smithy_client_1.expectString,
|
|
4865
4874
|
NextToken: smithy_client_1.expectString,
|
|
4866
4875
|
StatusMessage: smithy_client_1.expectString,
|
|
4876
|
+
Video: smithy_client_1._json,
|
|
4867
4877
|
VideoMetadata: (_) => de_VideoMetadata(_, context),
|
|
4868
4878
|
});
|
|
4869
4879
|
};
|
|
4870
4880
|
const de_GetFaceDetectionResponse = (output, context) => {
|
|
4871
4881
|
return (0, smithy_client_1.take)(output, {
|
|
4872
4882
|
Faces: (_) => de_FaceDetections(_, context),
|
|
4883
|
+
JobId: smithy_client_1.expectString,
|
|
4873
4884
|
JobStatus: smithy_client_1.expectString,
|
|
4885
|
+
JobTag: smithy_client_1.expectString,
|
|
4874
4886
|
NextToken: smithy_client_1.expectString,
|
|
4875
4887
|
StatusMessage: smithy_client_1.expectString,
|
|
4888
|
+
Video: smithy_client_1._json,
|
|
4876
4889
|
VideoMetadata: (_) => de_VideoMetadata(_, context),
|
|
4877
4890
|
});
|
|
4878
4891
|
};
|
|
@@ -4887,50 +4900,66 @@ const de_GetFaceLivenessSessionResultsResponse = (output, context) => {
|
|
|
4887
4900
|
};
|
|
4888
4901
|
const de_GetFaceSearchResponse = (output, context) => {
|
|
4889
4902
|
return (0, smithy_client_1.take)(output, {
|
|
4903
|
+
JobId: smithy_client_1.expectString,
|
|
4890
4904
|
JobStatus: smithy_client_1.expectString,
|
|
4905
|
+
JobTag: smithy_client_1.expectString,
|
|
4891
4906
|
NextToken: smithy_client_1.expectString,
|
|
4892
4907
|
Persons: (_) => de_PersonMatches(_, context),
|
|
4893
4908
|
StatusMessage: smithy_client_1.expectString,
|
|
4909
|
+
Video: smithy_client_1._json,
|
|
4894
4910
|
VideoMetadata: (_) => de_VideoMetadata(_, context),
|
|
4895
4911
|
});
|
|
4896
4912
|
};
|
|
4897
4913
|
const de_GetLabelDetectionResponse = (output, context) => {
|
|
4898
4914
|
return (0, smithy_client_1.take)(output, {
|
|
4915
|
+
GetRequestMetadata: smithy_client_1._json,
|
|
4916
|
+
JobId: smithy_client_1.expectString,
|
|
4899
4917
|
JobStatus: smithy_client_1.expectString,
|
|
4918
|
+
JobTag: smithy_client_1.expectString,
|
|
4900
4919
|
LabelModelVersion: smithy_client_1.expectString,
|
|
4901
4920
|
Labels: (_) => de_LabelDetections(_, context),
|
|
4902
4921
|
NextToken: smithy_client_1.expectString,
|
|
4903
4922
|
StatusMessage: smithy_client_1.expectString,
|
|
4923
|
+
Video: smithy_client_1._json,
|
|
4904
4924
|
VideoMetadata: (_) => de_VideoMetadata(_, context),
|
|
4905
4925
|
});
|
|
4906
4926
|
};
|
|
4907
4927
|
const de_GetPersonTrackingResponse = (output, context) => {
|
|
4908
4928
|
return (0, smithy_client_1.take)(output, {
|
|
4929
|
+
JobId: smithy_client_1.expectString,
|
|
4909
4930
|
JobStatus: smithy_client_1.expectString,
|
|
4931
|
+
JobTag: smithy_client_1.expectString,
|
|
4910
4932
|
NextToken: smithy_client_1.expectString,
|
|
4911
4933
|
Persons: (_) => de_PersonDetections(_, context),
|
|
4912
4934
|
StatusMessage: smithy_client_1.expectString,
|
|
4935
|
+
Video: smithy_client_1._json,
|
|
4913
4936
|
VideoMetadata: (_) => de_VideoMetadata(_, context),
|
|
4914
4937
|
});
|
|
4915
4938
|
};
|
|
4916
4939
|
const de_GetSegmentDetectionResponse = (output, context) => {
|
|
4917
4940
|
return (0, smithy_client_1.take)(output, {
|
|
4918
4941
|
AudioMetadata: smithy_client_1._json,
|
|
4942
|
+
JobId: smithy_client_1.expectString,
|
|
4919
4943
|
JobStatus: smithy_client_1.expectString,
|
|
4944
|
+
JobTag: smithy_client_1.expectString,
|
|
4920
4945
|
NextToken: smithy_client_1.expectString,
|
|
4921
4946
|
Segments: (_) => de_SegmentDetections(_, context),
|
|
4922
4947
|
SelectedSegmentTypes: smithy_client_1._json,
|
|
4923
4948
|
StatusMessage: smithy_client_1.expectString,
|
|
4949
|
+
Video: smithy_client_1._json,
|
|
4924
4950
|
VideoMetadata: (_) => de_VideoMetadataList(_, context),
|
|
4925
4951
|
});
|
|
4926
4952
|
};
|
|
4927
4953
|
const de_GetTextDetectionResponse = (output, context) => {
|
|
4928
4954
|
return (0, smithy_client_1.take)(output, {
|
|
4955
|
+
JobId: smithy_client_1.expectString,
|
|
4929
4956
|
JobStatus: smithy_client_1.expectString,
|
|
4957
|
+
JobTag: smithy_client_1.expectString,
|
|
4930
4958
|
NextToken: smithy_client_1.expectString,
|
|
4931
4959
|
StatusMessage: smithy_client_1.expectString,
|
|
4932
4960
|
TextDetections: (_) => de_TextDetectionResults(_, context),
|
|
4933
4961
|
TextModelVersion: smithy_client_1.expectString,
|
|
4962
|
+
Video: smithy_client_1._json,
|
|
4934
4963
|
VideoMetadata: (_) => de_VideoMetadata(_, context),
|
|
4935
4964
|
});
|
|
4936
4965
|
};
|
|
@@ -209,6 +209,10 @@ export const ContentClassifier = {
|
|
|
209
209
|
FREE_OF_ADULT_CONTENT: "FreeOfAdultContent",
|
|
210
210
|
FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation",
|
|
211
211
|
};
|
|
212
|
+
export const ContentModerationAggregateBy = {
|
|
213
|
+
SEGMENTS: "SEGMENTS",
|
|
214
|
+
TIMESTAMPS: "TIMESTAMPS",
|
|
215
|
+
};
|
|
212
216
|
export const ContentModerationSortBy = {
|
|
213
217
|
NAME: "NAME",
|
|
214
218
|
TIMESTAMP: "TIMESTAMP",
|
|
@@ -525,10 +529,6 @@ export class VideoTooLargeException extends __BaseException {
|
|
|
525
529
|
this.Logref = opts.Logref;
|
|
526
530
|
}
|
|
527
531
|
}
|
|
528
|
-
export const StreamProcessorParameterToDelete = {
|
|
529
|
-
ConnectedHomeMinConfidence: "ConnectedHomeMinConfidence",
|
|
530
|
-
RegionsOfInterest: "RegionsOfInterest",
|
|
531
|
-
};
|
|
532
532
|
export const AuditImageFilterSensitiveLog = (obj) => ({
|
|
533
533
|
...obj,
|
|
534
534
|
...(obj.Bytes && { Bytes: SENSITIVE_STRING }),
|
|
@@ -4371,7 +4371,10 @@ const de_ConnectedHomeSettings = (output, context) => {
|
|
|
4371
4371
|
};
|
|
4372
4372
|
const de_ContentModerationDetection = (output, context) => {
|
|
4373
4373
|
return take(output, {
|
|
4374
|
+
DurationMillis: __expectLong,
|
|
4375
|
+
EndTimestampMillis: __expectLong,
|
|
4374
4376
|
ModerationLabel: (_) => de_ModerationLabel(_, context),
|
|
4377
|
+
StartTimestampMillis: __expectLong,
|
|
4375
4378
|
Timestamp: __expectLong,
|
|
4376
4379
|
});
|
|
4377
4380
|
};
|
|
@@ -4716,28 +4719,38 @@ const de_Geometry = (output, context) => {
|
|
|
4716
4719
|
const de_GetCelebrityRecognitionResponse = (output, context) => {
|
|
4717
4720
|
return take(output, {
|
|
4718
4721
|
Celebrities: (_) => de_CelebrityRecognitions(_, context),
|
|
4722
|
+
JobId: __expectString,
|
|
4719
4723
|
JobStatus: __expectString,
|
|
4724
|
+
JobTag: __expectString,
|
|
4720
4725
|
NextToken: __expectString,
|
|
4721
4726
|
StatusMessage: __expectString,
|
|
4727
|
+
Video: _json,
|
|
4722
4728
|
VideoMetadata: (_) => de_VideoMetadata(_, context),
|
|
4723
4729
|
});
|
|
4724
4730
|
};
|
|
4725
4731
|
const de_GetContentModerationResponse = (output, context) => {
|
|
4726
4732
|
return take(output, {
|
|
4733
|
+
GetRequestMetadata: _json,
|
|
4734
|
+
JobId: __expectString,
|
|
4727
4735
|
JobStatus: __expectString,
|
|
4736
|
+
JobTag: __expectString,
|
|
4728
4737
|
ModerationLabels: (_) => de_ContentModerationDetections(_, context),
|
|
4729
4738
|
ModerationModelVersion: __expectString,
|
|
4730
4739
|
NextToken: __expectString,
|
|
4731
4740
|
StatusMessage: __expectString,
|
|
4741
|
+
Video: _json,
|
|
4732
4742
|
VideoMetadata: (_) => de_VideoMetadata(_, context),
|
|
4733
4743
|
});
|
|
4734
4744
|
};
|
|
4735
4745
|
const de_GetFaceDetectionResponse = (output, context) => {
|
|
4736
4746
|
return take(output, {
|
|
4737
4747
|
Faces: (_) => de_FaceDetections(_, context),
|
|
4748
|
+
JobId: __expectString,
|
|
4738
4749
|
JobStatus: __expectString,
|
|
4750
|
+
JobTag: __expectString,
|
|
4739
4751
|
NextToken: __expectString,
|
|
4740
4752
|
StatusMessage: __expectString,
|
|
4753
|
+
Video: _json,
|
|
4741
4754
|
VideoMetadata: (_) => de_VideoMetadata(_, context),
|
|
4742
4755
|
});
|
|
4743
4756
|
};
|
|
@@ -4752,50 +4765,66 @@ const de_GetFaceLivenessSessionResultsResponse = (output, context) => {
|
|
|
4752
4765
|
};
|
|
4753
4766
|
const de_GetFaceSearchResponse = (output, context) => {
|
|
4754
4767
|
return take(output, {
|
|
4768
|
+
JobId: __expectString,
|
|
4755
4769
|
JobStatus: __expectString,
|
|
4770
|
+
JobTag: __expectString,
|
|
4756
4771
|
NextToken: __expectString,
|
|
4757
4772
|
Persons: (_) => de_PersonMatches(_, context),
|
|
4758
4773
|
StatusMessage: __expectString,
|
|
4774
|
+
Video: _json,
|
|
4759
4775
|
VideoMetadata: (_) => de_VideoMetadata(_, context),
|
|
4760
4776
|
});
|
|
4761
4777
|
};
|
|
4762
4778
|
const de_GetLabelDetectionResponse = (output, context) => {
|
|
4763
4779
|
return take(output, {
|
|
4780
|
+
GetRequestMetadata: _json,
|
|
4781
|
+
JobId: __expectString,
|
|
4764
4782
|
JobStatus: __expectString,
|
|
4783
|
+
JobTag: __expectString,
|
|
4765
4784
|
LabelModelVersion: __expectString,
|
|
4766
4785
|
Labels: (_) => de_LabelDetections(_, context),
|
|
4767
4786
|
NextToken: __expectString,
|
|
4768
4787
|
StatusMessage: __expectString,
|
|
4788
|
+
Video: _json,
|
|
4769
4789
|
VideoMetadata: (_) => de_VideoMetadata(_, context),
|
|
4770
4790
|
});
|
|
4771
4791
|
};
|
|
4772
4792
|
const de_GetPersonTrackingResponse = (output, context) => {
|
|
4773
4793
|
return take(output, {
|
|
4794
|
+
JobId: __expectString,
|
|
4774
4795
|
JobStatus: __expectString,
|
|
4796
|
+
JobTag: __expectString,
|
|
4775
4797
|
NextToken: __expectString,
|
|
4776
4798
|
Persons: (_) => de_PersonDetections(_, context),
|
|
4777
4799
|
StatusMessage: __expectString,
|
|
4800
|
+
Video: _json,
|
|
4778
4801
|
VideoMetadata: (_) => de_VideoMetadata(_, context),
|
|
4779
4802
|
});
|
|
4780
4803
|
};
|
|
4781
4804
|
const de_GetSegmentDetectionResponse = (output, context) => {
|
|
4782
4805
|
return take(output, {
|
|
4783
4806
|
AudioMetadata: _json,
|
|
4807
|
+
JobId: __expectString,
|
|
4784
4808
|
JobStatus: __expectString,
|
|
4809
|
+
JobTag: __expectString,
|
|
4785
4810
|
NextToken: __expectString,
|
|
4786
4811
|
Segments: (_) => de_SegmentDetections(_, context),
|
|
4787
4812
|
SelectedSegmentTypes: _json,
|
|
4788
4813
|
StatusMessage: __expectString,
|
|
4814
|
+
Video: _json,
|
|
4789
4815
|
VideoMetadata: (_) => de_VideoMetadataList(_, context),
|
|
4790
4816
|
});
|
|
4791
4817
|
};
|
|
4792
4818
|
const de_GetTextDetectionResponse = (output, context) => {
|
|
4793
4819
|
return take(output, {
|
|
4820
|
+
JobId: __expectString,
|
|
4794
4821
|
JobStatus: __expectString,
|
|
4822
|
+
JobTag: __expectString,
|
|
4795
4823
|
NextToken: __expectString,
|
|
4796
4824
|
StatusMessage: __expectString,
|
|
4797
4825
|
TextDetections: (_) => de_TextDetectionResults(_, context),
|
|
4798
4826
|
TextModelVersion: __expectString,
|
|
4827
|
+
Video: _json,
|
|
4799
4828
|
VideoMetadata: (_) => de_VideoMetadata(_, context),
|
|
4800
4829
|
});
|
|
4801
4830
|
};
|
|
@@ -57,6 +57,7 @@ export interface GetContentModerationCommandOutput extends GetContentModerationR
|
|
|
57
57
|
* MaxResults: Number("int"),
|
|
58
58
|
* NextToken: "STRING_VALUE",
|
|
59
59
|
* SortBy: "NAME" || "TIMESTAMP",
|
|
60
|
+
* AggregateBy: "TIMESTAMPS" || "SEGMENTS",
|
|
60
61
|
* };
|
|
61
62
|
* const command = new GetContentModerationCommand(input);
|
|
62
63
|
* const response = await client.send(command);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
-
import { UpdateDatasetEntriesRequest, UpdateDatasetEntriesResponse } from "../models/
|
|
4
|
+
import { UpdateDatasetEntriesRequest, UpdateDatasetEntriesResponse } from "../models/models_1";
|
|
5
5
|
import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1230,6 +1230,18 @@ export declare const ContentClassifier: {
|
|
|
1230
1230
|
* @public
|
|
1231
1231
|
*/
|
|
1232
1232
|
export type ContentClassifier = (typeof ContentClassifier)[keyof typeof ContentClassifier];
|
|
1233
|
+
/**
|
|
1234
|
+
* @public
|
|
1235
|
+
* @enum
|
|
1236
|
+
*/
|
|
1237
|
+
export declare const ContentModerationAggregateBy: {
|
|
1238
|
+
readonly SEGMENTS: "SEGMENTS";
|
|
1239
|
+
readonly TIMESTAMPS: "TIMESTAMPS";
|
|
1240
|
+
};
|
|
1241
|
+
/**
|
|
1242
|
+
* @public
|
|
1243
|
+
*/
|
|
1244
|
+
export type ContentModerationAggregateBy = (typeof ContentModerationAggregateBy)[keyof typeof ContentModerationAggregateBy];
|
|
1233
1245
|
/**
|
|
1234
1246
|
* @public
|
|
1235
1247
|
* <p>Provides information about a single type of inappropriate, unwanted, or
|
|
@@ -1270,6 +1282,21 @@ export interface ContentModerationDetection {
|
|
|
1270
1282
|
* <p>The content moderation label detected by in the stored video.</p>
|
|
1271
1283
|
*/
|
|
1272
1284
|
ModerationLabel?: ModerationLabel;
|
|
1285
|
+
/**
|
|
1286
|
+
* <p>The time in milliseconds defining the start of the timeline
|
|
1287
|
+
* segment containing a continuously detected moderation label.</p>
|
|
1288
|
+
*/
|
|
1289
|
+
StartTimestampMillis?: number;
|
|
1290
|
+
/**
|
|
1291
|
+
* <p> The time in milliseconds defining the end of the
|
|
1292
|
+
* timeline segment containing a continuously detected moderation label. </p>
|
|
1293
|
+
*/
|
|
1294
|
+
EndTimestampMillis?: number;
|
|
1295
|
+
/**
|
|
1296
|
+
* <p> The time duration of a segment in milliseconds,
|
|
1297
|
+
* I.e. time elapsed from StartTimestampMillis to EndTimestampMillis. </p>
|
|
1298
|
+
*/
|
|
1299
|
+
DurationMillis?: number;
|
|
1273
1300
|
}
|
|
1274
1301
|
/**
|
|
1275
1302
|
* @public
|
|
@@ -3912,6 +3939,17 @@ export declare const VideoJobStatus: {
|
|
|
3912
3939
|
* @public
|
|
3913
3940
|
*/
|
|
3914
3941
|
export type VideoJobStatus = (typeof VideoJobStatus)[keyof typeof VideoJobStatus];
|
|
3942
|
+
/**
|
|
3943
|
+
* @public
|
|
3944
|
+
* <p>Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as <a>StartLabelDetection</a> use <code>Video</code> to
|
|
3945
|
+
* specify a video for analysis. The supported file formats are .mp4, .mov and .avi.</p>
|
|
3946
|
+
*/
|
|
3947
|
+
export interface Video {
|
|
3948
|
+
/**
|
|
3949
|
+
* <p>The Amazon S3 bucket name and file name for the video.</p>
|
|
3950
|
+
*/
|
|
3951
|
+
S3Object?: S3Object;
|
|
3952
|
+
}
|
|
3915
3953
|
/**
|
|
3916
3954
|
* @public
|
|
3917
3955
|
* @enum
|
|
@@ -3987,6 +4025,23 @@ export interface GetCelebrityRecognitionResponse {
|
|
|
3987
4025
|
* <p>Array of celebrities recognized in the video.</p>
|
|
3988
4026
|
*/
|
|
3989
4027
|
Celebrities?: CelebrityRecognition[];
|
|
4028
|
+
/**
|
|
4029
|
+
* <p>Job identifier for the celebrity recognition operation for which you
|
|
4030
|
+
* want to obtain results. The job identifer is returned by an initial call
|
|
4031
|
+
* to StartCelebrityRecognition.</p>
|
|
4032
|
+
*/
|
|
4033
|
+
JobId?: string;
|
|
4034
|
+
/**
|
|
4035
|
+
* <p>Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as <a>StartLabelDetection</a> use <code>Video</code> to
|
|
4036
|
+
* specify a video for analysis. The supported file formats are .mp4, .mov and .avi.</p>
|
|
4037
|
+
*/
|
|
4038
|
+
Video?: Video;
|
|
4039
|
+
/**
|
|
4040
|
+
* <p>A job identifier specified in the call to StartCelebrityRecognition and
|
|
4041
|
+
* returned in the job completion notification sent to your
|
|
4042
|
+
* Amazon Simple Notification Service topic.</p>
|
|
4043
|
+
*/
|
|
4044
|
+
JobTag?: string;
|
|
3990
4045
|
}
|
|
3991
4046
|
/**
|
|
3992
4047
|
* @public
|
|
@@ -4017,6 +4072,27 @@ export interface GetContentModerationRequest {
|
|
|
4017
4072
|
* The default sort is by <code>TIMESTAMP</code>.</p>
|
|
4018
4073
|
*/
|
|
4019
4074
|
SortBy?: ContentModerationSortBy | string;
|
|
4075
|
+
/**
|
|
4076
|
+
* <p>Defines how to aggregate results of the StartContentModeration request.
|
|
4077
|
+
* Default aggregation option is TIMESTAMPS.
|
|
4078
|
+
* SEGMENTS mode aggregates moderation labels over time.</p>
|
|
4079
|
+
*/
|
|
4080
|
+
AggregateBy?: ContentModerationAggregateBy | string;
|
|
4081
|
+
}
|
|
4082
|
+
/**
|
|
4083
|
+
* @public
|
|
4084
|
+
* <p>Contains metadata about a content moderation request,
|
|
4085
|
+
* including the SortBy and AggregateBy options.</p>
|
|
4086
|
+
*/
|
|
4087
|
+
export interface GetContentModerationRequestMetadata {
|
|
4088
|
+
/**
|
|
4089
|
+
* <p>The sorting method chosen for a GetContentModeration request.</p>
|
|
4090
|
+
*/
|
|
4091
|
+
SortBy?: ContentModerationSortBy | string;
|
|
4092
|
+
/**
|
|
4093
|
+
* <p>The aggregation method chosen for a GetContentModeration request.</p>
|
|
4094
|
+
*/
|
|
4095
|
+
AggregateBy?: ContentModerationAggregateBy | string;
|
|
4020
4096
|
}
|
|
4021
4097
|
/**
|
|
4022
4098
|
* @public
|
|
@@ -4048,6 +4124,28 @@ export interface GetContentModerationResponse {
|
|
|
4048
4124
|
* <p>Version number of the moderation detection model that was used to detect inappropriate, unwanted, or offensive content.</p>
|
|
4049
4125
|
*/
|
|
4050
4126
|
ModerationModelVersion?: string;
|
|
4127
|
+
/**
|
|
4128
|
+
* <p>Job identifier for the content moderation operation for which you
|
|
4129
|
+
* want to obtain results. The job identifer is returned by an initial call
|
|
4130
|
+
* to StartContentModeration.</p>
|
|
4131
|
+
*/
|
|
4132
|
+
JobId?: string;
|
|
4133
|
+
/**
|
|
4134
|
+
* <p>Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as <a>StartLabelDetection</a> use <code>Video</code> to
|
|
4135
|
+
* specify a video for analysis. The supported file formats are .mp4, .mov and .avi.</p>
|
|
4136
|
+
*/
|
|
4137
|
+
Video?: Video;
|
|
4138
|
+
/**
|
|
4139
|
+
* <p>A job identifier specified in the call to StartContentModeration and
|
|
4140
|
+
* returned in the job completion notification sent to your
|
|
4141
|
+
* Amazon Simple Notification Service topic.</p>
|
|
4142
|
+
*/
|
|
4143
|
+
JobTag?: string;
|
|
4144
|
+
/**
|
|
4145
|
+
* <p>Information about the paramters used when getting a response. Includes
|
|
4146
|
+
* information on aggregation and sorting methods.</p>
|
|
4147
|
+
*/
|
|
4148
|
+
GetRequestMetadata?: GetContentModerationRequestMetadata;
|
|
4051
4149
|
}
|
|
4052
4150
|
/**
|
|
4053
4151
|
* @public
|
|
@@ -4095,6 +4193,23 @@ export interface GetFaceDetectionResponse {
|
|
|
4095
4193
|
* in milliseconds from the start of the video, the face was detected. </p>
|
|
4096
4194
|
*/
|
|
4097
4195
|
Faces?: FaceDetection[];
|
|
4196
|
+
/**
|
|
4197
|
+
* <p>Job identifier for the face detection operation for which you
|
|
4198
|
+
* want to obtain results. The job identifer is returned by an initial call
|
|
4199
|
+
* to StartFaceDetection.</p>
|
|
4200
|
+
*/
|
|
4201
|
+
JobId?: string;
|
|
4202
|
+
/**
|
|
4203
|
+
* <p>Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as <a>StartLabelDetection</a> use <code>Video</code> to
|
|
4204
|
+
* specify a video for analysis. The supported file formats are .mp4, .mov and .avi.</p>
|
|
4205
|
+
*/
|
|
4206
|
+
Video?: Video;
|
|
4207
|
+
/**
|
|
4208
|
+
* <p>A job identifier specified in the call to StartFaceDetection and
|
|
4209
|
+
* returned in the job completion notification sent to your
|
|
4210
|
+
* Amazon Simple Notification Service topic.</p>
|
|
4211
|
+
*/
|
|
4212
|
+
JobTag?: string;
|
|
4098
4213
|
}
|
|
4099
4214
|
/**
|
|
4100
4215
|
* @public
|
|
@@ -4270,6 +4385,23 @@ export interface GetFaceSearchResponse {
|
|
|
4270
4385
|
* and person information (<code>Person</code>) for the matched person. </p>
|
|
4271
4386
|
*/
|
|
4272
4387
|
Persons?: PersonMatch[];
|
|
4388
|
+
/**
|
|
4389
|
+
* <p>Job identifier for the face search operation for which you
|
|
4390
|
+
* want to obtain results. The job identifer is returned by an initial call
|
|
4391
|
+
* to StartFaceSearch.</p>
|
|
4392
|
+
*/
|
|
4393
|
+
JobId?: string;
|
|
4394
|
+
/**
|
|
4395
|
+
* <p>Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as <a>StartLabelDetection</a> use <code>Video</code> to
|
|
4396
|
+
* specify a video for analysis. The supported file formats are .mp4, .mov and .avi.</p>
|
|
4397
|
+
*/
|
|
4398
|
+
Video?: Video;
|
|
4399
|
+
/**
|
|
4400
|
+
* <p>A job identifier specified in the call to StartFaceSearch and
|
|
4401
|
+
* returned in the job completion notification sent to your
|
|
4402
|
+
* Amazon Simple Notification Service topic.</p>
|
|
4403
|
+
*/
|
|
4404
|
+
JobTag?: string;
|
|
4273
4405
|
}
|
|
4274
4406
|
/**
|
|
4275
4407
|
* @public
|
|
@@ -4328,6 +4460,21 @@ export interface GetLabelDetectionRequest {
|
|
|
4328
4460
|
*/
|
|
4329
4461
|
AggregateBy?: LabelDetectionAggregateBy | string;
|
|
4330
4462
|
}
|
|
4463
|
+
/**
|
|
4464
|
+
* @public
|
|
4465
|
+
* <p>Contains metadata about a label detection request,
|
|
4466
|
+
* including the SortBy and AggregateBy options.</p>
|
|
4467
|
+
*/
|
|
4468
|
+
export interface GetLabelDetectionRequestMetadata {
|
|
4469
|
+
/**
|
|
4470
|
+
* <p>The sorting method chosen for a GetLabelDetection request.</p>
|
|
4471
|
+
*/
|
|
4472
|
+
SortBy?: LabelDetectionSortBy | string;
|
|
4473
|
+
/**
|
|
4474
|
+
* <p>The aggregation method chosen for a GetLabelDetection request.</p>
|
|
4475
|
+
*/
|
|
4476
|
+
AggregateBy?: LabelDetectionAggregateBy | string;
|
|
4477
|
+
}
|
|
4331
4478
|
/**
|
|
4332
4479
|
* @public
|
|
4333
4480
|
* <p>Information about a label detected in a video analysis request and the time the label was detected in the video. </p>
|
|
@@ -4386,6 +4533,28 @@ export interface GetLabelDetectionResponse {
|
|
|
4386
4533
|
* <p>Version number of the label detection model that was used to detect labels.</p>
|
|
4387
4534
|
*/
|
|
4388
4535
|
LabelModelVersion?: string;
|
|
4536
|
+
/**
|
|
4537
|
+
* <p>Job identifier for the label detection operation for which you
|
|
4538
|
+
* want to obtain results. The job identifer is returned by an initial call
|
|
4539
|
+
* to StartLabelDetection.</p>
|
|
4540
|
+
*/
|
|
4541
|
+
JobId?: string;
|
|
4542
|
+
/**
|
|
4543
|
+
* <p>Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as <a>StartLabelDetection</a> use <code>Video</code> to
|
|
4544
|
+
* specify a video for analysis. The supported file formats are .mp4, .mov and .avi.</p>
|
|
4545
|
+
*/
|
|
4546
|
+
Video?: Video;
|
|
4547
|
+
/**
|
|
4548
|
+
* <p>A job identifier specified in the call to StartLabelDetection and
|
|
4549
|
+
* returned in the job completion notification sent to your
|
|
4550
|
+
* Amazon Simple Notification Service topic.</p>
|
|
4551
|
+
*/
|
|
4552
|
+
JobTag?: string;
|
|
4553
|
+
/**
|
|
4554
|
+
* <p>Information about the paramters used when getting a response. Includes
|
|
4555
|
+
* information on aggregation and sorting methods.</p>
|
|
4556
|
+
*/
|
|
4557
|
+
GetRequestMetadata?: GetLabelDetectionRequestMetadata;
|
|
4389
4558
|
}
|
|
4390
4559
|
/**
|
|
4391
4560
|
* @public
|
|
@@ -4471,6 +4640,23 @@ export interface GetPersonTrackingResponse {
|
|
|
4471
4640
|
* An array element will exist for each time a person's path is tracked. </p>
|
|
4472
4641
|
*/
|
|
4473
4642
|
Persons?: PersonDetection[];
|
|
4643
|
+
/**
|
|
4644
|
+
* <p>Job identifier for the person tracking operation for which you
|
|
4645
|
+
* want to obtain results. The job identifer is returned by an initial call
|
|
4646
|
+
* to StartPersonTracking.</p>
|
|
4647
|
+
*/
|
|
4648
|
+
JobId?: string;
|
|
4649
|
+
/**
|
|
4650
|
+
* <p>Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as <a>StartLabelDetection</a> use <code>Video</code> to
|
|
4651
|
+
* specify a video for analysis. The supported file formats are .mp4, .mov and .avi.</p>
|
|
4652
|
+
*/
|
|
4653
|
+
Video?: Video;
|
|
4654
|
+
/**
|
|
4655
|
+
* <p>A job identifier specified in the call to StartCelebrityRecognition and
|
|
4656
|
+
* returned in the job completion notification sent to your
|
|
4657
|
+
* Amazon Simple Notification Service topic.</p>
|
|
4658
|
+
*/
|
|
4659
|
+
JobTag?: string;
|
|
4474
4660
|
}
|
|
4475
4661
|
/**
|
|
4476
4662
|
* @public
|
|
@@ -4680,6 +4866,23 @@ export interface GetSegmentDetectionResponse {
|
|
|
4680
4866
|
* </p>
|
|
4681
4867
|
*/
|
|
4682
4868
|
SelectedSegmentTypes?: SegmentTypeInfo[];
|
|
4869
|
+
/**
|
|
4870
|
+
* <p>Job identifier for the segment detection operation for which you
|
|
4871
|
+
* want to obtain results. The job identifer is returned by an initial call
|
|
4872
|
+
* to StartSegmentDetection.</p>
|
|
4873
|
+
*/
|
|
4874
|
+
JobId?: string;
|
|
4875
|
+
/**
|
|
4876
|
+
* <p>Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as <a>StartLabelDetection</a> use <code>Video</code> to
|
|
4877
|
+
* specify a video for analysis. The supported file formats are .mp4, .mov and .avi.</p>
|
|
4878
|
+
*/
|
|
4879
|
+
Video?: Video;
|
|
4880
|
+
/**
|
|
4881
|
+
* <p>A job identifier specified in the call to StartSegmentDetection and
|
|
4882
|
+
* returned in the job completion notification sent to your
|
|
4883
|
+
* Amazon Simple Notification Service topic.</p>
|
|
4884
|
+
*/
|
|
4885
|
+
JobTag?: string;
|
|
4683
4886
|
}
|
|
4684
4887
|
/**
|
|
4685
4888
|
* @public
|
|
@@ -4747,6 +4950,23 @@ export interface GetTextDetectionResponse {
|
|
|
4747
4950
|
* <p>Version number of the text detection model that was used to detect text.</p>
|
|
4748
4951
|
*/
|
|
4749
4952
|
TextModelVersion?: string;
|
|
4953
|
+
/**
|
|
4954
|
+
* <p>Job identifier for the text detection operation for which you
|
|
4955
|
+
* want to obtain results. The job identifer is returned by an initial call
|
|
4956
|
+
* to StartTextDetection.</p>
|
|
4957
|
+
*/
|
|
4958
|
+
JobId?: string;
|
|
4959
|
+
/**
|
|
4960
|
+
* <p>Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as <a>StartLabelDetection</a> use <code>Video</code> to
|
|
4961
|
+
* specify a video for analysis. The supported file formats are .mp4, .mov and .avi.</p>
|
|
4962
|
+
*/
|
|
4963
|
+
Video?: Video;
|
|
4964
|
+
/**
|
|
4965
|
+
* <p>A job identifier specified in the call to StartTextDetection and
|
|
4966
|
+
* returned in the job completion notification sent to your
|
|
4967
|
+
* Amazon Simple Notification Service topic.</p>
|
|
4968
|
+
*/
|
|
4969
|
+
JobTag?: string;
|
|
4750
4970
|
}
|
|
4751
4971
|
/**
|
|
4752
4972
|
* @public
|
|
@@ -5516,17 +5736,6 @@ export interface SearchFacesByImageResponse {
|
|
|
5516
5736
|
*/
|
|
5517
5737
|
FaceModelVersion?: string;
|
|
5518
5738
|
}
|
|
5519
|
-
/**
|
|
5520
|
-
* @public
|
|
5521
|
-
* <p>Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as <a>StartLabelDetection</a> use <code>Video</code> to
|
|
5522
|
-
* specify a video for analysis. The supported file formats are .mp4, .mov and .avi.</p>
|
|
5523
|
-
*/
|
|
5524
|
-
export interface Video {
|
|
5525
|
-
/**
|
|
5526
|
-
* <p>The Amazon S3 bucket name and file name for the video.</p>
|
|
5527
|
-
*/
|
|
5528
|
-
S3Object?: S3Object;
|
|
5529
|
-
}
|
|
5530
5739
|
/**
|
|
5531
5740
|
* @public
|
|
5532
5741
|
*/
|
|
@@ -6131,40 +6340,6 @@ export interface UntagResourceRequest {
|
|
|
6131
6340
|
*/
|
|
6132
6341
|
export interface UntagResourceResponse {
|
|
6133
6342
|
}
|
|
6134
|
-
/**
|
|
6135
|
-
* @public
|
|
6136
|
-
*/
|
|
6137
|
-
export interface UpdateDatasetEntriesRequest {
|
|
6138
|
-
/**
|
|
6139
|
-
* <p>
|
|
6140
|
-
* The Amazon Resource Name (ARN) of the dataset that you want to update.
|
|
6141
|
-
* </p>
|
|
6142
|
-
*/
|
|
6143
|
-
DatasetArn: string | undefined;
|
|
6144
|
-
/**
|
|
6145
|
-
* <p>
|
|
6146
|
-
* The changes that you want to make to the dataset.
|
|
6147
|
-
* </p>
|
|
6148
|
-
*/
|
|
6149
|
-
Changes: DatasetChanges | undefined;
|
|
6150
|
-
}
|
|
6151
|
-
/**
|
|
6152
|
-
* @public
|
|
6153
|
-
*/
|
|
6154
|
-
export interface UpdateDatasetEntriesResponse {
|
|
6155
|
-
}
|
|
6156
|
-
/**
|
|
6157
|
-
* @public
|
|
6158
|
-
* @enum
|
|
6159
|
-
*/
|
|
6160
|
-
export declare const StreamProcessorParameterToDelete: {
|
|
6161
|
-
readonly ConnectedHomeMinConfidence: "ConnectedHomeMinConfidence";
|
|
6162
|
-
readonly RegionsOfInterest: "RegionsOfInterest";
|
|
6163
|
-
};
|
|
6164
|
-
/**
|
|
6165
|
-
* @public
|
|
6166
|
-
*/
|
|
6167
|
-
export type StreamProcessorParameterToDelete = (typeof StreamProcessorParameterToDelete)[keyof typeof StreamProcessorParameterToDelete];
|
|
6168
6343
|
/**
|
|
6169
6344
|
* @internal
|
|
6170
6345
|
*/
|
|
@@ -1,4 +1,38 @@
|
|
|
1
|
-
import { ConnectedHomeSettingsForUpdate, RegionOfInterest, StreamProcessorDataSharingPreference
|
|
1
|
+
import { ConnectedHomeSettingsForUpdate, DatasetChanges, RegionOfInterest, StreamProcessorDataSharingPreference } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface UpdateDatasetEntriesRequest {
|
|
6
|
+
/**
|
|
7
|
+
* <p>
|
|
8
|
+
* The Amazon Resource Name (ARN) of the dataset that you want to update.
|
|
9
|
+
* </p>
|
|
10
|
+
*/
|
|
11
|
+
DatasetArn: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>
|
|
14
|
+
* The changes that you want to make to the dataset.
|
|
15
|
+
* </p>
|
|
16
|
+
*/
|
|
17
|
+
Changes: DatasetChanges | undefined;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateDatasetEntriesResponse {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* @enum
|
|
27
|
+
*/
|
|
28
|
+
export declare const StreamProcessorParameterToDelete: {
|
|
29
|
+
readonly ConnectedHomeMinConfidence: "ConnectedHomeMinConfidence";
|
|
30
|
+
readonly RegionsOfInterest: "RegionsOfInterest";
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export type StreamProcessorParameterToDelete = (typeof StreamProcessorParameterToDelete)[keyof typeof StreamProcessorParameterToDelete];
|
|
2
36
|
/**
|
|
3
37
|
* @public
|
|
4
38
|
* <p>
|
|
@@ -375,6 +375,12 @@ export declare const ContentClassifier: {
|
|
|
375
375
|
};
|
|
376
376
|
export type ContentClassifier =
|
|
377
377
|
(typeof ContentClassifier)[keyof typeof ContentClassifier];
|
|
378
|
+
export declare const ContentModerationAggregateBy: {
|
|
379
|
+
readonly SEGMENTS: "SEGMENTS";
|
|
380
|
+
readonly TIMESTAMPS: "TIMESTAMPS";
|
|
381
|
+
};
|
|
382
|
+
export type ContentModerationAggregateBy =
|
|
383
|
+
(typeof ContentModerationAggregateBy)[keyof typeof ContentModerationAggregateBy];
|
|
378
384
|
export interface ModerationLabel {
|
|
379
385
|
Confidence?: number;
|
|
380
386
|
Name?: string;
|
|
@@ -383,6 +389,9 @@ export interface ModerationLabel {
|
|
|
383
389
|
export interface ContentModerationDetection {
|
|
384
390
|
Timestamp?: number;
|
|
385
391
|
ModerationLabel?: ModerationLabel;
|
|
392
|
+
StartTimestampMillis?: number;
|
|
393
|
+
EndTimestampMillis?: number;
|
|
394
|
+
DurationMillis?: number;
|
|
386
395
|
}
|
|
387
396
|
export declare const ContentModerationSortBy: {
|
|
388
397
|
readonly NAME: "NAME";
|
|
@@ -1091,6 +1100,9 @@ export declare const VideoJobStatus: {
|
|
|
1091
1100
|
};
|
|
1092
1101
|
export type VideoJobStatus =
|
|
1093
1102
|
(typeof VideoJobStatus)[keyof typeof VideoJobStatus];
|
|
1103
|
+
export interface Video {
|
|
1104
|
+
S3Object?: S3Object;
|
|
1105
|
+
}
|
|
1094
1106
|
export declare const VideoColorRange: {
|
|
1095
1107
|
readonly FULL: "FULL";
|
|
1096
1108
|
readonly LIMITED: "LIMITED";
|
|
@@ -1112,12 +1124,20 @@ export interface GetCelebrityRecognitionResponse {
|
|
|
1112
1124
|
VideoMetadata?: VideoMetadata;
|
|
1113
1125
|
NextToken?: string;
|
|
1114
1126
|
Celebrities?: CelebrityRecognition[];
|
|
1127
|
+
JobId?: string;
|
|
1128
|
+
Video?: Video;
|
|
1129
|
+
JobTag?: string;
|
|
1115
1130
|
}
|
|
1116
1131
|
export interface GetContentModerationRequest {
|
|
1117
1132
|
JobId: string | undefined;
|
|
1118
1133
|
MaxResults?: number;
|
|
1119
1134
|
NextToken?: string;
|
|
1120
1135
|
SortBy?: ContentModerationSortBy | string;
|
|
1136
|
+
AggregateBy?: ContentModerationAggregateBy | string;
|
|
1137
|
+
}
|
|
1138
|
+
export interface GetContentModerationRequestMetadata {
|
|
1139
|
+
SortBy?: ContentModerationSortBy | string;
|
|
1140
|
+
AggregateBy?: ContentModerationAggregateBy | string;
|
|
1121
1141
|
}
|
|
1122
1142
|
export interface GetContentModerationResponse {
|
|
1123
1143
|
JobStatus?: VideoJobStatus | string;
|
|
@@ -1126,6 +1146,10 @@ export interface GetContentModerationResponse {
|
|
|
1126
1146
|
ModerationLabels?: ContentModerationDetection[];
|
|
1127
1147
|
NextToken?: string;
|
|
1128
1148
|
ModerationModelVersion?: string;
|
|
1149
|
+
JobId?: string;
|
|
1150
|
+
Video?: Video;
|
|
1151
|
+
JobTag?: string;
|
|
1152
|
+
GetRequestMetadata?: GetContentModerationRequestMetadata;
|
|
1129
1153
|
}
|
|
1130
1154
|
export interface GetFaceDetectionRequest {
|
|
1131
1155
|
JobId: string | undefined;
|
|
@@ -1138,6 +1162,9 @@ export interface GetFaceDetectionResponse {
|
|
|
1138
1162
|
VideoMetadata?: VideoMetadata;
|
|
1139
1163
|
NextToken?: string;
|
|
1140
1164
|
Faces?: FaceDetection[];
|
|
1165
|
+
JobId?: string;
|
|
1166
|
+
Video?: Video;
|
|
1167
|
+
JobTag?: string;
|
|
1141
1168
|
}
|
|
1142
1169
|
export interface GetFaceLivenessSessionResultsRequest {
|
|
1143
1170
|
SessionId: string | undefined;
|
|
@@ -1190,6 +1217,9 @@ export interface GetFaceSearchResponse {
|
|
|
1190
1217
|
NextToken?: string;
|
|
1191
1218
|
VideoMetadata?: VideoMetadata;
|
|
1192
1219
|
Persons?: PersonMatch[];
|
|
1220
|
+
JobId?: string;
|
|
1221
|
+
Video?: Video;
|
|
1222
|
+
JobTag?: string;
|
|
1193
1223
|
}
|
|
1194
1224
|
export declare const LabelDetectionAggregateBy: {
|
|
1195
1225
|
readonly SEGMENTS: "SEGMENTS";
|
|
@@ -1210,6 +1240,10 @@ export interface GetLabelDetectionRequest {
|
|
|
1210
1240
|
SortBy?: LabelDetectionSortBy | string;
|
|
1211
1241
|
AggregateBy?: LabelDetectionAggregateBy | string;
|
|
1212
1242
|
}
|
|
1243
|
+
export interface GetLabelDetectionRequestMetadata {
|
|
1244
|
+
SortBy?: LabelDetectionSortBy | string;
|
|
1245
|
+
AggregateBy?: LabelDetectionAggregateBy | string;
|
|
1246
|
+
}
|
|
1213
1247
|
export interface LabelDetection {
|
|
1214
1248
|
Timestamp?: number;
|
|
1215
1249
|
Label?: Label;
|
|
@@ -1224,6 +1258,10 @@ export interface GetLabelDetectionResponse {
|
|
|
1224
1258
|
NextToken?: string;
|
|
1225
1259
|
Labels?: LabelDetection[];
|
|
1226
1260
|
LabelModelVersion?: string;
|
|
1261
|
+
JobId?: string;
|
|
1262
|
+
Video?: Video;
|
|
1263
|
+
JobTag?: string;
|
|
1264
|
+
GetRequestMetadata?: GetLabelDetectionRequestMetadata;
|
|
1227
1265
|
}
|
|
1228
1266
|
export declare const PersonTrackingSortBy: {
|
|
1229
1267
|
readonly INDEX: "INDEX";
|
|
@@ -1247,6 +1285,9 @@ export interface GetPersonTrackingResponse {
|
|
|
1247
1285
|
VideoMetadata?: VideoMetadata;
|
|
1248
1286
|
NextToken?: string;
|
|
1249
1287
|
Persons?: PersonDetection[];
|
|
1288
|
+
JobId?: string;
|
|
1289
|
+
Video?: Video;
|
|
1290
|
+
JobTag?: string;
|
|
1250
1291
|
}
|
|
1251
1292
|
export interface GetSegmentDetectionRequest {
|
|
1252
1293
|
JobId: string | undefined;
|
|
@@ -1303,6 +1344,9 @@ export interface GetSegmentDetectionResponse {
|
|
|
1303
1344
|
NextToken?: string;
|
|
1304
1345
|
Segments?: SegmentDetection[];
|
|
1305
1346
|
SelectedSegmentTypes?: SegmentTypeInfo[];
|
|
1347
|
+
JobId?: string;
|
|
1348
|
+
Video?: Video;
|
|
1349
|
+
JobTag?: string;
|
|
1306
1350
|
}
|
|
1307
1351
|
export interface GetTextDetectionRequest {
|
|
1308
1352
|
JobId: string | undefined;
|
|
@@ -1320,6 +1364,9 @@ export interface GetTextDetectionResponse {
|
|
|
1320
1364
|
TextDetections?: TextDetectionResult[];
|
|
1321
1365
|
NextToken?: string;
|
|
1322
1366
|
TextModelVersion?: string;
|
|
1367
|
+
JobId?: string;
|
|
1368
|
+
Video?: Video;
|
|
1369
|
+
JobTag?: string;
|
|
1323
1370
|
}
|
|
1324
1371
|
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
1325
1372
|
readonly name: "IdempotentParameterMismatchException";
|
|
@@ -1508,9 +1555,6 @@ export interface SearchFacesByImageResponse {
|
|
|
1508
1555
|
FaceMatches?: FaceMatch[];
|
|
1509
1556
|
FaceModelVersion?: string;
|
|
1510
1557
|
}
|
|
1511
|
-
export interface Video {
|
|
1512
|
-
S3Object?: S3Object;
|
|
1513
|
-
}
|
|
1514
1558
|
export interface StartCelebrityRecognitionRequest {
|
|
1515
1559
|
Video: Video | undefined;
|
|
1516
1560
|
ClientRequestToken?: string;
|
|
@@ -1660,17 +1704,6 @@ export interface UntagResourceRequest {
|
|
|
1660
1704
|
TagKeys: string[] | undefined;
|
|
1661
1705
|
}
|
|
1662
1706
|
export interface UntagResourceResponse {}
|
|
1663
|
-
export interface UpdateDatasetEntriesRequest {
|
|
1664
|
-
DatasetArn: string | undefined;
|
|
1665
|
-
Changes: DatasetChanges | undefined;
|
|
1666
|
-
}
|
|
1667
|
-
export interface UpdateDatasetEntriesResponse {}
|
|
1668
|
-
export declare const StreamProcessorParameterToDelete: {
|
|
1669
|
-
readonly ConnectedHomeMinConfidence: "ConnectedHomeMinConfidence";
|
|
1670
|
-
readonly RegionsOfInterest: "RegionsOfInterest";
|
|
1671
|
-
};
|
|
1672
|
-
export type StreamProcessorParameterToDelete =
|
|
1673
|
-
(typeof StreamProcessorParameterToDelete)[keyof typeof StreamProcessorParameterToDelete];
|
|
1674
1707
|
export declare const AuditImageFilterSensitiveLog: (obj: AuditImage) => any;
|
|
1675
1708
|
export declare const GetFaceLivenessSessionResultsResponseFilterSensitiveLog: (
|
|
1676
1709
|
obj: GetFaceLivenessSessionResultsResponse
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ConnectedHomeSettingsForUpdate,
|
|
3
|
+
DatasetChanges,
|
|
3
4
|
RegionOfInterest,
|
|
4
5
|
StreamProcessorDataSharingPreference,
|
|
5
|
-
StreamProcessorParameterToDelete,
|
|
6
6
|
} from "./models_0";
|
|
7
|
+
export interface UpdateDatasetEntriesRequest {
|
|
8
|
+
DatasetArn: string | undefined;
|
|
9
|
+
Changes: DatasetChanges | undefined;
|
|
10
|
+
}
|
|
11
|
+
export interface UpdateDatasetEntriesResponse {}
|
|
12
|
+
export declare const StreamProcessorParameterToDelete: {
|
|
13
|
+
readonly ConnectedHomeMinConfidence: "ConnectedHomeMinConfidence";
|
|
14
|
+
readonly RegionsOfInterest: "RegionsOfInterest";
|
|
15
|
+
};
|
|
16
|
+
export type StreamProcessorParameterToDelete =
|
|
17
|
+
(typeof StreamProcessorParameterToDelete)[keyof typeof StreamProcessorParameterToDelete];
|
|
7
18
|
export interface StreamProcessorSettingsForUpdate {
|
|
8
19
|
ConnectedHomeForUpdate?: ConnectedHomeSettingsForUpdate;
|
|
9
20
|
}
|
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.323.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.321.1",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.321.1",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|