// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetComplianceSummaryByResourceType`](crate::operation::get_compliance_summary_by_resource_type::builders::GetComplianceSummaryByResourceTypeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_types(impl Into<String>)`](crate::operation::get_compliance_summary_by_resource_type::builders::GetComplianceSummaryByResourceTypeFluentBuilder::resource_types) / [`set_resource_types(Option<Vec::<String>>)`](crate::operation::get_compliance_summary_by_resource_type::builders::GetComplianceSummaryByResourceTypeFluentBuilder::set_resource_types):<br>required: **false**<br><p>Specify one or more resource types to get the number of resources that are compliant and the number that are noncompliant for each resource type.</p> <p>For this request, you can specify an Amazon Web Services resource type such as <code>AWS::EC2::Instance</code>. You can specify that the resource type is an Amazon Web Services account by specifying <code>AWS::::Account</code>.</p><br>
    /// - On success, responds with [`GetComplianceSummaryByResourceTypeOutput`](crate::operation::get_compliance_summary_by_resource_type::GetComplianceSummaryByResourceTypeOutput) with field(s):
    ///   - [`compliance_summaries_by_resource_type(Option<Vec::<ComplianceSummaryByResourceType>>)`](crate::operation::get_compliance_summary_by_resource_type::GetComplianceSummaryByResourceTypeOutput::compliance_summaries_by_resource_type): <p>The number of resources that are compliant and the number that are noncompliant. If one or more resource types were provided with the request, the numbers are returned for each resource type. The maximum number returned is 100.</p>
    /// - On failure, responds with [`SdkError<GetComplianceSummaryByResourceTypeError>`](crate::operation::get_compliance_summary_by_resource_type::GetComplianceSummaryByResourceTypeError)
    pub fn get_compliance_summary_by_resource_type(
        &self,
    ) -> crate::operation::get_compliance_summary_by_resource_type::builders::GetComplianceSummaryByResourceTypeFluentBuilder {
        crate::operation::get_compliance_summary_by_resource_type::builders::GetComplianceSummaryByResourceTypeFluentBuilder::new(self.handle.clone())
    }
}
