aws_sdk_proton/client/
delete_service.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 [`DeleteService`](crate::operation::delete_service::builders::DeleteServiceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::delete_service::builders::DeleteServiceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_service::builders::DeleteServiceFluentBuilder::set_name):<br>required: **true**<br><p>The name of the service to delete.</p><br>
7    /// - On success, responds with [`DeleteServiceOutput`](crate::operation::delete_service::DeleteServiceOutput) with field(s):
8    ///   - [`service(Option<Service>)`](crate::operation::delete_service::DeleteServiceOutput::service): <p>The detailed data of the service being deleted.</p>
9    /// - On failure, responds with [`SdkError<DeleteServiceError>`](crate::operation::delete_service::DeleteServiceError)
10    pub fn delete_service(&self) -> crate::operation::delete_service::builders::DeleteServiceFluentBuilder {
11        crate::operation::delete_service::builders::DeleteServiceFluentBuilder::new(self.handle.clone())
12    }
13}