@aws-sdk/client-rekognition 3.325.0 → 3.327.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 (75) hide show
  1. package/dist-cjs/models/models_0.js +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +7 -0
  3. package/dist-es/models/models_0.js +11 -0
  4. package/dist-es/protocols/Aws_json1_1.js +7 -0
  5. package/dist-types/commands/CompareFacesCommand.d.ts +88 -0
  6. package/dist-types/commands/CopyProjectVersionCommand.d.ts +6 -0
  7. package/dist-types/commands/CreateCollectionCommand.d.ts +8 -0
  8. package/dist-types/commands/CreateDatasetCommand.d.ts +6 -0
  9. package/dist-types/commands/CreateFaceLivenessSessionCommand.d.ts +6 -0
  10. package/dist-types/commands/CreateProjectCommand.d.ts +6 -0
  11. package/dist-types/commands/CreateProjectVersionCommand.d.ts +6 -0
  12. package/dist-types/commands/CreateStreamProcessorCommand.d.ts +6 -0
  13. package/dist-types/commands/DeleteCollectionCommand.d.ts +6 -0
  14. package/dist-types/commands/DeleteDatasetCommand.d.ts +4 -0
  15. package/dist-types/commands/DeleteFacesCommand.d.ts +8 -0
  16. package/dist-types/commands/DeleteProjectCommand.d.ts +6 -0
  17. package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +4 -0
  18. package/dist-types/commands/DeleteProjectVersionCommand.d.ts +6 -0
  19. package/dist-types/commands/DeleteStreamProcessorCommand.d.ts +4 -0
  20. package/dist-types/commands/DescribeCollectionCommand.d.ts +9 -0
  21. package/dist-types/commands/DescribeDatasetCommand.d.ts +18 -0
  22. package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +105 -0
  23. package/dist-types/commands/DescribeProjectsCommand.d.ts +23 -0
  24. package/dist-types/commands/DescribeStreamProcessorCommand.d.ts +61 -0
  25. package/dist-types/commands/DetectCustomLabelsCommand.d.ts +25 -0
  26. package/dist-types/commands/DetectFacesCommand.d.ts +82 -3
  27. package/dist-types/commands/DetectLabelsCommand.d.ts +84 -0
  28. package/dist-types/commands/DetectModerationLabelsCommand.d.ts +20 -0
  29. package/dist-types/commands/DetectProtectiveEquipmentCommand.d.ts +51 -0
  30. package/dist-types/commands/DetectTextCommand.d.ts +29 -0
  31. package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +4 -0
  32. package/dist-types/commands/GetCelebrityInfoCommand.d.ts +12 -0
  33. package/dist-types/commands/GetCelebrityRecognitionCommand.d.ts +119 -0
  34. package/dist-types/commands/GetContentModerationCommand.d.ts +44 -0
  35. package/dist-types/commands/GetFaceDetectionCommand.d.ts +102 -0
  36. package/dist-types/commands/GetFaceLivenessSessionResultsCommand.d.ts +38 -0
  37. package/dist-types/commands/GetFaceSearchCommand.d.ts +124 -0
  38. package/dist-types/commands/GetLabelDetectionCommand.d.ts +80 -0
  39. package/dist-types/commands/GetPersonTrackingCommand.d.ts +111 -0
  40. package/dist-types/commands/GetSegmentDetectionCommand.d.ts +64 -0
  41. package/dist-types/commands/GetTextDetectionCommand.d.ts +53 -0
  42. package/dist-types/commands/IndexFacesCommand.d.ts +181 -6
  43. package/dist-types/commands/ListCollectionsCommand.d.ts +12 -0
  44. package/dist-types/commands/ListDatasetEntriesCommand.d.ts +9 -0
  45. package/dist-types/commands/ListDatasetLabelsCommand.d.ts +15 -0
  46. package/dist-types/commands/ListFacesCommand.d.ts +22 -0
  47. package/dist-types/commands/ListProjectPoliciesCommand.d.ts +16 -0
  48. package/dist-types/commands/ListStreamProcessorsCommand.d.ts +12 -0
  49. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
  50. package/dist-types/commands/PutProjectPolicyCommand.d.ts +6 -0
  51. package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +91 -0
  52. package/dist-types/commands/SearchFacesByImageCommand.d.ts +31 -0
  53. package/dist-types/commands/SearchFacesCommand.d.ts +25 -0
  54. package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +6 -0
  55. package/dist-types/commands/StartContentModerationCommand.d.ts +6 -0
  56. package/dist-types/commands/StartFaceDetectionCommand.d.ts +6 -0
  57. package/dist-types/commands/StartFaceSearchCommand.d.ts +6 -0
  58. package/dist-types/commands/StartLabelDetectionCommand.d.ts +6 -0
  59. package/dist-types/commands/StartPersonTrackingCommand.d.ts +6 -0
  60. package/dist-types/commands/StartProjectVersionCommand.d.ts +6 -0
  61. package/dist-types/commands/StartSegmentDetectionCommand.d.ts +6 -0
  62. package/dist-types/commands/StartStreamProcessorCommand.d.ts +6 -0
  63. package/dist-types/commands/StartTextDetectionCommand.d.ts +6 -0
  64. package/dist-types/commands/StopProjectVersionCommand.d.ts +6 -0
  65. package/dist-types/commands/StopStreamProcessorCommand.d.ts +4 -0
  66. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  67. package/dist-types/commands/UntagResourceCommand.d.ts +6 -1
  68. package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +4 -0
  69. package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +4 -0
  70. package/dist-types/models/models_0.d.ts +66 -22
  71. package/dist-types/models/models_1.d.ts +5 -0
  72. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -4
  73. package/dist-types/ts3.4/models/models_0.d.ts +16 -1
  74. package/dist-types/ts3.4/models/models_1.d.ts +1 -0
  75. package/package.json +7 -7
