@aws-sdk/client-rekognition 3.1045.0 → 3.1047.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 (270) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +182 -184
  5. package/dist-cjs/models/RekognitionServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +18 -22
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/Rekognition.js +1 -1
  10. package/dist-es/RekognitionClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/AssociateFacesCommand.js +2 -2
  13. package/dist-es/commands/CompareFacesCommand.js +2 -2
  14. package/dist-es/commands/CopyProjectVersionCommand.js +2 -2
  15. package/dist-es/commands/CreateCollectionCommand.js +2 -2
  16. package/dist-es/commands/CreateDatasetCommand.js +2 -2
  17. package/dist-es/commands/CreateFaceLivenessSessionCommand.js +2 -2
  18. package/dist-es/commands/CreateProjectCommand.js +2 -2
  19. package/dist-es/commands/CreateProjectVersionCommand.js +2 -2
  20. package/dist-es/commands/CreateStreamProcessorCommand.js +2 -2
  21. package/dist-es/commands/CreateUserCommand.js +2 -2
  22. package/dist-es/commands/DeleteCollectionCommand.js +2 -2
  23. package/dist-es/commands/DeleteDatasetCommand.js +2 -2
  24. package/dist-es/commands/DeleteFacesCommand.js +2 -2
  25. package/dist-es/commands/DeleteProjectCommand.js +2 -2
  26. package/dist-es/commands/DeleteProjectPolicyCommand.js +2 -2
  27. package/dist-es/commands/DeleteProjectVersionCommand.js +2 -2
  28. package/dist-es/commands/DeleteStreamProcessorCommand.js +2 -2
  29. package/dist-es/commands/DeleteUserCommand.js +2 -2
  30. package/dist-es/commands/DescribeCollectionCommand.js +2 -2
  31. package/dist-es/commands/DescribeDatasetCommand.js +2 -2
  32. package/dist-es/commands/DescribeProjectVersionsCommand.js +2 -2
  33. package/dist-es/commands/DescribeProjectsCommand.js +2 -2
  34. package/dist-es/commands/DescribeStreamProcessorCommand.js +2 -2
  35. package/dist-es/commands/DetectCustomLabelsCommand.js +2 -2
  36. package/dist-es/commands/DetectFacesCommand.js +2 -2
  37. package/dist-es/commands/DetectLabelsCommand.js +2 -2
  38. package/dist-es/commands/DetectModerationLabelsCommand.js +2 -2
  39. package/dist-es/commands/DetectProtectiveEquipmentCommand.js +2 -2
  40. package/dist-es/commands/DetectTextCommand.js +2 -2
  41. package/dist-es/commands/DisassociateFacesCommand.js +2 -2
  42. package/dist-es/commands/DistributeDatasetEntriesCommand.js +2 -2
  43. package/dist-es/commands/GetCelebrityInfoCommand.js +2 -2
  44. package/dist-es/commands/GetCelebrityRecognitionCommand.js +2 -2
  45. package/dist-es/commands/GetContentModerationCommand.js +2 -2
  46. package/dist-es/commands/GetFaceDetectionCommand.js +2 -2
  47. package/dist-es/commands/GetFaceLivenessSessionResultsCommand.js +2 -2
  48. package/dist-es/commands/GetFaceSearchCommand.js +2 -2
  49. package/dist-es/commands/GetLabelDetectionCommand.js +2 -2
  50. package/dist-es/commands/GetMediaAnalysisJobCommand.js +2 -2
  51. package/dist-es/commands/GetPersonTrackingCommand.js +2 -2
  52. package/dist-es/commands/GetSegmentDetectionCommand.js +2 -2
  53. package/dist-es/commands/GetTextDetectionCommand.js +2 -2
  54. package/dist-es/commands/IndexFacesCommand.js +2 -2
  55. package/dist-es/commands/ListCollectionsCommand.js +2 -2
  56. package/dist-es/commands/ListDatasetEntriesCommand.js +2 -2
  57. package/dist-es/commands/ListDatasetLabelsCommand.js +2 -2
  58. package/dist-es/commands/ListFacesCommand.js +2 -2
  59. package/dist-es/commands/ListMediaAnalysisJobsCommand.js +2 -2
  60. package/dist-es/commands/ListProjectPoliciesCommand.js +2 -2
  61. package/dist-es/commands/ListStreamProcessorsCommand.js +2 -2
  62. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  63. package/dist-es/commands/ListUsersCommand.js +2 -2
  64. package/dist-es/commands/PutProjectPolicyCommand.js +2 -2
  65. package/dist-es/commands/RecognizeCelebritiesCommand.js +2 -2
  66. package/dist-es/commands/SearchFacesByImageCommand.js +2 -2
  67. package/dist-es/commands/SearchFacesCommand.js +2 -2
  68. package/dist-es/commands/SearchUsersByImageCommand.js +2 -2
  69. package/dist-es/commands/SearchUsersCommand.js +2 -2
  70. package/dist-es/commands/StartCelebrityRecognitionCommand.js +2 -2
  71. package/dist-es/commands/StartContentModerationCommand.js +2 -2
  72. package/dist-es/commands/StartFaceDetectionCommand.js +2 -2
  73. package/dist-es/commands/StartFaceSearchCommand.js +2 -2
  74. package/dist-es/commands/StartLabelDetectionCommand.js +2 -2
  75. package/dist-es/commands/StartMediaAnalysisJobCommand.js +2 -2
  76. package/dist-es/commands/StartPersonTrackingCommand.js +2 -2
  77. package/dist-es/commands/StartProjectVersionCommand.js +2 -2
  78. package/dist-es/commands/StartSegmentDetectionCommand.js +2 -2
  79. package/dist-es/commands/StartStreamProcessorCommand.js +2 -2
  80. package/dist-es/commands/StartTextDetectionCommand.js +2 -2
  81. package/dist-es/commands/StopProjectVersionCommand.js +2 -2
  82. package/dist-es/commands/StopStreamProcessorCommand.js +2 -2
  83. package/dist-es/commands/TagResourceCommand.js +2 -2
  84. package/dist-es/commands/UntagResourceCommand.js +2 -2
  85. package/dist-es/commands/UpdateDatasetEntriesCommand.js +2 -2
  86. package/dist-es/commands/UpdateStreamProcessorCommand.js +2 -2
  87. package/dist-es/endpoint/bdd.js +1 -1
  88. package/dist-es/endpoint/endpointResolver.js +1 -1
  89. package/dist-es/models/RekognitionServiceException.js +1 -1
  90. package/dist-es/runtimeConfig.browser.js +4 -6
  91. package/dist-es/runtimeConfig.js +4 -8
  92. package/dist-es/runtimeConfig.shared.js +3 -4
  93. package/dist-es/runtimeExtensions.js +2 -2
  94. package/dist-es/waiters/waitForProjectVersionRunning.js +1 -1
  95. package/dist-es/waiters/waitForProjectVersionTrainingCompleted.js +1 -1
  96. package/dist-types/Rekognition.d.ts +1 -1
  97. package/dist-types/RekognitionClient.d.ts +5 -5
  98. package/dist-types/commands/AssociateFacesCommand.d.ts +6 -4
  99. package/dist-types/commands/CompareFacesCommand.d.ts +6 -4
  100. package/dist-types/commands/CopyProjectVersionCommand.d.ts +6 -4
  101. package/dist-types/commands/CreateCollectionCommand.d.ts +6 -4
  102. package/dist-types/commands/CreateDatasetCommand.d.ts +6 -4
  103. package/dist-types/commands/CreateFaceLivenessSessionCommand.d.ts +6 -4
  104. package/dist-types/commands/CreateProjectCommand.d.ts +6 -4
  105. package/dist-types/commands/CreateProjectVersionCommand.d.ts +6 -4
  106. package/dist-types/commands/CreateStreamProcessorCommand.d.ts +6 -4
  107. package/dist-types/commands/CreateUserCommand.d.ts +6 -4
  108. package/dist-types/commands/DeleteCollectionCommand.d.ts +6 -4
  109. package/dist-types/commands/DeleteDatasetCommand.d.ts +6 -4
  110. package/dist-types/commands/DeleteFacesCommand.d.ts +6 -4
  111. package/dist-types/commands/DeleteProjectCommand.d.ts +6 -4
  112. package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +6 -4
  113. package/dist-types/commands/DeleteProjectVersionCommand.d.ts +6 -4
  114. package/dist-types/commands/DeleteStreamProcessorCommand.d.ts +6 -4
  115. package/dist-types/commands/DeleteUserCommand.d.ts +6 -4
  116. package/dist-types/commands/DescribeCollectionCommand.d.ts +6 -4
  117. package/dist-types/commands/DescribeDatasetCommand.d.ts +6 -4
  118. package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +6 -4
  119. package/dist-types/commands/DescribeProjectsCommand.d.ts +6 -4
  120. package/dist-types/commands/DescribeStreamProcessorCommand.d.ts +6 -4
  121. package/dist-types/commands/DetectCustomLabelsCommand.d.ts +6 -4
  122. package/dist-types/commands/DetectFacesCommand.d.ts +6 -4
  123. package/dist-types/commands/DetectLabelsCommand.d.ts +6 -4
  124. package/dist-types/commands/DetectModerationLabelsCommand.d.ts +6 -4
  125. package/dist-types/commands/DetectProtectiveEquipmentCommand.d.ts +6 -4
  126. package/dist-types/commands/DetectTextCommand.d.ts +6 -4
  127. package/dist-types/commands/DisassociateFacesCommand.d.ts +6 -4
  128. package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +6 -4
  129. package/dist-types/commands/GetCelebrityInfoCommand.d.ts +6 -4
  130. package/dist-types/commands/GetCelebrityRecognitionCommand.d.ts +6 -4
  131. package/dist-types/commands/GetContentModerationCommand.d.ts +6 -4
  132. package/dist-types/commands/GetFaceDetectionCommand.d.ts +6 -4
  133. package/dist-types/commands/GetFaceLivenessSessionResultsCommand.d.ts +6 -4
  134. package/dist-types/commands/GetFaceSearchCommand.d.ts +6 -4
  135. package/dist-types/commands/GetLabelDetectionCommand.d.ts +6 -4
  136. package/dist-types/commands/GetMediaAnalysisJobCommand.d.ts +6 -4
  137. package/dist-types/commands/GetPersonTrackingCommand.d.ts +6 -4
  138. package/dist-types/commands/GetSegmentDetectionCommand.d.ts +6 -4
  139. package/dist-types/commands/GetTextDetectionCommand.d.ts +6 -4
  140. package/dist-types/commands/IndexFacesCommand.d.ts +6 -4
  141. package/dist-types/commands/ListCollectionsCommand.d.ts +6 -4
  142. package/dist-types/commands/ListDatasetEntriesCommand.d.ts +6 -4
  143. package/dist-types/commands/ListDatasetLabelsCommand.d.ts +6 -4
  144. package/dist-types/commands/ListFacesCommand.d.ts +6 -4
  145. package/dist-types/commands/ListMediaAnalysisJobsCommand.d.ts +6 -4
  146. package/dist-types/commands/ListProjectPoliciesCommand.d.ts +6 -4
  147. package/dist-types/commands/ListStreamProcessorsCommand.d.ts +6 -4
  148. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  149. package/dist-types/commands/ListUsersCommand.d.ts +6 -4
  150. package/dist-types/commands/PutProjectPolicyCommand.d.ts +6 -4
  151. package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +6 -4
  152. package/dist-types/commands/SearchFacesByImageCommand.d.ts +6 -4
  153. package/dist-types/commands/SearchFacesCommand.d.ts +6 -4
  154. package/dist-types/commands/SearchUsersByImageCommand.d.ts +6 -4
  155. package/dist-types/commands/SearchUsersCommand.d.ts +6 -4
  156. package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +6 -4
  157. package/dist-types/commands/StartContentModerationCommand.d.ts +6 -4
  158. package/dist-types/commands/StartFaceDetectionCommand.d.ts +6 -4
  159. package/dist-types/commands/StartFaceSearchCommand.d.ts +6 -4
  160. package/dist-types/commands/StartLabelDetectionCommand.d.ts +6 -4
  161. package/dist-types/commands/StartMediaAnalysisJobCommand.d.ts +6 -4
  162. package/dist-types/commands/StartPersonTrackingCommand.d.ts +6 -4
  163. package/dist-types/commands/StartProjectVersionCommand.d.ts +6 -4
  164. package/dist-types/commands/StartSegmentDetectionCommand.d.ts +6 -4
  165. package/dist-types/commands/StartStreamProcessorCommand.d.ts +6 -4
  166. package/dist-types/commands/StartTextDetectionCommand.d.ts +6 -4
  167. package/dist-types/commands/StopProjectVersionCommand.d.ts +6 -4
  168. package/dist-types/commands/StopStreamProcessorCommand.d.ts +6 -4
  169. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  170. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  171. package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +6 -4
  172. package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +6 -4
  173. package/dist-types/endpoint/bdd.d.ts +1 -1
  174. package/dist-types/extensionConfiguration.d.ts +1 -1
  175. package/dist-types/models/RekognitionServiceException.d.ts +1 -1
  176. package/dist-types/models/errors.d.ts +1 -1
  177. package/dist-types/models/models_0.d.ts +1 -1
  178. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  179. package/dist-types/runtimeConfig.d.ts +2 -2
  180. package/dist-types/runtimeConfig.native.d.ts +2 -2
  181. package/dist-types/ts3.4/Rekognition.d.ts +1 -1
  182. package/dist-types/ts3.4/RekognitionClient.d.ts +8 -14
  183. package/dist-types/ts3.4/commands/AssociateFacesCommand.d.ts +6 -4
  184. package/dist-types/ts3.4/commands/CompareFacesCommand.d.ts +6 -4
  185. package/dist-types/ts3.4/commands/CopyProjectVersionCommand.d.ts +6 -4
  186. package/dist-types/ts3.4/commands/CreateCollectionCommand.d.ts +6 -4
  187. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +6 -4
  188. package/dist-types/ts3.4/commands/CreateFaceLivenessSessionCommand.d.ts +6 -4
  189. package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +6 -4
  190. package/dist-types/ts3.4/commands/CreateProjectVersionCommand.d.ts +6 -4
  191. package/dist-types/ts3.4/commands/CreateStreamProcessorCommand.d.ts +6 -4
  192. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +6 -4
  193. package/dist-types/ts3.4/commands/DeleteCollectionCommand.d.ts +6 -4
  194. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +6 -4
  195. package/dist-types/ts3.4/commands/DeleteFacesCommand.d.ts +6 -4
  196. package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +6 -4
  197. package/dist-types/ts3.4/commands/DeleteProjectPolicyCommand.d.ts +6 -4
  198. package/dist-types/ts3.4/commands/DeleteProjectVersionCommand.d.ts +6 -4
  199. package/dist-types/ts3.4/commands/DeleteStreamProcessorCommand.d.ts +6 -4
  200. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +6 -4
  201. package/dist-types/ts3.4/commands/DescribeCollectionCommand.d.ts +6 -4
  202. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +6 -4
  203. package/dist-types/ts3.4/commands/DescribeProjectVersionsCommand.d.ts +6 -4
  204. package/dist-types/ts3.4/commands/DescribeProjectsCommand.d.ts +6 -4
  205. package/dist-types/ts3.4/commands/DescribeStreamProcessorCommand.d.ts +6 -4
  206. package/dist-types/ts3.4/commands/DetectCustomLabelsCommand.d.ts +6 -4
  207. package/dist-types/ts3.4/commands/DetectFacesCommand.d.ts +6 -4
  208. package/dist-types/ts3.4/commands/DetectLabelsCommand.d.ts +6 -4
  209. package/dist-types/ts3.4/commands/DetectModerationLabelsCommand.d.ts +6 -4
  210. package/dist-types/ts3.4/commands/DetectProtectiveEquipmentCommand.d.ts +6 -4
  211. package/dist-types/ts3.4/commands/DetectTextCommand.d.ts +6 -4
  212. package/dist-types/ts3.4/commands/DisassociateFacesCommand.d.ts +6 -4
  213. package/dist-types/ts3.4/commands/DistributeDatasetEntriesCommand.d.ts +6 -4
  214. package/dist-types/ts3.4/commands/GetCelebrityInfoCommand.d.ts +6 -4
  215. package/dist-types/ts3.4/commands/GetCelebrityRecognitionCommand.d.ts +6 -4
  216. package/dist-types/ts3.4/commands/GetContentModerationCommand.d.ts +6 -4
  217. package/dist-types/ts3.4/commands/GetFaceDetectionCommand.d.ts +6 -4
  218. package/dist-types/ts3.4/commands/GetFaceLivenessSessionResultsCommand.d.ts +6 -4
  219. package/dist-types/ts3.4/commands/GetFaceSearchCommand.d.ts +6 -4
  220. package/dist-types/ts3.4/commands/GetLabelDetectionCommand.d.ts +6 -4
  221. package/dist-types/ts3.4/commands/GetMediaAnalysisJobCommand.d.ts +6 -4
  222. package/dist-types/ts3.4/commands/GetPersonTrackingCommand.d.ts +6 -4
  223. package/dist-types/ts3.4/commands/GetSegmentDetectionCommand.d.ts +6 -4
  224. package/dist-types/ts3.4/commands/GetTextDetectionCommand.d.ts +6 -4
  225. package/dist-types/ts3.4/commands/IndexFacesCommand.d.ts +6 -4
  226. package/dist-types/ts3.4/commands/ListCollectionsCommand.d.ts +6 -4
  227. package/dist-types/ts3.4/commands/ListDatasetEntriesCommand.d.ts +6 -4
  228. package/dist-types/ts3.4/commands/ListDatasetLabelsCommand.d.ts +6 -4
  229. package/dist-types/ts3.4/commands/ListFacesCommand.d.ts +6 -8
  230. package/dist-types/ts3.4/commands/ListMediaAnalysisJobsCommand.d.ts +6 -4
  231. package/dist-types/ts3.4/commands/ListProjectPoliciesCommand.d.ts +6 -4
  232. package/dist-types/ts3.4/commands/ListStreamProcessorsCommand.d.ts +6 -4
  233. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  234. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +6 -8
  235. package/dist-types/ts3.4/commands/PutProjectPolicyCommand.d.ts +6 -4
  236. package/dist-types/ts3.4/commands/RecognizeCelebritiesCommand.d.ts +6 -4
  237. package/dist-types/ts3.4/commands/SearchFacesByImageCommand.d.ts +6 -4
  238. package/dist-types/ts3.4/commands/SearchFacesCommand.d.ts +6 -4
  239. package/dist-types/ts3.4/commands/SearchUsersByImageCommand.d.ts +6 -4
  240. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +6 -4
  241. package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +6 -4
  242. package/dist-types/ts3.4/commands/StartContentModerationCommand.d.ts +6 -4
  243. package/dist-types/ts3.4/commands/StartFaceDetectionCommand.d.ts +6 -4
  244. package/dist-types/ts3.4/commands/StartFaceSearchCommand.d.ts +6 -4
  245. package/dist-types/ts3.4/commands/StartLabelDetectionCommand.d.ts +6 -4
  246. package/dist-types/ts3.4/commands/StartMediaAnalysisJobCommand.d.ts +6 -4
  247. package/dist-types/ts3.4/commands/StartPersonTrackingCommand.d.ts +6 -4
  248. package/dist-types/ts3.4/commands/StartProjectVersionCommand.d.ts +6 -4
  249. package/dist-types/ts3.4/commands/StartSegmentDetectionCommand.d.ts +6 -4
  250. package/dist-types/ts3.4/commands/StartStreamProcessorCommand.d.ts +6 -4
  251. package/dist-types/ts3.4/commands/StartTextDetectionCommand.d.ts +6 -4
  252. package/dist-types/ts3.4/commands/StopProjectVersionCommand.d.ts +6 -4
  253. package/dist-types/ts3.4/commands/StopStreamProcessorCommand.d.ts +6 -4
  254. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  255. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  256. package/dist-types/ts3.4/commands/UpdateDatasetEntriesCommand.d.ts +6 -4
  257. package/dist-types/ts3.4/commands/UpdateStreamProcessorCommand.d.ts +6 -4
  258. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  259. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  260. package/dist-types/ts3.4/models/RekognitionServiceException.d.ts +1 -1
  261. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  262. package/dist-types/ts3.4/models/models_0.d.ts +1 -1
  263. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  264. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  265. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  266. package/dist-types/ts3.4/waiters/waitForProjectVersionRunning.d.ts +1 -1
  267. package/dist-types/ts3.4/waiters/waitForProjectVersionTrainingCompleted.d.ts +1 -1
  268. package/dist-types/waiters/waitForProjectVersionRunning.d.ts +1 -1
  269. package/dist-types/waiters/waitForProjectVersionTrainingCompleted.d.ts +1 -1
  270. package/package.json +13 -35
