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 |
Amazonka.StorageGateway.SetLocalConsolePassword
Description
Sets the password for your VM local console. When you log in to the local console for the first time, you log in to the VM with the default credentials. We recommend that you set a new password. You don't need to know the default password to set a new password.
Synopsis
- data SetLocalConsolePassword = SetLocalConsolePassword' {}
- newSetLocalConsolePassword :: Text -> Text -> SetLocalConsolePassword
- setLocalConsolePassword_gatewayARN :: Lens' SetLocalConsolePassword Text
- setLocalConsolePassword_localConsolePassword :: Lens' SetLocalConsolePassword Text
- data SetLocalConsolePasswordResponse = SetLocalConsolePasswordResponse' {
- gatewayARN :: Maybe Text
- httpStatus :: Int
- newSetLocalConsolePasswordResponse :: Int -> SetLocalConsolePasswordResponse
- setLocalConsolePasswordResponse_gatewayARN :: Lens' SetLocalConsolePasswordResponse (Maybe Text)
- setLocalConsolePasswordResponse_httpStatus :: Lens' SetLocalConsolePasswordResponse Int
Creating a Request
data SetLocalConsolePassword Source #
SetLocalConsolePasswordInput
See: newSetLocalConsolePassword
smart constructor.
Constructors
SetLocalConsolePassword' | |
Fields
|
Instances
newSetLocalConsolePassword Source #
Arguments
:: Text | |
-> Text | |
-> SetLocalConsolePassword |
Create a value of SetLocalConsolePassword
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:SetLocalConsolePassword'
, setLocalConsolePassword_gatewayARN
- Undocumented member.
$sel:localConsolePassword:SetLocalConsolePassword'
, setLocalConsolePassword_localConsolePassword
- The password you want to set for your VM local console.
Request Lenses
setLocalConsolePassword_gatewayARN :: Lens' SetLocalConsolePassword Text Source #
Undocumented member.
setLocalConsolePassword_localConsolePassword :: Lens' SetLocalConsolePassword Text Source #
The password you want to set for your VM local console.
Destructuring the Response
data SetLocalConsolePasswordResponse Source #
See: newSetLocalConsolePasswordResponse
smart constructor.
Constructors
SetLocalConsolePasswordResponse' | |
Fields
|
Instances
newSetLocalConsolePasswordResponse Source #
Create a value of SetLocalConsolePasswordResponse
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:SetLocalConsolePassword'
, setLocalConsolePasswordResponse_gatewayARN
- Undocumented member.
$sel:httpStatus:SetLocalConsolePasswordResponse'
, setLocalConsolePasswordResponse_httpStatus
- The response's http status code.
Response Lenses
setLocalConsolePasswordResponse_gatewayARN :: Lens' SetLocalConsolePasswordResponse (Maybe Text) Source #
Undocumented member.
setLocalConsolePasswordResponse_httpStatus :: Lens' SetLocalConsolePasswordResponse Int Source #
The response's http status code.