aws_sdk_wickr/client/delete_network.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 [`DeleteNetwork`](crate::operation::delete_network::builders::DeleteNetworkFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`network_id(impl Into<String>)`](crate::operation::delete_network::builders::DeleteNetworkFluentBuilder::network_id) / [`set_network_id(Option<String>)`](crate::operation::delete_network::builders::DeleteNetworkFluentBuilder::set_network_id):<br>required: **true**<br><p>The ID of the Wickr network to delete.</p><br>
7 /// - [`client_token(impl Into<String>)`](crate::operation::delete_network::builders::DeleteNetworkFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_network::builders::DeleteNetworkFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique identifier for this request to ensure idempotency. If you retry a request with the same client token, the service will return the same response without attempting to delete the network again.</p><br>
8 /// - On success, responds with [`DeleteNetworkOutput`](crate::operation::delete_network::DeleteNetworkOutput) with field(s):
9 /// - [`message(Option<String>)`](crate::operation::delete_network::DeleteNetworkOutput::message): <p>A message indicating that the network deletion has been initiated successfully.</p>
10 /// - On failure, responds with [`SdkError<DeleteNetworkError>`](crate::operation::delete_network::DeleteNetworkError)
11 pub fn delete_network(&self) -> crate::operation::delete_network::builders::DeleteNetworkFluentBuilder {
12 crate::operation::delete_network::builders::DeleteNetworkFluentBuilder::new(self.handle.clone())
13 }
14}