@Override
    public GrantAccessResult grantAccess(GrantAccessRequest request) {
        request = beforeClientExecution(request);
        return executeGrantAccess(request);
    }
<note>
<p>
This action can be used only with Windows stacks.
</p>
</note>
<p>
Grants RDP access to a Windows instance for a specified time period.
</p>

@param grantAccessRequest
@return Result of the GrantAccess operation returned by the service.
@throws ValidationException
        Indicates that a request was not valid.
@throws ResourceNotFoundException
        Indicates that a resource was not found.
@sample AWSOpsWorks.GrantAccess
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GrantAccess" target="_top">AWS API
     Documentation</a>
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/AWSOpsWorksClient.java