Struct rusoto_ec2::CreateKeyPairRequest [−][src]
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
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateKeyPairRequest
impl Send for CreateKeyPairRequest
impl Sync for CreateKeyPairRequest
impl Unpin for CreateKeyPairRequest
impl UnwindSafe for CreateKeyPairRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self