aws_sdk_lightsail/client/delete_domain.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 [`DeleteDomain`](crate::operation::delete_domain::builders::DeleteDomainFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`domain_name(impl Into<String>)`](crate::operation::delete_domain::builders::DeleteDomainFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::delete_domain::builders::DeleteDomainFluentBuilder::set_domain_name):<br>required: **true**<br><p>The specific domain name to delete.</p><br>
7 /// - On success, responds with [`DeleteDomainOutput`](crate::operation::delete_domain::DeleteDomainOutput) with field(s):
8 /// - [`operation(Option<Operation>)`](crate::operation::delete_domain::DeleteDomainOutput::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>
9 /// - On failure, responds with [`SdkError<DeleteDomainError>`](crate::operation::delete_domain::DeleteDomainError)
10 pub fn delete_domain(&self) -> crate::operation::delete_domain::builders::DeleteDomainFluentBuilder {
11 crate::operation::delete_domain::builders::DeleteDomainFluentBuilder::new(self.handle.clone())
12 }
13}