@aws-sdk/client-rekognition 3.142.0 → 3.151.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +25 -0
  3. package/dist-cjs/Rekognition.js +60 -0
  4. package/dist-cjs/commands/CopyProjectVersionCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteProjectPolicyCommand.js +36 -0
  6. package/dist-cjs/commands/ListProjectPoliciesCommand.js +36 -0
  7. package/dist-cjs/commands/PutProjectPolicyCommand.js +36 -0
  8. package/dist-cjs/commands/index.js +4 -0
  9. package/dist-cjs/models/models_0.js +111 -40
  10. package/dist-cjs/pagination/ListProjectPoliciesPaginator.js +36 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_json1_1.js +381 -3
  13. package/dist-es/Rekognition.js +60 -0
  14. package/dist-es/commands/CopyProjectVersionCommand.js +39 -0
  15. package/dist-es/commands/DeleteProjectPolicyCommand.js +39 -0
  16. package/dist-es/commands/ListProjectPoliciesCommand.js +39 -0
  17. package/dist-es/commands/PutProjectPolicyCommand.js +39 -0
  18. package/dist-es/commands/index.js +4 -0
  19. package/dist-es/models/models_0.js +86 -44
  20. package/dist-es/pagination/ListProjectPoliciesPaginator.js +75 -0
  21. package/dist-es/pagination/index.js +1 -0
  22. package/dist-es/protocols/Aws_json1_1.js +460 -1
  23. package/dist-types/Rekognition.d.ts +97 -4
  24. package/dist-types/RekognitionClient.d.ts +31 -2
  25. package/dist-types/commands/CopyProjectVersionCommand.d.ts +56 -0
  26. package/dist-types/commands/DeleteProjectCommand.d.ts +5 -4
  27. package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +36 -0
  28. package/dist-types/commands/ListProjectPoliciesCommand.d.ts +36 -0
  29. package/dist-types/commands/PutProjectPolicyCommand.d.ts +51 -0
  30. package/dist-types/commands/index.d.ts +4 -0
  31. package/dist-types/models/models_0.d.ts +329 -88
  32. package/dist-types/pagination/ListProjectPoliciesPaginator.d.ts +4 -0
  33. package/dist-types/pagination/index.d.ts +1 -0
  34. package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
  35. package/dist-types/ts3.4/Rekognition.d.ts +20 -0
  36. package/dist-types/ts3.4/RekognitionClient.d.ts +6 -2
  37. package/dist-types/ts3.4/commands/CopyProjectVersionCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/DeleteProjectPolicyCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/ListProjectPoliciesCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/PutProjectPolicyCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  42. package/dist-types/ts3.4/models/models_0.d.ts +169 -51
  43. package/dist-types/ts3.4/pagination/ListProjectPoliciesPaginator.d.ts +4 -0
  44. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  45. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  46. package/package.json +8 -3
@@ -1,5 +1,6 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { CompareFacesCommandInput, CompareFacesCommandOutput } from "./commands/CompareFacesCommand";
3
+ import { CopyProjectVersionCommandInput, CopyProjectVersionCommandOutput } from "./commands/CopyProjectVersionCommand";
3
4
  import { CreateCollectionCommandInput, CreateCollectionCommandOutput } from "./commands/CreateCollectionCommand";
4
5
  import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand";
5
6
  import { CreateProjectCommandInput, CreateProjectCommandOutput } from "./commands/CreateProjectCommand";
@@ -9,6 +10,7 @@ import { DeleteCollectionCommandInput, DeleteCollectionCommandOutput } from "./c
9
10
  import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
10
11
  import { DeleteFacesCommandInput, DeleteFacesCommandOutput } from "./commands/DeleteFacesCommand";
11
12
  import { DeleteProjectCommandInput, DeleteProjectCommandOutput } from "./commands/DeleteProjectCommand";
13
+ import { DeleteProjectPolicyCommandInput, DeleteProjectPolicyCommandOutput } from "./commands/DeleteProjectPolicyCommand";
12
14
  import { DeleteProjectVersionCommandInput, DeleteProjectVersionCommandOutput } from "./commands/DeleteProjectVersionCommand";
13
15
  import { DeleteStreamProcessorCommandInput, DeleteStreamProcessorCommandOutput } from "./commands/DeleteStreamProcessorCommand";
