Struct aws_sdk_ec2::input::ImportKeyPairInput
source · #[non_exhaustive]pub struct ImportKeyPairInput { /* private fields */ }
Implementations§
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
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ImportKeyPairInput
.
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.
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 ==
.