5.0.0 • Published 7 years ago

@datafire/amazonaws_devicefarm v5.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

@datafire/amazonaws_devicefarm

Client library for AWS Device Farm

Installation and Usage

npm install --save @datafire/amazonaws_devicefarm
let amazonaws_devicefarm = require('@datafire/amazonaws_devicefarm').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_devicefarm.CreateDevicePool({
  "projectArn": "",
  "name": "",
  "rules": []
}).then(data => {
  console.log(data);
});

Description

AWS Device Farm is a service that enables mobile app developers to test Android, iOS, and Fire OS apps on physical phones, tablets, and other devices in the cloud.

Actions

CreateDevicePool

amazonaws_devicefarm.CreateDevicePool({
  "projectArn": "",
  "name": "",
  "rules": []
}, context)

Input

Output

CreateNetworkProfile

amazonaws_devicefarm.CreateNetworkProfile({
  "projectArn": "",
  "name": ""
}, context)

Input

Output

CreateProject

amazonaws_devicefarm.CreateProject({
  "name": ""
}, context)

Input

Output

CreateRemoteAccessSession

amazonaws_devicefarm.CreateRemoteAccessSession({
  "projectArn": "",
  "deviceArn": ""
}, context)

Input

Output

CreateUpload

amazonaws_devicefarm.CreateUpload({
  "projectArn": "",
  "name": "",
  "type": ""
}, context)

Input

Output

DeleteDevicePool

amazonaws_devicefarm.DeleteDevicePool({
  "arn": ""
}, context)

Input

Output

DeleteNetworkProfile

amazonaws_devicefarm.DeleteNetworkProfile({
  "arn": ""
}, context)

Input

Output

DeleteProject

amazonaws_devicefarm.DeleteProject({
  "arn": ""
}, context)

Input

Output

DeleteRemoteAccessSession

amazonaws_devicefarm.DeleteRemoteAccessSession({
  "arn": ""
}, context)

Input

Output

DeleteRun

amazonaws_devicefarm.DeleteRun({
  "arn": ""
}, context)

Input

Output

DeleteUpload

amazonaws_devicefarm.DeleteUpload({
  "arn": ""
}, context)

Input

Output

GetAccountSettings

amazonaws_devicefarm.GetAccountSettings({}, context)

Input

  • input object

Output

GetDevice

amazonaws_devicefarm.GetDevice({
  "arn": ""
}, context)

Input

Output

GetDevicePool

amazonaws_devicefarm.GetDevicePool({
  "arn": ""
}, context)

Input

Output

GetDevicePoolCompatibility

amazonaws_devicefarm.GetDevicePoolCompatibility({
  "devicePoolArn": ""
}, context)

Input

Output

GetJob

amazonaws_devicefarm.GetJob({
  "arn": ""
}, context)

Input

Output

GetNetworkProfile

amazonaws_devicefarm.GetNetworkProfile({
  "arn": ""
}, context)

Input

Output

GetOfferingStatus

amazonaws_devicefarm.GetOfferingStatus({}, context)

Input

Output

GetProject

amazonaws_devicefarm.GetProject({
  "arn": ""
}, context)

Input

Output

GetRemoteAccessSession

amazonaws_devicefarm.GetRemoteAccessSession({
  "arn": ""
}, context)

Input

Output

GetRun

amazonaws_devicefarm.GetRun({
  "arn": ""
}, context)

Input

Output

GetSuite

amazonaws_devicefarm.GetSuite({
  "arn": ""
}, context)

Input

Output

GetTest

amazonaws_devicefarm.GetTest({
  "arn": ""
}, context)

Input

Output

GetUpload

amazonaws_devicefarm.GetUpload({
  "arn": ""
}, context)

Input

Output

InstallToRemoteAccessSession

amazonaws_devicefarm.InstallToRemoteAccessSession({
  "remoteAccessSessionArn": "",
  "appArn": ""
}, context)

Input

