aws-s3-transfer 1.0.0

Transfer Manager for Amazon S3 - a high-performance data plane client for uploading and downloading objects and directories.
Documentation
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0
 */

//! Version-coupled integrations with managed execution.
//!
//! Available with the non-default `__unstable_ext` feature. This module's contract
//! is experimental and may change independently of the ordinary transfer
//! manager API. Use an adapter release constrained to the supported transfer
//! manager and execution versions.

/// Transfers an existing managed runtime into transfer-manager configuration.
///
/// The runtime retains its topology, partition identities, CPU bindings,
/// thread names, and instrumentation. Client construction takes this owner
/// into managed execution. Dropping an unused managed value or configuration
/// requests runtime shutdown; execution handles do not retain shutdown ownership.
///
/// Configure any Dial9 recorder on the runtime builder before construction.
///
/// The transfer manager continues to preserve HTTP configured through the
/// SDK or S3 configuration. With no configured HTTP it builds its default
/// transport against the adopted runtime's partitions.
pub fn managed(runtime: aws_smithy_execution::ManagedRuntime) -> crate::config::Managed {
    crate::config::Managed::from_runtime(runtime)
}