Struct aws_sdk_ssoadmin::operation::attach_managed_policy_to_permission_set::builders::AttachManagedPolicyToPermissionSetFluentBuilder
source · pub struct AttachManagedPolicyToPermissionSetFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AttachManagedPolicyToPermissionSet
.
Attaches an Amazon Web Services managed policy ARN to a permission set.
If the permission set is already referenced by one or more account assignments, you will need to call
after this operation. Calling ProvisionPermissionSet
ProvisionPermissionSet
applies the corresponding IAM policy updates to all assigned accounts.
Implementations§
source§impl AttachManagedPolicyToPermissionSetFluentBuilder
impl AttachManagedPolicyToPermissionSetFluentBuilder
sourcepub fn as_input(&self) -> &AttachManagedPolicyToPermissionSetInputBuilder
pub fn as_input(&self) -> &AttachManagedPolicyToPermissionSetInputBuilder
Access the AttachManagedPolicyToPermissionSet as a reference.
sourcepub async fn send(
self,
) -> Result<AttachManagedPolicyToPermissionSetOutput, SdkError<AttachManagedPolicyToPermissionSetError, HttpResponse>>
pub async fn send( self, ) -> Result<AttachManagedPolicyToPermissionSetOutput, SdkError<AttachManagedPolicyToPermissionSetError, 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<AttachManagedPolicyToPermissionSetOutput, AttachManagedPolicyToPermissionSetError, Self>
pub fn customize( self, ) -> CustomizableOperation<AttachManagedPolicyToPermissionSetOutput, AttachManagedPolicyToPermissionSetError, 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. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
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. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
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. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
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
that the managed policy should be attached to.
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
that the managed policy should be attached to.
sourcepub fn get_permission_set_arn(&self) -> &Option<String>
pub fn get_permission_set_arn(&self) -> &Option<String>
The ARN of the PermissionSet
that the managed policy should be attached to.
sourcepub fn managed_policy_arn(self, input: impl Into<String>) -> Self
pub fn managed_policy_arn(self, input: impl Into<String>) -> Self
The Amazon Web Services managed policy ARN to be attached to a permission set.
sourcepub fn set_managed_policy_arn(self, input: Option<String>) -> Self
pub fn set_managed_policy_arn(self, input: Option<String>) -> Self
The Amazon Web Services managed policy ARN to be attached to a permission set.
sourcepub fn get_managed_policy_arn(&self) -> &Option<String>
pub fn get_managed_policy_arn(&self) -> &Option<String>
The Amazon Web Services managed policy ARN to be attached to a permission set.
Trait Implementations§
source§impl Clone for AttachManagedPolicyToPermissionSetFluentBuilder
impl Clone for AttachManagedPolicyToPermissionSetFluentBuilder
source§fn clone(&self) -> AttachManagedPolicyToPermissionSetFluentBuilder
fn clone(&self) -> AttachManagedPolicyToPermissionSetFluentBuilder
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 AttachManagedPolicyToPermissionSetFluentBuilder
impl !RefUnwindSafe for AttachManagedPolicyToPermissionSetFluentBuilder
impl Send for AttachManagedPolicyToPermissionSetFluentBuilder
impl Sync for AttachManagedPolicyToPermissionSetFluentBuilder
impl Unpin for AttachManagedPolicyToPermissionSetFluentBuilder
impl !UnwindSafe for AttachManagedPolicyToPermissionSetFluentBuilder
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