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 |
Installs an application to the device in a remote access session. For Android applications, the file must be in .apk format. For iOS applications, the file must be in .ipa format.
Synopsis
- data InstallToRemoteAccessSession = InstallToRemoteAccessSession' {}
- newInstallToRemoteAccessSession :: Text -> Text -> InstallToRemoteAccessSession
- installToRemoteAccessSession_remoteAccessSessionArn :: Lens' InstallToRemoteAccessSession Text
- installToRemoteAccessSession_appArn :: Lens' InstallToRemoteAccessSession Text
- data InstallToRemoteAccessSessionResponse = InstallToRemoteAccessSessionResponse' {
- appUpload :: Maybe Upload
- httpStatus :: Int
- newInstallToRemoteAccessSessionResponse :: Int -> InstallToRemoteAccessSessionResponse
- installToRemoteAccessSessionResponse_appUpload :: Lens' InstallToRemoteAccessSessionResponse (Maybe Upload)
- installToRemoteAccessSessionResponse_httpStatus :: Lens' InstallToRemoteAccessSessionResponse Int
Creating a Request
data InstallToRemoteAccessSession Source #
Represents the request to install an Android application (in .apk format) or an iOS application (in .ipa format) as part of a remote access session.
See: newInstallToRemoteAccessSession
smart constructor.
InstallToRemoteAccessSession' | |
|
Instances
newInstallToRemoteAccessSession Source #
:: Text | |
-> Text | |
-> InstallToRemoteAccessSession |
Create a value of InstallToRemoteAccessSession
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:remoteAccessSessionArn:InstallToRemoteAccessSession'
, installToRemoteAccessSession_remoteAccessSessionArn
- The Amazon Resource Name (ARN) of the remote access session about which
you are requesting information.
$sel:appArn:InstallToRemoteAccessSession'
, installToRemoteAccessSession_appArn
- The ARN of the app about which you are requesting information.
Request Lenses
installToRemoteAccessSession_remoteAccessSessionArn :: Lens' InstallToRemoteAccessSession Text Source #
The Amazon Resource Name (ARN) of the remote access session about which you are requesting information.
installToRemoteAccessSession_appArn :: Lens' InstallToRemoteAccessSession Text Source #
The ARN of the app about which you are requesting information.
Destructuring the Response
data InstallToRemoteAccessSessionResponse Source #
Represents the response from the server after AWS Device Farm makes a request to install to a remote access session.
See: newInstallToRemoteAccessSessionResponse
smart constructor.
InstallToRemoteAccessSessionResponse' | |
|
Instances
newInstallToRemoteAccessSessionResponse Source #
Create a value of InstallToRemoteAccessSessionResponse
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:appUpload:InstallToRemoteAccessSessionResponse'
, installToRemoteAccessSessionResponse_appUpload
- An app to upload or that has been uploaded.
$sel:httpStatus:InstallToRemoteAccessSessionResponse'
, installToRemoteAccessSessionResponse_httpStatus
- The response's http status code.
Response Lenses
installToRemoteAccessSessionResponse_appUpload :: Lens' InstallToRemoteAccessSessionResponse (Maybe Upload) Source #
An app to upload or that has been uploaded.
installToRemoteAccessSessionResponse_httpStatus :: Lens' InstallToRemoteAccessSessionResponse Int Source #
The response's http status code.