@@ -34,6 +34,12 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
34
34
  * };
35
35
  * const command = new ListTagsForResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListTagsForResourceResponse
38
+ * // Tags: { // TagMap
39
+ * // "<keys>": "STRING_VALUE",
40
+ * // },
41
+ * // };
42
+ *
37
43
  * ```
38
44
  *
39
45
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -62,6 +68,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
62
68
  * @throws {@link ThrottlingException} (server fault)
63
69
  * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
64
70
  *
71
+ * @throws {@link RekognitionServiceException}
72
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
65
73
  *
66
74
  */
67
75
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, RekognitionClientResolvedConfig> {
@@ -47,6 +47,10 @@ export interface PutProjectPolicyCommandOutput extends PutProjectPolicyResponse,
47
47
  * };
48
48
  * const command = new PutProjectPolicyCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // { // PutProjectPolicyResponse
51
+ * // PolicyRevisionId: "STRING_VALUE",
52
+ * // };
53
+ *
50
54
  * ```
51
55
  *
52
56
  * @param PutProjectPolicyCommandInput - {@link PutProjectPolicyCommandInput}
@@ -95,6 +99,8 @@ export interface PutProjectPolicyCommandOutput extends PutProjectPolicyResponse,
95
99
  * @throws {@link ThrottlingException} (server fault)
96
100
  * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
97
101
  *
102
+ * @throws {@link RekognitionServiceException}
103
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
98
104
  *
99
105
  * @example PutProjectPolicy
