@aws-sdk/client-rekognition 3.150.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 +11 -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 +1 -1
@@ -1,6 +1,7 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
3
  import { CompareFacesCommandInput, CompareFacesCommandOutput } from "../commands/CompareFacesCommand";
4
+ import { CopyProjectVersionCommandInput, CopyProjectVersionCommandOutput } from "../commands/CopyProjectVersionCommand";
4
5
  import { CreateCollectionCommandInput, CreateCollectionCommandOutput } from "../commands/CreateCollectionCommand";
5
6
  import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "../commands/CreateDatasetCommand";
6
7
  import { CreateProjectCommandInput, CreateProjectCommandOutput } from "../commands/CreateProjectCommand";
@@ -10,6 +11,7 @@ import { DeleteCollectionCommandInput, DeleteCollectionCommandOutput } from "../
10
11
  import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "../commands/DeleteDatasetCommand";
11
12
  import { DeleteFacesCommandInput, DeleteFacesCommandOutput } from "../commands/DeleteFacesCommand";
12
13
  import { DeleteProjectCommandInput, DeleteProjectCommandOutput } from "../commands/DeleteProjectCommand";
14
+ import { DeleteProjectPolicyCommandInput, DeleteProjectPolicyCommandOutput } from "../commands/DeleteProjectPolicyCommand";
13
15
  import { DeleteProjectVersionCommandInput, DeleteProjectVersionCommandOutput } from "../commands/DeleteProjectVersionCommand";
14
16
  import { DeleteStreamProcessorCommandInput, DeleteStreamProcessorCommandOutput } from "../commands/DeleteStreamProcessorCommand";
15
17
  import { DescribeCollectionCommandInput, DescribeCollectionCommandOutput } from "../commands/DescribeCollectionCommand";
@@ -38,8 +40,10 @@ import { ListCollectionsCommandInput, ListCollectionsCommandOutput } from "../co
38
40
  import { ListDatasetEntriesCommandInput, ListDatasetEntriesCommandOutput } from "../commands/ListDatasetEntriesCommand";
39
41
  import { ListDatasetLabelsCommandInput, ListDatasetLabelsCommandOutput } from "../commands/ListDatasetLabelsCommand";
40
42
  import { ListFacesCommandInput, ListFacesCommandOutput } from "../commands/ListFacesCommand";
43
+ import { ListProjectPoliciesCommandInput, ListProjectPoliciesCommandOutput } from "../commands/ListProjectPoliciesCommand";
41
44
  import { ListStreamProcessorsCommandInput, ListStreamProcessorsCommandOutput } from "../commands/ListStreamProcessorsCommand";
42
45
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
46
+ import { PutProjectPolicyCommandInput, PutProjectPolicyCommandOutput } from "../commands/PutProjectPolicyCommand";
43
47
  import { RecognizeCelebritiesCommandInput, RecognizeCelebritiesCommandOutput } from "../commands/RecognizeCelebritiesCommand";
44
48
  import { SearchFacesByImageCommandInput, SearchFacesByImageCommandOutput } from "../commands/SearchFacesByImageCommand";
45
49
  import { SearchFacesCommandInput, SearchFacesCommandOutput } from "../commands/SearchFacesCommand";
@@ -60,6 +64,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../comman
60
64
  import { UpdateDatasetEntriesCommandInput, UpdateDatasetEntriesCommandOutput } from "../commands/UpdateDatasetEntriesCommand";
61
65
  import { UpdateStreamProcessorCommandInput, UpdateStreamProcessorCommandOutput } from "../commands/UpdateStreamProcessorCommand";
