Struct aws_sdk_ec2::operation::import_key_pair::ImportKeyPairInput
source · #[non_exhaustive]pub struct ImportKeyPairInput { /* private fields */ }
Implementations§
source§impl ImportKeyPairInput
impl ImportKeyPairInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> 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
.
sourcepub fn public_key_material(&self) -> Option<&Blob>
pub fn public_key_material(&self) -> Option<&Blob>
The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to apply to the imported key pair.
source§impl ImportKeyPairInput
impl ImportKeyPairInput
sourcepub fn builder() -> ImportKeyPairInputBuilder
pub fn builder() -> ImportKeyPairInputBuilder
Creates a new builder-style object to manufacture ImportKeyPairInput
.
source§impl ImportKeyPairInput
impl ImportKeyPairInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ImportKeyPair, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<ImportKeyPair, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ImportKeyPair
>
Trait Implementations§
source§impl Clone for ImportKeyPairInput
impl Clone for ImportKeyPairInput
source§fn clone(&self) -> ImportKeyPairInput
fn clone(&self) -> ImportKeyPairInput
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 ImportKeyPairInput
impl Debug for ImportKeyPairInput
source§impl PartialEq<ImportKeyPairInput> for ImportKeyPairInput
impl PartialEq<ImportKeyPairInput> for ImportKeyPairInput
source§fn eq(&self, other: &ImportKeyPairInput) -> bool
fn eq(&self, other: &ImportKeyPairInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImportKeyPairInput
Auto Trait Implementations§
impl RefUnwindSafe for ImportKeyPairInput
impl Send for ImportKeyPairInput
impl Sync for ImportKeyPairInput
impl Unpin for ImportKeyPairInput
impl UnwindSafe for ImportKeyPairInput
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