Struct aws_sdk_iot::model::AuthorizerDescription
source · [−]#[non_exhaustive]pub struct AuthorizerDescription {
pub authorizer_name: Option<String>,
pub authorizer_arn: Option<String>,
pub authorizer_function_arn: Option<String>,
pub token_key_name: Option<String>,
pub token_signing_public_keys: Option<HashMap<String, String>>,
pub status: Option<AuthorizerStatus>,
pub creation_date: Option<DateTime>,
pub last_modified_date: Option<DateTime>,
pub signing_disabled: Option<bool>,
pub enable_caching_for_http: Option<bool>,
}
Expand description
The authorizer description.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.The authorizer name.
The authorizer ARN.
The authorizer's Lambda function ARN.
token_key_name: Option<String>
The key used to extract the token from the HTTP headers.
token_signing_public_keys: Option<HashMap<String, String>>
The public keys used to validate the token signature returned by your custom authentication service.
status: Option<AuthorizerStatus>
The status of the authorizer.
creation_date: Option<DateTime>
The UNIX timestamp of when the authorizer was created.
last_modified_date: Option<DateTime>
The UNIX timestamp of when the authorizer was last updated.
signing_disabled: Option<bool>
Specifies whether IoT validates the token signature in an authorization request.
enable_caching_for_http: Option<bool>
When true
, the result from the authorizer’s Lambda function is cached for the time specified in refreshAfterInSeconds
. The cached result is used while the device reuses the same HTTP connection.
Implementations
sourceimpl AuthorizerDescription
impl AuthorizerDescription
The authorizer name.
The authorizer ARN.
The authorizer's Lambda function ARN.
sourcepub fn token_key_name(&self) -> Option<&str>
pub fn token_key_name(&self) -> Option<&str>
The key used to extract the token from the HTTP headers.
sourcepub fn token_signing_public_keys(&self) -> Option<&HashMap<String, String>>
pub fn token_signing_public_keys(&self) -> Option<&HashMap<String, String>>
The public keys used to validate the token signature returned by your custom authentication service.
sourcepub fn status(&self) -> Option<&AuthorizerStatus>
pub fn status(&self) -> Option<&AuthorizerStatus>
The status of the authorizer.
sourcepub fn creation_date(&self) -> Option<&DateTime>
pub fn creation_date(&self) -> Option<&DateTime>
The UNIX timestamp of when the authorizer was created.
sourcepub fn last_modified_date(&self) -> Option<&DateTime>
pub fn last_modified_date(&self) -> Option<&DateTime>
The UNIX timestamp of when the authorizer was last updated.
sourcepub fn signing_disabled(&self) -> Option<bool>
pub fn signing_disabled(&self) -> Option<bool>
Specifies whether IoT validates the token signature in an authorization request.
sourcepub fn enable_caching_for_http(&self) -> Option<bool>
pub fn enable_caching_for_http(&self) -> Option<bool>
When true
, the result from the authorizer’s Lambda function is cached for the time specified in refreshAfterInSeconds
. The cached result is used while the device reuses the same HTTP connection.
sourceimpl AuthorizerDescription
impl AuthorizerDescription
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AuthorizerDescription
Trait Implementations
sourceimpl Clone for AuthorizerDescription
impl Clone for AuthorizerDescription
sourcefn clone(&self) -> AuthorizerDescription
fn clone(&self) -> AuthorizerDescription
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AuthorizerDescription
impl Debug for AuthorizerDescription
sourceimpl PartialEq<AuthorizerDescription> for AuthorizerDescription
impl PartialEq<AuthorizerDescription> for AuthorizerDescription
sourcefn eq(&self, other: &AuthorizerDescription) -> bool
fn eq(&self, other: &AuthorizerDescription) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AuthorizerDescription) -> bool
fn ne(&self, other: &AuthorizerDescription) -> bool
This method tests for !=
.
impl StructuralPartialEq for AuthorizerDescription
Auto Trait Implementations
impl RefUnwindSafe for AuthorizerDescription
impl Send for AuthorizerDescription
impl Sync for AuthorizerDescription
impl Unpin for AuthorizerDescription
impl UnwindSafe for AuthorizerDescription
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more