@aws-sdk/client-rekognition 3.36.0 → 3.39.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 (154) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/Rekognition.js +0 -3
  3. package/dist-cjs/RekognitionClient.js +0 -8
  4. package/dist-cjs/commands/CompareFacesCommand.js +0 -86
  5. package/dist-cjs/commands/CreateCollectionCommand.js +0 -36
  6. package/dist-cjs/commands/CreateProjectCommand.js +0 -26
  7. package/dist-cjs/commands/CreateProjectVersionCommand.js +0 -35
  8. package/dist-cjs/commands/CreateStreamProcessorCommand.js +0 -34
  9. package/dist-cjs/commands/DeleteCollectionCommand.js +0 -28
  10. package/dist-cjs/commands/DeleteFacesCommand.js +0 -27
  11. package/dist-cjs/commands/DeleteProjectCommand.js +0 -27
  12. package/dist-cjs/commands/DeleteProjectVersionCommand.js +0 -31
  13. package/dist-cjs/commands/DeleteStreamProcessorCommand.js +0 -25
  14. package/dist-cjs/commands/DescribeCollectionCommand.js +0 -29
  15. package/dist-cjs/commands/DescribeProjectVersionsCommand.js +0 -28
  16. package/dist-cjs/commands/DescribeProjectsCommand.js +0 -25
  17. package/dist-cjs/commands/DescribeStreamProcessorCommand.js +0 -25
  18. package/dist-cjs/commands/DetectCustomLabelsCommand.js +0 -74
  19. package/dist-cjs/commands/DetectFacesCommand.js +0 -46
  20. package/dist-cjs/commands/DetectLabelsCommand.js +0 -96
  21. package/dist-cjs/commands/DetectModerationLabelsCommand.js +0 -37
  22. package/dist-cjs/commands/DetectProtectiveEquipmentCommand.js +0 -63
  23. package/dist-cjs/commands/DetectTextCommand.js +0 -45
  24. package/dist-cjs/commands/GetCelebrityInfoCommand.js +0 -31
  25. package/dist-cjs/commands/GetCelebrityRecognitionCommand.js +0 -58
  26. package/dist-cjs/commands/GetContentModerationCommand.js +0 -53
  27. package/dist-cjs/commands/GetFaceDetectionCommand.js +0 -36
  28. package/dist-cjs/commands/GetFaceSearchCommand.js +0 -54
  29. package/dist-cjs/commands/GetLabelDetectionCommand.js +0 -44
  30. package/dist-cjs/commands/GetPersonTrackingCommand.js +0 -53
  31. package/dist-cjs/commands/GetSegmentDetectionCommand.js +0 -46
  32. package/dist-cjs/commands/GetTextDetectionCommand.js +0 -42
  33. package/dist-cjs/commands/IndexFacesCommand.js +0 -123
  34. package/dist-cjs/commands/ListCollectionsCommand.js +0 -29
  35. package/dist-cjs/commands/ListFacesCommand.js +0 -31
  36. package/dist-cjs/commands/ListStreamProcessorsCommand.js +0 -24
  37. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -28
  38. package/dist-cjs/commands/RecognizeCelebritiesCommand.js +0 -54
  39. package/dist-cjs/commands/SearchFacesByImageCommand.js +0 -70
  40. package/dist-cjs/commands/SearchFacesCommand.js +0 -44
  41. package/dist-cjs/commands/StartCelebrityRecognitionCommand.js +0 -35
  42. package/dist-cjs/commands/StartContentModerationCommand.js +0 -35
  43. package/dist-cjs/commands/StartFaceDetectionCommand.js +0 -36
  44. package/dist-cjs/commands/StartFaceSearchCommand.js +0 -33
  45. package/dist-cjs/commands/StartLabelDetectionCommand.js +0 -38
  46. package/dist-cjs/commands/StartPersonTrackingCommand.js +0 -32
  47. package/dist-cjs/commands/StartProjectVersionCommand.js +0 -33
  48. package/dist-cjs/commands/StartSegmentDetectionCommand.js +0 -39
  49. package/dist-cjs/commands/StartStreamProcessorCommand.js +0 -26
  50. package/dist-cjs/commands/StartTextDetectionCommand.js +0 -31
  51. package/dist-cjs/commands/StopProjectVersionCommand.js +0 -25
  52. package/dist-cjs/commands/StopStreamProcessorCommand.js +0 -24
  53. package/dist-cjs/commands/TagResourceCommand.js +0 -28
  54. package/dist-cjs/commands/UntagResourceCommand.js +0 -28
  55. package/dist-cjs/commands/index.js +54 -0
  56. package/dist-cjs/endpoints.js +6 -1
  57. package/dist-cjs/index.js +5 -69
  58. package/dist-cjs/models/models_0.js +0 -621
  59. package/dist-cjs/pagination/DescribeProjectVersionsPaginator.js +0 -10
  60. package/dist-cjs/pagination/DescribeProjectsPaginator.js +0 -10
  61. package/dist-cjs/pagination/GetCelebrityRecognitionPaginator.js +0 -10
  62. package/dist-cjs/pagination/GetContentModerationPaginator.js +0 -10
  63. package/dist-cjs/pagination/GetFaceDetectionPaginator.js +0 -10
  64. package/dist-cjs/pagination/GetFaceSearchPaginator.js +0 -10
  65. package/dist-cjs/pagination/GetLabelDetectionPaginator.js +0 -10
  66. package/dist-cjs/pagination/GetPersonTrackingPaginator.js +0 -10
  67. package/dist-cjs/pagination/GetSegmentDetectionPaginator.js +0 -10
  68. package/dist-cjs/pagination/GetTextDetectionPaginator.js +0 -10
  69. package/dist-cjs/pagination/ListCollectionsPaginator.js +0 -10
  70. package/dist-cjs/pagination/ListFacesPaginator.js +0 -10
  71. package/dist-cjs/pagination/ListStreamProcessorsPaginator.js +0 -10
  72. package/dist-cjs/pagination/index.js +17 -0
  73. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  74. package/dist-cjs/runtimeConfig.browser.js +1 -5
  75. package/dist-cjs/runtimeConfig.js +1 -5
  76. package/dist-cjs/runtimeConfig.native.js +0 -3
  77. package/dist-cjs/runtimeConfig.shared.js +0 -3
  78. package/dist-cjs/waiters/index.js +5 -0
  79. package/dist-cjs/waiters/waitForProjectVersionRunning.js +0 -9
  80. package/dist-cjs/waiters/waitForProjectVersionTrainingCompleted.js +0 -9
  81. package/dist-es/commands/index.js +51 -0
  82. package/dist-es/endpoints.js +6 -1
  83. package/dist-es/index.js +5 -69
  84. package/dist-es/pagination/index.js +14 -0
  85. package/dist-es/waiters/index.js +2 -0
  86. package/dist-types/commands/index.d.ts +51 -0
  87. package/dist-types/index.d.ts +5 -69
  88. package/dist-types/pagination/index.d.ts +14 -0
  89. package/dist-types/ts3.4/Rekognition.d.ts +52 -1018
  90. package/dist-types/ts3.4/RekognitionClient.d.ts +24 -89
  91. package/dist-types/ts3.4/commands/CompareFacesCommand.d.ts +2 -82
  92. package/dist-types/ts3.4/commands/CreateCollectionCommand.d.ts +2 -32
  93. package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +2 -22
  94. package/dist-types/ts3.4/commands/CreateProjectVersionCommand.d.ts +2 -31
  95. package/dist-types/ts3.4/commands/CreateStreamProcessorCommand.d.ts +2 -30
  96. package/dist-types/ts3.4/commands/DeleteCollectionCommand.d.ts +2 -24
  97. package/dist-types/ts3.4/commands/DeleteFacesCommand.d.ts +2 -23
  98. package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +2 -23
  99. package/dist-types/ts3.4/commands/DeleteProjectVersionCommand.d.ts +2 -27
  100. package/dist-types/ts3.4/commands/DeleteStreamProcessorCommand.d.ts +2 -21
  101. package/dist-types/ts3.4/commands/DescribeCollectionCommand.d.ts +2 -25
  102. package/dist-types/ts3.4/commands/DescribeProjectVersionsCommand.d.ts +2 -24
  103. package/dist-types/ts3.4/commands/DescribeProjectsCommand.d.ts +2 -21
  104. package/dist-types/ts3.4/commands/DescribeStreamProcessorCommand.d.ts +2 -21
  105. package/dist-types/ts3.4/commands/DetectCustomLabelsCommand.d.ts +2 -70
  106. package/dist-types/ts3.4/commands/DetectFacesCommand.d.ts +2 -42
  107. package/dist-types/ts3.4/commands/DetectLabelsCommand.d.ts +2 -92
  108. package/dist-types/ts3.4/commands/DetectModerationLabelsCommand.d.ts +2 -33
  109. package/dist-types/ts3.4/commands/DetectProtectiveEquipmentCommand.d.ts +2 -59
  110. package/dist-types/ts3.4/commands/DetectTextCommand.d.ts +2 -41
  111. package/dist-types/ts3.4/commands/GetCelebrityInfoCommand.d.ts +2 -27
  112. package/dist-types/ts3.4/commands/GetCelebrityRecognitionCommand.d.ts +2 -54
  113. package/dist-types/ts3.4/commands/GetContentModerationCommand.d.ts +2 -49
  114. package/dist-types/ts3.4/commands/GetFaceDetectionCommand.d.ts +2 -32
  115. package/dist-types/ts3.4/commands/GetFaceSearchCommand.d.ts +2 -50
  116. package/dist-types/ts3.4/commands/GetLabelDetectionCommand.d.ts +2 -40
  117. package/dist-types/ts3.4/commands/GetPersonTrackingCommand.d.ts +2 -49
  118. package/dist-types/ts3.4/commands/GetSegmentDetectionCommand.d.ts +2 -42
  119. package/dist-types/ts3.4/commands/GetTextDetectionCommand.d.ts +2 -38
  120. package/dist-types/ts3.4/commands/IndexFacesCommand.d.ts +2 -119
  121. package/dist-types/ts3.4/commands/ListCollectionsCommand.d.ts +2 -25
  122. package/dist-types/ts3.4/commands/ListFacesCommand.d.ts +2 -27
  123. package/dist-types/ts3.4/commands/ListStreamProcessorsCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -24
  125. package/dist-types/ts3.4/commands/RecognizeCelebritiesCommand.d.ts +2 -50
  126. package/dist-types/ts3.4/commands/SearchFacesByImageCommand.d.ts +2 -66
  127. package/dist-types/ts3.4/commands/SearchFacesCommand.d.ts +2 -40
  128. package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +2 -31
  129. package/dist-types/ts3.4/commands/StartContentModerationCommand.d.ts +2 -31
  130. package/dist-types/ts3.4/commands/StartFaceDetectionCommand.d.ts +2 -32
  131. package/dist-types/ts3.4/commands/StartFaceSearchCommand.d.ts +2 -29
  132. package/dist-types/ts3.4/commands/StartLabelDetectionCommand.d.ts +2 -34
  133. package/dist-types/ts3.4/commands/StartPersonTrackingCommand.d.ts +2 -28
  134. package/dist-types/ts3.4/commands/StartProjectVersionCommand.d.ts +2 -29
  135. package/dist-types/ts3.4/commands/StartSegmentDetectionCommand.d.ts +2 -35
  136. package/dist-types/ts3.4/commands/StartStreamProcessorCommand.d.ts +2 -22
  137. package/dist-types/ts3.4/commands/StartTextDetectionCommand.d.ts +2 -27
  138. package/dist-types/ts3.4/commands/StopProjectVersionCommand.d.ts +2 -21
  139. package/dist-types/ts3.4/commands/StopStreamProcessorCommand.d.ts +2 -20
  140. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -24
  141. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -24
  142. package/dist-types/ts3.4/commands/index.d.ts +51 -0
  143. package/dist-types/ts3.4/index.d.ts +5 -69
  144. package/dist-types/ts3.4/models/models_0.d.ts +856 -3431
  145. package/dist-types/ts3.4/pagination/index.d.ts +14 -0
  146. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  147. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  148. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  149. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  150. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  151. package/dist-types/ts3.4/waiters/waitForProjectVersionRunning.d.ts +2 -9
  152. package/dist-types/ts3.4/waiters/waitForProjectVersionTrainingCompleted.d.ts +2 -9
  153. package/dist-types/waiters/index.d.ts +2 -0
  154. package/package.json +33 -33
