pub enum AddLayerVersionPermissionError {
InvalidParameterValue(String),
PolicyLengthExceeded(String),
PreconditionFailed(String),
ResourceConflict(String),
ResourceNotFound(String),
Service(String),
TooManyRequests(String),
}
Expand description
Errors returned by AddLayerVersionPermission
Variants§
InvalidParameterValue(String)
One of the parameters in the request is invalid.
PolicyLengthExceeded(String)
The permissions policy for the resource is too large. Learn more
PreconditionFailed(String)
The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction
or the GetAlias
API to retrieve the latest RevisionId for your resource.
ResourceConflict(String)
The resource already exists, or another operation is in progress.
ResourceNotFound(String)
The resource specified in the request does not exist.
Service(String)
The AWS Lambda service encountered an internal error.
TooManyRequests(String)
The request throughput limit was exceeded.
Implementations§
Trait Implementations§
Source§impl Error for AddLayerVersionPermissionError
impl Error for AddLayerVersionPermissionError
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 AddLayerVersionPermissionError
impl PartialEq for AddLayerVersionPermissionError
Source§fn eq(&self, other: &AddLayerVersionPermissionError) -> bool
fn eq(&self, other: &AddLayerVersionPermissionError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AddLayerVersionPermissionError
Auto Trait Implementations§
impl Freeze for AddLayerVersionPermissionError
impl RefUnwindSafe for AddLayerVersionPermissionError
impl Send for AddLayerVersionPermissionError
impl Sync for AddLayerVersionPermissionError
impl Unpin for AddLayerVersionPermissionError
impl UnwindSafe for AddLayerVersionPermissionError
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