Struct aws_sdk_grafana::client::fluent_builders::UpdateWorkspaceAuthentication [−][src]
pub struct UpdateWorkspaceAuthentication<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateWorkspaceAuthentication
.
Use this operation to define the identity provider (IdP) that this workspace
authenticates users from, using SAML. You can also map SAML assertion attributes to
workspace user information and define which groups in the assertion attribute are to have
the Admin
and Editor
roles in the workspace.
Implementations
impl<C, M, R> UpdateWorkspaceAuthentication<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateWorkspaceAuthentication<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateWorkspaceAuthenticationOutput, SdkError<UpdateWorkspaceAuthenticationError>> where
R::Policy: SmithyRetryPolicy<UpdateWorkspaceAuthenticationInputOperationOutputAlias, UpdateWorkspaceAuthenticationOutput, UpdateWorkspaceAuthenticationError, UpdateWorkspaceAuthenticationInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateWorkspaceAuthenticationOutput, SdkError<UpdateWorkspaceAuthenticationError>> where
R::Policy: SmithyRetryPolicy<UpdateWorkspaceAuthenticationInputOperationOutputAlias, UpdateWorkspaceAuthenticationOutput, UpdateWorkspaceAuthenticationError, UpdateWorkspaceAuthenticationInputOperationRetryAlias>,
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 ID of the workspace to update the authentication for.
The ID of the workspace to update the authentication for.
Appends an item to authenticationProviders
.
To override the contents of this collection use set_authentication_providers
.
Specifies whether this workspace uses SAML 2.0, Amazon Web Services Single Sign On, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana.
pub fn set_authentication_providers(
self,
input: Option<Vec<AuthenticationProviderTypes>>
) -> Self
pub fn set_authentication_providers(
self,
input: Option<Vec<AuthenticationProviderTypes>>
) -> Self
Specifies whether this workspace uses SAML 2.0, Amazon Web Services Single Sign On, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana.
If the workspace uses SAML, use this structure to
map SAML assertion attributes to workspace user information and
define which groups in the assertion attribute are to have the Admin
and Editor
roles
in the workspace.
If the workspace uses SAML, use this structure to
map SAML assertion attributes to workspace user information and
define which groups in the assertion attribute are to have the Admin
and Editor
roles
in the workspace.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateWorkspaceAuthentication<C, M, R>
impl<C, M, R> Send for UpdateWorkspaceAuthentication<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateWorkspaceAuthentication<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateWorkspaceAuthentication<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateWorkspaceAuthentication<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