Struct aws_sdk_ssoadmin::operation::attach_customer_managed_policy_reference_to_permission_set::builders::AttachCustomerManagedPolicyReferenceToPermissionSetFluentBuilder
source · pub struct AttachCustomerManagedPolicyReferenceToPermissionSetFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AttachCustomerManagedPolicyReferenceToPermissionSet
.
Attaches the specified customer managed policy to the specified PermissionSet
.
Implementations§
source§impl AttachCustomerManagedPolicyReferenceToPermissionSetFluentBuilder
impl AttachCustomerManagedPolicyReferenceToPermissionSetFluentBuilder
sourcepub fn as_input(
&self,
) -> &AttachCustomerManagedPolicyReferenceToPermissionSetInputBuilder
pub fn as_input( &self, ) -> &AttachCustomerManagedPolicyReferenceToPermissionSetInputBuilder
Access the AttachCustomerManagedPolicyReferenceToPermissionSet as a reference.
sourcepub async fn send(
self,
) -> Result<AttachCustomerManagedPolicyReferenceToPermissionSetOutput, SdkError<AttachCustomerManagedPolicyReferenceToPermissionSetError, HttpResponse>>
pub async fn send( self, ) -> Result<AttachCustomerManagedPolicyReferenceToPermissionSetOutput, SdkError<AttachCustomerManagedPolicyReferenceToPermissionSetError, 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<AttachCustomerManagedPolicyReferenceToPermissionSetOutput, AttachCustomerManagedPolicyReferenceToPermissionSetError, Self>
pub fn customize( self, ) -> CustomizableOperation<AttachCustomerManagedPolicyReferenceToPermissionSetOutput, AttachCustomerManagedPolicyReferenceToPermissionSetError, 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 AttachCustomerManagedPolicyReferenceToPermissionSetFluentBuilder
impl Clone for AttachCustomerManagedPolicyReferenceToPermissionSetFluentBuilder
source§fn clone(
&self,
) -> AttachCustomerManagedPolicyReferenceToPermissionSetFluentBuilder
fn clone( &self, ) -> AttachCustomerManagedPolicyReferenceToPermissionSetFluentBuilder
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 AttachCustomerManagedPolicyReferenceToPermissionSetFluentBuilder
impl !RefUnwindSafe for AttachCustomerManagedPolicyReferenceToPermissionSetFluentBuilder
impl Send for AttachCustomerManagedPolicyReferenceToPermissionSetFluentBuilder
impl Sync for AttachCustomerManagedPolicyReferenceToPermissionSetFluentBuilder
impl Unpin for AttachCustomerManagedPolicyReferenceToPermissionSetFluentBuilder
impl !UnwindSafe for AttachCustomerManagedPolicyReferenceToPermissionSetFluentBuilder
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