aws_sdk_route53globalresolver/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    ///   - [`firewall_rules(BatchCreateFirewallRuleInputItem)`](crate::operation::batch_create_firewall_rule::builders::BatchCreateFirewallRuleFluentBuilder::firewall_rules) / [`set_firewall_rules(Option<Vec::<BatchCreateFirewallRuleInputItem>>)`](crate::operation::batch_create_firewall_rule::builders::BatchCreateFirewallRuleFluentBuilder::set_firewall_rules):<br>required: **true**<br><p>The <code>BatchCreateFirewallRuleInputItem</code> objects contain the information for each Firewall rule.</p><br>
7    /// - On success, responds with [`BatchCreateFirewallRuleOutput`](crate::operation::batch_create_firewall_rule::BatchCreateFirewallRuleOutput) with field(s):
8    ///   - [`failures(Vec::<BatchCreateFirewallRuleOutputItem>)`](crate::operation::batch_create_firewall_rule::BatchCreateFirewallRuleOutput::failures): <p>High level information about the DNS Firewall rules that failed to create.</p>
9    ///   - [`successes(Vec::<BatchCreateFirewallRuleOutputItem>)`](crate::operation::batch_create_firewall_rule::BatchCreateFirewallRuleOutput::successes): <p>High level information about the DNS Firewall rules that were created.</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}