Output

ListArtifacts

amazonaws_devicefarm.ListArtifacts({
  "arn": "",
  "type": ""
}, context)

Input

Output

ListDevicePools

amazonaws_devicefarm.ListDevicePools({
  "arn": ""
}, context)

Input

Output

ListDevices

amazonaws_devicefarm.ListDevices({}, context)

Input

Output

ListJobs

amazonaws_devicefarm.ListJobs({
  "arn": ""
}, context)

Input

Output

ListNetworkProfiles

amazonaws_devicefarm.ListNetworkProfiles({
  "arn": ""
}, context)

Input

Output

ListOfferingPromotions

amazonaws_devicefarm.ListOfferingPromotions({}, context)

Input

Output

ListOfferingTransactions

amazonaws_devicefarm.ListOfferingTransactions({}, context)

Input

Output

ListOfferings

amazonaws_devicefarm.ListOfferings({}, context)

Input

Output

ListProjects

amazonaws_devicefarm.ListProjects({}, context)

Input

Output

ListRemoteAccessSessions

amazonaws_devicefarm.ListRemoteAccessSessions({
  "arn": ""
}, context)

Input

Output

ListRuns

amazonaws_devicefarm.ListRuns({
  "arn": ""
}, context)

Input

Output

ListSamples

amazonaws_devicefarm.ListSamples({
  "arn": ""
}, context)

Input

Output

ListSuites

amazonaws_devicefarm.ListSuites({
  "arn": ""
}, context)

Input

Output

ListTests

amazonaws_devicefarm.ListTests({
  "arn": ""
}, context)

Input

Output

ListUniqueProblems

amazonaws_devicefarm.ListUniqueProblems({
  "arn": ""
}, context)

Input

Output

ListUploads

amazonaws_devicefarm.ListUploads({
  "arn": ""
}, context)

Input

Output

PurchaseOffering

amazonaws_devicefarm.PurchaseOffering({}, context)

Input

Output

RenewOffering

amazonaws_devicefarm.RenewOffering({}, context)

Input

Output

ScheduleRun

amazonaws_devicefarm.ScheduleRun({
  "projectArn": "",
  "devicePoolArn": "",
  "test": {
    "type": ""
  }
}, context)

Input

Output

StopRemoteAccessSession

amazonaws_devicefarm.StopRemoteAccessSession({
  "arn": ""
}, context)

Input

Output

StopRun

amazonaws_devicefarm.StopRun({
  "arn": ""
}, context)

Input

Output

UpdateDevicePool

amazonaws_devicefarm.UpdateDevicePool({
  "arn": ""
}, context)

Input

Output

UpdateNetworkProfile

amazonaws_devicefarm.UpdateNetworkProfile({
  "arn": ""
}, context)

Input

Output

UpdateProject

amazonaws_devicefarm.UpdateProject({
  "arn": ""
}, context)

Input

Output

Definitions

AWSAccountNumber

  • AWSAccountNumber string

AccountSettings

AccountsCleanup

  • AccountsCleanup boolean

AmazonResourceName

  • AmazonResourceName string

AmazonResourceNames

AndroidPaths

  • AndroidPaths array

AppPackagesCleanup

  • AppPackagesCleanup boolean

ArgumentException

  • ArgumentException object: An invalid argument was specified.

Artifact

ArtifactCategory

  • ArtifactCategory string (values: SCREENSHOT, FILE, LOG)

