Function aws_smithy_runtime::client::orchestrator::invoke_with_stop_point
source · pub async fn invoke_with_stop_point(
service_name: &str,
operation_name: &str,
input: Input,
runtime_plugins: &RuntimePlugins,
stop_point: StopPoint,
) -> Result<InterceptorContext, SdkError<Error, HttpResponse>>
Available on crate feature
client
only.Expand description
Same as invoke
, but allows for returning early at different points during orchestration.
Orchestration will cease at the point specified by stop_point
. This is useful for orchestrations
that don’t need to actually transmit requests, such as for generating presigned requests.
See the docs on invoke
for more details.