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 |
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.
SetLocalConsolePassword' | |
|
Instances
newSetLocalConsolePassword Source #
:: 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.
SetLocalConsolePasswordResponse' | |
|
Instances
Eq SetLocalConsolePasswordResponse Source # | |
Read SetLocalConsolePasswordResponse Source # | |
Show SetLocalConsolePasswordResponse Source # | |
Generic SetLocalConsolePasswordResponse Source # | |
NFData SetLocalConsolePasswordResponse Source # | |
Defined in Amazonka.StorageGateway.SetLocalConsolePassword rnf :: SetLocalConsolePasswordResponse -> () # | |
type Rep SetLocalConsolePasswordResponse Source # | |
Defined in Amazonka.StorageGateway.SetLocalConsolePassword type Rep SetLocalConsolePasswordResponse = D1 ('MetaData "SetLocalConsolePasswordResponse" "Amazonka.StorageGateway.SetLocalConsolePassword" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "SetLocalConsolePasswordResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.