Struct aws_sdk_ssoadmin::operation::create_permission_set::builders::CreatePermissionSetFluentBuilder
source · pub struct CreatePermissionSetFluentBuilder { /* 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 Amazon Web Services account resources, use
.CreateAccountAssignment
Implementations§
source§impl CreatePermissionSetFluentBuilder
impl CreatePermissionSetFluentBuilder
sourcepub fn as_input(&self) -> &CreatePermissionSetInputBuilder
pub fn as_input(&self) -> &CreatePermissionSetInputBuilder
Access the CreatePermissionSet as a reference.
sourcepub async fn send(
self,
) -> Result<CreatePermissionSetOutput, SdkError<CreatePermissionSetError, HttpResponse>>
pub async fn send( self, ) -> Result<CreatePermissionSetOutput, SdkError<CreatePermissionSetError, 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<CreatePermissionSetOutput, CreatePermissionSetError, Self>
pub fn customize( self, ) -> CustomizableOperation<CreatePermissionSetOutput, CreatePermissionSetError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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 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 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 get_session_duration(&self) -> &Option<String>
pub fn get_session_duration(&self) -> &Option<String>
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.
sourcepub fn get_relay_state(&self) -> &Option<String>
pub fn get_relay_state(&self) -> &Option<String>
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
.
The tags to attach to the new PermissionSet
.
Trait Implementations§
source§impl Clone for CreatePermissionSetFluentBuilder
impl Clone for CreatePermissionSetFluentBuilder
source§fn clone(&self) -> CreatePermissionSetFluentBuilder
fn clone(&self) -> CreatePermissionSetFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreatePermissionSetFluentBuilder
impl !RefUnwindSafe for CreatePermissionSetFluentBuilder
impl Send for CreatePermissionSetFluentBuilder
impl Sync for CreatePermissionSetFluentBuilder
impl Unpin for CreatePermissionSetFluentBuilder
impl !UnwindSafe for CreatePermissionSetFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more