#[non_exhaustive]pub struct SendSerialConsoleSshPublicKeyInput {
pub instance_id: Option<String>,
pub serial_port: i32,
pub ssh_public_key: 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.
serial_port: i32
The serial port of the EC2 instance. Currently only port 0 is supported.
Default: 0
ssh_public_key: Option<String>
The public key material. To use the public key, you must have the matching private key. For information about the supported key formats and lengths, see Requirements for key pairs in the Amazon EC2 User Guide.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SendSerialConsoleSSHPublicKey, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SendSerialConsoleSSHPublicKey, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SendSerialConsoleSSHPublicKey
>
Creates a new builder-style object to manufacture SendSerialConsoleSshPublicKeyInput
The ID of the EC2 instance.
The serial port of the EC2 instance. Currently only port 0 is supported.
Default: 0
The public key material. To use the public key, you must have the matching private key. For information about the supported key formats and lengths, see Requirements for key pairs in the Amazon EC2 User Guide.
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 Send for SendSerialConsoleSshPublicKeyInput
impl Sync for SendSerialConsoleSshPublicKeyInput
impl Unpin for SendSerialConsoleSshPublicKeyInput
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