Struct aws_sdk_transfer::client::fluent_builders::ImportSshPublicKey [−][src]
pub struct ImportSshPublicKey<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to ImportSshPublicKey.
Adds a Secure Shell (SSH) public key to a user account identified by a UserName value assigned to the specific file transfer protocol-enabled server, identified by ServerId.
The response returns the UserName value, the ServerId value, and the name of the SshPublicKeyId.
Implementations
impl<C, M, R> ImportSshPublicKey<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ImportSshPublicKey<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ImportSshPublicKeyOutput, SdkError<ImportSshPublicKeyError>> where
R::Policy: SmithyRetryPolicy<ImportSshPublicKeyInputOperationOutputAlias, ImportSshPublicKeyOutput, ImportSshPublicKeyError, ImportSshPublicKeyInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ImportSshPublicKeyOutput, SdkError<ImportSshPublicKeyError>> where
R::Policy: SmithyRetryPolicy<ImportSshPublicKeyInputOperationOutputAlias, ImportSshPublicKeyOutput, ImportSshPublicKeyError, ImportSshPublicKeyInputOperationRetryAlias>,
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.
A system-assigned unique identifier for a server.
A system-assigned unique identifier for a server.
The public key portion of an SSH key pair.
The public key portion of an SSH key pair.
The name of the user account that is assigned to one or more servers.
The name of the user account that is assigned to one or more servers.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ImportSshPublicKey<C, M, R>
impl<C, M, R> Send for ImportSshPublicKey<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ImportSshPublicKey<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ImportSshPublicKey<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ImportSshPublicKey<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
