@aws-sdk/client-rekognition 3.933.0 → 3.935.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 (69) hide show
  1. package/dist-cjs/index.js +306 -306
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +288 -0
  4. package/dist-es/models/errors.js +421 -0
  5. package/dist-es/models/models_0.js +1 -659
  6. package/dist-es/schemas/schemas_0.js +1 -1
  7. package/dist-types/commands/ListUsersCommand.d.ts +1 -1
  8. package/dist-types/commands/PutProjectPolicyCommand.d.ts +1 -1
  9. package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +1 -1
  10. package/dist-types/commands/SearchFacesByImageCommand.d.ts +1 -1
  11. package/dist-types/commands/SearchFacesCommand.d.ts +1 -1
  12. package/dist-types/commands/SearchUsersByImageCommand.d.ts +1 -1
  13. package/dist-types/commands/SearchUsersCommand.d.ts +1 -1
  14. package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +1 -1
  15. package/dist-types/commands/StartContentModerationCommand.d.ts +1 -1
  16. package/dist-types/commands/StartFaceDetectionCommand.d.ts +1 -1
  17. package/dist-types/commands/StartFaceSearchCommand.d.ts +1 -1
  18. package/dist-types/commands/StartLabelDetectionCommand.d.ts +1 -1
  19. package/dist-types/commands/StartMediaAnalysisJobCommand.d.ts +1 -1
  20. package/dist-types/commands/StartPersonTrackingCommand.d.ts +1 -1
  21. package/dist-types/commands/StartProjectVersionCommand.d.ts +1 -1
  22. package/dist-types/commands/StartSegmentDetectionCommand.d.ts +1 -1
  23. package/dist-types/commands/StartStreamProcessorCommand.d.ts +1 -1
  24. package/dist-types/commands/StartTextDetectionCommand.d.ts +1 -1
  25. package/dist-types/commands/StopProjectVersionCommand.d.ts +1 -1
  26. package/dist-types/commands/StopStreamProcessorCommand.d.ts +1 -1
  27. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  28. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  29. package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +1 -1
  31. package/dist-types/index.d.ts +3 -1
  32. package/dist-types/models/enums.d.ts +640 -0
  33. package/dist-types/models/errors.d.ts +471 -0
  34. package/dist-types/models/models_0.d.ts +1358 -1041
  35. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/PutProjectPolicyCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/RecognizeCelebritiesCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/SearchFacesByImageCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/SearchFacesCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/SearchUsersByImageCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/StartContentModerationCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/StartFaceDetectionCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/StartFaceSearchCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/StartLabelDetectionCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/StartMediaAnalysisJobCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/StartPersonTrackingCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/StartProjectVersionCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/StartSegmentDetectionCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/StartStreamProcessorCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/StartTextDetectionCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/StopProjectVersionCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/StopStreamProcessorCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/UpdateDatasetEntriesCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/UpdateStreamProcessorCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/index.d.ts +3 -1
  60. package/dist-types/ts3.4/models/enums.d.ts +362 -0
  61. package/dist-types/ts3.4/models/errors.d.ts +251 -0
  62. package/dist-types/ts3.4/models/models_0.d.ts +319 -574
  63. package/package.json +12 -12
  64. package/dist-es/models/index.js +0 -2
  65. package/dist-es/models/models_1.js +0 -51
  66. package/dist-types/models/index.d.ts +0 -2
  67. package/dist-types/models/models_1.d.ts +0 -1429
  68. package/dist-types/ts3.4/models/index.d.ts +0 -2
  69. package/dist-types/ts3.4/models/models_1.d.ts +0 -343
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.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-rekognition",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1,2 +0,0 @@
1
- export * from "./models_0";
2
- export * from "./models_1";
@@ -1,51 +0,0 @@
1
- import { RekognitionServiceException as __BaseException } from "./RekognitionServiceException";
2
- export class MalformedPolicyDocumentException extends __BaseException {
3
- name = "MalformedPolicyDocumentException";
4
- $fault = "client";
5
- Message;
6
- Code;
7
- Logref;
8
- constructor(opts) {
9
- super({
10
- name: "MalformedPolicyDocumentException",
11
- $fault: "client",
12
- ...opts,
13
- });
14
- Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
15
- this.Message = opts.Message;
16
- this.Code = opts.Code;
17
- this.Logref = opts.Logref;
18
- }
19
- }
20
- export const UnsearchedFaceReason = {
21
- EXCEEDS_MAX_FACES: "EXCEEDS_MAX_FACES",
22
- EXTREME_POSE: "EXTREME_POSE",
23
- FACE_NOT_LARGEST: "FACE_NOT_LARGEST",
24
- LOW_BRIGHTNESS: "LOW_BRIGHTNESS",
25
- LOW_CONFIDENCE: "LOW_CONFIDENCE",
26
- LOW_FACE_QUALITY: "LOW_FACE_QUALITY",
27
- LOW_SHARPNESS: "LOW_SHARPNESS",
28
- SMALL_BOUNDING_BOX: "SMALL_BOUNDING_BOX",
29
- };
30
- export class VideoTooLargeException extends __BaseException {
31
- name = "VideoTooLargeException";
32
- $fault = "client";
33
- Message;
34
- Code;
35
- Logref;
36
- constructor(opts) {
37
- super({
38
- name: "VideoTooLargeException",
39
- $fault: "client",
40
- ...opts,
41
- });
42
- Object.setPrototypeOf(this, VideoTooLargeException.prototype);
43
- this.Message = opts.Message;
44
- this.Code = opts.Code;
45
- this.Logref = opts.Logref;
46
- }
47
- }
48
- export const StreamProcessorParameterToDelete = {
49
- ConnectedHomeMinConfidence: "ConnectedHomeMinConfidence",
50
- RegionsOfInterest: "RegionsOfInterest",
51
- };
@@ -1,2 +0,0 @@
1
- export * from "./models_0";
2
- export * from "./models_1";