aws_sdk_fms/client/
delete_protocols_list.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 [`DeleteProtocolsList`](crate::operation::delete_protocols_list::builders::DeleteProtocolsListFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`list_id(impl Into<String>)`](crate::operation::delete_protocols_list::builders::DeleteProtocolsListFluentBuilder::list_id) / [`set_list_id(Option<String>)`](crate::operation::delete_protocols_list::builders::DeleteProtocolsListFluentBuilder::set_list_id):<br>required: **true**<br><p>The ID of the protocols list that you want to delete. You can retrieve this ID from <code>PutProtocolsList</code>, <code>ListProtocolsLists</code>, and <code>GetProtocolsLost</code>.</p><br>
7    /// - On success, responds with [`DeleteProtocolsListOutput`](crate::operation::delete_protocols_list::DeleteProtocolsListOutput)
8    /// - On failure, responds with [`SdkError<DeleteProtocolsListError>`](crate::operation::delete_protocols_list::DeleteProtocolsListError)
9    pub fn delete_protocols_list(&self) -> crate::operation::delete_protocols_list::builders::DeleteProtocolsListFluentBuilder {
10        crate::operation::delete_protocols_list::builders::DeleteProtocolsListFluentBuilder::new(self.handle.clone())
11    }
12}