Struct aws_sdk_ssoadmin::operation::detach_customer_managed_policy_reference_from_permission_set::builders::DetachCustomerManagedPolicyReferenceFromPermissionSetFluentBuilder
source · pub struct DetachCustomerManagedPolicyReferenceFromPermissionSetFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DetachCustomerManagedPolicyReferenceFromPermissionSet
.
Detaches the specified customer managed policy from the specified PermissionSet
.
Implementations§
source§impl DetachCustomerManagedPolicyReferenceFromPermissionSetFluentBuilder
impl DetachCustomerManagedPolicyReferenceFromPermissionSetFluentBuilder
sourcepub fn as_input(
&self,
) -> &DetachCustomerManagedPolicyReferenceFromPermissionSetInputBuilder
pub fn as_input( &self, ) -> &DetachCustomerManagedPolicyReferenceFromPermissionSetInputBuilder
Access the DetachCustomerManagedPolicyReferenceFromPermissionSet as a reference.
sourcepub async fn send(
self,
) -> Result<DetachCustomerManagedPolicyReferenceFromPermissionSetOutput, SdkError<DetachCustomerManagedPolicyReferenceFromPermissionSetError, HttpResponse>>
pub async fn send( self, ) -> Result<DetachCustomerManagedPolicyReferenceFromPermissionSetOutput, SdkError<DetachCustomerManagedPolicyReferenceFromPermissionSetError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<DetachCustomerManagedPolicyReferenceFromPermissionSetOutput, DetachCustomerManagedPolicyReferenceFromPermissionSetError, Self>
pub fn customize( self, ) -> CustomizableOperation<DetachCustomerManagedPolicyReferenceFromPermissionSetOutput, DetachCustomerManagedPolicyReferenceFromPermissionSetError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn instance_arn(self, input: impl Into<String>) -> Self
pub fn instance_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM Identity Center instance under which the operation will be executed.
sourcepub fn set_instance_arn(self, input: Option<String>) -> Self
pub fn set_instance_arn(self, input: Option<String>) -> Self
The ARN of the IAM Identity Center instance under which the operation will be executed.
sourcepub fn get_instance_arn(&self) -> &Option<String>
pub fn get_instance_arn(&self) -> &Option<String>
The ARN of the IAM Identity Center instance under which the operation will be executed.
sourcepub fn permission_set_arn(self, input: impl Into<String>) -> Self
pub fn permission_set_arn(self, input: impl Into<String>) -> Self
The ARN of the PermissionSet
.
sourcepub fn set_permission_set_arn(self, input: Option<String>) -> Self
pub fn set_permission_set_arn(self, input: Option<String>) -> Self
The ARN of the PermissionSet
.
sourcepub fn get_permission_set_arn(&self) -> &Option<String>
pub fn get_permission_set_arn(&self) -> &Option<String>
The ARN of the PermissionSet
.
sourcepub fn customer_managed_policy_reference(
self,
input: CustomerManagedPolicyReference,
) -> Self
pub fn customer_managed_policy_reference( self, input: CustomerManagedPolicyReference, ) -> Self
Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each Amazon Web Services account where you want to deploy your permission set.
sourcepub fn set_customer_managed_policy_reference(
self,
input: Option<CustomerManagedPolicyReference>,
) -> Self
pub fn set_customer_managed_policy_reference( self, input: Option<CustomerManagedPolicyReference>, ) -> Self
Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each Amazon Web Services account where you want to deploy your permission set.
sourcepub fn get_customer_managed_policy_reference(
&self,
) -> &Option<CustomerManagedPolicyReference>
pub fn get_customer_managed_policy_reference( &self, ) -> &Option<CustomerManagedPolicyReference>
Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each Amazon Web Services account where you want to deploy your permission set.
Trait Implementations§
source§impl Clone for DetachCustomerManagedPolicyReferenceFromPermissionSetFluentBuilder
impl Clone for DetachCustomerManagedPolicyReferenceFromPermissionSetFluentBuilder
source§fn clone(
&self,
) -> DetachCustomerManagedPolicyReferenceFromPermissionSetFluentBuilder
fn clone( &self, ) -> DetachCustomerManagedPolicyReferenceFromPermissionSetFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DetachCustomerManagedPolicyReferenceFromPermissionSetFluentBuilder
impl !RefUnwindSafe for DetachCustomerManagedPolicyReferenceFromPermissionSetFluentBuilder
impl Send for DetachCustomerManagedPolicyReferenceFromPermissionSetFluentBuilder
impl Sync for DetachCustomerManagedPolicyReferenceFromPermissionSetFluentBuilder
impl Unpin for DetachCustomerManagedPolicyReferenceFromPermissionSetFluentBuilder
impl !UnwindSafe for DetachCustomerManagedPolicyReferenceFromPermissionSetFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more