14
16
  import { DescribeCollectionCommandInput, DescribeCollectionCommandOutput } from "./commands/DescribeCollectionCommand";
@@ -37,8 +39,10 @@ import { ListCollectionsCommandInput, ListCollectionsCommandOutput } from "./com
37
39
  import { ListDatasetEntriesCommandInput, ListDatasetEntriesCommandOutput } from "./commands/ListDatasetEntriesCommand";
38
40
  import { ListDatasetLabelsCommandInput, ListDatasetLabelsCommandOutput } from "./commands/ListDatasetLabelsCommand";
39
41
  import { ListFacesCommandInput, ListFacesCommandOutput } from "./commands/ListFacesCommand";
42
+ import { ListProjectPoliciesCommandInput, ListProjectPoliciesCommandOutput } from "./commands/ListProjectPoliciesCommand";
40
43
  import { ListStreamProcessorsCommandInput, ListStreamProcessorsCommandOutput } from "./commands/ListStreamProcessorsCommand";
41
44
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
45
+ import { PutProjectPolicyCommandInput, PutProjectPolicyCommandOutput } from "./commands/PutProjectPolicyCommand";
42
46
  import { RecognizeCelebritiesCommandInput, RecognizeCelebritiesCommandOutput } from "./commands/RecognizeCelebritiesCommand";
43
47
  import { SearchFacesByImageCommandInput, SearchFacesByImageCommandOutput } from "./commands/SearchFacesByImageCommand";
44
48
  import { SearchFacesCommandInput, SearchFacesCommandOutput } from "./commands/SearchFacesCommand";
@@ -66,6 +70,10 @@ export declare class Rekognition extends RekognitionClient {
66
70
  compareFaces(args: CompareFacesCommandInput, cb: (err: any, data?: CompareFacesCommandOutput) => void): void;
67
71
  compareFaces(args: CompareFacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CompareFacesCommandOutput) => void): void;
68
72
 
73
+ copyProjectVersion(args: CopyProjectVersionCommandInput, options?: __HttpHandlerOptions): Promise<CopyProjectVersionCommandOutput>;
74
+ copyProjectVersion(args: CopyProjectVersionCommandInput, cb: (err: any, data?: CopyProjectVersionCommandOutput) => void): void;
75
+ copyProjectVersion(args: CopyProjectVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CopyProjectVersionCommandOutput) => void): void;
76
+
69
77
  createCollection(args: CreateCollectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateCollectionCommandOutput>;
70
78
  createCollection(args: CreateCollectionCommandInput, cb: (err: any, data?: CreateCollectionCommandOutput) => void): void;
71
79
  createCollection(args: CreateCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCollectionCommandOutput) => void): void;
@@ -102,6 +110,10 @@ export declare class Rekognition extends RekognitionClient {
102
110
  deleteProject(args: DeleteProjectCommandInput, cb: (err: any, data?: DeleteProjectCommandOutput) => void): void;
103
111
  deleteProject(args: DeleteProjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProjectCommandOutput) => void): void;
104
112
 
113
+ deleteProjectPolicy(args: DeleteProjectPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProjectPolicyCommandOutput>;
114
+ deleteProjectPolicy(args: DeleteProjectPolicyCommandInput, cb: (err: any, data?: DeleteProjectPolicyCommandOutput) => void): void;
115
+ deleteProjectPolicy(args: DeleteProjectPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProjectPolicyCommandOutput) => void): void;
116
+
105
117
  deleteProjectVersion(args: DeleteProjectVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProjectVersionCommandOutput>;
106
118
  deleteProjectVersion(args: DeleteProjectVersionCommandInput, cb: (err: any, data?: DeleteProjectVersionCommandOutput) => void): void;
107
119
  deleteProjectVersion(args: DeleteProjectVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProjectVersionCommandOutput) => void): void;
@@ -214,6 +226,10 @@ export declare class Rekognition extends RekognitionClient {
214
226
  listFaces(args: ListFacesCommandInput, cb: (err: any, data?: ListFacesCommandOutput) => void): void;
215
227
  listFaces(args: ListFacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFacesCommandOutput) => void): void;
216
228
 
