// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteSecondaryNetwork`](crate::operation::delete_secondary_network::builders::DeleteSecondaryNetworkFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`client_token(impl Into<String>)`](crate::operation::delete_secondary_network::builders::DeleteSecondaryNetworkFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_secondary_network::builders::DeleteSecondaryNetworkFluentBuilder::set_client_token):<br>required: **false**<br><p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensure Idempotency</a>.</p><br>
/// - [`dry_run(bool)`](crate::operation::delete_secondary_network::builders::DeleteSecondaryNetworkFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::delete_secondary_network::builders::DeleteSecondaryNetworkFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
/// - [`secondary_network_id(impl Into<String>)`](crate::operation::delete_secondary_network::builders::DeleteSecondaryNetworkFluentBuilder::secondary_network_id) / [`set_secondary_network_id(Option<String>)`](crate::operation::delete_secondary_network::builders::DeleteSecondaryNetworkFluentBuilder::set_secondary_network_id):<br>required: **true**<br><p>The ID of the secondary network.</p><br>
/// - On success, responds with [`DeleteSecondaryNetworkOutput`](crate::operation::delete_secondary_network::DeleteSecondaryNetworkOutput) with field(s):
/// - [`secondary_network(Option<SecondaryNetwork>)`](crate::operation::delete_secondary_network::DeleteSecondaryNetworkOutput::secondary_network): <p>Information about the secondary network.</p>
/// - [`client_token(Option<String>)`](crate::operation::delete_secondary_network::DeleteSecondaryNetworkOutput::client_token): <p>Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.</p>
/// - On failure, responds with [`SdkError<DeleteSecondaryNetworkError>`](crate::operation::delete_secondary_network::DeleteSecondaryNetworkError)
pub fn delete_secondary_network(&self) -> crate::operation::delete_secondary_network::builders::DeleteSecondaryNetworkFluentBuilder {
crate::operation::delete_secondary_network::builders::DeleteSecondaryNetworkFluentBuilder::new(self.handle.clone())
}
}