@aws-sdk/client-rekognition 3.169.0 → 3.170.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 (99) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/Rekognition.d.ts +1138 -320
  3. package/dist-types/ts3.4/RekognitionClient.d.ts +507 -136
  4. package/dist-types/ts3.4/commands/CompareFacesCommand.d.ts +34 -17
  5. package/dist-types/ts3.4/commands/CopyProjectVersionCommand.d.ts +38 -17
  6. package/dist-types/ts3.4/commands/CreateCollectionCommand.d.ts +37 -17
  7. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +37 -17
  8. package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +37 -17
  9. package/dist-types/ts3.4/commands/CreateProjectVersionCommand.d.ts +41 -17
  10. package/dist-types/ts3.4/commands/CreateStreamProcessorCommand.d.ts +41 -17
  11. package/dist-types/ts3.4/commands/DeleteCollectionCommand.d.ts +37 -17
  12. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +37 -17
  13. package/dist-types/ts3.4/commands/DeleteFacesCommand.d.ts +34 -17
  14. package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +37 -17
  15. package/dist-types/ts3.4/commands/DeleteProjectPolicyCommand.d.ts +38 -17
  16. package/dist-types/ts3.4/commands/DeleteProjectVersionCommand.d.ts +41 -17
  17. package/dist-types/ts3.4/commands/DeleteStreamProcessorCommand.d.ts +41 -17
  18. package/dist-types/ts3.4/commands/DescribeCollectionCommand.d.ts +38 -17
  19. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +37 -17
  20. package/dist-types/ts3.4/commands/DescribeProjectVersionsCommand.d.ts +41 -17
  21. package/dist-types/ts3.4/commands/DescribeProjectsCommand.d.ts +37 -17
  22. package/dist-types/ts3.4/commands/DescribeStreamProcessorCommand.d.ts +41 -17
  23. package/dist-types/ts3.4/commands/DetectCustomLabelsCommand.d.ts +38 -17
  24. package/dist-types/ts3.4/commands/DetectFacesCommand.d.ts +34 -17
  25. package/dist-types/ts3.4/commands/DetectLabelsCommand.d.ts +34 -17
  26. package/dist-types/ts3.4/commands/DetectModerationLabelsCommand.d.ts +41 -17
  27. package/dist-types/ts3.4/commands/DetectProtectiveEquipmentCommand.d.ts +41 -17
  28. package/dist-types/ts3.4/commands/DetectTextCommand.d.ts +34 -17
  29. package/dist-types/ts3.4/commands/DistributeDatasetEntriesCommand.d.ts +41 -17
  30. package/dist-types/ts3.4/commands/GetCelebrityInfoCommand.d.ts +37 -17
  31. package/dist-types/ts3.4/commands/GetCelebrityRecognitionCommand.d.ts +41 -17
  32. package/dist-types/ts3.4/commands/GetContentModerationCommand.d.ts +41 -17
  33. package/dist-types/ts3.4/commands/GetFaceDetectionCommand.d.ts +37 -17
  34. package/dist-types/ts3.4/commands/GetFaceSearchCommand.d.ts +37 -17
  35. package/dist-types/ts3.4/commands/GetLabelDetectionCommand.d.ts +38 -17
  36. package/dist-types/ts3.4/commands/GetPersonTrackingCommand.d.ts +38 -17
  37. package/dist-types/ts3.4/commands/GetSegmentDetectionCommand.d.ts +38 -17
  38. package/dist-types/ts3.4/commands/GetTextDetectionCommand.d.ts +37 -17
  39. package/dist-types/ts3.4/commands/IndexFacesCommand.d.ts +34 -17
  40. package/dist-types/ts3.4/commands/ListCollectionsCommand.d.ts +37 -17
  41. package/dist-types/ts3.4/commands/ListDatasetEntriesCommand.d.ts +38 -17
  42. package/dist-types/ts3.4/commands/ListDatasetLabelsCommand.d.ts +38 -17
  43. package/dist-types/ts3.4/commands/ListFacesCommand.d.ts +34 -17
  44. package/dist-types/ts3.4/commands/ListProjectPoliciesCommand.d.ts +38 -17
  45. package/dist-types/ts3.4/commands/ListStreamProcessorsCommand.d.ts +41 -17
  46. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -17
  47. package/dist-types/ts3.4/commands/PutProjectPolicyCommand.d.ts +37 -17
  48. package/dist-types/ts3.4/commands/RecognizeCelebritiesCommand.d.ts +41 -17
  49. package/dist-types/ts3.4/commands/SearchFacesByImageCommand.d.ts +38 -17
  50. package/dist-types/ts3.4/commands/SearchFacesCommand.d.ts +34 -17
  51. package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +41 -17
  52. package/dist-types/ts3.4/commands/StartContentModerationCommand.d.ts +41 -17
  53. package/dist-types/ts3.4/commands/StartFaceDetectionCommand.d.ts +38 -17
  54. package/dist-types/ts3.4/commands/StartFaceSearchCommand.d.ts +37 -17
  55. package/dist-types/ts3.4/commands/StartLabelDetectionCommand.d.ts +38 -17
  56. package/dist-types/ts3.4/commands/StartPersonTrackingCommand.d.ts +38 -17
  57. package/dist-types/ts3.4/commands/StartProjectVersionCommand.d.ts +38 -17
  58. package/dist-types/ts3.4/commands/StartSegmentDetectionCommand.d.ts +41 -17
  59. package/dist-types/ts3.4/commands/StartStreamProcessorCommand.d.ts +41 -17
  60. package/dist-types/ts3.4/commands/StartTextDetectionCommand.d.ts +38 -17
  61. package/dist-types/ts3.4/commands/StopProjectVersionCommand.d.ts +38 -17
  62. package/dist-types/ts3.4/commands/StopStreamProcessorCommand.d.ts +38 -17
  63. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -17
  64. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -17
  65. package/dist-types/ts3.4/commands/UpdateDatasetEntriesCommand.d.ts +41 -17
  66. package/dist-types/ts3.4/commands/UpdateStreamProcessorCommand.d.ts +41 -17
  67. package/dist-types/ts3.4/commands/index.d.ts +63 -63
  68. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  69. package/dist-types/ts3.4/index.d.ts +7 -7
  70. package/dist-types/ts3.4/models/RekognitionServiceException.d.ts +8 -6
  71. package/dist-types/ts3.4/models/index.d.ts +1 -1
  72. package/dist-types/ts3.4/models/models_0.d.ts +2935 -2714
  73. package/dist-types/ts3.4/pagination/DescribeProjectVersionsPaginator.d.ts +11 -4
  74. package/dist-types/ts3.4/pagination/DescribeProjectsPaginator.d.ts +11 -4
  75. package/dist-types/ts3.4/pagination/GetCelebrityRecognitionPaginator.d.ts +11 -4
  76. package/dist-types/ts3.4/pagination/GetContentModerationPaginator.d.ts +11 -4
  77. package/dist-types/ts3.4/pagination/GetFaceDetectionPaginator.d.ts +11 -4
  78. package/dist-types/ts3.4/pagination/GetFaceSearchPaginator.d.ts +11 -4
  79. package/dist-types/ts3.4/pagination/GetLabelDetectionPaginator.d.ts +11 -4
  80. package/dist-types/ts3.4/pagination/GetPersonTrackingPaginator.d.ts +11 -4
  81. package/dist-types/ts3.4/pagination/GetSegmentDetectionPaginator.d.ts +11 -4
  82. package/dist-types/ts3.4/pagination/GetTextDetectionPaginator.d.ts +11 -4
  83. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  84. package/dist-types/ts3.4/pagination/ListCollectionsPaginator.d.ts +11 -4
  85. package/dist-types/ts3.4/pagination/ListDatasetEntriesPaginator.d.ts +11 -4
  86. package/dist-types/ts3.4/pagination/ListDatasetLabelsPaginator.d.ts +11 -4
  87. package/dist-types/ts3.4/pagination/ListFacesPaginator.d.ts +11 -4
  88. package/dist-types/ts3.4/pagination/ListProjectPoliciesPaginator.d.ts +11 -4
  89. package/dist-types/ts3.4/pagination/ListStreamProcessorsPaginator.d.ts +11 -4
  90. package/dist-types/ts3.4/pagination/index.d.ts +17 -17
  91. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +761 -191
  92. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  93. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  94. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  95. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  96. package/dist-types/ts3.4/waiters/index.d.ts +2 -2
  97. package/dist-types/ts3.4/waiters/waitForProjectVersionRunning.d.ts +13 -7
  98. package/dist-types/ts3.4/waiters/waitForProjectVersionTrainingCompleted.d.ts +13 -7
  99. package/package.json +35 -35
