pub enum UpdateServerError {
AccessDenied(String),
Conflict(String),
InternalServiceError(String),
InvalidRequest(String),
ResourceExists(String),
ResourceNotFound(String),
ServiceUnavailable(String),
Throttling(String),
}Expand description
Errors returned by UpdateServer
Variants§
AccessDenied(String)
You do not have sufficient access to perform this action.
Conflict(String)
This exception is thrown when the UpdatServer is called for a file transfer protocol-enabled server that has VPC as the endpoint type and the server's VpcEndpointID is not in the available state.
InternalServiceError(String)
This exception is thrown when an error occurs in the AWS Transfer Family service.
InvalidRequest(String)
This exception is thrown when the client submits a malformed request.
ResourceExists(String)
The requested resource does not exist.
ResourceNotFound(String)
This exception is thrown when a resource is not found by the AWS Transfer Family service.
The request has failed because the AWS Transfer Family service is not available.
Throttling(String)
The request was denied due to request throttling.
HTTP Status Code: 400
Implementations§
Source§impl UpdateServerError
impl UpdateServerError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<UpdateServerError>
Trait Implementations§
Source§impl Debug for UpdateServerError
impl Debug for UpdateServerError
Source§impl Display for UpdateServerError
impl Display for UpdateServerError
Source§impl Error for UpdateServerError
impl Error for UpdateServerError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for UpdateServerError
impl PartialEq for UpdateServerError
impl StructuralPartialEq for UpdateServerError
Auto Trait Implementations§
impl Freeze for UpdateServerError
impl RefUnwindSafe for UpdateServerError
impl Send for UpdateServerError
impl Sync for UpdateServerError
impl Unpin for UpdateServerError
impl UnwindSafe for UpdateServerError
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
Mutably borrows from an owned value. Read more