amazonka-opsworks-0.3.6: Amazon OpsWorks SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.GrantAccess

Contents

Description

This API can be used only with Windows stacks. Grants RDP access to a Windows instance for a specified time period.

http://docs.aws.amazon.com/opsworks/latest/APIReference/API_GrantAccess.html

Synopsis

Request

Request constructor

grantAccess Source

GrantAccess constructor.

The fields accessible through corresponding lenses are:

Request lenses

gaInstanceId :: Lens' GrantAccess Text Source

The instance's AWS OpsWorks ID.

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.

Response

Response constructor

grantAccessResponse :: GrantAccessResponse Source

GrantAccessResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

garTemporaryCredential :: 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.