100
106
  * ```javascript
@@ -64,6 +64,95 @@ export interface RecognizeCelebritiesCommandOutput extends RecognizeCelebritiesR
64
64
  * };
65
65
  * const command = new RecognizeCelebritiesCommand(input);
66
66
  * const response = await client.send(command);
67
+ * // { // RecognizeCelebritiesResponse
68
+ * // CelebrityFaces: [ // CelebrityList
69
+ * // { // Celebrity
70
+ * // Urls: [ // Urls
71
+ * // "STRING_VALUE",
72
+ * // ],
73
+ * // Name: "STRING_VALUE",
74
+ * // Id: "STRING_VALUE",
75
+ * // Face: { // ComparedFace
76
+ * // BoundingBox: { // BoundingBox
77
+ * // Width: Number("float"),
78
+ * // Height: Number("float"),
79
+ * // Left: Number("float"),
80
+ * // Top: Number("float"),
81
+ * // },
82
+ * // Confidence: Number("float"),
83
+ * // Landmarks: [ // Landmarks
84
+ * // { // Landmark
85
+ * // Type: "eyeLeft" || "eyeRight" || "nose" || "mouthLeft" || "mouthRight" || "leftEyeBrowLeft" || "leftEyeBrowRight" || "leftEyeBrowUp" || "rightEyeBrowLeft" || "rightEyeBrowRight" || "rightEyeBrowUp" || "leftEyeLeft" || "leftEyeRight" || "leftEyeUp" || "leftEyeDown" || "rightEyeLeft" || "rightEyeRight" || "rightEyeUp" || "rightEyeDown" || "noseLeft" || "noseRight" || "mouthUp" || "mouthDown" || "leftPupil" || "rightPupil" || "upperJawlineLeft" || "midJawlineLeft" || "chinBottom" || "midJawlineRight" || "upperJawlineRight",
86
+ * // X: Number("float"),
87
+ * // Y: Number("float"),
88
+ * // },
89
+ * // ],
90
+ * // Pose: { // Pose
91
+ * // Roll: Number("float"),
92
+ * // Yaw: Number("float"),
93
+ * // Pitch: Number("float"),
94
+ * // },
95
+ * // Quality: { // ImageQuality
96
+ * // Brightness: Number("float"),
97
+ * // Sharpness: Number("float"),
98
+ * // },
99
+ * // Emotions: [ // Emotions
100
+ * // { // Emotion
101
+ * // Type: "HAPPY" || "SAD" || "ANGRY" || "CONFUSED" || "DISGUSTED" || "SURPRISED" || "CALM" || "UNKNOWN" || "FEAR",
102
+ * // Confidence: Number("float"),
103
+ * // },
104
+ * // ],
105
+ * // Smile: { // Smile
106
+ * // Value: true || false,
107
+ * // Confidence: Number("float"),
108
+ * // },
109
+ * // },
110
+ * // MatchConfidence: Number("float"),
111
+ * // KnownGender: { // KnownGender
112
+ * // Type: "Male" || "Female" || "Nonbinary" || "Unlisted",
113
+ * // },
114
+ * // },
115
+ * // ],
116
+ * // UnrecognizedFaces: [ // ComparedFaceList
117
+ * // {
118
+ * // BoundingBox: {
119
+ * // Width: Number("float"),
120
+ * // Height: Number("float"),
121
+ * // Left: Number("float"),
122
+ * // Top: Number("float"),
123
+ * // },
124
+ * // Confidence: Number("float"),
125
+ * // Landmarks: [
126
+ * // {
127
+ * // Type: "eyeLeft" || "eyeRight" || "nose" || "mouthLeft" || "mouthRight" || "leftEyeBrowLeft" || "leftEyeBrowRight" || "leftEyeBrowUp" || "rightEyeBrowLeft" || "rightEyeBrowRight" || "rightEyeBrowUp" || "leftEyeLeft" || "leftEyeRight" || "leftEyeUp" || "leftEyeDown" || "rightEyeLeft" || "rightEyeRight" || "rightEyeUp" || "rightEyeDown" || "noseLeft" || "noseRight" || "mouthUp" || "mouthDown" || "leftPupil" || "rightPupil" || "upperJawlineLeft" || "midJawlineLeft" || "chinBottom" || "midJawlineRight" || "upperJawlineRight",
128
+ * // X: Number("float"),
129
+ * // Y: Number("float"),
130
+ * // },
131
+ * // ],
132
+ * // Pose: {
133
+ * // Roll: Number("float"),
134
+ * // Yaw: Number("float"),
135
+ * // Pitch: Number("float"),
136
+ * // },
137
+ * // Quality: {
138
+ * // Brightness: Number("float"),
139
+ * // Sharpness: Number("float"),
140
+ * // },
141
+ * // Emotions: [
142
+ * // {
143
+ * // Type: "HAPPY" || "SAD" || "ANGRY" || "CONFUSED" || "DISGUSTED" || "SURPRISED" || "CALM" || "UNKNOWN" || "FEAR",
144
+ * // Confidence: Number("float"),
145
+ * // },
146
+ * // ],
147
+ * // Smile: {
148
+ * // Value: true || false,
149
+ * // Confidence: Number("float"),
150
+ * // },
151
+ * // },
152
+ * // ],
153
+ * // OrientationCorrection: "ROTATE_0" || "ROTATE_90" || "ROTATE_180" || "ROTATE_270",
154
+ * // };
155
+ *
67
156
  * ```
