Struct aws_sdk_directory::input::DisableSsoInput
source · [−]#[non_exhaustive]pub struct DisableSsoInput {
pub directory_id: Option<String>,
pub user_name: Option<String>,
pub password: Option<String>,
}
Expand description
Contains the inputs for the DisableSso
operation.
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.directory_id: Option<String>
The identifier of the directory for which to disable single-sign on.
user_name: Option<String>
The username of an alternate account to use to disable single-sign on. This is only used for AD Connector directories. This account must have privileges to remove a service principal name.
If the AD Connector service account does not have privileges to remove a service principal name, you can specify an alternate account with the UserName and Password parameters. These credentials are only used to disable single sign-on and are not stored by the service. The AD Connector service account is not changed.
password: Option<String>
The password of an alternate account to use to disable single-sign on. This is only used for AD Connector directories. For more information, see the UserName parameter.
Implementations
sourceimpl DisableSsoInput
impl DisableSsoInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisableSso, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisableSso, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DisableSso
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DisableSsoInput
sourceimpl DisableSsoInput
impl DisableSsoInput
sourcepub fn directory_id(&self) -> Option<&str>
pub fn directory_id(&self) -> Option<&str>
The identifier of the directory for which to disable single-sign on.
sourcepub fn user_name(&self) -> Option<&str>
pub fn user_name(&self) -> Option<&str>
The username of an alternate account to use to disable single-sign on. This is only used for AD Connector directories. This account must have privileges to remove a service principal name.
If the AD Connector service account does not have privileges to remove a service principal name, you can specify an alternate account with the UserName and Password parameters. These credentials are only used to disable single sign-on and are not stored by the service. The AD Connector service account is not changed.
Trait Implementations
sourceimpl Clone for DisableSsoInput
impl Clone for DisableSsoInput
sourcefn clone(&self) -> DisableSsoInput
fn clone(&self) -> DisableSsoInput
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
sourceimpl Debug for DisableSsoInput
impl Debug for DisableSsoInput
sourceimpl PartialEq<DisableSsoInput> for DisableSsoInput
impl PartialEq<DisableSsoInput> for DisableSsoInput
sourcefn eq(&self, other: &DisableSsoInput) -> bool
fn eq(&self, other: &DisableSsoInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DisableSsoInput) -> bool
fn ne(&self, other: &DisableSsoInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DisableSsoInput
Auto Trait Implementations
impl RefUnwindSafe for DisableSsoInput
impl Send for DisableSsoInput
impl Sync for DisableSsoInput
impl Unpin for DisableSsoInput
impl UnwindSafe for DisableSsoInput
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