Struct aws_sdk_iot::client::fluent_builders::TestInvokeAuthorizer [−][src]
pub struct TestInvokeAuthorizer<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to TestInvokeAuthorizer
.
Tests a custom authorization behavior by invoking a specified custom authorizer. Use this to test and debug the custom authorization behavior of devices that connect to the IoT device gateway.
Requires permission to access the TestInvokeAuthorizer action.
Implementations
impl<C, M, R> TestInvokeAuthorizer<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> TestInvokeAuthorizer<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<TestInvokeAuthorizerOutput, SdkError<TestInvokeAuthorizerError>> where
R::Policy: SmithyRetryPolicy<TestInvokeAuthorizerInputOperationOutputAlias, TestInvokeAuthorizerOutput, TestInvokeAuthorizerError, TestInvokeAuthorizerInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<TestInvokeAuthorizerOutput, SdkError<TestInvokeAuthorizerError>> where
R::Policy: SmithyRetryPolicy<TestInvokeAuthorizerInputOperationOutputAlias, TestInvokeAuthorizerOutput, TestInvokeAuthorizerError, TestInvokeAuthorizerInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The custom authorizer name.
The custom authorizer name.
The token returned by your custom authentication service.
The token returned by your custom authentication service.
The signature made with the token and your custom authentication service's private key. This value must be Base-64-encoded.
The signature made with the token and your custom authentication service's private key. This value must be Base-64-encoded.
Specifies a test HTTP authorization request.
Specifies a test HTTP authorization request.
Specifies a test MQTT authorization request.
Specifies a test MQTT authorization request.
Specifies a test TLS authorization request.
Specifies a test TLS authorization request.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for TestInvokeAuthorizer<C, M, R>
impl<C, M, R> Send for TestInvokeAuthorizer<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for TestInvokeAuthorizer<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for TestInvokeAuthorizer<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for TestInvokeAuthorizer<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more