pub struct CreateKeyPairRequest {
pub dry_run: Option<bool>,
pub key_name: String,
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: String
A unique name for the key pair.
Constraints: Up to 255 ASCII characters
tag_specifications: Option<Vec<TagSpecification>>
The tags to apply to the new key pair.
Trait Implementations§
Source§impl Clone for CreateKeyPairRequest
impl Clone for CreateKeyPairRequest
Source§fn clone(&self) -> CreateKeyPairRequest
fn clone(&self) -> CreateKeyPairRequest
Returns a copy 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 CreateKeyPairRequest
impl Debug for CreateKeyPairRequest
Source§impl Default for CreateKeyPairRequest
impl Default for CreateKeyPairRequest
Source§fn default() -> CreateKeyPairRequest
fn default() -> CreateKeyPairRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateKeyPairRequest
impl PartialEq for CreateKeyPairRequest
impl StructuralPartialEq for CreateKeyPairRequest
Auto Trait Implementations§
impl Freeze for CreateKeyPairRequest
impl RefUnwindSafe for CreateKeyPairRequest
impl Send for CreateKeyPairRequest
impl Sync for CreateKeyPairRequest
impl Unpin for CreateKeyPairRequest
impl UnwindSafe for CreateKeyPairRequest
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