@aws-sdk/client-rekognition 3.52.0 → 3.53.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/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/RekognitionServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +298 -5
- package/dist-cjs/protocols/Aws_json1_1.js +821 -3362
- package/dist-es/index.js +1 -0
- package/dist-es/models/RekognitionServiceException.js +12 -0
- package/dist-es/models/models_0.js +275 -1
- package/dist-es/protocols/Aws_json1_1.js +1727 -3559
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/RekognitionServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +128 -56
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/RekognitionServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +92 -56
- package/package.json +26 -26
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { RekognitionServiceException as __BaseException } from "./RekognitionServiceException";
|
|
3
3
|
|
|
4
|
-
export
|
|
5
|
-
name: "AccessDeniedException";
|
|
6
|
-
$fault: "client";
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
7
|
Message?: string;
|
|
8
8
|
Code?: string;
|
|
9
9
|
|
|
10
10
|
Logref?: string;
|
|
11
|
+
|
|
12
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
export interface AgeRange {
|
|
@@ -524,67 +526,81 @@ export declare namespace CompareFacesResponse {
|
|
|
524
526
|
const filterSensitiveLog: (obj: CompareFacesResponse) => any;
|
|
525
527
|
}
|
|
526
528
|
|
|
527
|
-
export
|
|
528
|
-
name: "ImageTooLargeException";
|
|
529
|
-
$fault: "client";
|
|
529
|
+
export declare class ImageTooLargeException extends __BaseException {
|
|
530
|
+
readonly name: "ImageTooLargeException";
|
|
531
|
+
readonly $fault: "client";
|
|
530
532
|
Message?: string;
|
|
531
533
|
Code?: string;
|
|
532
534
|
|
|
533
535
|
Logref?: string;
|
|
536
|
+
|
|
537
|
+
constructor(opts: __ExceptionOptionType<ImageTooLargeException, __BaseException>);
|
|
534
538
|
}
|
|
535
539
|
|
|
536
|
-
export
|
|
537
|
-
name: "InternalServerError";
|
|
538
|
-
$fault: "server";
|
|
540
|
+
export declare class InternalServerError extends __BaseException {
|
|
541
|
+
readonly name: "InternalServerError";
|
|
542
|
+
readonly $fault: "server";
|
|
539
543
|
Message?: string;
|
|
540
544
|
Code?: string;
|
|
541
545
|
|
|
542
546
|
Logref?: string;
|
|
547
|
+
|
|
548
|
+
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
543
549
|
}
|
|
544
550
|
|
|
545
|
-
export
|
|
546
|
-
name: "InvalidImageFormatException";
|
|
547
|
-
$fault: "client";
|
|
551
|
+
export declare class InvalidImageFormatException extends __BaseException {
|
|
552
|
+
readonly name: "InvalidImageFormatException";
|
|
553
|
+
readonly $fault: "client";
|
|
548
554
|
Message?: string;
|
|
549
555
|
Code?: string;
|
|
550
556
|
|
|
551
557
|
Logref?: string;
|
|
558
|
+
|
|
559
|
+
constructor(opts: __ExceptionOptionType<InvalidImageFormatException, __BaseException>);
|
|
552
560
|
}
|
|
553
561
|
|
|
554
|
-
export
|
|
555
|
-
name: "InvalidParameterException";
|
|
556
|
-
$fault: "client";
|
|
562
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
563
|
+
readonly name: "InvalidParameterException";
|
|
564
|
+
readonly $fault: "client";
|
|
557
565
|
Message?: string;
|
|
558
566
|
Code?: string;
|
|
559
567
|
|
|
560
568
|
Logref?: string;
|
|
569
|
+
|
|
570
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
561
571
|
}
|
|
562
572
|
|
|
563
|
-
export
|
|
564
|
-
name: "InvalidS3ObjectException";
|
|
565
|
-
$fault: "client";
|
|
573
|
+
export declare class InvalidS3ObjectException extends __BaseException {
|
|
574
|
+
readonly name: "InvalidS3ObjectException";
|
|
575
|
+
readonly $fault: "client";
|
|
566
576
|
Message?: string;
|
|
567
577
|
Code?: string;
|
|
568
578
|
|
|
569
579
|
Logref?: string;
|
|
580
|
+
|
|
581
|
+
constructor(opts: __ExceptionOptionType<InvalidS3ObjectException, __BaseException>);
|
|
570
582
|
}
|
|
571
583
|
|
|
572
|
-
export
|
|
573
|
-
name: "ProvisionedThroughputExceededException";
|
|
574
|
-
$fault: "client";
|
|
584
|
+
export declare class ProvisionedThroughputExceededException extends __BaseException {
|
|
585
|
+
readonly name: "ProvisionedThroughputExceededException";
|
|
586
|
+
readonly $fault: "client";
|
|
575
587
|
Message?: string;
|
|
576
588
|
Code?: string;
|
|
577
589
|
|
|
578
590
|
Logref?: string;
|
|
591
|
+
|
|
592
|
+
constructor(opts: __ExceptionOptionType<ProvisionedThroughputExceededException, __BaseException>);
|
|
579
593
|
}
|
|
580
594
|
|
|
581
|
-
export
|
|
582
|
-
name: "ThrottlingException";
|
|
583
|
-
$fault: "server";
|
|
595
|
+
export declare class ThrottlingException extends __BaseException {
|
|
596
|
+
readonly name: "ThrottlingException";
|
|
597
|
+
readonly $fault: "server";
|
|
584
598
|
Message?: string;
|
|
585
599
|
Code?: string;
|
|
586
600
|
|
|
587
601
|
Logref?: string;
|
|
602
|
+
|
|
603
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
588
604
|
}
|
|
589
605
|
export declare enum ContentClassifier {
|
|
590
606
|
FREE_OF_ADULT_CONTENT = "FreeOfAdultContent",
|
|
@@ -643,22 +659,26 @@ export declare namespace CreateCollectionResponse {
|
|
|
643
659
|
const filterSensitiveLog: (obj: CreateCollectionResponse) => any;
|
|
644
660
|
}
|
|
645
661
|
|
|
646
|
-
export
|
|
647
|
-
name: "ResourceAlreadyExistsException";
|
|
648
|
-
$fault: "client";
|
|
662
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
663
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
664
|
+
readonly $fault: "client";
|
|
649
665
|
Message?: string;
|
|
650
666
|
Code?: string;
|
|
651
667
|
|
|
652
668
|
Logref?: string;
|
|
669
|
+
|
|
670
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
653
671
|
}
|
|
654
672
|
|
|
655
|
-
export
|
|
656
|
-
name: "ServiceQuotaExceededException";
|
|
657
|
-
$fault: "client";
|
|
673
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
674
|
+
readonly name: "ServiceQuotaExceededException";
|
|
675
|
+
readonly $fault: "client";
|
|
658
676
|
Message?: string;
|
|
659
677
|
Code?: string;
|
|
660
678
|
|
|
661
679
|
Logref?: string;
|
|
680
|
+
|
|
681
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
662
682
|
}
|
|
663
683
|
|
|
664
684
|
export interface DatasetSource {
|
|
@@ -696,22 +716,26 @@ export declare namespace CreateDatasetResponse {
|
|
|
696
716
|
const filterSensitiveLog: (obj: CreateDatasetResponse) => any;
|
|
697
717
|
}
|
|
698
718
|
|
|
699
|
-
export
|
|
700
|
-
name: "LimitExceededException";
|
|
701
|
-
$fault: "client";
|
|
719
|
+
export declare class LimitExceededException extends __BaseException {
|
|
720
|
+
readonly name: "LimitExceededException";
|
|
721
|
+
readonly $fault: "client";
|
|
702
722
|
Message?: string;
|
|
703
723
|
Code?: string;
|
|
704
724
|
|
|
705
725
|
Logref?: string;
|
|
726
|
+
|
|
727
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
706
728
|
}
|
|
707
729
|
|
|
708
|
-
export
|
|
709
|
-
name: "ResourceNotFoundException";
|
|
710
|
-
$fault: "client";
|
|
730
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
731
|
+
readonly name: "ResourceNotFoundException";
|
|
732
|
+
readonly $fault: "client";
|
|
711
733
|
Message?: string;
|
|
712
734
|
Code?: string;
|
|
713
735
|
|
|
714
736
|
Logref?: string;
|
|
737
|
+
|
|
738
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
715
739
|
}
|
|
716
740
|
export interface CreateProjectRequest {
|
|
717
741
|
|
|
@@ -730,13 +754,15 @@ export declare namespace CreateProjectResponse {
|
|
|
730
754
|
const filterSensitiveLog: (obj: CreateProjectResponse) => any;
|
|
731
755
|
}
|
|
732
756
|
|
|
733
|
-
export
|
|
734
|
-
name: "ResourceInUseException";
|
|
735
|
-
$fault: "client";
|
|
757
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
758
|
+
readonly name: "ResourceInUseException";
|
|
759
|
+
readonly $fault: "client";
|
|
736
760
|
Message?: string;
|
|
737
761
|
Code?: string;
|
|
738
762
|
|
|
739
763
|
Logref?: string;
|
|
764
|
+
|
|
765
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
740
766
|
}
|
|
741
767
|
|
|
742
768
|
export interface OutputConfig {
|
|
@@ -1202,13 +1228,15 @@ export declare namespace DescribeProjectsResponse {
|
|
|
1202
1228
|
const filterSensitiveLog: (obj: DescribeProjectsResponse) => any;
|
|
1203
1229
|
}
|
|
1204
1230
|
|
|
1205
|
-
export
|
|
1206
|
-
name: "InvalidPaginationTokenException";
|
|
1207
|
-
$fault: "client";
|
|
1231
|
+
export declare class InvalidPaginationTokenException extends __BaseException {
|
|
1232
|
+
readonly name: "InvalidPaginationTokenException";
|
|
1233
|
+
readonly $fault: "client";
|
|
1208
1234
|
Message?: string;
|
|
1209
1235
|
Code?: string;
|
|
1210
1236
|
|
|
1211
1237
|
Logref?: string;
|
|
1238
|
+
|
|
1239
|
+
constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
|
|
1212
1240
|
}
|
|
1213
1241
|
export interface DescribeProjectVersionsRequest {
|
|
1214
1242
|
|
|
@@ -1386,13 +1414,15 @@ export declare namespace DetectCustomLabelsResponse {
|
|
|
1386
1414
|
const filterSensitiveLog: (obj: DetectCustomLabelsResponse) => any;
|
|
1387
1415
|
}
|
|
1388
1416
|
|
|
1389
|
-
export
|
|
1390
|
-
name: "ResourceNotReadyException";
|
|
1391
|
-
$fault: "client";
|
|
1417
|
+
export declare class ResourceNotReadyException extends __BaseException {
|
|
1418
|
+
readonly name: "ResourceNotReadyException";
|
|
1419
|
+
readonly $fault: "client";
|
|
1392
1420
|
Message?: string;
|
|
1393
1421
|
Code?: string;
|
|
1394
1422
|
|
|
1395
1423
|
Logref?: string;
|
|
1424
|
+
|
|
1425
|
+
constructor(opts: __ExceptionOptionType<ResourceNotReadyException, __BaseException>);
|
|
1396
1426
|
}
|
|
1397
1427
|
export interface DetectFacesRequest {
|
|
1398
1428
|
|
|
@@ -1546,9 +1576,9 @@ export declare namespace DetectModerationLabelsResponse {
|
|
|
1546
1576
|
const filterSensitiveLog: (obj: DetectModerationLabelsResponse) => any;
|
|
1547
1577
|
}
|
|
1548
1578
|
|
|
1549
|
-
export
|
|
1550
|
-
name: "HumanLoopQuotaExceededException";
|
|
1551
|
-
$fault: "client";
|
|
1579
|
+
export declare class HumanLoopQuotaExceededException extends __BaseException {
|
|
1580
|
+
readonly name: "HumanLoopQuotaExceededException";
|
|
1581
|
+
readonly $fault: "client";
|
|
1552
1582
|
|
|
1553
1583
|
ResourceType?: string;
|
|
1554
1584
|
|
|
@@ -1559,6 +1589,8 @@ export interface HumanLoopQuotaExceededException extends __SmithyException, $Met
|
|
|
1559
1589
|
Code?: string;
|
|
1560
1590
|
|
|
1561
1591
|
Logref?: string;
|
|
1592
|
+
|
|
1593
|
+
constructor(opts: __ExceptionOptionType<HumanLoopQuotaExceededException, __BaseException>);
|
|
1562
1594
|
}
|
|
1563
1595
|
|
|
1564
1596
|
export interface ProtectiveEquipmentSummarizationAttributes {
|
|
@@ -2206,13 +2238,15 @@ export declare namespace GetTextDetectionResponse {
|
|
|
2206
2238
|
const filterSensitiveLog: (obj: GetTextDetectionResponse) => any;
|
|
2207
2239
|
}
|
|
2208
2240
|
|
|
2209
|
-
export
|
|
2210
|
-
name: "IdempotentParameterMismatchException";
|
|
2211
|
-
$fault: "client";
|
|
2241
|
+
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
2242
|
+
readonly name: "IdempotentParameterMismatchException";
|
|
2243
|
+
readonly $fault: "client";
|
|
2212
2244
|
Message?: string;
|
|
2213
2245
|
Code?: string;
|
|
2214
2246
|
|
|
2215
2247
|
Logref?: string;
|
|
2248
|
+
|
|
2249
|
+
constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
|
|
2216
2250
|
}
|
|
2217
2251
|
export interface IndexFacesRequest {
|
|
2218
2252
|
|
|
@@ -2532,13 +2566,15 @@ export declare namespace StartCelebrityRecognitionResponse {
|
|
|
2532
2566
|
const filterSensitiveLog: (obj: StartCelebrityRecognitionResponse) => any;
|
|
2533
2567
|
}
|
|
2534
2568
|
|
|
2535
|
-
export
|
|
2536
|
-
name: "VideoTooLargeException";
|
|
2537
|
-
$fault: "client";
|
|
2569
|
+
export declare class VideoTooLargeException extends __BaseException {
|
|
2570
|
+
readonly name: "VideoTooLargeException";
|
|
2571
|
+
readonly $fault: "client";
|
|
2538
2572
|
Message?: string;
|
|
2539
2573
|
Code?: string;
|
|
2540
2574
|
|
|
2541
2575
|
Logref?: string;
|
|
2576
|
+
|
|
2577
|
+
constructor(opts: __ExceptionOptionType<VideoTooLargeException, __BaseException>);
|
|
2542
2578
|
}
|
|
2543
2579
|
export interface StartContentModerationRequest {
|
|
2544
2580
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rekognition",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rekognition Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.53.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,37 +18,37 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
|
-
"@aws-sdk/util-waiter": "3.
|
|
51
|
+
"@aws-sdk/util-waiter": "3.53.0",
|
|
52
52
|
"tslib": "^2.3.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|