pub struct ProvisionPermissionSet { /* 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 ProvisionPermissionSet
impl ProvisionPermissionSet
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ProvisionPermissionSet, AwsResponseRetryClassifier>, SdkError<ProvisionPermissionSetError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ProvisionPermissionSet, AwsResponseRetryClassifier>, SdkError<ProvisionPermissionSetError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<ProvisionPermissionSetOutput, SdkError<ProvisionPermissionSetError>>
pub async fn send(
self
) -> Result<ProvisionPermissionSetOutput, SdkError<ProvisionPermissionSetError>>
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 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 AWS Service Namespaces in the AWS 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 AWS Service Namespaces in the AWS 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 target_id(self, input: impl Into<String>) -> Self
pub fn target_id(self, input: impl Into<String>) -> Self
TargetID is an AWS account identifier, typically a 10-12 digit string (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 AWS account identifier, typically a 10-12 digit string (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.
Trait Implementations§
source§impl Clone for ProvisionPermissionSet
impl Clone for ProvisionPermissionSet
source§fn clone(&self) -> ProvisionPermissionSet
fn clone(&self) -> ProvisionPermissionSet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more