Struct aws_sdk_ssoadmin::operation::provision_permission_set::builders::ProvisionPermissionSetFluentBuilder
source · pub struct ProvisionPermissionSetFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ProvisionPermissionSet
.
The process by which a specified permission set is provisioned to the specified target.
Implementations§
source§impl ProvisionPermissionSetFluentBuilder
impl ProvisionPermissionSetFluentBuilder
sourcepub fn as_input(&self) -> &ProvisionPermissionSetInputBuilder
pub fn as_input(&self) -> &ProvisionPermissionSetInputBuilder
Access the ProvisionPermissionSet as a reference.
sourcepub async fn send(
self
) -> Result<ProvisionPermissionSetOutput, SdkError<ProvisionPermissionSetError, HttpResponse>>
pub async fn send( self ) -> Result<ProvisionPermissionSetOutput, SdkError<ProvisionPermissionSetError, 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<ProvisionPermissionSetOutput, ProvisionPermissionSetError, Self>
pub fn customize( self ) -> CustomizableOperation<ProvisionPermissionSetOutput, ProvisionPermissionSetError, 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 target_id(self, input: impl Into<String>) -> Self
pub fn target_id(self, input: impl Into<String>) -> Self
TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
sourcepub fn set_target_id(self, input: Option<String>) -> Self
pub fn set_target_id(self, input: Option<String>) -> Self
TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
sourcepub fn get_target_id(&self) -> &Option<String>
pub fn get_target_id(&self) -> &Option<String>
TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
sourcepub fn target_type(self, input: ProvisionTargetType) -> Self
pub fn target_type(self, input: ProvisionTargetType) -> Self
The entity type for which the assignment will be created.
sourcepub fn set_target_type(self, input: Option<ProvisionTargetType>) -> Self
pub fn set_target_type(self, input: Option<ProvisionTargetType>) -> Self
The entity type for which the assignment will be created.
sourcepub fn get_target_type(&self) -> &Option<ProvisionTargetType>
pub fn get_target_type(&self) -> &Option<ProvisionTargetType>
The entity type for which the assignment will be created.
Trait Implementations§
source§impl Clone for ProvisionPermissionSetFluentBuilder
impl Clone for ProvisionPermissionSetFluentBuilder
source§fn clone(&self) -> ProvisionPermissionSetFluentBuilder
fn clone(&self) -> ProvisionPermissionSetFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more