// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DetachGroupPolicy`](crate::operation::detach_group_policy::builders::DetachGroupPolicyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`group_name(impl Into<String>)`](crate::operation::detach_group_policy::builders::DetachGroupPolicyFluentBuilder::group_name) / [`set_group_name(Option<String>)`](crate::operation::detach_group_policy::builders::DetachGroupPolicyFluentBuilder::set_group_name):<br>required: **true**<br><p>The name (friendly name, not ARN) of the IAM group to detach the policy from.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-</p><br>
/// - [`policy_arn(impl Into<String>)`](crate::operation::detach_group_policy::builders::DetachGroupPolicyFluentBuilder::policy_arn) / [`set_policy_arn(Option<String>)`](crate::operation::detach_group_policy::builders::DetachGroupPolicyFluentBuilder::set_policy_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the IAM policy you want to detach.</p> <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p><br>
/// - On success, responds with [`DetachGroupPolicyOutput`](crate::operation::detach_group_policy::DetachGroupPolicyOutput)
/// - On failure, responds with [`SdkError<DetachGroupPolicyError>`](crate::operation::detach_group_policy::DetachGroupPolicyError)
pub fn detach_group_policy(&self) -> crate::operation::detach_group_policy::builders::DetachGroupPolicyFluentBuilder {
crate::operation::detach_group_policy::builders::DetachGroupPolicyFluentBuilder::new(self.handle.clone())
}
}