pub struct AwsRequest {Show 13 fields
pub service: String,
pub action: String,
pub region: String,
pub account_id: String,
pub request_id: String,
pub headers: HeaderMap,
pub query_params: HashMap<String, String>,
pub body: Bytes,
pub path_segments: Vec<String>,
pub raw_path: String,
pub method: Method,
pub is_query_protocol: bool,
pub access_key_id: Option<String>,
}Expand description
A parsed AWS request.
Fields§
§service: String§action: String§region: String§account_id: String§request_id: String§headers: HeaderMap§query_params: HashMap<String, String>§body: Bytes§path_segments: Vec<String>§raw_path: StringThe raw URI path, before splitting into segments.
method: Method§is_query_protocol: boolWhether this request came via Query (form-encoded) or JSON protocol.
access_key_id: Option<String>The access key ID from the SigV4 Authorization header, if present.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for AwsRequest
impl RefUnwindSafe for AwsRequest
impl Send for AwsRequest
impl Sync for AwsRequest
impl Unpin for AwsRequest
impl UnsafeUnpin for AwsRequest
impl UnwindSafe for AwsRequest
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