Struct aws_sdk_grafana::operation::update_workspace_authentication::UpdateWorkspaceAuthenticationInput
source · #[non_exhaustive]pub struct UpdateWorkspaceAuthenticationInput {
pub workspace_id: Option<String>,
pub authentication_providers: Option<Vec<AuthenticationProviderTypes>>,
pub saml_configuration: Option<SamlConfiguration>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.workspace_id: Option<String>The ID of the workspace to update the authentication for.
authentication_providers: Option<Vec<AuthenticationProviderTypes>>Specifies whether this workspace uses SAML 2.0, IAM Identity Center, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana.
saml_configuration: Option<SamlConfiguration>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.
Implementations§
source§impl UpdateWorkspaceAuthenticationInput
impl UpdateWorkspaceAuthenticationInput
sourcepub fn workspace_id(&self) -> Option<&str>
pub fn workspace_id(&self) -> Option<&str>
The ID of the workspace to update the authentication for.
sourcepub fn authentication_providers(&self) -> &[AuthenticationProviderTypes]
pub fn authentication_providers(&self) -> &[AuthenticationProviderTypes]
Specifies whether this workspace uses SAML 2.0, IAM Identity Center, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .authentication_providers.is_none().
sourcepub fn saml_configuration(&self) -> Option<&SamlConfiguration>
pub fn saml_configuration(&self) -> Option<&SamlConfiguration>
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.
source§impl UpdateWorkspaceAuthenticationInput
impl UpdateWorkspaceAuthenticationInput
sourcepub fn builder() -> UpdateWorkspaceAuthenticationInputBuilder
pub fn builder() -> UpdateWorkspaceAuthenticationInputBuilder
Creates a new builder-style object to manufacture UpdateWorkspaceAuthenticationInput.
Trait Implementations§
source§impl Clone for UpdateWorkspaceAuthenticationInput
impl Clone for UpdateWorkspaceAuthenticationInput
source§fn clone(&self) -> UpdateWorkspaceAuthenticationInput
fn clone(&self) -> UpdateWorkspaceAuthenticationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdateWorkspaceAuthenticationInput
impl PartialEq for UpdateWorkspaceAuthenticationInput
source§fn eq(&self, other: &UpdateWorkspaceAuthenticationInput) -> bool
fn eq(&self, other: &UpdateWorkspaceAuthenticationInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateWorkspaceAuthenticationInput
Auto Trait Implementations§
impl Freeze for UpdateWorkspaceAuthenticationInput
impl RefUnwindSafe for UpdateWorkspaceAuthenticationInput
impl Send for UpdateWorkspaceAuthenticationInput
impl Sync for UpdateWorkspaceAuthenticationInput
impl Unpin for UpdateWorkspaceAuthenticationInput
impl UnwindSafe for UpdateWorkspaceAuthenticationInput
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