// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ValidateSecurityGroupQuotasForInterface`](crate::operation::validate_security_group_quotas_for_interface::builders::ValidateSecurityGroupQuotasForInterfaceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`security_group_ids(impl Into<String>)`](crate::operation::validate_security_group_quotas_for_interface::builders::ValidateSecurityGroupQuotasForInterfaceFluentBuilder::security_group_ids) / [`set_security_group_ids(Option<Vec::<String>>)`](crate::operation::validate_security_group_quotas_for_interface::builders::ValidateSecurityGroupQuotasForInterfaceFluentBuilder::set_security_group_ids):<br>required: **true**<br><p>The IDs of the security groups to validate for association with a single network interface. You must specify at least one ID, and each ID must be unique. The number of IDs cannot exceed the maximum number of security groups allowed per network interface.</p><br>
/// - [`dry_run(bool)`](crate::operation::validate_security_group_quotas_for_interface::builders::ValidateSecurityGroupQuotasForInterfaceFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::validate_security_group_quotas_for_interface::builders::ValidateSecurityGroupQuotasForInterfaceFluentBuilder::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>
/// - On success, responds with [`ValidateSecurityGroupQuotasForInterfaceOutput`](crate::operation::validate_security_group_quotas_for_interface::ValidateSecurityGroupQuotasForInterfaceOutput) with field(s):
/// - [`valid(Option<bool>)`](crate::operation::validate_security_group_quotas_for_interface::ValidateSecurityGroupQuotasForInterfaceOutput::valid): <p>The operation returns <code>true</code> if the specified security groups can be associated with a single network interface without exceeding the quotas. It returns an error if associating the security groups would exceed a quota.</p>
/// - On failure, responds with [`SdkError<ValidateSecurityGroupQuotasForInterfaceError>`](crate::operation::validate_security_group_quotas_for_interface::ValidateSecurityGroupQuotasForInterfaceError)
pub fn validate_security_group_quotas_for_interface(
&self,
) -> crate::operation::validate_security_group_quotas_for_interface::builders::ValidateSecurityGroupQuotasForInterfaceFluentBuilder {
crate::operation::validate_security_group_quotas_for_interface::builders::ValidateSecurityGroupQuotasForInterfaceFluentBuilder::new(
self.handle.clone(),
)
}
}