229
+ listProjectPolicies(args: ListProjectPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListProjectPoliciesCommandOutput>;
230
+ listProjectPolicies(args: ListProjectPoliciesCommandInput, cb: (err: any, data?: ListProjectPoliciesCommandOutput) => void): void;
231
+ listProjectPolicies(args: ListProjectPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProjectPoliciesCommandOutput) => void): void;
232
+
217
233
  listStreamProcessors(args: ListStreamProcessorsCommandInput, options?: __HttpHandlerOptions): Promise<ListStreamProcessorsCommandOutput>;
218
234
  listStreamProcessors(args: ListStreamProcessorsCommandInput, cb: (err: any, data?: ListStreamProcessorsCommandOutput) => void): void;
219
235
  listStreamProcessors(args: ListStreamProcessorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStreamProcessorsCommandOutput) => void): void;
@@ -222,6 +238,10 @@ export declare class Rekognition extends RekognitionClient {
222
238
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
223
239
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
224
240
 
241
+ putProjectPolicy(args: PutProjectPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutProjectPolicyCommandOutput>;
242
+ putProjectPolicy(args: PutProjectPolicyCommandInput, cb: (err: any, data?: PutProjectPolicyCommandOutput) => void): void;
243
+ putProjectPolicy(args: PutProjectPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutProjectPolicyCommandOutput) => void): void;
244
+
225
245
  recognizeCelebrities(args: RecognizeCelebritiesCommandInput, options?: __HttpHandlerOptions): Promise<RecognizeCelebritiesCommandOutput>;
226
246
  recognizeCelebrities(args: RecognizeCelebritiesCommandInput, cb: (err: any, data?: RecognizeCelebritiesCommandOutput) => void): void;
227
247
  recognizeCelebrities(args: RecognizeCelebritiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RecognizeCelebritiesCommandOutput) => void): void;
@@ -7,6 +7,7 @@ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CompareFacesCommandInput, CompareFacesCommandOutput } from "./commands/CompareFacesCommand";
10
+ import { CopyProjectVersionCommandInput, CopyProjectVersionCommandOutput } from "./commands/CopyProjectVersionCommand";
10
11
  import { CreateCollectionCommandInput, CreateCollectionCommandOutput } from "./commands/CreateCollectionCommand";
11
12
  import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand";
12
13
  import { CreateProjectCommandInput, CreateProjectCommandOutput } from "./commands/CreateProjectCommand";
@@ -16,6 +17,7 @@ import { DeleteCollectionCommandInput, DeleteCollectionCommandOutput } from "./c
16
17
  import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
17
18
  import { DeleteFacesCommandInput, DeleteFacesCommandOutput } from "./commands/DeleteFacesCommand";
18
19
  import { DeleteProjectCommandInput, DeleteProjectCommandOutput } from "./commands/DeleteProjectCommand";
20
+ import { DeleteProjectPolicyCommandInput, DeleteProjectPolicyCommandOutput } from "./commands/DeleteProjectPolicyCommand";
19
21
  import { DeleteProjectVersionCommandInput, DeleteProjectVersionCommandOutput } from "./commands/DeleteProjectVersionCommand";
20
22
  import { DeleteStreamProcessorCommandInput, DeleteStreamProcessorCommandOutput } from "./commands/DeleteStreamProcessorCommand";
21
23
  import { DescribeCollectionCommandInput, DescribeCollectionCommandOutput } from "./commands/DescribeCollectionCommand";
@@ -44,8 +46,10 @@ import { ListCollectionsCommandInput, ListCollectionsCommandOutput } from "./com
44
46
  import { ListDatasetEntriesCommandInput, ListDatasetEntriesCommandOutput } from "./commands/ListDatasetEntriesCommand";
45
47
  import { ListDatasetLabelsCommandInput, ListDatasetLabelsCommandOutput } from "./commands/ListDatasetLabelsCommand";
46
48
  import { ListFacesCommandInput, ListFacesCommandOutput } from "./commands/ListFacesCommand";
49
+ import { ListProjectPoliciesCommandInput, ListProjectPoliciesCommandOutput } from "./commands/ListProjectPoliciesCommand";
47
50
  import { ListStreamProcessorsCommandInput, ListStreamProcessorsCommandOutput } from "./commands/ListStreamProcessorsCommand";
48
51
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
52
+ import { PutProjectPolicyCommandInput, PutProjectPolicyCommandOutput } from "./commands/PutProjectPolicyCommand";
49
53
  import { RecognizeCelebritiesCommandInput, RecognizeCelebritiesCommandOutput } from "./commands/RecognizeCelebritiesCommand";
