aws_sdk_ec2/client/delete_flow_logs.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 [`DeleteFlowLogs`](crate::operation::delete_flow_logs::builders::DeleteFlowLogsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`dry_run(bool)`](crate::operation::delete_flow_logs::builders::DeleteFlowLogsFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::delete_flow_logs::builders::DeleteFlowLogsFluentBuilder::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>
7 /// - [`flow_log_ids(impl Into<String>)`](crate::operation::delete_flow_logs::builders::DeleteFlowLogsFluentBuilder::flow_log_ids) / [`set_flow_log_ids(Option<Vec::<String>>)`](crate::operation::delete_flow_logs::builders::DeleteFlowLogsFluentBuilder::set_flow_log_ids):<br>required: **true**<br><p>One or more flow log IDs.</p> <p>Constraint: Maximum of 1000 flow log IDs.</p><br>
8 /// - On success, responds with [`DeleteFlowLogsOutput`](crate::operation::delete_flow_logs::DeleteFlowLogsOutput) with field(s):
9 /// - [`unsuccessful(Option<Vec::<UnsuccessfulItem>>)`](crate::operation::delete_flow_logs::DeleteFlowLogsOutput::unsuccessful): <p>Information about the flow logs that could not be deleted successfully.</p>
10 /// - On failure, responds with [`SdkError<DeleteFlowLogsError>`](crate::operation::delete_flow_logs::DeleteFlowLogsError)
11 pub fn delete_flow_logs(&self) -> crate::operation::delete_flow_logs::builders::DeleteFlowLogsFluentBuilder {
12 crate::operation::delete_flow_logs::builders::DeleteFlowLogsFluentBuilder::new(self.handle.clone())
13 }
14}