aws_sdk_lightsail/client/
delete_domain_entry.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 [`DeleteDomainEntry`](crate::operation::delete_domain_entry::builders::DeleteDomainEntryFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain_name(impl Into<String>)`](crate::operation::delete_domain_entry::builders::DeleteDomainEntryFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::delete_domain_entry::builders::DeleteDomainEntryFluentBuilder::set_domain_name):<br>required: **true**<br><p>The name of the domain entry to delete.</p><br>
7    ///   - [`domain_entry(DomainEntry)`](crate::operation::delete_domain_entry::builders::DeleteDomainEntryFluentBuilder::domain_entry) / [`set_domain_entry(Option<DomainEntry>)`](crate::operation::delete_domain_entry::builders::DeleteDomainEntryFluentBuilder::set_domain_entry):<br>required: **true**<br><p>An array of key-value pairs containing information about your domain entries.</p><br>
8    /// - On success, responds with [`DeleteDomainEntryOutput`](crate::operation::delete_domain_entry::DeleteDomainEntryOutput) with field(s):
9    ///   - [`operation(Option<Operation>)`](crate::operation::delete_domain_entry::DeleteDomainEntryOutput::operation): <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>
10    /// - On failure, responds with [`SdkError<DeleteDomainEntryError>`](crate::operation::delete_domain_entry::DeleteDomainEntryError)
11    pub fn delete_domain_entry(&self) -> crate::operation::delete_domain_entry::builders::DeleteDomainEntryFluentBuilder {
12        crate::operation::delete_domain_entry::builders::DeleteDomainEntryFluentBuilder::new(self.handle.clone())
13    }
14}