@@ -1,136 +1,507 @@
1
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
- import { CompareFacesCommandInput, CompareFacesCommandOutput } from "./commands/CompareFacesCommand";
10
- import { CopyProjectVersionCommandInput, CopyProjectVersionCommandOutput } from "./commands/CopyProjectVersionCommand";
11
- import { CreateCollectionCommandInput, CreateCollectionCommandOutput } from "./commands/CreateCollectionCommand";
12
- import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand";
13
- import { CreateProjectCommandInput, CreateProjectCommandOutput } from "./commands/CreateProjectCommand";
14
- import { CreateProjectVersionCommandInput, CreateProjectVersionCommandOutput } from "./commands/CreateProjectVersionCommand";
15
- import { CreateStreamProcessorCommandInput, CreateStreamProcessorCommandOutput } from "./commands/CreateStreamProcessorCommand";
16
- import { DeleteCollectionCommandInput, DeleteCollectionCommandOutput } from "./commands/DeleteCollectionCommand";
17
- import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
18
- import { DeleteFacesCommandInput, DeleteFacesCommandOutput } from "./commands/DeleteFacesCommand";
19
- import { DeleteProjectCommandInput, DeleteProjectCommandOutput } from "./commands/DeleteProjectCommand";
20
- import { DeleteProjectPolicyCommandInput, DeleteProjectPolicyCommandOutput } from "./commands/DeleteProjectPolicyCommand";
21
- import { DeleteProjectVersionCommandInput, DeleteProjectVersionCommandOutput } from "./commands/DeleteProjectVersionCommand";
22
- import { DeleteStreamProcessorCommandInput, DeleteStreamProcessorCommandOutput } from "./commands/DeleteStreamProcessorCommand";
23
- import { DescribeCollectionCommandInput, DescribeCollectionCommandOutput } from "./commands/DescribeCollectionCommand";
24
- import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "./commands/DescribeDatasetCommand";
25
- import { DescribeProjectsCommandInput, DescribeProjectsCommandOutput } from "./commands/DescribeProjectsCommand";
26
- import { DescribeProjectVersionsCommandInput, DescribeProjectVersionsCommandOutput } from "./commands/DescribeProjectVersionsCommand";
27
- import { DescribeStreamProcessorCommandInput, DescribeStreamProcessorCommandOutput } from "./commands/DescribeStreamProcessorCommand";
28
- import { DetectCustomLabelsCommandInput, DetectCustomLabelsCommandOutput } from "./commands/DetectCustomLabelsCommand";
29
- import { DetectFacesCommandInput, DetectFacesCommandOutput } from "./commands/DetectFacesCommand";
30
- import { DetectLabelsCommandInput, DetectLabelsCommandOutput } from "./commands/DetectLabelsCommand";
31
- import { DetectModerationLabelsCommandInput, DetectModerationLabelsCommandOutput } from "./commands/DetectModerationLabelsCommand";
32
- import { DetectProtectiveEquipmentCommandInput, DetectProtectiveEquipmentCommandOutput } from "./commands/DetectProtectiveEquipmentCommand";
33
- import { DetectTextCommandInput, DetectTextCommandOutput } from "./commands/DetectTextCommand";
34
- import { DistributeDatasetEntriesCommandInput, DistributeDatasetEntriesCommandOutput } from "./commands/DistributeDatasetEntriesCommand";
35
- import { GetCelebrityInfoCommandInput, GetCelebrityInfoCommandOutput } from "./commands/GetCelebrityInfoCommand";
36
- import { GetCelebrityRecognitionCommandInput, GetCelebrityRecognitionCommandOutput } from "./commands/GetCelebrityRecognitionCommand";
37
- import { GetContentModerationCommandInput, GetContentModerationCommandOutput } from "./commands/GetContentModerationCommand";
38
- import { GetFaceDetectionCommandInput, GetFaceDetectionCommandOutput } from "./commands/GetFaceDetectionCommand";
39
- import { GetFaceSearchCommandInput, GetFaceSearchCommandOutput } from "./commands/GetFaceSearchCommand";
40
- import { GetLabelDetectionCommandInput, GetLabelDetectionCommandOutput } from "./commands/GetLabelDetectionCommand";
41
- import { GetPersonTrackingCommandInput, GetPersonTrackingCommandOutput } from "./commands/GetPersonTrackingCommand";
42
- import { GetSegmentDetectionCommandInput, GetSegmentDetectionCommandOutput } from "./commands/GetSegmentDetectionCommand";
43
- import { GetTextDetectionCommandInput, GetTextDetectionCommandOutput } from "./commands/GetTextDetectionCommand";
44
- import { IndexFacesCommandInput, IndexFacesCommandOutput } from "./commands/IndexFacesCommand";
45
- import { ListCollectionsCommandInput, ListCollectionsCommandOutput } from "./commands/ListCollectionsCommand";
46
- import { ListDatasetEntriesCommandInput, ListDatasetEntriesCommandOutput } from "./commands/ListDatasetEntriesCommand";
47
- import { ListDatasetLabelsCommandInput, ListDatasetLabelsCommandOutput } from "./commands/ListDatasetLabelsCommand";
48
- import { ListFacesCommandInput, ListFacesCommandOutput } from "./commands/ListFacesCommand";
49
- import { ListProjectPoliciesCommandInput, ListProjectPoliciesCommandOutput } from "./commands/ListProjectPoliciesCommand";
50
- import { ListStreamProcessorsCommandInput, ListStreamProcessorsCommandOutput } from "./commands/ListStreamProcessorsCommand";
51
- import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
52
- import { PutProjectPolicyCommandInput, PutProjectPolicyCommandOutput } from "./commands/PutProjectPolicyCommand";
53
- import { RecognizeCelebritiesCommandInput, RecognizeCelebritiesCommandOutput } from "./commands/RecognizeCelebritiesCommand";
54
- import { SearchFacesByImageCommandInput, SearchFacesByImageCommandOutput } from "./commands/SearchFacesByImageCommand";
55
- import { SearchFacesCommandInput, SearchFacesCommandOutput } from "./commands/SearchFacesCommand";
56
- import { StartCelebrityRecognitionCommandInput, StartCelebrityRecognitionCommandOutput } from "./commands/StartCelebrityRecognitionCommand";
57
- import { StartContentModerationCommandInput, StartContentModerationCommandOutput } from "./commands/StartContentModerationCommand";
58
- import { StartFaceDetectionCommandInput, StartFaceDetectionCommandOutput } from "./commands/StartFaceDetectionCommand";
59
- import { StartFaceSearchCommandInput, StartFaceSearchCommandOutput } from "./commands/StartFaceSearchCommand";
60
- import { StartLabelDetectionCommandInput, StartLabelDetectionCommandOutput } from "./commands/StartLabelDetectionCommand";
61
- import { StartPersonTrackingCommandInput, StartPersonTrackingCommandOutput } from "./commands/StartPersonTrackingCommand";
62
- import { StartProjectVersionCommandInput, StartProjectVersionCommandOutput } from "./commands/StartProjectVersionCommand";
63
- import { StartSegmentDetectionCommandInput, StartSegmentDetectionCommandOutput } from "./commands/StartSegmentDetectionCommand";
64
- import { StartStreamProcessorCommandInput, StartStreamProcessorCommandOutput } from "./commands/StartStreamProcessorCommand";
65
- import { StartTextDetectionCommandInput, StartTextDetectionCommandOutput } from "./commands/StartTextDetectionCommand";
66
- import { StopProjectVersionCommandInput, StopProjectVersionCommandOutput } from "./commands/StopProjectVersionCommand";
67
- import { StopStreamProcessorCommandInput, StopStreamProcessorCommandOutput } from "./commands/StopStreamProcessorCommand";
68
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
69
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
70
- import { UpdateDatasetEntriesCommandInput, UpdateDatasetEntriesCommandOutput } from "./commands/UpdateDatasetEntriesCommand";
71
- import { UpdateStreamProcessorCommandInput, UpdateStreamProcessorCommandOutput } from "./commands/UpdateStreamProcessorCommand";
72
- export declare type ServiceInputTypes = CompareFacesCommandInput | CopyProjectVersionCommandInput | CreateCollectionCommandInput | CreateDatasetCommandInput | CreateProjectCommandInput | CreateProjectVersionCommandInput | CreateStreamProcessorCommandInput | DeleteCollectionCommandInput | DeleteDatasetCommandInput | DeleteFacesCommandInput | DeleteProjectCommandInput | DeleteProjectPolicyCommandInput | DeleteProjectVersionCommandInput | DeleteStreamProcessorCommandInput | DescribeCollectionCommandInput | DescribeDatasetCommandInput | DescribeProjectVersionsCommandInput | DescribeProjectsCommandInput | DescribeStreamProcessorCommandInput | DetectCustomLabelsCommandInput | DetectFacesCommandInput | DetectLabelsCommandInput | DetectModerationLabelsCommandInput | DetectProtectiveEquipmentCommandInput | DetectTextCommandInput | DistributeDatasetEntriesCommandInput | GetCelebrityInfoCommandInput | GetCelebrityRecognitionCommandInput | GetContentModerationCommandInput | GetFaceDetectionCommandInput | GetFaceSearchCommandInput | GetLabelDetectionCommandInput | GetPersonTrackingCommandInput | GetSegmentDetectionCommandInput | GetTextDetectionCommandInput | IndexFacesCommandInput | ListCollectionsCommandInput | ListDatasetEntriesCommandInput | ListDatasetLabelsCommandInput | ListFacesCommandInput | ListProjectPoliciesCommandInput | ListStreamProcessorsCommandInput | ListTagsForResourceCommandInput | PutProjectPolicyCommandInput | RecognizeCelebritiesCommandInput | SearchFacesByImageCommandInput | SearchFacesCommandInput | StartCelebrityRecognitionCommandInput | StartContentModerationCommandInput | StartFaceDetectionCommandInput | StartFaceSearchCommandInput | StartLabelDetectionCommandInput | StartPersonTrackingCommandInput | StartProjectVersionCommandInput | StartSegmentDetectionCommandInput | StartStreamProcessorCommandInput | StartTextDetectionCommandInput | StopProjectVersionCommandInput | StopStreamProcessorCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDatasetEntriesCommandInput | UpdateStreamProcessorCommandInput;
73
- export declare type ServiceOutputTypes = CompareFacesCommandOutput | CopyProjectVersionCommandOutput | CreateCollectionCommandOutput | CreateDatasetCommandOutput | CreateProjectCommandOutput | CreateProjectVersionCommandOutput | CreateStreamProcessorCommandOutput | DeleteCollectionCommandOutput | DeleteDatasetCommandOutput | DeleteFacesCommandOutput | DeleteProjectCommandOutput | DeleteProjectPolicyCommandOutput | DeleteProjectVersionCommandOutput | DeleteStreamProcessorCommandOutput | DescribeCollectionCommandOutput | DescribeDatasetCommandOutput | DescribeProjectVersionsCommandOutput | DescribeProjectsCommandOutput | DescribeStreamProcessorCommandOutput | DetectCustomLabelsCommandOutput | DetectFacesCommandOutput | DetectLabelsCommandOutput | DetectModerationLabelsCommandOutput | DetectProtectiveEquipmentCommandOutput | DetectTextCommandOutput | DistributeDatasetEntriesCommandOutput | GetCelebrityInfoCommandOutput | GetCelebrityRecognitionCommandOutput | GetContentModerationCommandOutput | GetFaceDetectionCommandOutput | GetFaceSearchCommandOutput | GetLabelDetectionCommandOutput | GetPersonTrackingCommandOutput | GetSegmentDetectionCommandOutput | GetTextDetectionCommandOutput | IndexFacesCommandOutput | ListCollectionsCommandOutput | ListDatasetEntriesCommandOutput | ListDatasetLabelsCommandOutput | ListFacesCommandOutput | ListProjectPoliciesCommandOutput | ListStreamProcessorsCommandOutput | ListTagsForResourceCommandOutput | PutProjectPolicyCommandOutput | RecognizeCelebritiesCommandOutput | SearchFacesByImageCommandOutput | SearchFacesCommandOutput | StartCelebrityRecognitionCommandOutput | StartContentModerationCommandOutput | StartFaceDetectionCommandOutput | StartFaceSearchCommandOutput | StartLabelDetectionCommandOutput | StartPersonTrackingCommandOutput | StartProjectVersionCommandOutput | StartSegmentDetectionCommandOutput | StartStreamProcessorCommandOutput | StartTextDetectionCommandOutput | StopProjectVersionCommandOutput | StopStreamProcessorCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDatasetEntriesCommandOutput | UpdateStreamProcessorCommandOutput;
74
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
75
-
76
- requestHandler?: __HttpHandler;
77
-
78
- sha256?: __HashConstructor;
79
-
80
- urlParser?: __UrlParser;
81
-
82
- bodyLengthChecker?: __BodyLengthCalculator;
83
-
84
- streamCollector?: __StreamCollector;
85
-
86
- base64Decoder?: __Decoder;
87
-
88
- base64Encoder?: __Encoder;
89
-
90
- utf8Decoder?: __Decoder;
91
-
92
- utf8Encoder?: __Encoder;
93
-
94
- runtime?: string;
95
-
96
- disableHostPrefix?: boolean;
97
-
98
- maxAttempts?: number | __Provider<number>;
99
-
100
- retryMode?: string | __Provider<string>;
101
-
102
- logger?: __Logger;
103
-
104
- useDualstackEndpoint?: boolean | __Provider<boolean>;
105
-
106
- useFipsEndpoint?: boolean | __Provider<boolean>;
107
-
108
- serviceId?: string;
109
-
110
- region?: string | __Provider<string>;
111
-
112
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
113
-
114
- regionInfoProvider?: RegionInfoProvider;
115
-
116
- defaultUserAgentProvider?: Provider<__UserAgent>;
117
-
118
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
119
- }
120
- declare type RekognitionClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
121
-
122
- export interface RekognitionClientConfig extends RekognitionClientConfigType {
123
- }
124
- declare type RekognitionClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
125
-
126
- export interface RekognitionClientResolvedConfig extends RekognitionClientResolvedConfigType {
127
- }
128
-
129
- export declare class RekognitionClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, RekognitionClientResolvedConfig> {
130
-
131
- readonly config: RekognitionClientResolvedConfig;
132
- constructor(configuration: RekognitionClientConfig);
133
-
134
- destroy(): void;
135
- }
136
- export {};
1
+ import {
2
+ EndpointsInputConfig,
3
+ EndpointsResolvedConfig,
4
+ RegionInputConfig,
5
+ RegionResolvedConfig,
6
+ } from "@aws-sdk/config-resolver";
7
+ import {
8
+ HostHeaderInputConfig,
9
+ HostHeaderResolvedConfig,
10
+ } from "@aws-sdk/middleware-host-header";
11
+ import {
12
+ RetryInputConfig,
13
+ RetryResolvedConfig,
14
+ } from "@aws-sdk/middleware-retry";
15
+ import {
16
+ AwsAuthInputConfig,
17
+ AwsAuthResolvedConfig,
18
+ } from "@aws-sdk/middleware-signing";
19
+ import {
20
+ UserAgentInputConfig,
21
+ UserAgentResolvedConfig,
22
+ } from "@aws-sdk/middleware-user-agent";
23
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
24
+ import {
25
+ Client as __Client,
26
+ DefaultsMode,
27
+ SmithyConfiguration as __SmithyConfiguration,
28
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
29
+ } from "@aws-sdk/smithy-client";
30
+ import {
31
+ BodyLengthCalculator as __BodyLengthCalculator,
32
+ Credentials as __Credentials,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ RegionInfoProvider,
41
+ StreamCollector as __StreamCollector,
42
+ UrlParser as __UrlParser,
43
+ UserAgent as __UserAgent,
44
+ } from "@aws-sdk/types";
45
+ import {
46
+ CompareFacesCommandInput,
47
+ CompareFacesCommandOutput,
48
+ } from "./commands/CompareFacesCommand";
49
+ import {
50
+ CopyProjectVersionCommandInput,
51
+ CopyProjectVersionCommandOutput,
52
+ } from "./commands/CopyProjectVersionCommand";
53
+ import {
54
+ CreateCollectionCommandInput,
55
+ CreateCollectionCommandOutput,
56
+ } from "./commands/CreateCollectionCommand";
57
+ import {
58
+ CreateDatasetCommandInput,
59
+ CreateDatasetCommandOutput,
60
+ } from "./commands/CreateDatasetCommand";
61
+ import {
62
+ CreateProjectCommandInput,
63
+ CreateProjectCommandOutput,
64
+ } from "./commands/CreateProjectCommand";
65
+ import {
66
+ CreateProjectVersionCommandInput,
67
+ CreateProjectVersionCommandOutput,
68
+ } from "./commands/CreateProjectVersionCommand";
69
+ import {
70
+ CreateStreamProcessorCommandInput,
71
+ CreateStreamProcessorCommandOutput,
72
+ } from "./commands/CreateStreamProcessorCommand";
73
+ import {
74
+ DeleteCollectionCommandInput,
75
+ DeleteCollectionCommandOutput,
76
+ } from "./commands/DeleteCollectionCommand";
77
+ import {
78
+ DeleteDatasetCommandInput,
79
+ DeleteDatasetCommandOutput,
80
+ } from "./commands/DeleteDatasetCommand";
81
+ import {
82
+ DeleteFacesCommandInput,
83
+ DeleteFacesCommandOutput,
84
+ } from "./commands/DeleteFacesCommand";
85
+ import {
86
+ DeleteProjectCommandInput,
87
+ DeleteProjectCommandOutput,
88
+ } from "./commands/DeleteProjectCommand";
89
+ import {
90
+ DeleteProjectPolicyCommandInput,
91
+ DeleteProjectPolicyCommandOutput,
92
+ } from "./commands/DeleteProjectPolicyCommand";
93
+ import {
94
+ DeleteProjectVersionCommandInput,
95
+ DeleteProjectVersionCommandOutput,
96
+ } from "./commands/DeleteProjectVersionCommand";
97
+ import {
98
+ DeleteStreamProcessorCommandInput,
99
+ DeleteStreamProcessorCommandOutput,
100
+ } from "./commands/DeleteStreamProcessorCommand";
101
+ import {
102
+ DescribeCollectionCommandInput,
103
+ DescribeCollectionCommandOutput,
104
+ } from "./commands/DescribeCollectionCommand";
105
+ import {
106
+ DescribeDatasetCommandInput,
107
+ DescribeDatasetCommandOutput,
108
+ } from "./commands/DescribeDatasetCommand";
109
+ import {
110
+ DescribeProjectsCommandInput,
111
+ DescribeProjectsCommandOutput,
112
+ } from "./commands/DescribeProjectsCommand";
113
+ import {
114
+ DescribeProjectVersionsCommandInput,
115
+ DescribeProjectVersionsCommandOutput,
116
+ } from "./commands/DescribeProjectVersionsCommand";
117
+ import {
118
+ DescribeStreamProcessorCommandInput,
119
+ DescribeStreamProcessorCommandOutput,
120
+ } from "./commands/DescribeStreamProcessorCommand";
121
+ import {
122
+ DetectCustomLabelsCommandInput,
123
+ DetectCustomLabelsCommandOutput,
124
+ } from "./commands/DetectCustomLabelsCommand";
125
+ import {
126
+ DetectFacesCommandInput,
127
+ DetectFacesCommandOutput,
128
+ } from "./commands/DetectFacesCommand";
129
+ import {
130
+ DetectLabelsCommandInput,
131
+ DetectLabelsCommandOutput,
132
+ } from "./commands/DetectLabelsCommand";
133
+ import {
134
+ DetectModerationLabelsCommandInput,
135
+ DetectModerationLabelsCommandOutput,
136
+ } from "./commands/DetectModerationLabelsCommand";
137
+ import {
138
+ DetectProtectiveEquipmentCommandInput,
139
+ DetectProtectiveEquipmentCommandOutput,
140
+ } from "./commands/DetectProtectiveEquipmentCommand";
141
+ import {
142
+ DetectTextCommandInput,
143
+ DetectTextCommandOutput,
144
+ } from "./commands/DetectTextCommand";
145
+ import {
146
+ DistributeDatasetEntriesCommandInput,
147
+ DistributeDatasetEntriesCommandOutput,
148
+ } from "./commands/DistributeDatasetEntriesCommand";
149
+ import {
150
+ GetCelebrityInfoCommandInput,
151
+ GetCelebrityInfoCommandOutput,
152
+ } from "./commands/GetCelebrityInfoCommand";
153
+ import {
154
+ GetCelebrityRecognitionCommandInput,
155
+ GetCelebrityRecognitionCommandOutput,
156
+ } from "./commands/GetCelebrityRecognitionCommand";
157
+ import {
158
+ GetContentModerationCommandInput,
159
+ GetContentModerationCommandOutput,
160
+ } from "./commands/GetContentModerationCommand";
161
+ import {
162
+ GetFaceDetectionCommandInput,
163
+ GetFaceDetectionCommandOutput,
164
+ } from "./commands/GetFaceDetectionCommand";
165
+ import {
166
+ GetFaceSearchCommandInput,
167
+ GetFaceSearchCommandOutput,
168
+ } from "./commands/GetFaceSearchCommand";
169
+ import {
170
+ GetLabelDetectionCommandInput,
171
+ GetLabelDetectionCommandOutput,
172
+ } from "./commands/GetLabelDetectionCommand";
173
+ import {
174
+ GetPersonTrackingCommandInput,
175
+ GetPersonTrackingCommandOutput,
176
+ } from "./commands/GetPersonTrackingCommand";
177
+ import {
178
+ GetSegmentDetectionCommandInput,
179
+ GetSegmentDetectionCommandOutput,
180
+ } from "./commands/GetSegmentDetectionCommand";
181
+ import {
182
+ GetTextDetectionCommandInput,
183
+ GetTextDetectionCommandOutput,
184
+ } from "./commands/GetTextDetectionCommand";
185
+ import {
186
+ IndexFacesCommandInput,
187
+ IndexFacesCommandOutput,
188
+ } from "./commands/IndexFacesCommand";
189
+ import {
190
+ ListCollectionsCommandInput,
191
+ ListCollectionsCommandOutput,
192
+ } from "./commands/ListCollectionsCommand";
193
+ import {
194
+ ListDatasetEntriesCommandInput,
195
+ ListDatasetEntriesCommandOutput,
196
+ } from "./commands/ListDatasetEntriesCommand";
197
+ import {
198
+ ListDatasetLabelsCommandInput,
199
+ ListDatasetLabelsCommandOutput,
200
+ } from "./commands/ListDatasetLabelsCommand";
201
+ import {
202
+ ListFacesCommandInput,
203
+ ListFacesCommandOutput,
204
+ } from "./commands/ListFacesCommand";
205
+ import {
206
+ ListProjectPoliciesCommandInput,
207
+ ListProjectPoliciesCommandOutput,
208
+ } from "./commands/ListProjectPoliciesCommand";
209
+ import {
210
+ ListStreamProcessorsCommandInput,
211
+ ListStreamProcessorsCommandOutput,
212
+ } from "./commands/ListStreamProcessorsCommand";
213
+ import {
214
+ ListTagsForResourceCommandInput,
215
+ ListTagsForResourceCommandOutput,
216
+ } from "./commands/ListTagsForResourceCommand";
217
+ import {
218
+ PutProjectPolicyCommandInput,
219
+ PutProjectPolicyCommandOutput,
220
+ } from "./commands/PutProjectPolicyCommand";
221
+ import {
222
+ RecognizeCelebritiesCommandInput,
223
+ RecognizeCelebritiesCommandOutput,
224
+ } from "./commands/RecognizeCelebritiesCommand";
225
+ import {
226
+ SearchFacesByImageCommandInput,
227
+ SearchFacesByImageCommandOutput,
228
+ } from "./commands/SearchFacesByImageCommand";
229
+ import {
230
+ SearchFacesCommandInput,
231
+ SearchFacesCommandOutput,
232
+ } from "./commands/SearchFacesCommand";
233
+ import {
234
+ StartCelebrityRecognitionCommandInput,
235
+ StartCelebrityRecognitionCommandOutput,
236
+ } from "./commands/StartCelebrityRecognitionCommand";
237
+ import {
238
+ StartContentModerationCommandInput,
239
+ StartContentModerationCommandOutput,
240
+ } from "./commands/StartContentModerationCommand";
241
+ import {
242
+ StartFaceDetectionCommandInput,
243
+ StartFaceDetectionCommandOutput,
244
+ } from "./commands/StartFaceDetectionCommand";
245
+ import {
246
+ StartFaceSearchCommandInput,
247
+ StartFaceSearchCommandOutput,
248
+ } from "./commands/StartFaceSearchCommand";
249
+ import {
250
+ StartLabelDetectionCommandInput,
251
+ StartLabelDetectionCommandOutput,
252
+ } from "./commands/StartLabelDetectionCommand";
253
+ import {
254
+ StartPersonTrackingCommandInput,
255
+ StartPersonTrackingCommandOutput,
256
+ } from "./commands/StartPersonTrackingCommand";
257
+ import {
258
+ StartProjectVersionCommandInput,
259
+ StartProjectVersionCommandOutput,
260
+ } from "./commands/StartProjectVersionCommand";
261
+ import {
262
+ StartSegmentDetectionCommandInput,
263
+ StartSegmentDetectionCommandOutput,
264
+ } from "./commands/StartSegmentDetectionCommand";
265
+ import {
266
+ StartStreamProcessorCommandInput,
267
+ StartStreamProcessorCommandOutput,
268
+ } from "./commands/StartStreamProcessorCommand";
269
+ import {
270
+ StartTextDetectionCommandInput,
271
+ StartTextDetectionCommandOutput,
272
+ } from "./commands/StartTextDetectionCommand";
273
+ import {
274
+ StopProjectVersionCommandInput,
275
+ StopProjectVersionCommandOutput,
276
+ } from "./commands/StopProjectVersionCommand";
277
+ import {
278
+ StopStreamProcessorCommandInput,
279
+ StopStreamProcessorCommandOutput,
280
+ } from "./commands/StopStreamProcessorCommand";
281
+ import {
282
+ TagResourceCommandInput,
283
+ TagResourceCommandOutput,
284
+ } from "./commands/TagResourceCommand";
285
+ import {
286
+ UntagResourceCommandInput,
287
+ UntagResourceCommandOutput,
288
+ } from "./commands/UntagResourceCommand";
289
+ import {
290
+ UpdateDatasetEntriesCommandInput,
291
+ UpdateDatasetEntriesCommandOutput,
292
+ } from "./commands/UpdateDatasetEntriesCommand";
293
+ import {
294
+ UpdateStreamProcessorCommandInput,
295
+ UpdateStreamProcessorCommandOutput,
296
+ } from "./commands/UpdateStreamProcessorCommand";
297
+ export declare type ServiceInputTypes =
298
+ | CompareFacesCommandInput
299
+ | CopyProjectVersionCommandInput
300
+ | CreateCollectionCommandInput
301
+ | CreateDatasetCommandInput
302
+ | CreateProjectCommandInput
303
+ | CreateProjectVersionCommandInput
304
+ | CreateStreamProcessorCommandInput
305
+ | DeleteCollectionCommandInput
306
+ | DeleteDatasetCommandInput
307
+ | DeleteFacesCommandInput
308
+ | DeleteProjectCommandInput
309
+ | DeleteProjectPolicyCommandInput
310
+ | DeleteProjectVersionCommandInput
311
+ | DeleteStreamProcessorCommandInput
312
+ | DescribeCollectionCommandInput
313
+ | DescribeDatasetCommandInput
314
+ | DescribeProjectVersionsCommandInput
315
+ | DescribeProjectsCommandInput
316
+ | DescribeStreamProcessorCommandInput
317
+ | DetectCustomLabelsCommandInput
318
+ | DetectFacesCommandInput
319
+ | DetectLabelsCommandInput
320
+ | DetectModerationLabelsCommandInput
321
+ | DetectProtectiveEquipmentCommandInput
322
+ | DetectTextCommandInput
323
+ | DistributeDatasetEntriesCommandInput
324
+ | GetCelebrityInfoCommandInput
325
+ | GetCelebrityRecognitionCommandInput
326
+ | GetContentModerationCommandInput
327
+ | GetFaceDetectionCommandInput
328
+ | GetFaceSearchCommandInput
329
+ | GetLabelDetectionCommandInput
330
+ | GetPersonTrackingCommandInput
331
+ | GetSegmentDetectionCommandInput
332
+ | GetTextDetectionCommandInput
333
+ | IndexFacesCommandInput
334
+ | ListCollectionsCommandInput
335
+ | ListDatasetEntriesCommandInput
336
+ | ListDatasetLabelsCommandInput
337
+ | ListFacesCommandInput
338
+ | ListProjectPoliciesCommandInput
339
+ | ListStreamProcessorsCommandInput
340
+ | ListTagsForResourceCommandInput
341
+ | PutProjectPolicyCommandInput
342
+ | RecognizeCelebritiesCommandInput
343
+ | SearchFacesByImageCommandInput
344
+ | SearchFacesCommandInput
345
+ | StartCelebrityRecognitionCommandInput
346
+ | StartContentModerationCommandInput
347
+ | StartFaceDetectionCommandInput
348
+ | StartFaceSearchCommandInput
349
+ | StartLabelDetectionCommandInput
350
+ | StartPersonTrackingCommandInput
351
+ | StartProjectVersionCommandInput
352
+ | StartSegmentDetectionCommandInput
353
+ | StartStreamProcessorCommandInput
354
+ | StartTextDetectionCommandInput
355
+ | StopProjectVersionCommandInput
356
+ | StopStreamProcessorCommandInput
357
+ | TagResourceCommandInput
358
+ | UntagResourceCommandInput
359
+ | UpdateDatasetEntriesCommandInput
360
+ | UpdateStreamProcessorCommandInput;
361
+ export declare type ServiceOutputTypes =
362
+ | CompareFacesCommandOutput
363
+ | CopyProjectVersionCommandOutput
364
+ | CreateCollectionCommandOutput
365
+ | CreateDatasetCommandOutput
366
+ | CreateProjectCommandOutput
367
+ | CreateProjectVersionCommandOutput
368
+ | CreateStreamProcessorCommandOutput
369
+ | DeleteCollectionCommandOutput
370
+ | DeleteDatasetCommandOutput
371
+ | DeleteFacesCommandOutput
372
+ | DeleteProjectCommandOutput
373
+ | DeleteProjectPolicyCommandOutput
374
+ | DeleteProjectVersionCommandOutput
375
+ | DeleteStreamProcessorCommandOutput
376
+ | DescribeCollectionCommandOutput
377
+ | DescribeDatasetCommandOutput
378
+ | DescribeProjectVersionsCommandOutput
379
+ | DescribeProjectsCommandOutput
380
+ | DescribeStreamProcessorCommandOutput
381
+ | DetectCustomLabelsCommandOutput
382
+ | DetectFacesCommandOutput
383
+ | DetectLabelsCommandOutput
384
+ | DetectModerationLabelsCommandOutput
385
+ | DetectProtectiveEquipmentCommandOutput
386
+ | DetectTextCommandOutput
387
+ | DistributeDatasetEntriesCommandOutput
388
+ | GetCelebrityInfoCommandOutput
389
+ | GetCelebrityRecognitionCommandOutput
390
+ | GetContentModerationCommandOutput
391
+ | GetFaceDetectionCommandOutput
392
+ | GetFaceSearchCommandOutput
393
+ | GetLabelDetectionCommandOutput
394
+ | GetPersonTrackingCommandOutput
395
+ | GetSegmentDetectionCommandOutput
396
+ | GetTextDetectionCommandOutput
397
+ | IndexFacesCommandOutput
398
+ | ListCollectionsCommandOutput
399
+ | ListDatasetEntriesCommandOutput
400
+ | ListDatasetLabelsCommandOutput
401
+ | ListFacesCommandOutput
402
+ | ListProjectPoliciesCommandOutput
403
+ | ListStreamProcessorsCommandOutput
404
+ | ListTagsForResourceCommandOutput
405
+ | PutProjectPolicyCommandOutput
406
+ | RecognizeCelebritiesCommandOutput
407
+ | SearchFacesByImageCommandOutput
408
+ | SearchFacesCommandOutput
409
+ | StartCelebrityRecognitionCommandOutput
410
+ | StartContentModerationCommandOutput
411
+ | StartFaceDetectionCommandOutput
412
+ | StartFaceSearchCommandOutput
413
+ | StartLabelDetectionCommandOutput
414
+ | StartPersonTrackingCommandOutput
415
+ | StartProjectVersionCommandOutput
416
+ | StartSegmentDetectionCommandOutput
417
+ | StartStreamProcessorCommandOutput
418
+ | StartTextDetectionCommandOutput
419
+ | StopProjectVersionCommandOutput
420
+ | StopStreamProcessorCommandOutput
421
+ | TagResourceCommandOutput
422
+ | UntagResourceCommandOutput
423
+ | UpdateDatasetEntriesCommandOutput
424
+ | UpdateStreamProcessorCommandOutput;
425
+ export interface ClientDefaults
426
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
427
+ requestHandler?: __HttpHandler;
428
+
429
+ sha256?: __HashConstructor;
430
+
431
+ urlParser?: __UrlParser;
432
+
433
+ bodyLengthChecker?: __BodyLengthCalculator;
434
+
435
+ streamCollector?: __StreamCollector;
436
+
437
+ base64Decoder?: __Decoder;
438
+
439
+ base64Encoder?: __Encoder;
440
+
441
+ utf8Decoder?: __Decoder;
442
+
443
+ utf8Encoder?: __Encoder;
444
+
445
+ runtime?: string;
446
+
447
+ disableHostPrefix?: boolean;
448
+
449
+ maxAttempts?: number | __Provider<number>;
450
+
451
+ retryMode?: string | __Provider<string>;
452
+
453
+ logger?: __Logger;
454
+
455
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
456
+
457
+ useFipsEndpoint?: boolean | __Provider<boolean>;
458
+
459
+ serviceId?: string;
460
+
461
+ region?: string | __Provider<string>;
462
+
463
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
464
+
465
+ regionInfoProvider?: RegionInfoProvider;
466
+
467
+ defaultUserAgentProvider?: Provider<__UserAgent>;
468
+
469
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
470
+ }
471
+ declare type RekognitionClientConfigType = Partial<
472
+ __SmithyConfiguration<__HttpHandlerOptions>
473
+ > &
474
+ ClientDefaults &
475
+ RegionInputConfig &
476
+ EndpointsInputConfig &
477
+ RetryInputConfig &
478
+ HostHeaderInputConfig &
479
+ AwsAuthInputConfig &
480
+ UserAgentInputConfig;
481
+
482
+ export interface RekognitionClientConfig extends RekognitionClientConfigType {}
483
+ declare type RekognitionClientResolvedConfigType =
484
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
485
+ Required<ClientDefaults> &
486
+ RegionResolvedConfig &
487
+ EndpointsResolvedConfig &
488
+ RetryResolvedConfig &
489
+ HostHeaderResolvedConfig &
490
+ AwsAuthResolvedConfig &
491
+ UserAgentResolvedConfig;
492
+
493
+ export interface RekognitionClientResolvedConfig
494
+ extends RekognitionClientResolvedConfigType {}
495
+
496
+ export declare class RekognitionClient extends __Client<
497
+ __HttpHandlerOptions,
498
+ ServiceInputTypes,
499
+ ServiceOutputTypes,
500
+ RekognitionClientResolvedConfig
501
+ > {
502
+ readonly config: RekognitionClientResolvedConfig;
503
+ constructor(configuration: RekognitionClientConfig);
504
+
505
+ destroy(): void;
506
+ }
507
+ export {};