@aws-sdk/client-rekognition 3.774.0 → 3.777.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 (82) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/RekognitionClient.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/AssociateFacesCommand.d.ts +18 -18
  8. package/dist-types/commands/CompareFacesCommand.d.ts +28 -28
  9. package/dist-types/commands/CopyProjectVersionCommand.d.ts +14 -14
  10. package/dist-types/commands/CreateCollectionCommand.d.ts +6 -6
  11. package/dist-types/commands/CreateDatasetCommand.d.ts +11 -11
  12. package/dist-types/commands/CreateFaceLivenessSessionCommand.d.ts +1 -0
  13. package/dist-types/commands/CreateProjectCommand.d.ts +5 -5
  14. package/dist-types/commands/CreateProjectVersionCommand.d.ts +9 -9
  15. package/dist-types/commands/CreateStreamProcessorCommand.d.ts +1 -0
  16. package/dist-types/commands/CreateUserCommand.d.ts +8 -5
  17. package/dist-types/commands/DeleteCollectionCommand.d.ts +5 -5
  18. package/dist-types/commands/DeleteDatasetCommand.d.ts +7 -4
  19. package/dist-types/commands/DeleteFacesCommand.d.ts +6 -6
  20. package/dist-types/commands/DeleteProjectCommand.d.ts +5 -5
  21. package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +9 -6
  22. package/dist-types/commands/DeleteProjectVersionCommand.d.ts +5 -5
  23. package/dist-types/commands/DeleteStreamProcessorCommand.d.ts +1 -0
  24. package/dist-types/commands/DeleteUserCommand.d.ts +9 -6
  25. package/dist-types/commands/DescribeCollectionCommand.d.ts +1 -0
  26. package/dist-types/commands/DescribeDatasetCommand.d.ts +1 -28
  27. package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +1 -105
  28. package/dist-types/commands/DescribeProjectsCommand.d.ts +1 -42
  29. package/dist-types/commands/DescribeStreamProcessorCommand.d.ts +1 -0
  30. package/dist-types/commands/DetectCustomLabelsCommand.d.ts +15 -15
  31. package/dist-types/commands/DetectFacesCommand.d.ts +38 -38
  32. package/dist-types/commands/DetectLabelsCommand.d.ts +14 -14
  33. package/dist-types/commands/DetectModerationLabelsCommand.d.ts +1 -0
  34. package/dist-types/commands/DetectProtectiveEquipmentCommand.d.ts +1 -0
  35. package/dist-types/commands/DetectTextCommand.d.ts +1 -0
  36. package/dist-types/commands/DisassociateFacesCommand.d.ts +14 -14
  37. package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +9 -6
  38. package/dist-types/commands/GetCelebrityInfoCommand.d.ts +1 -0
  39. package/dist-types/commands/GetCelebrityRecognitionCommand.d.ts +1 -0
  40. package/dist-types/commands/GetContentModerationCommand.d.ts +1 -0
  41. package/dist-types/commands/GetFaceDetectionCommand.d.ts +1 -0
  42. package/dist-types/commands/GetFaceLivenessSessionResultsCommand.d.ts +1 -0
  43. package/dist-types/commands/GetFaceSearchCommand.d.ts +1 -0
  44. package/dist-types/commands/GetLabelDetectionCommand.d.ts +1 -0
  45. package/dist-types/commands/GetMediaAnalysisJobCommand.d.ts +1 -48
  46. package/dist-types/commands/GetPersonTrackingCommand.d.ts +1 -0
  47. package/dist-types/commands/GetSegmentDetectionCommand.d.ts +1 -0
  48. package/dist-types/commands/GetTextDetectionCommand.d.ts +1 -0
  49. package/dist-types/commands/IndexFacesCommand.d.ts +90 -90
  50. package/dist-types/commands/ListCollectionsCommand.d.ts +5 -5
  51. package/dist-types/commands/ListDatasetEntriesCommand.d.ts +13 -13
  52. package/dist-types/commands/ListDatasetLabelsCommand.d.ts +16 -16
  53. package/dist-types/commands/ListFacesCommand.d.ts +35 -35
  54. package/dist-types/commands/ListMediaAnalysisJobsCommand.d.ts +1 -52
  55. package/dist-types/commands/ListProjectPoliciesCommand.d.ts +1 -28
  56. package/dist-types/commands/ListStreamProcessorsCommand.d.ts +1 -0
  57. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
  58. package/dist-types/commands/ListUsersCommand.d.ts +10 -10
  59. package/dist-types/commands/PutProjectPolicyCommand.d.ts +8 -8
  60. package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +1 -0
  61. package/dist-types/commands/SearchFacesByImageCommand.d.ts +27 -27
  62. package/dist-types/commands/SearchFacesCommand.d.ts +39 -39
  63. package/dist-types/commands/SearchUsersByImageCommand.d.ts +39 -39
  64. package/dist-types/commands/SearchUsersCommand.d.ts +15 -15
  65. package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +1 -0
  66. package/dist-types/commands/StartContentModerationCommand.d.ts +1 -0
  67. package/dist-types/commands/StartFaceDetectionCommand.d.ts +1 -0
  68. package/dist-types/commands/StartFaceSearchCommand.d.ts +1 -0
  69. package/dist-types/commands/StartLabelDetectionCommand.d.ts +1 -0
  70. package/dist-types/commands/StartMediaAnalysisJobCommand.d.ts +16 -16
  71. package/dist-types/commands/StartPersonTrackingCommand.d.ts +1 -0
  72. package/dist-types/commands/StartProjectVersionCommand.d.ts +7 -7
  73. package/dist-types/commands/StartSegmentDetectionCommand.d.ts +1 -0
  74. package/dist-types/commands/StartStreamProcessorCommand.d.ts +1 -0
  75. package/dist-types/commands/StartTextDetectionCommand.d.ts +1 -0
  76. package/dist-types/commands/StopProjectVersionCommand.d.ts +5 -5
  77. package/dist-types/commands/StopStreamProcessorCommand.d.ts +1 -0
  78. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  79. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  80. package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +9 -6
  81. package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +1 -0
  82. package/package.json +34 -34