62
66
  export declare const serializeAws_json1_1CompareFacesCommand: (input: CompareFacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
+ export declare const serializeAws_json1_1CopyProjectVersionCommand: (input: CopyProjectVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
68
  export declare const serializeAws_json1_1CreateCollectionCommand: (input: CreateCollectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
69
  export declare const serializeAws_json1_1CreateDatasetCommand: (input: CreateDatasetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
65
70
  export declare const serializeAws_json1_1CreateProjectCommand: (input: CreateProjectCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -69,6 +74,7 @@ export declare const serializeAws_json1_1DeleteCollectionCommand: (input: Delete
69
74
  export declare const serializeAws_json1_1DeleteDatasetCommand: (input: DeleteDatasetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
75
  export declare const serializeAws_json1_1DeleteFacesCommand: (input: DeleteFacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
71
76
  export declare const serializeAws_json1_1DeleteProjectCommand: (input: DeleteProjectCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
+ export declare const serializeAws_json1_1DeleteProjectPolicyCommand: (input: DeleteProjectPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
72
78
  export declare const serializeAws_json1_1DeleteProjectVersionCommand: (input: DeleteProjectVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
73
79
  export declare const serializeAws_json1_1DeleteStreamProcessorCommand: (input: DeleteStreamProcessorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
74
80
  export declare const serializeAws_json1_1DescribeCollectionCommand: (input: DescribeCollectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -97,8 +103,10 @@ export declare const serializeAws_json1_1ListCollectionsCommand: (input: ListCol
97
103
  export declare const serializeAws_json1_1ListDatasetEntriesCommand: (input: ListDatasetEntriesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
98
104
  export declare const serializeAws_json1_1ListDatasetLabelsCommand: (input: ListDatasetLabelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
99
105
  export declare const serializeAws_json1_1ListFacesCommand: (input: ListFacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
106
+ export declare const serializeAws_json1_1ListProjectPoliciesCommand: (input: ListProjectPoliciesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
100
107
  export declare const serializeAws_json1_1ListStreamProcessorsCommand: (input: ListStreamProcessorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
101
108
  export declare const serializeAws_json1_1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
109
+ export declare const serializeAws_json1_1PutProjectPolicyCommand: (input: PutProjectPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
102
110
  export declare const serializeAws_json1_1RecognizeCelebritiesCommand: (input: RecognizeCelebritiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
103
111
  export declare const serializeAws_json1_1SearchFacesCommand: (input: SearchFacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
104
112
  export declare const serializeAws_json1_1SearchFacesByImageCommand: (input: SearchFacesByImageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -119,6 +127,7 @@ export declare const serializeAws_json1_1UntagResourceCommand: (input: UntagReso
119
127
  export declare const serializeAws_json1_1UpdateDatasetEntriesCommand: (input: UpdateDatasetEntriesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
120
128
  export declare const serializeAws_json1_1UpdateStreamProcessorCommand: (input: UpdateStreamProcessorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
121
129
  export declare const deserializeAws_json1_1CompareFacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CompareFacesCommandOutput>;
130
+ export declare const deserializeAws_json1_1CopyProjectVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CopyProjectVersionCommandOutput>;
122
131
  export declare const deserializeAws_json1_1CreateCollectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateCollectionCommandOutput>;
123
132
  export declare const deserializeAws_json1_1CreateDatasetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateDatasetCommandOutput>;
124
133
  export declare const deserializeAws_json1_1CreateProjectCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateProjectCommandOutput>;
@@ -128,6 +137,7 @@ export declare const deserializeAws_json1_1DeleteCollectionCommand: (output: __H
128
137
  export declare const deserializeAws_json1_1DeleteDatasetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteDatasetCommandOutput>;
129
138
  export declare const deserializeAws_json1_1DeleteFacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteFacesCommandOutput>;
130
139
  export declare const deserializeAws_json1_1DeleteProjectCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteProjectCommandOutput>;
140
+ export declare const deserializeAws_json1_1DeleteProjectPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteProjectPolicyCommandOutput>;
131
141
  export declare const deserializeAws_json1_1DeleteProjectVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteProjectVersionCommandOutput>;
132
142
  export declare const deserializeAws_json1_1DeleteStreamProcessorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteStreamProcessorCommandOutput>;
133
143
  export declare const deserializeAws_json1_1DescribeCollectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeCollectionCommandOutput>;
@@ -156,8 +166,10 @@ export declare const deserializeAws_json1_1ListCollectionsCommand: (output: __Ht
156
166
  export declare const deserializeAws_json1_1ListDatasetEntriesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDatasetEntriesCommandOutput>;
157
167
  export declare const deserializeAws_json1_1ListDatasetLabelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDatasetLabelsCommandOutput>;
158
168
  export declare const deserializeAws_json1_1ListFacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFacesCommandOutput>;
169
+ export declare const deserializeAws_json1_1ListProjectPoliciesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListProjectPoliciesCommandOutput>;
159
170
  export declare const deserializeAws_json1_1ListStreamProcessorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListStreamProcessorsCommandOutput>;
160
171
  export declare const deserializeAws_json1_1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
172
+ export declare const deserializeAws_json1_1PutProjectPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutProjectPolicyCommandOutput>;
161
173
  export declare const deserializeAws_json1_1RecognizeCelebritiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RecognizeCelebritiesCommandOutput>;
162
174
  export declare const deserializeAws_json1_1SearchFacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchFacesCommandOutput>;
163
175
  export declare const deserializeAws_json1_1SearchFacesByImageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchFacesByImageCommandOutput>;
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.150.0",
4
+ "version": "3.151.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",