Struct aws_sdk_iot::types::SigV4Authorization
source · #[non_exhaustive]pub struct SigV4Authorization {
pub signing_region: String,
pub service_name: String,
pub role_arn: String,
}
Expand description
For more information, see Signature Version 4 signing process.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.signing_region: String
The signing region.
service_name: String
The service name to use while signing with Sig V4.
role_arn: String
The ARN of the signing role.
Implementations§
source§impl SigV4Authorization
impl SigV4Authorization
sourcepub fn signing_region(&self) -> &str
pub fn signing_region(&self) -> &str
The signing region.
sourcepub fn service_name(&self) -> &str
pub fn service_name(&self) -> &str
The service name to use while signing with Sig V4.
source§impl SigV4Authorization
impl SigV4Authorization
sourcepub fn builder() -> SigV4AuthorizationBuilder
pub fn builder() -> SigV4AuthorizationBuilder
Creates a new builder-style object to manufacture SigV4Authorization
.
Trait Implementations§
source§impl Clone for SigV4Authorization
impl Clone for SigV4Authorization
source§fn clone(&self) -> SigV4Authorization
fn clone(&self) -> SigV4Authorization
Returns a copy 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 SigV4Authorization
impl Debug for SigV4Authorization
source§impl PartialEq for SigV4Authorization
impl PartialEq for SigV4Authorization
source§fn eq(&self, other: &SigV4Authorization) -> bool
fn eq(&self, other: &SigV4Authorization) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SigV4Authorization
Auto Trait Implementations§
impl Freeze for SigV4Authorization
impl RefUnwindSafe for SigV4Authorization
impl Send for SigV4Authorization
impl Sync for SigV4Authorization
impl Unpin for SigV4Authorization
impl UnwindSafe for SigV4Authorization
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.