@aws-sdk/client-rekognition 3.948.0 → 3.953.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 (95) hide show
  1. package/dist-cjs/index.js +1365 -888
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/AssociateFacesCommand.js +2 -2
  4. package/dist-es/commands/CompareFacesCommand.js +2 -2
  5. package/dist-es/commands/CopyProjectVersionCommand.js +2 -2
  6. package/dist-es/commands/CreateCollectionCommand.js +2 -2
  7. package/dist-es/commands/CreateDatasetCommand.js +2 -2
  8. package/dist-es/commands/CreateFaceLivenessSessionCommand.js +2 -2
  9. package/dist-es/commands/CreateProjectCommand.js +2 -2
  10. package/dist-es/commands/CreateProjectVersionCommand.js +2 -2
  11. package/dist-es/commands/CreateStreamProcessorCommand.js +2 -2
  12. package/dist-es/commands/CreateUserCommand.js +2 -2
  13. package/dist-es/commands/DeleteCollectionCommand.js +2 -2
  14. package/dist-es/commands/DeleteDatasetCommand.js +2 -2
  15. package/dist-es/commands/DeleteFacesCommand.js +2 -2
  16. package/dist-es/commands/DeleteProjectCommand.js +2 -2
  17. package/dist-es/commands/DeleteProjectPolicyCommand.js +2 -2
  18. package/dist-es/commands/DeleteProjectVersionCommand.js +2 -2
  19. package/dist-es/commands/DeleteStreamProcessorCommand.js +2 -2
  20. package/dist-es/commands/DeleteUserCommand.js +2 -2
  21. package/dist-es/commands/DescribeCollectionCommand.js +2 -2
  22. package/dist-es/commands/DescribeDatasetCommand.js +2 -2
  23. package/dist-es/commands/DescribeProjectVersionsCommand.js +2 -2
  24. package/dist-es/commands/DescribeProjectsCommand.js +2 -2
  25. package/dist-es/commands/DescribeStreamProcessorCommand.js +2 -2
  26. package/dist-es/commands/DetectCustomLabelsCommand.js +2 -2
  27. package/dist-es/commands/DetectFacesCommand.js +2 -2
  28. package/dist-es/commands/DetectLabelsCommand.js +2 -2
  29. package/dist-es/commands/DetectModerationLabelsCommand.js +2 -2
  30. package/dist-es/commands/DetectProtectiveEquipmentCommand.js +2 -2
  31. package/dist-es/commands/DetectTextCommand.js +2 -2
  32. package/dist-es/commands/DisassociateFacesCommand.js +2 -2
  33. package/dist-es/commands/DistributeDatasetEntriesCommand.js +2 -2
  34. package/dist-es/commands/GetCelebrityInfoCommand.js +2 -2
  35. package/dist-es/commands/GetCelebrityRecognitionCommand.js +2 -2
  36. package/dist-es/commands/GetContentModerationCommand.js +2 -2
  37. package/dist-es/commands/GetFaceDetectionCommand.js +2 -2
  38. package/dist-es/commands/GetFaceLivenessSessionResultsCommand.js +2 -2
  39. package/dist-es/commands/GetFaceSearchCommand.js +2 -2
  40. package/dist-es/commands/GetLabelDetectionCommand.js +2 -2
  41. package/dist-es/commands/GetMediaAnalysisJobCommand.js +2 -2
  42. package/dist-es/commands/GetPersonTrackingCommand.js +2 -2
  43. package/dist-es/commands/GetSegmentDetectionCommand.js +2 -2
  44. package/dist-es/commands/GetTextDetectionCommand.js +2 -2
  45. package/dist-es/commands/IndexFacesCommand.js +2 -2
  46. package/dist-es/commands/ListCollectionsCommand.js +2 -2
  47. package/dist-es/commands/ListDatasetEntriesCommand.js +2 -2
  48. package/dist-es/commands/ListDatasetLabelsCommand.js +2 -2
  49. package/dist-es/commands/ListFacesCommand.js +2 -2
  50. package/dist-es/commands/ListMediaAnalysisJobsCommand.js +2 -2
  51. package/dist-es/commands/ListProjectPoliciesCommand.js +2 -2
  52. package/dist-es/commands/ListStreamProcessorsCommand.js +2 -2
  53. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  54. package/dist-es/commands/ListUsersCommand.js +2 -2
  55. package/dist-es/commands/PutProjectPolicyCommand.js +2 -2
  56. package/dist-es/commands/RecognizeCelebritiesCommand.js +2 -2
  57. package/dist-es/commands/SearchFacesByImageCommand.js +2 -2
  58. package/dist-es/commands/SearchFacesCommand.js +2 -2
  59. package/dist-es/commands/SearchUsersByImageCommand.js +2 -2
  60. package/dist-es/commands/SearchUsersCommand.js +2 -2
  61. package/dist-es/commands/StartCelebrityRecognitionCommand.js +2 -2
  62. package/dist-es/commands/StartContentModerationCommand.js +2 -2
  63. package/dist-es/commands/StartFaceDetectionCommand.js +2 -2
  64. package/dist-es/commands/StartFaceSearchCommand.js +2 -2
  65. package/dist-es/commands/StartLabelDetectionCommand.js +2 -2
  66. package/dist-es/commands/StartMediaAnalysisJobCommand.js +2 -2
  67. package/dist-es/commands/StartPersonTrackingCommand.js +2 -2
  68. package/dist-es/commands/StartProjectVersionCommand.js +2 -2
  69. package/dist-es/commands/StartSegmentDetectionCommand.js +2 -2
  70. package/dist-es/commands/StartStreamProcessorCommand.js +2 -2
  71. package/dist-es/commands/StartTextDetectionCommand.js +2 -2
  72. package/dist-es/commands/StopProjectVersionCommand.js +2 -2
  73. package/dist-es/commands/StopStreamProcessorCommand.js +2 -2
  74. package/dist-es/commands/TagResourceCommand.js +2 -2
  75. package/dist-es/commands/UntagResourceCommand.js +2 -2
  76. package/dist-es/commands/UpdateDatasetEntriesCommand.js +2 -2
  77. package/dist-es/commands/UpdateStreamProcessorCommand.js +2 -2
  78. package/dist-es/index.js +1 -0
  79. package/dist-es/runtimeConfig.shared.js +6 -6
  80. package/dist-es/schemas/schemas_0.js +845 -767
  81. package/dist-types/RekognitionClient.d.ts +1 -10
  82. package/dist-types/index.d.ts +1 -0
  83. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  84. package/dist-types/runtimeConfig.d.ts +6 -2
  85. package/dist-types/runtimeConfig.native.d.ts +6 -2
  86. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  87. package/dist-types/schemas/schemas_0.d.ts +400 -486
  88. package/dist-types/ts3.4/RekognitionClient.d.ts +0 -4
  89. package/dist-types/ts3.4/index.d.ts +1 -0
  90. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  91. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  92. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  93. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  94. package/dist-types/ts3.4/schemas/schemas_0.d.ts +399 -487
  95. package/package.json +35 -35
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("RekognitionService", "TagResource", {})
13
13
  .n("RekognitionClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("RekognitionService", "UntagResource", {})
13
13
  .n("RekognitionClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateDatasetEntries } from "../schemas/schemas_0";
4
+ import { UpdateDatasetEntries$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateDatasetEntriesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateDatasetEntriesCommand extends $Command
11
11
  })
12
12
  .s("RekognitionService", "UpdateDatasetEntries", {})
13
13
  .n("RekognitionClient", "UpdateDatasetEntriesCommand")
14
- .sc(UpdateDatasetEntries)
14
+ .sc(UpdateDatasetEntries$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateStreamProcessor } from "../schemas/schemas_0";
4
+ import { UpdateStreamProcessor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateStreamProcessorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateStreamProcessorCommand extends $Command
11
11
  })
12
12
  .s("RekognitionService", "UpdateStreamProcessor", {})
13
13
  .n("RekognitionClient", "UpdateStreamProcessorCommand")
14
- .sc(UpdateStreamProcessor)
14
+ .sc(UpdateStreamProcessor$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./RekognitionClient";
2
2
  export * from "./Rekognition";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./waiters";
6
7
  export * from "./models/enums";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_1Protocol({
28
- defaultNamespace: "com.amazonaws.rekognition",
29
- serviceTarget: "RekognitionService",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.rekognition",
29
+ version: "2016-06-27",
30
+ serviceTarget: "RekognitionService",
31
+ },
32
32
  serviceId: config?.serviceId ?? "Rekognition",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,