#[non_exhaustive]pub struct SendSshPublicKeyInput {
pub instance_id: Option<String>,
pub instance_os_user: Option<String>,
pub ssh_public_key: Option<String>,
pub availability_zone: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_id: Option<String>
The ID of the EC2 instance.
instance_os_user: Option<String>
The OS user on the EC2 instance for whom the key can be used to authenticate.
ssh_public_key: Option<String>
The public key material. To use the public key, you must have the matching private key.
availability_zone: Option<String>
The Availability Zone in which the EC2 instance was launched.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SendSSHPublicKey, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SendSSHPublicKey, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SendSSHPublicKey
>
Creates a new builder-style object to manufacture SendSshPublicKeyInput
The ID of the EC2 instance.
The OS user on the EC2 instance for whom the key can be used to authenticate.
The public key material. To use the public key, you must have the matching private key.
The Availability Zone in which the EC2 instance was launched.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SendSshPublicKeyInput
impl Send for SendSshPublicKeyInput
impl Sync for SendSshPublicKeyInput
impl Unpin for SendSshPublicKeyInput
impl UnwindSafe for SendSshPublicKeyInput
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