aws_sdk_ssoadmin/client/
delete_permission_set.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 [`DeletePermissionSet`](crate::operation::delete_permission_set::builders::DeletePermissionSetFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`instance_arn(impl Into<String>)`](crate::operation::delete_permission_set::builders::DeletePermissionSetFluentBuilder::instance_arn) / [`set_instance_arn(Option<String>)`](crate::operation::delete_permission_set::builders::DeletePermissionSetFluentBuilder::set_instance_arn):<br>required: **true**<br><p>The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see <a href="/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces</a> in the <i>Amazon Web Services General Reference</i>.</p><br>
7    ///   - [`permission_set_arn(impl Into<String>)`](crate::operation::delete_permission_set::builders::DeletePermissionSetFluentBuilder::permission_set_arn) / [`set_permission_set_arn(Option<String>)`](crate::operation::delete_permission_set::builders::DeletePermissionSetFluentBuilder::set_permission_set_arn):<br>required: **true**<br><p>The ARN of the permission set that should be deleted.</p><br>
8    /// - On success, responds with [`DeletePermissionSetOutput`](crate::operation::delete_permission_set::DeletePermissionSetOutput)
9    /// - On failure, responds with [`SdkError<DeletePermissionSetError>`](crate::operation::delete_permission_set::DeletePermissionSetError)
10    pub fn delete_permission_set(&self) -> crate::operation::delete_permission_set::builders::DeletePermissionSetFluentBuilder {
11        crate::operation::delete_permission_set::builders::DeletePermissionSetFluentBuilder::new(self.handle.clone())
12    }
13}