Struct aws_sdk_iot::input::TestInvokeAuthorizerInput
source · [−]#[non_exhaustive]pub struct TestInvokeAuthorizerInput {
pub authorizer_name: Option<String>,
pub token: Option<String>,
pub token_signature: Option<String>,
pub http_context: Option<HttpContext>,
pub mqtt_context: Option<MqttContext>,
pub tls_context: Option<TlsContext>,
}
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 custom authorizer name.
token: Option<String>
The token returned by your custom authentication service.
token_signature: Option<String>
The signature made with the token and your custom authentication service's private key. This value must be Base-64-encoded.
http_context: Option<HttpContext>
Specifies a test HTTP authorization request.
mqtt_context: Option<MqttContext>
Specifies a test MQTT authorization request.
tls_context: Option<TlsContext>
Specifies a test TLS authorization request.
Implementations
sourceimpl TestInvokeAuthorizerInput
impl TestInvokeAuthorizerInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<TestInvokeAuthorizer, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<TestInvokeAuthorizer, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<TestInvokeAuthorizer
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TestInvokeAuthorizerInput
sourceimpl TestInvokeAuthorizerInput
impl TestInvokeAuthorizerInput
The custom authorizer name.
sourcepub fn token_signature(&self) -> Option<&str>
pub fn token_signature(&self) -> Option<&str>
The signature made with the token and your custom authentication service's private key. This value must be Base-64-encoded.
sourcepub fn http_context(&self) -> Option<&HttpContext>
pub fn http_context(&self) -> Option<&HttpContext>
Specifies a test HTTP authorization request.
sourcepub fn mqtt_context(&self) -> Option<&MqttContext>
pub fn mqtt_context(&self) -> Option<&MqttContext>
Specifies a test MQTT authorization request.
sourcepub fn tls_context(&self) -> Option<&TlsContext>
pub fn tls_context(&self) -> Option<&TlsContext>
Specifies a test TLS authorization request.
Trait Implementations
sourceimpl Clone for TestInvokeAuthorizerInput
impl Clone for TestInvokeAuthorizerInput
sourcefn clone(&self) -> TestInvokeAuthorizerInput
fn clone(&self) -> TestInvokeAuthorizerInput
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 TestInvokeAuthorizerInput
impl Debug for TestInvokeAuthorizerInput
sourceimpl PartialEq<TestInvokeAuthorizerInput> for TestInvokeAuthorizerInput
impl PartialEq<TestInvokeAuthorizerInput> for TestInvokeAuthorizerInput
sourcefn eq(&self, other: &TestInvokeAuthorizerInput) -> bool
fn eq(&self, other: &TestInvokeAuthorizerInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TestInvokeAuthorizerInput) -> bool
fn ne(&self, other: &TestInvokeAuthorizerInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for TestInvokeAuthorizerInput
Auto Trait Implementations
impl RefUnwindSafe for TestInvokeAuthorizerInput
impl Send for TestInvokeAuthorizerInput
impl Sync for TestInvokeAuthorizerInput
impl Unpin for TestInvokeAuthorizerInput
impl UnwindSafe for TestInvokeAuthorizerInput
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