aws_smithy_runtime::client::orchestrator

Function invoke

source
pub async fn invoke(
    service_name: &str,
    operation_name: &str,
    input: Input,
    runtime_plugins: &RuntimePlugins,
) -> Result<Output, SdkError<Error, HttpResponse>>
Available on crate feature client only.
Expand description

Orchestrates the execution of a request and handling of a response.

The given runtime_plugins will be used to generate a ConfigBag for this request, and then the given input will be serialized and transmitted. When a response is received, it will be deserialized and returned.

This orchestration handles retries, endpoint resolution, identity resolution, and signing. Each of these are configurable via the config and runtime components given by the runtime plugins.