@@ -0,0 +1,14 @@
1
+ export * from "./DescribeProjectVersionsPaginator";
2
+ export * from "./DescribeProjectsPaginator";
3
+ export * from "./GetCelebrityRecognitionPaginator";
4
+ export * from "./GetContentModerationPaginator";
5
+ export * from "./GetFaceDetectionPaginator";
6
+ export * from "./GetFaceSearchPaginator";
7
+ export * from "./GetLabelDetectionPaginator";
8
+ export * from "./GetPersonTrackingPaginator";
9
+ export * from "./GetSegmentDetectionPaginator";
10
+ export * from "./GetTextDetectionPaginator";
11
+ export * from "./Interfaces";
12
+ export * from "./ListCollectionsPaginator";
13
+ export * from "./ListFacesPaginator";
14
+ export * from "./ListStreamProcessorsPaginator";
@@ -1,8 +1,6 @@
1
1
  import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { RekognitionClientConfig } from "./RekognitionClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
7
5
  runtime: string;
8
6
  base64Decoder: import("@aws-sdk/types").Decoder;
@@ -1,8 +1,6 @@
1
1
  import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
2
2
  import { RekognitionClientConfig } from "./RekognitionClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
7
5
  runtime: string;
8
6
  base64Decoder: import("@aws-sdk/types").Decoder;
