Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates the SMB security strategy on a file gateway. This action is only supported in file gateways.
This API is called Security level in the User Guide.
A higher security level can affect performance of the gateway.
Synopsis
- data UpdateSMBSecurityStrategy = UpdateSMBSecurityStrategy' {}
- newUpdateSMBSecurityStrategy :: Text -> SMBSecurityStrategy -> UpdateSMBSecurityStrategy
- updateSMBSecurityStrategy_gatewayARN :: Lens' UpdateSMBSecurityStrategy Text
- updateSMBSecurityStrategy_sMBSecurityStrategy :: Lens' UpdateSMBSecurityStrategy SMBSecurityStrategy
- data UpdateSMBSecurityStrategyResponse = UpdateSMBSecurityStrategyResponse' {
- gatewayARN :: Maybe Text
- httpStatus :: Int
- newUpdateSMBSecurityStrategyResponse :: Int -> UpdateSMBSecurityStrategyResponse
- updateSMBSecurityStrategyResponse_gatewayARN :: Lens' UpdateSMBSecurityStrategyResponse (Maybe Text)
- updateSMBSecurityStrategyResponse_httpStatus :: Lens' UpdateSMBSecurityStrategyResponse Int
Creating a Request
data UpdateSMBSecurityStrategy Source #
See: newUpdateSMBSecurityStrategy
smart constructor.
UpdateSMBSecurityStrategy' | |
|
Instances
newUpdateSMBSecurityStrategy Source #
Create a value of UpdateSMBSecurityStrategy
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:gatewayARN:UpdateSMBSecurityStrategy'
, updateSMBSecurityStrategy_gatewayARN
- Undocumented member.
$sel:sMBSecurityStrategy:UpdateSMBSecurityStrategy'
, updateSMBSecurityStrategy_sMBSecurityStrategy
- Specifies the type of security strategy.
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. Supported only in S3 File Gateway.
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.
Request Lenses
updateSMBSecurityStrategy_gatewayARN :: Lens' UpdateSMBSecurityStrategy Text Source #
Undocumented member.
updateSMBSecurityStrategy_sMBSecurityStrategy :: Lens' UpdateSMBSecurityStrategy SMBSecurityStrategy Source #
Specifies the type of security strategy.
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. Supported only in S3 File Gateway.
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.
Destructuring the Response
data UpdateSMBSecurityStrategyResponse Source #
See: newUpdateSMBSecurityStrategyResponse
smart constructor.
UpdateSMBSecurityStrategyResponse' | |
|
Instances
Eq UpdateSMBSecurityStrategyResponse Source # | |
Read UpdateSMBSecurityStrategyResponse Source # | |
Show UpdateSMBSecurityStrategyResponse Source # | |
Generic UpdateSMBSecurityStrategyResponse Source # | |
NFData UpdateSMBSecurityStrategyResponse Source # | |
Defined in Amazonka.StorageGateway.UpdateSMBSecurityStrategy rnf :: UpdateSMBSecurityStrategyResponse -> () # | |
type Rep UpdateSMBSecurityStrategyResponse Source # | |
Defined in Amazonka.StorageGateway.UpdateSMBSecurityStrategy type Rep UpdateSMBSecurityStrategyResponse = D1 ('MetaData "UpdateSMBSecurityStrategyResponse" "Amazonka.StorageGateway.UpdateSMBSecurityStrategy" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "UpdateSMBSecurityStrategyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateSMBSecurityStrategyResponse Source #
Create a value of UpdateSMBSecurityStrategyResponse
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:gatewayARN:UpdateSMBSecurityStrategy'
, updateSMBSecurityStrategyResponse_gatewayARN
- Undocumented member.
$sel:httpStatus:UpdateSMBSecurityStrategyResponse'
, updateSMBSecurityStrategyResponse_httpStatus
- The response's http status code.
Response Lenses
updateSMBSecurityStrategyResponse_gatewayARN :: Lens' UpdateSMBSecurityStrategyResponse (Maybe Text) Source #
Undocumented member.
updateSMBSecurityStrategyResponse_httpStatus :: Lens' UpdateSMBSecurityStrategyResponse Int Source #
The response's http status code.