@aws-sdk/client-rekognition 3.299.0 → 3.300.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 (64) hide show
  1. package/dist-types/commands/CompareFacesCommand.d.ts +20 -0
  2. package/dist-types/commands/CopyProjectVersionCommand.d.ts +14 -0
  3. package/dist-types/commands/CreateCollectionCommand.d.ts +6 -0
  4. package/dist-types/commands/CreateDatasetCommand.d.ts +14 -0
  5. package/dist-types/commands/CreateProjectCommand.d.ts +3 -0
  6. package/dist-types/commands/CreateProjectVersionCommand.d.ts +39 -0
  7. package/dist-types/commands/CreateStreamProcessorCommand.d.ts +56 -0
  8. package/dist-types/commands/DeleteCollectionCommand.d.ts +3 -0
  9. package/dist-types/commands/DeleteDatasetCommand.d.ts +3 -0
  10. package/dist-types/commands/DeleteFacesCommand.d.ts +6 -0
  11. package/dist-types/commands/DeleteProjectCommand.d.ts +3 -0
  12. package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +5 -0
  13. package/dist-types/commands/DeleteProjectVersionCommand.d.ts +3 -0
  14. package/dist-types/commands/DeleteStreamProcessorCommand.d.ts +3 -0
  15. package/dist-types/commands/DescribeCollectionCommand.d.ts +3 -0
  16. package/dist-types/commands/DescribeDatasetCommand.d.ts +3 -0
  17. package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +8 -0
  18. package/dist-types/commands/DescribeProjectsCommand.d.ts +7 -0
  19. package/dist-types/commands/DescribeStreamProcessorCommand.d.ts +3 -0
  20. package/dist-types/commands/DetectCustomLabelsCommand.d.ts +13 -0
  21. package/dist-types/commands/DetectFacesCommand.d.ts +13 -0
  22. package/dist-types/commands/DetectLabelsCommand.d.ts +34 -0
  23. package/dist-types/commands/DetectModerationLabelsCommand.d.ts +20 -0
  24. package/dist-types/commands/DetectProtectiveEquipmentCommand.d.ts +16 -0
  25. package/dist-types/commands/DetectTextCommand.d.ts +33 -0
  26. package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +7 -0
  27. package/dist-types/commands/GetCelebrityInfoCommand.d.ts +3 -0
  28. package/dist-types/commands/GetCelebrityRecognitionCommand.d.ts +6 -0
  29. package/dist-types/commands/GetContentModerationCommand.d.ts +6 -0
  30. package/dist-types/commands/GetFaceDetectionCommand.d.ts +5 -0
  31. package/dist-types/commands/GetFaceSearchCommand.d.ts +6 -0
  32. package/dist-types/commands/GetLabelDetectionCommand.d.ts +7 -0
  33. package/dist-types/commands/GetPersonTrackingCommand.d.ts +6 -0
  34. package/dist-types/commands/GetSegmentDetectionCommand.d.ts +5 -0
  35. package/dist-types/commands/GetTextDetectionCommand.d.ts +5 -0
  36. package/dist-types/commands/IndexFacesCommand.d.ts +17 -0
  37. package/dist-types/commands/ListCollectionsCommand.d.ts +4 -0
  38. package/dist-types/commands/ListDatasetEntriesCommand.d.ts +11 -0
  39. package/dist-types/commands/ListDatasetLabelsCommand.d.ts +5 -0
  40. package/dist-types/commands/ListFacesCommand.d.ts +5 -0
  41. package/dist-types/commands/ListProjectPoliciesCommand.d.ts +5 -0
  42. package/dist-types/commands/ListStreamProcessorsCommand.d.ts +4 -0
  43. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  44. package/dist-types/commands/PutProjectPolicyCommand.d.ts +6 -0
  45. package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +10 -0
  46. package/dist-types/commands/SearchFacesByImageCommand.d.ts +14 -0
  47. package/dist-types/commands/SearchFacesCommand.d.ts +6 -0
  48. package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +15 -0
  49. package/dist-types/commands/StartContentModerationCommand.d.ts +16 -0
  50. package/dist-types/commands/StartFaceDetectionCommand.d.ts +16 -0
  51. package/dist-types/commands/StartFaceSearchCommand.d.ts +17 -0
  52. package/dist-types/commands/StartLabelDetectionCommand.d.ts +35 -0
  53. package/dist-types/commands/StartPersonTrackingCommand.d.ts +15 -0
  54. package/dist-types/commands/StartProjectVersionCommand.d.ts +5 -0
  55. package/dist-types/commands/StartSegmentDetectionCommand.d.ts +30 -0
  56. package/dist-types/commands/StartStreamProcessorCommand.d.ts +12 -0
  57. package/dist-types/commands/StartTextDetectionCommand.d.ts +38 -0
  58. package/dist-types/commands/StopProjectVersionCommand.d.ts +3 -0
  59. package/dist-types/commands/StopStreamProcessorCommand.d.ts +3 -0
  60. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  61. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  62. package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +6 -0
  63. package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +33 -0
  64. package/package.json +8 -8
