Enum aws_sdk_rekognition::Error
source · #[non_exhaustive]pub enum Error {
Show 24 variants
AccessDeniedException(AccessDeniedException),
ConflictException(ConflictException),
HumanLoopQuotaExceededException(HumanLoopQuotaExceededException),
IdempotentParameterMismatchException(IdempotentParameterMismatchException),
ImageTooLargeException(ImageTooLargeException),
InternalServerError(InternalServerError),
InvalidImageFormatException(InvalidImageFormatException),
InvalidManifestException(InvalidManifestException),
InvalidPaginationTokenException(InvalidPaginationTokenException),
InvalidParameterException(InvalidParameterException),
InvalidPolicyRevisionIdException(InvalidPolicyRevisionIdException),
InvalidS3ObjectException(InvalidS3ObjectException),
LimitExceededException(LimitExceededException),
MalformedPolicyDocumentException(MalformedPolicyDocumentException),
ProvisionedThroughputExceededException(ProvisionedThroughputExceededException),
ResourceAlreadyExistsException(ResourceAlreadyExistsException),
ResourceInUseException(ResourceInUseException),
ResourceNotFoundException(ResourceNotFoundException),
ResourceNotReadyException(ResourceNotReadyException),
ServiceQuotaExceededException(ServiceQuotaExceededException),
SessionNotFoundException(SessionNotFoundException),
ThrottlingException(ThrottlingException),
VideoTooLargeException(VideoTooLargeException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
You are not authorized to perform the action.
ConflictException(ConflictException)
A User with the same Id already exists within the collection, or the update or deletion of the User caused an inconsistent state. **
HumanLoopQuotaExceededException(HumanLoopQuotaExceededException)
The number of in-progress human reviews you have has exceeded the number allowed.
IdempotentParameterMismatchException(IdempotentParameterMismatchException)
A ClientRequestToken
input parameter was reused with an operation, but at least one of the other input parameters is different from the previous call to the operation.
ImageTooLargeException(ImageTooLargeException)
The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, the image size or resolution exceeds the allowed limit. For more information, see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition Developer Guide.
InternalServerError(InternalServerError)
Amazon Rekognition experienced a service issue. Try your call again.
InvalidImageFormatException(InvalidImageFormatException)
The provided image format is not supported.
InvalidManifestException(InvalidManifestException)
Indicates that a provided manifest file is empty or larger than the allowed limit.
InvalidPaginationTokenException(InvalidPaginationTokenException)
Pagination token in the request is not valid.
InvalidParameterException(InvalidParameterException)
Input parameter violated a constraint. Validate your parameter before calling the API operation again.
InvalidPolicyRevisionIdException(InvalidPolicyRevisionIdException)
The supplied revision id for the project policy is invalid.
InvalidS3ObjectException(InvalidS3ObjectException)
Amazon Rekognition is unable to access the S3 object specified in the request.
LimitExceededException(LimitExceededException)
An Amazon Rekognition service limit was exceeded. For example, if you start too many jobs concurrently, subsequent calls to start operations (ex: StartLabelDetection
) will raise a LimitExceededException
exception (HTTP status code: 400) until the number of concurrently running jobs is below the Amazon Rekognition service limit.
MalformedPolicyDocumentException(MalformedPolicyDocumentException)
The format of the project policy document that you supplied to PutProjectPolicy
is incorrect.
ProvisionedThroughputExceededException(ProvisionedThroughputExceededException)
The number of requests exceeded your throughput limit. If you want to increase this limit, contact Amazon Rekognition.
ResourceAlreadyExistsException(ResourceAlreadyExistsException)
A resource with the specified ID already exists.
ResourceInUseException(ResourceInUseException)
The specified resource is already being used.
ResourceNotFoundException(ResourceNotFoundException)
The resource specified in the request cannot be found.
ResourceNotReadyException(ResourceNotReadyException)
The requested resource isn't ready. For example, this exception occurs when you call DetectCustomLabels
with a model version that isn't deployed.
ServiceQuotaExceededException(ServiceQuotaExceededException)
The size of the collection exceeds the allowed limit. For more information, see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition Developer Guide.
SessionNotFoundException(SessionNotFoundException)
Occurs when a given sessionId is not found.
ThrottlingException(ThrottlingException)
Amazon Rekognition is temporarily unable to process the request. Try your call again.
VideoTooLargeException(VideoTooLargeException)
The file size or duration of the supplied media is too large. The maximum file size is 10GB. The maximum duration is 6 hours.
Unhandled(Unhandled)
Unhandled
directly is not forwards compatible. Instead, match using a variable wildcard pattern and check .code()
:
err if err.code() == Some("SpecificExceptionCode") => { /* handle the error */ }
See ProvideErrorMetadata
for what information is available for the error.An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<AssociateFacesError> for Error
impl From<AssociateFacesError> for Error
source§fn from(err: AssociateFacesError) -> Self
fn from(err: AssociateFacesError) -> Self
source§impl From<BuildError> for Error
impl From<BuildError> for Error
source§fn from(value: BuildError) -> Self
fn from(value: BuildError) -> Self
source§impl From<CompareFacesError> for Error
impl From<CompareFacesError> for Error
source§fn from(err: CompareFacesError) -> Self
fn from(err: CompareFacesError) -> Self
source§impl From<CopyProjectVersionError> for Error
impl From<CopyProjectVersionError> for Error
source§fn from(err: CopyProjectVersionError) -> Self
fn from(err: CopyProjectVersionError) -> Self
source§impl From<CreateCollectionError> for Error
impl From<CreateCollectionError> for Error
source§fn from(err: CreateCollectionError) -> Self
fn from(err: CreateCollectionError) -> Self
source§impl From<CreateDatasetError> for Error
impl From<CreateDatasetError> for Error
source§fn from(err: CreateDatasetError) -> Self
fn from(err: CreateDatasetError) -> Self
source§impl From<CreateFaceLivenessSessionError> for Error
impl From<CreateFaceLivenessSessionError> for Error
source§fn from(err: CreateFaceLivenessSessionError) -> Self
fn from(err: CreateFaceLivenessSessionError) -> Self
source§impl From<CreateProjectError> for Error
impl From<CreateProjectError> for Error
source§fn from(err: CreateProjectError) -> Self
fn from(err: CreateProjectError) -> Self
source§impl From<CreateProjectVersionError> for Error
impl From<CreateProjectVersionError> for Error
source§fn from(err: CreateProjectVersionError) -> Self
fn from(err: CreateProjectVersionError) -> Self
source§impl From<CreateStreamProcessorError> for Error
impl From<CreateStreamProcessorError> for Error
source§fn from(err: CreateStreamProcessorError) -> Self
fn from(err: CreateStreamProcessorError) -> Self
source§impl From<CreateUserError> for Error
impl From<CreateUserError> for Error
source§fn from(err: CreateUserError) -> Self
fn from(err: CreateUserError) -> Self
source§impl From<DeleteCollectionError> for Error
impl From<DeleteCollectionError> for Error
source§fn from(err: DeleteCollectionError) -> Self
fn from(err: DeleteCollectionError) -> Self
source§impl From<DeleteDatasetError> for Error
impl From<DeleteDatasetError> for Error
source§fn from(err: DeleteDatasetError) -> Self
fn from(err: DeleteDatasetError) -> Self
source§impl From<DeleteFacesError> for Error
impl From<DeleteFacesError> for Error
source§fn from(err: DeleteFacesError) -> Self
fn from(err: DeleteFacesError) -> Self
source§impl From<DeleteProjectError> for Error
impl From<DeleteProjectError> for Error
source§fn from(err: DeleteProjectError) -> Self
fn from(err: DeleteProjectError) -> Self
source§impl From<DeleteProjectPolicyError> for Error
impl From<DeleteProjectPolicyError> for Error
source§fn from(err: DeleteProjectPolicyError) -> Self
fn from(err: DeleteProjectPolicyError) -> Self
source§impl From<DeleteProjectVersionError> for Error
impl From<DeleteProjectVersionError> for Error
source§fn from(err: DeleteProjectVersionError) -> Self
fn from(err: DeleteProjectVersionError) -> Self
source§impl From<DeleteStreamProcessorError> for Error
impl From<DeleteStreamProcessorError> for Error
source§fn from(err: DeleteStreamProcessorError) -> Self
fn from(err: DeleteStreamProcessorError) -> Self
source§impl From<DeleteUserError> for Error
impl From<DeleteUserError> for Error
source§fn from(err: DeleteUserError) -> Self
fn from(err: DeleteUserError) -> Self
source§impl From<DescribeCollectionError> for Error
impl From<DescribeCollectionError> for Error
source§fn from(err: DescribeCollectionError) -> Self
fn from(err: DescribeCollectionError) -> Self
source§impl From<DescribeDatasetError> for Error
impl From<DescribeDatasetError> for Error
source§fn from(err: DescribeDatasetError) -> Self
fn from(err: DescribeDatasetError) -> Self
source§impl From<DescribeProjectVersionsError> for Error
impl From<DescribeProjectVersionsError> for Error
source§fn from(err: DescribeProjectVersionsError) -> Self
fn from(err: DescribeProjectVersionsError) -> Self
source§impl From<DescribeProjectsError> for Error
impl From<DescribeProjectsError> for Error
source§fn from(err: DescribeProjectsError) -> Self
fn from(err: DescribeProjectsError) -> Self
source§impl From<DescribeStreamProcessorError> for Error
impl From<DescribeStreamProcessorError> for Error
source§fn from(err: DescribeStreamProcessorError) -> Self
fn from(err: DescribeStreamProcessorError) -> Self
source§impl From<DetectCustomLabelsError> for Error
impl From<DetectCustomLabelsError> for Error
source§fn from(err: DetectCustomLabelsError) -> Self
fn from(err: DetectCustomLabelsError) -> Self
source§impl From<DetectFacesError> for Error
impl From<DetectFacesError> for Error
source§fn from(err: DetectFacesError) -> Self
fn from(err: DetectFacesError) -> Self
source§impl From<DetectLabelsError> for Error
impl From<DetectLabelsError> for Error
source§fn from(err: DetectLabelsError) -> Self
fn from(err: DetectLabelsError) -> Self
source§impl From<DetectModerationLabelsError> for Error
impl From<DetectModerationLabelsError> for Error
source§fn from(err: DetectModerationLabelsError) -> Self
fn from(err: DetectModerationLabelsError) -> Self
source§impl From<DetectProtectiveEquipmentError> for Error
impl From<DetectProtectiveEquipmentError> for Error
source§fn from(err: DetectProtectiveEquipmentError) -> Self
fn from(err: DetectProtectiveEquipmentError) -> Self
source§impl From<DetectTextError> for Error
impl From<DetectTextError> for Error
source§fn from(err: DetectTextError) -> Self
fn from(err: DetectTextError) -> Self
source§impl From<DisassociateFacesError> for Error
impl From<DisassociateFacesError> for Error
source§fn from(err: DisassociateFacesError) -> Self
fn from(err: DisassociateFacesError) -> Self
source§impl From<DistributeDatasetEntriesError> for Error
impl From<DistributeDatasetEntriesError> for Error
source§fn from(err: DistributeDatasetEntriesError) -> Self
fn from(err: DistributeDatasetEntriesError) -> Self
source§impl From<GetCelebrityInfoError> for Error
impl From<GetCelebrityInfoError> for Error
source§fn from(err: GetCelebrityInfoError) -> Self
fn from(err: GetCelebrityInfoError) -> Self
source§impl From<GetCelebrityRecognitionError> for Error
impl From<GetCelebrityRecognitionError> for Error
source§fn from(err: GetCelebrityRecognitionError) -> Self
fn from(err: GetCelebrityRecognitionError) -> Self
source§impl From<GetContentModerationError> for Error
impl From<GetContentModerationError> for Error
source§fn from(err: GetContentModerationError) -> Self
fn from(err: GetContentModerationError) -> Self
source§impl From<GetFaceDetectionError> for Error
impl From<GetFaceDetectionError> for Error
source§fn from(err: GetFaceDetectionError) -> Self
fn from(err: GetFaceDetectionError) -> Self
source§impl From<GetFaceLivenessSessionResultsError> for Error
impl From<GetFaceLivenessSessionResultsError> for Error
source§fn from(err: GetFaceLivenessSessionResultsError) -> Self
fn from(err: GetFaceLivenessSessionResultsError) -> Self
source§impl From<GetFaceSearchError> for Error
impl From<GetFaceSearchError> for Error
source§fn from(err: GetFaceSearchError) -> Self
fn from(err: GetFaceSearchError) -> Self
source§impl From<GetLabelDetectionError> for Error
impl From<GetLabelDetectionError> for Error
source§fn from(err: GetLabelDetectionError) -> Self
fn from(err: GetLabelDetectionError) -> Self
source§impl From<GetMediaAnalysisJobError> for Error
impl From<GetMediaAnalysisJobError> for Error
source§fn from(err: GetMediaAnalysisJobError) -> Self
fn from(err: GetMediaAnalysisJobError) -> Self
source§impl From<GetPersonTrackingError> for Error
impl From<GetPersonTrackingError> for Error
source§fn from(err: GetPersonTrackingError) -> Self
fn from(err: GetPersonTrackingError) -> Self
source§impl From<GetSegmentDetectionError> for Error
impl From<GetSegmentDetectionError> for Error
source§fn from(err: GetSegmentDetectionError) -> Self
fn from(err: GetSegmentDetectionError) -> Self
source§impl From<GetTextDetectionError> for Error
impl From<GetTextDetectionError> for Error
source§fn from(err: GetTextDetectionError) -> Self
fn from(err: GetTextDetectionError) -> Self
source§impl From<IndexFacesError> for Error
impl From<IndexFacesError> for Error
source§fn from(err: IndexFacesError) -> Self
fn from(err: IndexFacesError) -> Self
source§impl From<ListCollectionsError> for Error
impl From<ListCollectionsError> for Error
source§fn from(err: ListCollectionsError) -> Self
fn from(err: ListCollectionsError) -> Self
source§impl From<ListDatasetEntriesError> for Error
impl From<ListDatasetEntriesError> for Error
source§fn from(err: ListDatasetEntriesError) -> Self
fn from(err: ListDatasetEntriesError) -> Self
source§impl From<ListDatasetLabelsError> for Error
impl From<ListDatasetLabelsError> for Error
source§fn from(err: ListDatasetLabelsError) -> Self
fn from(err: ListDatasetLabelsError) -> Self
source§impl From<ListFacesError> for Error
impl From<ListFacesError> for Error
source§fn from(err: ListFacesError) -> Self
fn from(err: ListFacesError) -> Self
source§impl From<ListMediaAnalysisJobsError> for Error
impl From<ListMediaAnalysisJobsError> for Error
source§fn from(err: ListMediaAnalysisJobsError) -> Self
fn from(err: ListMediaAnalysisJobsError) -> Self
source§impl From<ListProjectPoliciesError> for Error
impl From<ListProjectPoliciesError> for Error
source§fn from(err: ListProjectPoliciesError) -> Self
fn from(err: ListProjectPoliciesError) -> Self
source§impl From<ListStreamProcessorsError> for Error
impl From<ListStreamProcessorsError> for Error
source§fn from(err: ListStreamProcessorsError) -> Self
fn from(err: ListStreamProcessorsError) -> Self
source§impl From<ListTagsForResourceError> for Error
impl From<ListTagsForResourceError> for Error
source§fn from(err: ListTagsForResourceError) -> Self
fn from(err: ListTagsForResourceError) -> Self
source§impl From<ListUsersError> for Error
impl From<ListUsersError> for Error
source§fn from(err: ListUsersError) -> Self
fn from(err: ListUsersError) -> Self
source§impl From<PutProjectPolicyError> for Error
impl From<PutProjectPolicyError> for Error
source§fn from(err: PutProjectPolicyError) -> Self
fn from(err: PutProjectPolicyError) -> Self
source§impl From<RecognizeCelebritiesError> for Error
impl From<RecognizeCelebritiesError> for Error
source§fn from(err: RecognizeCelebritiesError) -> Self
fn from(err: RecognizeCelebritiesError) -> Self
source§impl<R> From<SdkError<AssociateFacesError, R>> for Error
impl<R> From<SdkError<AssociateFacesError, R>> for Error
source§fn from(err: SdkError<AssociateFacesError, R>) -> Self
fn from(err: SdkError<AssociateFacesError, R>) -> Self
source§impl<R> From<SdkError<CompareFacesError, R>> for Error
impl<R> From<SdkError<CompareFacesError, R>> for Error
source§fn from(err: SdkError<CompareFacesError, R>) -> Self
fn from(err: SdkError<CompareFacesError, R>) -> Self
source§impl<R> From<SdkError<CopyProjectVersionError, R>> for Error
impl<R> From<SdkError<CopyProjectVersionError, R>> for Error
source§fn from(err: SdkError<CopyProjectVersionError, R>) -> Self
fn from(err: SdkError<CopyProjectVersionError, R>) -> Self
source§impl<R> From<SdkError<CreateCollectionError, R>> for Error
impl<R> From<SdkError<CreateCollectionError, R>> for Error
source§fn from(err: SdkError<CreateCollectionError, R>) -> Self
fn from(err: SdkError<CreateCollectionError, R>) -> Self
source§impl<R> From<SdkError<CreateDatasetError, R>> for Error
impl<R> From<SdkError<CreateDatasetError, R>> for Error
source§fn from(err: SdkError<CreateDatasetError, R>) -> Self
fn from(err: SdkError<CreateDatasetError, R>) -> Self
source§impl<R> From<SdkError<CreateFaceLivenessSessionError, R>> for Error
impl<R> From<SdkError<CreateFaceLivenessSessionError, R>> for Error
source§fn from(err: SdkError<CreateFaceLivenessSessionError, R>) -> Self
fn from(err: SdkError<CreateFaceLivenessSessionError, R>) -> Self
source§impl<R> From<SdkError<CreateProjectError, R>> for Error
impl<R> From<SdkError<CreateProjectError, R>> for Error
source§fn from(err: SdkError<CreateProjectError, R>) -> Self
fn from(err: SdkError<CreateProjectError, R>) -> Self
source§impl<R> From<SdkError<CreateProjectVersionError, R>> for Error
impl<R> From<SdkError<CreateProjectVersionError, R>> for Error
source§fn from(err: SdkError<CreateProjectVersionError, R>) -> Self
fn from(err: SdkError<CreateProjectVersionError, R>) -> Self
source§impl<R> From<SdkError<CreateStreamProcessorError, R>> for Error
impl<R> From<SdkError<CreateStreamProcessorError, R>> for Error
source§fn from(err: SdkError<CreateStreamProcessorError, R>) -> Self
fn from(err: SdkError<CreateStreamProcessorError, R>) -> Self
source§impl<R> From<SdkError<CreateUserError, R>> for Error
impl<R> From<SdkError<CreateUserError, R>> for Error
source§fn from(err: SdkError<CreateUserError, R>) -> Self
fn from(err: SdkError<CreateUserError, R>) -> Self
source§impl<R> From<SdkError<DeleteCollectionError, R>> for Error
impl<R> From<SdkError<DeleteCollectionError, R>> for Error
source§fn from(err: SdkError<DeleteCollectionError, R>) -> Self
fn from(err: SdkError<DeleteCollectionError, R>) -> Self
source§impl<R> From<SdkError<DeleteDatasetError, R>> for Error
impl<R> From<SdkError<DeleteDatasetError, R>> for Error
source§fn from(err: SdkError<DeleteDatasetError, R>) -> Self
fn from(err: SdkError<DeleteDatasetError, R>) -> Self
source§impl<R> From<SdkError<DeleteFacesError, R>> for Error
impl<R> From<SdkError<DeleteFacesError, R>> for Error
source§fn from(err: SdkError<DeleteFacesError, R>) -> Self
fn from(err: SdkError<DeleteFacesError, R>) -> Self
source§impl<R> From<SdkError<DeleteProjectError, R>> for Error
impl<R> From<SdkError<DeleteProjectError, R>> for Error
source§fn from(err: SdkError<DeleteProjectError, R>) -> Self
fn from(err: SdkError<DeleteProjectError, R>) -> Self
source§impl<R> From<SdkError<DeleteProjectPolicyError, R>> for Error
impl<R> From<SdkError<DeleteProjectPolicyError, R>> for Error
source§fn from(err: SdkError<DeleteProjectPolicyError, R>) -> Self
fn from(err: SdkError<DeleteProjectPolicyError, R>) -> Self
source§impl<R> From<SdkError<DeleteProjectVersionError, R>> for Error
impl<R> From<SdkError<DeleteProjectVersionError, R>> for Error
source§fn from(err: SdkError<DeleteProjectVersionError, R>) -> Self
fn from(err: SdkError<DeleteProjectVersionError, R>) -> Self
source§impl<R> From<SdkError<DeleteStreamProcessorError, R>> for Error
impl<R> From<SdkError<DeleteStreamProcessorError, R>> for Error
source§fn from(err: SdkError<DeleteStreamProcessorError, R>) -> Self
fn from(err: SdkError<DeleteStreamProcessorError, R>) -> Self
source§impl<R> From<SdkError<DeleteUserError, R>> for Error
impl<R> From<SdkError<DeleteUserError, R>> for Error
source§fn from(err: SdkError<DeleteUserError, R>) -> Self
fn from(err: SdkError<DeleteUserError, R>) -> Self
source§impl<R> From<SdkError<DescribeCollectionError, R>> for Error
impl<R> From<SdkError<DescribeCollectionError, R>> for Error
source§fn from(err: SdkError<DescribeCollectionError, R>) -> Self
fn from(err: SdkError<DescribeCollectionError, R>) -> Self
source§impl<R> From<SdkError<DescribeDatasetError, R>> for Error
impl<R> From<SdkError<DescribeDatasetError, R>> for Error
source§fn from(err: SdkError<DescribeDatasetError, R>) -> Self
fn from(err: SdkError<DescribeDatasetError, R>) -> Self
source§impl<R> From<SdkError<DescribeProjectVersionsError, R>> for Error
impl<R> From<SdkError<DescribeProjectVersionsError, R>> for Error
source§fn from(err: SdkError<DescribeProjectVersionsError, R>) -> Self
fn from(err: SdkError<DescribeProjectVersionsError, R>) -> Self
source§impl<R> From<SdkError<DescribeProjectsError, R>> for Error
impl<R> From<SdkError<DescribeProjectsError, R>> for Error
source§fn from(err: SdkError<DescribeProjectsError, R>) -> Self
fn from(err: SdkError<DescribeProjectsError, R>) -> Self
source§impl<R> From<SdkError<DescribeStreamProcessorError, R>> for Error
impl<R> From<SdkError<DescribeStreamProcessorError, R>> for Error
source§fn from(err: SdkError<DescribeStreamProcessorError, R>) -> Self
fn from(err: SdkError<DescribeStreamProcessorError, R>) -> Self
source§impl<R> From<SdkError<DetectCustomLabelsError, R>> for Error
impl<R> From<SdkError<DetectCustomLabelsError, R>> for Error
source§fn from(err: SdkError<DetectCustomLabelsError, R>) -> Self
fn from(err: SdkError<DetectCustomLabelsError, R>) -> Self
source§impl<R> From<SdkError<DetectFacesError, R>> for Error
impl<R> From<SdkError<DetectFacesError, R>> for Error
source§fn from(err: SdkError<DetectFacesError, R>) -> Self
fn from(err: SdkError<DetectFacesError, R>) -> Self
source§impl<R> From<SdkError<DetectLabelsError, R>> for Error
impl<R> From<SdkError<DetectLabelsError, R>> for Error
source§fn from(err: SdkError<DetectLabelsError, R>) -> Self
fn from(err: SdkError<DetectLabelsError, R>) -> Self
source§impl<R> From<SdkError<DetectModerationLabelsError, R>> for Error
impl<R> From<SdkError<DetectModerationLabelsError, R>> for Error
source§fn from(err: SdkError<DetectModerationLabelsError, R>) -> Self
fn from(err: SdkError<DetectModerationLabelsError, R>) -> Self
source§impl<R> From<SdkError<DetectProtectiveEquipmentError, R>> for Error
impl<R> From<SdkError<DetectProtectiveEquipmentError, R>> for Error
source§fn from(err: SdkError<DetectProtectiveEquipmentError, R>) -> Self
fn from(err: SdkError<DetectProtectiveEquipmentError, R>) -> Self
source§impl<R> From<SdkError<DetectTextError, R>> for Error
impl<R> From<SdkError<DetectTextError, R>> for Error
source§fn from(err: SdkError<DetectTextError, R>) -> Self
fn from(err: SdkError<DetectTextError, R>) -> Self
source§impl<R> From<SdkError<DisassociateFacesError, R>> for Error
impl<R> From<SdkError<DisassociateFacesError, R>> for Error
source§fn from(err: SdkError<DisassociateFacesError, R>) -> Self
fn from(err: SdkError<DisassociateFacesError, R>) -> Self
source§impl<R> From<SdkError<DistributeDatasetEntriesError, R>> for Error
impl<R> From<SdkError<DistributeDatasetEntriesError, R>> for Error
source§fn from(err: SdkError<DistributeDatasetEntriesError, R>) -> Self
fn from(err: SdkError<DistributeDatasetEntriesError, R>) -> Self
source§impl<R> From<SdkError<GetCelebrityInfoError, R>> for Error
impl<R> From<SdkError<GetCelebrityInfoError, R>> for Error
source§fn from(err: SdkError<GetCelebrityInfoError, R>) -> Self
fn from(err: SdkError<GetCelebrityInfoError, R>) -> Self
source§impl<R> From<SdkError<GetCelebrityRecognitionError, R>> for Error
impl<R> From<SdkError<GetCelebrityRecognitionError, R>> for Error
source§fn from(err: SdkError<GetCelebrityRecognitionError, R>) -> Self
fn from(err: SdkError<GetCelebrityRecognitionError, R>) -> Self
source§impl<R> From<SdkError<GetContentModerationError, R>> for Error
impl<R> From<SdkError<GetContentModerationError, R>> for Error
source§fn from(err: SdkError<GetContentModerationError, R>) -> Self
fn from(err: SdkError<GetContentModerationError, R>) -> Self
source§impl<R> From<SdkError<GetFaceDetectionError, R>> for Error
impl<R> From<SdkError<GetFaceDetectionError, R>> for Error
source§fn from(err: SdkError<GetFaceDetectionError, R>) -> Self
fn from(err: SdkError<GetFaceDetectionError, R>) -> Self
source§impl<R> From<SdkError<GetFaceLivenessSessionResultsError, R>> for Error
impl<R> From<SdkError<GetFaceLivenessSessionResultsError, R>> for Error
source§fn from(err: SdkError<GetFaceLivenessSessionResultsError, R>) -> Self
fn from(err: SdkError<GetFaceLivenessSessionResultsError, R>) -> Self
source§impl<R> From<SdkError<GetFaceSearchError, R>> for Error
impl<R> From<SdkError<GetFaceSearchError, R>> for Error
source§fn from(err: SdkError<GetFaceSearchError, R>) -> Self
fn from(err: SdkError<GetFaceSearchError, R>) -> Self
source§impl<R> From<SdkError<GetLabelDetectionError, R>> for Error
impl<R> From<SdkError<GetLabelDetectionError, R>> for Error
source§fn from(err: SdkError<GetLabelDetectionError, R>) -> Self
fn from(err: SdkError<GetLabelDetectionError, R>) -> Self
source§impl<R> From<SdkError<GetMediaAnalysisJobError, R>> for Error
impl<R> From<SdkError<GetMediaAnalysisJobError, R>> for Error
source§fn from(err: SdkError<GetMediaAnalysisJobError, R>) -> Self
fn from(err: SdkError<GetMediaAnalysisJobError, R>) -> Self
source§impl<R> From<SdkError<GetPersonTrackingError, R>> for Error
impl<R> From<SdkError<GetPersonTrackingError, R>> for Error
source§fn from(err: SdkError<GetPersonTrackingError, R>) -> Self
fn from(err: SdkError<GetPersonTrackingError, R>) -> Self
source§impl<R> From<SdkError<GetSegmentDetectionError, R>> for Error
impl<R> From<SdkError<GetSegmentDetectionError, R>> for Error
source§fn from(err: SdkError<GetSegmentDetectionError, R>) -> Self
fn from(err: SdkError<GetSegmentDetectionError, R>) -> Self
source§impl<R> From<SdkError<GetTextDetectionError, R>> for Error
impl<R> From<SdkError<GetTextDetectionError, R>> for Error
source§fn from(err: SdkError<GetTextDetectionError, R>) -> Self
fn from(err: SdkError<GetTextDetectionError, R>) -> Self
source§impl<R> From<SdkError<IndexFacesError, R>> for Error
impl<R> From<SdkError<IndexFacesError, R>> for Error
source§fn from(err: SdkError<IndexFacesError, R>) -> Self
fn from(err: SdkError<IndexFacesError, R>) -> Self
source§impl<R> From<SdkError<ListCollectionsError, R>> for Error
impl<R> From<SdkError<ListCollectionsError, R>> for Error
source§fn from(err: SdkError<ListCollectionsError, R>) -> Self
fn from(err: SdkError<ListCollectionsError, R>) -> Self
source§impl<R> From<SdkError<ListDatasetEntriesError, R>> for Error
impl<R> From<SdkError<ListDatasetEntriesError, R>> for Error
source§fn from(err: SdkError<ListDatasetEntriesError, R>) -> Self
fn from(err: SdkError<ListDatasetEntriesError, R>) -> Self
source§impl<R> From<SdkError<ListDatasetLabelsError, R>> for Error
impl<R> From<SdkError<ListDatasetLabelsError, R>> for Error
source§fn from(err: SdkError<ListDatasetLabelsError, R>) -> Self
fn from(err: SdkError<ListDatasetLabelsError, R>) -> Self
source§impl<R> From<SdkError<ListFacesError, R>> for Error
impl<R> From<SdkError<ListFacesError, R>> for Error
source§fn from(err: SdkError<ListFacesError, R>) -> Self
fn from(err: SdkError<ListFacesError, R>) -> Self
source§impl<R> From<SdkError<ListMediaAnalysisJobsError, R>> for Error
impl<R> From<SdkError<ListMediaAnalysisJobsError, R>> for Error
source§fn from(err: SdkError<ListMediaAnalysisJobsError, R>) -> Self
fn from(err: SdkError<ListMediaAnalysisJobsError, R>) -> Self
source§impl<R> From<SdkError<ListProjectPoliciesError, R>> for Error
impl<R> From<SdkError<ListProjectPoliciesError, R>> for Error
source§fn from(err: SdkError<ListProjectPoliciesError, R>) -> Self
fn from(err: SdkError<ListProjectPoliciesError, R>) -> Self
source§impl<R> From<SdkError<ListStreamProcessorsError, R>> for Error
impl<R> From<SdkError<ListStreamProcessorsError, R>> for Error
source§fn from(err: SdkError<ListStreamProcessorsError, R>) -> Self
fn from(err: SdkError<ListStreamProcessorsError, R>) -> Self
source§impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
source§fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
source§impl<R> From<SdkError<ListUsersError, R>> for Error
impl<R> From<SdkError<ListUsersError, R>> for Error
source§fn from(err: SdkError<ListUsersError, R>) -> Self
fn from(err: SdkError<ListUsersError, R>) -> Self
source§impl<R> From<SdkError<PutProjectPolicyError, R>> for Error
impl<R> From<SdkError<PutProjectPolicyError, R>> for Error
source§fn from(err: SdkError<PutProjectPolicyError, R>) -> Self
fn from(err: SdkError<PutProjectPolicyError, R>) -> Self
source§impl<R> From<SdkError<RecognizeCelebritiesError, R>> for Error
impl<R> From<SdkError<RecognizeCelebritiesError, R>> for Error
source§fn from(err: SdkError<RecognizeCelebritiesError, R>) -> Self
fn from(err: SdkError<RecognizeCelebritiesError, R>) -> Self
source§impl<R> From<SdkError<SearchFacesByImageError, R>> for Error
impl<R> From<SdkError<SearchFacesByImageError, R>> for Error
source§fn from(err: SdkError<SearchFacesByImageError, R>) -> Self
fn from(err: SdkError<SearchFacesByImageError, R>) -> Self
source§impl<R> From<SdkError<SearchFacesError, R>> for Error
impl<R> From<SdkError<SearchFacesError, R>> for Error
source§fn from(err: SdkError<SearchFacesError, R>) -> Self
fn from(err: SdkError<SearchFacesError, R>) -> Self
source§impl<R> From<SdkError<SearchUsersByImageError, R>> for Error
impl<R> From<SdkError<SearchUsersByImageError, R>> for Error
source§fn from(err: SdkError<SearchUsersByImageError, R>) -> Self
fn from(err: SdkError<SearchUsersByImageError, R>) -> Self
source§impl<R> From<SdkError<SearchUsersError, R>> for Error
impl<R> From<SdkError<SearchUsersError, R>> for Error
source§fn from(err: SdkError<SearchUsersError, R>) -> Self
fn from(err: SdkError<SearchUsersError, R>) -> Self
source§impl<R> From<SdkError<StartCelebrityRecognitionError, R>> for Error
impl<R> From<SdkError<StartCelebrityRecognitionError, R>> for Error
source§fn from(err: SdkError<StartCelebrityRecognitionError, R>) -> Self
fn from(err: SdkError<StartCelebrityRecognitionError, R>) -> Self
source§impl<R> From<SdkError<StartContentModerationError, R>> for Error
impl<R> From<SdkError<StartContentModerationError, R>> for Error
source§fn from(err: SdkError<StartContentModerationError, R>) -> Self
fn from(err: SdkError<StartContentModerationError, R>) -> Self
source§impl<R> From<SdkError<StartFaceDetectionError, R>> for Error
impl<R> From<SdkError<StartFaceDetectionError, R>> for Error
source§fn from(err: SdkError<StartFaceDetectionError, R>) -> Self
fn from(err: SdkError<StartFaceDetectionError, R>) -> Self
source§impl<R> From<SdkError<StartFaceSearchError, R>> for Error
impl<R> From<SdkError<StartFaceSearchError, R>> for Error
source§fn from(err: SdkError<StartFaceSearchError, R>) -> Self
fn from(err: SdkError<StartFaceSearchError, R>) -> Self
source§impl<R> From<SdkError<StartLabelDetectionError, R>> for Error
impl<R> From<SdkError<StartLabelDetectionError, R>> for Error
source§fn from(err: SdkError<StartLabelDetectionError, R>) -> Self
fn from(err: SdkError<StartLabelDetectionError, R>) -> Self
source§impl<R> From<SdkError<StartMediaAnalysisJobError, R>> for Error
impl<R> From<SdkError<StartMediaAnalysisJobError, R>> for Error
source§fn from(err: SdkError<StartMediaAnalysisJobError, R>) -> Self
fn from(err: SdkError<StartMediaAnalysisJobError, R>) -> Self
source§impl<R> From<SdkError<StartPersonTrackingError, R>> for Error
impl<R> From<SdkError<StartPersonTrackingError, R>> for Error
source§fn from(err: SdkError<StartPersonTrackingError, R>) -> Self
fn from(err: SdkError<StartPersonTrackingError, R>) -> Self
source§impl<R> From<SdkError<StartProjectVersionError, R>> for Error
impl<R> From<SdkError<StartProjectVersionError, R>> for Error
source§fn from(err: SdkError<StartProjectVersionError, R>) -> Self
fn from(err: SdkError<StartProjectVersionError, R>) -> Self
source§impl<R> From<SdkError<StartSegmentDetectionError, R>> for Error
impl<R> From<SdkError<StartSegmentDetectionError, R>> for Error
source§fn from(err: SdkError<StartSegmentDetectionError, R>) -> Self
fn from(err: SdkError<StartSegmentDetectionError, R>) -> Self
source§impl<R> From<SdkError<StartStreamProcessorError, R>> for Error
impl<R> From<SdkError<StartStreamProcessorError, R>> for Error
source§fn from(err: SdkError<StartStreamProcessorError, R>) -> Self
fn from(err: SdkError<StartStreamProcessorError, R>) -> Self
source§impl<R> From<SdkError<StartTextDetectionError, R>> for Error
impl<R> From<SdkError<StartTextDetectionError, R>> for Error
source§fn from(err: SdkError<StartTextDetectionError, R>) -> Self
fn from(err: SdkError<StartTextDetectionError, R>) -> Self
source§impl<R> From<SdkError<StopProjectVersionError, R>> for Error
impl<R> From<SdkError<StopProjectVersionError, R>> for Error
source§fn from(err: SdkError<StopProjectVersionError, R>) -> Self
fn from(err: SdkError<StopProjectVersionError, R>) -> Self
source§impl<R> From<SdkError<StopStreamProcessorError, R>> for Error
impl<R> From<SdkError<StopStreamProcessorError, R>> for Error
source§fn from(err: SdkError<StopStreamProcessorError, R>) -> Self
fn from(err: SdkError<StopStreamProcessorError, R>) -> Self
source§impl<R> From<SdkError<TagResourceError, R>> for Error
impl<R> From<SdkError<TagResourceError, R>> for Error
source§fn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
source§impl<R> From<SdkError<UntagResourceError, R>> for Error
impl<R> From<SdkError<UntagResourceError, R>> for Error
source§fn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
source§impl<R> From<SdkError<UpdateDatasetEntriesError, R>> for Error
impl<R> From<SdkError<UpdateDatasetEntriesError, R>> for Error
source§fn from(err: SdkError<UpdateDatasetEntriesError, R>) -> Self
fn from(err: SdkError<UpdateDatasetEntriesError, R>) -> Self
source§impl<R> From<SdkError<UpdateStreamProcessorError, R>> for Error
impl<R> From<SdkError<UpdateStreamProcessorError, R>> for Error
source§fn from(err: SdkError<UpdateStreamProcessorError, R>) -> Self
fn from(err: SdkError<UpdateStreamProcessorError, R>) -> Self
source§impl From<SearchFacesByImageError> for Error
impl From<SearchFacesByImageError> for Error
source§fn from(err: SearchFacesByImageError) -> Self
fn from(err: SearchFacesByImageError) -> Self
source§impl From<SearchFacesError> for Error
impl From<SearchFacesError> for Error
source§fn from(err: SearchFacesError) -> Self
fn from(err: SearchFacesError) -> Self
source§impl From<SearchUsersByImageError> for Error
impl From<SearchUsersByImageError> for Error
source§fn from(err: SearchUsersByImageError) -> Self
fn from(err: SearchUsersByImageError) -> Self
source§impl From<SearchUsersError> for Error
impl From<SearchUsersError> for Error
source§fn from(err: SearchUsersError) -> Self
fn from(err: SearchUsersError) -> Self
source§impl From<StartCelebrityRecognitionError> for Error
impl From<StartCelebrityRecognitionError> for Error
source§fn from(err: StartCelebrityRecognitionError) -> Self
fn from(err: StartCelebrityRecognitionError) -> Self
source§impl From<StartContentModerationError> for Error
impl From<StartContentModerationError> for Error
source§fn from(err: StartContentModerationError) -> Self
fn from(err: StartContentModerationError) -> Self
source§impl From<StartFaceDetectionError> for Error
impl From<StartFaceDetectionError> for Error
source§fn from(err: StartFaceDetectionError) -> Self
fn from(err: StartFaceDetectionError) -> Self
source§impl From<StartFaceSearchError> for Error
impl From<StartFaceSearchError> for Error
source§fn from(err: StartFaceSearchError) -> Self
fn from(err: StartFaceSearchError) -> Self
source§impl From<StartLabelDetectionError> for Error
impl From<StartLabelDetectionError> for Error
source§fn from(err: StartLabelDetectionError) -> Self
fn from(err: StartLabelDetectionError) -> Self
source§impl From<StartMediaAnalysisJobError> for Error
impl From<StartMediaAnalysisJobError> for Error
source§fn from(err: StartMediaAnalysisJobError) -> Self
fn from(err: StartMediaAnalysisJobError) -> Self
source§impl From<StartPersonTrackingError> for Error
impl From<StartPersonTrackingError> for Error
source§fn from(err: StartPersonTrackingError) -> Self
fn from(err: StartPersonTrackingError) -> Self
source§impl From<StartProjectVersionError> for Error
impl From<StartProjectVersionError> for Error
source§fn from(err: StartProjectVersionError) -> Self
fn from(err: StartProjectVersionError) -> Self
source§impl From<StartSegmentDetectionError> for Error
impl From<StartSegmentDetectionError> for Error
source§fn from(err: StartSegmentDetectionError) -> Self
fn from(err: StartSegmentDetectionError) -> Self
source§impl From<StartStreamProcessorError> for Error
impl From<StartStreamProcessorError> for Error
source§fn from(err: StartStreamProcessorError) -> Self
fn from(err: StartStreamProcessorError) -> Self
source§impl From<StartTextDetectionError> for Error
impl From<StartTextDetectionError> for Error
source§fn from(err: StartTextDetectionError) -> Self
fn from(err: StartTextDetectionError) -> Self
source§impl From<StopProjectVersionError> for Error
impl From<StopProjectVersionError> for Error
source§fn from(err: StopProjectVersionError) -> Self
fn from(err: StopProjectVersionError) -> Self
source§impl From<StopStreamProcessorError> for Error
impl From<StopStreamProcessorError> for Error
source§fn from(err: StopStreamProcessorError) -> Self
fn from(err: StopStreamProcessorError) -> Self
source§impl From<TagResourceError> for Error
impl From<TagResourceError> for Error
source§fn from(err: TagResourceError) -> Self
fn from(err: TagResourceError) -> Self
source§impl From<UntagResourceError> for Error
impl From<UntagResourceError> for Error
source§fn from(err: UntagResourceError) -> Self
fn from(err: UntagResourceError) -> Self
source§impl From<UpdateDatasetEntriesError> for Error
impl From<UpdateDatasetEntriesError> for Error
source§fn from(err: UpdateDatasetEntriesError) -> Self
fn from(err: UpdateDatasetEntriesError) -> Self
source§impl From<UpdateStreamProcessorError> for Error
impl From<UpdateStreamProcessorError> for Error
source§fn from(err: UpdateStreamProcessorError) -> Self
fn from(err: UpdateStreamProcessorError) -> Self
source§impl<O, E> From<WaiterError<O, E>> for Error
impl<O, E> From<WaiterError<O, E>> for Error
source§fn from(err: WaiterError<O, E>) -> Self
fn from(err: WaiterError<O, E>) -> Self
source§impl ProvideErrorMetadata for Error
impl ProvideErrorMetadata for Error
source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more