@@ -1,7 +1,5 @@
1
1
  import { RekognitionClientConfig } from "./RekognitionClient";
2
- /**
3
- * @internal
4
- */
2
+
5
3
  export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
6
4
  runtime: string;
7
5
  sha256: import("@aws-sdk/types").HashConstructor;
@@ -1,8 +1,6 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { RekognitionClientConfig } from "./RekognitionClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
7
5
  apiVersion: string;
8
6
  disableHostPrefix: boolean;
@@ -0,0 +1,2 @@
1
+ export * from "./waitForProjectVersionRunning";
2
+ export * from "./waitForProjectVersionTrainingCompleted";
@@ -1,14 +1,7 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
2
2
  import { DescribeProjectVersionsCommandInput } from "../commands/DescribeProjectVersionsCommand";
3
3
  import { RekognitionClient } from "../RekognitionClient";
4
- /**
5
- * Wait until the ProjectVersion is running.
6
- * @deprecated Use waitUntilProjectVersionRunning instead. waitForProjectVersionRunning does not throw error in non-success cases.
7
- */
4
+
8
5
  export declare const waitForProjectVersionRunning: (params: WaiterConfiguration<RekognitionClient>, input: DescribeProjectVersionsCommandInput) => Promise<WaiterResult>;
9
- /**
10
- * Wait until the ProjectVersion is running.
11
- * @param params - Waiter configuration options.
12
- * @param input - The input to DescribeProjectVersionsCommand for polling.
13
- */
6
+
14
7
  export declare const waitUntilProjectVersionRunning: (params: WaiterConfiguration<RekognitionClient>, input: DescribeProjectVersionsCommandInput) => Promise<WaiterResult>;
