#[non_exhaustive]pub struct DescribeSmbSettingsOutput {
pub gateway_arn: Option<String>,
pub domain_name: Option<String>,
pub active_directory_status: Option<ActiveDirectoryStatus>,
pub smb_guest_password_set: Option<bool>,
pub smb_security_strategy: Option<SmbSecurityStrategy>,
pub file_shares_visible: Option<bool>,
pub smb_local_groups: Option<SmbLocalGroups>,
}
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.gateway_arn: Option<String>
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
domain_name: Option<String>
The name of the domain that the gateway is joined to.
active_directory_status: Option<ActiveDirectoryStatus>
Indicates the status of a gateway that is a member of the Active Directory domain.
-
ACCESS_DENIED
: Indicates that theJoinDomain
operation failed due to an authentication error. -
DETACHED
: Indicates that gateway is not joined to a domain. -
JOINED
: Indicates that the gateway has successfully joined a domain. -
JOINING
: Indicates that aJoinDomain
operation is in progress. -
NETWORK_ERROR
: Indicates thatJoinDomain
operation failed due to a network or connectivity error. -
TIMEOUT
: Indicates that theJoinDomain
operation failed because the operation didn't complete within the allotted time. -
UNKNOWN_ERROR
: Indicates that theJoinDomain
operation failed due to another type of error.
smb_guest_password_set: Option<bool>
This value is true
if a password for the guest user smbguest
is set, otherwise false
. Only supported for S3 File Gateways.
Valid Values: true
| false
smb_security_strategy: Option<SmbSecurityStrategy>
The type of security strategy that was specified for file gateway.
-
ClientSpecified
: If you use this option, requests are established based on what is negotiated by the client. This option is recommended when you want to maximize compatibility across different clients in your environment. Only supported for S3 File Gateways. -
MandatorySigning
: If you use this option, file gateway only allows connections from SMBv2 or SMBv3 clients that have signing enabled. This option works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or newer. -
MandatoryEncryption
: If you use this option, file gateway only allows connections from SMBv3 clients that have encryption enabled. This option is highly recommended for environments that handle sensitive data. This option works with SMB clients on Microsoft Windows 8, Windows Server 2012 or newer.
The shares on this gateway appear when listing shares. Only supported for S3 File Gateways.
smb_local_groups: Option<SmbLocalGroups>
A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.
Implementations
sourceimpl DescribeSmbSettingsOutput
impl DescribeSmbSettingsOutput
sourcepub fn gateway_arn(&self) -> Option<&str>
pub fn gateway_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The name of the domain that the gateway is joined to.
sourcepub fn active_directory_status(&self) -> Option<&ActiveDirectoryStatus>
pub fn active_directory_status(&self) -> Option<&ActiveDirectoryStatus>
Indicates the status of a gateway that is a member of the Active Directory domain.
-
ACCESS_DENIED
: Indicates that theJoinDomain
operation failed due to an authentication error. -
DETACHED
: Indicates that gateway is not joined to a domain. -
JOINED
: Indicates that the gateway has successfully joined a domain. -
JOINING
: Indicates that aJoinDomain
operation is in progress. -
NETWORK_ERROR
: Indicates thatJoinDomain
operation failed due to a network or connectivity error. -
TIMEOUT
: Indicates that theJoinDomain
operation failed because the operation didn't complete within the allotted time. -
UNKNOWN_ERROR
: Indicates that theJoinDomain
operation failed due to another type of error.
sourcepub fn smb_guest_password_set(&self) -> Option<bool>
pub fn smb_guest_password_set(&self) -> Option<bool>
This value is true
if a password for the guest user smbguest
is set, otherwise false
. Only supported for S3 File Gateways.
Valid Values: true
| false
sourcepub fn smb_security_strategy(&self) -> Option<&SmbSecurityStrategy>
pub fn smb_security_strategy(&self) -> Option<&SmbSecurityStrategy>
The type of security strategy that was specified for file gateway.
-
ClientSpecified
: If you use this option, requests are established based on what is negotiated by the client. This option is recommended when you want to maximize compatibility across different clients in your environment. Only supported for S3 File Gateways. -
MandatorySigning
: If you use this option, file gateway only allows connections from SMBv2 or SMBv3 clients that have signing enabled. This option works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or newer. -
MandatoryEncryption
: If you use this option, file gateway only allows connections from SMBv3 clients that have encryption enabled. This option is highly recommended for environments that handle sensitive data. This option works with SMB clients on Microsoft Windows 8, Windows Server 2012 or newer.
The shares on this gateway appear when listing shares. Only supported for S3 File Gateways.
sourcepub fn smb_local_groups(&self) -> Option<&SmbLocalGroups>
pub fn smb_local_groups(&self) -> Option<&SmbLocalGroups>
A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.
sourceimpl DescribeSmbSettingsOutput
impl DescribeSmbSettingsOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeSmbSettingsOutput
Trait Implementations
sourceimpl Clone for DescribeSmbSettingsOutput
impl Clone for DescribeSmbSettingsOutput
sourcefn clone(&self) -> DescribeSmbSettingsOutput
fn clone(&self) -> DescribeSmbSettingsOutput
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 DescribeSmbSettingsOutput
impl Debug for DescribeSmbSettingsOutput
sourceimpl PartialEq<DescribeSmbSettingsOutput> for DescribeSmbSettingsOutput
impl PartialEq<DescribeSmbSettingsOutput> for DescribeSmbSettingsOutput
sourcefn eq(&self, other: &DescribeSmbSettingsOutput) -> bool
fn eq(&self, other: &DescribeSmbSettingsOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeSmbSettingsOutput) -> bool
fn ne(&self, other: &DescribeSmbSettingsOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeSmbSettingsOutput
Auto Trait Implementations
impl RefUnwindSafe for DescribeSmbSettingsOutput
impl Send for DescribeSmbSettingsOutput
impl Sync for DescribeSmbSettingsOutput
impl Unpin for DescribeSmbSettingsOutput
impl UnwindSafe for DescribeSmbSettingsOutput
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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