68
157
  *
69
158
  * @param RecognizeCelebritiesCommandInput - {@link RecognizeCelebritiesCommandInput}
@@ -101,6 +190,8 @@ export interface RecognizeCelebritiesCommandOutput extends RecognizeCelebritiesR
101
190
  * @throws {@link ThrottlingException} (server fault)
102
191
  * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
103
192
  *
193
+ * @throws {@link RekognitionServiceException}
194
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
104
195
  *
105
196
  */
106
197
  export declare class RecognizeCelebritiesCommand extends $Command<RecognizeCelebritiesCommandInput, RecognizeCelebritiesCommandOutput, RekognitionClientResolvedConfig> {
@@ -78,6 +78,35 @@ export interface SearchFacesByImageCommandOutput extends SearchFacesByImageRespo
78
78
  * };
79
79
  * const command = new SearchFacesByImageCommand(input);
80
80
  * const response = await client.send(command);
81
+ * // { // SearchFacesByImageResponse
82
+ * // SearchedFaceBoundingBox: { // BoundingBox
83
+ * // Width: Number("float"),
84
+ * // Height: Number("float"),
85
+ * // Left: Number("float"),
86
+ * // Top: Number("float"),
87
+ * // },
88
+ * // SearchedFaceConfidence: Number("float"),
89
+ * // FaceMatches: [ // FaceMatchList
90
+ * // { // FaceMatch
91
+ * // Similarity: Number("float"),
92
+ * // Face: { // Face
93
+ * // FaceId: "STRING_VALUE",
94
+ * // BoundingBox: {
95
+ * // Width: Number("float"),
96
+ * // Height: Number("float"),
97
+ * // Left: Number("float"),
98
+ * // Top: Number("float"),
99
+ * // },
100
+ * // ImageId: "STRING_VALUE",
101
+ * // ExternalImageId: "STRING_VALUE",
102
+ * // Confidence: Number("float"),
103
+ * // IndexFacesModelVersion: "STRING_VALUE",
104
+ * // },
105
+ * // },
106
+ * // ],
107
+ * // FaceModelVersion: "STRING_VALUE",
108
+ * // };
109
+ *
81
110
  * ```
82
111
  *
83
112
  * @param SearchFacesByImageCommandInput - {@link SearchFacesByImageCommandInput}
@@ -118,6 +147,8 @@ export interface SearchFacesByImageCommandOutput extends SearchFacesByImageRespo
118
147
  * @throws {@link ThrottlingException} (server fault)
119
148
  * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
120
149
  *
150
+ * @throws {@link RekognitionServiceException}
151
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
121
152
  *
122
153
  * @example To search for faces matching a supplied image
123
154
  * ```javascript
@@ -49,6 +49,29 @@ export interface SearchFacesCommandOutput extends SearchFacesResponse, __Metadat
49
49
  * };
50
50
  * const command = new SearchFacesCommand(input);
51
51
  * const response = await client.send(command);
52
+ * // { // SearchFacesResponse
53
+ * // SearchedFaceId: "STRING_VALUE",
54
+ * // FaceMatches: [ // FaceMatchList
55
+ * // { // FaceMatch
56
+ * // Similarity: Number("float"),
57
+ * // Face: { // Face
58
+ * // FaceId: "STRING_VALUE",
59
+ * // BoundingBox: { // BoundingBox
60
+ * // Width: Number("float"),
61
+ * // Height: Number("float"),
62
+ * // Left: Number("float"),
63
+ * // Top: Number("float"),
64
+ * // },
65
+ * // ImageId: "STRING_VALUE",
66
+ * // ExternalImageId: "STRING_VALUE",
67
+ * // Confidence: Number("float"),
68
+ * // IndexFacesModelVersion: "STRING_VALUE",
69
+ * // },
70
+ * // },
71
+ * // ],
72
+ * // FaceModelVersion: "STRING_VALUE",
73
+ * // };
74
+ *
52
75
  * ```
53
76
  *
54
77
  * @param SearchFacesCommandInput - {@link SearchFacesCommandInput}
@@ -77,6 +100,8 @@ export interface SearchFacesCommandOutput extends SearchFacesResponse, __Metadat
77
100
  * @throws {@link ThrottlingException} (server fault)
78
101
  * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
79
102
  *
103
+ * @throws {@link RekognitionServiceException}
104
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
80
105
  *
81
106
  * @example To delete a face
82
107
  * ```javascript
