aws_sdk_vpclattice/client/
delete_service_network.rs

1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteServiceNetwork`](crate::operation::delete_service_network::builders::DeleteServiceNetworkFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`service_network_identifier(impl Into<String>)`](crate::operation::delete_service_network::builders::DeleteServiceNetworkFluentBuilder::service_network_identifier) / [`set_service_network_identifier(Option<String>)`](crate::operation::delete_service_network::builders::DeleteServiceNetworkFluentBuilder::set_service_network_identifier):<br>required: **true**<br><p>The Amazon Resource Name (ARN) or ID of the service network.</p><br>
    /// - On success, responds with [`DeleteServiceNetworkOutput`](crate::operation::delete_service_network::DeleteServiceNetworkOutput)
    /// - On failure, responds with [`SdkError<DeleteServiceNetworkError>`](crate::operation::delete_service_network::DeleteServiceNetworkError)
    pub fn delete_service_network(&self) -> crate::operation::delete_service_network::builders::DeleteServiceNetworkFluentBuilder {
        crate::operation::delete_service_network::builders::DeleteServiceNetworkFluentBuilder::new(self.handle.clone())
    }
}