Enum rusoto_rekognition::DetectLabelsError
[−]
[src]
pub enum DetectLabelsError { 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 DetectLabels
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 DetectLabelsError
[src]
pub fn from_body(body: &str) -> DetectLabelsError
[src]
Trait Implementations
impl Debug for DetectLabelsError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for DetectLabelsError
[src]
fn eq(&self, __arg_0: &DetectLabelsError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DetectLabelsError) -> bool
[src]
This method tests for !=
.
impl From<Error> for DetectLabelsError
[src]
fn from(err: Error) -> DetectLabelsError
[src]
Performs the conversion.
impl From<CredentialsError> for DetectLabelsError
[src]
fn from(err: CredentialsError) -> DetectLabelsError
[src]
Performs the conversion.
impl From<HttpDispatchError> for DetectLabelsError
[src]
fn from(err: HttpDispatchError) -> DetectLabelsError
[src]
Performs the conversion.
impl From<Error> for DetectLabelsError
[src]
fn from(err: Error) -> DetectLabelsError
[src]
Performs the conversion.
impl Display for DetectLabelsError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more