Struct aws_sdk_iot::operation::test_invoke_authorizer::builders::TestInvokeAuthorizerInputBuilder
source · #[non_exhaustive]pub struct TestInvokeAuthorizerInputBuilder { /* private fields */ }
Expand description
A builder for TestInvokeAuthorizerInput
.
Implementations§
source§impl TestInvokeAuthorizerInputBuilder
impl TestInvokeAuthorizerInputBuilder
The custom authorizer name.
This field is required.The custom authorizer name.
The custom authorizer name.
sourcepub fn token(self, input: impl Into<String>) -> Self
pub fn token(self, input: impl Into<String>) -> Self
The token returned by your custom authentication service.
sourcepub fn set_token(self, input: Option<String>) -> Self
pub fn set_token(self, input: Option<String>) -> Self
The token returned by your custom authentication service.
sourcepub fn get_token(&self) -> &Option<String>
pub fn get_token(&self) -> &Option<String>
The token returned by your custom authentication service.
sourcepub fn token_signature(self, input: impl Into<String>) -> Self
pub fn token_signature(self, input: impl Into<String>) -> Self
The signature made with the token and your custom authentication service's private key. This value must be Base-64-encoded.
sourcepub fn set_token_signature(self, input: Option<String>) -> Self
pub fn set_token_signature(self, input: Option<String>) -> Self
The signature made with the token and your custom authentication service's private key. This value must be Base-64-encoded.
sourcepub fn get_token_signature(&self) -> &Option<String>
pub fn get_token_signature(&self) -> &Option<String>
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, input: HttpContext) -> Self
pub fn http_context(self, input: HttpContext) -> Self
Specifies a test HTTP authorization request.
sourcepub fn set_http_context(self, input: Option<HttpContext>) -> Self
pub fn set_http_context(self, input: Option<HttpContext>) -> Self
Specifies a test HTTP authorization request.
sourcepub fn get_http_context(&self) -> &Option<HttpContext>
pub fn get_http_context(&self) -> &Option<HttpContext>
Specifies a test HTTP authorization request.
sourcepub fn mqtt_context(self, input: MqttContext) -> Self
pub fn mqtt_context(self, input: MqttContext) -> Self
Specifies a test MQTT authorization request.
sourcepub fn set_mqtt_context(self, input: Option<MqttContext>) -> Self
pub fn set_mqtt_context(self, input: Option<MqttContext>) -> Self
Specifies a test MQTT authorization request.
sourcepub fn get_mqtt_context(&self) -> &Option<MqttContext>
pub fn get_mqtt_context(&self) -> &Option<MqttContext>
Specifies a test MQTT authorization request.
sourcepub fn tls_context(self, input: TlsContext) -> Self
pub fn tls_context(self, input: TlsContext) -> Self
Specifies a test TLS authorization request.
sourcepub fn set_tls_context(self, input: Option<TlsContext>) -> Self
pub fn set_tls_context(self, input: Option<TlsContext>) -> Self
Specifies a test TLS authorization request.
sourcepub fn get_tls_context(&self) -> &Option<TlsContext>
pub fn get_tls_context(&self) -> &Option<TlsContext>
Specifies a test TLS authorization request.
sourcepub fn build(self) -> Result<TestInvokeAuthorizerInput, BuildError>
pub fn build(self) -> Result<TestInvokeAuthorizerInput, BuildError>
Consumes the builder and constructs a TestInvokeAuthorizerInput
.
source§impl TestInvokeAuthorizerInputBuilder
impl TestInvokeAuthorizerInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<TestInvokeAuthorizerOutput, SdkError<TestInvokeAuthorizerError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<TestInvokeAuthorizerOutput, SdkError<TestInvokeAuthorizerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for TestInvokeAuthorizerInputBuilder
impl Clone for TestInvokeAuthorizerInputBuilder
source§fn clone(&self) -> TestInvokeAuthorizerInputBuilder
fn clone(&self) -> TestInvokeAuthorizerInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TestInvokeAuthorizerInputBuilder
impl Default for TestInvokeAuthorizerInputBuilder
source§fn default() -> TestInvokeAuthorizerInputBuilder
fn default() -> TestInvokeAuthorizerInputBuilder
source§impl PartialEq for TestInvokeAuthorizerInputBuilder
impl PartialEq for TestInvokeAuthorizerInputBuilder
source§fn eq(&self, other: &TestInvokeAuthorizerInputBuilder) -> bool
fn eq(&self, other: &TestInvokeAuthorizerInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.