Struct aws_sdk_ssoadmin::client::fluent_builders::CreatePermissionSet [−][src]
pub struct CreatePermissionSet<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreatePermissionSet
.
Creates a permission set within a specified SSO instance.
To grant users and groups access to Amazon Web Services account resources, use
CreateAccountAssignment
.
Implementations
impl<C, M, R> CreatePermissionSet<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreatePermissionSet<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreatePermissionSetOutput, SdkError<CreatePermissionSetError>> where
R::Policy: SmithyRetryPolicy<CreatePermissionSetInputOperationOutputAlias, CreatePermissionSetOutput, CreatePermissionSetError, CreatePermissionSetInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreatePermissionSetOutput, SdkError<CreatePermissionSetError>> where
R::Policy: SmithyRetryPolicy<CreatePermissionSetInputOperationOutputAlias, CreatePermissionSetOutput, CreatePermissionSetError, CreatePermissionSetInputOperationRetryAlias>,
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.
The name of the PermissionSet.
The name of the PermissionSet.
The description of the PermissionSet.
The description of the PermissionSet.
The ARN of the SSO 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.
The ARN of the SSO 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.
The length of time that the application user sessions are valid in the ISO-8601 standard.
The length of time that the application user sessions are valid in the ISO-8601 standard.
Used to redirect users within the application during the federation authentication process.
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
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreatePermissionSet<C, M, R>
impl<C, M, R> Send for CreatePermissionSet<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreatePermissionSet<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreatePermissionSet<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreatePermissionSet<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more