ArtifactType

  • ArtifactType string (values: UNKNOWN, SCREENSHOT, DEVICE_LOG, MESSAGE_LOG, VIDEO_LOG, RESULT_LOG, SERVICE_LOG, WEBKIT_LOG, INSTRUMENTATION_OUTPUT, EXERCISER_MONKEY_OUTPUT, CALABASH_JSON_OUTPUT, CALABASH_PRETTY_OUTPUT, CALABASH_STANDARD_OUTPUT, CALABASH_JAVA_XML_OUTPUT, AUTOMATION_OUTPUT, APPIUM_SERVER_OUTPUT, APPIUM_JAVA_OUTPUT, APPIUM_JAVA_XML_OUTPUT, APPIUM_PYTHON_OUTPUT, APPIUM_PYTHON_XML_OUTPUT, EXPLORER_EVENT_LOG, EXPLORER_SUMMARY_LOG, APPLICATION_CRASH_REPORT, XCTEST_LOG, VIDEO, CUSTOMER_ARTIFACT, CUSTOMER_ARTIFACT_LOG)

Artifacts

BillingMethod

  • BillingMethod string (values: METERED, UNMETERED)

Boolean

  • Boolean boolean

CPU

  • CPU object: Represents the amount of CPU that an app is using on a physical device. Note that this does not represent system-wide CPU usage.

ClientId

  • ClientId string

ContentType

  • ContentType string

Counters

CreateDevicePoolRequest

  • CreateDevicePoolRequest object: Represents a request to the create device pool operation.

CreateDevicePoolResult

  • CreateDevicePoolResult object: Represents the result of a create device pool request.

CreateNetworkProfileRequest

CreateNetworkProfileResult

CreateProjectRequest

  • CreateProjectRequest object: Represents a request to the create project operation.

CreateProjectResult

  • CreateProjectResult object: Represents the result of a create project request.

CreateRemoteAccessSessionConfiguration

  • CreateRemoteAccessSessionConfiguration object: Creates the configuration settings for a remote access session, including the device model and type.

CreateRemoteAccessSessionRequest

CreateRemoteAccessSessionResult

  • CreateRemoteAccessSessionResult object: Represents the server response from a request to create a remote access session.

CreateUploadRequest

CreateUploadResult

  • CreateUploadResult object: Represents the result of a create upload request.

CurrencyCode

  • CurrencyCode string (values: USD)

CustomerArtifactPaths

  • CustomerArtifactPaths object: A JSON object specifying the paths where the artifacts generated by the customer's tests, on the device or in the test environment, will be pulled from. Specify deviceHostPaths and optionally specify either iosPaths or androidPaths. For web app tests, you can specify both iosPaths and androidPaths.

DateTime

  • DateTime string

DeleteDevicePoolRequest

  • DeleteDevicePoolRequest object: Represents a request to the delete device pool operation.

DeleteDevicePoolResult

  • DeleteDevicePoolResult object: Represents the result of a delete device pool request.

DeleteNetworkProfileRequest

DeleteNetworkProfileResult

  • DeleteNetworkProfileResult object

DeleteProjectRequest

  • DeleteProjectRequest object: Represents a request to the delete project operation.

DeleteProjectResult

  • DeleteProjectResult object: Represents the result of a delete project request.

DeleteRemoteAccessSessionRequest

  • DeleteRemoteAccessSessionRequest object: Represents the request to delete the specified remote access session.

DeleteRemoteAccessSessionResult

  • DeleteRemoteAccessSessionResult object: The response from the server when a request is made to delete the remote access session.

DeleteRunRequest

  • DeleteRunRequest object: Represents a request to the delete run operation.

DeleteRunResult

  • DeleteRunResult object: Represents the result of a delete run request.

DeleteUploadRequest

  • DeleteUploadRequest object: Represents a request to the delete upload operation.

DeleteUploadResult

  • DeleteUploadResult object: Represents the result of a delete upload request.

Device

DeviceAttribute

  • DeviceAttribute string (values: ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION)

DeviceFormFactor

  • DeviceFormFactor string (values: PHONE, TABLET)

DeviceHostPaths

  • DeviceHostPaths array

DeviceMinutes

  • DeviceMinutes object: Represents the total (metered or unmetered) minutes used by the resource to run tests. Contains the sum of minutes consumed by all children.

DevicePlatform

  • DevicePlatform string (values: ANDROID, IOS)

DevicePool