@@ -53,6 +53,10 @@ export interface StartCelebrityRecognitionCommandOutput extends StartCelebrityRe
53
53
  * };
54
54
  * const command = new StartCelebrityRecognitionCommand(input);
55
55
  * const response = await client.send(command);
56
+ * // { // StartCelebrityRecognitionResponse
57
+ * // JobId: "STRING_VALUE",
58
+ * // };
59
+ *
56
60
  * ```
57
61
  *
58
62
  * @param StartCelebrityRecognitionCommandInput - {@link StartCelebrityRecognitionCommandInput}
@@ -94,6 +98,8 @@ export interface StartCelebrityRecognitionCommandOutput extends StartCelebrityRe
94
98
  * <p>The file size or duration of the supplied media is too large. The maximum file size is 10GB.
95
99
  * The maximum duration is 6 hours. </p>
96
100
  *
101
+ * @throws {@link RekognitionServiceException}
102
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
97
103
  *
98
104
  */
99
105
  export declare class StartCelebrityRecognitionCommand extends $Command<StartCelebrityRecognitionCommandInput, StartCelebrityRecognitionCommandOutput, RekognitionClientResolvedConfig> {
@@ -54,6 +54,10 @@ export interface StartContentModerationCommandOutput extends StartContentModerat
54
54
  * };
55
55
  * const command = new StartContentModerationCommand(input);
56
56
  * const response = await client.send(command);
57
+ * // { // StartContentModerationResponse
58
+ * // JobId: "STRING_VALUE",
59
+ * // };
60
+ *
57
61
  * ```
58
62
  *
59
63
  * @param StartContentModerationCommandInput - {@link StartContentModerationCommandInput}
@@ -95,6 +99,8 @@ export interface StartContentModerationCommandOutput extends StartContentModerat
95
99
  * <p>The file size or duration of the supplied media is too large. The maximum file size is 10GB.
96
100
  * The maximum duration is 6 hours. </p>
97
101
  *
102
+ * @throws {@link RekognitionServiceException}
103
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
98
104
  *
99
105
  */
100
106
  export declare class StartContentModerationCommand extends $Command<StartContentModerationCommandInput, StartContentModerationCommandOutput, RekognitionClientResolvedConfig> {
@@ -55,6 +55,10 @@ export interface StartFaceDetectionCommandOutput extends StartFaceDetectionRespo
55
55
  * };
56
56
  * const command = new StartFaceDetectionCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // StartFaceDetectionResponse
59
+ * // JobId: "STRING_VALUE",
60
+ * // };
61
+ *
58
62
  * ```
59
63
  *
60
64
  * @param StartFaceDetectionCommandInput - {@link StartFaceDetectionCommandInput}
@@ -96,6 +100,8 @@ export interface StartFaceDetectionCommandOutput extends StartFaceDetectionRespo
96
100
  * <p>The file size or duration of the supplied media is too large. The maximum file size is 10GB.
97
101
  * The maximum duration is 6 hours. </p>
98
102
  *
103
+ * @throws {@link RekognitionServiceException}
104
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
99
105
  *
100
106
  */
101
107
  export declare class StartFaceDetectionCommand extends $Command<StartFaceDetectionCommandInput, StartFaceDetectionCommandOutput, RekognitionClientResolvedConfig> {
@@ -55,6 +55,10 @@ export interface StartFaceSearchCommandOutput extends StartFaceSearchResponse, _
55
55
  * };
56
56
  * const command = new StartFaceSearchCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // StartFaceSearchResponse
59
+ * // JobId: "STRING_VALUE",
60
+ * // };
61
+ *
58
62
  * ```
59
63
  *