@@ -47,6 +47,11 @@ export interface GetSegmentDetectionCommandOutput extends GetSegmentDetectionRes
47
47
  * import { RekognitionClient, GetSegmentDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
48
48
  * // const { RekognitionClient, GetSegmentDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
49
49
  * const client = new RekognitionClient(config);
50
+ * const input = {
51
+ * JobId: "STRING_VALUE", // required
52
+ * MaxResults: Number("int"),
53
+ * NextToken: "STRING_VALUE",
54
+ * };
50
55
  * const command = new GetSegmentDetectionCommand(input);
51
56
  * const response = await client.send(command);
52
57
  * ```
@@ -44,6 +44,11 @@ export interface GetTextDetectionCommandOutput extends GetTextDetectionResponse,
44
44
  * import { RekognitionClient, GetTextDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
45
45
  * // const { RekognitionClient, GetTextDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
46
46
  * const client = new RekognitionClient(config);
47
+ * const input = {
48
+ * JobId: "STRING_VALUE", // required
49
+ * MaxResults: Number("int"),
50
+ * NextToken: "STRING_VALUE",
51
+ * };
47
52
  * const command = new GetTextDetectionCommand(input);
48
53
  * const response = await client.send(command);
49
54
  * ```
@@ -116,6 +116,23 @@ export interface IndexFacesCommandOutput extends IndexFacesResponse, __MetadataB
116
116
  * import { RekognitionClient, IndexFacesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
117
117
  * // const { RekognitionClient, IndexFacesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
118
118
  * const client = new RekognitionClient(config);
119
+ * const input = {
120
+ * CollectionId: "STRING_VALUE", // required
121
+ * Image: {
122
+ * Bytes: "BLOB_VALUE",
123
+ * S3Object: {
124
+ * Bucket: "STRING_VALUE",
125
+ * Name: "STRING_VALUE",
126
+ * Version: "STRING_VALUE",
127
+ * },
128
+ * },
129
+ * ExternalImageId: "STRING_VALUE",
130
+ * DetectionAttributes: [
131
+ * "DEFAULT" || "ALL",
132
+ * ],
133
+ * MaxFaces: Number("int"),
134
+ * QualityFilter: "NONE" || "AUTO" || "LOW" || "MEDIUM" || "HIGH",
135
+ * };
119
136
  * const command = new IndexFacesCommand(input);
120
137
  * const response = await client.send(command);
121
138
  * ```
@@ -32,6 +32,10 @@ export interface ListCollectionsCommandOutput extends ListCollectionsResponse, _
32
32
  * import { RekognitionClient, ListCollectionsCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
33
33
  * // const { RekognitionClient, ListCollectionsCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
34
34
  * const client = new RekognitionClient(config);
35
+ * const input = {
36
+ * NextToken: "STRING_VALUE",
37
+ * MaxResults: Number("int"),
38
+ * };
35
39
  * const command = new ListCollectionsCommand(input);
36
40
  * const response = await client.send(command);
37
41
  * ```
@@ -39,6 +39,17 @@ export interface ListDatasetEntriesCommandOutput extends ListDatasetEntriesRespo
39
39
  * import { RekognitionClient, ListDatasetEntriesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
40
40
  * // const { RekognitionClient, ListDatasetEntriesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
41
41
  * const client = new RekognitionClient(config);
42
+ * const input = {
43
+ * DatasetArn: "STRING_VALUE", // required
44
+ * ContainsLabels: [
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * Labeled: true || false,
48
+ * SourceRefContains: "STRING_VALUE",
49
+ * HasErrors: true || false,
50
+ * NextToken: "STRING_VALUE",
51
+ * MaxResults: Number("int"),
52
+ * };
42
53
  * const command = new ListDatasetEntriesCommand(input);
43
54
  * const response = await client.send(command);
44
55
  * ```
@@ -31,6 +31,11 @@ export interface ListDatasetLabelsCommandOutput extends ListDatasetLabelsRespons
31
31
  * import { RekognitionClient, ListDatasetLabelsCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
32
32
  * // const { RekognitionClient, ListDatasetLabelsCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
33
33
  * const client = new RekognitionClient(config);
34
+ * const input = {
35
+ * DatasetArn: "STRING_VALUE", // required
36
+ * NextToken: "STRING_VALUE",
37
+ * MaxResults: Number("int"),
38
+ * };
34
39
  * const command = new ListDatasetLabelsCommand(input);
35
40
  * const response = await client.send(command);
36
41
  * ```
@@ -31,6 +31,11 @@ export interface ListFacesCommandOutput extends ListFacesResponse, __MetadataBea
31
31
  * import { RekognitionClient, ListFacesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
32
32
  * // const { RekognitionClient, ListFacesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
33
33
  * const client = new RekognitionClient(config);
34
+ * const input = {
35
+ * CollectionId: "STRING_VALUE", // required
36
+ * NextToken: "STRING_VALUE",
37
+ * MaxResults: Number("int"),
38
+ * };
34
39
  * const command = new ListFacesCommand(input);
35
40
  * const response = await client.send(command);
36
41
  * ```
@@ -27,6 +27,11 @@ export interface ListProjectPoliciesCommandOutput extends ListProjectPoliciesRes
27
27
  * import { RekognitionClient, ListProjectPoliciesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
28
28
  * // const { RekognitionClient, ListProjectPoliciesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
29
29
  * const client = new RekognitionClient(config);
30
+ * const input = {
31
+ * ProjectArn: "STRING_VALUE", // required
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * };
30
35
  * const command = new ListProjectPoliciesCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -26,6 +26,10 @@ export interface ListStreamProcessorsCommandOutput extends ListStreamProcessorsR
26
26
  * import { RekognitionClient, ListStreamProcessorsCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
27
27
  * // const { RekognitionClient, ListStreamProcessorsCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
28
28
  * const client = new RekognitionClient(config);
29
+ * const input = {
30
+ * NextToken: "STRING_VALUE",
31
+ * MaxResults: Number("int"),
32
+ * };
29
33
  * const command = new ListStreamProcessorsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -29,6 +29,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
29
29
  * import { RekognitionClient, ListTagsForResourceCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
30
30
  * // const { RekognitionClient, ListTagsForResourceCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
31
31
  * const client = new RekognitionClient(config);
32
+ * const input = {
33
+ * ResourceArn: "STRING_VALUE", // required
34
+ * };
32
35
  * const command = new ListTagsForResourceCommand(input);
33
36
  * const response = await client.send(command);
34
37
  * ```
@@ -38,6 +38,12 @@ export interface PutProjectPolicyCommandOutput extends PutProjectPolicyResponse,
38
38
  * import { RekognitionClient, PutProjectPolicyCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
39
39
  * // const { RekognitionClient, PutProjectPolicyCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
40
40
  * const client = new RekognitionClient(config);
41
+ * const input = {
42
+ * ProjectArn: "STRING_VALUE", // required
43
+ * PolicyName: "STRING_VALUE", // required
44
+ * PolicyRevisionId: "STRING_VALUE",
45
+ * PolicyDocument: "STRING_VALUE", // required
46
+ * };
41
47
  * const command = new PutProjectPolicyCommand(input);
42
48
  * const response = await client.send(command);
43
49
  * ```
@@ -52,6 +52,16 @@ export interface RecognizeCelebritiesCommandOutput extends RecognizeCelebritiesR
52
52
  * import { RekognitionClient, RecognizeCelebritiesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
53
53
  * // const { RekognitionClient, RecognizeCelebritiesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
54
54
  * const client = new RekognitionClient(config);
55
+ * const input = {
56
+ * Image: {
57
+ * Bytes: "BLOB_VALUE",
58
+ * S3Object: {
59
+ * Bucket: "STRING_VALUE",
60
+ * Name: "STRING_VALUE",
61
+ * Version: "STRING_VALUE",
62
+ * },
63
+ * },
64
+ * };
55
65
  * const command = new RecognizeCelebritiesCommand(input);
56
66
  * const response = await client.send(command);
57
67
  * ```
@@ -62,6 +62,20 @@ export interface SearchFacesByImageCommandOutput extends SearchFacesByImageRespo
62
62
  * import { RekognitionClient, SearchFacesByImageCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
63
63
  * // const { RekognitionClient, SearchFacesByImageCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
64
64
  * const client = new RekognitionClient(config);
65
+ * const input = {
66
+ * CollectionId: "STRING_VALUE", // required
67
+ * Image: {
68
+ * Bytes: "BLOB_VALUE",
69
+ * S3Object: {
70
+ * Bucket: "STRING_VALUE",
71
+ * Name: "STRING_VALUE",
72
+ * Version: "STRING_VALUE",
73
+ * },
74
+ * },
75
+ * MaxFaces: Number("int"),
76
+ * FaceMatchThreshold: Number("float"),
77
+ * QualityFilter: "NONE" || "AUTO" || "LOW" || "MEDIUM" || "HIGH",
78
+ * };
65
79
  * const command = new SearchFacesByImageCommand(input);
66
80
  * const response = await client.send(command);
67
81
  * ```
@@ -41,6 +41,12 @@ export interface SearchFacesCommandOutput extends SearchFacesResponse, __Metadat
41
41
  * import { RekognitionClient, SearchFacesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
42
42
  * // const { RekognitionClient, SearchFacesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
43
43
  * const client = new RekognitionClient(config);
44
+ * const input = {
45
+ * CollectionId: "STRING_VALUE", // required
46
+ * FaceId: "STRING_VALUE", // required
47
+ * MaxFaces: Number("int"),
48
+ * FaceMatchThreshold: Number("float"),
49
+ * };
44
50
  * const command = new SearchFacesCommand(input);
45
51
  * const response = await client.send(command);
46
52
  * ```
@@ -36,6 +36,21 @@ export interface StartCelebrityRecognitionCommandOutput extends StartCelebrityRe
36
36
  * import { RekognitionClient, StartCelebrityRecognitionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
37
37
  * // const { RekognitionClient, StartCelebrityRecognitionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
38
38
  * const client = new RekognitionClient(config);
39
+ * const input = {
40
+ * Video: {
41
+ * S3Object: {
42
+ * Bucket: "STRING_VALUE",
43
+ * Name: "STRING_VALUE",
44
+ * Version: "STRING_VALUE",
45
+ * },
46
+ * },
47
+ * ClientRequestToken: "STRING_VALUE",
48
+ * NotificationChannel: {
49
+ * SNSTopicArn: "STRING_VALUE", // required
50
+ * RoleArn: "STRING_VALUE", // required
51
+ * },
52
+ * JobTag: "STRING_VALUE",
53
+ * };
39
54
  * const command = new StartCelebrityRecognitionCommand(input);
40
55
  * const response = await client.send(command);
41
56
  * ```
@@ -36,6 +36,22 @@ export interface StartContentModerationCommandOutput extends StartContentModerat
36
36
  * import { RekognitionClient, StartContentModerationCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
37
37
  * // const { RekognitionClient, StartContentModerationCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
38
38
  * const client = new RekognitionClient(config);
39
+ * const input = {
40
+ * Video: {
41
+ * S3Object: {
42
+ * Bucket: "STRING_VALUE",
43
+ * Name: "STRING_VALUE",
44
+ * Version: "STRING_VALUE",
45
+ * },
46
+ * },
47
+ * MinConfidence: Number("float"),
48
+ * ClientRequestToken: "STRING_VALUE",
49
+ * NotificationChannel: {
50
+ * SNSTopicArn: "STRING_VALUE", // required
51
+ * RoleArn: "STRING_VALUE", // required
52
+ * },
53
+ * JobTag: "STRING_VALUE",
54
+ * };
39
55
  * const command = new StartContentModerationCommand(input);
40
56
  * const response = await client.send(command);
41
57
  * ```
@@ -37,6 +37,22 @@ export interface StartFaceDetectionCommandOutput extends StartFaceDetectionRespo
37
37
  * import { RekognitionClient, StartFaceDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
38
38
  * // const { RekognitionClient, StartFaceDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
39
39
  * const client = new RekognitionClient(config);
40
+ * const input = {
41
+ * Video: {
42
+ * S3Object: {
43
+ * Bucket: "STRING_VALUE",
44
+ * Name: "STRING_VALUE",
45
+ * Version: "STRING_VALUE",
46
+ * },
47
+ * },
48
+ * ClientRequestToken: "STRING_VALUE",
49
+ * NotificationChannel: {
50
+ * SNSTopicArn: "STRING_VALUE", // required
51
+ * RoleArn: "STRING_VALUE", // required
52
+ * },
53
+ * FaceAttributes: "DEFAULT" || "ALL",
54
+ * JobTag: "STRING_VALUE",
55
+ * };
40
56
  * const command = new StartFaceDetectionCommand(input);
41
57
  * const response = await client.send(command);
42
58
  * ```
@@ -36,6 +36,23 @@ export interface StartFaceSearchCommandOutput extends StartFaceSearchResponse, _
36
36
  * import { RekognitionClient, StartFaceSearchCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
37
37
  * // const { RekognitionClient, StartFaceSearchCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
38
38
  * const client = new RekognitionClient(config);
39
+ * const input = {
40
+ * Video: {
41
+ * S3Object: {
42
+ * Bucket: "STRING_VALUE",
43
+ * Name: "STRING_VALUE",
44
+ * Version: "STRING_VALUE",
45
+ * },
46
+ * },
47
+ * ClientRequestToken: "STRING_VALUE",
48
+ * FaceMatchThreshold: Number("float"),
49
+ * CollectionId: "STRING_VALUE", // required
50
+ * NotificationChannel: {
51
+ * SNSTopicArn: "STRING_VALUE", // required
52
+ * RoleArn: "STRING_VALUE", // required
53
+ * },
54
+ * JobTag: "STRING_VALUE",
55
+ * };
39
56
  * const command = new StartFaceSearchCommand(input);
40
57
  * const response = await client.send(command);
41
58
  * ```
@@ -50,6 +50,41 @@ export interface StartLabelDetectionCommandOutput extends StartLabelDetectionRes
50
50
  * import { RekognitionClient, StartLabelDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
51
51
  * // const { RekognitionClient, StartLabelDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
52
52
  * const client = new RekognitionClient(config);
53
+ * const input = {
54
+ * Video: {
55
+ * S3Object: {
56
+ * Bucket: "STRING_VALUE",
57
+ * Name: "STRING_VALUE",
58
+ * Version: "STRING_VALUE",
59
+ * },
60
+ * },
61
+ * ClientRequestToken: "STRING_VALUE",
62
+ * MinConfidence: Number("float"),
63
+ * NotificationChannel: {
64
+ * SNSTopicArn: "STRING_VALUE", // required
65
+ * RoleArn: "STRING_VALUE", // required
66
+ * },
67
+ * JobTag: "STRING_VALUE",
68
+ * Features: [
69
+ * "GENERAL_LABELS",
70
+ * ],
71
+ * Settings: {
72
+ * GeneralLabels: {
73
+ * LabelInclusionFilters: [
74
+ * "STRING_VALUE",
75
+ * ],
76
+ * LabelExclusionFilters: [
77
+ * "STRING_VALUE",
78
+ * ],
79
+ * LabelCategoryInclusionFilters: [
80
+ * "STRING_VALUE",
81
+ * ],
82
+ * LabelCategoryExclusionFilters: [
83
+ * "STRING_VALUE",
84
+ * ],
85
+ * },
86
+ * },
87
+ * };
53
88
  * const command = new StartLabelDetectionCommand(input);
54
89
  * const response = await client.send(command);
55
90
  * ```
@@ -34,6 +34,21 @@ export interface StartPersonTrackingCommandOutput extends StartPersonTrackingRes
34
34
  * import { RekognitionClient, StartPersonTrackingCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
35
35
  * // const { RekognitionClient, StartPersonTrackingCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
36
36
  * const client = new RekognitionClient(config);
37
+ * const input = {
38
+ * Video: {
39
+ * S3Object: {
40
+ * Bucket: "STRING_VALUE",
41
+ * Name: "STRING_VALUE",
42
+ * Version: "STRING_VALUE",
43
+ * },
44
+ * },
45
+ * ClientRequestToken: "STRING_VALUE",
46
+ * NotificationChannel: {
47
+ * SNSTopicArn: "STRING_VALUE", // required
48
+ * RoleArn: "STRING_VALUE", // required
49
+ * },
50
+ * JobTag: "STRING_VALUE",
51
+ * };
37
52
  * const command = new StartPersonTrackingCommand(input);
38
53
  * const response = await client.send(command);
39
54
  * ```
@@ -36,6 +36,11 @@ export interface StartProjectVersionCommandOutput extends StartProjectVersionRes
36
36
  * import { RekognitionClient, StartProjectVersionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
37
37
  * // const { RekognitionClient, StartProjectVersionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
38
38
  * const client = new RekognitionClient(config);
39
+ * const input = {
40
+ * ProjectVersionArn: "STRING_VALUE", // required
41
+ * MinInferenceUnits: Number("int"), // required
42
+ * MaxInferenceUnits: Number("int"),
43
+ * };
39
44
  * const command = new StartProjectVersionCommand(input);
40
45
  * const response = await client.send(command);
41
46
  * ```
@@ -39,6 +39,36 @@ export interface StartSegmentDetectionCommandOutput extends StartSegmentDetectio
39
39
  * import { RekognitionClient, StartSegmentDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
40
40
  * // const { RekognitionClient, StartSegmentDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
41
41
  * const client = new RekognitionClient(config);
42
+ * const input = {
43
+ * Video: {
44
+ * S3Object: {
45
+ * Bucket: "STRING_VALUE",
46
+ * Name: "STRING_VALUE",
47
+ * Version: "STRING_VALUE",
48
+ * },
49
+ * },
50
+ * ClientRequestToken: "STRING_VALUE",
51
+ * NotificationChannel: {
52
+ * SNSTopicArn: "STRING_VALUE", // required
53
+ * RoleArn: "STRING_VALUE", // required
54
+ * },
55
+ * JobTag: "STRING_VALUE",
56
+ * Filters: {
57
+ * TechnicalCueFilter: {
58
+ * MinSegmentConfidence: Number("float"),
59
+ * BlackFrame: {
60
+ * MaxPixelThreshold: Number("float"),
61
+ * MinCoveragePercentage: Number("float"),
62
+ * },
63
+ * },
64
+ * ShotFilter: {
65
+ * MinSegmentConfidence: Number("float"),
66
+ * },
67
+ * },
68
+ * SegmentTypes: [ // required
69
+ * "TECHNICAL_CUE" || "SHOT",
70
+ * ],
71
+ * };
42
72
  * const command = new StartSegmentDetectionCommand(input);
43
73
  * const response = await client.send(command);
44
74
  * ```
@@ -29,6 +29,18 @@ export interface StartStreamProcessorCommandOutput extends StartStreamProcessorR
29
29
  * import { RekognitionClient, StartStreamProcessorCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
30
30
  * // const { RekognitionClient, StartStreamProcessorCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
31
31
  * const client = new RekognitionClient(config);
32
+ * const input = {
33
+ * Name: "STRING_VALUE", // required
34
+ * StartSelector: {
35
+ * KVSStreamStartSelector: {
36
+ * ProducerTimestamp: Number("long"),
37
+ * FragmentNumber: "STRING_VALUE",
38
+ * },
39
+ * },
40
+ * StopSelector: {
41
+ * MaxDurationInSeconds: Number("long"),
42
+ * },
43
+ * };
32
44
  * const command = new StartStreamProcessorCommand(input);
33
45
  * const response = await client.send(command);
34
46
  * ```
@@ -33,6 +33,44 @@ export interface StartTextDetectionCommandOutput extends StartTextDetectionRespo
33
33
  * import { RekognitionClient, StartTextDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
34
34
  * // const { RekognitionClient, StartTextDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
35
35
  * const client = new RekognitionClient(config);
36
+ * const input = {
37
+ * Video: {
38
+ * S3Object: {
39
+ * Bucket: "STRING_VALUE",
40
+ * Name: "STRING_VALUE",
41
+ * Version: "STRING_VALUE",
42
+ * },
43
+ * },
44
+ * ClientRequestToken: "STRING_VALUE",
45
+ * NotificationChannel: {
46
+ * SNSTopicArn: "STRING_VALUE", // required
47
+ * RoleArn: "STRING_VALUE", // required
48
+ * },
49
+ * JobTag: "STRING_VALUE",
50
+ * Filters: {
51
+ * WordFilter: {
52
+ * MinConfidence: Number("float"),
53
+ * MinBoundingBoxHeight: Number("float"),
54
+ * MinBoundingBoxWidth: Number("float"),
55
+ * },
56
+ * RegionsOfInterest: [
57
+ * {
58
+ * BoundingBox: {
59
+ * Width: Number("float"),
60
+ * Height: Number("float"),
61
+ * Left: Number("float"),
62
+ * Top: Number("float"),
63
+ * },
64
+ * Polygon: [
65
+ * {
66
+ * X: Number("float"),
67
+ * Y: Number("float"),
68
+ * },
69
+ * ],
70
+ * },
71
+ * ],
72
+ * },
73
+ * };
36
74
  * const command = new StartTextDetectionCommand(input);
37
75
  * const response = await client.send(command);
38
76
  * ```
@@ -27,6 +27,9 @@ export interface StopProjectVersionCommandOutput extends StopProjectVersionRespo
27
27
  * import { RekognitionClient, StopProjectVersionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
28
28
  * // const { RekognitionClient, StopProjectVersionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
29
29
  * const client = new RekognitionClient(config);
30
+ * const input = {
31
+ * ProjectVersionArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new StopProjectVersionCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -26,6 +26,9 @@ export interface StopStreamProcessorCommandOutput extends StopStreamProcessorRes
26
26
  * import { RekognitionClient, StopStreamProcessorCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
27
27
  * // const { RekognitionClient, StopStreamProcessorCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
28
28
  * const client = new RekognitionClient(config);
29
+ * const input = {
30
+ * Name: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new StopStreamProcessorCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -30,6 +30,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
30
30
  * import { RekognitionClient, TagResourceCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
31
31
  * // const { RekognitionClient, TagResourceCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
32
32
  * const client = new RekognitionClient(config);
33
+ * const input = {
34
+ * ResourceArn: "STRING_VALUE", // required
35
+ * Tags: { // required
36
+ * "<keys>": "STRING_VALUE",
37
+ * },
38
+ * };
33
39
  * const command = new TagResourceCommand(input);
34
40
  * const response = await client.send(command);
35
41
  * ```
@@ -29,6 +29,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
29
29
  * import { RekognitionClient, UntagResourceCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
30
30
  * // const { RekognitionClient, UntagResourceCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
31
31
  * const client = new RekognitionClient(config);
32
+ * const input = {
33
+ * ResourceArn: "STRING_VALUE", // required
34
+ * TagKeys: [ // required
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * };
32
38
  * const command = new UntagResourceCommand(input);
33
39
  * const response = await client.send(command);
34
40
  * ```
@@ -47,6 +47,12 @@ export interface UpdateDatasetEntriesCommandOutput extends UpdateDatasetEntriesR
47
47
  * import { RekognitionClient, UpdateDatasetEntriesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
48
48
  * // const { RekognitionClient, UpdateDatasetEntriesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
49
49
  * const client = new RekognitionClient(config);
50
+ * const input = {
51
+ * DatasetArn: "STRING_VALUE", // required
52
+ * Changes: {
53
+ * GroundTruth: "BLOB_VALUE", // required
54
+ * },
55
+ * };
50
56
  * const command = new UpdateDatasetEntriesCommand(input);
51
57
  * const response = await client.send(command);
52
58
  * ```
@@ -28,6 +28,39 @@ export interface UpdateStreamProcessorCommandOutput extends UpdateStreamProcesso
28
28
  * import { RekognitionClient, UpdateStreamProcessorCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
29
29
  * // const { RekognitionClient, UpdateStreamProcessorCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
30
30
  * const client = new RekognitionClient(config);
31
+ * const input = {
32
+ * Name: "STRING_VALUE", // required
33
+ * SettingsForUpdate: {
34
+ * ConnectedHomeForUpdate: {
35
+ * Labels: [
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * MinConfidence: Number("float"),
39
+ * },
40
+ * },
41
+ * RegionsOfInterestForUpdate: [
42
+ * {
43
+ * BoundingBox: {
44
+ * Width: Number("float"),
45
+ * Height: Number("float"),
46
+ * Left: Number("float"),
47
+ * Top: Number("float"),
48
+ * },
49
+ * Polygon: [
50
+ * {
51
+ * X: Number("float"),
52
+ * Y: Number("float"),
53
+ * },
54
+ * ],
55
+ * },
56
+ * ],
57
+ * DataSharingPreferenceForUpdate: {
58
+ * OptIn: true || false, // required
59
+ * },
60
+ * ParametersToDelete: [
61
+ * "ConnectedHomeMinConfidence" || "RegionsOfInterest",
62
+ * ],
63
+ * };
31
64
  * const command = new UpdateStreamProcessorCommand(input);
32
65
  * const response = await client.send(command);
33
66
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rekognition",
3
3
  "description": "AWS SDK for JavaScript Rekognition Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.300.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "@aws-sdk/util-waiter": "3.296.0",
57
57
  "tslib": "^2.5.0"