@aws-sdk/client-rekognition 3.53.0 → 3.55.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 (94) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/RekognitionClient.js +13 -13
  3. package/dist-cjs/commands/CompareFacesCommand.js +3 -3
  4. package/dist-cjs/commands/CreateCollectionCommand.js +3 -3
  5. package/dist-cjs/commands/CreateDatasetCommand.js +3 -3
  6. package/dist-cjs/commands/CreateProjectCommand.js +3 -3
  7. package/dist-cjs/commands/CreateProjectVersionCommand.js +3 -3
  8. package/dist-cjs/commands/CreateStreamProcessorCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteCollectionCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteDatasetCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteFacesCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteProjectCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteProjectVersionCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteStreamProcessorCommand.js +3 -3
  15. package/dist-cjs/commands/DescribeCollectionCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeDatasetCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeProjectVersionsCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeProjectsCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeStreamProcessorCommand.js +3 -3
  20. package/dist-cjs/commands/DetectCustomLabelsCommand.js +3 -3
  21. package/dist-cjs/commands/DetectFacesCommand.js +3 -3
  22. package/dist-cjs/commands/DetectLabelsCommand.js +3 -3
  23. package/dist-cjs/commands/DetectModerationLabelsCommand.js +3 -3
  24. package/dist-cjs/commands/DetectProtectiveEquipmentCommand.js +3 -3
  25. package/dist-cjs/commands/DetectTextCommand.js +3 -3
  26. package/dist-cjs/commands/DistributeDatasetEntriesCommand.js +3 -3
  27. package/dist-cjs/commands/GetCelebrityInfoCommand.js +3 -3
  28. package/dist-cjs/commands/GetCelebrityRecognitionCommand.js +3 -3
  29. package/dist-cjs/commands/GetContentModerationCommand.js +3 -3
  30. package/dist-cjs/commands/GetFaceDetectionCommand.js +3 -3
  31. package/dist-cjs/commands/GetFaceSearchCommand.js +3 -3
  32. package/dist-cjs/commands/GetLabelDetectionCommand.js +3 -3
  33. package/dist-cjs/commands/GetPersonTrackingCommand.js +3 -3
  34. package/dist-cjs/commands/GetSegmentDetectionCommand.js +3 -3
  35. package/dist-cjs/commands/GetTextDetectionCommand.js +3 -3
  36. package/dist-cjs/commands/IndexFacesCommand.js +3 -3
  37. package/dist-cjs/commands/ListCollectionsCommand.js +3 -3
  38. package/dist-cjs/commands/ListDatasetEntriesCommand.js +3 -3
  39. package/dist-cjs/commands/ListDatasetLabelsCommand.js +3 -3
  40. package/dist-cjs/commands/ListFacesCommand.js +3 -3
  41. package/dist-cjs/commands/ListStreamProcessorsCommand.js +3 -3
  42. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  43. package/dist-cjs/commands/RecognizeCelebritiesCommand.js +3 -3
  44. package/dist-cjs/commands/SearchFacesByImageCommand.js +3 -3
  45. package/dist-cjs/commands/SearchFacesCommand.js +3 -3
  46. package/dist-cjs/commands/StartCelebrityRecognitionCommand.js +3 -3
  47. package/dist-cjs/commands/StartContentModerationCommand.js +3 -3
  48. package/dist-cjs/commands/StartFaceDetectionCommand.js +3 -3
  49. package/dist-cjs/commands/StartFaceSearchCommand.js +3 -3
  50. package/dist-cjs/commands/StartLabelDetectionCommand.js +3 -3
  51. package/dist-cjs/commands/StartPersonTrackingCommand.js +3 -3
  52. package/dist-cjs/commands/StartProjectVersionCommand.js +3 -3
  53. package/dist-cjs/commands/StartSegmentDetectionCommand.js +3 -3
  54. package/dist-cjs/commands/StartStreamProcessorCommand.js +3 -3
  55. package/dist-cjs/commands/StartTextDetectionCommand.js +3 -3
  56. package/dist-cjs/commands/StopProjectVersionCommand.js +3 -3
  57. package/dist-cjs/commands/StopStreamProcessorCommand.js +3 -3
  58. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  59. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  60. package/dist-cjs/commands/UpdateDatasetEntriesCommand.js +3 -3
  61. package/dist-cjs/endpoints.js +1 -1
  62. package/dist-cjs/protocols/Aws_json1_1.js +397 -397
  63. package/dist-cjs/runtimeConfig.browser.js +4 -4
  64. package/dist-cjs/runtimeConfig.js +9 -9
  65. package/dist-cjs/runtimeConfig.native.js +1 -1
  66. package/dist-cjs/waiters/waitForProjectVersionRunning.js +3 -3
  67. package/dist-cjs/waiters/waitForProjectVersionTrainingCompleted.js +3 -3
  68. package/dist-es/Rekognition.js +58 -58
  69. package/dist-es/pagination/DescribeProjectVersionsPaginator.js +4 -4
  70. package/dist-es/pagination/DescribeProjectsPaginator.js +4 -4
  71. package/dist-es/pagination/GetCelebrityRecognitionPaginator.js +4 -4
  72. package/dist-es/pagination/GetContentModerationPaginator.js +4 -4
  73. package/dist-es/pagination/GetFaceDetectionPaginator.js +4 -4
  74. package/dist-es/pagination/GetFaceSearchPaginator.js +4 -4
  75. package/dist-es/pagination/GetLabelDetectionPaginator.js +4 -4
  76. package/dist-es/pagination/GetPersonTrackingPaginator.js +4 -4
  77. package/dist-es/pagination/GetSegmentDetectionPaginator.js +4 -4
  78. package/dist-es/pagination/GetTextDetectionPaginator.js +4 -4
  79. package/dist-es/pagination/ListCollectionsPaginator.js +4 -4
  80. package/dist-es/pagination/ListDatasetEntriesPaginator.js +4 -4
  81. package/dist-es/pagination/ListDatasetLabelsPaginator.js +4 -4
  82. package/dist-es/pagination/ListFacesPaginator.js +4 -4
  83. package/dist-es/pagination/ListStreamProcessorsPaginator.js +4 -4
  84. package/dist-es/waiters/waitForProjectVersionRunning.js +2 -2
  85. package/dist-es/waiters/waitForProjectVersionTrainingCompleted.js +2 -2
  86. package/dist-types/RekognitionClient.d.ts +2 -2
  87. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  88. package/dist-types/runtimeConfig.d.ts +1 -1
  89. package/dist-types/runtimeConfig.native.d.ts +3 -3
  90. package/dist-types/ts3.4/RekognitionClient.d.ts +2 -2
  91. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  92. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  93. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  94. package/package.json +35 -35
