Enum rusoto_rekognition::CompareFacesError
[−]
[src]
pub enum CompareFacesError { AccessDenied(String), ImageTooLarge(String), InternalServerError(String), InvalidImageFormat(String), InvalidParameter(String), InvalidS3Object(String), ProvisionedThroughputExceeded(String), Throttling(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CompareFaces
Variants
AccessDenied(String)
You are not authorized to perform the action.
ImageTooLarge(String)
The input image size exceeds the allowed limit. For more information, see limits.
InternalServerError(String)
Amazon Rekognition experienced a service issue. Try your call again.
InvalidImageFormat(String)
The provided image format is not supported.
InvalidParameter(String)
Input parameter violated a constraint. Validate your parameter before calling the API operation again.
InvalidS3Object(String)
Amazon Rekognition is unable to access the S3 object specified in the request.
ProvisionedThroughputExceeded(String)
The number of requests exceeded your throughput limit. If you want to increase this limit, contact Amazon Rekognition.
Throttling(String)
Amazon Rekognition is temporarily unable to process the request. Try your call again.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl CompareFacesError
[src]
pub fn from_body(body: &str) -> CompareFacesError
[src]
Trait Implementations
impl Debug for CompareFacesError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for CompareFacesError
[src]
fn eq(&self, __arg_0: &CompareFacesError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CompareFacesError) -> bool
[src]
This method tests for !=
.
impl From<Error> for CompareFacesError
[src]
fn from(err: Error) -> CompareFacesError
[src]
Performs the conversion.
impl From<CredentialsError> for CompareFacesError
[src]
fn from(err: CredentialsError) -> CompareFacesError
[src]
Performs the conversion.
impl From<HttpDispatchError> for CompareFacesError
[src]
fn from(err: HttpDispatchError) -> CompareFacesError
[src]
Performs the conversion.
impl From<Error> for CompareFacesError
[src]
fn from(err: Error) -> CompareFacesError
[src]
Performs the conversion.
impl Display for CompareFacesError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more