@aws-sdk/client-rekognition 3.477.0 → 3.481.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/AssociateFacesCommand.js +18 -41
- package/dist-cjs/commands/CompareFacesCommand.js +18 -41
- package/dist-cjs/commands/CopyProjectVersionCommand.js +18 -41
- package/dist-cjs/commands/CreateCollectionCommand.js +18 -41
- package/dist-cjs/commands/CreateDatasetCommand.js +18 -41
- package/dist-cjs/commands/CreateFaceLivenessSessionCommand.js +18 -41
- package/dist-cjs/commands/CreateProjectCommand.js +18 -41
- package/dist-cjs/commands/CreateProjectVersionCommand.js +18 -41
- package/dist-cjs/commands/CreateStreamProcessorCommand.js +18 -41
- package/dist-cjs/commands/CreateUserCommand.js +18 -41
- package/dist-cjs/commands/DeleteCollectionCommand.js +18 -41
- package/dist-cjs/commands/DeleteDatasetCommand.js +18 -41
- package/dist-cjs/commands/DeleteFacesCommand.js +18 -41
- package/dist-cjs/commands/DeleteProjectCommand.js +18 -41
- package/dist-cjs/commands/DeleteProjectPolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteProjectVersionCommand.js +18 -41
- package/dist-cjs/commands/DeleteStreamProcessorCommand.js +18 -41
- package/dist-cjs/commands/DeleteUserCommand.js +18 -41
- package/dist-cjs/commands/DescribeCollectionCommand.js +18 -41
- package/dist-cjs/commands/DescribeDatasetCommand.js +18 -41
- package/dist-cjs/commands/DescribeProjectVersionsCommand.js +18 -41
- package/dist-cjs/commands/DescribeProjectsCommand.js +18 -41
- package/dist-cjs/commands/DescribeStreamProcessorCommand.js +18 -41
- package/dist-cjs/commands/DetectCustomLabelsCommand.js +18 -41
- package/dist-cjs/commands/DetectFacesCommand.js +18 -41
- package/dist-cjs/commands/DetectLabelsCommand.js +18 -41
- package/dist-cjs/commands/DetectModerationLabelsCommand.js +18 -41
- package/dist-cjs/commands/DetectProtectiveEquipmentCommand.js +18 -41
- package/dist-cjs/commands/DetectTextCommand.js +18 -41
- package/dist-cjs/commands/DisassociateFacesCommand.js +18 -41
- package/dist-cjs/commands/DistributeDatasetEntriesCommand.js +18 -41
- package/dist-cjs/commands/GetCelebrityInfoCommand.js +18 -41
- package/dist-cjs/commands/GetCelebrityRecognitionCommand.js +18 -41
- package/dist-cjs/commands/GetContentModerationCommand.js +18 -41
- package/dist-cjs/commands/GetFaceDetectionCommand.js +18 -41
- package/dist-cjs/commands/GetFaceLivenessSessionResultsCommand.js +18 -41
- package/dist-cjs/commands/GetFaceSearchCommand.js +18 -41
- package/dist-cjs/commands/GetLabelDetectionCommand.js +18 -41
- package/dist-cjs/commands/GetMediaAnalysisJobCommand.js +18 -41
- package/dist-cjs/commands/GetPersonTrackingCommand.js +18 -41
- package/dist-cjs/commands/GetSegmentDetectionCommand.js +18 -41
- package/dist-cjs/commands/GetTextDetectionCommand.js +18 -41
- package/dist-cjs/commands/IndexFacesCommand.js +18 -41
- package/dist-cjs/commands/ListCollectionsCommand.js +18 -41
- package/dist-cjs/commands/ListDatasetEntriesCommand.js +18 -41
- package/dist-cjs/commands/ListDatasetLabelsCommand.js +18 -41
- package/dist-cjs/commands/ListFacesCommand.js +18 -41
- package/dist-cjs/commands/ListMediaAnalysisJobsCommand.js +18 -41
- package/dist-cjs/commands/ListProjectPoliciesCommand.js +18 -41
- package/dist-cjs/commands/ListStreamProcessorsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListUsersCommand.js +18 -41
- package/dist-cjs/commands/PutProjectPolicyCommand.js +18 -41
- package/dist-cjs/commands/RecognizeCelebritiesCommand.js +18 -41
- package/dist-cjs/commands/SearchFacesByImageCommand.js +18 -41
- package/dist-cjs/commands/SearchFacesCommand.js +18 -41
- package/dist-cjs/commands/SearchUsersByImageCommand.js +18 -41
- package/dist-cjs/commands/SearchUsersCommand.js +18 -41
- package/dist-cjs/commands/StartCelebrityRecognitionCommand.js +18 -41
- package/dist-cjs/commands/StartContentModerationCommand.js +18 -41
- package/dist-cjs/commands/StartFaceDetectionCommand.js +18 -41
- package/dist-cjs/commands/StartFaceSearchCommand.js +18 -41
- package/dist-cjs/commands/StartLabelDetectionCommand.js +18 -41
- package/dist-cjs/commands/StartMediaAnalysisJobCommand.js +18 -41
- package/dist-cjs/commands/StartPersonTrackingCommand.js +18 -41
- package/dist-cjs/commands/StartProjectVersionCommand.js +18 -41
- package/dist-cjs/commands/StartSegmentDetectionCommand.js +18 -41
- package/dist-cjs/commands/StartStreamProcessorCommand.js +18 -41
- package/dist-cjs/commands/StartTextDetectionCommand.js +18 -41
- package/dist-cjs/commands/StopProjectVersionCommand.js +18 -41
- package/dist-cjs/commands/StopStreamProcessorCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateDatasetEntriesCommand.js +18 -41
- package/dist-cjs/commands/UpdateStreamProcessorCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/DescribeProjectVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeProjectsPaginator.js +2 -24
- package/dist-cjs/pagination/GetCelebrityRecognitionPaginator.js +2 -24
- package/dist-cjs/pagination/GetContentModerationPaginator.js +2 -24
- package/dist-cjs/pagination/GetFaceDetectionPaginator.js +2 -24
- package/dist-cjs/pagination/GetFaceSearchPaginator.js +2 -24
- package/dist-cjs/pagination/GetLabelDetectionPaginator.js +2 -24
- package/dist-cjs/pagination/GetPersonTrackingPaginator.js +2 -24
- package/dist-cjs/pagination/GetSegmentDetectionPaginator.js +2 -24
- package/dist-cjs/pagination/GetTextDetectionPaginator.js +2 -24
- package/dist-cjs/pagination/ListCollectionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDatasetEntriesPaginator.js +2 -24
- package/dist-cjs/pagination/ListDatasetLabelsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFacesPaginator.js +2 -24
- package/dist-cjs/pagination/ListMediaAnalysisJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListProjectPoliciesPaginator.js +2 -24
- package/dist-cjs/pagination/ListStreamProcessorsPaginator.js +2 -24
- package/dist-cjs/pagination/ListUsersPaginator.js +2 -24
- package/dist-es/commands/AssociateFacesCommand.js +18 -41
- package/dist-es/commands/CompareFacesCommand.js +18 -41
- package/dist-es/commands/CopyProjectVersionCommand.js +18 -41
- package/dist-es/commands/CreateCollectionCommand.js +18 -41
- package/dist-es/commands/CreateDatasetCommand.js +18 -41
- package/dist-es/commands/CreateFaceLivenessSessionCommand.js +18 -41
- package/dist-es/commands/CreateProjectCommand.js +18 -41
- package/dist-es/commands/CreateProjectVersionCommand.js +18 -41
- package/dist-es/commands/CreateStreamProcessorCommand.js +18 -41
- package/dist-es/commands/CreateUserCommand.js +18 -41
- package/dist-es/commands/DeleteCollectionCommand.js +18 -41
- package/dist-es/commands/DeleteDatasetCommand.js +18 -41
- package/dist-es/commands/DeleteFacesCommand.js +18 -41
- package/dist-es/commands/DeleteProjectCommand.js +18 -41
- package/dist-es/commands/DeleteProjectPolicyCommand.js +18 -41
- package/dist-es/commands/DeleteProjectVersionCommand.js +18 -41
- package/dist-es/commands/DeleteStreamProcessorCommand.js +18 -41
- package/dist-es/commands/DeleteUserCommand.js +18 -41
- package/dist-es/commands/DescribeCollectionCommand.js +18 -41
- package/dist-es/commands/DescribeDatasetCommand.js +18 -41
- package/dist-es/commands/DescribeProjectVersionsCommand.js +18 -41
- package/dist-es/commands/DescribeProjectsCommand.js +18 -41
- package/dist-es/commands/DescribeStreamProcessorCommand.js +18 -41
- package/dist-es/commands/DetectCustomLabelsCommand.js +18 -41
- package/dist-es/commands/DetectFacesCommand.js +18 -41
- package/dist-es/commands/DetectLabelsCommand.js +18 -41
- package/dist-es/commands/DetectModerationLabelsCommand.js +18 -41
- package/dist-es/commands/DetectProtectiveEquipmentCommand.js +18 -41
- package/dist-es/commands/DetectTextCommand.js +18 -41
- package/dist-es/commands/DisassociateFacesCommand.js +18 -41
- package/dist-es/commands/DistributeDatasetEntriesCommand.js +18 -41
- package/dist-es/commands/GetCelebrityInfoCommand.js +18 -41
- package/dist-es/commands/GetCelebrityRecognitionCommand.js +18 -41
- package/dist-es/commands/GetContentModerationCommand.js +18 -41
- package/dist-es/commands/GetFaceDetectionCommand.js +18 -41
- package/dist-es/commands/GetFaceLivenessSessionResultsCommand.js +18 -41
- package/dist-es/commands/GetFaceSearchCommand.js +18 -41
- package/dist-es/commands/GetLabelDetectionCommand.js +18 -41
- package/dist-es/commands/GetMediaAnalysisJobCommand.js +18 -41
- package/dist-es/commands/GetPersonTrackingCommand.js +18 -41
- package/dist-es/commands/GetSegmentDetectionCommand.js +18 -41
- package/dist-es/commands/GetTextDetectionCommand.js +18 -41
- package/dist-es/commands/IndexFacesCommand.js +18 -41
- package/dist-es/commands/ListCollectionsCommand.js +18 -41
- package/dist-es/commands/ListDatasetEntriesCommand.js +18 -41
- package/dist-es/commands/ListDatasetLabelsCommand.js +18 -41
- package/dist-es/commands/ListFacesCommand.js +18 -41
- package/dist-es/commands/ListMediaAnalysisJobsCommand.js +18 -41
- package/dist-es/commands/ListProjectPoliciesCommand.js +18 -41
- package/dist-es/commands/ListStreamProcessorsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListUsersCommand.js +18 -41
- package/dist-es/commands/PutProjectPolicyCommand.js +18 -41
- package/dist-es/commands/RecognizeCelebritiesCommand.js +18 -41
- package/dist-es/commands/SearchFacesByImageCommand.js +18 -41
- package/dist-es/commands/SearchFacesCommand.js +18 -41
- package/dist-es/commands/SearchUsersByImageCommand.js +18 -41
- package/dist-es/commands/SearchUsersCommand.js +18 -41
- package/dist-es/commands/StartCelebrityRecognitionCommand.js +18 -41
- package/dist-es/commands/StartContentModerationCommand.js +18 -41
- package/dist-es/commands/StartFaceDetectionCommand.js +18 -41
- package/dist-es/commands/StartFaceSearchCommand.js +18 -41
- package/dist-es/commands/StartLabelDetectionCommand.js +18 -41
- package/dist-es/commands/StartMediaAnalysisJobCommand.js +18 -41
- package/dist-es/commands/StartPersonTrackingCommand.js +18 -41
- package/dist-es/commands/StartProjectVersionCommand.js +18 -41
- package/dist-es/commands/StartSegmentDetectionCommand.js +18 -41
- package/dist-es/commands/StartStreamProcessorCommand.js +18 -41
- package/dist-es/commands/StartTextDetectionCommand.js +18 -41
- package/dist-es/commands/StopProjectVersionCommand.js +18 -41
- package/dist-es/commands/StopStreamProcessorCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateDatasetEntriesCommand.js +18 -41
- package/dist-es/commands/UpdateStreamProcessorCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/DescribeProjectVersionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeProjectsPaginator.js +2 -23
- package/dist-es/pagination/GetCelebrityRecognitionPaginator.js +2 -23
- package/dist-es/pagination/GetContentModerationPaginator.js +2 -23
- package/dist-es/pagination/GetFaceDetectionPaginator.js +2 -23
- package/dist-es/pagination/GetFaceSearchPaginator.js +2 -23
- package/dist-es/pagination/GetLabelDetectionPaginator.js +2 -23
- package/dist-es/pagination/GetPersonTrackingPaginator.js +2 -23
- package/dist-es/pagination/GetSegmentDetectionPaginator.js +2 -23
- package/dist-es/pagination/GetTextDetectionPaginator.js +2 -23
- package/dist-es/pagination/ListCollectionsPaginator.js +2 -23
- package/dist-es/pagination/ListDatasetEntriesPaginator.js +2 -23
- package/dist-es/pagination/ListDatasetLabelsPaginator.js +2 -23
- package/dist-es/pagination/ListFacesPaginator.js +2 -23
- package/dist-es/pagination/ListMediaAnalysisJobsPaginator.js +2 -23
- package/dist-es/pagination/ListProjectPoliciesPaginator.js +2 -23
- package/dist-es/pagination/ListStreamProcessorsPaginator.js +2 -23
- package/dist-es/pagination/ListUsersPaginator.js +2 -23
- package/dist-types/commands/AssociateFacesCommand.d.ts +6 -21
- package/dist-types/commands/CompareFacesCommand.d.ts +6 -21
- package/dist-types/commands/CopyProjectVersionCommand.d.ts +6 -21
- package/dist-types/commands/CreateCollectionCommand.d.ts +6 -21
- package/dist-types/commands/CreateDatasetCommand.d.ts +6 -21
- package/dist-types/commands/CreateFaceLivenessSessionCommand.d.ts +6 -21
- package/dist-types/commands/CreateProjectCommand.d.ts +6 -21
- package/dist-types/commands/CreateProjectVersionCommand.d.ts +6 -21
- package/dist-types/commands/CreateStreamProcessorCommand.d.ts +6 -21
- package/dist-types/commands/CreateUserCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCollectionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDatasetCommand.d.ts +6 -21
- package/dist-types/commands/DeleteFacesCommand.d.ts +6 -21
- package/dist-types/commands/DeleteProjectCommand.d.ts +6 -21
- package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteProjectVersionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteStreamProcessorCommand.d.ts +6 -21
- package/dist-types/commands/DeleteUserCommand.d.ts +6 -21
- package/dist-types/commands/DescribeCollectionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDatasetCommand.d.ts +6 -21
- package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeProjectsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeStreamProcessorCommand.d.ts +6 -21
- package/dist-types/commands/DetectCustomLabelsCommand.d.ts +6 -21
- package/dist-types/commands/DetectFacesCommand.d.ts +6 -21
- package/dist-types/commands/DetectLabelsCommand.d.ts +6 -21
- package/dist-types/commands/DetectModerationLabelsCommand.d.ts +6 -21
- package/dist-types/commands/DetectProtectiveEquipmentCommand.d.ts +6 -21
- package/dist-types/commands/DetectTextCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateFacesCommand.d.ts +6 -21
- package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +6 -21
- package/dist-types/commands/GetCelebrityInfoCommand.d.ts +6 -21
- package/dist-types/commands/GetCelebrityRecognitionCommand.d.ts +6 -21
- package/dist-types/commands/GetContentModerationCommand.d.ts +6 -21
- package/dist-types/commands/GetFaceDetectionCommand.d.ts +6 -21
- package/dist-types/commands/GetFaceLivenessSessionResultsCommand.d.ts +6 -21
- package/dist-types/commands/GetFaceSearchCommand.d.ts +6 -21
- package/dist-types/commands/GetLabelDetectionCommand.d.ts +6 -21
- package/dist-types/commands/GetMediaAnalysisJobCommand.d.ts +6 -21
- package/dist-types/commands/GetPersonTrackingCommand.d.ts +6 -21
- package/dist-types/commands/GetSegmentDetectionCommand.d.ts +6 -21
- package/dist-types/commands/GetTextDetectionCommand.d.ts +6 -21
- package/dist-types/commands/IndexFacesCommand.d.ts +6 -21
- package/dist-types/commands/ListCollectionsCommand.d.ts +6 -21
- package/dist-types/commands/ListDatasetEntriesCommand.d.ts +6 -21
- package/dist-types/commands/ListDatasetLabelsCommand.d.ts +6 -21
- package/dist-types/commands/ListFacesCommand.d.ts +6 -21
- package/dist-types/commands/ListMediaAnalysisJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListProjectPoliciesCommand.d.ts +6 -21
- package/dist-types/commands/ListStreamProcessorsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListUsersCommand.d.ts +6 -21
- package/dist-types/commands/PutProjectPolicyCommand.d.ts +6 -21
- package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +6 -21
- package/dist-types/commands/SearchFacesByImageCommand.d.ts +6 -21
- package/dist-types/commands/SearchFacesCommand.d.ts +6 -21
- package/dist-types/commands/SearchUsersByImageCommand.d.ts +6 -21
- package/dist-types/commands/SearchUsersCommand.d.ts +6 -21
- package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +6 -21
- package/dist-types/commands/StartContentModerationCommand.d.ts +6 -21
- package/dist-types/commands/StartFaceDetectionCommand.d.ts +6 -21
- package/dist-types/commands/StartFaceSearchCommand.d.ts +6 -21
- package/dist-types/commands/StartLabelDetectionCommand.d.ts +6 -21
- package/dist-types/commands/StartMediaAnalysisJobCommand.d.ts +6 -21
- package/dist-types/commands/StartPersonTrackingCommand.d.ts +6 -21
- package/dist-types/commands/StartProjectVersionCommand.d.ts +6 -21
- package/dist-types/commands/StartSegmentDetectionCommand.d.ts +6 -21
- package/dist-types/commands/StartStreamProcessorCommand.d.ts +6 -21
- package/dist-types/commands/StartTextDetectionCommand.d.ts +6 -21
- package/dist-types/commands/StopProjectVersionCommand.d.ts +6 -21
- package/dist-types/commands/StopStreamProcessorCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +6 -21
- package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/DescribeProjectVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeProjectsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetCelebrityRecognitionPaginator.d.ts +1 -1
- package/dist-types/pagination/GetContentModerationPaginator.d.ts +1 -1
- package/dist-types/pagination/GetFaceDetectionPaginator.d.ts +1 -1
- package/dist-types/pagination/GetFaceSearchPaginator.d.ts +1 -1
- package/dist-types/pagination/GetLabelDetectionPaginator.d.ts +1 -1
- package/dist-types/pagination/GetPersonTrackingPaginator.d.ts +1 -1
- package/dist-types/pagination/GetSegmentDetectionPaginator.d.ts +1 -1
- package/dist-types/pagination/GetTextDetectionPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCollectionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDatasetEntriesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDatasetLabelsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFacesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMediaAnalysisJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProjectPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListStreamProcessorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUsersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AssociateFacesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CompareFacesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CopyProjectVersionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateCollectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateFaceLivenessSessionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateProjectVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateStreamProcessorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteCollectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteFacesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteProjectPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteProjectVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteStreamProcessorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeCollectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeProjectVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeProjectsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeStreamProcessorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DetectCustomLabelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DetectFacesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DetectLabelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DetectModerationLabelsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DetectProtectiveEquipmentCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DetectTextCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisassociateFacesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DistributeDatasetEntriesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetCelebrityInfoCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetCelebrityRecognitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetContentModerationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetFaceDetectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetFaceLivenessSessionResultsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetFaceSearchCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetLabelDetectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMediaAnalysisJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetPersonTrackingCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetSegmentDetectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetTextDetectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/IndexFacesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListCollectionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListDatasetEntriesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListDatasetLabelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListFacesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListMediaAnalysisJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListProjectPoliciesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListStreamProcessorsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutProjectPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RecognizeCelebritiesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SearchFacesByImageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SearchFacesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SearchUsersByImageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartContentModerationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartFaceDetectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartFaceSearchCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartLabelDetectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartMediaAnalysisJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartPersonTrackingCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartProjectVersionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartSegmentDetectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartStreamProcessorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartTextDetectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopProjectVersionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopStreamProcessorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateDatasetEntriesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateStreamProcessorCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/DescribeProjectVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeProjectsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetCelebrityRecognitionPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetContentModerationPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetFaceDetectionPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetFaceSearchPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetLabelDetectionPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetPersonTrackingPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetSegmentDetectionPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetTextDetectionPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCollectionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDatasetEntriesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDatasetLabelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFacesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMediaAnalysisJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProjectPoliciesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListStreamProcessorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "RekognitionClient";
|
|
29
|
-
const commandName = "UntagResourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "RekognitionService",
|
|
38
|
-
operation: "UntagResource",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UntagResourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UntagResourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("RekognitionService", "UntagResource", {})
|
|
22
|
+
.n("RekognitionClient", "UntagResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UntagResourceCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UntagResourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateDatasetEntriesCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "RekognitionClient";
|
|
29
|
-
const commandName = "UpdateDatasetEntriesCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "RekognitionService",
|
|
38
|
-
operation: "UpdateDatasetEntries",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateDatasetEntriesCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateDatasetEntriesCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateDatasetEntriesCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("RekognitionService", "UpdateDatasetEntries", {})
|
|
22
|
+
.n("RekognitionClient", "UpdateDatasetEntriesCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateDatasetEntriesCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateDatasetEntriesCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateDatasetEntriesCommand = UpdateDatasetEntriesCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateStreamProcessorCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "RekognitionClient";
|
|
29
|
-
const commandName = "UpdateStreamProcessorCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "RekognitionService",
|
|
38
|
-
operation: "UpdateStreamProcessor",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateStreamProcessorCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateStreamProcessorCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateStreamProcessorCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("RekognitionService", "UpdateStreamProcessor", {})
|
|
22
|
+
.n("RekognitionClient", "UpdateStreamProcessorCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateStreamProcessorCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateStreamProcessorCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateStreamProcessorCommand = UpdateStreamProcessorCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeProjectVersions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeProjectVersionsCommand_1 = require("../commands/DescribeProjectVersionsCommand");
|
|
5
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeProjectVersionsCommand_1.DescribeProjectVersionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeProjectVersions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RekognitionClient_1.RekognitionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Rekognition | RekognitionClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeProjectVersions = paginateDescribeProjectVersions;
|
|
7
|
+
exports.paginateDescribeProjectVersions = (0, core_1.createPaginator)(RekognitionClient_1.RekognitionClient, DescribeProjectVersionsCommand_1.DescribeProjectVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeProjects = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeProjectsCommand_1 = require("../commands/DescribeProjectsCommand");
|
|
5
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeProjectsCommand_1.DescribeProjectsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeProjects(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RekognitionClient_1.RekognitionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Rekognition | RekognitionClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeProjects = paginateDescribeProjects;
|
|
7
|
+
exports.paginateDescribeProjects = (0, core_1.createPaginator)(RekognitionClient_1.RekognitionClient, DescribeProjectsCommand_1.DescribeProjectsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetCelebrityRecognition = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetCelebrityRecognitionCommand_1 = require("../commands/GetCelebrityRecognitionCommand");
|
|
5
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetCelebrityRecognitionCommand_1.GetCelebrityRecognitionCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetCelebrityRecognition(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RekognitionClient_1.RekognitionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Rekognition | RekognitionClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetCelebrityRecognition = paginateGetCelebrityRecognition;
|
|
7
|
+
exports.paginateGetCelebrityRecognition = (0, core_1.createPaginator)(RekognitionClient_1.RekognitionClient, GetCelebrityRecognitionCommand_1.GetCelebrityRecognitionCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetContentModeration = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetContentModerationCommand_1 = require("../commands/GetContentModerationCommand");
|
|
5
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetContentModerationCommand_1.GetContentModerationCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetContentModeration(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RekognitionClient_1.RekognitionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Rekognition | RekognitionClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetContentModeration = paginateGetContentModeration;
|
|
7
|
+
exports.paginateGetContentModeration = (0, core_1.createPaginator)(RekognitionClient_1.RekognitionClient, GetContentModerationCommand_1.GetContentModerationCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetFaceDetection = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetFaceDetectionCommand_1 = require("../commands/GetFaceDetectionCommand");
|
|
5
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetFaceDetectionCommand_1.GetFaceDetectionCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetFaceDetection(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RekognitionClient_1.RekognitionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Rekognition | RekognitionClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetFaceDetection = paginateGetFaceDetection;
|
|
7
|
+
exports.paginateGetFaceDetection = (0, core_1.createPaginator)(RekognitionClient_1.RekognitionClient, GetFaceDetectionCommand_1.GetFaceDetectionCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetFaceSearch = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetFaceSearchCommand_1 = require("../commands/GetFaceSearchCommand");
|
|
5
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetFaceSearchCommand_1.GetFaceSearchCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetFaceSearch(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RekognitionClient_1.RekognitionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Rekognition | RekognitionClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetFaceSearch = paginateGetFaceSearch;
|
|
7
|
+
exports.paginateGetFaceSearch = (0, core_1.createPaginator)(RekognitionClient_1.RekognitionClient, GetFaceSearchCommand_1.GetFaceSearchCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetLabelDetection = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetLabelDetectionCommand_1 = require("../commands/GetLabelDetectionCommand");
|
|
5
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetLabelDetectionCommand_1.GetLabelDetectionCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetLabelDetection(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RekognitionClient_1.RekognitionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Rekognition | RekognitionClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetLabelDetection = paginateGetLabelDetection;
|
|
7
|
+
exports.paginateGetLabelDetection = (0, core_1.createPaginator)(RekognitionClient_1.RekognitionClient, GetLabelDetectionCommand_1.GetLabelDetectionCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetPersonTracking = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetPersonTrackingCommand_1 = require("../commands/GetPersonTrackingCommand");
|
|
5
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetPersonTrackingCommand_1.GetPersonTrackingCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetPersonTracking(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RekognitionClient_1.RekognitionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Rekognition | RekognitionClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetPersonTracking = paginateGetPersonTracking;
|
|
7
|
+
exports.paginateGetPersonTracking = (0, core_1.createPaginator)(RekognitionClient_1.RekognitionClient, GetPersonTrackingCommand_1.GetPersonTrackingCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetSegmentDetection = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetSegmentDetectionCommand_1 = require("../commands/GetSegmentDetectionCommand");
|
|
5
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetSegmentDetectionCommand_1.GetSegmentDetectionCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetSegmentDetection(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RekognitionClient_1.RekognitionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Rekognition | RekognitionClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetSegmentDetection = paginateGetSegmentDetection;
|
|
7
|
+
exports.paginateGetSegmentDetection = (0, core_1.createPaginator)(RekognitionClient_1.RekognitionClient, GetSegmentDetectionCommand_1.GetSegmentDetectionCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetTextDetection = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetTextDetectionCommand_1 = require("../commands/GetTextDetectionCommand");
|
|
5
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetTextDetectionCommand_1.GetTextDetectionCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetTextDetection(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RekognitionClient_1.RekognitionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Rekognition | RekognitionClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetTextDetection = paginateGetTextDetection;
|
|
7
|
+
exports.paginateGetTextDetection = (0, core_1.createPaginator)(RekognitionClient_1.RekognitionClient, GetTextDetectionCommand_1.GetTextDetectionCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCollections = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCollectionsCommand_1 = require("../commands/ListCollectionsCommand");
|
|
5
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCollectionsCommand_1.ListCollectionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCollections(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RekognitionClient_1.RekognitionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Rekognition | RekognitionClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListCollections = paginateListCollections;
|
|
7
|
+
exports.paginateListCollections = (0, core_1.createPaginator)(RekognitionClient_1.RekognitionClient, ListCollectionsCommand_1.ListCollectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDatasetEntries = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDatasetEntriesCommand_1 = require("../commands/ListDatasetEntriesCommand");
|
|
5
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDatasetEntriesCommand_1.ListDatasetEntriesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDatasetEntries(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RekognitionClient_1.RekognitionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Rekognition | RekognitionClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListDatasetEntries = paginateListDatasetEntries;
|
|
7
|
+
exports.paginateListDatasetEntries = (0, core_1.createPaginator)(RekognitionClient_1.RekognitionClient, ListDatasetEntriesCommand_1.ListDatasetEntriesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDatasetLabels = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDatasetLabelsCommand_1 = require("../commands/ListDatasetLabelsCommand");
|
|
5
6
|
const RekognitionClient_1 = require("../RekognitionClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDatasetLabelsCommand_1.ListDatasetLabelsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDatasetLabels(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RekognitionClient_1.RekognitionClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Rekognition | RekognitionClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListDatasetLabels = paginateListDatasetLabels;
|
|
7
|
+
exports.paginateListDatasetLabels = (0, core_1.createPaginator)(RekognitionClient_1.RekognitionClient, ListDatasetLabelsCommand_1.ListDatasetLabelsCommand, "NextToken", "NextToken", "MaxResults");
|