package/dist-cjs/index.js CHANGED
@@ -4,19 +4,17 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
4
  var middlewareLogger = require('@aws-sdk/middleware-logger');
5
5
  var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
- var configResolver = require('@smithy/config-resolver');
8
7
  var core = require('@smithy/core');
8
+ var client = require('@smithy/core/client');
9
+ var config = require('@smithy/core/config');
10
+ var endpoints = require('@smithy/core/endpoints');
11
+ var protocols = require('@smithy/core/protocols');
12
+ var retry = require('@smithy/core/retry');
9
13
  var schema = require('@smithy/core/schema');
10
- var middlewareContentLength = require('@smithy/middleware-content-length');
11
- var middlewareEndpoint = require('@smithy/middleware-endpoint');
12
- var middlewareRetry = require('@smithy/middleware-retry');
13
- var smithyClient = require('@smithy/smithy-client');
14
14
  var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
- var protocolHttp = require('@smithy/protocol-http');
18
17
  var schemas_0 = require('./schemas/schemas_0');
19
- var utilWaiter = require('@smithy/util-waiter');
20
18
  var errors = require('./models/errors');
21
19
  var RekognitionServiceException = require('./models/RekognitionServiceException');
22
20
 
@@ -74,12 +72,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
74
72
  };
75
73
 
