Struct aws_sdk_iot::input::UpdateAuthorizerInput
source · [−]#[non_exhaustive]pub struct UpdateAuthorizerInput {
pub authorizer_name: 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 enable_caching_for_http: Option<bool>,
}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 ARN of the authorizer's Lambda function.
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 verify the token signature.
status: Option<AuthorizerStatus>The status of the update authorizer 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 UpdateAuthorizerInput
impl UpdateAuthorizerInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateAuthorizer, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateAuthorizer, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateAuthorizer>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateAuthorizerInput
sourceimpl UpdateAuthorizerInput
impl UpdateAuthorizerInput
The authorizer name.
The ARN of the authorizer's Lambda function.
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 verify the token signature.
sourcepub fn status(&self) -> Option<&AuthorizerStatus>
pub fn status(&self) -> Option<&AuthorizerStatus>
The status of the update authorizer 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.
Trait Implementations
sourceimpl Clone for UpdateAuthorizerInput
impl Clone for UpdateAuthorizerInput
sourcefn clone(&self) -> UpdateAuthorizerInput
fn clone(&self) -> UpdateAuthorizerInput
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 UpdateAuthorizerInput
impl Debug for UpdateAuthorizerInput
sourceimpl PartialEq<UpdateAuthorizerInput> for UpdateAuthorizerInput
impl PartialEq<UpdateAuthorizerInput> for UpdateAuthorizerInput
sourcefn eq(&self, other: &UpdateAuthorizerInput) -> bool
fn eq(&self, other: &UpdateAuthorizerInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UpdateAuthorizerInput) -> bool
fn ne(&self, other: &UpdateAuthorizerInput) -> bool
This method tests for !=.
impl StructuralPartialEq for UpdateAuthorizerInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateAuthorizerInput
impl Send for UpdateAuthorizerInput
impl Sync for UpdateAuthorizerInput
impl Unpin for UpdateAuthorizerInput
impl UnwindSafe for UpdateAuthorizerInput
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