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]
impl Default for ImportKeyPairRequest
fn default() -> ImportKeyPairRequest
[src]
fn default() -> ImportKeyPairRequest
Returns the "default value" for a type. Read more
impl Debug for ImportKeyPairRequest
[src]
impl Debug for ImportKeyPairRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ImportKeyPairRequest
[src]
impl Clone for ImportKeyPairRequest
fn clone(&self) -> ImportKeyPairRequest
[src]
fn clone(&self) -> ImportKeyPairRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for ImportKeyPairRequest
[src]
impl PartialEq for ImportKeyPairRequest
fn eq(&self, other: &ImportKeyPairRequest) -> bool
[src]
fn eq(&self, other: &ImportKeyPairRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ImportKeyPairRequest) -> bool
[src]
fn ne(&self, other: &ImportKeyPairRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ImportKeyPairRequest
impl Send for ImportKeyPairRequest
impl Sync for ImportKeyPairRequest
impl Sync for ImportKeyPairRequest