@aws-sdk/client-rekognition 3.194.0 → 3.195.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/RekognitionClient.js +11 -8
- package/dist-cjs/commands/CompareFacesCommand.js +10 -0
- package/dist-cjs/commands/CopyProjectVersionCommand.js +10 -0
- package/dist-cjs/commands/CreateCollectionCommand.js +10 -0
- package/dist-cjs/commands/CreateDatasetCommand.js +10 -0
- package/dist-cjs/commands/CreateProjectCommand.js +10 -0
- package/dist-cjs/commands/CreateProjectVersionCommand.js +10 -0
- package/dist-cjs/commands/CreateStreamProcessorCommand.js +10 -0
- package/dist-cjs/commands/DeleteCollectionCommand.js +10 -0
- package/dist-cjs/commands/DeleteDatasetCommand.js +10 -0
- package/dist-cjs/commands/DeleteFacesCommand.js +10 -0
- package/dist-cjs/commands/DeleteProjectCommand.js +10 -0
- package/dist-cjs/commands/DeleteProjectPolicyCommand.js +10 -0
- package/dist-cjs/commands/DeleteProjectVersionCommand.js +10 -0
- package/dist-cjs/commands/DeleteStreamProcessorCommand.js +10 -0
- package/dist-cjs/commands/DescribeCollectionCommand.js +10 -0
- package/dist-cjs/commands/DescribeDatasetCommand.js +10 -0
- package/dist-cjs/commands/DescribeProjectVersionsCommand.js +10 -0
- package/dist-cjs/commands/DescribeProjectsCommand.js +10 -0
- package/dist-cjs/commands/DescribeStreamProcessorCommand.js +10 -0
- package/dist-cjs/commands/DetectCustomLabelsCommand.js +10 -0
- package/dist-cjs/commands/DetectFacesCommand.js +10 -0
- package/dist-cjs/commands/DetectLabelsCommand.js +10 -0
- package/dist-cjs/commands/DetectModerationLabelsCommand.js +10 -0
- package/dist-cjs/commands/DetectProtectiveEquipmentCommand.js +10 -0
- package/dist-cjs/commands/DetectTextCommand.js +10 -0
- package/dist-cjs/commands/DistributeDatasetEntriesCommand.js +10 -0
- package/dist-cjs/commands/GetCelebrityInfoCommand.js +10 -0
- package/dist-cjs/commands/GetCelebrityRecognitionCommand.js +10 -0
- package/dist-cjs/commands/GetContentModerationCommand.js +10 -0
- package/dist-cjs/commands/GetFaceDetectionCommand.js +10 -0
- package/dist-cjs/commands/GetFaceSearchCommand.js +10 -0
- package/dist-cjs/commands/GetLabelDetectionCommand.js +10 -0
- package/dist-cjs/commands/GetPersonTrackingCommand.js +10 -0
- package/dist-cjs/commands/GetSegmentDetectionCommand.js +10 -0
- package/dist-cjs/commands/GetTextDetectionCommand.js +10 -0
- package/dist-cjs/commands/IndexFacesCommand.js +10 -0
- package/dist-cjs/commands/ListCollectionsCommand.js +10 -0
- package/dist-cjs/commands/ListDatasetEntriesCommand.js +10 -0
- package/dist-cjs/commands/ListDatasetLabelsCommand.js +10 -0
- package/dist-cjs/commands/ListFacesCommand.js +10 -0
- package/dist-cjs/commands/ListProjectPoliciesCommand.js +10 -0
- package/dist-cjs/commands/ListStreamProcessorsCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/PutProjectPolicyCommand.js +10 -0
- package/dist-cjs/commands/RecognizeCelebritiesCommand.js +10 -0
- package/dist-cjs/commands/SearchFacesByImageCommand.js +10 -0
- package/dist-cjs/commands/SearchFacesCommand.js +10 -0
- package/dist-cjs/commands/StartCelebrityRecognitionCommand.js +10 -0
- package/dist-cjs/commands/StartContentModerationCommand.js +10 -0
- package/dist-cjs/commands/StartFaceDetectionCommand.js +10 -0
- package/dist-cjs/commands/StartFaceSearchCommand.js +10 -0
- package/dist-cjs/commands/StartLabelDetectionCommand.js +10 -0
- package/dist-cjs/commands/StartPersonTrackingCommand.js +10 -0
- package/dist-cjs/commands/StartProjectVersionCommand.js +10 -0
- package/dist-cjs/commands/StartSegmentDetectionCommand.js +10 -0
- package/dist-cjs/commands/StartStreamProcessorCommand.js +10 -0
- package/dist-cjs/commands/StartTextDetectionCommand.js +10 -0
- package/dist-cjs/commands/StopProjectVersionCommand.js +10 -0
- package/dist-cjs/commands/StopStreamProcessorCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateDatasetEntriesCommand.js +10 -0
- package/dist-cjs/commands/UpdateStreamProcessorCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +432 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/RekognitionClient.js +12 -9
- package/dist-es/commands/CompareFacesCommand.js +10 -0
- package/dist-es/commands/CopyProjectVersionCommand.js +10 -0
- package/dist-es/commands/CreateCollectionCommand.js +10 -0
- package/dist-es/commands/CreateDatasetCommand.js +10 -0
- package/dist-es/commands/CreateProjectCommand.js +10 -0
- package/dist-es/commands/CreateProjectVersionCommand.js +10 -0
- package/dist-es/commands/CreateStreamProcessorCommand.js +10 -0
- package/dist-es/commands/DeleteCollectionCommand.js +10 -0
- package/dist-es/commands/DeleteDatasetCommand.js +10 -0
- package/dist-es/commands/DeleteFacesCommand.js +10 -0
- package/dist-es/commands/DeleteProjectCommand.js +10 -0
- package/dist-es/commands/DeleteProjectPolicyCommand.js +10 -0
- package/dist-es/commands/DeleteProjectVersionCommand.js +10 -0
- package/dist-es/commands/DeleteStreamProcessorCommand.js +10 -0
- package/dist-es/commands/DescribeCollectionCommand.js +10 -0
- package/dist-es/commands/DescribeDatasetCommand.js +10 -0
- package/dist-es/commands/DescribeProjectVersionsCommand.js +10 -0
- package/dist-es/commands/DescribeProjectsCommand.js +10 -0
- package/dist-es/commands/DescribeStreamProcessorCommand.js +10 -0
- package/dist-es/commands/DetectCustomLabelsCommand.js +10 -0
- package/dist-es/commands/DetectFacesCommand.js +10 -0
- package/dist-es/commands/DetectLabelsCommand.js +10 -0
- package/dist-es/commands/DetectModerationLabelsCommand.js +10 -0
- package/dist-es/commands/DetectProtectiveEquipmentCommand.js +10 -0
- package/dist-es/commands/DetectTextCommand.js +10 -0
- package/dist-es/commands/DistributeDatasetEntriesCommand.js +10 -0
- package/dist-es/commands/GetCelebrityInfoCommand.js +10 -0
- package/dist-es/commands/GetCelebrityRecognitionCommand.js +10 -0
- package/dist-es/commands/GetContentModerationCommand.js +10 -0
- package/dist-es/commands/GetFaceDetectionCommand.js +10 -0
- package/dist-es/commands/GetFaceSearchCommand.js +10 -0
- package/dist-es/commands/GetLabelDetectionCommand.js +10 -0
- package/dist-es/commands/GetPersonTrackingCommand.js +10 -0
- package/dist-es/commands/GetSegmentDetectionCommand.js +10 -0
- package/dist-es/commands/GetTextDetectionCommand.js +10 -0
- package/dist-es/commands/IndexFacesCommand.js +10 -0
- package/dist-es/commands/ListCollectionsCommand.js +10 -0
- package/dist-es/commands/ListDatasetEntriesCommand.js +10 -0
- package/dist-es/commands/ListDatasetLabelsCommand.js +10 -0
- package/dist-es/commands/ListFacesCommand.js +10 -0
- package/dist-es/commands/ListProjectPoliciesCommand.js +10 -0
- package/dist-es/commands/ListStreamProcessorsCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/PutProjectPolicyCommand.js +10 -0
- package/dist-es/commands/RecognizeCelebritiesCommand.js +10 -0
- package/dist-es/commands/SearchFacesByImageCommand.js +10 -0
- package/dist-es/commands/SearchFacesCommand.js +10 -0
- package/dist-es/commands/StartCelebrityRecognitionCommand.js +10 -0
- package/dist-es/commands/StartContentModerationCommand.js +10 -0
- package/dist-es/commands/StartFaceDetectionCommand.js +10 -0
- package/dist-es/commands/StartFaceSearchCommand.js +10 -0
- package/dist-es/commands/StartLabelDetectionCommand.js +10 -0
- package/dist-es/commands/StartPersonTrackingCommand.js +10 -0
- package/dist-es/commands/StartProjectVersionCommand.js +10 -0
- package/dist-es/commands/StartSegmentDetectionCommand.js +10 -0
- package/dist-es/commands/StartStreamProcessorCommand.js +10 -0
- package/dist-es/commands/StartTextDetectionCommand.js +10 -0
- package/dist-es/commands/StopProjectVersionCommand.js +10 -0
- package/dist-es/commands/StopStreamProcessorCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateDatasetEntriesCommand.js +10 -0
- package/dist-es/commands/UpdateStreamProcessorCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +429 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/RekognitionClient.d.ts +6 -9
- package/dist-types/commands/CompareFacesCommand.d.ts +2 -0
- package/dist-types/commands/CopyProjectVersionCommand.d.ts +2 -0
- package/dist-types/commands/CreateCollectionCommand.d.ts +2 -0
- package/dist-types/commands/CreateDatasetCommand.d.ts +2 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +2 -0
- package/dist-types/commands/CreateProjectVersionCommand.d.ts +2 -0
- package/dist-types/commands/CreateStreamProcessorCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCollectionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDatasetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFacesCommand.d.ts +2 -0
- package/dist-types/commands/DeleteProjectCommand.d.ts +2 -0
- package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +2 -0
- package/dist-types/commands/DeleteProjectVersionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteStreamProcessorCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCollectionCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDatasetCommand.d.ts +2 -0
- package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeProjectsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeStreamProcessorCommand.d.ts +2 -0
- package/dist-types/commands/DetectCustomLabelsCommand.d.ts +2 -0
- package/dist-types/commands/DetectFacesCommand.d.ts +2 -0
- package/dist-types/commands/DetectLabelsCommand.d.ts +2 -0
- package/dist-types/commands/DetectModerationLabelsCommand.d.ts +2 -0
- package/dist-types/commands/DetectProtectiveEquipmentCommand.d.ts +2 -0
- package/dist-types/commands/DetectTextCommand.d.ts +2 -0
- package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +2 -0
- package/dist-types/commands/GetCelebrityInfoCommand.d.ts +2 -0
- package/dist-types/commands/GetCelebrityRecognitionCommand.d.ts +2 -0
- package/dist-types/commands/GetContentModerationCommand.d.ts +2 -0
- package/dist-types/commands/GetFaceDetectionCommand.d.ts +2 -0
- package/dist-types/commands/GetFaceSearchCommand.d.ts +2 -0
- package/dist-types/commands/GetLabelDetectionCommand.d.ts +2 -0
- package/dist-types/commands/GetPersonTrackingCommand.d.ts +2 -0
- package/dist-types/commands/GetSegmentDetectionCommand.d.ts +2 -0
- package/dist-types/commands/GetTextDetectionCommand.d.ts +2 -0
- package/dist-types/commands/IndexFacesCommand.d.ts +2 -0
- package/dist-types/commands/ListCollectionsCommand.d.ts +2 -0
- package/dist-types/commands/ListDatasetEntriesCommand.d.ts +2 -0
- package/dist-types/commands/ListDatasetLabelsCommand.d.ts +2 -0
- package/dist-types/commands/ListFacesCommand.d.ts +2 -0
- package/dist-types/commands/ListProjectPoliciesCommand.d.ts +2 -0
- package/dist-types/commands/ListStreamProcessorsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/PutProjectPolicyCommand.d.ts +2 -0
- package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +2 -0
- package/dist-types/commands/SearchFacesByImageCommand.d.ts +2 -0
- package/dist-types/commands/SearchFacesCommand.d.ts +2 -0
- package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +2 -0
- package/dist-types/commands/StartContentModerationCommand.d.ts +2 -0
- package/dist-types/commands/StartFaceDetectionCommand.d.ts +2 -0
- package/dist-types/commands/StartFaceSearchCommand.d.ts +2 -0
- package/dist-types/commands/StartLabelDetectionCommand.d.ts +2 -0
- package/dist-types/commands/StartPersonTrackingCommand.d.ts +2 -0
- package/dist-types/commands/StartProjectVersionCommand.d.ts +2 -0
- package/dist-types/commands/StartSegmentDetectionCommand.d.ts +2 -0
- package/dist-types/commands/StartStreamProcessorCommand.d.ts +2 -0
- package/dist-types/commands/StartTextDetectionCommand.d.ts +2 -0
- package/dist-types/commands/StopProjectVersionCommand.d.ts +2 -0
- package/dist-types/commands/StopStreamProcessorCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +2 -0
- package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/RekognitionClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/CompareFacesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CopyProjectVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateCollectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateProjectVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateStreamProcessorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCollectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteFacesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteProjectPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteProjectVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteStreamProcessorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeCollectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeProjectVersionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeProjectsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeStreamProcessorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DetectCustomLabelsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DetectFacesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DetectLabelsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DetectModerationLabelsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DetectProtectiveEquipmentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DetectTextCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DistributeDatasetEntriesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCelebrityInfoCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCelebrityRecognitionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetContentModerationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFaceDetectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFaceSearchCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetLabelDetectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetPersonTrackingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSegmentDetectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetTextDetectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/IndexFacesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListCollectionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDatasetEntriesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDatasetLabelsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListFacesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListProjectPoliciesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListStreamProcessorsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutProjectPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RecognizeCelebritiesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SearchFacesByImageCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SearchFacesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartContentModerationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartFaceDetectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartFaceSearchCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartLabelDetectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartPersonTrackingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartProjectVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartSegmentDetectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartStreamProcessorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartTextDetectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StopProjectVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StopStreamProcessorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateDatasetEntriesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateStreamProcessorCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +3 -1
- package/dist-cjs/endpoints.js +0 -202
- package/dist-es/endpoints.js +0 -198
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetTextDetectionRequestFilterSensitiveLog, GetTextDetectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetTextDetectionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetTextDetectionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { IndexFacesRequestFilterSensitiveLog, IndexFacesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class IndexFacesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, IndexFacesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListCollectionsRequestFilterSensitiveLog, ListCollectionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListCollectionsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListCollectionsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListDatasetEntriesRequestFilterSensitiveLog, ListDatasetEntriesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListDatasetEntriesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListDatasetEntriesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListDatasetLabelsRequestFilterSensitiveLog, ListDatasetLabelsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListDatasetLabelsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListDatasetLabelsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListFacesRequestFilterSensitiveLog, ListFacesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListFacesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListFacesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListProjectPoliciesRequestFilterSensitiveLog, ListProjectPoliciesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListProjectPoliciesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListProjectPoliciesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListStreamProcessorsRequestFilterSensitiveLog, ListStreamProcessorsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListStreamProcessorsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListStreamProcessorsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { PutProjectPolicyRequestFilterSensitiveLog, PutProjectPolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class PutProjectPolicyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, PutProjectPolicyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { RecognizeCelebritiesRequestFilterSensitiveLog, RecognizeCelebritiesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class RecognizeCelebritiesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, RecognizeCelebritiesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { SearchFacesByImageRequestFilterSensitiveLog, SearchFacesByImageResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class SearchFacesByImageCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, SearchFacesByImageCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { SearchFacesRequestFilterSensitiveLog, SearchFacesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class SearchFacesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, SearchFacesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartCelebrityRecognitionRequestFilterSensitiveLog, StartCelebrityRecognitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartCelebrityRecognitionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartCelebrityRecognitionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartContentModerationRequestFilterSensitiveLog, StartContentModerationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartContentModerationCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartContentModerationCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartFaceDetectionRequestFilterSensitiveLog, StartFaceDetectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartFaceDetectionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartFaceDetectionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartFaceSearchRequestFilterSensitiveLog, StartFaceSearchResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartFaceSearchCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartFaceSearchCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartLabelDetectionRequestFilterSensitiveLog, StartLabelDetectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartLabelDetectionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartLabelDetectionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartPersonTrackingRequestFilterSensitiveLog, StartPersonTrackingResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartPersonTrackingCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartPersonTrackingCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartProjectVersionRequestFilterSensitiveLog, StartProjectVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartProjectVersionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartProjectVersionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartSegmentDetectionRequestFilterSensitiveLog, StartSegmentDetectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartSegmentDetectionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartSegmentDetectionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartStreamProcessorRequestFilterSensitiveLog, StartStreamProcessorResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartStreamProcessorCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartStreamProcessorCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartTextDetectionRequestFilterSensitiveLog, StartTextDetectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartTextDetectionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartTextDetectionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StopProjectVersionRequestFilterSensitiveLog, StopProjectVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StopProjectVersionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StopProjectVersionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StopStreamProcessorRequestFilterSensitiveLog, StopStreamProcessorResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StopStreamProcessorCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StopStreamProcessorCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class TagResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UntagResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|