pub enum GetSessionTokenError {
RegionDisabled(String),
}Expand description
Errors returned by GetSessionToken
Variants§
RegionDisabled(String)
STS is not activated in the requested region for the account that is being asked to generate credentials. The account administrator must use the IAM console to activate STS in that region. For more information, see Activating and Deactivating AWS STS in an AWS Region in the IAM User Guide.
Implementations§
Source§impl GetSessionTokenError
impl GetSessionTokenError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetSessionTokenError>
Trait Implementations§
Source§impl Debug for GetSessionTokenError
impl Debug for GetSessionTokenError
Source§impl Display for GetSessionTokenError
impl Display for GetSessionTokenError
Source§impl Error for GetSessionTokenError
impl Error for GetSessionTokenError
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 GetSessionTokenError
impl PartialEq for GetSessionTokenError
impl StructuralPartialEq for GetSessionTokenError
Auto Trait Implementations§
impl Freeze for GetSessionTokenError
impl RefUnwindSafe for GetSessionTokenError
impl Send for GetSessionTokenError
impl Sync for GetSessionTokenError
impl Unpin for GetSessionTokenError
impl UnwindSafe for GetSessionTokenError
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