Struct aws_sdk_ssoadmin::operation::create_instance_access_control_attribute_configuration::builders::CreateInstanceAccessControlAttributeConfigurationFluentBuilder
source · pub struct CreateInstanceAccessControlAttributeConfigurationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateInstanceAccessControlAttributeConfiguration
.
Enables the attributes-based access control (ABAC) feature for the specified IAM Identity Center instance. You can also specify new attributes to add to your ABAC configuration during the enabling process. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide.
After a successful response, call DescribeInstanceAccessControlAttributeConfiguration
to validate that InstanceAccessControlAttributeConfiguration
was created.
Implementations§
source§impl CreateInstanceAccessControlAttributeConfigurationFluentBuilder
impl CreateInstanceAccessControlAttributeConfigurationFluentBuilder
sourcepub fn as_input(
&self,
) -> &CreateInstanceAccessControlAttributeConfigurationInputBuilder
pub fn as_input( &self, ) -> &CreateInstanceAccessControlAttributeConfigurationInputBuilder
Access the CreateInstanceAccessControlAttributeConfiguration as a reference.
sourcepub async fn send(
self,
) -> Result<CreateInstanceAccessControlAttributeConfigurationOutput, SdkError<CreateInstanceAccessControlAttributeConfigurationError, HttpResponse>>
pub async fn send( self, ) -> Result<CreateInstanceAccessControlAttributeConfigurationOutput, SdkError<CreateInstanceAccessControlAttributeConfigurationError, 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<CreateInstanceAccessControlAttributeConfigurationOutput, CreateInstanceAccessControlAttributeConfigurationError, Self>
pub fn customize( self, ) -> CustomizableOperation<CreateInstanceAccessControlAttributeConfigurationOutput, CreateInstanceAccessControlAttributeConfigurationError, 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.
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.
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.
sourcepub fn instance_access_control_attribute_configuration(
self,
input: InstanceAccessControlAttributeConfiguration,
) -> Self
pub fn instance_access_control_attribute_configuration( self, input: InstanceAccessControlAttributeConfiguration, ) -> Self
Specifies the IAM Identity Center identity store attributes to add to your ABAC configuration. When using an external identity provider as an identity source, you can pass attributes through the SAML assertion. Doing so provides an alternative to configuring attributes from the IAM Identity Center identity store. If a SAML assertion passes any of these attributes, IAM Identity Center will replace the attribute value with the value from the IAM Identity Center identity store.
sourcepub fn set_instance_access_control_attribute_configuration(
self,
input: Option<InstanceAccessControlAttributeConfiguration>,
) -> Self
pub fn set_instance_access_control_attribute_configuration( self, input: Option<InstanceAccessControlAttributeConfiguration>, ) -> Self
Specifies the IAM Identity Center identity store attributes to add to your ABAC configuration. When using an external identity provider as an identity source, you can pass attributes through the SAML assertion. Doing so provides an alternative to configuring attributes from the IAM Identity Center identity store. If a SAML assertion passes any of these attributes, IAM Identity Center will replace the attribute value with the value from the IAM Identity Center identity store.
sourcepub fn get_instance_access_control_attribute_configuration(
&self,
) -> &Option<InstanceAccessControlAttributeConfiguration>
pub fn get_instance_access_control_attribute_configuration( &self, ) -> &Option<InstanceAccessControlAttributeConfiguration>
Specifies the IAM Identity Center identity store attributes to add to your ABAC configuration. When using an external identity provider as an identity source, you can pass attributes through the SAML assertion. Doing so provides an alternative to configuring attributes from the IAM Identity Center identity store. If a SAML assertion passes any of these attributes, IAM Identity Center will replace the attribute value with the value from the IAM Identity Center identity store.
Trait Implementations§
source§impl Clone for CreateInstanceAccessControlAttributeConfigurationFluentBuilder
impl Clone for CreateInstanceAccessControlAttributeConfigurationFluentBuilder
source§fn clone(
&self,
) -> CreateInstanceAccessControlAttributeConfigurationFluentBuilder
fn clone( &self, ) -> CreateInstanceAccessControlAttributeConfigurationFluentBuilder
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 CreateInstanceAccessControlAttributeConfigurationFluentBuilder
impl !RefUnwindSafe for CreateInstanceAccessControlAttributeConfigurationFluentBuilder
impl Send for CreateInstanceAccessControlAttributeConfigurationFluentBuilder
impl Sync for CreateInstanceAccessControlAttributeConfigurationFluentBuilder
impl Unpin for CreateInstanceAccessControlAttributeConfigurationFluentBuilder
impl !UnwindSafe for CreateInstanceAccessControlAttributeConfigurationFluentBuilder
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