Struct rusoto_ec2::ImportKeyPairRequest
[−]
[src]
pub struct ImportKeyPairRequest { pub dry_run: Option<bool>, pub key_name: String, pub public_key_material: Vec<u8>, }
Contains the parameters for ImportKeyPair.
Fields
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
key_name: String
A unique name for the key pair.
public_key_material: Vec<u8>
The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.
Trait Implementations
impl Default for ImportKeyPairRequest
[src]
fn default() -> ImportKeyPairRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for ImportKeyPairRequest
[src]
impl Clone for ImportKeyPairRequest
[src]
fn clone(&self) -> ImportKeyPairRequest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more