@@ -11,7 +11,7 @@ class StartStreamProcessorCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "RekognitionClient";
@@ -27,10 +27,10 @@ class StartStreamProcessorCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1StartStreamProcessorCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StartStreamProcessorCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StartStreamProcessorCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StartStreamProcessorCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StartStreamProcessorCommand = StartStreamProcessorCommand;
@@ -11,7 +11,7 @@ class StartTextDetectionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "RekognitionClient";
@@ -27,10 +27,10 @@ class StartTextDetectionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1StartTextDetectionCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StartTextDetectionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StartTextDetectionCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StartTextDetectionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StartTextDetectionCommand = StartTextDetectionCommand;
@@ -11,7 +11,7 @@ class StopProjectVersionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "RekognitionClient";
@@ -27,10 +27,10 @@ class StopProjectVersionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1StopProjectVersionCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StopProjectVersionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StopProjectVersionCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StopProjectVersionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StopProjectVersionCommand = StopProjectVersionCommand;
@@ -11,7 +11,7 @@ class StopStreamProcessorCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "RekognitionClient";
@@ -27,10 +27,10 @@ class StopStreamProcessorCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1StopStreamProcessorCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StopStreamProcessorCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StopStreamProcessorCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StopStreamProcessorCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StopStreamProcessorCommand = StopStreamProcessorCommand;
@@ -11,7 +11,7 @@ class TagResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "RekognitionClient";
@@ -27,10 +27,10 @@ class TagResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1TagResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1TagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.TagResourceCommand = TagResourceCommand;
@@ -11,7 +11,7 @@ class UntagResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "RekognitionClient";
@@ -27,10 +27,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -11,7 +11,7 @@ class UpdateDatasetEntriesCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "RekognitionClient";
@@ -27,10 +27,10 @@ class UpdateDatasetEntriesCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1UpdateDatasetEntriesCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateDatasetEntriesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UpdateDatasetEntriesCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateDatasetEntriesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateDatasetEntriesCommand = UpdateDatasetEntriesCommand;
@@ -192,7 +192,7 @@ const partitionHash = {
192
192
  ],
193
193
  },
194
194
  };
195
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
195
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
196
196
  ...options,
197
197
  signingService: "rekognition",
198
198
  regionHash,