aws_sdk_route53resolver/client/batch_create_firewall_rule.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 [`BatchCreateFirewallRule`](crate::operation::batch_create_firewall_rule::builders::BatchCreateFirewallRuleFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`create_firewall_rule_entries(CreateFirewallRuleEntry)`](crate::operation::batch_create_firewall_rule::builders::BatchCreateFirewallRuleFluentBuilder::create_firewall_rule_entries) / [`set_create_firewall_rule_entries(Option<Vec::<CreateFirewallRuleEntry>>)`](crate::operation::batch_create_firewall_rule::builders::BatchCreateFirewallRuleFluentBuilder::set_create_firewall_rule_entries):<br>required: **true**<br><p>The list of firewall rules to create.</p><br>
7 /// - On success, responds with [`BatchCreateFirewallRuleOutput`](crate::operation::batch_create_firewall_rule::BatchCreateFirewallRuleOutput) with field(s):
8 /// - [`created_firewall_rules(Option<Vec::<FirewallRule>>)`](crate::operation::batch_create_firewall_rule::BatchCreateFirewallRuleOutput::created_firewall_rules): <p>The firewall rules that were successfully created by the request.</p>
9 /// - [`create_errors(Option<Vec::<BatchCreateFirewallRuleError>>)`](crate::operation::batch_create_firewall_rule::BatchCreateFirewallRuleOutput::create_errors): <p>A list of errors that occurred while creating the firewall rules.</p>
10 /// - On failure, responds with [`SdkError<BatchCreateFirewallRuleError>`](crate::operation::batch_create_firewall_rule::BatchCreateFirewallRuleError)
11 pub fn batch_create_firewall_rule(&self) -> crate::operation::batch_create_firewall_rule::builders::BatchCreateFirewallRuleFluentBuilder {
12 crate::operation::batch_create_firewall_rule::builders::BatchCreateFirewallRuleFluentBuilder::new(self.handle.clone())
13 }
14}