Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Grants RDP access to a Windows instance for a specified time period.
- grantAccess :: Text -> GrantAccess
- data GrantAccess
- gaValidForInMinutes :: Lens' GrantAccess (Maybe Natural)
- gaInstanceId :: Lens' GrantAccess Text
- grantAccessResponse :: Int -> GrantAccessResponse
- data GrantAccessResponse
- garsTemporaryCredential :: Lens' GrantAccessResponse (Maybe TemporaryCredential)
- garsResponseStatus :: Lens' GrantAccessResponse Int
Creating a Request
Creates a value of GrantAccess
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gaValidForInMinutes
- The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.gaInstanceId
- The instance's AWS OpsWorks ID.
data GrantAccess Source #
See: grantAccess
smart constructor.
Request Lenses
gaValidForInMinutes :: Lens' GrantAccess (Maybe Natural) Source #
The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.
gaInstanceId :: Lens' GrantAccess Text Source #
The instance's AWS OpsWorks ID.
Destructuring the Response
Creates a value of GrantAccessResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
garsTemporaryCredential
- ATemporaryCredential
object that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.garsResponseStatus
- -- | The response status code.
data GrantAccessResponse Source #
Contains the response to a GrantAccess
request.
See: grantAccessResponse
smart constructor.
Response Lenses
garsTemporaryCredential :: Lens' GrantAccessResponse (Maybe TemporaryCredential) Source #
A TemporaryCredential
object that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.
garsResponseStatus :: Lens' GrantAccessResponse Int Source #
- - | The response status code.