60
64
  * @param StartFaceSearchCommandInput - {@link StartFaceSearchCommandInput}
@@ -99,6 +103,8 @@ export interface StartFaceSearchCommandOutput extends StartFaceSearchResponse, _
99
103
  * <p>The file size or duration of the supplied media is too large. The maximum file size is 10GB.
100
104
  * The maximum duration is 6 hours. </p>
101
105
  *
106
+ * @throws {@link RekognitionServiceException}
107
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
102
108
  *
103
109
  */
104
110
  export declare class StartFaceSearchCommand extends $Command<StartFaceSearchCommandInput, StartFaceSearchCommandOutput, RekognitionClientResolvedConfig> {
@@ -87,6 +87,10 @@ export interface StartLabelDetectionCommandOutput extends StartLabelDetectionRes
87
87
  * };
88
88
  * const command = new StartLabelDetectionCommand(input);
89
89
  * const response = await client.send(command);
90
+ * // { // StartLabelDetectionResponse
91
+ * // JobId: "STRING_VALUE",
92
+ * // };
93
+ *
90
94
  * ```
91
95
  *
92
96
  * @param StartLabelDetectionCommandInput - {@link StartLabelDetectionCommandInput}
@@ -128,6 +132,8 @@ export interface StartLabelDetectionCommandOutput extends StartLabelDetectionRes
128
132
  * <p>The file size or duration of the supplied media is too large. The maximum file size is 10GB.
129
133
  * The maximum duration is 6 hours. </p>
130
134
  *
135
+ * @throws {@link RekognitionServiceException}
136
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
131
137
  *
132
138
  */
133
139
  export declare class StartLabelDetectionCommand extends $Command<StartLabelDetectionCommandInput, StartLabelDetectionCommandOutput, RekognitionClientResolvedConfig> {
@@ -51,6 +51,10 @@ export interface StartPersonTrackingCommandOutput extends StartPersonTrackingRes
51
51
  * };
52
52
  * const command = new StartPersonTrackingCommand(input);
53
53
  * const response = await client.send(command);
54
+ * // { // StartPersonTrackingResponse
55
+ * // JobId: "STRING_VALUE",
56
+ * // };
57
+ *
54
58
  * ```
55
59
  *
56
60
  * @param StartPersonTrackingCommandInput - {@link StartPersonTrackingCommandInput}
@@ -92,6 +96,8 @@ export interface StartPersonTrackingCommandOutput extends StartPersonTrackingRes
92
96
  * <p>The file size or duration of the supplied media is too large. The maximum file size is 10GB.
93
97
  * The maximum duration is 6 hours. </p>
94
98
  *
99
+ * @throws {@link RekognitionServiceException}
100
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
95
101
  *
96
102
  */
97
103
  export declare class StartPersonTrackingCommand extends $Command<StartPersonTrackingCommandInput, StartPersonTrackingCommandOutput, RekognitionClientResolvedConfig> {
@@ -43,6 +43,10 @@ export interface StartProjectVersionCommandOutput extends StartProjectVersionRes
43
43
  * };
44
44
  * const command = new StartProjectVersionCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // StartProjectVersionResponse
47
+ * // Status: "TRAINING_IN_PROGRESS" || "TRAINING_COMPLETED" || "TRAINING_FAILED" || "STARTING" || "RUNNING" || "FAILED" || "STOPPING" || "STOPPED" || "DELETING" || "COPYING_IN_PROGRESS" || "COPYING_COMPLETED" || "COPYING_FAILED",
48
+ * // };
49
+ *
46
50
  * ```
47
51
  *
48
52
  * @param StartProjectVersionCommandInput - {@link StartProjectVersionCommandInput}
@@ -79,6 +83,8 @@ export interface StartProjectVersionCommandOutput extends StartProjectVersionRes
79
83
  * @throws {@link ThrottlingException} (server fault)
80
84
  * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
81
85
  *
86
+ * @throws {@link RekognitionServiceException}
87
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
82
88
  *
83
89
  */
84
90
  export declare class StartProjectVersionCommand extends $Command<StartProjectVersionCommandInput, StartProjectVersionCommandOutput, RekognitionClientResolvedConfig> {
@@ -71,6 +71,10 @@ export interface StartSegmentDetectionCommandOutput extends StartSegmentDetectio
71
71
  * };
72
72
  * const command = new StartSegmentDetectionCommand(input);
73
73
  * const response = await client.send(command);
74
+ * // { // StartSegmentDetectionResponse
75
+ * // JobId: "STRING_VALUE",
76
+ * // };
77
+ *
74
78
  * ```
