pub enum CreateInvalidationError {
AccessDenied(String),
BatchTooLarge(String),
InconsistentQuantities(String),
InvalidArgument(String),
MissingBody(String),
NoSuchDistribution(String),
TooManyInvalidationsInProgress(String),
}
Expand description
Errors returned by CreateInvalidation
Variants§
AccessDenied(String)
Access denied.
BatchTooLarge(String)
Invalidation batch specified is too large.
InconsistentQuantities(String)
The value of Quantity
and the size of Items
don't match.
InvalidArgument(String)
An argument is invalid.
MissingBody(String)
This operation requires a body. Ensure that the body is present and the Content-Type
header is set.
NoSuchDistribution(String)
The specified distribution does not exist.
TooManyInvalidationsInProgress(String)
You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.
Implementations§
Source§impl CreateInvalidationError
impl CreateInvalidationError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateInvalidationError>
Trait Implementations§
Source§impl Debug for CreateInvalidationError
impl Debug for CreateInvalidationError
Source§impl Display for CreateInvalidationError
impl Display for CreateInvalidationError
Source§impl Error for CreateInvalidationError
impl Error for CreateInvalidationError
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 CreateInvalidationError
impl PartialEq for CreateInvalidationError
impl StructuralPartialEq for CreateInvalidationError
Auto Trait Implementations§
impl Freeze for CreateInvalidationError
impl RefUnwindSafe for CreateInvalidationError
impl Send for CreateInvalidationError
impl Sync for CreateInvalidationError
impl Unpin for CreateInvalidationError
impl UnwindSafe for CreateInvalidationError
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