------------------------------------------------------------
-- GetPasswordData
------------------------------------------------------------
getPasswordData
    :: (MonadResource m, MonadBaseControl IO m)
    => Text -- ^ InstanceId
    -> EC2 m PasswordData
getPasswordData iid =
    ec2Query "GetPasswordData" ["InstanceId" |= iid] $ \e ->
        PasswordData
        <$> e .< "instanceId"
        <*> e .< "timestamp"
        <*> e .< "passwordData"
getPasswordData
    :: (MonadResource m, MonadBaseControl IO m)
    => Text -- ^ InstanceId
    -> EC2 m PasswordData
getPasswordData iid =
    ec2Query "GetPasswordData" ["InstanceId" |= iid] $ \e ->
        PasswordData
        <$> e .< "instanceId"
        <*> e .< "timestamp"
        <*> e .< "passwordData"
getPasswordData iid =
    ec2Query "GetPasswordData" ["InstanceId" |= iid] $ \e ->
        PasswordData
        <$> e .< "instanceId"
        <*> e .< "timestamp"
        <*> e .< "passwordData"