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 Amazon Web Services SSO 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 Amazon Web Services SSO User Guide.
Implementations
sourceimpl CreateInstanceAccessControlAttributeConfiguration
impl CreateInstanceAccessControlAttributeConfiguration
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 SSO 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 SSO 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 Amazon Web Services SSO 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 Amazon Web Services SSO identity store. If a SAML assertion passes any of these attributes, Amazon Web Services SSO will replace the attribute value with the value from the Amazon Web Services SSO 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 Amazon Web Services SSO 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 Amazon Web Services SSO identity store. If a SAML assertion passes any of these attributes, Amazon Web Services SSO will replace the attribute value with the value from the Amazon Web Services SSO identity store.
Trait Implementations
sourceimpl Clone for CreateInstanceAccessControlAttributeConfiguration
impl Clone for CreateInstanceAccessControlAttributeConfiguration
sourcefn clone(&self) -> CreateInstanceAccessControlAttributeConfiguration
fn clone(&self) -> CreateInstanceAccessControlAttributeConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for CreateInstanceAccessControlAttributeConfiguration
impl Send for CreateInstanceAccessControlAttributeConfiguration
impl Sync for CreateInstanceAccessControlAttributeConfiguration
impl Unpin for CreateInstanceAccessControlAttributeConfiguration
impl !UnwindSafe for CreateInstanceAccessControlAttributeConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more