76
74
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
77
- const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
75
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
78
76
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
79
- return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
77
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
80
78
  };
81
79
 
82
- class RekognitionClient extends smithyClient.Client {
80
+ class RekognitionClient extends client.Client {
83
81
  config;
84
82
  constructor(...[configuration]) {
85
83
  const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
@@ -87,17 +85,17 @@ class RekognitionClient extends smithyClient.Client {
87
85
  this.initConfig = _config_0;
88
86
  const _config_1 = resolveClientEndpointParameters(_config_0);
89
87
  const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
90
- const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
91
- const _config_4 = configResolver.resolveRegionConfig(_config_3);
88
+ const _config_3 = retry.resolveRetryConfig(_config_2);
89
+ const _config_4 = config.resolveRegionConfig(_config_3);
92
90
  const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
93
- const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
91
+ const _config_6 = endpoints.resolveEndpointConfig(_config_5);
94
92
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
95
93
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
96
94
  this.config = _config_8;
97
95
  this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
98
96
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
99
- this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
100
- this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
97
+ this.middlewareStack.use(retry.getRetryPlugin(this.config));
98
+ this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
101
99
  this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
102
100
  this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
103
101
  this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
@@ -114,11 +112,11 @@ class RekognitionClient extends smithyClient.Client {
114
112
  }
115
113
  }
116
114
 
117
- class AssociateFacesCommand extends smithyClient.Command
115
+ class AssociateFacesCommand extends client.Command
118
116
  .classBuilder()
119
117
  .ep(commonParams)
120
118
  .m(function (Command, cs, config, o) {
121
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
119
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
122
120
  })
123
121
  .s("RekognitionService", "AssociateFaces", {})
124
122
  .n("RekognitionClient", "AssociateFacesCommand")
@@ -126,11 +124,11 @@ class AssociateFacesCommand extends smithyClient.Command
126
124
  .build() {
127
125
  }
128
126
 
129
- class CompareFacesCommand extends smithyClient.Command
127
+ class CompareFacesCommand extends client.Command
130
128
  .classBuilder()
131
129
  .ep(commonParams)
132
130
  .m(function (Command, cs, config, o) {
133
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
131
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
134
132
  })
135
133
  .s("RekognitionService", "CompareFaces", {})
136
134
  .n("RekognitionClient", "CompareFacesCommand")
@@ -138,11 +136,11 @@ class CompareFacesCommand extends smithyClient.Command
138
136
  .build() {
139
137
  }
140
138
 
141
- class CopyProjectVersionCommand extends smithyClient.Command
139
+ class CopyProjectVersionCommand extends client.Command
142
140
  .classBuilder()
143
141
  .ep(commonParams)
144
142
  .m(function (Command, cs, config, o) {
145
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
143
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
146
144
  })
147
145
  .s("RekognitionService", "CopyProjectVersion", {})
148
146
  .n("RekognitionClient", "CopyProjectVersionCommand")
@@ -150,11 +148,11 @@ class CopyProjectVersionCommand extends smithyClient.Command
150
148
  .build() {
151
149
  }
152
150
 
153
- class CreateCollectionCommand extends smithyClient.Command
151
+ class CreateCollectionCommand extends client.Command
154
152
  .classBuilder()
155
153
  .ep(commonParams)
156
154
  .m(function (Command, cs, config, o) {
157
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
155
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
158
156
  })
159
157
  .s("RekognitionService", "CreateCollection", {})
160
158
  .n("RekognitionClient", "CreateCollectionCommand")
@@ -162,11 +160,11 @@ class CreateCollectionCommand extends smithyClient.Command
162
160
  .build() {
163
161
  }
164
162
 
165
- class CreateDatasetCommand extends smithyClient.Command
163
+ class CreateDatasetCommand extends client.Command
166
164
  .classBuilder()
167
165
  .ep(commonParams)
168
166
  .m(function (Command, cs, config, o) {
169
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
167
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
170
168
  })
171
169
  .s("RekognitionService", "CreateDataset", {})
172
170
  .n("RekognitionClient", "CreateDatasetCommand")
@@ -174,11 +172,11 @@ class CreateDatasetCommand extends smithyClient.Command
174
172
  .build() {
175
173
  }
176
174
 
177
- class CreateFaceLivenessSessionCommand extends smithyClient.Command
175
+ class CreateFaceLivenessSessionCommand extends client.Command
178
176
  .classBuilder()
179
177
  .ep(commonParams)
180
178
  .m(function (Command, cs, config, o) {
181
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
179
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
182
180
  })
183
181
  .s("RekognitionService", "CreateFaceLivenessSession", {})
184
182
  .n("RekognitionClient", "CreateFaceLivenessSessionCommand")
@@ -186,11 +184,11 @@ class CreateFaceLivenessSessionCommand extends smithyClient.Command
186
184
  .build() {
187
185
  }
188
186
 
189
- class CreateProjectCommand extends smithyClient.Command
187
+ class CreateProjectCommand extends client.Command
190
188
  .classBuilder()
191
189
  .ep(commonParams)
192
190
  .m(function (Command, cs, config, o) {
193
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
191
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
194
192
  })
195
193
  .s("RekognitionService", "CreateProject", {})
196
194
  .n("RekognitionClient", "CreateProjectCommand")
@@ -198,11 +196,11 @@ class CreateProjectCommand extends smithyClient.Command
198
196
  .build() {
199
197
  }
200
198
 
201
- class CreateProjectVersionCommand extends smithyClient.Command
199
+ class CreateProjectVersionCommand extends client.Command
202
200
  .classBuilder()
203
201
  .ep(commonParams)
204
202
  .m(function (Command, cs, config, o) {
205
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
203
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
206
204
  })
207
205
  .s("RekognitionService", "CreateProjectVersion", {})
208
206
  .n("RekognitionClient", "CreateProjectVersionCommand")
@@ -210,11 +208,11 @@ class CreateProjectVersionCommand extends smithyClient.Command
210
208
  .build() {
211
209
  }
212
210
 
213
- class CreateStreamProcessorCommand extends smithyClient.Command
211
+ class CreateStreamProcessorCommand extends client.Command
214
212
  .classBuilder()
215
213
  .ep(commonParams)
216
214
  .m(function (Command, cs, config, o) {
217
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
215
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
218
216
  })
219
217
  .s("RekognitionService", "CreateStreamProcessor", {})
220
218
  .n("RekognitionClient", "CreateStreamProcessorCommand")
@@ -222,11 +220,11 @@ class CreateStreamProcessorCommand extends smithyClient.Command
222
220
  .build() {
223
221
  }
224
222
 
225
- class CreateUserCommand extends smithyClient.Command
223
+ class CreateUserCommand extends client.Command
226
224
  .classBuilder()
227
225
  .ep(commonParams)
228
226
  .m(function (Command, cs, config, o) {
229
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
227
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
230
228
  })
231
229
  .s("RekognitionService", "CreateUser", {})
232
230
  .n("RekognitionClient", "CreateUserCommand")
@@ -234,11 +232,11 @@ class CreateUserCommand extends smithyClient.Command
234
232
  .build() {
235
233
  }
236
234
 
237
- class DeleteCollectionCommand extends smithyClient.Command
235
+ class DeleteCollectionCommand extends client.Command
238
236
  .classBuilder()
239
237
  .ep(commonParams)
240
238
  .m(function (Command, cs, config, o) {
241
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
239
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
242
240
  })
243
241
  .s("RekognitionService", "DeleteCollection", {})
244
242
  .n("RekognitionClient", "DeleteCollectionCommand")
@@ -246,11 +244,11 @@ class DeleteCollectionCommand extends smithyClient.Command
246
244
  .build() {
247
245
  }
248
246
 
249
- class DeleteDatasetCommand extends smithyClient.Command
247
+ class DeleteDatasetCommand extends client.Command
250
248
  .classBuilder()
251
249
  .ep(commonParams)
252
250
  .m(function (Command, cs, config, o) {
253
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
251
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
254
252
  })
255
253
  .s("RekognitionService", "DeleteDataset", {})
256
254
  .n("RekognitionClient", "DeleteDatasetCommand")
@@ -258,11 +256,11 @@ class DeleteDatasetCommand extends smithyClient.Command
258
256
  .build() {
259
257
  }
260
258
 
261
- class DeleteFacesCommand extends smithyClient.Command
259
+ class DeleteFacesCommand extends client.Command
262
260
  .classBuilder()
263
261
  .ep(commonParams)
264
262
  .m(function (Command, cs, config, o) {
265
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
263
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
266
264
  })
267
265
  .s("RekognitionService", "DeleteFaces", {})
268
266
  .n("RekognitionClient", "DeleteFacesCommand")
@@ -270,11 +268,11 @@ class DeleteFacesCommand extends smithyClient.Command
270
268
  .build() {
271
269
  }
272
270
 
273
- class DeleteProjectCommand extends smithyClient.Command
271
+ class DeleteProjectCommand extends client.Command
274
272
  .classBuilder()
275
273
  .ep(commonParams)
276
274
  .m(function (Command, cs, config, o) {
277
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
275
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
278
276
  })
279
277
  .s("RekognitionService", "DeleteProject", {})
280
278
  .n("RekognitionClient", "DeleteProjectCommand")
@@ -282,11 +280,11 @@ class DeleteProjectCommand extends smithyClient.Command
282
280
  .build() {
283
281
  }
284
282
 
285
- class DeleteProjectPolicyCommand extends smithyClient.Command
283
+ class DeleteProjectPolicyCommand extends client.Command
286
284
  .classBuilder()
287
285
  .ep(commonParams)
288
286
  .m(function (Command, cs, config, o) {
289
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
287
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
290
288
  })
291
289
  .s("RekognitionService", "DeleteProjectPolicy", {})
292
290
  .n("RekognitionClient", "DeleteProjectPolicyCommand")
@@ -294,11 +292,11 @@ class DeleteProjectPolicyCommand extends smithyClient.Command
294
292
  .build() {
295
293
  }
296
294
 
297
- class DeleteProjectVersionCommand extends smithyClient.Command
295
+ class DeleteProjectVersionCommand extends client.Command
298
296
  .classBuilder()
299
297
  .ep(commonParams)
300
298
  .m(function (Command, cs, config, o) {
301
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
299
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
302
300
  })
303
301
  .s("RekognitionService", "DeleteProjectVersion", {})
304
302
  .n("RekognitionClient", "DeleteProjectVersionCommand")
@@ -306,11 +304,11 @@ class DeleteProjectVersionCommand extends smithyClient.Command
306
304
  .build() {
307
305
  }
308
306
 
309
- class DeleteStreamProcessorCommand extends smithyClient.Command
307
+ class DeleteStreamProcessorCommand extends client.Command
310
308
  .classBuilder()
311
309
  .ep(commonParams)
312
310
  .m(function (Command, cs, config, o) {
313
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
311
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
314
312
  })
315
313
  .s("RekognitionService", "DeleteStreamProcessor", {})
316
314
  .n("RekognitionClient", "DeleteStreamProcessorCommand")
@@ -318,11 +316,11 @@ class DeleteStreamProcessorCommand extends smithyClient.Command
318
316
  .build() {
319
317
  }
320
318
 
321
- class DeleteUserCommand extends smithyClient.Command
319
+ class DeleteUserCommand extends client.Command
322
320
  .classBuilder()
323
321
  .ep(commonParams)
324
322
  .m(function (Command, cs, config, o) {
325
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
323
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
326
324
  })
327
325
  .s("RekognitionService", "DeleteUser", {})
328
326
  .n("RekognitionClient", "DeleteUserCommand")
@@ -330,11 +328,11 @@ class DeleteUserCommand extends smithyClient.Command
330
328
  .build() {
331
329
  }
332
330
 
333
- class DescribeCollectionCommand extends smithyClient.Command
331
+ class DescribeCollectionCommand extends client.Command
334
332
  .classBuilder()
335
333
  .ep(commonParams)
336
334
  .m(function (Command, cs, config, o) {
337
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
335
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
338
336
  })
339
337
  .s("RekognitionService", "DescribeCollection", {})
340
338
  .n("RekognitionClient", "DescribeCollectionCommand")
@@ -342,11 +340,11 @@ class DescribeCollectionCommand extends smithyClient.Command
342
340
  .build() {
343
341
  }
344
342
 
345
- class DescribeDatasetCommand extends smithyClient.Command
343
+ class DescribeDatasetCommand extends client.Command
346
344
  .classBuilder()
347
345
  .ep(commonParams)
348
346
  .m(function (Command, cs, config, o) {
349
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
347
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
350
348
  })
351
349
  .s("RekognitionService", "DescribeDataset", {})
352
350
  .n("RekognitionClient", "DescribeDatasetCommand")
@@ -354,11 +352,11 @@ class DescribeDatasetCommand extends smithyClient.Command
354
352
  .build() {
355
353
  }
356
354
 
357
- class DescribeProjectsCommand extends smithyClient.Command
355
+ class DescribeProjectsCommand extends client.Command
358
356
  .classBuilder()
359
357
  .ep(commonParams)
360
358
  .m(function (Command, cs, config, o) {
361
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
359
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
362
360
  })
363
361
  .s("RekognitionService", "DescribeProjects", {})
364
362
  .n("RekognitionClient", "DescribeProjectsCommand")
@@ -366,11 +364,11 @@ class DescribeProjectsCommand extends smithyClient.Command
366
364
  .build() {
367
365
  }
368
366
 
369
- class DescribeProjectVersionsCommand extends smithyClient.Command
367
+ class DescribeProjectVersionsCommand extends client.Command
370
368
  .classBuilder()
371
369
  .ep(commonParams)
372
370
  .m(function (Command, cs, config, o) {
373
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
371
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
374
372
  })
375
373
  .s("RekognitionService", "DescribeProjectVersions", {})
376
374
  .n("RekognitionClient", "DescribeProjectVersionsCommand")
@@ -378,11 +376,11 @@ class DescribeProjectVersionsCommand extends smithyClient.Command
378
376
  .build() {
379
377
  }
380
378
 
381
- class DescribeStreamProcessorCommand extends smithyClient.Command
379
+ class DescribeStreamProcessorCommand extends client.Command
382
380
  .classBuilder()
383
381
  .ep(commonParams)
384
382
  .m(function (Command, cs, config, o) {
385
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
383
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
386
384
  })
387
385
  .s("RekognitionService", "DescribeStreamProcessor", {})
388
386
  .n("RekognitionClient", "DescribeStreamProcessorCommand")
@@ -390,11 +388,11 @@ class DescribeStreamProcessorCommand extends smithyClient.Command
390
388
  .build() {
391
389
  }
392
390
 
393
- class DetectCustomLabelsCommand extends smithyClient.Command
391
+ class DetectCustomLabelsCommand extends client.Command
394
392
  .classBuilder()
395
393
  .ep(commonParams)
396
394
  .m(function (Command, cs, config, o) {
397
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
395
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
398
396
  })
399
397
  .s("RekognitionService", "DetectCustomLabels", {})
400
398
  .n("RekognitionClient", "DetectCustomLabelsCommand")
@@ -402,11 +400,11 @@ class DetectCustomLabelsCommand extends smithyClient.Command
402
400
  .build() {
403
401
  }
404
402
 
405
- class DetectFacesCommand extends smithyClient.Command
403
+ class DetectFacesCommand extends client.Command
406
404
  .classBuilder()
407
405
  .ep(commonParams)
408
406
  .m(function (Command, cs, config, o) {
409
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
407
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
410
408
  })
411
409
  .s("RekognitionService", "DetectFaces", {})
412
410
  .n("RekognitionClient", "DetectFacesCommand")
@@ -414,11 +412,11 @@ class DetectFacesCommand extends smithyClient.Command
414
412
  .build() {
415
413
  }
416
414
 
417
- class DetectLabelsCommand extends smithyClient.Command
415
+ class DetectLabelsCommand extends client.Command
418
416
  .classBuilder()
419
417
  .ep(commonParams)
420
418
  .m(function (Command, cs, config, o) {
421
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
419
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
422
420
  })
423
421
  .s("RekognitionService", "DetectLabels", {})
424
422
  .n("RekognitionClient", "DetectLabelsCommand")
@@ -426,11 +424,11 @@ class DetectLabelsCommand extends smithyClient.Command
426
424
  .build() {
427
425
  }
428
426
 
429
- class DetectModerationLabelsCommand extends smithyClient.Command
427
+ class DetectModerationLabelsCommand extends client.Command
430
428
  .classBuilder()
431
429
  .ep(commonParams)
432
430
  .m(function (Command, cs, config, o) {
433
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
431
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
434
432
  })
435
433
  .s("RekognitionService", "DetectModerationLabels", {})
436
434
  .n("RekognitionClient", "DetectModerationLabelsCommand")
@@ -438,11 +436,11 @@ class DetectModerationLabelsCommand extends smithyClient.Command
438
436
  .build() {
439
437
  }
440
438
 
441
- class DetectProtectiveEquipmentCommand extends smithyClient.Command
439
+ class DetectProtectiveEquipmentCommand extends client.Command
442
440
  .classBuilder()
443
441
  .ep(commonParams)
444
442
  .m(function (Command, cs, config, o) {
445
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
443
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
446
444
  })
447
445
  .s("RekognitionService", "DetectProtectiveEquipment", {})
448
446
  .n("RekognitionClient", "DetectProtectiveEquipmentCommand")
@@ -450,11 +448,11 @@ class DetectProtectiveEquipmentCommand extends smithyClient.Command
450
448
  .build() {
451
449
  }
452
450
 
453
- class DetectTextCommand extends smithyClient.Command
451
+ class DetectTextCommand extends client.Command
454
452
  .classBuilder()
455
453
  .ep(commonParams)
456
454
  .m(function (Command, cs, config, o) {
457
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
455
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
458
456
  })
459
457
  .s("RekognitionService", "DetectText", {})
460
458
  .n("RekognitionClient", "DetectTextCommand")
@@ -462,11 +460,11 @@ class DetectTextCommand extends smithyClient.Command
462
460
  .build() {
463
461
  }
464
462
 
465
- class DisassociateFacesCommand extends smithyClient.Command
463
+ class DisassociateFacesCommand extends client.Command
466
464
  .classBuilder()
467
465
  .ep(commonParams)
468
466
  .m(function (Command, cs, config, o) {
469
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
467
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
470
468
  })
471
469
  .s("RekognitionService", "DisassociateFaces", {})
472
470
  .n("RekognitionClient", "DisassociateFacesCommand")
@@ -474,11 +472,11 @@ class DisassociateFacesCommand extends smithyClient.Command
474
472
  .build() {
475
473
  }
476
474
 
477
- class DistributeDatasetEntriesCommand extends smithyClient.Command
475
+ class DistributeDatasetEntriesCommand extends client.Command
478
476
  .classBuilder()
479
477
  .ep(commonParams)
480
478
  .m(function (Command, cs, config, o) {
481
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
479
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
482
480
  })
483
481
  .s("RekognitionService", "DistributeDatasetEntries", {})
484
482
  .n("RekognitionClient", "DistributeDatasetEntriesCommand")
@@ -486,11 +484,11 @@ class DistributeDatasetEntriesCommand extends smithyClient.Command
486
484
  .build() {
487
485
  }
488
486
 
489
- class GetCelebrityInfoCommand extends smithyClient.Command
487
+ class GetCelebrityInfoCommand extends client.Command
490
488
  .classBuilder()
491
489
  .ep(commonParams)
492
490
  .m(function (Command, cs, config, o) {
493
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
491
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
494
492
  })
495
493
  .s("RekognitionService", "GetCelebrityInfo", {})
496
494
  .n("RekognitionClient", "GetCelebrityInfoCommand")
@@ -498,11 +496,11 @@ class GetCelebrityInfoCommand extends smithyClient.Command
498
496
  .build() {
499
497
  }
500
498
 
501
- class GetCelebrityRecognitionCommand extends smithyClient.Command
499
+ class GetCelebrityRecognitionCommand extends client.Command
502
500
  .classBuilder()
503
501
  .ep(commonParams)
504
502
  .m(function (Command, cs, config, o) {
505
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
503
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
506
504
  })
507
505
  .s("RekognitionService", "GetCelebrityRecognition", {})
508
506
  .n("RekognitionClient", "GetCelebrityRecognitionCommand")
@@ -510,11 +508,11 @@ class GetCelebrityRecognitionCommand extends smithyClient.Command
510
508
  .build() {
511
509
  }
512
510
 
513
- class GetContentModerationCommand extends smithyClient.Command
511
+ class GetContentModerationCommand extends client.Command
514
512
  .classBuilder()
515
513
  .ep(commonParams)
516
514
  .m(function (Command, cs, config, o) {
517
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
515
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
518
516
  })
519
517
  .s("RekognitionService", "GetContentModeration", {})
520
518
  .n("RekognitionClient", "GetContentModerationCommand")
@@ -522,11 +520,11 @@ class GetContentModerationCommand extends smithyClient.Command
522
520
  .build() {
523
521
  }
524
522
 
525
- class GetFaceDetectionCommand extends smithyClient.Command
523
+ class GetFaceDetectionCommand extends client.Command
526
524
  .classBuilder()
527
525
  .ep(commonParams)
528
526
  .m(function (Command, cs, config, o) {
529
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
527
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
530
528
  })
531
529
  .s("RekognitionService", "GetFaceDetection", {})
532
530
  .n("RekognitionClient", "GetFaceDetectionCommand")
@@ -534,11 +532,11 @@ class GetFaceDetectionCommand extends smithyClient.Command
534
532
  .build() {
535
533
  }
536
534
 
537
- class GetFaceLivenessSessionResultsCommand extends smithyClient.Command
535
+ class GetFaceLivenessSessionResultsCommand extends client.Command
538
536
  .classBuilder()
539
537
  .ep(commonParams)
540
538
  .m(function (Command, cs, config, o) {
541
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
539
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
542
540
  })
543
541
  .s("RekognitionService", "GetFaceLivenessSessionResults", {})
544
542
  .n("RekognitionClient", "GetFaceLivenessSessionResultsCommand")
@@ -546,11 +544,11 @@ class GetFaceLivenessSessionResultsCommand extends smithyClient.Command
546
544
  .build() {
547
545
  }
548
546
 
549
- class GetFaceSearchCommand extends smithyClient.Command
547
+ class GetFaceSearchCommand extends client.Command
550
548
  .classBuilder()
551
549
  .ep(commonParams)
552
550
  .m(function (Command, cs, config, o) {
553
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
551
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
554
552
  })
555
553
  .s("RekognitionService", "GetFaceSearch", {})
556
554
  .n("RekognitionClient", "GetFaceSearchCommand")
@@ -558,11 +556,11 @@ class GetFaceSearchCommand extends smithyClient.Command
558
556
  .build() {
559
557
  }
560
558
 
561
- class GetLabelDetectionCommand extends smithyClient.Command
559
+ class GetLabelDetectionCommand extends client.Command
562
560
  .classBuilder()
563
561
  .ep(commonParams)
564
562
  .m(function (Command, cs, config, o) {
565
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
563
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
566
564
  })
567
565
  .s("RekognitionService", "GetLabelDetection", {})
568
566
  .n("RekognitionClient", "GetLabelDetectionCommand")
@@ -570,11 +568,11 @@ class GetLabelDetectionCommand extends smithyClient.Command
570
568
  .build() {
571
569
  }
572
570
 
573
- class GetMediaAnalysisJobCommand extends smithyClient.Command
571
+ class GetMediaAnalysisJobCommand extends client.Command
574
572
  .classBuilder()
575
573
  .ep(commonParams)
576
574
  .m(function (Command, cs, config, o) {
577
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
575
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
578
576
  })
579
577
  .s("RekognitionService", "GetMediaAnalysisJob", {})
580
578
  .n("RekognitionClient", "GetMediaAnalysisJobCommand")
@@ -582,11 +580,11 @@ class GetMediaAnalysisJobCommand extends smithyClient.Command
582
580
  .build() {
583
581
  }
584
582
 
585
- class GetPersonTrackingCommand extends smithyClient.Command
583
+ class GetPersonTrackingCommand extends client.Command
586
584
  .classBuilder()
587
585
  .ep(commonParams)
588
586
  .m(function (Command, cs, config, o) {
589
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
587
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
590
588
  })
591
589
  .s("RekognitionService", "GetPersonTracking", {})
592
590
  .n("RekognitionClient", "GetPersonTrackingCommand")
@@ -594,11 +592,11 @@ class GetPersonTrackingCommand extends smithyClient.Command
594
592
  .build() {
595
593
  }
596
594
 
597
- class GetSegmentDetectionCommand extends smithyClient.Command
595
+ class GetSegmentDetectionCommand extends client.Command
598
596
  .classBuilder()
599
597
  .ep(commonParams)
600
598
  .m(function (Command, cs, config, o) {
601
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
599
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
602
600
  })
603
601
  .s("RekognitionService", "GetSegmentDetection", {})
604
602
  .n("RekognitionClient", "GetSegmentDetectionCommand")
@@ -606,11 +604,11 @@ class GetSegmentDetectionCommand extends smithyClient.Command
606
604
  .build() {
607
605
  }
608
606
 
609
- class GetTextDetectionCommand extends smithyClient.Command
607
+ class GetTextDetectionCommand extends client.Command
610
608
  .classBuilder()
611
609
  .ep(commonParams)
612
610
  .m(function (Command, cs, config, o) {
613
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
611
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
614
612
  })
615
613
  .s("RekognitionService", "GetTextDetection", {})
616
614
  .n("RekognitionClient", "GetTextDetectionCommand")
@@ -618,11 +616,11 @@ class GetTextDetectionCommand extends smithyClient.Command
618
616
  .build() {
619
617
  }
620
618
 
621
- class IndexFacesCommand extends smithyClient.Command
619
+ class IndexFacesCommand extends client.Command
622
620
  .classBuilder()
623
621
  .ep(commonParams)
624
622
  .m(function (Command, cs, config, o) {
625
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
623
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
626
624
  })
627
625
  .s("RekognitionService", "IndexFaces", {})
628
626
  .n("RekognitionClient", "IndexFacesCommand")
@@ -630,11 +628,11 @@ class IndexFacesCommand extends smithyClient.Command
630
628
  .build() {
631
629
  }
632
630
 
633
- class ListCollectionsCommand extends smithyClient.Command
631
+ class ListCollectionsCommand extends client.Command
634
632
  .classBuilder()
635
633
  .ep(commonParams)
636
634
  .m(function (Command, cs, config, o) {
637
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
635
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
638
636
  })
639
637
  .s("RekognitionService", "ListCollections", {})
640
638
  .n("RekognitionClient", "ListCollectionsCommand")
@@ -642,11 +640,11 @@ class ListCollectionsCommand extends smithyClient.Command
642
640
  .build() {
643
641
  }
644
642
 
645
- class ListDatasetEntriesCommand extends smithyClient.Command
643
+ class ListDatasetEntriesCommand extends client.Command
646
644
  .classBuilder()
647
645
  .ep(commonParams)
648
646
  .m(function (Command, cs, config, o) {
649
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
647
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
650
648
  })
651
649
  .s("RekognitionService", "ListDatasetEntries", {})
652
650
  .n("RekognitionClient", "ListDatasetEntriesCommand")
@@ -654,11 +652,11 @@ class ListDatasetEntriesCommand extends smithyClient.Command
654
652
  .build() {
655
653
  }
656
654
 
657
- class ListDatasetLabelsCommand extends smithyClient.Command
655
+ class ListDatasetLabelsCommand extends client.Command
658
656
  .classBuilder()
659
657
  .ep(commonParams)
660
658
  .m(function (Command, cs, config, o) {
661
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
659
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
662
660
  })
663
661
  .s("RekognitionService", "ListDatasetLabels", {})
664
662
  .n("RekognitionClient", "ListDatasetLabelsCommand")
@@ -666,11 +664,11 @@ class ListDatasetLabelsCommand extends smithyClient.Command
666
664
  .build() {
667
665
  }
668
666
 
669
- class ListFacesCommand extends smithyClient.Command
667
+ class ListFacesCommand extends client.Command
670
668
  .classBuilder()
671
669
  .ep(commonParams)
672
670
  .m(function (Command, cs, config, o) {
673
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
671
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
674
672
  })
675
673
  .s("RekognitionService", "ListFaces", {})
676
674
  .n("RekognitionClient", "ListFacesCommand")
@@ -678,11 +676,11 @@ class ListFacesCommand extends smithyClient.Command
678
676
  .build() {
679
677
  }
680
678
 
681
- class ListMediaAnalysisJobsCommand extends smithyClient.Command
679
+ class ListMediaAnalysisJobsCommand extends client.Command
682
680
  .classBuilder()
683
681
  .ep(commonParams)
684
682
  .m(function (Command, cs, config, o) {
685
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
683
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
686
684
  })
687
685
  .s("RekognitionService", "ListMediaAnalysisJobs", {})
688
686
  .n("RekognitionClient", "ListMediaAnalysisJobsCommand")
@@ -690,11 +688,11 @@ class ListMediaAnalysisJobsCommand extends smithyClient.Command
690
688
  .build() {
691
689
  }
692
690
 
693
- class ListProjectPoliciesCommand extends smithyClient.Command
691
+ class ListProjectPoliciesCommand extends client.Command
694
692
  .classBuilder()
695
693
  .ep(commonParams)
696
694
  .m(function (Command, cs, config, o) {
697
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
695
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
698
696
  })
699
697
  .s("RekognitionService", "ListProjectPolicies", {})
700
698
  .n("RekognitionClient", "ListProjectPoliciesCommand")
@@ -702,11 +700,11 @@ class ListProjectPoliciesCommand extends smithyClient.Command
702
700
  .build() {
703
701
  }
704
702
 
705
- class ListStreamProcessorsCommand extends smithyClient.Command
703
+ class ListStreamProcessorsCommand extends client.Command
706
704
  .classBuilder()
707
705
  .ep(commonParams)
708
706
  .m(function (Command, cs, config, o) {
709
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
707
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
710
708
  })
711
709
  .s("RekognitionService", "ListStreamProcessors", {})
712
710
  .n("RekognitionClient", "ListStreamProcessorsCommand")
@@ -714,11 +712,11 @@ class ListStreamProcessorsCommand extends smithyClient.Command
714
712
  .build() {
715
713
  }
716
714
 
717
- class ListTagsForResourceCommand extends smithyClient.Command
715
+ class ListTagsForResourceCommand extends client.Command
718
716
  .classBuilder()
719
717
  .ep(commonParams)
720
718
  .m(function (Command, cs, config, o) {
721
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
719
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
722
720
  })
723
721
  .s("RekognitionService", "ListTagsForResource", {})
724
722
  .n("RekognitionClient", "ListTagsForResourceCommand")
@@ -726,11 +724,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
726
724
  .build() {
727
725
  }
728
726
 
729
- class ListUsersCommand extends smithyClient.Command
727
+ class ListUsersCommand extends client.Command
730
728
  .classBuilder()
731
729
  .ep(commonParams)
732
730
  .m(function (Command, cs, config, o) {
733
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
731
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
734
732
  })
735
733
  .s("RekognitionService", "ListUsers", {})
736
734
  .n("RekognitionClient", "ListUsersCommand")
@@ -738,11 +736,11 @@ class ListUsersCommand extends smithyClient.Command
738
736
  .build() {
739
737
  }
740
738
 
741
- class PutProjectPolicyCommand extends smithyClient.Command
739
+ class PutProjectPolicyCommand extends client.Command
742
740
  .classBuilder()
743
741
  .ep(commonParams)
744
742
  .m(function (Command, cs, config, o) {
745
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
743
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
746
744
  })
747
745
  .s("RekognitionService", "PutProjectPolicy", {})
748
746
  .n("RekognitionClient", "PutProjectPolicyCommand")
@@ -750,11 +748,11 @@ class PutProjectPolicyCommand extends smithyClient.Command
750
748
  .build() {
751
749
  }
752
750
 
753
- class RecognizeCelebritiesCommand extends smithyClient.Command
751
+ class RecognizeCelebritiesCommand extends client.Command
754
752
  .classBuilder()
755
753
  .ep(commonParams)
756
754
  .m(function (Command, cs, config, o) {
757
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
755
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
758
756
  })
759
757
  .s("RekognitionService", "RecognizeCelebrities", {})
760
758
  .n("RekognitionClient", "RecognizeCelebritiesCommand")
@@ -762,11 +760,11 @@ class RecognizeCelebritiesCommand extends smithyClient.Command
762
760
  .build() {
763
761
  }
764
762
 
765
- class SearchFacesByImageCommand extends smithyClient.Command
763
+ class SearchFacesByImageCommand extends client.Command
766
764
  .classBuilder()
767
765
  .ep(commonParams)
768
766
  .m(function (Command, cs, config, o) {
769
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
767
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
770
768
  })
771
769
  .s("RekognitionService", "SearchFacesByImage", {})
772
770
  .n("RekognitionClient", "SearchFacesByImageCommand")
@@ -774,11 +772,11 @@ class SearchFacesByImageCommand extends smithyClient.Command
774
772
  .build() {
775
773
  }
776
774
 
777
- class SearchFacesCommand extends smithyClient.Command
775
+ class SearchFacesCommand extends client.Command
778
776
  .classBuilder()
779
777
  .ep(commonParams)
780
778
  .m(function (Command, cs, config, o) {
781
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
779
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
782
780
  })
783
781
  .s("RekognitionService", "SearchFaces", {})
784
782
  .n("RekognitionClient", "SearchFacesCommand")
@@ -786,11 +784,11 @@ class SearchFacesCommand extends smithyClient.Command
786
784
  .build() {
787
785
  }
788
786
 
789
- class SearchUsersByImageCommand extends smithyClient.Command
787
+ class SearchUsersByImageCommand extends client.Command
790
788
  .classBuilder()
791
789
  .ep(commonParams)
792
790
  .m(function (Command, cs, config, o) {
793
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
791
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
794
792
  })
795
793
  .s("RekognitionService", "SearchUsersByImage", {})
796
794
  .n("RekognitionClient", "SearchUsersByImageCommand")
@@ -798,11 +796,11 @@ class SearchUsersByImageCommand extends smithyClient.Command
798
796
  .build() {
799
797
  }
800
798
 
801
- class SearchUsersCommand extends smithyClient.Command
799
+ class SearchUsersCommand extends client.Command
802
800
  .classBuilder()
803
801
  .ep(commonParams)
804
802
  .m(function (Command, cs, config, o) {
805
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
803
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
806
804
  })
807
805
  .s("RekognitionService", "SearchUsers", {})
808
806
  .n("RekognitionClient", "SearchUsersCommand")
@@ -810,11 +808,11 @@ class SearchUsersCommand extends smithyClient.Command
810
808
  .build() {
811
809
  }
812
810
 
813
- class StartCelebrityRecognitionCommand extends smithyClient.Command
811
+ class StartCelebrityRecognitionCommand extends client.Command
814
812
  .classBuilder()
815
813
  .ep(commonParams)
816
814
  .m(function (Command, cs, config, o) {
817
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
815
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
818
816
  })
819
817
  .s("RekognitionService", "StartCelebrityRecognition", {})
820
818
  .n("RekognitionClient", "StartCelebrityRecognitionCommand")
@@ -822,11 +820,11 @@ class StartCelebrityRecognitionCommand extends smithyClient.Command
822
820
  .build() {
823
821
  }
824
822
 
825
- class StartContentModerationCommand extends smithyClient.Command
823
+ class StartContentModerationCommand extends client.Command
826
824
  .classBuilder()
827
825
  .ep(commonParams)
828
826
  .m(function (Command, cs, config, o) {
829
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
827
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
830
828
  })
831
829
  .s("RekognitionService", "StartContentModeration", {})
832
830
  .n("RekognitionClient", "StartContentModerationCommand")
@@ -834,11 +832,11 @@ class StartContentModerationCommand extends smithyClient.Command
834
832
  .build() {
835
833
  }
836
834
 
837
- class StartFaceDetectionCommand extends smithyClient.Command
835
+ class StartFaceDetectionCommand extends client.Command
838
836
  .classBuilder()
839
837
  .ep(commonParams)
840
838
  .m(function (Command, cs, config, o) {
841
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
839
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
842
840
  })
843
841
  .s("RekognitionService", "StartFaceDetection", {})
844
842
  .n("RekognitionClient", "StartFaceDetectionCommand")
@@ -846,11 +844,11 @@ class StartFaceDetectionCommand extends smithyClient.Command
846
844
  .build() {
847
845
  }
848
846
 
849
- class StartFaceSearchCommand extends smithyClient.Command
847
+ class StartFaceSearchCommand extends client.Command
850
848
  .classBuilder()
851
849
  .ep(commonParams)
852
850
  .m(function (Command, cs, config, o) {
853
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
851
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
854
852
  })
855
853
  .s("RekognitionService", "StartFaceSearch", {})
856
854
  .n("RekognitionClient", "StartFaceSearchCommand")
@@ -858,11 +856,11 @@ class StartFaceSearchCommand extends smithyClient.Command
858
856
  .build() {
859
857
  }
860
858
 
861
- class StartLabelDetectionCommand extends smithyClient.Command
859
+ class StartLabelDetectionCommand extends client.Command
862
860
  .classBuilder()
863
861
  .ep(commonParams)
864
862
  .m(function (Command, cs, config, o) {
865
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
863
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
866
864
  })
867
865
  .s("RekognitionService", "StartLabelDetection", {})
868
866
  .n("RekognitionClient", "StartLabelDetectionCommand")
@@ -870,11 +868,11 @@ class StartLabelDetectionCommand extends smithyClient.Command
870
868
  .build() {
871
869
  }
872
870
 
873
- class StartMediaAnalysisJobCommand extends smithyClient.Command
871
+ class StartMediaAnalysisJobCommand extends client.Command
874
872
  .classBuilder()
875
873
  .ep(commonParams)
876
874
  .m(function (Command, cs, config, o) {
877
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
875
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
878
876
  })
879
877
  .s("RekognitionService", "StartMediaAnalysisJob", {})
880
878
  .n("RekognitionClient", "StartMediaAnalysisJobCommand")
@@ -882,11 +880,11 @@ class StartMediaAnalysisJobCommand extends smithyClient.Command
882
880
  .build() {
883
881
  }
884
882
 
885
- class StartPersonTrackingCommand extends smithyClient.Command
883
+ class StartPersonTrackingCommand extends client.Command
886
884
  .classBuilder()
887
885
  .ep(commonParams)
888
886
  .m(function (Command, cs, config, o) {
889
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
887
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
890
888
  })
891
889
  .s("RekognitionService", "StartPersonTracking", {})
892
890
  .n("RekognitionClient", "StartPersonTrackingCommand")
@@ -894,11 +892,11 @@ class StartPersonTrackingCommand extends smithyClient.Command
894
892
  .build() {
895
893
  }
896
894
 
897
- class StartProjectVersionCommand extends smithyClient.Command
895
+ class StartProjectVersionCommand extends client.Command
898
896
  .classBuilder()
899
897
  .ep(commonParams)
900
898
  .m(function (Command, cs, config, o) {
901
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
899
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
902
900
  })
903
901
  .s("RekognitionService", "StartProjectVersion", {})
904
902
  .n("RekognitionClient", "StartProjectVersionCommand")
@@ -906,11 +904,11 @@ class StartProjectVersionCommand extends smithyClient.Command
906
904
  .build() {
907
905
  }
908
906
 
909
- class StartSegmentDetectionCommand extends smithyClient.Command
907
+ class StartSegmentDetectionCommand extends client.Command
910
908
  .classBuilder()
911
909
  .ep(commonParams)
912
910
  .m(function (Command, cs, config, o) {
913
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
911
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
914
912
  })
915
913
  .s("RekognitionService", "StartSegmentDetection", {})
916
914
  .n("RekognitionClient", "StartSegmentDetectionCommand")
@@ -918,11 +916,11 @@ class StartSegmentDetectionCommand extends smithyClient.Command
918
916
  .build() {
919
917
  }
920
918
 
921
- class StartStreamProcessorCommand extends smithyClient.Command
919
+ class StartStreamProcessorCommand extends client.Command
922
920
  .classBuilder()
923
921
  .ep(commonParams)
924
922
  .m(function (Command, cs, config, o) {
925
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
923
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
926
924
  })
927
925
  .s("RekognitionService", "StartStreamProcessor", {})
928
926
  .n("RekognitionClient", "StartStreamProcessorCommand")
@@ -930,11 +928,11 @@ class StartStreamProcessorCommand extends smithyClient.Command
930
928
  .build() {
931
929
  }
932
930
 
933
- class StartTextDetectionCommand extends smithyClient.Command
931
+ class StartTextDetectionCommand extends client.Command
934
932
  .classBuilder()
935
933
  .ep(commonParams)
936
934
  .m(function (Command, cs, config, o) {
937
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
935
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
938
936
  })
939
937
  .s("RekognitionService", "StartTextDetection", {})
940
938
  .n("RekognitionClient", "StartTextDetectionCommand")
@@ -942,11 +940,11 @@ class StartTextDetectionCommand extends smithyClient.Command
942
940
  .build() {
943
941
  }
944
942
 
945
- class StopProjectVersionCommand extends smithyClient.Command
943
+ class StopProjectVersionCommand extends client.Command
946
944
  .classBuilder()
947
945
  .ep(commonParams)
948
946
  .m(function (Command, cs, config, o) {
949
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
947
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
950
948
  })
951
949
  .s("RekognitionService", "StopProjectVersion", {})
952
950
  .n("RekognitionClient", "StopProjectVersionCommand")
@@ -954,11 +952,11 @@ class StopProjectVersionCommand extends smithyClient.Command
954
952
  .build() {
955
953
  }
956
954
 
957
- class StopStreamProcessorCommand extends smithyClient.Command
955
+ class StopStreamProcessorCommand extends client.Command
958
956
  .classBuilder()
959
957
  .ep(commonParams)
960
958
  .m(function (Command, cs, config, o) {
961
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
959
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
962
960
  })
963
961
  .s("RekognitionService", "StopStreamProcessor", {})
964
962
  .n("RekognitionClient", "StopStreamProcessorCommand")
@@ -966,11 +964,11 @@ class StopStreamProcessorCommand extends smithyClient.Command
966
964
  .build() {
967
965
  }
968
966
 
969
- class TagResourceCommand extends smithyClient.Command
967
+ class TagResourceCommand extends client.Command
970
968
  .classBuilder()
971
969
  .ep(commonParams)
972
970
  .m(function (Command, cs, config, o) {
973
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
971
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
974
972
  })
975
973
  .s("RekognitionService", "TagResource", {})
976
974
  .n("RekognitionClient", "TagResourceCommand")
@@ -978,11 +976,11 @@ class TagResourceCommand extends smithyClient.Command
978
976
  .build() {
979
977
  }
980
978
 
981
- class UntagResourceCommand extends smithyClient.Command
979
+ class UntagResourceCommand extends client.Command
982
980
  .classBuilder()
983
981
  .ep(commonParams)
984
982
  .m(function (Command, cs, config, o) {
985
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
983
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
986
984
  })
987
985
  .s("RekognitionService", "UntagResource", {})
988
986
  .n("RekognitionClient", "UntagResourceCommand")
@@ -990,11 +988,11 @@ class UntagResourceCommand extends smithyClient.Command
990
988
  .build() {
991
989
  }
992
990
 
993
- class UpdateDatasetEntriesCommand extends smithyClient.Command
991
+ class UpdateDatasetEntriesCommand extends client.Command
994
992
  .classBuilder()
995
993
  .ep(commonParams)
996
994
  .m(function (Command, cs, config, o) {
997
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
995
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
998
996
  })
999
997
  .s("RekognitionService", "UpdateDatasetEntries", {})
1000
998
  .n("RekognitionClient", "UpdateDatasetEntriesCommand")
@@ -1002,11 +1000,11 @@ class UpdateDatasetEntriesCommand extends smithyClient.Command
1002
1000
  .build() {
1003
1001
  }
1004
1002
 
1005
- class UpdateStreamProcessorCommand extends smithyClient.Command
1003
+ class UpdateStreamProcessorCommand extends client.Command
1006
1004
  .classBuilder()
1007
1005
  .ep(commonParams)
1008
1006
  .m(function (Command, cs, config, o) {
1009
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1007
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1010
1008
  })
1011
1009
  .s("RekognitionService", "UpdateStreamProcessor", {})
1012
1010
  .n("RekognitionClient", "UpdateStreamProcessorCommand")
@@ -1050,10 +1048,10 @@ const paginateListStreamProcessors = core.createPaginator(RekognitionClient, Lis
1050
1048
 
1051
1049
  const paginateListUsers = core.createPaginator(RekognitionClient, ListUsersCommand, "NextToken", "NextToken", "MaxResults");
1052
1050
 
1053
- const checkState$1 = async (client, input) => {
1051
+ const checkState$1 = async (client$1, input) => {
1054
1052
  let reason;
1055
1053
  try {
1056
- let result = await client.send(new DescribeProjectVersionsCommand(input));
1054
+ let result = await client$1.send(new DescribeProjectVersionsCommand(input));
1057
1055
  reason = result;
1058
1056
  try {
1059
1057
  const returnComparator = () => {
@@ -1068,7 +1066,7 @@ const checkState$1 = async (client, input) => {
1068
1066
  allStringEq_5 = allStringEq_5 && (element_4 == "RUNNING");
1069
1067
  }
1070
1068
  if (allStringEq_5) {
1071
- return { state: utilWaiter.WaiterState.SUCCESS, reason };
1069
+ return { state: client.WaiterState.SUCCESS, reason };
1072
1070
  }
1073
1071
  }
1074
1072
  catch (e) { }
@@ -1082,7 +1080,7 @@ const checkState$1 = async (client, input) => {
1082
1080
  };
1083
1081
  for (let anyStringEq_4 of returnComparator()) {
1084
1082
  if (anyStringEq_4 == "FAILED") {
1085
- return { state: utilWaiter.WaiterState.FAILURE, reason };
1083
+ return { state: client.WaiterState.FAILURE, reason };
1086
1084
  }
1087
1085
  }
1088
1086
  }
@@ -1091,22 +1089,22 @@ const checkState$1 = async (client, input) => {
1091
1089
  catch (exception) {
1092
1090
  reason = exception;
1093
1091
  }
1094
- return { state: utilWaiter.WaiterState.RETRY, reason };
1092
+ return { state: client.WaiterState.RETRY, reason };
1095
1093
  };
1096
1094
  const waitForProjectVersionRunning = async (params, input) => {
1097
1095
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
1098
- return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1096
+ return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1099
1097
  };
1100
1098
  const waitUntilProjectVersionRunning = async (params, input) => {
1101
1099
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
1102
- const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1103
- return utilWaiter.checkExceptions(result);
1100
+ const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1101
+ return client.checkExceptions(result);
1104
1102
  };
1105
1103
 
1106
- const checkState = async (client, input) => {
1104
+ const checkState = async (client$1, input) => {
1107
1105
  let reason;
1108
1106
  try {
1109
- let result = await client.send(new DescribeProjectVersionsCommand(input));
1107
+ let result = await client$1.send(new DescribeProjectVersionsCommand(input));
1110
1108
  reason = result;
1111
1109
  try {
1112
1110
  const returnComparator = () => {
@@ -1121,7 +1119,7 @@ const checkState = async (client, input) => {
1121
1119
  allStringEq_5 = allStringEq_5 && (element_4 == "TRAINING_COMPLETED");
1122
1120
  }
1123
1121
  if (allStringEq_5) {
1124
- return { state: utilWaiter.WaiterState.SUCCESS, reason };
1122
+ return { state: client.WaiterState.SUCCESS, reason };
1125
1123
  }
1126
1124
  }
1127
1125
  catch (e) { }
@@ -1135,7 +1133,7 @@ const checkState = async (client, input) => {
1135
1133
  };
1136
1134
  for (let anyStringEq_4 of returnComparator()) {
1137
1135
  if (anyStringEq_4 == "TRAINING_FAILED") {
1138
- return { state: utilWaiter.WaiterState.FAILURE, reason };
1136
+ return { state: client.WaiterState.FAILURE, reason };
1139
1137
  }
1140
1138
  }
1141
1139
  }
@@ -1144,16 +1142,16 @@ const checkState = async (client, input) => {
1144
1142
  catch (exception) {
1145
1143
  reason = exception;
1146
1144
  }
1147
- return { state: utilWaiter.WaiterState.RETRY, reason };
1145
+ return { state: client.WaiterState.RETRY, reason };
1148
1146
  };
1149
1147
  const waitForProjectVersionTrainingCompleted = async (params, input) => {
1150
1148
  const serviceDefaults = { minDelay: 120, maxDelay: 120 };
1151
- return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1149
+ return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1152
1150
  };
1153
1151
  const waitUntilProjectVersionTrainingCompleted = async (params, input) => {
1154
1152
  const serviceDefaults = { minDelay: 120, maxDelay: 120 };
1155
- const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1156
- return utilWaiter.checkExceptions(result);
1153
+ const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1154
+ return client.checkExceptions(result);
1157
1155
  };
1158
1156
 
1159
1157
  const commands = {
@@ -1259,7 +1257,7 @@ const waiters = {
1259
1257
  };
1260
1258
  class Rekognition extends RekognitionClient {
1261
1259
  }
1262
- smithyClient.createAggregatedClient(commands, Rekognition, { paginators, waiters });
1260
+ client.createAggregatedClient(commands, Rekognition, { paginators, waiters });
1263
1261
 
1264
1262
  const UnsuccessfulFaceAssociationReason = {
1265
1263
  ASSOCIATED_TO_A_DIFFERENT_USER: "ASSOCIATED_TO_A_DIFFERENT_USER",
@@ -1550,8 +1548,8 @@ const StreamProcessorParameterToDelete = {
1550
1548
  RegionsOfInterest: "RegionsOfInterest",
1551
1549
  };
1552
1550
 
1553
- exports.$Command = smithyClient.Command;
1554
- exports.__Client = smithyClient.Client;
1551
+ exports.$Command = client.Command;
1552
+ exports.__Client = client.Client;
1555
1553
  exports.RekognitionServiceException = RekognitionServiceException.RekognitionServiceException;
1556
1554
  exports.AssociateFacesCommand = AssociateFacesCommand;
1557
1555
  exports.Attribute = Attribute;