DevicePoolCompatibilityResult

DevicePoolCompatibilityResults

DevicePoolType

  • DevicePoolType string (values: CURATED, PRIVATE)

DevicePools

Devices

Double

  • Double number

ExecutionConfiguration

ExecutionResult

  • ExecutionResult string (values: PENDING, PASSED, WARNED, FAILED, SKIPPED, ERRORED, STOPPED)

ExecutionResultCode

  • ExecutionResultCode string (values: PARSING_FAILED)

ExecutionStatus

  • ExecutionStatus string (values: PENDING, PENDING_CONCURRENCY, PENDING_DEVICE, PROCESSING, SCHEDULING, PREPARING, RUNNING, COMPLETED, STOPPING)

Filter

  • Filter string

GetAccountSettingsRequest

  • GetAccountSettingsRequest object: Represents the request sent to retrieve the account settings.

GetAccountSettingsResult

  • GetAccountSettingsResult object: Represents the account settings return values from the GetAccountSettings request.

GetDevicePoolCompatibilityRequest

GetDevicePoolCompatibilityResult

GetDevicePoolRequest

  • GetDevicePoolRequest object: Represents a request to the get device pool operation.

GetDevicePoolResult

  • GetDevicePoolResult object: Represents the result of a get device pool request.

GetDeviceRequest

  • GetDeviceRequest object: Represents a request to the get device request.

GetDeviceResult

  • GetDeviceResult object: Represents the result of a get device request.

GetJobRequest

  • GetJobRequest object: Represents a request to the get job operation.

GetJobResult

  • GetJobResult object: Represents the result of a get job request.

GetNetworkProfileRequest

GetNetworkProfileResult

GetOfferingStatusRequest

  • GetOfferingStatusRequest object: Represents the request to retrieve the offering status for the specified customer or account.

GetOfferingStatusResult

GetProjectRequest

  • GetProjectRequest object: Represents a request to the get project operation.

GetProjectResult

  • GetProjectResult object: Represents the result of a get project request.

GetRemoteAccessSessionRequest

  • GetRemoteAccessSessionRequest object: Represents the request to get information about the specified remote access session.

GetRemoteAccessSessionResult

  • GetRemoteAccessSessionResult object: Represents the response from the server that lists detailed information about the remote access session.

GetRunRequest

  • GetRunRequest object: Represents a request to the get run operation.

GetRunResult

  • GetRunResult object: Represents the result of a get run request.

GetSuiteRequest

  • GetSuiteRequest object: Represents a request to the get suite operation.

GetSuiteResult

  • GetSuiteResult object: Represents the result of a get suite request.

GetTestRequest

  • GetTestRequest object: Represents a request to the get test operation.

GetTestResult

  • GetTestResult object: Represents the result of a get test request.

GetUploadRequest

  • GetUploadRequest object: Represents a request to the get upload operation.

GetUploadResult

  • GetUploadResult object: Represents the result of a get upload request.

HostAddress

  • HostAddress string

IdempotencyException

  • IdempotencyException object: An entity with the same name already exists.

IncompatibilityMessage

  • IncompatibilityMessage object: Represents information about incompatibility.

IncompatibilityMessages

InstallToRemoteAccessSessionRequest

  • InstallToRemoteAccessSessionRequest object: 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.

InstallToRemoteAccessSessionResult

  • InstallToRemoteAccessSessionResult object: Represents the response from the server after AWS Device Farm makes a request to install to a remote access session.

Integer

  • Integer integer

InteractionMode

  • InteractionMode string (values: INTERACTIVE, NO_VIDEO, VIDEO_ONLY)

IosPaths

Job

JobTimeoutMinutes

  • JobTimeoutMinutes integer

Jobs

  • Jobs array

LimitExceededException

  • LimitExceededException object: A limit was exceeded.

ListArtifactsRequest

ListArtifactsResult

  • ListArtifactsResult object: Represents the result of a list artifacts operation.

