// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetViolationDetails`](crate::operation::get_violation_details::builders::GetViolationDetailsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`policy_id(impl Into<String>)`](crate::operation::get_violation_details::builders::GetViolationDetailsFluentBuilder::policy_id) / [`set_policy_id(Option<String>)`](crate::operation::get_violation_details::builders::GetViolationDetailsFluentBuilder::set_policy_id):<br>required: **true**<br><p>The ID of the Firewall Manager policy that you want the details for. You can get violation details for the following policy types:</p> <ul> <li> <p>DNS Firewall</p></li> <li> <p>Imported Network Firewall</p></li> <li> <p>Network Firewall</p></li> <li> <p>Security group content audit</p></li> <li> <p>Network ACL</p></li> <li> <p>Third-party firewall</p></li> </ul><br>
/// - [`member_account(impl Into<String>)`](crate::operation::get_violation_details::builders::GetViolationDetailsFluentBuilder::member_account) / [`set_member_account(Option<String>)`](crate::operation::get_violation_details::builders::GetViolationDetailsFluentBuilder::set_member_account):<br>required: **true**<br><p>The Amazon Web Services account ID that you want the details for.</p><br>
/// - [`resource_id(impl Into<String>)`](crate::operation::get_violation_details::builders::GetViolationDetailsFluentBuilder::resource_id) / [`set_resource_id(Option<String>)`](crate::operation::get_violation_details::builders::GetViolationDetailsFluentBuilder::set_resource_id):<br>required: **true**<br><p>The ID of the resource that has violations.</p><br>
/// - [`resource_type(impl Into<String>)`](crate::operation::get_violation_details::builders::GetViolationDetailsFluentBuilder::resource_type) / [`set_resource_type(Option<String>)`](crate::operation::get_violation_details::builders::GetViolationDetailsFluentBuilder::set_resource_type):<br>required: **true**<br><p>The resource type. This is in the format shown in the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Amazon Web Services Resource Types Reference</a>. Supported resource types are: <code>AWS::EC2::Instance</code>, <code>AWS::EC2::NetworkInterface</code>, <code>AWS::EC2::SecurityGroup</code>, <code>AWS::NetworkFirewall::FirewallPolicy</code>, and <code>AWS::EC2::Subnet</code>.</p><br>
/// - On success, responds with [`GetViolationDetailsOutput`](crate::operation::get_violation_details::GetViolationDetailsOutput) with field(s):
/// - [`violation_detail(Option<ViolationDetail>)`](crate::operation::get_violation_details::GetViolationDetailsOutput::violation_detail): <p>Violation detail for a resource.</p>
/// - On failure, responds with [`SdkError<GetViolationDetailsError>`](crate::operation::get_violation_details::GetViolationDetailsError)
pub fn get_violation_details(&self) -> crate::operation::get_violation_details::builders::GetViolationDetailsFluentBuilder {
crate::operation::get_violation_details::builders::GetViolationDetailsFluentBuilder::new(self.handle.clone())
}
}