pub struct CreatePermissionSet { /* private fields */ }
Expand description
Fluent builder constructing a request to CreatePermissionSet
.
Creates a permission set within a specified IAM Identity Center instance.
To grant users and groups access to AWS account resources, use
.CreateAccountAssignment
Implementations§
source§impl CreatePermissionSet
impl CreatePermissionSet
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreatePermissionSet, AwsResponseRetryClassifier>, SdkError<CreatePermissionSetError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreatePermissionSet, AwsResponseRetryClassifier>, SdkError<CreatePermissionSetError>>
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<CreatePermissionSetOutput, SdkError<CreatePermissionSetError>>
pub async fn send(
self
) -> Result<CreatePermissionSetOutput, SdkError<CreatePermissionSetError>>
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the PermissionSet
.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the PermissionSet
.
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 session_duration(self, input: impl Into<String>) -> Self
pub fn session_duration(self, input: impl Into<String>) -> Self
The length of time that the application user sessions are valid in the ISO-8601 standard.
sourcepub fn set_session_duration(self, input: Option<String>) -> Self
pub fn set_session_duration(self, input: Option<String>) -> Self
The length of time that the application user sessions are valid in the ISO-8601 standard.
sourcepub fn relay_state(self, input: impl Into<String>) -> Self
pub fn relay_state(self, input: impl Into<String>) -> Self
Used to redirect users within the application during the federation authentication process.
sourcepub fn set_relay_state(self, input: Option<String>) -> Self
pub fn set_relay_state(self, input: Option<String>) -> Self
Used to redirect users within the application during the federation authentication process.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
The tags to attach to the new PermissionSet
.
The tags to attach to the new PermissionSet
.
Trait Implementations§
source§impl Clone for CreatePermissionSet
impl Clone for CreatePermissionSet
source§fn clone(&self) -> CreatePermissionSet
fn clone(&self) -> CreatePermissionSet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more