Struct aws_sdk_iam::input::GetSshPublicKeyInput [−][src]
#[non_exhaustive]pub struct GetSshPublicKeyInput {
pub user_name: Option<String>,
pub ssh_public_key_id: Option<String>,
pub encoding: Option<EncodingType>,
}
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.user_name: Option<String>
The name of the IAM user associated with the SSH public key.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
ssh_public_key_id: Option<String>
The unique identifier for the SSH public key.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
encoding: Option<EncodingType>
Specifies the public key encoding format to use in the response. To retrieve the
public key in ssh-rsa format, use SSH
. To retrieve the public key in PEM
format, use PEM
.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetSSHPublicKey, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetSSHPublicKey, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetSSHPublicKey
>
Creates a new builder-style object to manufacture GetSshPublicKeyInput
The name of the IAM user associated with the SSH public key.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
The unique identifier for the SSH public key.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
Specifies the public key encoding format to use in the response. To retrieve the
public key in ssh-rsa format, use SSH
. To retrieve the public key in PEM
format, use PEM
.
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 GetSshPublicKeyInput
impl Send for GetSshPublicKeyInput
impl Sync for GetSshPublicKeyInput
impl Unpin for GetSshPublicKeyInput
impl UnwindSafe for GetSshPublicKeyInput
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