50
54
  import { SearchFacesByImageCommandInput, SearchFacesByImageCommandOutput } from "./commands/SearchFacesByImageCommand";
51
55
  import { SearchFacesCommandInput, SearchFacesCommandOutput } from "./commands/SearchFacesCommand";
@@ -65,8 +69,8 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
65
69
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
66
70
  import { UpdateDatasetEntriesCommandInput, UpdateDatasetEntriesCommandOutput } from "./commands/UpdateDatasetEntriesCommand";
67
71
  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;
72
+ export declare type ServiceInputTypes = CompareFacesCommandInput | CopyProjectVersionCommandInput | CreateCollectionCommandInput | CreateDatasetCommandInput | CreateProjectCommandInput | CreateProjectVersionCommandInput | CreateStreamProcessorCommandInput | DeleteCollectionCommandInput | DeleteDatasetCommandInput | DeleteFacesCommandInput | DeleteProjectCommandInput | DeleteProjectPolicyCommandInput | 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 | ListProjectPoliciesCommandInput | ListStreamProcessorsCommandInput | ListTagsForResourceCommandInput | PutProjectPolicyCommandInput | RecognizeCelebritiesCommandInput | SearchFacesByImageCommandInput | SearchFacesCommandInput | StartCelebrityRecognitionCommandInput | StartContentModerationCommandInput | StartFaceDetectionCommandInput | StartFaceSearchCommandInput | StartLabelDetectionCommandInput | StartPersonTrackingCommandInput | StartProjectVersionCommandInput | StartSegmentDetectionCommandInput | StartStreamProcessorCommandInput | StartTextDetectionCommandInput | StopProjectVersionCommandInput | StopStreamProcessorCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDatasetEntriesCommandInput | UpdateStreamProcessorCommandInput;
73
+ export declare type ServiceOutputTypes = CompareFacesCommandOutput | CopyProjectVersionCommandOutput | CreateCollectionCommandOutput | CreateDatasetCommandOutput | CreateProjectCommandOutput | CreateProjectVersionCommandOutput | CreateStreamProcessorCommandOutput | DeleteCollectionCommandOutput | DeleteDatasetCommandOutput | DeleteFacesCommandOutput | DeleteProjectCommandOutput | DeleteProjectPolicyCommandOutput | 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 | ListProjectPoliciesCommandOutput | ListStreamProcessorsCommandOutput | ListTagsForResourceCommandOutput | PutProjectPolicyCommandOutput | RecognizeCelebritiesCommandOutput | SearchFacesByImageCommandOutput | SearchFacesCommandOutput | StartCelebrityRecognitionCommandOutput | StartContentModerationCommandOutput | StartFaceDetectionCommandOutput | StartFaceSearchCommandOutput | StartLabelDetectionCommandOutput | StartPersonTrackingCommandOutput | StartProjectVersionCommandOutput | StartSegmentDetectionCommandOutput | StartStreamProcessorCommandOutput | StartTextDetectionCommandOutput | StopProjectVersionCommandOutput | StopStreamProcessorCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDatasetEntriesCommandOutput | UpdateStreamProcessorCommandOutput;
70
74
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
71
75
 
72
76
  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 { CopyProjectVersionRequest, CopyProjectVersionResponse } from "../models/models_0";
