pub struct ImportKeyPairRequest {
pub dry_run: Option<bool>,
pub key_name: String,
pub public_key_material: Bytes,
pub tag_specifications: Option<Vec<TagSpecification>>,
}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: StringA unique name for the key pair.
public_key_material: BytesThe public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.
tag_specifications: Option<Vec<TagSpecification>>The tags to apply to the imported key pair.
Trait Implementations§
Source§impl Clone for ImportKeyPairRequest
impl Clone for ImportKeyPairRequest
Source§fn clone(&self) -> ImportKeyPairRequest
fn clone(&self) -> ImportKeyPairRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImportKeyPairRequest
impl Debug for ImportKeyPairRequest
Source§impl Default for ImportKeyPairRequest
impl Default for ImportKeyPairRequest
Source§fn default() -> ImportKeyPairRequest
fn default() -> ImportKeyPairRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for ImportKeyPairRequest
impl PartialEq for ImportKeyPairRequest
impl StructuralPartialEq for ImportKeyPairRequest
Auto Trait Implementations§
impl !Freeze for ImportKeyPairRequest
impl RefUnwindSafe for ImportKeyPairRequest
impl Send for ImportKeyPairRequest
impl Sync for ImportKeyPairRequest
impl Unpin for ImportKeyPairRequest
impl UnwindSafe for ImportKeyPairRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more