75
79
  *
76
80
  * @param StartSegmentDetectionCommandInput - {@link StartSegmentDetectionCommandInput}
@@ -112,6 +116,8 @@ export interface StartSegmentDetectionCommandOutput extends StartSegmentDetectio
112
116
  * <p>The file size or duration of the supplied media is too large. The maximum file size is 10GB.
113
117
  * The maximum duration is 6 hours. </p>
114
118
  *
119
+ * @throws {@link RekognitionServiceException}
120
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
115
121
  *
116
122
  */
117
123
  export declare class StartSegmentDetectionCommand extends $Command<StartSegmentDetectionCommandInput, StartSegmentDetectionCommandOutput, RekognitionClientResolvedConfig> {
@@ -43,6 +43,10 @@ export interface StartStreamProcessorCommandOutput extends StartStreamProcessorR
43
43
  * };
44
44
  * const command = new StartStreamProcessorCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // StartStreamProcessorResponse
47
+ * // SessionId: "STRING_VALUE",
48
+ * // };
49
+ *
46
50
  * ```
47
51
  *
48
52
  * @param StartStreamProcessorCommandInput - {@link StartStreamProcessorCommandInput}
@@ -74,6 +78,8 @@ export interface StartStreamProcessorCommandOutput extends StartStreamProcessorR
74
78
  * @throws {@link ThrottlingException} (server fault)
75
79
  * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
76
80
  *
81
+ * @throws {@link RekognitionServiceException}
82
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
77
83
  *
78
84
  */
79
85
  export declare class StartStreamProcessorCommand extends $Command<StartStreamProcessorCommandInput, StartStreamProcessorCommandOutput, RekognitionClientResolvedConfig> {
@@ -73,6 +73,10 @@ export interface StartTextDetectionCommandOutput extends StartTextDetectionRespo
73
73
  * };
74
74
  * const command = new StartTextDetectionCommand(input);
75
75
  * const response = await client.send(command);
76
+ * // { // StartTextDetectionResponse
77
+ * // JobId: "STRING_VALUE",
78
+ * // };
79
+ *
76
80
  * ```
77
81
  *
78
82
  * @param StartTextDetectionCommandInput - {@link StartTextDetectionCommandInput}
@@ -114,6 +118,8 @@ export interface StartTextDetectionCommandOutput extends StartTextDetectionRespo
114
118
  * <p>The file size or duration of the supplied media is too large. The maximum file size is 10GB.
115
119
  * The maximum duration is 6 hours. </p>
116
120
  *
121
+ * @throws {@link RekognitionServiceException}
122
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
117
123
  *
118
124
  */
119
125
  export declare class StartTextDetectionCommand extends $Command<StartTextDetectionCommandInput, StartTextDetectionCommandOutput, RekognitionClientResolvedConfig> {
@@ -33,6 +33,10 @@ export interface StopProjectVersionCommandOutput extends StopProjectVersionRespo
33
33
  * };
34
34
  * const command = new StopProjectVersionCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // StopProjectVersionResponse