@@ -85,23 +85,23 @@ declare const DeleteProjectCommand_base: {
85
85
  * @throws {@link RekognitionServiceException}
86
86
  * <p>Base exception class for all service exceptions from Rekognition service.</p>
87
87
  *
88
- * @public
88
+ *
89
89
  * @example To delete an Amazon Rekognition Custom Labels project
90
90
  * ```javascript
91
91
  * // Deletes an Amazon Rekognition Custom Labels projects.
92
92
  * const input = {
93
- * "ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/1690405809285"
93
+ * ProjectArn: "arn:aws:rekognition:us-east-1:111122223333:project/my-project/1690405809285"
94
94
  * };
95
95
  * const command = new DeleteProjectCommand(input);
96
96
  * const response = await client.send(command);
97
- * /* response ==
97
+ * /* response is
98
98
  * {
99
- * "Status": "DELETING"
99
+ * Status: "DELETING"
100
100
  * }
101
101
  * *\/
102
- * // example id: to-delete-an-amazon-rekognition-custom-labels-project-1690409093478
103
102
  * ```
104
103
  *
104
+ * @public
105
105
  */
106
106
  export declare class DeleteProjectCommand extends DeleteProjectCommand_base {
107
107
  /** @internal type navigation helper, not in runtime. */
@@ -82,20 +82,23 @@ declare const DeleteProjectPolicyCommand_base: {
82
82
  * @throws {@link RekognitionServiceException}
83
83
  * <p>Base exception class for all service exceptions from Rekognition service.</p>
84
84
  *
85
- * @public
85
+ *
86
86
  * @example DeleteProjectPolicy
87
87
  * ```javascript
88
88
  * // This operation deletes a revision of an existing project policy from an Amazon Rekognition Custom Labels project.
89
89
  * const input = {
90
- * "PolicyName": "testPolicy1",
91
- * "PolicyRevisionId": "3b274c25e9203a56a99e00e3ff205fbc",
92
- * "ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/SourceProject/1656557123456"
90
+ * PolicyName: "testPolicy1",
91
+ * PolicyRevisionId: "3b274c25e9203a56a99e00e3ff205fbc",
92
+ * ProjectArn: "arn:aws:rekognition:us-east-1:111122223333:project/SourceProject/1656557123456"
93
93
  * };
94
94
  * const command = new DeleteProjectPolicyCommand(input);
95
- * await client.send(command);
96
- * // example id: deleteprojectpolicy-1658204413810
95
+ * const response = await client.send(command);
96
+ * /* response is
97
+ * { /* empty *\/ }
98
+ * *\/
97
99
  * ```
98
100
  *
101
+ * @public
99
102
  */
100
103
  export declare class DeleteProjectPolicyCommand extends DeleteProjectPolicyCommand_base {
101
104
  /** @internal type navigation helper, not in runtime. */
@@ -83,23 +83,23 @@ declare const DeleteProjectVersionCommand_base: {
83
83
  * @throws {@link RekognitionServiceException}
84
84
  * <p>Base exception class for all service exceptions from Rekognition service.</p>
85
85
  *
86
- * @public
86
+ *
87
87
  * @example To delete an Amazon Rekognition Custom Labels model
88
88
  * ```javascript
89
89
  * // Deletes a version of an Amazon Rekognition Custom Labels model.
90
90
  * const input = {
91
- * "ProjectVersionArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958"
91
+ * ProjectVersionArn: "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958"
92
92
  * };
93
93
  * const command = new DeleteProjectVersionCommand(input);
94
94
  * const response = await client.send(command);
95
- * /* response ==
95
+ * /* response is
96
96
  * {
97
- * "Status": "DELETING"
97
+ * Status: "DELETING"
98
98
  * }
99
99
  * *\/
100
- * // example id: to-delete-an-amazon-rekognition-custom-labels-model-1690827562055
101
100
  * ```
102
101
  *
102
+ * @public
103
103
  */
104
104
  export declare class DeleteProjectVersionCommand extends DeleteProjectVersionCommand_base {
105
105
  /** @internal type navigation helper, not in runtime. */
@@ -76,6 +76,7 @@ declare const DeleteStreamProcessorCommand_base: {
76
76
  * @throws {@link RekognitionServiceException}
77
77
  * <p>Base exception class for all service exceptions from Rekognition service.</p>
78
78
  *
79
+ *
79
80
  * @public
80
81
  */
81
82
  export declare class DeleteStreamProcessorCommand extends DeleteStreamProcessorCommand_base {
@@ -86,20 +86,23 @@ declare const DeleteUserCommand_base: {
86
86
  * @throws {@link RekognitionServiceException}
87
87
  * <p>Base exception class for all service exceptions from Rekognition service.</p>
88
88
  *
89
- * @public
89
+ *
90
90
  * @example DeleteUser
91
91
  * ```javascript
92
92
  * // Deletes the specified UserID within the collection.
93
93
  * const input = {
94
- * "ClientRequestToken": "550e8400-e29b-41d4-a716-446655440001",
95
- * "CollectionId": "MyCollection",
96
- * "UserId": "DemoUser"
94
+ * ClientRequestToken: "550e8400-e29b-41d4-a716-446655440001",
95
+ * CollectionId: "MyCollection",
96
+ * UserId: "DemoUser"
97
97
  * };
98
98
  * const command = new DeleteUserCommand(input);
99
- * await client.send(command);
100
- * // example id: deleteuser-1686181913475
99
+ * const response = await client.send(command);
100
+ * /* response is
101
+ * { /* metadata only *\/ }
102
+ * *\/
101
103
  * ```
102
104
  *
105
+ * @public
103
106
  */
104
107
  export declare class DeleteUserCommand extends DeleteUserCommand_base {
105
108
  /** @internal type navigation helper, not in runtime. */
@@ -82,6 +82,7 @@ declare const DescribeCollectionCommand_base: {
82
82
  * @throws {@link RekognitionServiceException}
83
83
  * <p>Base exception class for all service exceptions from Rekognition service.</p>
84
84
  *
85
+ *
85
86
  * @public
86
87
  */
87
88
  export declare class DescribeCollectionCommand extends DescribeCollectionCommand_base {
@@ -93,35 +93,8 @@ declare const DescribeDatasetCommand_base: {
93
93
  * @throws {@link RekognitionServiceException}
94
94
  * <p>Base exception class for all service exceptions from Rekognition service.</p>
95
95
  *
96
- * @public
97
- * @example To describe an Amazon Rekognition Custom Labels dataset
98
- * ```javascript
99
- * // Describes an Amazon Rekognition Custom Labels dataset.
100
- * const input = {
101
- * "DatasetArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/dataset/train/1690476084535"
102
- * };
103
- * const command = new DescribeDatasetCommand(input);
104
- * const response = await client.send(command);
105
- * /* response ==
106
- * {
107
- * "DatasetDescription": {
108
- * "CreationTimestamp": "2023-07-27T09:41:24.738000-07:00",
109
- * "DatasetStats": {
110
- * "ErrorEntries": 0,
111
- * "LabeledEntries": 15,
112
- * "TotalEntries": 15,
113
- * "TotalLabels": 9
114
- * },
115
- * "LastUpdatedTimestamp": "2023-07-28T09:46:45.406000-07:00",
116
- * "Status": "UPDATE_FAILED",
117
- * "StatusMessage": "The manifest file contains images from multiple S3 buckets.",
118
- * "StatusMessageCode": "CLIENT_ERROR"
119
- * }
120
- * }
121
- * *\/
122
- * // example id: to-describe-an-amazon-rekognition-custom-labels-dataset-1690827075604
123
- * ```
124
96
  *
97
+ * @public
125
98
  */
126
99
  export declare class DescribeDatasetCommand extends DescribeDatasetCommand_base {
127
100
  /** @internal type navigation helper, not in runtime. */
@@ -193,112 +193,8 @@ declare const DescribeProjectVersionsCommand_base: {
193
193
  * @throws {@link RekognitionServiceException}
194
194
  * <p>Base exception class for all service exceptions from Rekognition service.</p>
195
195
  *
196
- * @public
197
- * @example To describe an Amazon Rekognition Custom Labels model
198
- * ```javascript
199
- * // Describes a version of an Amazon Rekognition Custom Labels model.
200
- * const input = {
201
- * "ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/1690474772815",
202
- * "VersionNames": [
203
- * "1"
204
- * ]
205
- * };
206
- * const command = new DescribeProjectVersionsCommand(input);
207
- * const response = await client.send(command);
208
- * /* response ==
209
- * {
210
- * "NextToken": "",
211
- * "ProjectVersionDescriptions": [
212
- * {
213
- * "BillableTrainingTimeInSeconds": 1899,
214
- * "CreationTimestamp": "2023-07-28T08:05:51.958000-07:00",
215
- * "EvaluationResult": {
216
- * "F1Score": 1,
217
- * "Summary": {
218
- * "S3Object": {
219
- * "Bucket": "custom-labels-console-us-east-1-111111111",
220
- * "Name": "my-model-output/EvaluationResultSummary-my-project-1.json"
221
- * }
222
- * }
223
- * },
224
- * "ManifestSummary": {
225
- * "S3Object": {
226
- * "Bucket": "custom-labels-console-us-east-1-111111111",
227
- * "Name": "my-model-output/ManifestSummary-my-project-1.json"
228
- * }
229
- * },
230
- * "OutputConfig": {
231
- * "S3Bucket": "custom-labels-console-us-east-1-111111111",
232
- * "S3KeyPrefix": "my-model-output"
233
- * },
234
- * "ProjectVersionArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958",
235
- * "Status": "TRAINING_COMPLETED",
236
- * "StatusMessage": "The model is ready to run.",
237
- * "TestingDataResult": {
238
- * "Input": {
239
- * "AutoCreate": false
240
- * },
241
- * "Output": {
242
- * "Assets": [
243
- * {
244
- * "GroundTruthManifest": {
245
- * "S3Object": {
246
- * "Bucket": "custom-labels-console-us-east-1-111111111",
247
- * "Name": "my-model-output/TestingGroundTruth-my-project-1.json"
248
- * }
249
- * }
250
- * }
251
- * ],
252
- * "AutoCreate": false
253
- * },
254
- * "Validation": {
255
- * "Assets": [
256
- * {
257
- * "GroundTruthManifest": {
258
- * "S3Object": {
259
- * "Bucket": "custom-labels-console-us-east-1-111111111",
260
- * "Name": "my-model-output/TestingManifestWithValidation-my-project-1.json"
261
- * }
262
- * }
263
- * }
264
- * ]
265
- * }
266
- * },
267
- * "TrainingDataResult": {
268
- * "Input": {},
269
- * "Output": {
270
- * "Assets": [
271
- * {
272
- * "GroundTruthManifest": {
273
- * "S3Object": {
274
- * "Bucket": "custom-labels-console-us-east-1-111111111",
275
- * "Name": "my-model-output/TrainingGroundTruth-my-project-1.json"
276
- * }
277
- * }
278
- * }
279
- * ]
280
- * },
281
- * "Validation": {
282
- * "Assets": [
283
- * {
284
- * "GroundTruthManifest": {
285
- * "S3Object": {
286
- * "Bucket": "custom-labels-console-us-east-1-111111111",
287
- * "Name": "my-model-output/TrainingManifestWithValidation-my-project-1.json"
288
- * }
289
- * }
290
- * }
291
- * ]
292
- * }
293
- * },
294
- * "TrainingEndTimestamp": "2023-07-28T08:33:10.827000-07:00"
295
- * }
296
- * ]
297
- * }
298
- * *\/
299
- * // example id: to-describes-an-amazon-rekognition-custom-labels-model-1690558265950
300
- * ```
301
196
  *
197
+ * @public
302
198
  */
303
199
  export declare class DescribeProjectVersionsCommand extends DescribeProjectVersionsCommand_base {
304
200
  /** @internal type navigation helper, not in runtime. */
@@ -101,49 +101,8 @@ declare const DescribeProjectsCommand_base: {
101
101
  * @throws {@link RekognitionServiceException}
102
102
  * <p>Base exception class for all service exceptions from Rekognition service.</p>
103
103
  *
104
- * @public
105
- * @example To describe an Amazon Rekognition Custom Labels project.
106
- * ```javascript
107
- * // Describes an Amazon Rekognition Custom Labels projects.
108
- * const input = {
109
- * "ProjectNames": [
110
- * "my-project"
111
- * ]
112
- * };
113
- * const command = new DescribeProjectsCommand(input);
114
- * const response = await client.send(command);
115
- * /* response ==
116
- * {
117
- * "ProjectDescriptions": [
118
- * {
119
- * "CreationTimestamp": "2022-06-13T15:16:00.634000-07:00",
120
- * "Datasets": [
121
- * {
122
- * "CreationTimestamp": "2022-06-13T15:17:34.620000-07:00",
123
- * "DatasetArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/dataset/test/1655158654491",
124
- * "DatasetType": "TEST",
125
- * "Status": "CREATE_COMPLETE",
126
- * "StatusMessage": "The dataset was successfully created from the manifest file.",
127
- * "StatusMessageCode": "SUCCESS"
128
- * },
129
- * {
130
- * "CreationTimestamp": "2022-06-13T15:17:50.118000-07:00",
131
- * "DatasetArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/dataset/train/1655158669954",
132
- * "DatasetType": "TRAIN",
133
- * "Status": "CREATE_COMPLETE",
134
- * "StatusMessage": "The dataset was successfully created from the manifest file.",
135
- * "StatusMessageCode": "SUCCESS"
136
- * }
137
- * ],
138
- * "ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/1655158560634",
139
- * "Status": "CREATED"
140
- * }
141
- * ]
142
- * }
143
- * *\/
144
- * // example id: to-describe-an-amazon-rekognition-custom-labels-project-1690400952376
145
- * ```
146
104
  *
105
+ * @public
147
106
  */
148
107
  export declare class DescribeProjectsCommand extends DescribeProjectsCommand_base {
149
108
  /** @internal type navigation helper, not in runtime. */
@@ -130,6 +130,7 @@ declare const DescribeStreamProcessorCommand_base: {
130
130
  * @throws {@link RekognitionServiceException}
131
131
  * <p>Base exception class for all service exceptions from Rekognition service.</p>
132
132
  *
133
+ *
133
134
  * @public
134
135
  */
135
136
  export declare class DescribeStreamProcessorCommand extends DescribeStreamProcessorCommand_base {
@@ -163,40 +163,40 @@ declare const DetectCustomLabelsCommand_base: {
163
163
  * @throws {@link RekognitionServiceException}
164
164
  * <p>Base exception class for all service exceptions from Rekognition service.</p>
165
165
  *
166
- * @public
166
+ *
167
167
  * @example To detect custom labels in an image with an Amazon Rekognition Custom Labels model
168
168
  * ```javascript
169
169
  * // Detects custom labels in an image with an Amazon Rekognition Custom Labels model
170
170
  * const input = {
171
- * "Image": {
172
- * "S3Object": {
173
- * "Bucket": "custom-labels-console-us-east-1-1111111111",
174
- * "Name": "assets/flowers_1_test_dataset/camellia4.jpg"
171
+ * Image: {
172
+ * S3Object: {
173
+ * Bucket: "custom-labels-console-us-east-1-1111111111",
174
+ * Name: "assets/flowers_1_test_dataset/camellia4.jpg"
175
175
  * }
176
176
  * },
177
- * "MaxResults": 100,
178
- * "MinConfidence": 50,
179
- * "ProjectVersionArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/my-project.2023-07-31T11.49.37/1690829378219"
177
+ * MaxResults: 100,
178
+ * MinConfidence: 50,
179
+ * ProjectVersionArn: "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/my-project.2023-07-31T11.49.37/1690829378219"
180
180
  * };
181
181
  * const command = new DetectCustomLabelsCommand(input);
182
182
  * const response = await client.send(command);
183
- * /* response ==
183
+ * /* response is
184
184
  * {
185
- * "CustomLabels": [
185
+ * CustomLabels: [
186
186
  * {
187
- * "Confidence": 67.56399536132812,
188
- * "Name": "with_leaves"
187
+ * Confidence: 67.56399536132812,
188
+ * Name: "with_leaves"
189
189
  * },
190
190
  * {
191
- * "Confidence": 50.65699768066406,
192
- * "Name": "without_leaves"
191
+ * Confidence: 50.65699768066406,
192
+ * Name: "without_leaves"
193
193
  * }
194
194
  * ]
195
195
  * }
196
196
  * *\/
197
- * // example id: to-detect-custom-labels-in-images-with-an-amazon-rekognition-custom-labels-model-1690832037913
198
197
  * ```
199
198
  *
199
+ * @public
200
200
  */
201
201
  export declare class DetectCustomLabelsCommand extends DetectCustomLabelsCommand_base {
202
202
  /** @internal type navigation helper, not in runtime. */
@@ -189,75 +189,75 @@ declare const DetectFacesCommand_base: {
189
189
  * @throws {@link RekognitionServiceException}
190
190
  * <p>Base exception class for all service exceptions from Rekognition service.</p>
191
191
  *
192
- * @public
192
+ *
193
193
  * @example To detect faces in an image
194
194
  * ```javascript
195
195
  * // This operation detects faces in an image stored in an AWS S3 bucket.
196
196
  * const input = {
197
- * "Image": {
198
- * "S3Object": {
199
- * "Bucket": "mybucket",
200
- * "Name": "myphoto"
197
+ * Image: {
198
+ * S3Object: {
199
+ * Bucket: "mybucket",
200
+ * Name: "myphoto"
201
201
  * }
202
202
  * }
203
203
  * };
204
204
  * const command = new DetectFacesCommand(input);
205
205
  * const response = await client.send(command);
206
- * /* response ==
206
+ * /* response is
207
207
  * {
208
- * "FaceDetails": [
208
+ * FaceDetails: [
209
209
  * {
210
- * "BoundingBox": {
211
- * "Height": 0.18000000715255737,
212
- * "Left": 0.5555555820465088,
213
- * "Top": 0.33666667342185974,
214
- * "Width": 0.23999999463558197
210
+ * BoundingBox: {
211
+ * Height: 0.18000000715255737,
212
+ * Left: 0.5555555820465088,
213
+ * Top: 0.33666667342185974,
214
+ * Width: 0.23999999463558197
215
215
  * },
216
- * "Confidence": 100,
217
- * "Landmarks": [
216
+ * Confidence: 100,
217
+ * Landmarks: [
218
218
  * {
219
- * "Type": "eyeLeft",
220
- * "X": 0.6394737362861633,
221
- * "Y": 0.40819624066352844
219
+ * Type: "eyeLeft",
220
+ * X: 0.6394737362861633,
221
+ * Y: 0.40819624066352844
222
222
  * },
223
223
  * {
224
- * "Type": "eyeRight",
225
- * "X": 0.7266660928726196,
226
- * "Y": 0.41039225459098816
224
+ * Type: "eyeRight",
225
+ * X: 0.7266660928726196,
226
+ * Y: 0.41039225459098816
227
227
  * },
228
228
  * {
229
- * "Type": "eyeRight",
230
- * "X": 0.6912462115287781,
231
- * "Y": 0.44240960478782654
229
+ * Type: "eyeRight",
230
+ * X: 0.6912462115287781,
231
+ * Y: 0.44240960478782654
232
232
  * },
233
233
  * {
234
- * "Type": "mouthDown",
235
- * "X": 0.6306198239326477,
236
- * "Y": 0.46700039505958557
234
+ * Type: "mouthDown",
235
+ * X: 0.6306198239326477,
236
+ * Y: 0.46700039505958557
237
237
  * },
238
238
  * {
239
- * "Type": "mouthUp",
240
- * "X": 0.7215608954429626,
241
- * "Y": 0.47114261984825134
239
+ * Type: "mouthUp",
240
+ * X: 0.7215608954429626,
241
+ * Y: 0.47114261984825134
242
242
  * }
243
243
  * ],
244
- * "Pose": {
245
- * "Pitch": 4.050806522369385,
246
- * "Roll": 0.9950747489929199,
247
- * "Yaw": 13.693790435791016
244
+ * Pose: {
245
+ * Pitch: 4.050806522369385,
246
+ * Roll: 0.9950747489929199,
247
+ * Yaw: 13.693790435791016
248
248
  * },
249
- * "Quality": {
250
- * "Brightness": 37.60169982910156,
251
- * "Sharpness": 80
249
+ * Quality: {
250
+ * Brightness: 37.60169982910156,
251
+ * Sharpness: 80
252
252
  * }
253
253
  * }
254
254
  * ],
255
- * "OrientationCorrection": "ROTATE_0"
255
+ * OrientationCorrection: "ROTATE_0"
256
256
  * }
257
257
  * *\/
258
- * // example id: to-detect-faces-in-an-image-1481841782793
259
258
  * ```
260
259
  *
260
+ * @public
261
261
  */
262
262
  export declare class DetectFacesCommand extends DetectFacesCommand_base {
263
263
  /** @internal type navigation helper, not in runtime. */
@@ -307,39 +307,39 @@ declare const DetectLabelsCommand_base: {
307
307
  * @throws {@link RekognitionServiceException}
308
308
  * <p>Base exception class for all service exceptions from Rekognition service.</p>
309
309
  *
310
- * @public
310
+ *
311
311
  * @example To detect labels
312
312
  * ```javascript
313
313
  * // This operation detects labels in the supplied image
314
314
  * const input = {
315
- * "Image": {
316
- * "S3Object": {
317
- * "Bucket": "mybucket",
318
- * "Name": "myphoto"
315
+ * Image: {
316
+ * S3Object: {
317
+ * Bucket: "mybucket",
318
+ * Name: "myphoto"
319
319
  * }
320
320
  * },
321
- * "MaxLabels": 123,
322
- * "MinConfidence": 70
321
+ * MaxLabels: 123,
322
+ * MinConfidence: 70
323
323
  * };
324
324
  * const command = new DetectLabelsCommand(input);
325
325
  * const response = await client.send(command);
326
- * /* response ==
326
+ * /* response is
327
327
  * {
328
- * "Labels": [
328
+ * Labels: [
329
329
  * {
330
- * "Confidence": 99.25072479248047,
331
- * "Name": "People"
330
+ * Confidence: 99.25072479248047,
331
+ * Name: "People"
332
332
  * },
333
333
  * {
334
- * "Confidence": 99.25074005126953,
335
- * "Name": "Person"
334
+ * Confidence: 99.25074005126953,
335
+ * Name: "Person"
336
336
  * }
337
337
  * ]
338
338
  * }
339
339
  * *\/
340
- * // example id: to-detect-labels-1481834255770
341
340
  * ```
342
341
  *
342
+ * @public
343
343
  */
344
344
  export declare class DetectLabelsCommand extends DetectLabelsCommand_base {
345
345
  /** @internal type navigation helper, not in runtime. */
@@ -148,6 +148,7 @@ declare const DetectModerationLabelsCommand_base: {
148
148
  * @throws {@link RekognitionServiceException}
149
149
  * <p>Base exception class for all service exceptions from Rekognition service.</p>
150
150
  *
151
+ *
151
152
  * @public
152
153
  */
153
154
  export declare class DetectModerationLabelsCommand extends DetectModerationLabelsCommand_base {
@@ -177,6 +177,7 @@ declare const DetectProtectiveEquipmentCommand_base: {
177
177
  * @throws {@link RekognitionServiceException}
178
178
  * <p>Base exception class for all service exceptions from Rekognition service.</p>
179
179
  *
180
+ *
180
181
  * @public
181
182
  */
182
183
  export declare class DetectProtectiveEquipmentCommand extends DetectProtectiveEquipmentCommand_base {
@@ -158,6 +158,7 @@ declare const DetectTextCommand_base: {
158
158
  * @throws {@link RekognitionServiceException}
159
159
  * <p>Base exception class for all service exceptions from Rekognition service.</p>
160
160
  *
161
+ *
161
162
  * @public
162
163
  */
163
164
  export declare class DetectTextCommand extends DetectTextCommand_base {
@@ -108,43 +108,43 @@ declare const DisassociateFacesCommand_base: {
108
108
  * @throws {@link RekognitionServiceException}
109
109
  * <p>Base exception class for all service exceptions from Rekognition service.</p>
110
110
  *
111
- * @public
111
+ *
112
112
  * @example DisassociateFaces
113
113
  * ```javascript
114
114
  * // Removes the association between a Face supplied in an array of FaceIds and the User.
115
115
  * const input = {
116
- * "ClientRequestToken": "550e8400-e29b-41d4-a716-446655440003",
117
- * "CollectionId": "MyCollection",
118
- * "FaceIds": [
116
+ * ClientRequestToken: "550e8400-e29b-41d4-a716-446655440003",
117
+ * CollectionId: "MyCollection",
118
+ * FaceIds: [
119
119
  * "f5817d37-94f6-4335-bfee-6cf79a3d806e",
120
120
  * "c92265d4-5f9c-43af-a58e-12be0ce02bc3"
121
121
  * ],
122
- * "UserId": "DemoUser"
122
+ * UserId: "DemoUser"
123
123
  * };
124
124
  * const command = new DisassociateFacesCommand(input);
125
125
  * const response = await client.send(command);
126
- * /* response ==
126
+ * /* response is
127
127
  * {
128
- * "DisassociatedFaces": [
128
+ * DisassociatedFaces: [
129
129
  * {
130
- * "FaceId": "c92265d4-5f9c-43af-a58e-12be0ce02bc3"
130
+ * FaceId: "c92265d4-5f9c-43af-a58e-12be0ce02bc3"
131
131
  * }
132
132
  * ],
133
- * "UnsuccessfulFaceDisassociations": [
133
+ * UnsuccessfulFaceDisassociations: [
134
134
  * {
135
- * "FaceId": "f5817d37-94f6-4335-bfee-6cf79a3d806e",
136
- * "Reasons": [
135
+ * FaceId: "f5817d37-94f6-4335-bfee-6cf79a3d806e",
136
+ * Reasons: [
137
137
  * "ASSOCIATED_TO_A_DIFFERENT_USER"
138
138
  * ],
139
- * "UserId": "demoUser1"
139
+ * UserId: "demoUser1"
140
140
  * }
141
141
  * ],
142
- * "UserStatus": "UPDATING"
142
+ * UserStatus: "UPDATING"
143
143
  * }
144
144
  * *\/
145
- * // example id: disassociatefaces-1686182627295
146
145
  * ```
147
146
  *
147
+ * @public
148
148
  */
149
149
  export declare class DisassociateFacesCommand extends DisassociateFacesCommand_base {
150
150
  /** @internal type navigation helper, not in runtime. */