Struct aws_sdk_ssoadmin::operation::put_inline_policy_to_permission_set::builders::PutInlinePolicyToPermissionSetFluentBuilder
source · pub struct PutInlinePolicyToPermissionSetFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutInlinePolicyToPermissionSet
.
Attaches an inline policy to a permission set.
If the permission set is already referenced by one or more account assignments, you will need to call
after this action to apply the corresponding IAM policy updates to all assigned accounts.ProvisionPermissionSet
Implementations§
source§impl PutInlinePolicyToPermissionSetFluentBuilder
impl PutInlinePolicyToPermissionSetFluentBuilder
sourcepub fn as_input(&self) -> &PutInlinePolicyToPermissionSetInputBuilder
pub fn as_input(&self) -> &PutInlinePolicyToPermissionSetInputBuilder
Access the PutInlinePolicyToPermissionSet as a reference.
sourcepub async fn send(
self
) -> Result<PutInlinePolicyToPermissionSetOutput, SdkError<PutInlinePolicyToPermissionSetError, HttpResponse>>
pub async fn send( self ) -> Result<PutInlinePolicyToPermissionSetOutput, SdkError<PutInlinePolicyToPermissionSetError, 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<PutInlinePolicyToPermissionSetOutput, PutInlinePolicyToPermissionSetError, Self>
pub fn customize( self ) -> CustomizableOperation<PutInlinePolicyToPermissionSetOutput, PutInlinePolicyToPermissionSetError, 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 permission set.
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 permission set.
sourcepub fn get_permission_set_arn(&self) -> &Option<String>
pub fn get_permission_set_arn(&self) -> &Option<String>
The ARN of the permission set.
sourcepub fn inline_policy(self, input: impl Into<String>) -> Self
pub fn inline_policy(self, input: impl Into<String>) -> Self
The inline policy to attach to a PermissionSet
.
sourcepub fn set_inline_policy(self, input: Option<String>) -> Self
pub fn set_inline_policy(self, input: Option<String>) -> Self
The inline policy to attach to a PermissionSet
.
sourcepub fn get_inline_policy(&self) -> &Option<String>
pub fn get_inline_policy(&self) -> &Option<String>
The inline policy to attach to a PermissionSet
.
Trait Implementations§
source§impl Clone for PutInlinePolicyToPermissionSetFluentBuilder
impl Clone for PutInlinePolicyToPermissionSetFluentBuilder
source§fn clone(&self) -> PutInlinePolicyToPermissionSetFluentBuilder
fn clone(&self) -> PutInlinePolicyToPermissionSetFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more