@aws-sdk/client-rekognition 3.427.0 → 3.429.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.
- package/dist-cjs/models/models_0.js +12 -12
- package/dist-cjs/models/models_1.js +11 -1
- package/dist-cjs/protocols/Aws_json1_1.js +48 -1
- package/dist-es/models/models_0.js +10 -10
- package/dist-es/models/models_1.js +10 -0
- package/dist-es/protocols/Aws_json1_1.js +48 -1
- package/dist-types/commands/CopyProjectVersionCommand.d.ts +12 -5
- package/dist-types/commands/CreateDatasetCommand.d.ts +9 -4
- package/dist-types/commands/CreateProjectCommand.d.ts +13 -6
- package/dist-types/commands/CreateProjectVersionCommand.d.ts +29 -22
- package/dist-types/commands/CreateStreamProcessorCommand.d.ts +5 -3
- package/dist-types/commands/DeleteDatasetCommand.d.ts +9 -4
- package/dist-types/commands/DeleteProjectCommand.d.ts +2 -2
- package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +4 -1
- package/dist-types/commands/DeleteProjectVersionCommand.d.ts +6 -7
- package/dist-types/commands/DescribeDatasetCommand.d.ts +4 -1
- package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +12 -4
- package/dist-types/commands/DescribeProjectsCommand.d.ts +6 -1
- package/dist-types/commands/DetectCustomLabelsCommand.d.ts +9 -4
- package/dist-types/commands/DetectModerationLabelsCommand.d.ts +12 -0
- package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +4 -1
- package/dist-types/commands/ListDatasetEntriesCommand.d.ts +4 -1
- package/dist-types/commands/ListDatasetLabelsCommand.d.ts +4 -1
- package/dist-types/commands/ListProjectPoliciesCommand.d.ts +4 -1
- package/dist-types/commands/PutProjectPolicyCommand.d.ts +12 -6
- package/dist-types/commands/SearchUsersByImageCommand.d.ts +2 -1
- package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +6 -5
- package/dist-types/commands/StartContentModerationCommand.d.ts +5 -3
- package/dist-types/commands/StartFaceDetectionCommand.d.ts +5 -3
- package/dist-types/commands/StartFaceSearchCommand.d.ts +5 -3
- package/dist-types/commands/StartLabelDetectionCommand.d.ts +5 -3
- package/dist-types/commands/StartPersonTrackingCommand.d.ts +5 -3
- package/dist-types/commands/StartProjectVersionCommand.d.ts +11 -7
- package/dist-types/commands/StartSegmentDetectionCommand.d.ts +5 -3
- package/dist-types/commands/StartTextDetectionCommand.d.ts +5 -3
- package/dist-types/commands/StopProjectVersionCommand.d.ts +7 -3
- package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +9 -4
- package/dist-types/models/models_0.d.ts +253 -241
- package/dist-types/models/models_1.d.ts +130 -13
- package/dist-types/ts3.4/commands/SearchUsersByImageCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +99 -94
- package/dist-types/ts3.4/models/models_1.d.ts +37 -6
- package/package.json +32 -32
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.GetFaceLivenessSessionResultsResponseFilterSensitiveLog = exports.AuditImageFilterSensitiveLog = exports.
|
|
3
|
+
exports.VideoColorRange = exports.VideoJobStatus = exports.FaceSearchSortBy = exports.FaceAttributes = exports.UnsuccessfulFaceDisassociationReason = exports.TextTypes = exports.HumanLoopQuotaExceededException = exports.DetectLabelsFeatureName = exports.ResourceNotReadyException = exports.StreamProcessorStatus = exports.InvalidPaginationTokenException = exports.ProjectVersionStatus = exports.InvalidPolicyRevisionIdException = exports.ProjectStatus = exports.UnsuccessfulFaceDeletionReason = exports.DatasetStatusMessageCode = exports.DatasetStatus = exports.CustomizationFeature = exports.ProjectAutoUpdate = exports.DatasetType = exports.ResourceAlreadyExistsException = exports.ResourceInUseException = exports.LimitExceededException = exports.ContentModerationSortBy = exports.ContentModerationAggregateBy = exports.ContentClassifier = exports.InvalidS3ObjectException = exports.InvalidImageFormatException = exports.ImageTooLargeException = exports.OrientationCorrection = exports.QualityFilter = exports.CelebrityRecognitionSortBy = exports.GenderType = exports.KnownGenderType = exports.LandmarkType = exports.EmotionName = exports.ProtectiveEquipmentType = exports.BodyPart = exports.Attribute = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ProvisionedThroughputExceededException = exports.InvalidParameterException = exports.InternalServerError = exports.IdempotentParameterMismatchException = exports.ConflictException = exports.UserStatus = exports.UnsuccessfulFaceAssociationReason = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.GetFaceLivenessSessionResultsResponseFilterSensitiveLog = exports.AuditImageFilterSensitiveLog = exports.MalformedPolicyDocumentException = exports.LabelDetectionFeatureName = exports.Reason = exports.SegmentType = exports.TechnicalCueType = exports.PersonTrackingSortBy = exports.LabelDetectionSortBy = exports.LabelDetectionAggregateBy = exports.SessionNotFoundException = exports.LivenessSessionStatus = void 0;
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const RekognitionServiceException_1 = require("./RekognitionServiceException");
|
|
7
7
|
class AccessDeniedException extends RekognitionServiceException_1.RekognitionServiceException {
|
|
@@ -368,6 +368,14 @@ exports.DatasetType = {
|
|
|
368
368
|
TEST: "TEST",
|
|
369
369
|
TRAIN: "TRAIN",
|
|
370
370
|
};
|
|
371
|
+
exports.ProjectAutoUpdate = {
|
|
372
|
+
DISABLED: "DISABLED",
|
|
373
|
+
ENABLED: "ENABLED",
|
|
374
|
+
};
|
|
375
|
+
exports.CustomizationFeature = {
|
|
376
|
+
CONTENT_MODERATION: "CONTENT_MODERATION",
|
|
377
|
+
CUSTOM_LABELS: "CUSTOM_LABELS",
|
|
378
|
+
};
|
|
371
379
|
exports.DatasetStatus = {
|
|
372
380
|
CREATE_COMPLETE: "CREATE_COMPLETE",
|
|
373
381
|
CREATE_FAILED: "CREATE_FAILED",
|
|
@@ -412,6 +420,8 @@ exports.ProjectVersionStatus = {
|
|
|
412
420
|
COPYING_FAILED: "COPYING_FAILED",
|
|
413
421
|
COPYING_IN_PROGRESS: "COPYING_IN_PROGRESS",
|
|
414
422
|
DELETING: "DELETING",
|
|
423
|
+
DEPRECATED: "DEPRECATED",
|
|
424
|
+
EXPIRED: "EXPIRED",
|
|
415
425
|
FAILED: "FAILED",
|
|
416
426
|
RUNNING: "RUNNING",
|
|
417
427
|
STARTING: "STARTING",
|
|
@@ -585,16 +595,6 @@ class MalformedPolicyDocumentException extends RekognitionServiceException_1.Rek
|
|
|
585
595
|
}
|
|
586
596
|
}
|
|
587
597
|
exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException;
|
|
588
|
-
exports.UnsearchedFaceReason = {
|
|
589
|
-
EXCEEDS_MAX_FACES: "EXCEEDS_MAX_FACES",
|
|
590
|
-
EXTREME_POSE: "EXTREME_POSE",
|
|
591
|
-
FACE_NOT_LARGEST: "FACE_NOT_LARGEST",
|
|
592
|
-
LOW_BRIGHTNESS: "LOW_BRIGHTNESS",
|
|
593
|
-
LOW_CONFIDENCE: "LOW_CONFIDENCE",
|
|
594
|
-
LOW_FACE_QUALITY: "LOW_FACE_QUALITY",
|
|
595
|
-
LOW_SHARPNESS: "LOW_SHARPNESS",
|
|
596
|
-
SMALL_BOUNDING_BOX: "SMALL_BOUNDING_BOX",
|
|
597
|
-
};
|
|
598
598
|
const AuditImageFilterSensitiveLog = (obj) => ({
|
|
599
599
|
...obj,
|
|
600
600
|
...(obj.Bytes && { Bytes: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StreamProcessorParameterToDelete = exports.VideoTooLargeException = void 0;
|
|
3
|
+
exports.StreamProcessorParameterToDelete = exports.VideoTooLargeException = exports.UnsearchedFaceReason = void 0;
|
|
4
4
|
const RekognitionServiceException_1 = require("./RekognitionServiceException");
|
|
5
|
+
exports.UnsearchedFaceReason = {
|
|
6
|
+
EXCEEDS_MAX_FACES: "EXCEEDS_MAX_FACES",
|
|
7
|
+
EXTREME_POSE: "EXTREME_POSE",
|
|
8
|
+
FACE_NOT_LARGEST: "FACE_NOT_LARGEST",
|
|
9
|
+
LOW_BRIGHTNESS: "LOW_BRIGHTNESS",
|
|
10
|
+
LOW_CONFIDENCE: "LOW_CONFIDENCE",
|
|
11
|
+
LOW_FACE_QUALITY: "LOW_FACE_QUALITY",
|
|
12
|
+
LOW_SHARPNESS: "LOW_SHARPNESS",
|
|
13
|
+
SMALL_BOUNDING_BOX: "SMALL_BOUNDING_BOX",
|
|
14
|
+
};
|
|
5
15
|
class VideoTooLargeException extends RekognitionServiceException_1.RekognitionServiceException {
|
|
6
16
|
constructor(opts) {
|
|
7
17
|
super({
|
|
@@ -61,7 +61,7 @@ exports.se_CreateProjectCommand = se_CreateProjectCommand;
|
|
|
61
61
|
const se_CreateProjectVersionCommand = async (input, context) => {
|
|
62
62
|
const headers = sharedHeaders("CreateProjectVersion");
|
|
63
63
|
let body;
|
|
64
|
-
body = JSON.stringify((
|
|
64
|
+
body = JSON.stringify(se_CreateProjectVersionRequest(input, context));
|
|
65
65
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
66
66
|
};
|
|
67
67
|
exports.se_CreateProjectVersionCommand = se_CreateProjectVersionCommand;
|
|
@@ -1920,6 +1920,12 @@ const de_DetectModerationLabelsCommandError = async (output, context) => {
|
|
|
1920
1920
|
case "ProvisionedThroughputExceededException":
|
|
1921
1921
|
case "com.amazonaws.rekognition#ProvisionedThroughputExceededException":
|
|
1922
1922
|
throw await de_ProvisionedThroughputExceededExceptionRes(parsedOutput, context);
|
|
1923
|
+
case "ResourceNotFoundException":
|
|
1924
|
+
case "com.amazonaws.rekognition#ResourceNotFoundException":
|
|
1925
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1926
|
+
case "ResourceNotReadyException":
|
|
1927
|
+
case "com.amazonaws.rekognition#ResourceNotReadyException":
|
|
1928
|
+
throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
|
|
1923
1929
|
case "ThrottlingException":
|
|
1924
1930
|
case "com.amazonaws.rekognition#ThrottlingException":
|
|
1925
1931
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -4561,6 +4567,19 @@ const se_ConnectedHomeSettingsForUpdate = (input, context) => {
|
|
|
4561
4567
|
MinConfidence: smithy_client_1.serializeFloat,
|
|
4562
4568
|
});
|
|
4563
4569
|
};
|
|
4570
|
+
const se_CreateProjectVersionRequest = (input, context) => {
|
|
4571
|
+
return (0, smithy_client_1.take)(input, {
|
|
4572
|
+
FeatureConfig: (_) => se_CustomizationFeatureConfig(_, context),
|
|
4573
|
+
KmsKeyId: [],
|
|
4574
|
+
OutputConfig: smithy_client_1._json,
|
|
4575
|
+
ProjectArn: [],
|
|
4576
|
+
Tags: smithy_client_1._json,
|
|
4577
|
+
TestingData: smithy_client_1._json,
|
|
4578
|
+
TrainingData: smithy_client_1._json,
|
|
4579
|
+
VersionDescription: [],
|
|
4580
|
+
VersionName: [],
|
|
4581
|
+
});
|
|
4582
|
+
};
|
|
4564
4583
|
const se_CreateStreamProcessorRequest = (input, context) => {
|
|
4565
4584
|
return (0, smithy_client_1.take)(input, {
|
|
4566
4585
|
DataSharingPreference: smithy_client_1._json,
|
|
@@ -4582,6 +4601,16 @@ const se_CreateUserRequest = (input, context) => {
|
|
|
4582
4601
|
UserId: [],
|
|
4583
4602
|
});
|
|
4584
4603
|
};
|
|
4604
|
+
const se_CustomizationFeatureConfig = (input, context) => {
|
|
4605
|
+
return (0, smithy_client_1.take)(input, {
|
|
4606
|
+
ContentModeration: (_) => se_CustomizationFeatureContentModerationConfig(_, context),
|
|
4607
|
+
});
|
|
4608
|
+
};
|
|
4609
|
+
const se_CustomizationFeatureContentModerationConfig = (input, context) => {
|
|
4610
|
+
return (0, smithy_client_1.take)(input, {
|
|
4611
|
+
ConfidenceThreshold: smithy_client_1.serializeFloat,
|
|
4612
|
+
});
|
|
4613
|
+
};
|
|
4585
4614
|
const se_DatasetChanges = (input, context) => {
|
|
4586
4615
|
return (0, smithy_client_1.take)(input, {
|
|
4587
4616
|
GroundTruth: context.base64Encoder,
|
|
@@ -4629,6 +4658,7 @@ const se_DetectModerationLabelsRequest = (input, context) => {
|
|
|
4629
4658
|
HumanLoopConfig: smithy_client_1._json,
|
|
4630
4659
|
Image: (_) => se_Image(_, context),
|
|
4631
4660
|
MinConfidence: smithy_client_1.serializeFloat,
|
|
4661
|
+
ProjectVersion: [],
|
|
4632
4662
|
});
|
|
4633
4663
|
};
|
|
4634
4664
|
const se_DetectProtectiveEquipmentRequest = (input, context) => {
|
|
@@ -5021,6 +5051,16 @@ const de_CoversBodyPart = (output, context) => {
|
|
|
5021
5051
|
Value: smithy_client_1.expectBoolean,
|
|
5022
5052
|
});
|
|
5023
5053
|
};
|
|
5054
|
+
const de_CustomizationFeatureConfig = (output, context) => {
|
|
5055
|
+
return (0, smithy_client_1.take)(output, {
|
|
5056
|
+
ContentModeration: (_) => de_CustomizationFeatureContentModerationConfig(_, context),
|
|
5057
|
+
});
|
|
5058
|
+
};
|
|
5059
|
+
const de_CustomizationFeatureContentModerationConfig = (output, context) => {
|
|
5060
|
+
return (0, smithy_client_1.take)(output, {
|
|
5061
|
+
ConfidenceThreshold: smithy_client_1.limitedParseFloat32,
|
|
5062
|
+
});
|
|
5063
|
+
};
|
|
5024
5064
|
const de_CustomLabel = (output, context) => {
|
|
5025
5065
|
return (0, smithy_client_1.take)(output, {
|
|
5026
5066
|
Confidence: smithy_client_1.limitedParseFloat32,
|
|
@@ -5159,6 +5199,7 @@ const de_DetectModerationLabelsResponse = (output, context) => {
|
|
|
5159
5199
|
HumanLoopActivationOutput: (_) => de_HumanLoopActivationOutput(_, context),
|
|
5160
5200
|
ModerationLabels: (_) => de_ModerationLabels(_, context),
|
|
5161
5201
|
ModerationModelVersion: smithy_client_1.expectString,
|
|
5202
|
+
ProjectVersion: smithy_client_1.expectString,
|
|
5162
5203
|
});
|
|
5163
5204
|
};
|
|
5164
5205
|
const de_DetectProtectiveEquipmentResponse = (output, context) => {
|
|
@@ -5659,8 +5700,10 @@ const de_Pose = (output, context) => {
|
|
|
5659
5700
|
};
|
|
5660
5701
|
const de_ProjectDescription = (output, context) => {
|
|
5661
5702
|
return (0, smithy_client_1.take)(output, {
|
|
5703
|
+
AutoUpdate: smithy_client_1.expectString,
|
|
5662
5704
|
CreationTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
5663
5705
|
Datasets: (_) => de_DatasetMetadataList(_, context),
|
|
5706
|
+
Feature: smithy_client_1.expectString,
|
|
5664
5707
|
ProjectArn: smithy_client_1.expectString,
|
|
5665
5708
|
Status: smithy_client_1.expectString,
|
|
5666
5709
|
});
|
|
@@ -5693,9 +5736,12 @@ const de_ProjectPolicy = (output, context) => {
|
|
|
5693
5736
|
};
|
|
5694
5737
|
const de_ProjectVersionDescription = (output, context) => {
|
|
5695
5738
|
return (0, smithy_client_1.take)(output, {
|
|
5739
|
+
BaseModelVersion: smithy_client_1.expectString,
|
|
5696
5740
|
BillableTrainingTimeInSeconds: smithy_client_1.expectLong,
|
|
5697
5741
|
CreationTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
5698
5742
|
EvaluationResult: (_) => de_EvaluationResult(_, context),
|
|
5743
|
+
Feature: smithy_client_1.expectString,
|
|
5744
|
+
FeatureConfig: (_) => de_CustomizationFeatureConfig(_, context),
|
|
5699
5745
|
KmsKeyId: smithy_client_1.expectString,
|
|
5700
5746
|
ManifestSummary: smithy_client_1._json,
|
|
5701
5747
|
MaxInferenceUnits: smithy_client_1.expectInt32,
|
|
@@ -5708,6 +5754,7 @@ const de_ProjectVersionDescription = (output, context) => {
|
|
|
5708
5754
|
TestingDataResult: smithy_client_1._json,
|
|
5709
5755
|
TrainingDataResult: smithy_client_1._json,
|
|
5710
5756
|
TrainingEndTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
5757
|
+
VersionDescription: smithy_client_1.expectString,
|
|
5711
5758
|
});
|
|
5712
5759
|
};
|
|
5713
5760
|
const de_ProjectVersionDescriptions = (output, context) => {
|
|
@@ -349,6 +349,14 @@ export const DatasetType = {
|
|
|
349
349
|
TEST: "TEST",
|
|
350
350
|
TRAIN: "TRAIN",
|
|
351
351
|
};
|
|
352
|
+
export const ProjectAutoUpdate = {
|
|
353
|
+
DISABLED: "DISABLED",
|
|
354
|
+
ENABLED: "ENABLED",
|
|
355
|
+
};
|
|
356
|
+
export const CustomizationFeature = {
|
|
357
|
+
CONTENT_MODERATION: "CONTENT_MODERATION",
|
|
358
|
+
CUSTOM_LABELS: "CUSTOM_LABELS",
|
|
359
|
+
};
|
|
352
360
|
export const DatasetStatus = {
|
|
353
361
|
CREATE_COMPLETE: "CREATE_COMPLETE",
|
|
354
362
|
CREATE_FAILED: "CREATE_FAILED",
|
|
@@ -392,6 +400,8 @@ export const ProjectVersionStatus = {
|
|
|
392
400
|
COPYING_FAILED: "COPYING_FAILED",
|
|
393
401
|
COPYING_IN_PROGRESS: "COPYING_IN_PROGRESS",
|
|
394
402
|
DELETING: "DELETING",
|
|
403
|
+
DEPRECATED: "DEPRECATED",
|
|
404
|
+
EXPIRED: "EXPIRED",
|
|
395
405
|
FAILED: "FAILED",
|
|
396
406
|
RUNNING: "RUNNING",
|
|
397
407
|
STARTING: "STARTING",
|
|
@@ -560,16 +570,6 @@ export class MalformedPolicyDocumentException extends __BaseException {
|
|
|
560
570
|
this.Logref = opts.Logref;
|
|
561
571
|
}
|
|
562
572
|
}
|
|
563
|
-
export const UnsearchedFaceReason = {
|
|
564
|
-
EXCEEDS_MAX_FACES: "EXCEEDS_MAX_FACES",
|
|
565
|
-
EXTREME_POSE: "EXTREME_POSE",
|
|
566
|
-
FACE_NOT_LARGEST: "FACE_NOT_LARGEST",
|
|
567
|
-
LOW_BRIGHTNESS: "LOW_BRIGHTNESS",
|
|
568
|
-
LOW_CONFIDENCE: "LOW_CONFIDENCE",
|
|
569
|
-
LOW_FACE_QUALITY: "LOW_FACE_QUALITY",
|
|
570
|
-
LOW_SHARPNESS: "LOW_SHARPNESS",
|
|
571
|
-
SMALL_BOUNDING_BOX: "SMALL_BOUNDING_BOX",
|
|
572
|
-
};
|
|
573
573
|
export const AuditImageFilterSensitiveLog = (obj) => ({
|
|
574
574
|
...obj,
|
|
575
575
|
...(obj.Bytes && { Bytes: SENSITIVE_STRING }),
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import { RekognitionServiceException as __BaseException } from "./RekognitionServiceException";
|
|
2
|
+
export const UnsearchedFaceReason = {
|
|
3
|
+
EXCEEDS_MAX_FACES: "EXCEEDS_MAX_FACES",
|
|
4
|
+
EXTREME_POSE: "EXTREME_POSE",
|
|
5
|
+
FACE_NOT_LARGEST: "FACE_NOT_LARGEST",
|
|
6
|
+
LOW_BRIGHTNESS: "LOW_BRIGHTNESS",
|
|
7
|
+
LOW_CONFIDENCE: "LOW_CONFIDENCE",
|
|
8
|
+
LOW_FACE_QUALITY: "LOW_FACE_QUALITY",
|
|
9
|
+
LOW_SHARPNESS: "LOW_SHARPNESS",
|
|
10
|
+
SMALL_BOUNDING_BOX: "SMALL_BOUNDING_BOX",
|
|
11
|
+
};
|
|
2
12
|
export class VideoTooLargeException extends __BaseException {
|
|
3
13
|
constructor(opts) {
|
|
4
14
|
super({
|
|
@@ -49,7 +49,7 @@ export const se_CreateProjectCommand = async (input, context) => {
|
|
|
49
49
|
export const se_CreateProjectVersionCommand = async (input, context) => {
|
|
50
50
|
const headers = sharedHeaders("CreateProjectVersion");
|
|
51
51
|
let body;
|
|
52
|
-
body = JSON.stringify(
|
|
52
|
+
body = JSON.stringify(se_CreateProjectVersionRequest(input, context));
|
|
53
53
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
54
54
|
};
|
|
55
55
|
export const se_CreateStreamProcessorCommand = async (input, context) => {
|
|
@@ -1816,6 +1816,12 @@ const de_DetectModerationLabelsCommandError = async (output, context) => {
|
|
|
1816
1816
|
case "ProvisionedThroughputExceededException":
|
|
1817
1817
|
case "com.amazonaws.rekognition#ProvisionedThroughputExceededException":
|
|
1818
1818
|
throw await de_ProvisionedThroughputExceededExceptionRes(parsedOutput, context);
|
|
1819
|
+
case "ResourceNotFoundException":
|
|
1820
|
+
case "com.amazonaws.rekognition#ResourceNotFoundException":
|
|
1821
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1822
|
+
case "ResourceNotReadyException":
|
|
1823
|
+
case "com.amazonaws.rekognition#ResourceNotReadyException":
|
|
1824
|
+
throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);
|
|
1819
1825
|
case "ThrottlingException":
|
|
1820
1826
|
case "com.amazonaws.rekognition#ThrottlingException":
|
|
1821
1827
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -4412,6 +4418,19 @@ const se_ConnectedHomeSettingsForUpdate = (input, context) => {
|
|
|
4412
4418
|
MinConfidence: __serializeFloat,
|
|
4413
4419
|
});
|
|
4414
4420
|
};
|
|
4421
|
+
const se_CreateProjectVersionRequest = (input, context) => {
|
|
4422
|
+
return take(input, {
|
|
4423
|
+
FeatureConfig: (_) => se_CustomizationFeatureConfig(_, context),
|
|
4424
|
+
KmsKeyId: [],
|
|
4425
|
+
OutputConfig: _json,
|
|
4426
|
+
ProjectArn: [],
|
|
4427
|
+
Tags: _json,
|
|
4428
|
+
TestingData: _json,
|
|
4429
|
+
TrainingData: _json,
|
|
4430
|
+
VersionDescription: [],
|
|
4431
|
+
VersionName: [],
|
|
4432
|
+
});
|
|
4433
|
+
};
|
|
4415
4434
|
const se_CreateStreamProcessorRequest = (input, context) => {
|
|
4416
4435
|
return take(input, {
|
|
4417
4436
|
DataSharingPreference: _json,
|
|
@@ -4433,6 +4452,16 @@ const se_CreateUserRequest = (input, context) => {
|
|
|
4433
4452
|
UserId: [],
|
|
4434
4453
|
});
|
|
4435
4454
|
};
|
|
4455
|
+
const se_CustomizationFeatureConfig = (input, context) => {
|
|
4456
|
+
return take(input, {
|
|
4457
|
+
ContentModeration: (_) => se_CustomizationFeatureContentModerationConfig(_, context),
|
|
4458
|
+
});
|
|
4459
|
+
};
|
|
4460
|
+
const se_CustomizationFeatureContentModerationConfig = (input, context) => {
|
|
4461
|
+
return take(input, {
|
|
4462
|
+
ConfidenceThreshold: __serializeFloat,
|
|
4463
|
+
});
|
|
4464
|
+
};
|
|
4436
4465
|
const se_DatasetChanges = (input, context) => {
|
|
4437
4466
|
return take(input, {
|
|
4438
4467
|
GroundTruth: context.base64Encoder,
|
|
@@ -4480,6 +4509,7 @@ const se_DetectModerationLabelsRequest = (input, context) => {
|
|
|
4480
4509
|
HumanLoopConfig: _json,
|
|
4481
4510
|
Image: (_) => se_Image(_, context),
|
|
4482
4511
|
MinConfidence: __serializeFloat,
|
|
4512
|
+
ProjectVersion: [],
|
|
4483
4513
|
});
|
|
4484
4514
|
};
|
|
4485
4515
|
const se_DetectProtectiveEquipmentRequest = (input, context) => {
|
|
@@ -4872,6 +4902,16 @@ const de_CoversBodyPart = (output, context) => {
|
|
|
4872
4902
|
Value: __expectBoolean,
|
|
4873
4903
|
});
|
|
4874
4904
|
};
|
|
4905
|
+
const de_CustomizationFeatureConfig = (output, context) => {
|
|
4906
|
+
return take(output, {
|
|
4907
|
+
ContentModeration: (_) => de_CustomizationFeatureContentModerationConfig(_, context),
|
|
4908
|
+
});
|
|
4909
|
+
};
|
|
4910
|
+
const de_CustomizationFeatureContentModerationConfig = (output, context) => {
|
|
4911
|
+
return take(output, {
|
|
4912
|
+
ConfidenceThreshold: __limitedParseFloat32,
|
|
4913
|
+
});
|
|
4914
|
+
};
|
|
4875
4915
|
const de_CustomLabel = (output, context) => {
|
|
4876
4916
|
return take(output, {
|
|
4877
4917
|
Confidence: __limitedParseFloat32,
|
|
@@ -5010,6 +5050,7 @@ const de_DetectModerationLabelsResponse = (output, context) => {
|
|
|
5010
5050
|
HumanLoopActivationOutput: (_) => de_HumanLoopActivationOutput(_, context),
|
|
5011
5051
|
ModerationLabels: (_) => de_ModerationLabels(_, context),
|
|
5012
5052
|
ModerationModelVersion: __expectString,
|
|
5053
|
+
ProjectVersion: __expectString,
|
|
5013
5054
|
});
|
|
5014
5055
|
};
|
|
5015
5056
|
const de_DetectProtectiveEquipmentResponse = (output, context) => {
|
|
@@ -5510,8 +5551,10 @@ const de_Pose = (output, context) => {
|
|
|
5510
5551
|
};
|
|
5511
5552
|
const de_ProjectDescription = (output, context) => {
|
|
5512
5553
|
return take(output, {
|
|
5554
|
+
AutoUpdate: __expectString,
|
|
5513
5555
|
CreationTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5514
5556
|
Datasets: (_) => de_DatasetMetadataList(_, context),
|
|
5557
|
+
Feature: __expectString,
|
|
5515
5558
|
ProjectArn: __expectString,
|
|
5516
5559
|
Status: __expectString,
|
|
5517
5560
|
});
|
|
@@ -5544,9 +5587,12 @@ const de_ProjectPolicy = (output, context) => {
|
|
|
5544
5587
|
};
|
|
5545
5588
|
const de_ProjectVersionDescription = (output, context) => {
|
|
5546
5589
|
return take(output, {
|
|
5590
|
+
BaseModelVersion: __expectString,
|
|
5547
5591
|
BillableTrainingTimeInSeconds: __expectLong,
|
|
5548
5592
|
CreationTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5549
5593
|
EvaluationResult: (_) => de_EvaluationResult(_, context),
|
|
5594
|
+
Feature: __expectString,
|
|
5595
|
+
FeatureConfig: (_) => de_CustomizationFeatureConfig(_, context),
|
|
5550
5596
|
KmsKeyId: __expectString,
|
|
5551
5597
|
ManifestSummary: _json,
|
|
5552
5598
|
MaxInferenceUnits: __expectInt32,
|
|
@@ -5559,6 +5605,7 @@ const de_ProjectVersionDescription = (output, context) => {
|
|
|
5559
5605
|
TestingDataResult: _json,
|
|
5560
5606
|
TrainingDataResult: _json,
|
|
5561
5607
|
TrainingEndTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5608
|
+
VersionDescription: __expectString,
|
|
5562
5609
|
});
|
|
5563
5610
|
};
|
|
5564
5611
|
const de_ProjectVersionDescriptions = (output, context) => {
|
|
@@ -23,7 +23,10 @@ export interface CopyProjectVersionCommandOutput extends CopyProjectVersionRespo
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation applies only to Amazon Rekognition Custom Labels.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Copies a version of an Amazon Rekognition Custom Labels model from a source project to a destination project. The source and
|
|
27
30
|
* destination projects can be in different AWS accounts but must be in the same AWS Region.
|
|
28
31
|
* You can't copy a model to another AWS service.
|
|
29
32
|
*
|
|
@@ -37,7 +40,9 @@ export interface CopyProjectVersionCommandOutput extends CopyProjectVersionRespo
|
|
|
37
40
|
* </p>
|
|
38
41
|
* <p>If you are copying a model version to a project in the same AWS account, you don't need to create a project policy.</p>
|
|
39
42
|
* <note>
|
|
40
|
-
* <p>
|
|
43
|
+
* <p>Copying project versions is supported only for Custom Labels models. </p>
|
|
44
|
+
* <p>To copy a model, the destination project, source project, and source model version
|
|
45
|
+
* must already exist.</p>
|
|
41
46
|
* </note>
|
|
42
47
|
* <p>Copying a model version takes a while to complete. To get the current status, call <a>DescribeProjectVersions</a> and check the value of <code>Status</code> in the
|
|
43
48
|
* <a>ProjectVersionDescription</a> object. The copy operation has finished when
|
|
@@ -88,9 +93,11 @@ export interface CopyProjectVersionCommandOutput extends CopyProjectVersionRespo
|
|
|
88
93
|
* operation again.</p>
|
|
89
94
|
*
|
|
90
95
|
* @throws {@link LimitExceededException} (client fault)
|
|
91
|
-
* <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many
|
|
92
|
-
*
|
|
93
|
-
*
|
|
96
|
+
* <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many jobs
|
|
97
|
+
* concurrently, subsequent calls to start operations (ex:
|
|
98
|
+
* <code>StartLabelDetection</code>) will raise a <code>LimitExceededException</code>
|
|
99
|
+
* exception (HTTP status code: 400) until the number of concurrently running jobs is below
|
|
100
|
+
* the Amazon Rekognition service limit. </p>
|
|
94
101
|
*
|
|
95
102
|
* @throws {@link ProvisionedThroughputExceededException} (client fault)
|
|
96
103
|
* <p>The number of requests exceeded your throughput limit. If you want to increase this
|
|
@@ -23,7 +23,10 @@ export interface CreateDatasetCommandOutput extends CreateDatasetResponse, __Met
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation applies only to Amazon Rekognition Custom Labels.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Creates a new Amazon Rekognition Custom Labels dataset. You can create a dataset by using
|
|
27
30
|
* an Amazon Sagemaker format manifest file or by copying an existing Amazon Rekognition Custom Labels dataset.</p>
|
|
28
31
|
* <p>To create a training dataset for a project, specify <code>TRAIN</code> for the value of
|
|
29
32
|
* <code>DatasetType</code>. To create the test dataset for a project,
|
|
@@ -90,9 +93,11 @@ export interface CreateDatasetCommandOutput extends CreateDatasetResponse, __Met
|
|
|
90
93
|
* <p>Amazon Rekognition is unable to access the S3 object specified in the request.</p>
|
|
91
94
|
*
|
|
92
95
|
* @throws {@link LimitExceededException} (client fault)
|
|
93
|
-
* <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
+
* <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many jobs
|
|
97
|
+
* concurrently, subsequent calls to start operations (ex:
|
|
98
|
+
* <code>StartLabelDetection</code>) will raise a <code>LimitExceededException</code>
|
|
99
|
+
* exception (HTTP status code: 400) until the number of concurrently running jobs is below
|
|
100
|
+
* the Amazon Rekognition service limit. </p>
|
|
96
101
|
*
|
|
97
102
|
* @throws {@link ProvisionedThroughputExceededException} (client fault)
|
|
98
103
|
* <p>The number of requests exceeded your throughput limit. If you want to increase this
|
|
@@ -23,9 +23,12 @@ export interface CreateProjectCommandOutput extends CreateProjectResponse, __Met
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Creates a new Amazon Rekognition
|
|
27
|
-
* that you use to create and manage Amazon Rekognition Custom Labels
|
|
28
|
-
*
|
|
26
|
+
* <p>Creates a new Amazon Rekognition project. A project is a group of resources (datasets, model
|
|
27
|
+
* versions) that you use to create and manage a Amazon Rekognition Custom Labels Model or custom adapter. You can
|
|
28
|
+
* specify a feature to create the project with, if no feature is specified then Custom Labels
|
|
29
|
+
* is used by default. For adapters, you can also choose whether or not to have the project
|
|
30
|
+
* auto update by using the AutoUpdate argument. This operation requires permissions to
|
|
31
|
+
* perform the <code>rekognition:CreateProject</code> action.</p>
|
|
29
32
|
* @example
|
|
30
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
34
|
* ```javascript
|
|
@@ -34,6 +37,8 @@ export interface CreateProjectCommandOutput extends CreateProjectResponse, __Met
|
|
|
34
37
|
* const client = new RekognitionClient(config);
|
|
35
38
|
* const input = { // CreateProjectRequest
|
|
36
39
|
* ProjectName: "STRING_VALUE", // required
|
|
40
|
+
* Feature: "CONTENT_MODERATION" || "CUSTOM_LABELS",
|
|
41
|
+
* AutoUpdate: "ENABLED" || "DISABLED",
|
|
37
42
|
* };
|
|
38
43
|
* const command = new CreateProjectCommand(input);
|
|
39
44
|
* const response = await client.send(command);
|
|
@@ -60,9 +65,11 @@ export interface CreateProjectCommandOutput extends CreateProjectResponse, __Met
|
|
|
60
65
|
* operation again.</p>
|
|
61
66
|
*
|
|
62
67
|
* @throws {@link LimitExceededException} (client fault)
|
|
63
|
-
* <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many
|
|
64
|
-
*
|
|
65
|
-
*
|
|
68
|
+
* <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many jobs
|
|
69
|
+
* concurrently, subsequent calls to start operations (ex:
|
|
70
|
+
* <code>StartLabelDetection</code>) will raise a <code>LimitExceededException</code>
|
|
71
|
+
* exception (HTTP status code: 400) until the number of concurrently running jobs is below
|
|
72
|
+
* the Amazon Rekognition service limit. </p>
|
|
66
73
|
*
|
|
67
74
|
* @throws {@link ProvisionedThroughputExceededException} (client fault)
|
|
68
75
|
* <p>The number of requests exceeded your throughput limit. If you want to increase this
|
|
@@ -23,14 +23,24 @@ export interface CreateProjectVersionCommandOutput extends CreateProjectVersionR
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Creates a new version of a model
|
|
27
|
-
* Models are managed as part of
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* <p>
|
|
31
|
-
*
|
|
32
|
-
*
|
|
26
|
+
* <p>Creates a new version of Amazon Rekognition project (like a Custom Labels model or a custom adapter)
|
|
27
|
+
* and begins training. Models and adapters are managed as part of a Rekognition project. The
|
|
28
|
+
* response from <code>CreateProjectVersion</code> is an Amazon Resource Name (ARN) for the
|
|
29
|
+
* project version. </p>
|
|
30
|
+
* <p>The FeatureConfig operation argument allows you to configure specific model or adapter
|
|
31
|
+
* settings. You can provide a description to the project version by using the
|
|
32
|
+
* VersionDescription argment. Training can take a while to complete. You can get the current
|
|
33
|
+
* status by calling <a>DescribeProjectVersions</a>. Training completed
|
|
34
|
+
* successfully if the value of the <code>Status</code> field is
|
|
35
|
+
* <code>TRAINING_COMPLETED</code>. Once training has successfully completed, call <a>DescribeProjectVersions</a> to get the training results and evaluate the
|
|
36
|
+
* model.</p>
|
|
37
|
+
* <p>This operation requires permissions to perform the
|
|
38
|
+
* <code>rekognition:CreateProjectVersion</code> action.</p>
|
|
33
39
|
* <note>
|
|
40
|
+
* <p>
|
|
41
|
+
* <i>The following applies only to projects with Amazon Rekognition Custom Labels as the chosen
|
|
42
|
+
* feature:</i>
|
|
43
|
+
* </p>
|
|
34
44
|
* <p>You can train a model in a project that doesn't have associated datasets by specifying manifest files in the
|
|
35
45
|
* <code>TrainingData</code> and <code>TestingData</code> fields.
|
|
36
46
|
* </p>
|
|
@@ -41,18 +51,7 @@ export interface CreateProjectVersionCommandOutput extends CreateProjectVersionR
|
|
|
41
51
|
* we recommend that you use the manifest
|
|
42
52
|
* files to create training and test datasets for the project.</p>
|
|
43
53
|
* </note>
|
|
44
|
-
* <p>
|
|
45
|
-
* <a>DescribeProjectVersions</a>. Training completed successfully if
|
|
46
|
-
* the value of the <code>Status</code> field is <code>TRAINING_COMPLETED</code>.</p>
|
|
47
|
-
* <p>If training
|
|
48
|
-
* fails, see Debugging a failed model training in the <i>Amazon Rekognition Custom Labels</i> developer guide. </p>
|
|
49
|
-
* <p>Once training has successfully completed, call <a>DescribeProjectVersions</a> to
|
|
50
|
-
* get the training results and evaluate the model. For more information, see Improving a trained Amazon Rekognition Custom Labels model
|
|
51
|
-
* in the <i>Amazon Rekognition Custom Labels</i> developers guide.
|
|
52
|
-
* </p>
|
|
53
|
-
* <p>After evaluating the model, you start the model
|
|
54
|
-
* by calling <a>StartProjectVersion</a>.</p>
|
|
55
|
-
* <p>This operation requires permissions to perform the <code>rekognition:CreateProjectVersion</code> action.</p>
|
|
54
|
+
* <p></p>
|
|
56
55
|
* @example
|
|
57
56
|
* Use a bare-bones client and the command you need to make an API call.
|
|
58
57
|
* ```javascript
|
|
@@ -97,6 +96,12 @@ export interface CreateProjectVersionCommandOutput extends CreateProjectVersionR
|
|
|
97
96
|
* "<keys>": "STRING_VALUE",
|
|
98
97
|
* },
|
|
99
98
|
* KmsKeyId: "STRING_VALUE",
|
|
99
|
+
* VersionDescription: "STRING_VALUE",
|
|
100
|
+
* FeatureConfig: { // CustomizationFeatureConfig
|
|
101
|
+
* ContentModeration: { // CustomizationFeatureContentModerationConfig
|
|
102
|
+
* ConfidenceThreshold: Number("float"),
|
|
103
|
+
* },
|
|
104
|
+
* },
|
|
100
105
|
* };
|
|
101
106
|
* const command = new CreateProjectVersionCommand(input);
|
|
102
107
|
* const response = await client.send(command);
|
|
@@ -123,9 +128,11 @@ export interface CreateProjectVersionCommandOutput extends CreateProjectVersionR
|
|
|
123
128
|
* operation again.</p>
|
|
124
129
|
*
|
|
125
130
|
* @throws {@link LimitExceededException} (client fault)
|
|
126
|
-
* <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many
|
|
127
|
-
*
|
|
128
|
-
*
|
|
131
|
+
* <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many jobs
|
|
132
|
+
* concurrently, subsequent calls to start operations (ex:
|
|
133
|
+
* <code>StartLabelDetection</code>) will raise a <code>LimitExceededException</code>
|
|
134
|
+
* exception (HTTP status code: 400) until the number of concurrently running jobs is below
|
|
135
|
+
* the Amazon Rekognition service limit. </p>
|
|
129
136
|
*
|
|
130
137
|
* @throws {@link ProvisionedThroughputExceededException} (client fault)
|
|
131
138
|
* <p>The number of requests exceeded your throughput limit. If you want to increase this
|
|
@@ -141,9 +141,11 @@ export interface CreateStreamProcessorCommandOutput extends CreateStreamProcesso
|
|
|
141
141
|
* operation again.</p>
|
|
142
142
|
*
|
|
143
143
|
* @throws {@link LimitExceededException} (client fault)
|
|
144
|
-
* <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many
|
|
145
|
-
*
|
|
146
|
-
*
|
|
144
|
+
* <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many jobs
|
|
145
|
+
* concurrently, subsequent calls to start operations (ex:
|
|
146
|
+
* <code>StartLabelDetection</code>) will raise a <code>LimitExceededException</code>
|
|
147
|
+
* exception (HTTP status code: 400) until the number of concurrently running jobs is below
|
|
148
|
+
* the Amazon Rekognition service limit. </p>
|
|
147
149
|
*
|
|
148
150
|
* @throws {@link ProvisionedThroughputExceededException} (client fault)
|
|
149
151
|
* <p>The number of requests exceeded your throughput limit. If you want to increase this
|
|
@@ -23,7 +23,10 @@ export interface DeleteDatasetCommandOutput extends DeleteDatasetResponse, __Met
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation applies only to Amazon Rekognition Custom Labels.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Deletes an existing Amazon Rekognition Custom Labels dataset.
|
|
27
30
|
* Deleting a dataset might take while. Use <a>DescribeDataset</a> to check the
|
|
28
31
|
* current status. The dataset is still deleting if the value of <code>Status</code> is
|
|
29
32
|
* <code>DELETE_IN_PROGRESS</code>. If you try to access the dataset after it is deleted, you get
|
|
@@ -65,9 +68,11 @@ export interface DeleteDatasetCommandOutput extends DeleteDatasetResponse, __Met
|
|
|
65
68
|
* operation again.</p>
|
|
66
69
|
*
|
|
67
70
|
* @throws {@link LimitExceededException} (client fault)
|
|
68
|
-
* <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
+
* <p>An Amazon Rekognition service limit was exceeded. For example, if you start too many jobs
|
|
72
|
+
* concurrently, subsequent calls to start operations (ex:
|
|
73
|
+
* <code>StartLabelDetection</code>) will raise a <code>LimitExceededException</code>
|
|
74
|
+
* exception (HTTP status code: 400) until the number of concurrently running jobs is below
|
|
75
|
+
* the Amazon Rekognition service limit. </p>
|
|
71
76
|
*
|
|
72
77
|
* @throws {@link ProvisionedThroughputExceededException} (client fault)
|
|
73
78
|
* <p>The number of requests exceeded your throughput limit. If you want to increase this
|
|
@@ -23,8 +23,8 @@ export interface DeleteProjectCommandOutput extends DeleteProjectResponse, __Met
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Deletes
|
|
27
|
-
* with the project. To delete a model, see <a>DeleteProjectVersion</a>.</p>
|
|
26
|
+
* <p>Deletes a Amazon Rekognition project. To delete a project you must first delete all models or
|
|
27
|
+
* adapters associated with the project. To delete a model or adapter, see <a>DeleteProjectVersion</a>.</p>
|
|
28
28
|
* <p>
|
|
29
29
|
* <code>DeleteProject</code> is an asynchronous operation. To check if the project is
|
|
30
30
|
* deleted, call <a>DescribeProjects</a>. The project is deleted when the project
|
|
@@ -23,7 +23,10 @@ export interface DeleteProjectPolicyCommandOutput extends DeleteProjectPolicyRes
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation applies only to Amazon Rekognition Custom Labels.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Deletes an existing project policy.</p>
|
|
27
30
|
* <p>To get a list of project policies attached to a project, call <a>ListProjectPolicies</a>. To attach a project policy to a project, call <a>PutProjectPolicy</a>.</p>
|
|
28
31
|
* <p>This operation requires permissions to perform the <code>rekognition:DeleteProjectPolicy</code> action.</p>
|
|
29
32
|
* @example
|