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

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.

A unique name for the key pair.

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]

Returns the "default value" for a type. Read more

impl Debug for ImportKeyPairRequest
[src]

Formats the value using the given formatter.

impl Clone for ImportKeyPairRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more