pub enum AwsProtocol {
Query,
Json,
Rest,
}Expand description
The wire protocol used by an AWS service.
Variants§
Query
Query protocol: form-encoded body, Action param, XML response. Used by: SQS, SNS, IAM, STS, SES.
Json
JSON protocol: JSON body, X-Amz-Target header, JSON response. Used by: SSM, EventBridge, DynamoDB, SecretsManager, KMS, CloudWatch Logs.
Rest
REST protocol: HTTP method + path-based routing, XML responses. Used by: S3, API Gateway, Route53.
Trait Implementations§
Source§impl Clone for AwsProtocol
impl Clone for AwsProtocol
Source§fn clone(&self) -> AwsProtocol
fn clone(&self) -> AwsProtocol
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AwsProtocol
impl Debug for AwsProtocol
Source§impl PartialEq for AwsProtocol
impl PartialEq for AwsProtocol
impl Copy for AwsProtocol
impl Eq for AwsProtocol
impl StructuralPartialEq for AwsProtocol
Auto Trait Implementations§
impl Freeze for AwsProtocol
impl RefUnwindSafe for AwsProtocol
impl Send for AwsProtocol
impl Sync for AwsProtocol
impl Unpin for AwsProtocol
impl UnsafeUnpin for AwsProtocol
impl UnwindSafe for AwsProtocol
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.