@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 { DeleteCollectionRequestFilterSensitiveLog, DeleteCollectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteCollectionCommand 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, DeleteCollectionCommand.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 { DeleteDatasetRequestFilterSensitiveLog, DeleteDatasetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteDatasetCommand 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, DeleteDatasetCommand.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 { DeleteFacesRequestFilterSensitiveLog, DeleteFacesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteFacesCommand 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, DeleteFacesCommand.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 { DeleteProjectRequestFilterSensitiveLog, DeleteProjectResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteProjectCommand 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, DeleteProjectCommand.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 { DeleteProjectPolicyRequestFilterSensitiveLog, DeleteProjectPolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteProjectPolicyCommand 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, DeleteProjectPolicyCommand.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 { DeleteProjectVersionRequestFilterSensitiveLog, DeleteProjectVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteProjectVersionCommand 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, DeleteProjectVersionCommand.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 { DeleteStreamProcessorRequestFilterSensitiveLog, DeleteStreamProcessorResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DeleteStreamProcessorCommand 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, DeleteStreamProcessorCommand.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 { DescribeCollectionRequestFilterSensitiveLog, DescribeCollectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeCollectionCommand 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, DescribeCollectionCommand.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 { DescribeDatasetRequestFilterSensitiveLog, DescribeDatasetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeDatasetCommand 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, DescribeDatasetCommand.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 { DescribeProjectVersionsRequestFilterSensitiveLog, DescribeProjectVersionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeProjectVersionsCommand 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, DescribeProjectVersionsCommand.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 { DescribeProjectsRequestFilterSensitiveLog, DescribeProjectsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeProjectsCommand 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, DescribeProjectsCommand.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 { DescribeStreamProcessorRequestFilterSensitiveLog, DescribeStreamProcessorResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DescribeStreamProcessorCommand 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, DescribeStreamProcessorCommand.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 { DetectCustomLabelsRequestFilterSensitiveLog, DetectCustomLabelsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DetectCustomLabelsCommand 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, DetectCustomLabelsCommand.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 { DetectFacesRequestFilterSensitiveLog, DetectFacesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DetectFacesCommand 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, DetectFacesCommand.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 { DetectLabelsRequestFilterSensitiveLog, DetectLabelsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DetectLabelsCommand 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, DetectLabelsCommand.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 { DetectModerationLabelsRequestFilterSensitiveLog, DetectModerationLabelsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DetectModerationLabelsCommand 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, DetectModerationLabelsCommand.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 { DetectProtectiveEquipmentRequestFilterSensitiveLog, DetectProtectiveEquipmentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DetectProtectiveEquipmentCommand 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, DetectProtectiveEquipmentCommand.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 { DetectTextRequestFilterSensitiveLog, DetectTextResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DetectTextCommand 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, DetectTextCommand.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 { DistributeDatasetEntriesRequestFilterSensitiveLog, DistributeDatasetEntriesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class DistributeDatasetEntriesCommand 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, DistributeDatasetEntriesCommand.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 { GetCelebrityInfoRequestFilterSensitiveLog, GetCelebrityInfoResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetCelebrityInfoCommand 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, GetCelebrityInfoCommand.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 { GetCelebrityRecognitionRequestFilterSensitiveLog, GetCelebrityRecognitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetCelebrityRecognitionCommand 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, GetCelebrityRecognitionCommand.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 { GetContentModerationRequestFilterSensitiveLog, GetContentModerationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetContentModerationCommand 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, GetContentModerationCommand.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 { GetFaceDetectionRequestFilterSensitiveLog, GetFaceDetectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetFaceDetectionCommand 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, GetFaceDetectionCommand.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 { GetFaceSearchRequestFilterSensitiveLog, GetFaceSearchResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetFaceSearchCommand 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, GetFaceSearchCommand.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 { GetLabelDetectionRequestFilterSensitiveLog, GetLabelDetectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetLabelDetectionCommand 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, GetLabelDetectionCommand.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 { GetPersonTrackingRequestFilterSensitiveLog, GetPersonTrackingResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetPersonTrackingCommand 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, GetPersonTrackingCommand.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 { GetSegmentDetectionRequestFilterSensitiveLog, GetSegmentDetectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class GetSegmentDetectionCommand 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, GetSegmentDetectionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "RekognitionClient";
|