pub enum Authorization {
None,
AwsSigV4Secret(AwsSigV4Secret),
Federated(IamRole),
}Expand description
Authorization strategy for an HTTP request.
Variants§
None
No special authorization. You can still include an Authorization header manually.
AwsSigV4Secret(AwsSigV4Secret)
Sign the request with AWS SigV4 using explicit credentials.
Federated(IamRole)
Federate into an IAM role for the request.
Auto Trait Implementations§
impl Freeze for Authorization
impl RefUnwindSafe for Authorization
impl Send for Authorization
impl Sync for Authorization
impl Unpin for Authorization
impl UnsafeUnpin for Authorization
impl UnwindSafe for Authorization
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