#[non_exhaustive]pub struct TestInvokeAuthorizerOutput {
pub is_authenticated: Option<bool>,
pub principal_id: Option<String>,
pub policy_documents: Option<Vec<String>>,
pub refresh_after_in_seconds: Option<i32>,
pub disconnect_after_in_seconds: Option<i32>,
/* private fields */
}
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.is_authenticated: Option<bool>
True if the token is authenticated, otherwise false.
principal_id: Option<String>
The principal ID.
policy_documents: Option<Vec<String>>
IAM policy documents.
refresh_after_in_seconds: Option<i32>
The number of seconds after which the temporary credentials are refreshed.
disconnect_after_in_seconds: Option<i32>
The number of seconds after which the connection is terminated.
Implementations§
source§impl TestInvokeAuthorizerOutput
impl TestInvokeAuthorizerOutput
sourcepub fn is_authenticated(&self) -> Option<bool>
pub fn is_authenticated(&self) -> Option<bool>
True if the token is authenticated, otherwise false.
sourcepub fn principal_id(&self) -> Option<&str>
pub fn principal_id(&self) -> Option<&str>
The principal ID.
sourcepub fn policy_documents(&self) -> &[String]
pub fn policy_documents(&self) -> &[String]
IAM policy documents.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .policy_documents.is_none()
.
sourcepub fn refresh_after_in_seconds(&self) -> Option<i32>
pub fn refresh_after_in_seconds(&self) -> Option<i32>
The number of seconds after which the temporary credentials are refreshed.
sourcepub fn disconnect_after_in_seconds(&self) -> Option<i32>
pub fn disconnect_after_in_seconds(&self) -> Option<i32>
The number of seconds after which the connection is terminated.
source§impl TestInvokeAuthorizerOutput
impl TestInvokeAuthorizerOutput
sourcepub fn builder() -> TestInvokeAuthorizerOutputBuilder
pub fn builder() -> TestInvokeAuthorizerOutputBuilder
Creates a new builder-style object to manufacture TestInvokeAuthorizerOutput
.
Trait Implementations§
source§impl Clone for TestInvokeAuthorizerOutput
impl Clone for TestInvokeAuthorizerOutput
source§fn clone(&self) -> TestInvokeAuthorizerOutput
fn clone(&self) -> TestInvokeAuthorizerOutput
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 TestInvokeAuthorizerOutput
impl Debug for TestInvokeAuthorizerOutput
source§impl PartialEq for TestInvokeAuthorizerOutput
impl PartialEq for TestInvokeAuthorizerOutput
source§fn eq(&self, other: &TestInvokeAuthorizerOutput) -> bool
fn eq(&self, other: &TestInvokeAuthorizerOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for TestInvokeAuthorizerOutput
impl RequestId for TestInvokeAuthorizerOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for TestInvokeAuthorizerOutput
Auto Trait Implementations§
impl Freeze for TestInvokeAuthorizerOutput
impl RefUnwindSafe for TestInvokeAuthorizerOutput
impl Send for TestInvokeAuthorizerOutput
impl Sync for TestInvokeAuthorizerOutput
impl Unpin for TestInvokeAuthorizerOutput
impl UnwindSafe for TestInvokeAuthorizerOutput
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.