37
+ * // Status: "TRAINING_IN_PROGRESS" || "TRAINING_COMPLETED" || "TRAINING_FAILED" || "STARTING" || "RUNNING" || "FAILED" || "STOPPING" || "STOPPED" || "DELETING" || "COPYING_IN_PROGRESS" || "COPYING_COMPLETED" || "COPYING_FAILED",
38
+ * // };
39
+ *
36
40
  * ```
37
41
  *
38
42
  * @param StopProjectVersionCommandInput - {@link StopProjectVersionCommandInput}
@@ -64,6 +68,8 @@ export interface StopProjectVersionCommandOutput extends StopProjectVersionRespo
64
68
  * @throws {@link ThrottlingException} (server fault)
65
69
  * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
66
70
  *
71
+ * @throws {@link RekognitionServiceException}
72
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
67
73
  *
68
74
  */
69
75
  export declare class StopProjectVersionCommand extends $Command<StopProjectVersionCommandInput, StopProjectVersionCommandOutput, RekognitionClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface StopStreamProcessorCommandOutput extends StopStreamProcessorRes
31
31
  * };
32
32
  * const command = new StopStreamProcessorCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param StopStreamProcessorCommandInput - {@link StopStreamProcessorCommandInput}
@@ -62,6 +64,8 @@ export interface StopStreamProcessorCommandOutput extends StopStreamProcessorRes
62
64
  * @throws {@link ThrottlingException} (server fault)
63
65
  * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
64
66
  *
67
+ * @throws {@link RekognitionServiceException}
68
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
65
69
  *
66
70
  */
67
71
  export declare class StopStreamProcessorCommand extends $Command<StopStreamProcessorCommandInput, StopStreamProcessorCommandOutput, RekognitionClientResolvedConfig> {
@@ -38,6 +38,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
38
38
  * };
39
39
  * const command = new TagResourceCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // {};
42
+ *
41
43
  * ```
42
44
  *
43
45
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -71,6 +73,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
71
73
  * @throws {@link ThrottlingException} (server fault)
72
74
  * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
73
75
  *
76
+ * @throws {@link RekognitionServiceException}
77
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
74
78
  *
75
79
  */
76
80
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, RekognitionClientResolvedConfig> {
@@ -1,7 +1,8 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
+ import { UntagResourceRequest } from "../models/models_0";
5
+ import { UntagResourceResponse } from "../models/models_1";
5
6
  import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
6
7
  /**
7
8
  * @public
@@ -37,6 +38,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
37
38
  * };
38
39
  * const command = new UntagResourceCommand(input);
39
40
  * const response = await client.send(command);
41
+ * // {};
42
+ *
40
43
  * ```
41
44
  *
42
45
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -65,6 +68,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
65
68
  * @throws {@link ThrottlingException} (server fault)
66
69
  * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
67
70
  *
71
+ * @throws {@link RekognitionServiceException}
72
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
68
73
  *
69
74
  */
70
75
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, RekognitionClientResolvedConfig> {
@@ -55,6 +55,8 @@ export interface UpdateDatasetEntriesCommandOutput extends UpdateDatasetEntriesR
55
55
  * };
56
56
  * const command = new UpdateDatasetEntriesCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // {};
59
+ *
58
60
  * ```
59
61
  *
60
62
  * @param UpdateDatasetEntriesCommandInput - {@link UpdateDatasetEntriesCommandInput}
@@ -91,6 +93,8 @@ export interface UpdateDatasetEntriesCommandOutput extends UpdateDatasetEntriesR
91
93
  * @throws {@link ThrottlingException} (server fault)
92
94
  * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
93
95
  *
96
+ * @throws {@link RekognitionServiceException}
97
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
94
98
  *
95
99
  */
96
100
  export declare class UpdateDatasetEntriesCommand extends $Command<UpdateDatasetEntriesCommandInput, UpdateDatasetEntriesCommandOutput, RekognitionClientResolvedConfig> {
@@ -63,6 +63,8 @@ export interface UpdateStreamProcessorCommandOutput extends UpdateStreamProcesso
63
63
  * };
64
64
  * const command = new UpdateStreamProcessorCommand(input);
65
65
  * const response = await client.send(command);
66
+ * // {};
67
+ *
66
68
  * ```
67
69
  *
68
70
  * @param UpdateStreamProcessorCommandInput - {@link UpdateStreamProcessorCommandInput}
@@ -94,6 +96,8 @@ export interface UpdateStreamProcessorCommandOutput extends UpdateStreamProcesso
94
96
  * @throws {@link ThrottlingException} (server fault)
95
97
  * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
96
98
  *
99
+ * @throws {@link RekognitionServiceException}
100
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
97
101
  *
98
102
  */
99
103
  export declare class UpdateStreamProcessorCommand extends $Command<UpdateStreamProcessorCommandInput, UpdateStreamProcessorCommandOutput, RekognitionClientResolvedConfig> {