pub enum CreateAccessPointError {
AccessPointAlreadyExists(String),
AccessPointLimitExceeded(String),
BadRequest(String),
FileSystemNotFound(String),
IncorrectFileSystemLifeCycleState(String),
InternalServerError(String),
}Expand description
Errors returned by CreateAccessPoint
Variants§
AccessPointAlreadyExists(String)
Returned if the access point you are trying to create already exists, with the creation token you provided in the request.
AccessPointLimitExceeded(String)
Returned if the AWS account has already created the maximum number of access points allowed per file system.
BadRequest(String)
Returned if the request is malformed or contains an error such as an invalid parameter value or a missing required parameter.
FileSystemNotFound(String)
Returned if the specified FileSystemId value doesn't exist in the requester's AWS account.
IncorrectFileSystemLifeCycleState(String)
Returned if the file system's lifecycle state is not "available".
InternalServerError(String)
Returned if an error occurred on the server side.
Implementations§
Source§impl CreateAccessPointError
impl CreateAccessPointError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateAccessPointError>
Trait Implementations§
Source§impl Debug for CreateAccessPointError
impl Debug for CreateAccessPointError
Source§impl Display for CreateAccessPointError
impl Display for CreateAccessPointError
Source§impl Error for CreateAccessPointError
impl Error for CreateAccessPointError
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 CreateAccessPointError
impl PartialEq for CreateAccessPointError
impl StructuralPartialEq for CreateAccessPointError
Auto Trait Implementations§
impl Freeze for CreateAccessPointError
impl RefUnwindSafe for CreateAccessPointError
impl Send for CreateAccessPointError
impl Sync for CreateAccessPointError
impl Unpin for CreateAccessPointError
impl UnwindSafe for CreateAccessPointError
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