Struct aws_sdk_ec2::input::ImportKeyPairInput
source · [−]#[non_exhaustive]pub struct ImportKeyPairInput { /* private fields */ }
Implementations
sourceimpl 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
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ImportKeyPairInput
.
sourceimpl 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.
Trait Implementations
sourceimpl Clone for ImportKeyPairInput
impl Clone for ImportKeyPairInput
sourcefn clone(&self) -> ImportKeyPairInput
fn clone(&self) -> ImportKeyPairInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ImportKeyPairInput
impl Debug for ImportKeyPairInput
sourceimpl PartialEq<ImportKeyPairInput> for ImportKeyPairInput
impl PartialEq<ImportKeyPairInput> for ImportKeyPairInput
sourcefn eq(&self, other: &ImportKeyPairInput) -> bool
fn eq(&self, other: &ImportKeyPairInput) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more