#[non_exhaustive]pub struct StartLabelDetectionError {
pub kind: StartLabelDetectionErrorKind,
/* private fields */
}Expand description
Error type for the StartLabelDetection operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: StartLabelDetectionErrorKindKind of error that occurred.
Implementations
Creates a new StartLabelDetectionError.
Creates the StartLabelDetectionError::Unhandled variant from any error type.
Creates the StartLabelDetectionError::Unhandled variant from a aws_smithy_types::Error.
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Returns the request ID if it’s available.
Returns true if the error kind is StartLabelDetectionErrorKind::AccessDeniedException.
Returns true if the error kind is StartLabelDetectionErrorKind::IdempotentParameterMismatchException.
Returns true if the error kind is StartLabelDetectionErrorKind::InternalServerError.
Returns true if the error kind is StartLabelDetectionErrorKind::InvalidParameterException.
Returns true if the error kind is StartLabelDetectionErrorKind::InvalidS3ObjectException.
Returns true if the error kind is StartLabelDetectionErrorKind::LimitExceededException.
Returns true if the error kind is StartLabelDetectionErrorKind::ProvisionedThroughputExceededException.
Returns true if the error kind is StartLabelDetectionErrorKind::ThrottlingException.
Returns true if the error kind is StartLabelDetectionErrorKind::VideoTooLargeException.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for StartLabelDetectionError
impl Send for StartLabelDetectionError
impl Sync for StartLabelDetectionError
impl Unpin for StartLabelDetectionError
impl !UnwindSafe for StartLabelDetectionError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more