@@ -1,14 +1,7 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
2
2
  import { DescribeProjectVersionsCommandInput } from "../commands/DescribeProjectVersionsCommand";
3
3
  import { RekognitionClient } from "../RekognitionClient";
4
- /**
5
- * Wait until the ProjectVersion training completes.
6
- * @deprecated Use waitUntilProjectVersionTrainingCompleted instead. waitForProjectVersionTrainingCompleted does not throw error in non-success cases.
7
- */
4
+
8
5
  export declare const waitForProjectVersionTrainingCompleted: (params: WaiterConfiguration<RekognitionClient>, input: DescribeProjectVersionsCommandInput) => Promise<WaiterResult>;
9
- /**
10
- * Wait until the ProjectVersion training completes.
11
- * @param params - Waiter configuration options.
12
- * @param input - The input to DescribeProjectVersionsCommand for polling.
13
- */
6
+
14
7
  export declare const waitUntilProjectVersionTrainingCompleted: (params: WaiterConfiguration<RekognitionClient>, input: DescribeProjectVersionsCommandInput) => Promise<WaiterResult>;
@@ -0,0 +1,2 @@
1
+ export * from "./waitForProjectVersionRunning";
2
+ export * from "./waitForProjectVersionTrainingCompleted";
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.36.0",
4
+ "version": "3.39.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -19,41 +19,41 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-crypto/sha256-browser": "^1.0.0",
23
- "@aws-crypto/sha256-js": "^1.0.0",
24
- "@aws-sdk/client-sts": "3.36.0",
25
- "@aws-sdk/config-resolver": "3.36.0",
26
- "@aws-sdk/credential-provider-node": "3.36.0",
27
- "@aws-sdk/fetch-http-handler": "3.36.0",
28
- "@aws-sdk/hash-node": "3.36.0",
29
- "@aws-sdk/invalid-dependency": "3.36.0",
30
- "@aws-sdk/middleware-content-length": "3.36.0",
31
- "@aws-sdk/middleware-host-header": "3.36.0",
32
- "@aws-sdk/middleware-logger": "3.36.0",
33
- "@aws-sdk/middleware-retry": "3.36.0",
34
- "@aws-sdk/middleware-serde": "3.36.0",
35
- "@aws-sdk/middleware-signing": "3.36.0",
36
- "@aws-sdk/middleware-stack": "3.36.0",
37
- "@aws-sdk/middleware-user-agent": "3.36.0",
38
- "@aws-sdk/node-config-provider": "3.36.0",
39
- "@aws-sdk/node-http-handler": "3.36.0",
40
- "@aws-sdk/protocol-http": "3.36.0",
41
- "@aws-sdk/smithy-client": "3.36.0",
42
- "@aws-sdk/types": "3.36.0",
43
- "@aws-sdk/url-parser": "3.36.0",
44
- "@aws-sdk/util-base64-browser": "3.36.0",
45
- "@aws-sdk/util-base64-node": "3.36.0",
46
- "@aws-sdk/util-body-length-browser": "3.36.0",
47
- "@aws-sdk/util-body-length-node": "3.36.0",
48
- "@aws-sdk/util-user-agent-browser": "3.36.0",
49
- "@aws-sdk/util-user-agent-node": "3.36.0",
50
- "@aws-sdk/util-utf8-browser": "3.36.0",
51
- "@aws-sdk/util-utf8-node": "3.36.0",
52
- "@aws-sdk/util-waiter": "3.36.0",
22
+ "@aws-crypto/sha256-browser": "2.0.0",
23
+ "@aws-crypto/sha256-js": "2.0.0",
24
+ "@aws-sdk/client-sts": "3.39.0",
25
+ "@aws-sdk/config-resolver": "3.39.0",
26
+ "@aws-sdk/credential-provider-node": "3.39.0",
27
+ "@aws-sdk/fetch-http-handler": "3.38.0",
28
+ "@aws-sdk/hash-node": "3.38.0",
29
+ "@aws-sdk/invalid-dependency": "3.38.0",
30
+ "@aws-sdk/middleware-content-length": "3.38.0",
31
+ "@aws-sdk/middleware-host-header": "3.38.0",
32
+ "@aws-sdk/middleware-logger": "3.38.0",
33
+ "@aws-sdk/middleware-retry": "3.39.0",
34
+ "@aws-sdk/middleware-serde": "3.38.0",
35
+ "@aws-sdk/middleware-signing": "3.39.0",
36
+ "@aws-sdk/middleware-stack": "3.38.0",
37
+ "@aws-sdk/middleware-user-agent": "3.38.0",
38
+ "@aws-sdk/node-config-provider": "3.39.0",
39
+ "@aws-sdk/node-http-handler": "3.38.0",
40
+ "@aws-sdk/protocol-http": "3.38.0",
41
+ "@aws-sdk/smithy-client": "3.38.0",
42
+ "@aws-sdk/types": "3.38.0",
43
+ "@aws-sdk/url-parser": "3.38.0",
44
+ "@aws-sdk/util-base64-browser": "3.37.0",
45
+ "@aws-sdk/util-base64-node": "3.37.0",
46
+ "@aws-sdk/util-body-length-browser": "3.37.0",
47
+ "@aws-sdk/util-body-length-node": "3.37.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.38.0",
49
+ "@aws-sdk/util-user-agent-node": "3.39.0",
50
+ "@aws-sdk/util-utf8-browser": "3.37.0",
51
+ "@aws-sdk/util-utf8-node": "3.37.0",
52
+ "@aws-sdk/util-waiter": "3.38.0",
53
53
  "tslib": "^2.3.0"
54
54
  },
55
55
  "devDependencies": {
56
- "@aws-sdk/client-documentation-generator": "3.36.0",
56
+ "@aws-sdk/service-client-documentation-generator": "3.38.0",
57
57
  "@types/node": "^12.7.5",
58
58
  "downlevel-dts": "0.7.0",
59
59
  "jest": "^26.1.0",