Struct aws_sdk_lightsail::input::CreateKeyPairInput [−][src]
#[non_exhaustive]pub struct CreateKeyPairInput {
pub key_pair_name: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.key_pair_name: Option<String>
The name for your new key pair.
The tag keys and optional values to add to the resource during create.
Use the TagResource
action to tag a resource after it's created.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateKeyPair, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateKeyPair, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateKeyPair
>
Creates a new builder-style object to manufacture CreateKeyPairInput
The name for your new key pair.
The tag keys and optional values to add to the resource during create.
Use the TagResource
action to tag a resource after it's created.
Trait Implementations
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 CreateKeyPairInput
impl Send for CreateKeyPairInput
impl Sync for CreateKeyPairInput
impl Unpin for CreateKeyPairInput
impl UnwindSafe for CreateKeyPairInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more