ListDevicePoolsRequest

ListDevicePoolsResult

  • ListDevicePoolsResult object: Represents the result of a list device pools request.

ListDevicesRequest

ListDevicesResult

  • ListDevicesResult object: Represents the result of a list devices operation.

ListJobsRequest

ListJobsResult

  • ListJobsResult object: Represents the result of a list jobs request.

ListNetworkProfilesRequest

ListNetworkProfilesResult

ListOfferingPromotionsRequest

ListOfferingPromotionsResult

ListOfferingTransactionsRequest

  • ListOfferingTransactionsRequest object: Represents the request to list the offering transaction history.

ListOfferingTransactionsResult

ListOfferingsRequest

  • ListOfferingsRequest object: Represents the request to list all offerings.

ListOfferingsResult

  • ListOfferingsResult object: Represents the return values of the list of offerings.

ListProjectsRequest

ListProjectsResult

  • ListProjectsResult object: Represents the result of a list projects request.

ListRemoteAccessSessionsRequest

  • ListRemoteAccessSessionsRequest object: Represents the request to return information about the remote access session.

ListRemoteAccessSessionsResult

  • ListRemoteAccessSessionsResult object: Represents the response from the server after AWS Device Farm makes a request to return information about the remote access session.

ListRunsRequest

ListRunsResult

  • ListRunsResult object: Represents the result of a list runs request.

ListSamplesRequest

ListSamplesResult

  • ListSamplesResult object: Represents the result of a list samples request.

ListSuitesRequest

ListSuitesResult

  • ListSuitesResult object: Represents the result of a list suites request.

ListTestsRequest

ListTestsResult

  • ListTestsResult object: Represents the result of a list tests request.

ListUniqueProblemsRequest

ListUniqueProblemsResult

ListUploadsRequest

ListUploadsResult

  • ListUploadsResult object: Represents the result of a list uploads request.

Location

  • Location object: Represents a latitude and longitude pair, expressed in geographic coordinate system degrees (for example 47.6204, -122.3491). Elevation is currently not supported.

Long

  • Long integer

MaxSlotMap

Message

  • Message string

Metadata

  • Metadata string

MonetaryAmount

  • MonetaryAmount object: A number representing the monetary amount for an offering or transaction.

Name

  • Name string

NetworkProfile

NetworkProfileType

  • NetworkProfileType string (values: CURATED, PRIVATE)

NetworkProfiles

NotEligibleException

  • NotEligibleException object: Exception gets thrown when a user is not eligible to perform the specified transaction.

NotFoundException

  • NotFoundException object: The specified entity was not found.

Offering

OfferingIdentifier

  • OfferingIdentifier string

OfferingPromotion

OfferingPromotionIdentifier

  • OfferingPromotionIdentifier string

OfferingPromotions

OfferingStatus

OfferingStatusMap

OfferingTransaction

OfferingTransactionType

  • OfferingTransactionType string (values: PURCHASE, RENEW, SYSTEM)

OfferingTransactions

OfferingType

  • OfferingType string (values: RECURRING)

Offerings

PaginationToken

  • PaginationToken string

PercentInteger

  • PercentInteger integer

Problem

ProblemDetail

Problems

Project

Projects

PurchaseOfferingRequest

PurchaseOfferingResult

  • PurchaseOfferingResult object: The result of the purchase offering (e.g., success or failure).

PurchasedDevicesMap

Radios

  • Radios object: Represents the set of radios and their states on a device. Examples of radios include Wi-Fi, GPS, Bluetooth, and NFC.

RecurringCharge

RecurringChargeFrequency

  • RecurringChargeFrequency string (values: MONTHLY)

RecurringCharges

RemoteAccessSession

RemoteAccessSessions

RenewOfferingRequest

RenewOfferingResult

  • RenewOfferingResult object: The result of a renewal offering.

Resolution

  • Resolution object: Represents the screen resolution of a device in height and width, expressed in pixels.

