// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateWorkspaceAuthentication`](crate::operation::update_workspace_authentication::builders::UpdateWorkspaceAuthenticationFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`workspace_id(impl ::std::convert::Into<String>)`](crate::operation::update_workspace_authentication::builders::UpdateWorkspaceAuthenticationFluentBuilder::workspace_id) / [`set_workspace_id(Option<String>)`](crate::operation::update_workspace_authentication::builders::UpdateWorkspaceAuthenticationFluentBuilder::set_workspace_id): <p>The ID of the workspace to update the authentication for.</p>
/// - [`authentication_providers(Vec<AuthenticationProviderTypes>)`](crate::operation::update_workspace_authentication::builders::UpdateWorkspaceAuthenticationFluentBuilder::authentication_providers) / [`set_authentication_providers(Option<Vec<AuthenticationProviderTypes>>)`](crate::operation::update_workspace_authentication::builders::UpdateWorkspaceAuthenticationFluentBuilder::set_authentication_providers): <p>Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both to authenticate users for using the Grafana console within a workspace. For more information, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/authentication-in-AMG.html">User authentication in Amazon Managed Grafana</a>.</p>
/// - [`saml_configuration(SamlConfiguration)`](crate::operation::update_workspace_authentication::builders::UpdateWorkspaceAuthenticationFluentBuilder::saml_configuration) / [`set_saml_configuration(Option<SamlConfiguration>)`](crate::operation::update_workspace_authentication::builders::UpdateWorkspaceAuthenticationFluentBuilder::set_saml_configuration): <p>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 <code>Admin</code> and <code>Editor</code> roles in the workspace.</p>
/// - On success, responds with [`UpdateWorkspaceAuthenticationOutput`](crate::operation::update_workspace_authentication::UpdateWorkspaceAuthenticationOutput) with field(s):
/// - [`authentication(Option<AuthenticationDescription>)`](crate::operation::update_workspace_authentication::UpdateWorkspaceAuthenticationOutput::authentication): <p>A structure that describes the user authentication for this workspace after the update is made.</p>
/// - On failure, responds with [`SdkError<UpdateWorkspaceAuthenticationError>`](crate::operation::update_workspace_authentication::UpdateWorkspaceAuthenticationError)
pub fn update_workspace_authentication(
&self,
) -> crate::operation::update_workspace_authentication::builders::UpdateWorkspaceAuthenticationFluentBuilder {
crate::operation::update_workspace_authentication::builders::UpdateWorkspaceAuthenticationFluentBuilder::new(self.handle.clone())
}
}