amazonka-storagegateway-2.0: Amazon Storage Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.StorageGateway.DescribeSMBSettings

Description

Gets a description of a Server Message Block (SMB) file share settings from a file gateway. This operation is only supported for file gateways.

Synopsis

Creating a Request

data DescribeSMBSettings Source #

See: newDescribeSMBSettings smart constructor.

Constructors

DescribeSMBSettings' 

Fields

Instances

Instances details
ToJSON DescribeSMBSettings Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

ToHeaders DescribeSMBSettings Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

ToPath DescribeSMBSettings Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

ToQuery DescribeSMBSettings Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

AWSRequest DescribeSMBSettings Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

Associated Types

type AWSResponse DescribeSMBSettings #

Generic DescribeSMBSettings Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

Associated Types

type Rep DescribeSMBSettings :: Type -> Type #

Read DescribeSMBSettings Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

Show DescribeSMBSettings Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

NFData DescribeSMBSettings Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

Methods

rnf :: DescribeSMBSettings -> () #

Eq DescribeSMBSettings Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

Hashable DescribeSMBSettings Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

type AWSResponse DescribeSMBSettings Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

type Rep DescribeSMBSettings Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

type Rep DescribeSMBSettings = D1 ('MetaData "DescribeSMBSettings" "Amazonka.StorageGateway.DescribeSMBSettings" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "DescribeSMBSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeSMBSettings Source #

Create a value of DescribeSMBSettings with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DescribeSMBSettings, describeSMBSettings_gatewayARN - Undocumented member.

Request Lenses

Destructuring the Response

data DescribeSMBSettingsResponse Source #

See: newDescribeSMBSettingsResponse smart constructor.

Constructors

DescribeSMBSettingsResponse' 

Fields

  • activeDirectoryStatus :: Maybe ActiveDirectoryStatus

    Indicates the status of a gateway that is a member of the Active Directory domain.

    • ACCESS_DENIED: Indicates that the JoinDomain 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 a JoinDomain operation is in progress.
    • NETWORK_ERROR: Indicates that JoinDomain operation failed due to a network or connectivity error.
    • TIMEOUT: Indicates that the JoinDomain operation failed because the operation didn't complete within the allotted time.
    • UNKNOWN_ERROR: Indicates that the JoinDomain operation failed due to another type of error.
  • domainName :: Maybe Text

    The name of the domain that the gateway is joined to.

  • fileSharesVisible :: Maybe Bool

    The shares on this gateway appear when listing shares. Only supported for S3 File Gateways.

  • gatewayARN :: Maybe Text
     
  • sMBGuestPasswordSet :: Maybe 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

  • sMBLocalGroups :: Maybe SMBLocalGroups

    A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.

  • sMBSecurityStrategy :: Maybe 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.
  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeSMBSettingsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

Associated Types

type Rep DescribeSMBSettingsResponse :: Type -> Type #

Read DescribeSMBSettingsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

Show DescribeSMBSettingsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

NFData DescribeSMBSettingsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

Eq DescribeSMBSettingsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

type Rep DescribeSMBSettingsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeSMBSettings

type Rep DescribeSMBSettingsResponse = D1 ('MetaData "DescribeSMBSettingsResponse" "Amazonka.StorageGateway.DescribeSMBSettings" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "DescribeSMBSettingsResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "activeDirectoryStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ActiveDirectoryStatus)) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "fileSharesVisible") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "sMBGuestPasswordSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "sMBLocalGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SMBLocalGroups))) :*: (S1 ('MetaSel ('Just "sMBSecurityStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SMBSecurityStrategy)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDescribeSMBSettingsResponse Source #

Create a value of DescribeSMBSettingsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:activeDirectoryStatus:DescribeSMBSettingsResponse', describeSMBSettingsResponse_activeDirectoryStatus - Indicates the status of a gateway that is a member of the Active Directory domain.

  • ACCESS_DENIED: Indicates that the JoinDomain 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 a JoinDomain operation is in progress.
  • NETWORK_ERROR: Indicates that JoinDomain operation failed due to a network or connectivity error.
  • TIMEOUT: Indicates that the JoinDomain operation failed because the operation didn't complete within the allotted time.
  • UNKNOWN_ERROR: Indicates that the JoinDomain operation failed due to another type of error.

$sel:domainName:DescribeSMBSettingsResponse', describeSMBSettingsResponse_domainName - The name of the domain that the gateway is joined to.

$sel:fileSharesVisible:DescribeSMBSettingsResponse', describeSMBSettingsResponse_fileSharesVisible - The shares on this gateway appear when listing shares. Only supported for S3 File Gateways.

DescribeSMBSettings, describeSMBSettingsResponse_gatewayARN - Undocumented member.

$sel:sMBGuestPasswordSet:DescribeSMBSettingsResponse', describeSMBSettingsResponse_sMBGuestPasswordSet - 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

$sel:sMBLocalGroups:DescribeSMBSettingsResponse', describeSMBSettingsResponse_sMBLocalGroups - A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.

$sel:sMBSecurityStrategy:DescribeSMBSettingsResponse', describeSMBSettingsResponse_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.

$sel:httpStatus:DescribeSMBSettingsResponse', describeSMBSettingsResponse_httpStatus - The response's http status code.

Response Lenses

describeSMBSettingsResponse_activeDirectoryStatus :: Lens' DescribeSMBSettingsResponse (Maybe ActiveDirectoryStatus) Source #

Indicates the status of a gateway that is a member of the Active Directory domain.

  • ACCESS_DENIED: Indicates that the JoinDomain 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 a JoinDomain operation is in progress.
  • NETWORK_ERROR: Indicates that JoinDomain operation failed due to a network or connectivity error.
  • TIMEOUT: Indicates that the JoinDomain operation failed because the operation didn't complete within the allotted time.
  • UNKNOWN_ERROR: Indicates that the JoinDomain operation failed due to another type of error.

describeSMBSettingsResponse_domainName :: Lens' DescribeSMBSettingsResponse (Maybe Text) Source #

The name of the domain that the gateway is joined to.

describeSMBSettingsResponse_fileSharesVisible :: Lens' DescribeSMBSettingsResponse (Maybe Bool) Source #

The shares on this gateway appear when listing shares. Only supported for S3 File Gateways.

describeSMBSettingsResponse_sMBGuestPasswordSet :: Lens' DescribeSMBSettingsResponse (Maybe Bool) Source #

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

describeSMBSettingsResponse_sMBLocalGroups :: Lens' DescribeSMBSettingsResponse (Maybe SMBLocalGroups) Source #

A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.

describeSMBSettingsResponse_sMBSecurityStrategy :: Lens' DescribeSMBSettingsResponse (Maybe SMBSecurityStrategy) Source #

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.