Rule

RuleOperator

  • RuleOperator string (values: EQUALS, LESS_THAN, GREATER_THAN, IN, NOT_IN, CONTAINS)

Rules

  • Rules array

Run

Runs

  • Runs array

Sample

SampleType

  • SampleType string (values: CPU, MEMORY, THREADS, RX_RATE, TX_RATE, RX, TX, NATIVE_FRAMES, NATIVE_FPS, NATIVE_MIN_DRAWTIME, NATIVE_AVG_DRAWTIME, NATIVE_MAX_DRAWTIME, OPENGL_FRAMES, OPENGL_FPS, OPENGL_MIN_DRAWTIME, OPENGL_AVG_DRAWTIME, OPENGL_MAX_DRAWTIME)

Samples

ScheduleRunConfiguration

ScheduleRunRequest

ScheduleRunResult

  • ScheduleRunResult object: Represents the result of a schedule run request.

ScheduleRunTest

ServiceAccountException

  • ServiceAccountException object: There was a problem with the service account.

SshPublicKey

  • SshPublicKey string

StopRemoteAccessSessionRequest

  • StopRemoteAccessSessionRequest object: Represents the request to stop the remote access session.

StopRemoteAccessSessionResult

  • StopRemoteAccessSessionResult object: Represents the response from the server that describes the remote access session when AWS Device Farm stops the session.

StopRunRequest

  • StopRunRequest object: Represents the request to stop a specific run.

StopRunResult

  • StopRunResult object: Represents the results of your stop run attempt.

String

  • String string

Suite

Suites

Test

TestParameters

TestType

  • TestType string (values: BUILTIN_FUZZ, BUILTIN_EXPLORER, WEB_PERFORMANCE_PROFILE, APPIUM_JAVA_JUNIT, APPIUM_JAVA_TESTNG, APPIUM_PYTHON, APPIUM_WEB_JAVA_JUNIT, APPIUM_WEB_JAVA_TESTNG, APPIUM_WEB_PYTHON, CALABASH, INSTRUMENTATION, UIAUTOMATION, UIAUTOMATOR, XCTEST, XCTEST_UI, REMOTE_ACCESS_RECORD, REMOTE_ACCESS_REPLAY)

Tests

  • Tests array

TransactionIdentifier

  • TransactionIdentifier string

TrialMinutes

  • TrialMinutes object: Represents information about free trial device minutes for an AWS account.

URL

  • URL string

UniqueProblem

  • UniqueProblem object: A collection of one or more problems, grouped by their result.

UniqueProblems

UniqueProblemsByExecutionResultMap

UpdateDevicePoolRequest

UpdateDevicePoolResult

  • UpdateDevicePoolResult object: Represents the result of an update device pool request.

UpdateNetworkProfileRequest

UpdateNetworkProfileResult

UpdateProjectRequest

UpdateProjectResult

  • UpdateProjectResult object: Represents the result of an update project request.

Upload

UploadStatus

  • UploadStatus string (values: INITIALIZED, PROCESSING, SUCCEEDED, FAILED)

UploadType

  • UploadType string (values: ANDROID_APP, IOS_APP, WEB_APP, EXTERNAL_DATA, APPIUM_JAVA_JUNIT_TEST_PACKAGE, APPIUM_JAVA_TESTNG_TEST_PACKAGE, APPIUM_PYTHON_TEST_PACKAGE, APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE, APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE, APPIUM_WEB_PYTHON_TEST_PACKAGE, CALABASH_TEST_PACKAGE, INSTRUMENTATION_TEST_PACKAGE, UIAUTOMATION_TEST_PACKAGE, UIAUTOMATOR_TEST_PACKAGE, XCTEST_TEST_PACKAGE, XCTEST_UI_TEST_PACKAGE)

Uploads

5.0.0

7 years ago

4.0.0

8 years ago

3.0.4

8 years ago

3.0.3

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago