| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.StorageGateway.SetSMBGuestPassword
Description
Sets the password for the guest user smbguest. The smbguest user is
the user when the authentication method for the file share is set to
GuestAccess. This operation only supported for S3 File Gateways
Synopsis
- data SetSMBGuestPassword = SetSMBGuestPassword' {
- gatewayARN :: Text
- password :: Sensitive Text
- newSetSMBGuestPassword :: Text -> Text -> SetSMBGuestPassword
- setSMBGuestPassword_gatewayARN :: Lens' SetSMBGuestPassword Text
- setSMBGuestPassword_password :: Lens' SetSMBGuestPassword Text
- data SetSMBGuestPasswordResponse = SetSMBGuestPasswordResponse' {
- gatewayARN :: Maybe Text
- httpStatus :: Int
- newSetSMBGuestPasswordResponse :: Int -> SetSMBGuestPasswordResponse
- setSMBGuestPasswordResponse_gatewayARN :: Lens' SetSMBGuestPasswordResponse (Maybe Text)
- setSMBGuestPasswordResponse_httpStatus :: Lens' SetSMBGuestPasswordResponse Int
Creating a Request
data SetSMBGuestPassword Source #
SetSMBGuestPasswordInput
See: newSetSMBGuestPassword smart constructor.
Constructors
| SetSMBGuestPassword' | |
Fields
| |
Instances
newSetSMBGuestPassword Source #
Create a value of SetSMBGuestPassword 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:
SetSMBGuestPassword, setSMBGuestPassword_gatewayARN - The Amazon Resource Name (ARN) of the S3 File Gateway the SMB file share
is associated with.
$sel:password:SetSMBGuestPassword', setSMBGuestPassword_password - The password that you want to set for your SMB server.
Request Lenses
setSMBGuestPassword_gatewayARN :: Lens' SetSMBGuestPassword Text Source #
The Amazon Resource Name (ARN) of the S3 File Gateway the SMB file share is associated with.
setSMBGuestPassword_password :: Lens' SetSMBGuestPassword Text Source #
The password that you want to set for your SMB server.
Destructuring the Response
data SetSMBGuestPasswordResponse Source #
See: newSetSMBGuestPasswordResponse smart constructor.
Constructors
| SetSMBGuestPasswordResponse' | |
Fields
| |
Instances
newSetSMBGuestPasswordResponse Source #
Create a value of SetSMBGuestPasswordResponse 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:
SetSMBGuestPassword, setSMBGuestPasswordResponse_gatewayARN - Undocumented member.
$sel:httpStatus:SetSMBGuestPasswordResponse', setSMBGuestPasswordResponse_httpStatus - The response's http status code.
Response Lenses
setSMBGuestPasswordResponse_gatewayARN :: Lens' SetSMBGuestPasswordResponse (Maybe Text) Source #
Undocumented member.
setSMBGuestPasswordResponse_httpStatus :: Lens' SetSMBGuestPasswordResponse Int Source #
The response's http status code.