4
+ import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
5
+ export interface CopyProjectVersionCommandInput extends CopyProjectVersionRequest {
6
+ }
7
+ export interface CopyProjectVersionCommandOutput extends CopyProjectVersionResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CopyProjectVersionCommand extends $Command<CopyProjectVersionCommandInput, CopyProjectVersionCommandOutput, RekognitionClientResolvedConfig> {
11
+ readonly input: CopyProjectVersionCommandInput;
12
+ constructor(input: CopyProjectVersionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CopyProjectVersionCommandInput, CopyProjectVersionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -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 { DeleteProjectPolicyRequest, DeleteProjectPolicyResponse } from "../models/models_0";
4
+ import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
5
+ export interface DeleteProjectPolicyCommandInput extends DeleteProjectPolicyRequest {
6
+ }
7
+ export interface DeleteProjectPolicyCommandOutput extends DeleteProjectPolicyResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DeleteProjectPolicyCommand extends $Command<DeleteProjectPolicyCommandInput, DeleteProjectPolicyCommandOutput, RekognitionClientResolvedConfig> {
11
+ readonly input: DeleteProjectPolicyCommandInput;
12
+ constructor(input: DeleteProjectPolicyCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteProjectPolicyCommandInput, DeleteProjectPolicyCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -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 { ListProjectPoliciesRequest, ListProjectPoliciesResponse } from "../models/models_0";
4
+ import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
5
+ export interface ListProjectPoliciesCommandInput extends ListProjectPoliciesRequest {
6
+ }
7
+ export interface ListProjectPoliciesCommandOutput extends ListProjectPoliciesResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListProjectPoliciesCommand extends $Command<ListProjectPoliciesCommandInput, ListProjectPoliciesCommandOutput, RekognitionClientResolvedConfig> {
11
+ readonly input: ListProjectPoliciesCommandInput;
12
+ constructor(input: ListProjectPoliciesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListProjectPoliciesCommandInput, ListProjectPoliciesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -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 { PutProjectPolicyRequest, PutProjectPolicyResponse } from "../models/models_0";
4
+ import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
5
+ export interface PutProjectPolicyCommandInput extends PutProjectPolicyRequest {
6
+ }
7
+ export interface PutProjectPolicyCommandOutput extends PutProjectPolicyResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class PutProjectPolicyCommand extends $Command<PutProjectPolicyCommandInput, PutProjectPolicyCommandOutput, RekognitionClientResolvedConfig> {
11
+ readonly input: PutProjectPolicyCommandInput;
12
+ constructor(input: PutProjectPolicyCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutProjectPolicyCommandInput, PutProjectPolicyCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -1,4 +1,5 @@
1
1
  export * from "./CompareFacesCommand";
2
+ export * from "./CopyProjectVersionCommand";
2
3
  export * from "./CreateCollectionCommand";
3
4
  export * from "./CreateDatasetCommand";
4
5
  export * from "./CreateProjectCommand";
@@ -8,6 +9,7 @@ export * from "./DeleteCollectionCommand";
8
9
  export * from "./DeleteDatasetCommand";
9
10
  export * from "./DeleteFacesCommand";
10
11
  export * from "./DeleteProjectCommand";
12
+ export * from "./DeleteProjectPolicyCommand";
11
13
  export * from "./DeleteProjectVersionCommand";
12
14
  export * from "./DeleteStreamProcessorCommand";
13
15
  export * from "./DescribeCollectionCommand";
@@ -36,8 +38,10 @@ export * from "./ListCollectionsCommand";
36
38
  export * from "./ListDatasetEntriesCommand";
37
39
  export * from "./ListDatasetLabelsCommand";
38
40
  export * from "./ListFacesCommand";
41
+ export * from "./ListProjectPoliciesCommand";
39
42
  export * from "./ListStreamProcessorsCommand";
40
43
  export * from "./ListTagsForResourceCommand";
44
+ export * from "./PutProjectPolicyCommand";
41
45
  export * from "./RecognizeCelebritiesCommand";
42
46
  export * from "./SearchFacesByImageCommand";
43
47
  export * from "./SearchFacesCommand";
@@ -508,30 +508,65 @@ export declare enum ContentModerationSortBy {
508
508
  NAME = "NAME",
509
509
  TIMESTAMP = "TIMESTAMP"
510
510
  }
511
- export interface CreateCollectionRequest {
511
+
512
+ export interface OutputConfig {
512
513
 
513
- CollectionId: string | undefined;
514
+ S3Bucket?: string;
515
+
516
+ S3KeyPrefix?: string;
517
+ }
518
+ export interface CopyProjectVersionRequest {
519
+
520
+ SourceProjectArn: string | undefined;
521
+
522
+ SourceProjectVersionArn: string | undefined;
523
+
524
+ DestinationProjectArn: string | undefined;
525
+
526
+ VersionName: string | undefined;
527
+
528
+ OutputConfig: OutputConfig | undefined;
514
529
 
515
530
  Tags?: Record<string, string>;
531
+
532
+ KmsKeyId?: string;
516
533
  }
517
- export interface CreateCollectionResponse {
534
+ export interface CopyProjectVersionResponse {
518
535
 
519
- StatusCode?: number;
536
+ ProjectVersionArn?: string;
537
+ }
538
+
539
+ export declare class LimitExceededException extends __BaseException {
540
+ readonly name: "LimitExceededException";
541
+ readonly $fault: "client";
542
+ Message?: string;
543
+ Code?: string;
520
544
 
521
- CollectionArn?: string;
545
+ Logref?: string;
522
546
 
523
- FaceModelVersion?: string;
547
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
524
548
  }
525
549
 
526
- export declare class ResourceAlreadyExistsException extends __BaseException {
527
- readonly name: "ResourceAlreadyExistsException";
550
+ export declare class ResourceInUseException extends __BaseException {
551
+ readonly name: "ResourceInUseException";
528
552
  readonly $fault: "client";
529
553
  Message?: string;
530
554
  Code?: string;
531
555
 
532
556
  Logref?: string;
533
557
 
534
- constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
558
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
559
+ }
560
+
561
+ export declare class ResourceNotFoundException extends __BaseException {
562
+ readonly name: "ResourceNotFoundException";
563
+ readonly $fault: "client";
564
+ Message?: string;
565
+ Code?: string;
566
+
567
+ Logref?: string;
568
+
569
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
535
570
  }
536
571
 
537
572
  export declare class ServiceQuotaExceededException extends __BaseException {
@@ -544,6 +579,31 @@ export declare class ServiceQuotaExceededException extends __BaseException {
544
579
 
545
580
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
546
581
  }
582
+ export interface CreateCollectionRequest {
583
+
584
+ CollectionId: string | undefined;
585
+
586
+ Tags?: Record<string, string>;
587
+ }
588
+ export interface CreateCollectionResponse {
589
+
590
+ StatusCode?: number;
591
+
592
+ CollectionArn?: string;
593
+
594
+ FaceModelVersion?: string;
595
+ }
596
+
597
+ export declare class ResourceAlreadyExistsException extends __BaseException {
598
+ readonly name: "ResourceAlreadyExistsException";
599
+ readonly $fault: "client";
600
+ Message?: string;
601
+ Code?: string;
602
+
603
+ Logref?: string;
604
+
605
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
606
+ }
547
607
 
548
608
  export interface DatasetSource {
549
609
 
@@ -567,28 +627,6 @@ export interface CreateDatasetResponse {
567
627
 
568
628
  DatasetArn?: string;
569
629
  }
570
-
571
- export declare class LimitExceededException extends __BaseException {
572
- readonly name: "LimitExceededException";
573
- readonly $fault: "client";
574
- Message?: string;
575
- Code?: string;
576
-
577
- Logref?: string;
578
-
579
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
580
- }
581
-
582
- export declare class ResourceNotFoundException extends __BaseException {
583
- readonly name: "ResourceNotFoundException";
584
- readonly $fault: "client";
585
- Message?: string;
586
- Code?: string;
587
-
588
- Logref?: string;
589
-
590
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
591
- }
592
630
  export interface CreateProjectRequest {
593
631
 
594
632
  ProjectName: string | undefined;
@@ -598,24 +636,6 @@ export interface CreateProjectResponse {
598
636
  ProjectArn?: string;
599
637
  }
600
638
 
601
- export declare class ResourceInUseException extends __BaseException {
602
- readonly name: "ResourceInUseException";
603
- readonly $fault: "client";
604
- Message?: string;
605
- Code?: string;
606
-
607
- Logref?: string;
608
-
609
- constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
610
- }
611
-
612
- export interface OutputConfig {
613
-
614
- S3Bucket?: string;
615
-
616
- S3KeyPrefix?: string;
617
- }
618
-
619
639
  export interface TestingData {
620
640
 
621
641
  Assets?: Asset[];
@@ -867,11 +887,35 @@ export interface DeleteProjectResponse {
867
887
 
868
888
  Status?: ProjectStatus | string;
869
889
  }
890
+ export interface DeleteProjectPolicyRequest {
891
+
892
+ ProjectArn: string | undefined;
893
+
894
+ PolicyName: string | undefined;
895
+
896
+ PolicyRevisionId?: string;
897
+ }
898
+ export interface DeleteProjectPolicyResponse {
899
+ }
900
+
901
+ export declare class InvalidPolicyRevisionIdException extends __BaseException {
902
+ readonly name: "InvalidPolicyRevisionIdException";
903
+ readonly $fault: "client";
904
+ Message?: string;
905
+ Code?: string;
906
+
907
+ Logref?: string;
908
+
909
+ constructor(opts: __ExceptionOptionType<InvalidPolicyRevisionIdException, __BaseException>);
910
+ }
870
911
  export interface DeleteProjectVersionRequest {
871
912
 
872
913
  ProjectVersionArn: string | undefined;
873
914
  }
874
915
  export declare enum ProjectVersionStatus {
916
+ COPYING_COMPLETED = "COPYING_COMPLETED",
917
+ COPYING_FAILED = "COPYING_FAILED",
918
+ COPYING_IN_PROGRESS = "COPYING_IN_PROGRESS",
875
919
  DELETING = "DELETING",
876
920
  FAILED = "FAILED",
877
921
  RUNNING = "RUNNING",
@@ -1025,6 +1069,8 @@ export interface ProjectVersionDescription {
1025
1069
  KmsKeyId?: string;
1026
1070
 
1027
1071
  MaxInferenceUnits?: number;
1072
+
1073
+ SourceProjectVersionArn?: string;
1028
1074
  }
1029
1075
  export interface DescribeProjectVersionsResponse {
1030
1076
 
@@ -1799,6 +1845,35 @@ export interface ListFacesResponse {
1799
1845
 
1800
1846
  FaceModelVersion?: string;
1801
1847
  }
1848
+ export interface ListProjectPoliciesRequest {
1849
+
1850
+ ProjectArn: string | undefined;
1851
+
1852
+ NextToken?: string;
1853
+
1854
+ MaxResults?: number;
1855
+ }
1856
+
1857
+ export interface ProjectPolicy {
1858
+
1859
+ ProjectArn?: string;
1860
+
1861
+ PolicyName?: string;
1862
+
1863
+ PolicyRevisionId?: string;
1864
+
1865
+ PolicyDocument?: string;
1866
+
1867
+ CreationTimestamp?: Date;
1868
+
1869
+ LastUpdatedTimestamp?: Date;
1870
+ }
1871
+ export interface ListProjectPoliciesResponse {
1872
+
1873
+ ProjectPolicies?: ProjectPolicy[];
1874
+
1875
+ NextToken?: string;
1876
+ }
1802
1877
  export interface ListStreamProcessorsRequest {
1803
1878
 
1804
1879
  NextToken?: string;
@@ -1827,12 +1902,37 @@ export interface ListTagsForResourceResponse {
1827
1902
  Tags?: Record<string, string>;
1828
1903
  }
1829
1904
 
1905
+ export declare class MalformedPolicyDocumentException extends __BaseException {
1906
+ readonly name: "MalformedPolicyDocumentException";
1907
+ readonly $fault: "client";
1908
+ Message?: string;
1909
+ Code?: string;
1910
+
1911
+ Logref?: string;
1912
+
1913
+ constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
1914
+ }
1915
+
1830
1916
  export interface NotificationChannel {
1831
1917
 
1832
1918
  SNSTopicArn: string | undefined;
1833
1919
 
1834
1920
  RoleArn: string | undefined;
1835
1921
  }
1922
+ export interface PutProjectPolicyRequest {
1923
+
1924
+ ProjectArn: string | undefined;
1925
+
1926
+ PolicyName: string | undefined;
1927
+
1928
+ PolicyRevisionId?: string;
1929
+
1930
+ PolicyDocument: string | undefined;
1931
+ }
1932
+ export interface PutProjectPolicyResponse {
1933
+
1934
+ PolicyRevisionId?: string;
1935
+ }
1836
1936
  export interface RecognizeCelebritiesRequest {
1837
1937
 
1838
1938
  Image: Image | undefined;
@@ -2225,6 +2325,12 @@ export declare const ModerationLabelFilterSensitiveLog: (obj: ModerationLabel) =
2225
2325
 
2226
2326
  export declare const ContentModerationDetectionFilterSensitiveLog: (obj: ContentModerationDetection) => any;
2227
2327
 
2328
+ export declare const OutputConfigFilterSensitiveLog: (obj: OutputConfig) => any;
2329
+
2330
+ export declare const CopyProjectVersionRequestFilterSensitiveLog: (obj: CopyProjectVersionRequest) => any;
2331
+
2332
+ export declare const CopyProjectVersionResponseFilterSensitiveLog: (obj: CopyProjectVersionResponse) => any;
2333
+
2228
2334
  export declare const CreateCollectionRequestFilterSensitiveLog: (obj: CreateCollectionRequest) => any;
2229
2335
 
2230
2336
  export declare const CreateCollectionResponseFilterSensitiveLog: (obj: CreateCollectionResponse) => any;
@@ -2239,8 +2345,6 @@ export declare const CreateProjectRequestFilterSensitiveLog: (obj: CreateProject
2239
2345
 
2240
2346
  export declare const CreateProjectResponseFilterSensitiveLog: (obj: CreateProjectResponse) => any;
2241
2347
 
2242
- export declare const OutputConfigFilterSensitiveLog: (obj: OutputConfig) => any;
2243
-
2244
2348
  export declare const TestingDataFilterSensitiveLog: (obj: TestingData) => any;
2245
2349
 
2246
2350
  export declare const TrainingDataFilterSensitiveLog: (obj: TrainingData) => any;
@@ -2307,6 +2411,10 @@ export declare const DeleteProjectRequestFilterSensitiveLog: (obj: DeleteProject
2307
2411
 
2308
2412
  export declare const DeleteProjectResponseFilterSensitiveLog: (obj: DeleteProjectResponse) => any;
2309
2413
 
2414
+ export declare const DeleteProjectPolicyRequestFilterSensitiveLog: (obj: DeleteProjectPolicyRequest) => any;
2415
+
2416
+ export declare const DeleteProjectPolicyResponseFilterSensitiveLog: (obj: DeleteProjectPolicyResponse) => any;
2417
+
2310
2418
  export declare const DeleteProjectVersionRequestFilterSensitiveLog: (obj: DeleteProjectVersionRequest) => any;
2311
2419
 
2312
2420
  export declare const DeleteProjectVersionResponseFilterSensitiveLog: (obj: DeleteProjectVersionResponse) => any;
@@ -2491,6 +2599,12 @@ export declare const ListFacesRequestFilterSensitiveLog: (obj: ListFacesRequest)
2491
2599
 
2492
2600
  export declare const ListFacesResponseFilterSensitiveLog: (obj: ListFacesResponse) => any;
2493
2601
 
2602
+ export declare const ListProjectPoliciesRequestFilterSensitiveLog: (obj: ListProjectPoliciesRequest) => any;
2603
+
2604
+ export declare const ProjectPolicyFilterSensitiveLog: (obj: ProjectPolicy) => any;
2605
+
2606
+ export declare const ListProjectPoliciesResponseFilterSensitiveLog: (obj: ListProjectPoliciesResponse) => any;
2607
+
2494
2608
  export declare const ListStreamProcessorsRequestFilterSensitiveLog: (obj: ListStreamProcessorsRequest) => any;
2495
2609
 
2496
2610
  export declare const StreamProcessorFilterSensitiveLog: (obj: StreamProcessor) => any;
@@ -2503,6 +2617,10 @@ export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTa
2503
2617
 
2504
2618
  export declare const NotificationChannelFilterSensitiveLog: (obj: NotificationChannel) => any;
2505
2619
 
2620
+ export declare const PutProjectPolicyRequestFilterSensitiveLog: (obj: PutProjectPolicyRequest) => any;
2621
+
2622
+ export declare const PutProjectPolicyResponseFilterSensitiveLog: (obj: PutProjectPolicyResponse) => any;
2623
+
2506
2624
  export declare const RecognizeCelebritiesRequestFilterSensitiveLog: (obj: RecognizeCelebritiesRequest) => any;
2507
2625
 
2508
2626
  export declare const RecognizeCelebritiesResponseFilterSensitiveLog: (obj: RecognizeCelebritiesResponse) => any;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListProjectPoliciesCommandInput, ListProjectPoliciesCommandOutput } from "../commands/ListProjectPoliciesCommand";
3
+ import { RekognitionPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListProjectPolicies(config: RekognitionPaginationConfiguration, input: ListProjectPoliciesCommandInput, ...additionalArguments: any): Paginator<ListProjectPoliciesCommandOutput>;
@@ -13,4 +13,5 @@ export * from "./ListCollectionsPaginator";
13
13
  export * from "./ListDatasetEntriesPaginator";
14
14
  export * from "./ListDatasetLabelsPaginator";
15
15
  export * from "./ListFacesPaginator";
16
+ export * from "./ListProjectPoliciesPaginator";
16
17
  export * from "./ListStreamProcessorsPaginator";