Struct aws_sdk_ssoadmin::client::fluent_builders::CreateInstanceAccessControlAttributeConfiguration
source · pub struct CreateInstanceAccessControlAttributeConfiguration { /* 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 CreateInstanceAccessControlAttributeConfiguration
impl CreateInstanceAccessControlAttributeConfiguration
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateInstanceAccessControlAttributeConfiguration, AwsResponseRetryClassifier>, SdkError<CreateInstanceAccessControlAttributeConfigurationError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateInstanceAccessControlAttributeConfiguration, AwsResponseRetryClassifier>, SdkError<CreateInstanceAccessControlAttributeConfigurationError>>
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<CreateInstanceAccessControlAttributeConfigurationOutput, SdkError<CreateInstanceAccessControlAttributeConfigurationError>>
pub async fn send(
self
) -> Result<CreateInstanceAccessControlAttributeConfigurationOutput, SdkError<CreateInstanceAccessControlAttributeConfigurationError>>
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.
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 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.
Trait Implementations§
source§impl Clone for CreateInstanceAccessControlAttributeConfiguration
impl Clone for CreateInstanceAccessControlAttributeConfiguration
source§fn clone(&self) -> CreateInstanceAccessControlAttributeConfiguration
fn clone(&self) -> CreateInstanceAccessControlAttributeConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more