aws_sdk_lightsail/client/delete_known_host_keys.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeleteKnownHostKeys`](crate::operation::delete_known_host_keys::builders::DeleteKnownHostKeysFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`instance_name(impl Into<String>)`](crate::operation::delete_known_host_keys::builders::DeleteKnownHostKeysFluentBuilder::instance_name) / [`set_instance_name(Option<String>)`](crate::operation::delete_known_host_keys::builders::DeleteKnownHostKeysFluentBuilder::set_instance_name):<br>required: **true**<br><p>The name of the instance for which you want to reset the host key or certificate.</p><br>
7 /// - On success, responds with [`DeleteKnownHostKeysOutput`](crate::operation::delete_known_host_keys::DeleteKnownHostKeysOutput) with field(s):
8 /// - [`operations(Option<Vec::<Operation>>)`](crate::operation::delete_known_host_keys::DeleteKnownHostKeysOutput::operations): <p>An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.</p>
9 /// - On failure, responds with [`SdkError<DeleteKnownHostKeysError>`](crate::operation::delete_known_host_keys::DeleteKnownHostKeysError)
10 pub fn delete_known_host_keys(&self) -> crate::operation::delete_known_host_keys::builders::DeleteKnownHostKeysFluentBuilder {
11 crate::operation::delete_known_host_keys::builders::DeleteKnownHostKeysFluentBuilder::new(self.handle.clone())
12 }
13}