@aws-sdk/client-rekognition 3.76.0 → 3.80.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/CHANGELOG.md +30 -0
- package/README.md +198 -1
- package/dist-cjs/Rekognition.js +15 -0
- package/dist-cjs/commands/UpdateStreamProcessorCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +89 -17
- package/dist-cjs/pagination/DescribeProjectVersionsPaginator.js +2 -1
- package/dist-cjs/pagination/DescribeProjectsPaginator.js +2 -1
- package/dist-cjs/pagination/GetCelebrityRecognitionPaginator.js +2 -1
- package/dist-cjs/pagination/GetContentModerationPaginator.js +2 -1
- package/dist-cjs/pagination/GetFaceDetectionPaginator.js +2 -1
- package/dist-cjs/pagination/GetFaceSearchPaginator.js +2 -1
- package/dist-cjs/pagination/GetLabelDetectionPaginator.js +2 -1
- package/dist-cjs/pagination/GetPersonTrackingPaginator.js +2 -1
- package/dist-cjs/pagination/GetSegmentDetectionPaginator.js +2 -1
- package/dist-cjs/pagination/GetTextDetectionPaginator.js +2 -1
- package/dist-cjs/pagination/ListCollectionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListDatasetEntriesPaginator.js +2 -1
- package/dist-cjs/pagination/ListDatasetLabelsPaginator.js +2 -1
- package/dist-cjs/pagination/ListFacesPaginator.js +2 -1
- package/dist-cjs/pagination/ListStreamProcessorsPaginator.js +2 -1
- package/dist-cjs/protocols/Aws_json1_1.js +291 -3
- package/dist-es/Rekognition.js +15 -0
- package/dist-es/commands/UpdateStreamProcessorCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +58 -8
- package/dist-es/pagination/DescribeProjectVersionsPaginator.js +3 -2
- package/dist-es/pagination/DescribeProjectsPaginator.js +3 -2
- package/dist-es/pagination/GetCelebrityRecognitionPaginator.js +3 -2
- package/dist-es/pagination/GetContentModerationPaginator.js +3 -2
- package/dist-es/pagination/GetFaceDetectionPaginator.js +3 -2
- package/dist-es/pagination/GetFaceSearchPaginator.js +3 -2
- package/dist-es/pagination/GetLabelDetectionPaginator.js +3 -2
- package/dist-es/pagination/GetPersonTrackingPaginator.js +3 -2
- package/dist-es/pagination/GetSegmentDetectionPaginator.js +3 -2
- package/dist-es/pagination/GetTextDetectionPaginator.js +3 -2
- package/dist-es/pagination/ListCollectionsPaginator.js +3 -2
- package/dist-es/pagination/ListDatasetEntriesPaginator.js +3 -2
- package/dist-es/pagination/ListDatasetLabelsPaginator.js +3 -2
- package/dist-es/pagination/ListFacesPaginator.js +3 -2
- package/dist-es/pagination/ListStreamProcessorsPaginator.js +3 -2
- package/dist-es/protocols/Aws_json1_1.js +277 -9
- package/dist-types/Rekognition.d.ts +247 -24
- package/dist-types/RekognitionClient.d.ts +205 -3
- package/dist-types/commands/CreateStreamProcessorCommand.d.ts +17 -6
- package/dist-types/commands/DeleteCollectionCommand.d.ts +1 -1
- package/dist-types/commands/DetectLabelsCommand.d.ts +1 -1
- package/dist-types/commands/DetectTextCommand.d.ts +1 -1
- package/dist-types/commands/GetCelebrityInfoCommand.d.ts +1 -1
- package/dist-types/commands/GetContentModerationCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentDetectionCommand.d.ts +1 -1
- package/dist-types/commands/IndexFacesCommand.d.ts +2 -2
- package/dist-types/commands/ListCollectionsCommand.d.ts +1 -1
- package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +2 -2
- package/dist-types/commands/SearchFacesCommand.d.ts +1 -1
- package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +1 -1
- package/dist-types/commands/StartContentModerationCommand.d.ts +1 -1
- package/dist-types/commands/StartFaceDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StartFaceSearchCommand.d.ts +2 -1
- package/dist-types/commands/StartSegmentDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StartStreamProcessorCommand.d.ts +1 -0
- package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +450 -84
- package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
- package/dist-types/ts3.4/Rekognition.d.ts +5 -0
- package/dist-types/ts3.4/RekognitionClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/UpdateStreamProcessorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +165 -21
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +3 -0
- package/package.json +26 -26
|
@@ -58,6 +58,7 @@ import { StopStreamProcessorCommandInput, StopStreamProcessorCommandOutput } fro
|
|
|
58
58
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
59
59
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
60
60
|
import { UpdateDatasetEntriesCommandInput, UpdateDatasetEntriesCommandOutput } from "../commands/UpdateDatasetEntriesCommand";
|
|
61
|
+
import { UpdateStreamProcessorCommandInput, UpdateStreamProcessorCommandOutput } from "../commands/UpdateStreamProcessorCommand";
|
|
61
62
|
export declare const serializeAws_json1_1CompareFacesCommand: (input: CompareFacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
62
63
|
export declare const serializeAws_json1_1CreateCollectionCommand: (input: CreateCollectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
63
64
|
export declare const serializeAws_json1_1CreateDatasetCommand: (input: CreateDatasetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -116,6 +117,7 @@ export declare const serializeAws_json1_1StopStreamProcessorCommand: (input: Sto
|
|
|
116
117
|
export declare const serializeAws_json1_1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
117
118
|
export declare const serializeAws_json1_1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
118
119
|
export declare const serializeAws_json1_1UpdateDatasetEntriesCommand: (input: UpdateDatasetEntriesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
120
|
+
export declare const serializeAws_json1_1UpdateStreamProcessorCommand: (input: UpdateStreamProcessorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
119
121
|
export declare const deserializeAws_json1_1CompareFacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CompareFacesCommandOutput>;
|
|
120
122
|
export declare const deserializeAws_json1_1CreateCollectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateCollectionCommandOutput>;
|
|
121
123
|
export declare const deserializeAws_json1_1CreateDatasetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateDatasetCommandOutput>;
|
|
@@ -174,3 +176,4 @@ export declare const deserializeAws_json1_1StopStreamProcessorCommand: (output:
|
|
|
174
176
|
export declare const deserializeAws_json1_1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
175
177
|
export declare const deserializeAws_json1_1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
176
178
|
export declare const deserializeAws_json1_1UpdateDatasetEntriesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDatasetEntriesCommandOutput>;
|
|
179
|
+
export declare const deserializeAws_json1_1UpdateStreamProcessorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateStreamProcessorCommandOutput>;
|
|
@@ -57,6 +57,7 @@ import { StopStreamProcessorCommandInput, StopStreamProcessorCommandOutput } fro
|
|
|
57
57
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
58
58
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
59
59
|
import { UpdateDatasetEntriesCommandInput, UpdateDatasetEntriesCommandOutput } from "./commands/UpdateDatasetEntriesCommand";
|
|
60
|
+
import { UpdateStreamProcessorCommandInput, UpdateStreamProcessorCommandOutput } from "./commands/UpdateStreamProcessorCommand";
|
|
60
61
|
import { RekognitionClient } from "./RekognitionClient";
|
|
61
62
|
|
|
62
63
|
export declare class Rekognition extends RekognitionClient {
|
|
@@ -292,4 +293,8 @@ export declare class Rekognition extends RekognitionClient {
|
|
|
292
293
|
updateDatasetEntries(args: UpdateDatasetEntriesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDatasetEntriesCommandOutput>;
|
|
293
294
|
updateDatasetEntries(args: UpdateDatasetEntriesCommandInput, cb: (err: any, data?: UpdateDatasetEntriesCommandOutput) => void): void;
|
|
294
295
|
updateDatasetEntries(args: UpdateDatasetEntriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDatasetEntriesCommandOutput) => void): void;
|
|
296
|
+
|
|
297
|
+
updateStreamProcessor(args: UpdateStreamProcessorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateStreamProcessorCommandOutput>;
|
|
298
|
+
updateStreamProcessor(args: UpdateStreamProcessorCommandInput, cb: (err: any, data?: UpdateStreamProcessorCommandOutput) => void): void;
|
|
299
|
+
updateStreamProcessor(args: UpdateStreamProcessorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateStreamProcessorCommandOutput) => void): void;
|
|
295
300
|
}
|
|
@@ -64,8 +64,9 @@ import { StopStreamProcessorCommandInput, StopStreamProcessorCommandOutput } fro
|
|
|
64
64
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
65
65
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
66
66
|
import { UpdateDatasetEntriesCommandInput, UpdateDatasetEntriesCommandOutput } from "./commands/UpdateDatasetEntriesCommand";
|
|
67
|
-
|
|
68
|
-
export declare type
|
|
67
|
+
import { UpdateStreamProcessorCommandInput, UpdateStreamProcessorCommandOutput } from "./commands/UpdateStreamProcessorCommand";
|
|
68
|
+
export declare type ServiceInputTypes = CompareFacesCommandInput | CreateCollectionCommandInput | CreateDatasetCommandInput | CreateProjectCommandInput | CreateProjectVersionCommandInput | CreateStreamProcessorCommandInput | DeleteCollectionCommandInput | DeleteDatasetCommandInput | DeleteFacesCommandInput | DeleteProjectCommandInput | DeleteProjectVersionCommandInput | DeleteStreamProcessorCommandInput | DescribeCollectionCommandInput | DescribeDatasetCommandInput | DescribeProjectVersionsCommandInput | DescribeProjectsCommandInput | DescribeStreamProcessorCommandInput | DetectCustomLabelsCommandInput | DetectFacesCommandInput | DetectLabelsCommandInput | DetectModerationLabelsCommandInput | DetectProtectiveEquipmentCommandInput | DetectTextCommandInput | DistributeDatasetEntriesCommandInput | GetCelebrityInfoCommandInput | GetCelebrityRecognitionCommandInput | GetContentModerationCommandInput | GetFaceDetectionCommandInput | GetFaceSearchCommandInput | GetLabelDetectionCommandInput | GetPersonTrackingCommandInput | GetSegmentDetectionCommandInput | GetTextDetectionCommandInput | IndexFacesCommandInput | ListCollectionsCommandInput | ListDatasetEntriesCommandInput | ListDatasetLabelsCommandInput | ListFacesCommandInput | ListStreamProcessorsCommandInput | ListTagsForResourceCommandInput | RecognizeCelebritiesCommandInput | SearchFacesByImageCommandInput | SearchFacesCommandInput | StartCelebrityRecognitionCommandInput | StartContentModerationCommandInput | StartFaceDetectionCommandInput | StartFaceSearchCommandInput | StartLabelDetectionCommandInput | StartPersonTrackingCommandInput | StartProjectVersionCommandInput | StartSegmentDetectionCommandInput | StartStreamProcessorCommandInput | StartTextDetectionCommandInput | StopProjectVersionCommandInput | StopStreamProcessorCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDatasetEntriesCommandInput | UpdateStreamProcessorCommandInput;
|
|
69
|
+
export declare type ServiceOutputTypes = CompareFacesCommandOutput | CreateCollectionCommandOutput | CreateDatasetCommandOutput | CreateProjectCommandOutput | CreateProjectVersionCommandOutput | CreateStreamProcessorCommandOutput | DeleteCollectionCommandOutput | DeleteDatasetCommandOutput | DeleteFacesCommandOutput | DeleteProjectCommandOutput | DeleteProjectVersionCommandOutput | DeleteStreamProcessorCommandOutput | DescribeCollectionCommandOutput | DescribeDatasetCommandOutput | DescribeProjectVersionsCommandOutput | DescribeProjectsCommandOutput | DescribeStreamProcessorCommandOutput | DetectCustomLabelsCommandOutput | DetectFacesCommandOutput | DetectLabelsCommandOutput | DetectModerationLabelsCommandOutput | DetectProtectiveEquipmentCommandOutput | DetectTextCommandOutput | DistributeDatasetEntriesCommandOutput | GetCelebrityInfoCommandOutput | GetCelebrityRecognitionCommandOutput | GetContentModerationCommandOutput | GetFaceDetectionCommandOutput | GetFaceSearchCommandOutput | GetLabelDetectionCommandOutput | GetPersonTrackingCommandOutput | GetSegmentDetectionCommandOutput | GetTextDetectionCommandOutput | IndexFacesCommandOutput | ListCollectionsCommandOutput | ListDatasetEntriesCommandOutput | ListDatasetLabelsCommandOutput | ListFacesCommandOutput | ListStreamProcessorsCommandOutput | ListTagsForResourceCommandOutput | RecognizeCelebritiesCommandOutput | SearchFacesByImageCommandOutput | SearchFacesCommandOutput | StartCelebrityRecognitionCommandOutput | StartContentModerationCommandOutput | StartFaceDetectionCommandOutput | StartFaceSearchCommandOutput | StartLabelDetectionCommandOutput | StartPersonTrackingCommandOutput | StartProjectVersionCommandOutput | StartSegmentDetectionCommandOutput | StartStreamProcessorCommandOutput | StartTextDetectionCommandOutput | StopProjectVersionCommandOutput | StopStreamProcessorCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDatasetEntriesCommandOutput | UpdateStreamProcessorCommandOutput;
|
|
69
70
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
70
71
|
|
|
71
72
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { UpdateStreamProcessorRequest, UpdateStreamProcessorResponse } from "../models/models_0";
|
|
4
|
+
import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
|
|
5
|
+
export interface UpdateStreamProcessorCommandInput extends UpdateStreamProcessorRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateStreamProcessorCommandOutput extends UpdateStreamProcessorResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class UpdateStreamProcessorCommand extends $Command<UpdateStreamProcessorCommandInput, UpdateStreamProcessorCommandOutput, RekognitionClientResolvedConfig> {
|
|
11
|
+
readonly input: UpdateStreamProcessorCommandInput;
|
|
12
|
+
constructor(input: UpdateStreamProcessorCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateStreamProcessorCommandInput, UpdateStreamProcessorCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -602,6 +602,28 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
602
602
|
|
|
603
603
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
604
604
|
}
|
|
605
|
+
|
|
606
|
+
export interface ConnectedHomeSettings {
|
|
607
|
+
|
|
608
|
+
Labels: string[] | undefined;
|
|
609
|
+
|
|
610
|
+
MinConfidence?: number;
|
|
611
|
+
}
|
|
612
|
+
export declare namespace ConnectedHomeSettings {
|
|
613
|
+
|
|
614
|
+
const filterSensitiveLog: (obj: ConnectedHomeSettings) => any;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
export interface ConnectedHomeSettingsForUpdate {
|
|
618
|
+
|
|
619
|
+
Labels?: string[];
|
|
620
|
+
|
|
621
|
+
MinConfidence?: number;
|
|
622
|
+
}
|
|
623
|
+
export declare namespace ConnectedHomeSettingsForUpdate {
|
|
624
|
+
|
|
625
|
+
const filterSensitiveLog: (obj: ConnectedHomeSettingsForUpdate) => any;
|
|
626
|
+
}
|
|
605
627
|
export declare enum ContentClassifier {
|
|
606
628
|
FREE_OF_ADULT_CONTENT = "FreeOfAdultContent",
|
|
607
629
|
FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION = "FreeOfPersonallyIdentifiableInformation"
|
|
@@ -826,6 +848,15 @@ export declare namespace CreateProjectVersionResponse {
|
|
|
826
848
|
const filterSensitiveLog: (obj: CreateProjectVersionResponse) => any;
|
|
827
849
|
}
|
|
828
850
|
|
|
851
|
+
export interface StreamProcessorDataSharingPreference {
|
|
852
|
+
|
|
853
|
+
OptIn: boolean | undefined;
|
|
854
|
+
}
|
|
855
|
+
export declare namespace StreamProcessorDataSharingPreference {
|
|
856
|
+
|
|
857
|
+
const filterSensitiveLog: (obj: StreamProcessorDataSharingPreference) => any;
|
|
858
|
+
}
|
|
859
|
+
|
|
829
860
|
export interface KinesisVideoStream {
|
|
830
861
|
|
|
831
862
|
Arn?: string;
|
|
@@ -844,6 +875,15 @@ export declare namespace StreamProcessorInput {
|
|
|
844
875
|
const filterSensitiveLog: (obj: StreamProcessorInput) => any;
|
|
845
876
|
}
|
|
846
877
|
|
|
878
|
+
export interface StreamProcessorNotificationChannel {
|
|
879
|
+
|
|
880
|
+
SNSTopicArn: string | undefined;
|
|
881
|
+
}
|
|
882
|
+
export declare namespace StreamProcessorNotificationChannel {
|
|
883
|
+
|
|
884
|
+
const filterSensitiveLog: (obj: StreamProcessorNotificationChannel) => any;
|
|
885
|
+
}
|
|
886
|
+
|
|
847
887
|
export interface KinesisDataStream {
|
|
848
888
|
|
|
849
889
|
Arn?: string;
|
|
@@ -853,15 +893,50 @@ export declare namespace KinesisDataStream {
|
|
|
853
893
|
const filterSensitiveLog: (obj: KinesisDataStream) => any;
|
|
854
894
|
}
|
|
855
895
|
|
|
896
|
+
export interface S3Destination {
|
|
897
|
+
|
|
898
|
+
Bucket?: string;
|
|
899
|
+
|
|
900
|
+
KeyPrefix?: string;
|
|
901
|
+
}
|
|
902
|
+
export declare namespace S3Destination {
|
|
903
|
+
|
|
904
|
+
const filterSensitiveLog: (obj: S3Destination) => any;
|
|
905
|
+
}
|
|
906
|
+
|
|
856
907
|
export interface StreamProcessorOutput {
|
|
857
908
|
|
|
858
909
|
KinesisDataStream?: KinesisDataStream;
|
|
910
|
+
|
|
911
|
+
S3Destination?: S3Destination;
|
|
859
912
|
}
|
|
860
913
|
export declare namespace StreamProcessorOutput {
|
|
861
914
|
|
|
862
915
|
const filterSensitiveLog: (obj: StreamProcessorOutput) => any;
|
|
863
916
|
}
|
|
864
917
|
|
|
918
|
+
export interface Point {
|
|
919
|
+
|
|
920
|
+
X?: number;
|
|
921
|
+
|
|
922
|
+
Y?: number;
|
|
923
|
+
}
|
|
924
|
+
export declare namespace Point {
|
|
925
|
+
|
|
926
|
+
const filterSensitiveLog: (obj: Point) => any;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
export interface RegionOfInterest {
|
|
930
|
+
|
|
931
|
+
BoundingBox?: BoundingBox;
|
|
932
|
+
|
|
933
|
+
Polygon?: Point[];
|
|
934
|
+
}
|
|
935
|
+
export declare namespace RegionOfInterest {
|
|
936
|
+
|
|
937
|
+
const filterSensitiveLog: (obj: RegionOfInterest) => any;
|
|
938
|
+
}
|
|
939
|
+
|
|
865
940
|
export interface FaceSearchSettings {
|
|
866
941
|
|
|
867
942
|
CollectionId?: string;
|
|
@@ -876,6 +951,8 @@ export declare namespace FaceSearchSettings {
|
|
|
876
951
|
export interface StreamProcessorSettings {
|
|
877
952
|
|
|
878
953
|
FaceSearch?: FaceSearchSettings;
|
|
954
|
+
|
|
955
|
+
ConnectedHome?: ConnectedHomeSettings;
|
|
879
956
|
}
|
|
880
957
|
export declare namespace StreamProcessorSettings {
|
|
881
958
|
|
|
@@ -896,6 +973,14 @@ export interface CreateStreamProcessorRequest {
|
|
|
896
973
|
Tags?: {
|
|
897
974
|
[key: string]: string;
|
|
898
975
|
};
|
|
976
|
+
|
|
977
|
+
NotificationChannel?: StreamProcessorNotificationChannel;
|
|
978
|
+
|
|
979
|
+
KmsKeyId?: string;
|
|
980
|
+
|
|
981
|
+
RegionsOfInterest?: RegionOfInterest[];
|
|
982
|
+
|
|
983
|
+
DataSharingPreference?: StreamProcessorDataSharingPreference;
|
|
899
984
|
}
|
|
900
985
|
export declare namespace CreateStreamProcessorRequest {
|
|
901
986
|
|
|
@@ -910,17 +995,6 @@ export declare namespace CreateStreamProcessorResponse {
|
|
|
910
995
|
const filterSensitiveLog: (obj: CreateStreamProcessorResponse) => any;
|
|
911
996
|
}
|
|
912
997
|
|
|
913
|
-
export interface Point {
|
|
914
|
-
|
|
915
|
-
X?: number;
|
|
916
|
-
|
|
917
|
-
Y?: number;
|
|
918
|
-
}
|
|
919
|
-
export declare namespace Point {
|
|
920
|
-
|
|
921
|
-
const filterSensitiveLog: (obj: Point) => any;
|
|
922
|
-
}
|
|
923
|
-
|
|
924
998
|
export interface Geometry {
|
|
925
999
|
|
|
926
1000
|
BoundingBox?: BoundingBox;
|
|
@@ -1363,7 +1437,8 @@ export declare enum StreamProcessorStatus {
|
|
|
1363
1437
|
RUNNING = "RUNNING",
|
|
1364
1438
|
STARTING = "STARTING",
|
|
1365
1439
|
STOPPED = "STOPPED",
|
|
1366
|
-
STOPPING = "STOPPING"
|
|
1440
|
+
STOPPING = "STOPPING",
|
|
1441
|
+
UPDATING = "UPDATING"
|
|
1367
1442
|
}
|
|
1368
1443
|
export interface DescribeStreamProcessorResponse {
|
|
1369
1444
|
|
|
@@ -1386,6 +1461,14 @@ export interface DescribeStreamProcessorResponse {
|
|
|
1386
1461
|
RoleArn?: string;
|
|
1387
1462
|
|
|
1388
1463
|
Settings?: StreamProcessorSettings;
|
|
1464
|
+
|
|
1465
|
+
NotificationChannel?: StreamProcessorNotificationChannel;
|
|
1466
|
+
|
|
1467
|
+
KmsKeyId?: string;
|
|
1468
|
+
|
|
1469
|
+
RegionsOfInterest?: RegionOfInterest[];
|
|
1470
|
+
|
|
1471
|
+
DataSharingPreference?: StreamProcessorDataSharingPreference;
|
|
1389
1472
|
}
|
|
1390
1473
|
export declare namespace DescribeStreamProcessorResponse {
|
|
1391
1474
|
|
|
@@ -1654,15 +1737,6 @@ export declare namespace DetectProtectiveEquipmentResponse {
|
|
|
1654
1737
|
const filterSensitiveLog: (obj: DetectProtectiveEquipmentResponse) => any;
|
|
1655
1738
|
}
|
|
1656
1739
|
|
|
1657
|
-
export interface RegionOfInterest {
|
|
1658
|
-
|
|
1659
|
-
BoundingBox?: BoundingBox;
|
|
1660
|
-
}
|
|
1661
|
-
export declare namespace RegionOfInterest {
|
|
1662
|
-
|
|
1663
|
-
const filterSensitiveLog: (obj: RegionOfInterest) => any;
|
|
1664
|
-
}
|
|
1665
|
-
|
|
1666
1740
|
export interface DetectTextFilters {
|
|
1667
1741
|
|
|
1668
1742
|
WordFilter?: DetectionFilter;
|
|
@@ -2300,6 +2374,17 @@ export declare namespace IndexFacesResponse {
|
|
|
2300
2374
|
|
|
2301
2375
|
const filterSensitiveLog: (obj: IndexFacesResponse) => any;
|
|
2302
2376
|
}
|
|
2377
|
+
|
|
2378
|
+
export interface KinesisVideoStreamStartSelector {
|
|
2379
|
+
|
|
2380
|
+
ProducerTimestamp?: number;
|
|
2381
|
+
|
|
2382
|
+
FragmentNumber?: string;
|
|
2383
|
+
}
|
|
2384
|
+
export declare namespace KinesisVideoStreamStartSelector {
|
|
2385
|
+
|
|
2386
|
+
const filterSensitiveLog: (obj: KinesisVideoStreamStartSelector) => any;
|
|
2387
|
+
}
|
|
2303
2388
|
export interface ListCollectionsRequest {
|
|
2304
2389
|
|
|
2305
2390
|
NextToken?: string;
|
|
@@ -2771,15 +2856,39 @@ export declare namespace StartSegmentDetectionResponse {
|
|
|
2771
2856
|
|
|
2772
2857
|
const filterSensitiveLog: (obj: StartSegmentDetectionResponse) => any;
|
|
2773
2858
|
}
|
|
2859
|
+
|
|
2860
|
+
export interface StreamProcessingStartSelector {
|
|
2861
|
+
|
|
2862
|
+
KVSStreamStartSelector?: KinesisVideoStreamStartSelector;
|
|
2863
|
+
}
|
|
2864
|
+
export declare namespace StreamProcessingStartSelector {
|
|
2865
|
+
|
|
2866
|
+
const filterSensitiveLog: (obj: StreamProcessingStartSelector) => any;
|
|
2867
|
+
}
|
|
2868
|
+
|
|
2869
|
+
export interface StreamProcessingStopSelector {
|
|
2870
|
+
|
|
2871
|
+
MaxDurationInSeconds?: number;
|
|
2872
|
+
}
|
|
2873
|
+
export declare namespace StreamProcessingStopSelector {
|
|
2874
|
+
|
|
2875
|
+
const filterSensitiveLog: (obj: StreamProcessingStopSelector) => any;
|
|
2876
|
+
}
|
|
2774
2877
|
export interface StartStreamProcessorRequest {
|
|
2775
2878
|
|
|
2776
2879
|
Name: string | undefined;
|
|
2880
|
+
|
|
2881
|
+
StartSelector?: StreamProcessingStartSelector;
|
|
2882
|
+
|
|
2883
|
+
StopSelector?: StreamProcessingStopSelector;
|
|
2777
2884
|
}
|
|
2778
2885
|
export declare namespace StartStreamProcessorRequest {
|
|
2779
2886
|
|
|
2780
2887
|
const filterSensitiveLog: (obj: StartStreamProcessorRequest) => any;
|
|
2781
2888
|
}
|
|
2782
2889
|
export interface StartStreamProcessorResponse {
|
|
2890
|
+
|
|
2891
|
+
SessionId?: string;
|
|
2783
2892
|
}
|
|
2784
2893
|
export declare namespace StartStreamProcessorResponse {
|
|
2785
2894
|
|
|
@@ -2900,3 +3009,38 @@ export declare namespace UpdateDatasetEntriesResponse {
|
|
|
2900
3009
|
|
|
2901
3010
|
const filterSensitiveLog: (obj: UpdateDatasetEntriesResponse) => any;
|
|
2902
3011
|
}
|
|
3012
|
+
export declare enum StreamProcessorParameterToDelete {
|
|
3013
|
+
ConnectedHomeMinConfidence = "ConnectedHomeMinConfidence",
|
|
3014
|
+
RegionsOfInterest = "RegionsOfInterest"
|
|
3015
|
+
}
|
|
3016
|
+
|
|
3017
|
+
export interface StreamProcessorSettingsForUpdate {
|
|
3018
|
+
|
|
3019
|
+
ConnectedHomeForUpdate?: ConnectedHomeSettingsForUpdate;
|
|
3020
|
+
}
|
|
3021
|
+
export declare namespace StreamProcessorSettingsForUpdate {
|
|
3022
|
+
|
|
3023
|
+
const filterSensitiveLog: (obj: StreamProcessorSettingsForUpdate) => any;
|
|
3024
|
+
}
|
|
3025
|
+
export interface UpdateStreamProcessorRequest {
|
|
3026
|
+
|
|
3027
|
+
Name: string | undefined;
|
|
3028
|
+
|
|
3029
|
+
SettingsForUpdate?: StreamProcessorSettingsForUpdate;
|
|
3030
|
+
|
|
3031
|
+
RegionsOfInterestForUpdate?: RegionOfInterest[];
|
|
3032
|
+
|
|
3033
|
+
DataSharingPreferenceForUpdate?: StreamProcessorDataSharingPreference;
|
|
3034
|
+
|
|
3035
|
+
ParametersToDelete?: (StreamProcessorParameterToDelete | string)[];
|
|
3036
|
+
}
|
|
3037
|
+
export declare namespace UpdateStreamProcessorRequest {
|
|
3038
|
+
|
|
3039
|
+
const filterSensitiveLog: (obj: UpdateStreamProcessorRequest) => any;
|
|
3040
|
+
}
|
|
3041
|
+
export interface UpdateStreamProcessorResponse {
|
|
3042
|
+
}
|
|
3043
|
+
export declare namespace UpdateStreamProcessorResponse {
|
|
3044
|
+
|
|
3045
|
+
const filterSensitiveLog: (obj: UpdateStreamProcessorResponse) => any;
|
|
3046
|
+
}
|
|
@@ -58,6 +58,7 @@ import { StopStreamProcessorCommandInput, StopStreamProcessorCommandOutput } fro
|
|
|
58
58
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
59
59
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
60
60
|
import { UpdateDatasetEntriesCommandInput, UpdateDatasetEntriesCommandOutput } from "../commands/UpdateDatasetEntriesCommand";
|
|
61
|
+
import { UpdateStreamProcessorCommandInput, UpdateStreamProcessorCommandOutput } from "../commands/UpdateStreamProcessorCommand";
|
|
61
62
|
export declare const serializeAws_json1_1CompareFacesCommand: (input: CompareFacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
62
63
|
export declare const serializeAws_json1_1CreateCollectionCommand: (input: CreateCollectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
63
64
|
export declare const serializeAws_json1_1CreateDatasetCommand: (input: CreateDatasetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -116,6 +117,7 @@ export declare const serializeAws_json1_1StopStreamProcessorCommand: (input: Sto
|
|
|
116
117
|
export declare const serializeAws_json1_1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
117
118
|
export declare const serializeAws_json1_1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
118
119
|
export declare const serializeAws_json1_1UpdateDatasetEntriesCommand: (input: UpdateDatasetEntriesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
120
|
+
export declare const serializeAws_json1_1UpdateStreamProcessorCommand: (input: UpdateStreamProcessorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
119
121
|
export declare const deserializeAws_json1_1CompareFacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CompareFacesCommandOutput>;
|
|
120
122
|
export declare const deserializeAws_json1_1CreateCollectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateCollectionCommandOutput>;
|
|
121
123
|
export declare const deserializeAws_json1_1CreateDatasetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateDatasetCommandOutput>;
|
|
@@ -174,3 +176,4 @@ export declare const deserializeAws_json1_1StopStreamProcessorCommand: (output:
|
|
|
174
176
|
export declare const deserializeAws_json1_1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
175
177
|
export declare const deserializeAws_json1_1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
176
178
|
export declare const deserializeAws_json1_1UpdateDatasetEntriesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDatasetEntriesCommandOutput>;
|
|
179
|
+
export declare const deserializeAws_json1_1UpdateStreamProcessorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateStreamProcessorCommandOutput>;
|
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.80.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",
|
|
@@ -18,37 +18,37 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.80.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.80.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.78.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.78.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.78.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.78.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.80.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.78.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.78.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.78.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.78.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.80.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.78.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.78.0",
|
|
39
|
+
"@aws-sdk/types": "3.78.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.78.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.78.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.80.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.78.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.80.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
|
-
"@aws-sdk/util-waiter": "3.
|
|
51
|
+
"@aws-sdk/util-waiter": "3.78.0",
|
|
52
52
|
"tslib": "^2.3.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|