aws-sdk-devicefarm 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-devicefarm.rb +1 -1
- data/lib/aws-sdk-devicefarm/client.rb +230 -8
- data/lib/aws-sdk-devicefarm/client_api.rb +52 -0
- data/lib/aws-sdk-devicefarm/types.rb +193 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abc8dfdce4b00291ac3bf08ef62d33610f1538ae
|
4
|
+
data.tar.gz: 9ca68d134ff23ff9bc7a2086cea3decfae68a8af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45c71422528032fd96fa6b282ed88203f337d4cda1ed93fe4b946e5565b03d75518d40904bad23054a6c511ee126c4d431e87ec3cf9d1011a504ffcabb2d0924
|
7
|
+
data.tar.gz: 6ce5c42becb4ef7a4c1880ab772cc839379f24487cf6fa21bf4ddc3e0c093ad89ee64fec53928525b95833ad92ee2db5e34eab818bf6916c06e733c9fb2d56dd
|
data/lib/aws-sdk-devicefarm.rb
CHANGED
@@ -648,7 +648,7 @@ module Aws::DeviceFarm
|
|
648
648
|
#
|
649
649
|
# * IOS\_APP: An iOS upload.
|
650
650
|
#
|
651
|
-
# * WEB\_APP: A web
|
651
|
+
# * WEB\_APP: A web application upload.
|
652
652
|
#
|
653
653
|
# * EXTERNAL\_DATA: An external data upload.
|
654
654
|
#
|
@@ -720,7 +720,7 @@ module Aws::DeviceFarm
|
|
720
720
|
# resp = client.create_upload({
|
721
721
|
# project_arn: "AmazonResourceName", # required
|
722
722
|
# name: "Name", # required
|
723
|
-
# type: "ANDROID_APP", # required, accepts 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
|
723
|
+
# type: "ANDROID_APP", # required, accepts 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, APPIUM_JAVA_JUNIT_TEST_SPEC, APPIUM_JAVA_TESTNG_TEST_SPEC, APPIUM_PYTHON_TEST_SPEC, APPIUM_WEB_JAVA_JUNIT_TEST_SPEC, APPIUM_WEB_JAVA_TESTNG_TEST_SPEC, APPIUM_WEB_PYTHON_TEST_SPEC, INSTRUMENTATION_TEST_SPEC, XCTEST_UI_TEST_SPEC
|
724
724
|
# content_type: "ContentType",
|
725
725
|
# })
|
726
726
|
#
|
@@ -729,12 +729,13 @@ module Aws::DeviceFarm
|
|
729
729
|
# resp.upload.arn #=> String
|
730
730
|
# resp.upload.name #=> String
|
731
731
|
# resp.upload.created #=> Time
|
732
|
-
# resp.upload.type #=> String, one of "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"
|
732
|
+
# resp.upload.type #=> String, one of "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", "APPIUM_JAVA_JUNIT_TEST_SPEC", "APPIUM_JAVA_TESTNG_TEST_SPEC", "APPIUM_PYTHON_TEST_SPEC", "APPIUM_WEB_JAVA_JUNIT_TEST_SPEC", "APPIUM_WEB_JAVA_TESTNG_TEST_SPEC", "APPIUM_WEB_PYTHON_TEST_SPEC", "INSTRUMENTATION_TEST_SPEC", "XCTEST_UI_TEST_SPEC"
|
733
733
|
# resp.upload.status #=> String, one of "INITIALIZED", "PROCESSING", "SUCCEEDED", "FAILED"
|
734
734
|
# resp.upload.url #=> String
|
735
735
|
# resp.upload.metadata #=> String
|
736
736
|
# resp.upload.content_type #=> String
|
737
737
|
# resp.upload.message #=> String
|
738
|
+
# resp.upload.category #=> String, one of "CURATED", "PRIVATE"
|
738
739
|
#
|
739
740
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateUpload AWS API Documentation
|
740
741
|
#
|
@@ -1370,6 +1371,7 @@ module Aws::DeviceFarm
|
|
1370
1371
|
# test: {
|
1371
1372
|
# type: "BUILTIN_FUZZ", # required, accepts 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
|
1372
1373
|
# test_package_arn: "AmazonResourceName",
|
1374
|
+
# test_spec_arn: "AmazonResourceName",
|
1373
1375
|
# filter: "Filter",
|
1374
1376
|
# parameters: {
|
1375
1377
|
# "String" => "String",
|
@@ -1616,6 +1618,8 @@ module Aws::DeviceFarm
|
|
1616
1618
|
# resp.job.device_minutes.total #=> Float
|
1617
1619
|
# resp.job.device_minutes.metered #=> Float
|
1618
1620
|
# resp.job.device_minutes.unmetered #=> Float
|
1621
|
+
# resp.job.video_endpoint #=> String
|
1622
|
+
# resp.job.video_capture #=> Boolean
|
1619
1623
|
#
|
1620
1624
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetJob AWS API Documentation
|
1621
1625
|
#
|
@@ -2027,6 +2031,7 @@ module Aws::DeviceFarm
|
|
2027
2031
|
# resp.run.customer_artifact_paths.device_host_paths[0] #=> String
|
2028
2032
|
# resp.run.web_url #=> String
|
2029
2033
|
# resp.run.skip_app_resign #=> Boolean
|
2034
|
+
# resp.run.test_spec_arn #=> String
|
2030
2035
|
#
|
2031
2036
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRun AWS API Documentation
|
2032
2037
|
#
|
@@ -2194,12 +2199,13 @@ module Aws::DeviceFarm
|
|
2194
2199
|
# resp.upload.arn #=> String
|
2195
2200
|
# resp.upload.name #=> String
|
2196
2201
|
# resp.upload.created #=> Time
|
2197
|
-
# resp.upload.type #=> String, one of "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"
|
2202
|
+
# resp.upload.type #=> String, one of "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", "APPIUM_JAVA_JUNIT_TEST_SPEC", "APPIUM_JAVA_TESTNG_TEST_SPEC", "APPIUM_PYTHON_TEST_SPEC", "APPIUM_WEB_JAVA_JUNIT_TEST_SPEC", "APPIUM_WEB_JAVA_TESTNG_TEST_SPEC", "APPIUM_WEB_PYTHON_TEST_SPEC", "INSTRUMENTATION_TEST_SPEC", "XCTEST_UI_TEST_SPEC"
|
2198
2203
|
# resp.upload.status #=> String, one of "INITIALIZED", "PROCESSING", "SUCCEEDED", "FAILED"
|
2199
2204
|
# resp.upload.url #=> String
|
2200
2205
|
# resp.upload.metadata #=> String
|
2201
2206
|
# resp.upload.content_type #=> String
|
2202
2207
|
# resp.upload.message #=> String
|
2208
|
+
# resp.upload.category #=> String, one of "CURATED", "PRIVATE"
|
2203
2209
|
#
|
2204
2210
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetUpload AWS API Documentation
|
2205
2211
|
#
|
@@ -2288,12 +2294,13 @@ module Aws::DeviceFarm
|
|
2288
2294
|
# resp.app_upload.arn #=> String
|
2289
2295
|
# resp.app_upload.name #=> String
|
2290
2296
|
# resp.app_upload.created #=> Time
|
2291
|
-
# resp.app_upload.type #=> String, one of "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"
|
2297
|
+
# resp.app_upload.type #=> String, one of "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", "APPIUM_JAVA_JUNIT_TEST_SPEC", "APPIUM_JAVA_TESTNG_TEST_SPEC", "APPIUM_PYTHON_TEST_SPEC", "APPIUM_WEB_JAVA_JUNIT_TEST_SPEC", "APPIUM_WEB_JAVA_TESTNG_TEST_SPEC", "APPIUM_WEB_PYTHON_TEST_SPEC", "INSTRUMENTATION_TEST_SPEC", "XCTEST_UI_TEST_SPEC"
|
2292
2298
|
# resp.app_upload.status #=> String, one of "INITIALIZED", "PROCESSING", "SUCCEEDED", "FAILED"
|
2293
2299
|
# resp.app_upload.url #=> String
|
2294
2300
|
# resp.app_upload.metadata #=> String
|
2295
2301
|
# resp.app_upload.content_type #=> String
|
2296
2302
|
# resp.app_upload.message #=> String
|
2303
|
+
# resp.app_upload.category #=> String, one of "CURATED", "PRIVATE"
|
2297
2304
|
#
|
2298
2305
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/InstallToRemoteAccessSession AWS API Documentation
|
2299
2306
|
#
|
@@ -2353,7 +2360,7 @@ module Aws::DeviceFarm
|
|
2353
2360
|
# resp.artifacts #=> Array
|
2354
2361
|
# resp.artifacts[0].arn #=> String
|
2355
2362
|
# resp.artifacts[0].name #=> String
|
2356
|
-
# resp.artifacts[0].type #=> String, one of "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"
|
2363
|
+
# resp.artifacts[0].type #=> String, one of "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", "TESTSPEC_OUTPUT"
|
2357
2364
|
# resp.artifacts[0].extension #=> String
|
2358
2365
|
# resp.artifacts[0].url #=> String
|
2359
2366
|
# resp.next_token #=> String
|
@@ -2733,6 +2740,8 @@ module Aws::DeviceFarm
|
|
2733
2740
|
# resp.jobs[0].device_minutes.total #=> Float
|
2734
2741
|
# resp.jobs[0].device_minutes.metered #=> Float
|
2735
2742
|
# resp.jobs[0].device_minutes.unmetered #=> Float
|
2743
|
+
# resp.jobs[0].video_endpoint #=> String
|
2744
|
+
# resp.jobs[0].video_capture #=> Boolean
|
2736
2745
|
# resp.next_token #=> String
|
2737
2746
|
#
|
2738
2747
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListJobs AWS API Documentation
|
@@ -3407,6 +3416,7 @@ module Aws::DeviceFarm
|
|
3407
3416
|
# resp.runs[0].customer_artifact_paths.device_host_paths[0] #=> String
|
3408
3417
|
# resp.runs[0].web_url #=> String
|
3409
3418
|
# resp.runs[0].skip_app_resign #=> Boolean
|
3419
|
+
# resp.runs[0].test_spec_arn #=> String
|
3410
3420
|
# resp.next_token #=> String
|
3411
3421
|
#
|
3412
3422
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRuns AWS API Documentation
|
@@ -3723,6 +3733,68 @@ module Aws::DeviceFarm
|
|
3723
3733
|
# The Amazon Resource Name (ARN) of the project for which you want to
|
3724
3734
|
# list uploads.
|
3725
3735
|
#
|
3736
|
+
# @option params [String] :type
|
3737
|
+
# The type of upload.
|
3738
|
+
#
|
3739
|
+
# Must be one of the following values:
|
3740
|
+
#
|
3741
|
+
# * ANDROID\_APP: An Android upload.
|
3742
|
+
#
|
3743
|
+
# * IOS\_APP: An iOS upload.
|
3744
|
+
#
|
3745
|
+
# * WEB\_APP: A web appliction upload.
|
3746
|
+
#
|
3747
|
+
# * EXTERNAL\_DATA: An external data upload.
|
3748
|
+
#
|
3749
|
+
# * APPIUM\_JAVA\_JUNIT\_TEST\_PACKAGE: An Appium Java JUnit test
|
3750
|
+
# package upload.
|
3751
|
+
#
|
3752
|
+
# * APPIUM\_JAVA\_TESTNG\_TEST\_PACKAGE: An Appium Java TestNG test
|
3753
|
+
# package upload.
|
3754
|
+
#
|
3755
|
+
# * APPIUM\_PYTHON\_TEST\_PACKAGE: An Appium Python test package upload.
|
3756
|
+
#
|
3757
|
+
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_PACKAGE: An Appium Java JUnit test
|
3758
|
+
# package upload.
|
3759
|
+
#
|
3760
|
+
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_PACKAGE: An Appium Java TestNG test
|
3761
|
+
# package upload.
|
3762
|
+
#
|
3763
|
+
# * APPIUM\_WEB\_PYTHON\_TEST\_PACKAGE: An Appium Python test package
|
3764
|
+
# upload.
|
3765
|
+
#
|
3766
|
+
# * CALABASH\_TEST\_PACKAGE: A Calabash test package upload.
|
3767
|
+
#
|
3768
|
+
# * INSTRUMENTATION\_TEST\_PACKAGE: An instrumentation upload.
|
3769
|
+
#
|
3770
|
+
# * UIAUTOMATION\_TEST\_PACKAGE: A uiautomation test package upload.
|
3771
|
+
#
|
3772
|
+
# * UIAUTOMATOR\_TEST\_PACKAGE: A uiautomator test package upload.
|
3773
|
+
#
|
3774
|
+
# * XCTEST\_TEST\_PACKAGE: An XCode test package upload.
|
3775
|
+
#
|
3776
|
+
# * XCTEST\_UI\_TEST\_PACKAGE: An XCode UI test package upload.
|
3777
|
+
#
|
3778
|
+
# * APPIUM\_JAVA\_JUNIT\_TEST\_SPEC: An Appium Java JUnit test spec
|
3779
|
+
# upload.
|
3780
|
+
#
|
3781
|
+
# * APPIUM\_JAVA\_TESTNG\_TEST\_SPEC: An Appium Java TestNG test spec
|
3782
|
+
# upload.
|
3783
|
+
#
|
3784
|
+
# * APPIUM\_PYTHON\_TEST\_SPEC: An Appium Python test spec upload.
|
3785
|
+
#
|
3786
|
+
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_SPEC: An Appium Java JUnit test spec
|
3787
|
+
# upload.
|
3788
|
+
#
|
3789
|
+
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_SPEC: An Appium Java TestNG test
|
3790
|
+
# spec upload.
|
3791
|
+
#
|
3792
|
+
# * APPIUM\_WEB\_PYTHON\_TEST\_SPEC: An Appium Python test spec upload.
|
3793
|
+
#
|
3794
|
+
# * INSTRUMENTATION\_TEST\_SPEC: An instrumentation test spec upload.
|
3795
|
+
#
|
3796
|
+
# * XCTEST\_UI\_TEST\_SPEC: An XCode UI test spec upload.
|
3797
|
+
#
|
3726
3798
|
# @option params [String] :next_token
|
3727
3799
|
# An identifier that was returned from the previous call to this
|
3728
3800
|
# operation, which can be used to return the next set of items in the
|
@@ -3753,6 +3825,7 @@ module Aws::DeviceFarm
|
|
3753
3825
|
#
|
3754
3826
|
# resp = client.list_uploads({
|
3755
3827
|
# arn: "AmazonResourceName", # required
|
3828
|
+
# type: "ANDROID_APP", # accepts 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, APPIUM_JAVA_JUNIT_TEST_SPEC, APPIUM_JAVA_TESTNG_TEST_SPEC, APPIUM_PYTHON_TEST_SPEC, APPIUM_WEB_JAVA_JUNIT_TEST_SPEC, APPIUM_WEB_JAVA_TESTNG_TEST_SPEC, APPIUM_WEB_PYTHON_TEST_SPEC, INSTRUMENTATION_TEST_SPEC, XCTEST_UI_TEST_SPEC
|
3756
3829
|
# next_token: "PaginationToken",
|
3757
3830
|
# })
|
3758
3831
|
#
|
@@ -3762,12 +3835,13 @@ module Aws::DeviceFarm
|
|
3762
3835
|
# resp.uploads[0].arn #=> String
|
3763
3836
|
# resp.uploads[0].name #=> String
|
3764
3837
|
# resp.uploads[0].created #=> Time
|
3765
|
-
# resp.uploads[0].type #=> String, one of "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"
|
3838
|
+
# resp.uploads[0].type #=> String, one of "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", "APPIUM_JAVA_JUNIT_TEST_SPEC", "APPIUM_JAVA_TESTNG_TEST_SPEC", "APPIUM_PYTHON_TEST_SPEC", "APPIUM_WEB_JAVA_JUNIT_TEST_SPEC", "APPIUM_WEB_JAVA_TESTNG_TEST_SPEC", "APPIUM_WEB_PYTHON_TEST_SPEC", "INSTRUMENTATION_TEST_SPEC", "XCTEST_UI_TEST_SPEC"
|
3766
3839
|
# resp.uploads[0].status #=> String, one of "INITIALIZED", "PROCESSING", "SUCCEEDED", "FAILED"
|
3767
3840
|
# resp.uploads[0].url #=> String
|
3768
3841
|
# resp.uploads[0].metadata #=> String
|
3769
3842
|
# resp.uploads[0].content_type #=> String
|
3770
3843
|
# resp.uploads[0].message #=> String
|
3844
|
+
# resp.uploads[0].category #=> String, one of "CURATED", "PRIVATE"
|
3771
3845
|
# resp.next_token #=> String
|
3772
3846
|
#
|
3773
3847
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUploads AWS API Documentation
|
@@ -4056,6 +4130,7 @@ module Aws::DeviceFarm
|
|
4056
4130
|
# test: { # required
|
4057
4131
|
# type: "BUILTIN_FUZZ", # required, accepts 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
|
4058
4132
|
# test_package_arn: "AmazonResourceName",
|
4133
|
+
# test_spec_arn: "AmazonResourceName",
|
4059
4134
|
# filter: "Filter",
|
4060
4135
|
# parameters: {
|
4061
4136
|
# "String" => "String",
|
@@ -4088,6 +4163,7 @@ module Aws::DeviceFarm
|
|
4088
4163
|
# job_timeout_minutes: 1,
|
4089
4164
|
# accounts_cleanup: false,
|
4090
4165
|
# app_packages_cleanup: false,
|
4166
|
+
# video_capture: false,
|
4091
4167
|
# skip_app_resign: false,
|
4092
4168
|
# },
|
4093
4169
|
# })
|
@@ -4151,6 +4227,7 @@ module Aws::DeviceFarm
|
|
4151
4227
|
# resp.run.customer_artifact_paths.device_host_paths[0] #=> String
|
4152
4228
|
# resp.run.web_url #=> String
|
4153
4229
|
# resp.run.skip_app_resign #=> Boolean
|
4230
|
+
# resp.run.test_spec_arn #=> String
|
4154
4231
|
#
|
4155
4232
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRun AWS API Documentation
|
4156
4233
|
#
|
@@ -4161,6 +4238,98 @@ module Aws::DeviceFarm
|
|
4161
4238
|
req.send_request(options)
|
4162
4239
|
end
|
4163
4240
|
|
4241
|
+
# Initiates a stop request for the current job. AWS Device Farm will
|
4242
|
+
# immediately stop the job on the device where tests have not started
|
4243
|
+
# executing, and you will not be billed for this device. On the device
|
4244
|
+
# where tests have started executing, Setup Suite and Teardown Suite
|
4245
|
+
# tests will run to completion before stopping execution on the device.
|
4246
|
+
# You will be billed for Setup, Teardown, and any tests that were in
|
4247
|
+
# progress or already completed.
|
4248
|
+
#
|
4249
|
+
# @option params [required, String] :arn
|
4250
|
+
# Represents the Amazon Resource Name (ARN) of the Device Farm job you
|
4251
|
+
# wish to stop.
|
4252
|
+
#
|
4253
|
+
# @return [Types::StopJobResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4254
|
+
#
|
4255
|
+
# * {Types::StopJobResult#job #job} => Types::Job
|
4256
|
+
#
|
4257
|
+
# @example Request syntax with placeholder values
|
4258
|
+
#
|
4259
|
+
# resp = client.stop_job({
|
4260
|
+
# arn: "AmazonResourceName", # required
|
4261
|
+
# })
|
4262
|
+
#
|
4263
|
+
# @example Response structure
|
4264
|
+
#
|
4265
|
+
# resp.job.arn #=> String
|
4266
|
+
# resp.job.name #=> String
|
4267
|
+
# resp.job.type #=> String, one of "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"
|
4268
|
+
# resp.job.created #=> Time
|
4269
|
+
# resp.job.status #=> String, one of "PENDING", "PENDING_CONCURRENCY", "PENDING_DEVICE", "PROCESSING", "SCHEDULING", "PREPARING", "RUNNING", "COMPLETED", "STOPPING"
|
4270
|
+
# resp.job.result #=> String, one of "PENDING", "PASSED", "WARNED", "FAILED", "SKIPPED", "ERRORED", "STOPPED"
|
4271
|
+
# resp.job.started #=> Time
|
4272
|
+
# resp.job.stopped #=> Time
|
4273
|
+
# resp.job.counters.total #=> Integer
|
4274
|
+
# resp.job.counters.passed #=> Integer
|
4275
|
+
# resp.job.counters.failed #=> Integer
|
4276
|
+
# resp.job.counters.warned #=> Integer
|
4277
|
+
# resp.job.counters.errored #=> Integer
|
4278
|
+
# resp.job.counters.stopped #=> Integer
|
4279
|
+
# resp.job.counters.skipped #=> Integer
|
4280
|
+
# resp.job.message #=> String
|
4281
|
+
# resp.job.device.arn #=> String
|
4282
|
+
# resp.job.device.name #=> String
|
4283
|
+
# resp.job.device.manufacturer #=> String
|
4284
|
+
# resp.job.device.model #=> String
|
4285
|
+
# resp.job.device.model_id #=> String
|
4286
|
+
# resp.job.device.form_factor #=> String, one of "PHONE", "TABLET"
|
4287
|
+
# resp.job.device.platform #=> String, one of "ANDROID", "IOS"
|
4288
|
+
# resp.job.device.os #=> String
|
4289
|
+
# resp.job.device.cpu.frequency #=> String
|
4290
|
+
# resp.job.device.cpu.architecture #=> String
|
4291
|
+
# resp.job.device.cpu.clock #=> Float
|
4292
|
+
# resp.job.device.resolution.width #=> Integer
|
4293
|
+
# resp.job.device.resolution.height #=> Integer
|
4294
|
+
# resp.job.device.heap_size #=> Integer
|
4295
|
+
# resp.job.device.memory #=> Integer
|
4296
|
+
# resp.job.device.image #=> String
|
4297
|
+
# resp.job.device.carrier #=> String
|
4298
|
+
# resp.job.device.radio #=> String
|
4299
|
+
# resp.job.device.remote_access_enabled #=> Boolean
|
4300
|
+
# resp.job.device.remote_debug_enabled #=> Boolean
|
4301
|
+
# resp.job.device.fleet_type #=> String
|
4302
|
+
# resp.job.device.fleet_name #=> String
|
4303
|
+
# resp.job.device.instances #=> Array
|
4304
|
+
# resp.job.device.instances[0].arn #=> String
|
4305
|
+
# resp.job.device.instances[0].device_arn #=> String
|
4306
|
+
# resp.job.device.instances[0].labels #=> Array
|
4307
|
+
# resp.job.device.instances[0].labels[0] #=> String
|
4308
|
+
# resp.job.device.instances[0].status #=> String, one of "IN_USE", "PREPARING", "AVAILABLE", "NOT_AVAILABLE"
|
4309
|
+
# resp.job.device.instances[0].udid #=> String
|
4310
|
+
# resp.job.device.instances[0].instance_profile.arn #=> String
|
4311
|
+
# resp.job.device.instances[0].instance_profile.package_cleanup #=> Boolean
|
4312
|
+
# resp.job.device.instances[0].instance_profile.exclude_app_packages_from_cleanup #=> Array
|
4313
|
+
# resp.job.device.instances[0].instance_profile.exclude_app_packages_from_cleanup[0] #=> String
|
4314
|
+
# resp.job.device.instances[0].instance_profile.reboot_after_use #=> Boolean
|
4315
|
+
# resp.job.device.instances[0].instance_profile.name #=> String
|
4316
|
+
# resp.job.device.instances[0].instance_profile.description #=> String
|
4317
|
+
# resp.job.instance_arn #=> String
|
4318
|
+
# resp.job.device_minutes.total #=> Float
|
4319
|
+
# resp.job.device_minutes.metered #=> Float
|
4320
|
+
# resp.job.device_minutes.unmetered #=> Float
|
4321
|
+
# resp.job.video_endpoint #=> String
|
4322
|
+
# resp.job.video_capture #=> Boolean
|
4323
|
+
#
|
4324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopJob AWS API Documentation
|
4325
|
+
#
|
4326
|
+
# @overload stop_job(params = {})
|
4327
|
+
# @param [Hash] params ({})
|
4328
|
+
def stop_job(params = {}, options = {})
|
4329
|
+
req = build_request(:stop_job, params)
|
4330
|
+
req.send_request(options)
|
4331
|
+
end
|
4332
|
+
|
4164
4333
|
# Ends a specified remote access session.
|
4165
4334
|
#
|
4166
4335
|
# @option params [required, String] :arn
|
@@ -4343,6 +4512,7 @@ module Aws::DeviceFarm
|
|
4343
4512
|
# resp.run.customer_artifact_paths.device_host_paths[0] #=> String
|
4344
4513
|
# resp.run.web_url #=> String
|
4345
4514
|
# resp.run.skip_app_resign #=> Boolean
|
4515
|
+
# resp.run.test_spec_arn #=> String
|
4346
4516
|
#
|
4347
4517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRun AWS API Documentation
|
4348
4518
|
#
|
@@ -4703,6 +4873,58 @@ module Aws::DeviceFarm
|
|
4703
4873
|
req.send_request(options)
|
4704
4874
|
end
|
4705
4875
|
|
4876
|
+
# Update an uploaded test specification (test spec).
|
4877
|
+
#
|
4878
|
+
# @option params [required, String] :arn
|
4879
|
+
# The Amazon Resource Name (ARN) of the uploaded test spec.
|
4880
|
+
#
|
4881
|
+
# @option params [String] :name
|
4882
|
+
# The upload's test spec file name. The name should not contain the
|
4883
|
+
# '/' character. The test spec file name must end with the `.yaml` or
|
4884
|
+
# `.yml` file extension.
|
4885
|
+
#
|
4886
|
+
# @option params [String] :content_type
|
4887
|
+
# The upload's content type (for example, "application/x-yaml").
|
4888
|
+
#
|
4889
|
+
# @option params [Boolean] :edit_content
|
4890
|
+
# Set to true if the YAML file has changed and needs to be updated;
|
4891
|
+
# otherwise, set to false.
|
4892
|
+
#
|
4893
|
+
# @return [Types::UpdateUploadResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4894
|
+
#
|
4895
|
+
# * {Types::UpdateUploadResult#upload #upload} => Types::Upload
|
4896
|
+
#
|
4897
|
+
# @example Request syntax with placeholder values
|
4898
|
+
#
|
4899
|
+
# resp = client.update_upload({
|
4900
|
+
# arn: "AmazonResourceName", # required
|
4901
|
+
# name: "Name",
|
4902
|
+
# content_type: "ContentType",
|
4903
|
+
# edit_content: false,
|
4904
|
+
# })
|
4905
|
+
#
|
4906
|
+
# @example Response structure
|
4907
|
+
#
|
4908
|
+
# resp.upload.arn #=> String
|
4909
|
+
# resp.upload.name #=> String
|
4910
|
+
# resp.upload.created #=> Time
|
4911
|
+
# resp.upload.type #=> String, one of "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", "APPIUM_JAVA_JUNIT_TEST_SPEC", "APPIUM_JAVA_TESTNG_TEST_SPEC", "APPIUM_PYTHON_TEST_SPEC", "APPIUM_WEB_JAVA_JUNIT_TEST_SPEC", "APPIUM_WEB_JAVA_TESTNG_TEST_SPEC", "APPIUM_WEB_PYTHON_TEST_SPEC", "INSTRUMENTATION_TEST_SPEC", "XCTEST_UI_TEST_SPEC"
|
4912
|
+
# resp.upload.status #=> String, one of "INITIALIZED", "PROCESSING", "SUCCEEDED", "FAILED"
|
4913
|
+
# resp.upload.url #=> String
|
4914
|
+
# resp.upload.metadata #=> String
|
4915
|
+
# resp.upload.content_type #=> String
|
4916
|
+
# resp.upload.message #=> String
|
4917
|
+
# resp.upload.category #=> String, one of "CURATED", "PRIVATE"
|
4918
|
+
#
|
4919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateUpload AWS API Documentation
|
4920
|
+
#
|
4921
|
+
# @overload update_upload(params = {})
|
4922
|
+
# @param [Hash] params ({})
|
4923
|
+
def update_upload(params = {}, options = {})
|
4924
|
+
req = build_request(:update_upload, params)
|
4925
|
+
req.send_request(options)
|
4926
|
+
end
|
4927
|
+
|
4706
4928
|
# Updates information about an existing Amazon Virtual Private Cloud
|
4707
4929
|
# (VPC) endpoint configuration.
|
4708
4930
|
#
|
@@ -4770,7 +4992,7 @@ module Aws::DeviceFarm
|
|
4770
4992
|
params: params,
|
4771
4993
|
config: config)
|
4772
4994
|
context[:gem_name] = 'aws-sdk-devicefarm'
|
4773
|
-
context[:gem_version] = '1.
|
4995
|
+
context[:gem_version] = '1.8.0'
|
4774
4996
|
Seahorse::Client::Request.new(handlers, context)
|
4775
4997
|
end
|
4776
4998
|
|
@@ -231,6 +231,8 @@ module Aws::DeviceFarm
|
|
231
231
|
ServiceDnsName = Shapes::StringShape.new(name: 'ServiceDnsName')
|
232
232
|
SkipAppResign = Shapes::BooleanShape.new(name: 'SkipAppResign')
|
233
233
|
SshPublicKey = Shapes::StringShape.new(name: 'SshPublicKey')
|
234
|
+
StopJobRequest = Shapes::StructureShape.new(name: 'StopJobRequest')
|
235
|
+
StopJobResult = Shapes::StructureShape.new(name: 'StopJobResult')
|
234
236
|
StopRemoteAccessSessionRequest = Shapes::StructureShape.new(name: 'StopRemoteAccessSessionRequest')
|
235
237
|
StopRemoteAccessSessionResult = Shapes::StructureShape.new(name: 'StopRemoteAccessSessionResult')
|
236
238
|
StopRunRequest = Shapes::StructureShape.new(name: 'StopRunRequest')
|
@@ -258,9 +260,12 @@ module Aws::DeviceFarm
|
|
258
260
|
UpdateNetworkProfileResult = Shapes::StructureShape.new(name: 'UpdateNetworkProfileResult')
|
259
261
|
UpdateProjectRequest = Shapes::StructureShape.new(name: 'UpdateProjectRequest')
|
260
262
|
UpdateProjectResult = Shapes::StructureShape.new(name: 'UpdateProjectResult')
|
263
|
+
UpdateUploadRequest = Shapes::StructureShape.new(name: 'UpdateUploadRequest')
|
264
|
+
UpdateUploadResult = Shapes::StructureShape.new(name: 'UpdateUploadResult')
|
261
265
|
UpdateVPCEConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateVPCEConfigurationRequest')
|
262
266
|
UpdateVPCEConfigurationResult = Shapes::StructureShape.new(name: 'UpdateVPCEConfigurationResult')
|
263
267
|
Upload = Shapes::StructureShape.new(name: 'Upload')
|
268
|
+
UploadCategory = Shapes::StringShape.new(name: 'UploadCategory')
|
264
269
|
UploadStatus = Shapes::StringShape.new(name: 'UploadStatus')
|
265
270
|
UploadType = Shapes::StringShape.new(name: 'UploadType')
|
266
271
|
Uploads = Shapes::ListShape.new(name: 'Uploads')
|
@@ -269,6 +274,7 @@ module Aws::DeviceFarm
|
|
269
274
|
VPCEConfigurationName = Shapes::StringShape.new(name: 'VPCEConfigurationName')
|
270
275
|
VPCEConfigurations = Shapes::ListShape.new(name: 'VPCEConfigurations')
|
271
276
|
VPCEServiceName = Shapes::StringShape.new(name: 'VPCEServiceName')
|
277
|
+
VideoCapture = Shapes::BooleanShape.new(name: 'VideoCapture')
|
272
278
|
|
273
279
|
AccountSettings.add_member(:aws_account_number, Shapes::ShapeRef.new(shape: AWSAccountNumber, location_name: "awsAccountNumber"))
|
274
280
|
AccountSettings.add_member(:unmetered_devices, Shapes::ShapeRef.new(shape: PurchasedDevicesMap, location_name: "unmeteredDevices"))
|
@@ -494,6 +500,7 @@ module Aws::DeviceFarm
|
|
494
500
|
ExecutionConfiguration.add_member(:job_timeout_minutes, Shapes::ShapeRef.new(shape: JobTimeoutMinutes, location_name: "jobTimeoutMinutes"))
|
495
501
|
ExecutionConfiguration.add_member(:accounts_cleanup, Shapes::ShapeRef.new(shape: AccountsCleanup, location_name: "accountsCleanup"))
|
496
502
|
ExecutionConfiguration.add_member(:app_packages_cleanup, Shapes::ShapeRef.new(shape: AppPackagesCleanup, location_name: "appPackagesCleanup"))
|
503
|
+
ExecutionConfiguration.add_member(:video_capture, Shapes::ShapeRef.new(shape: VideoCapture, location_name: "videoCapture"))
|
497
504
|
ExecutionConfiguration.add_member(:skip_app_resign, Shapes::ShapeRef.new(shape: SkipAppResign, location_name: "skipAppResign"))
|
498
505
|
ExecutionConfiguration.struct_class = Types::ExecutionConfiguration
|
499
506
|
|
@@ -639,6 +646,8 @@ module Aws::DeviceFarm
|
|
639
646
|
Job.add_member(:device, Shapes::ShapeRef.new(shape: Device, location_name: "device"))
|
640
647
|
Job.add_member(:instance_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "instanceArn"))
|
641
648
|
Job.add_member(:device_minutes, Shapes::ShapeRef.new(shape: DeviceMinutes, location_name: "deviceMinutes"))
|
649
|
+
Job.add_member(:video_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "videoEndpoint"))
|
650
|
+
Job.add_member(:video_capture, Shapes::ShapeRef.new(shape: VideoCapture, location_name: "videoCapture"))
|
642
651
|
Job.struct_class = Types::Job
|
643
652
|
|
644
653
|
Jobs.member = Shapes::ShapeRef.new(shape: Job)
|
@@ -780,6 +789,7 @@ module Aws::DeviceFarm
|
|
780
789
|
ListUniqueProblemsResult.struct_class = Types::ListUniqueProblemsResult
|
781
790
|
|
782
791
|
ListUploadsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "arn"))
|
792
|
+
ListUploadsRequest.add_member(:type, Shapes::ShapeRef.new(shape: UploadType, location_name: "type"))
|
783
793
|
ListUploadsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
784
794
|
ListUploadsRequest.struct_class = Types::ListUploadsRequest
|
785
795
|
|
@@ -975,6 +985,7 @@ module Aws::DeviceFarm
|
|
975
985
|
Run.add_member(:customer_artifact_paths, Shapes::ShapeRef.new(shape: CustomerArtifactPaths, location_name: "customerArtifactPaths"))
|
976
986
|
Run.add_member(:web_url, Shapes::ShapeRef.new(shape: String, location_name: "webUrl"))
|
977
987
|
Run.add_member(:skip_app_resign, Shapes::ShapeRef.new(shape: SkipAppResign, location_name: "skipAppResign"))
|
988
|
+
Run.add_member(:test_spec_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "testSpecArn"))
|
978
989
|
Run.struct_class = Types::Run
|
979
990
|
|
980
991
|
Runs.member = Shapes::ShapeRef.new(shape: Run)
|
@@ -1011,10 +1022,17 @@ module Aws::DeviceFarm
|
|
1011
1022
|
|
1012
1023
|
ScheduleRunTest.add_member(:type, Shapes::ShapeRef.new(shape: TestType, required: true, location_name: "type"))
|
1013
1024
|
ScheduleRunTest.add_member(:test_package_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "testPackageArn"))
|
1025
|
+
ScheduleRunTest.add_member(:test_spec_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "testSpecArn"))
|
1014
1026
|
ScheduleRunTest.add_member(:filter, Shapes::ShapeRef.new(shape: Filter, location_name: "filter"))
|
1015
1027
|
ScheduleRunTest.add_member(:parameters, Shapes::ShapeRef.new(shape: TestParameters, location_name: "parameters"))
|
1016
1028
|
ScheduleRunTest.struct_class = Types::ScheduleRunTest
|
1017
1029
|
|
1030
|
+
StopJobRequest.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "arn"))
|
1031
|
+
StopJobRequest.struct_class = Types::StopJobRequest
|
1032
|
+
|
1033
|
+
StopJobResult.add_member(:job, Shapes::ShapeRef.new(shape: Job, location_name: "job"))
|
1034
|
+
StopJobResult.struct_class = Types::StopJobResult
|
1035
|
+
|
1018
1036
|
StopRemoteAccessSessionRequest.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "arn"))
|
1019
1037
|
StopRemoteAccessSessionRequest.struct_class = Types::StopRemoteAccessSessionRequest
|
1020
1038
|
|
@@ -1126,6 +1144,15 @@ module Aws::DeviceFarm
|
|
1126
1144
|
UpdateProjectResult.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
|
1127
1145
|
UpdateProjectResult.struct_class = Types::UpdateProjectResult
|
1128
1146
|
|
1147
|
+
UpdateUploadRequest.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "arn"))
|
1148
|
+
UpdateUploadRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
1149
|
+
UpdateUploadRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, location_name: "contentType"))
|
1150
|
+
UpdateUploadRequest.add_member(:edit_content, Shapes::ShapeRef.new(shape: Boolean, location_name: "editContent"))
|
1151
|
+
UpdateUploadRequest.struct_class = Types::UpdateUploadRequest
|
1152
|
+
|
1153
|
+
UpdateUploadResult.add_member(:upload, Shapes::ShapeRef.new(shape: Upload, location_name: "upload"))
|
1154
|
+
UpdateUploadResult.struct_class = Types::UpdateUploadResult
|
1155
|
+
|
1129
1156
|
UpdateVPCEConfigurationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "arn"))
|
1130
1157
|
UpdateVPCEConfigurationRequest.add_member(:vpce_configuration_name, Shapes::ShapeRef.new(shape: VPCEConfigurationName, location_name: "vpceConfigurationName"))
|
1131
1158
|
UpdateVPCEConfigurationRequest.add_member(:vpce_service_name, Shapes::ShapeRef.new(shape: VPCEServiceName, location_name: "vpceServiceName"))
|
@@ -1145,6 +1172,7 @@ module Aws::DeviceFarm
|
|
1145
1172
|
Upload.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "metadata"))
|
1146
1173
|
Upload.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, location_name: "contentType"))
|
1147
1174
|
Upload.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
1175
|
+
Upload.add_member(:category, Shapes::ShapeRef.new(shape: UploadCategory, location_name: "category"))
|
1148
1176
|
Upload.struct_class = Types::Upload
|
1149
1177
|
|
1150
1178
|
Uploads.member = Shapes::ShapeRef.new(shape: Upload)
|
@@ -1894,6 +1922,18 @@ module Aws::DeviceFarm
|
|
1894
1922
|
o.errors << Shapes::ShapeRef.new(shape: ServiceAccountException)
|
1895
1923
|
end)
|
1896
1924
|
|
1925
|
+
api.add_operation(:stop_job, Seahorse::Model::Operation.new.tap do |o|
|
1926
|
+
o.name = "StopJob"
|
1927
|
+
o.http_method = "POST"
|
1928
|
+
o.http_request_uri = "/"
|
1929
|
+
o.input = Shapes::ShapeRef.new(shape: StopJobRequest)
|
1930
|
+
o.output = Shapes::ShapeRef.new(shape: StopJobResult)
|
1931
|
+
o.errors << Shapes::ShapeRef.new(shape: ArgumentException)
|
1932
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1933
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1934
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceAccountException)
|
1935
|
+
end)
|
1936
|
+
|
1897
1937
|
api.add_operation(:stop_remote_access_session, Seahorse::Model::Operation.new.tap do |o|
|
1898
1938
|
o.name = "StopRemoteAccessSession"
|
1899
1939
|
o.http_method = "POST"
|
@@ -1978,6 +2018,18 @@ module Aws::DeviceFarm
|
|
1978
2018
|
o.errors << Shapes::ShapeRef.new(shape: ServiceAccountException)
|
1979
2019
|
end)
|
1980
2020
|
|
2021
|
+
api.add_operation(:update_upload, Seahorse::Model::Operation.new.tap do |o|
|
2022
|
+
o.name = "UpdateUpload"
|
2023
|
+
o.http_method = "POST"
|
2024
|
+
o.http_request_uri = "/"
|
2025
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateUploadRequest)
|
2026
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateUploadResult)
|
2027
|
+
o.errors << Shapes::ShapeRef.new(shape: ArgumentException)
|
2028
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2029
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2030
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceAccountException)
|
2031
|
+
end)
|
2032
|
+
|
1981
2033
|
api.add_operation(:update_vpce_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1982
2034
|
o.name = "UpdateVPCEConfiguration"
|
1983
2035
|
o.http_method = "POST"
|
@@ -664,7 +664,7 @@ module Aws::DeviceFarm
|
|
664
664
|
# {
|
665
665
|
# project_arn: "AmazonResourceName", # required
|
666
666
|
# name: "Name", # required
|
667
|
-
# type: "ANDROID_APP", # required, accepts 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
|
667
|
+
# type: "ANDROID_APP", # required, accepts 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, APPIUM_JAVA_JUNIT_TEST_SPEC, APPIUM_JAVA_TESTNG_TEST_SPEC, APPIUM_PYTHON_TEST_SPEC, APPIUM_WEB_JAVA_JUNIT_TEST_SPEC, APPIUM_WEB_JAVA_TESTNG_TEST_SPEC, APPIUM_WEB_PYTHON_TEST_SPEC, INSTRUMENTATION_TEST_SPEC, XCTEST_UI_TEST_SPEC
|
668
668
|
# content_type: "ContentType",
|
669
669
|
# }
|
670
670
|
#
|
@@ -689,7 +689,7 @@ module Aws::DeviceFarm
|
|
689
689
|
#
|
690
690
|
# * IOS\_APP: An iOS upload.
|
691
691
|
#
|
692
|
-
# * WEB\_APP: A web
|
692
|
+
# * WEB\_APP: A web application upload.
|
693
693
|
#
|
694
694
|
# * EXTERNAL\_DATA: An external data upload.
|
695
695
|
#
|
@@ -1318,6 +1318,7 @@ module Aws::DeviceFarm
|
|
1318
1318
|
# job_timeout_minutes: 1,
|
1319
1319
|
# accounts_cleanup: false,
|
1320
1320
|
# app_packages_cleanup: false,
|
1321
|
+
# video_capture: false,
|
1321
1322
|
# skip_app_resign: false,
|
1322
1323
|
# }
|
1323
1324
|
#
|
@@ -1335,6 +1336,11 @@ module Aws::DeviceFarm
|
|
1335
1336
|
# otherwise, false.
|
1336
1337
|
# @return [Boolean]
|
1337
1338
|
#
|
1339
|
+
# @!attribute [rw] video_capture
|
1340
|
+
# Set to true to enable video capture; otherwise, set to false. The
|
1341
|
+
# default is true.
|
1342
|
+
# @return [Boolean]
|
1343
|
+
#
|
1338
1344
|
# @!attribute [rw] skip_app_resign
|
1339
1345
|
# When set to `true`, for private devices, Device Farm will not sign
|
1340
1346
|
# your app again. For public devices, Device Farm always signs your
|
@@ -1354,6 +1360,7 @@ module Aws::DeviceFarm
|
|
1354
1360
|
:job_timeout_minutes,
|
1355
1361
|
:accounts_cleanup,
|
1356
1362
|
:app_packages_cleanup,
|
1363
|
+
:video_capture,
|
1357
1364
|
:skip_app_resign)
|
1358
1365
|
include Aws::Structure
|
1359
1366
|
end
|
@@ -1422,6 +1429,7 @@ module Aws::DeviceFarm
|
|
1422
1429
|
# test: {
|
1423
1430
|
# type: "BUILTIN_FUZZ", # required, accepts 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
|
1424
1431
|
# test_package_arn: "AmazonResourceName",
|
1432
|
+
# test_spec_arn: "AmazonResourceName",
|
1425
1433
|
# filter: "Filter",
|
1426
1434
|
# parameters: {
|
1427
1435
|
# "String" => "String",
|
@@ -2220,6 +2228,15 @@ module Aws::DeviceFarm
|
|
2220
2228
|
# Represents the total (metered or unmetered) minutes used by the job.
|
2221
2229
|
# @return [Types::DeviceMinutes]
|
2222
2230
|
#
|
2231
|
+
# @!attribute [rw] video_endpoint
|
2232
|
+
# The endpoint for streaming device video.
|
2233
|
+
# @return [String]
|
2234
|
+
#
|
2235
|
+
# @!attribute [rw] video_capture
|
2236
|
+
# This value is set to true if video capture is enabled; otherwise, it
|
2237
|
+
# is set to false.
|
2238
|
+
# @return [Boolean]
|
2239
|
+
#
|
2223
2240
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Job AWS API Documentation
|
2224
2241
|
#
|
2225
2242
|
class Job < Struct.new(
|
@@ -2235,7 +2252,9 @@ module Aws::DeviceFarm
|
|
2235
2252
|
:message,
|
2236
2253
|
:device,
|
2237
2254
|
:instance_arn,
|
2238
|
-
:device_minutes
|
2255
|
+
:device_minutes,
|
2256
|
+
:video_endpoint,
|
2257
|
+
:video_capture)
|
2239
2258
|
include Aws::Structure
|
2240
2259
|
end
|
2241
2260
|
|
@@ -3098,6 +3117,7 @@ module Aws::DeviceFarm
|
|
3098
3117
|
#
|
3099
3118
|
# {
|
3100
3119
|
# arn: "AmazonResourceName", # required
|
3120
|
+
# type: "ANDROID_APP", # accepts 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, APPIUM_JAVA_JUNIT_TEST_SPEC, APPIUM_JAVA_TESTNG_TEST_SPEC, APPIUM_PYTHON_TEST_SPEC, APPIUM_WEB_JAVA_JUNIT_TEST_SPEC, APPIUM_WEB_JAVA_TESTNG_TEST_SPEC, APPIUM_WEB_PYTHON_TEST_SPEC, INSTRUMENTATION_TEST_SPEC, XCTEST_UI_TEST_SPEC
|
3101
3121
|
# next_token: "PaginationToken",
|
3102
3122
|
# }
|
3103
3123
|
#
|
@@ -3106,6 +3126,71 @@ module Aws::DeviceFarm
|
|
3106
3126
|
# list uploads.
|
3107
3127
|
# @return [String]
|
3108
3128
|
#
|
3129
|
+
# @!attribute [rw] type
|
3130
|
+
# The type of upload.
|
3131
|
+
#
|
3132
|
+
# Must be one of the following values:
|
3133
|
+
#
|
3134
|
+
# * ANDROID\_APP: An Android upload.
|
3135
|
+
#
|
3136
|
+
# * IOS\_APP: An iOS upload.
|
3137
|
+
#
|
3138
|
+
# * WEB\_APP: A web appliction upload.
|
3139
|
+
#
|
3140
|
+
# * EXTERNAL\_DATA: An external data upload.
|
3141
|
+
#
|
3142
|
+
# * APPIUM\_JAVA\_JUNIT\_TEST\_PACKAGE: An Appium Java JUnit test
|
3143
|
+
# package upload.
|
3144
|
+
#
|
3145
|
+
# * APPIUM\_JAVA\_TESTNG\_TEST\_PACKAGE: An Appium Java TestNG test
|
3146
|
+
# package upload.
|
3147
|
+
#
|
3148
|
+
# * APPIUM\_PYTHON\_TEST\_PACKAGE: An Appium Python test package
|
3149
|
+
# upload.
|
3150
|
+
#
|
3151
|
+
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_PACKAGE: An Appium Java JUnit test
|
3152
|
+
# package upload.
|
3153
|
+
#
|
3154
|
+
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_PACKAGE: An Appium Java TestNG
|
3155
|
+
# test package upload.
|
3156
|
+
#
|
3157
|
+
# * APPIUM\_WEB\_PYTHON\_TEST\_PACKAGE: An Appium Python test package
|
3158
|
+
# upload.
|
3159
|
+
#
|
3160
|
+
# * CALABASH\_TEST\_PACKAGE: A Calabash test package upload.
|
3161
|
+
#
|
3162
|
+
# * INSTRUMENTATION\_TEST\_PACKAGE: An instrumentation upload.
|
3163
|
+
#
|
3164
|
+
# * UIAUTOMATION\_TEST\_PACKAGE: A uiautomation test package upload.
|
3165
|
+
#
|
3166
|
+
# * UIAUTOMATOR\_TEST\_PACKAGE: A uiautomator test package upload.
|
3167
|
+
#
|
3168
|
+
# * XCTEST\_TEST\_PACKAGE: An XCode test package upload.
|
3169
|
+
#
|
3170
|
+
# * XCTEST\_UI\_TEST\_PACKAGE: An XCode UI test package upload.
|
3171
|
+
#
|
3172
|
+
# * APPIUM\_JAVA\_JUNIT\_TEST\_SPEC: An Appium Java JUnit test spec
|
3173
|
+
# upload.
|
3174
|
+
#
|
3175
|
+
# * APPIUM\_JAVA\_TESTNG\_TEST\_SPEC: An Appium Java TestNG test spec
|
3176
|
+
# upload.
|
3177
|
+
#
|
3178
|
+
# * APPIUM\_PYTHON\_TEST\_SPEC: An Appium Python test spec upload.
|
3179
|
+
#
|
3180
|
+
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_SPEC: An Appium Java JUnit test
|
3181
|
+
# spec upload.
|
3182
|
+
#
|
3183
|
+
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_SPEC: An Appium Java TestNG test
|
3184
|
+
# spec upload.
|
3185
|
+
#
|
3186
|
+
# * APPIUM\_WEB\_PYTHON\_TEST\_SPEC: An Appium Python test spec
|
3187
|
+
# upload.
|
3188
|
+
#
|
3189
|
+
# * INSTRUMENTATION\_TEST\_SPEC: An instrumentation test spec upload.
|
3190
|
+
#
|
3191
|
+
# * XCTEST\_UI\_TEST\_SPEC: An XCode UI test spec upload.
|
3192
|
+
# @return [String]
|
3193
|
+
#
|
3109
3194
|
# @!attribute [rw] next_token
|
3110
3195
|
# An identifier that was returned from the previous call to this
|
3111
3196
|
# operation, which can be used to return the next set of items in the
|
@@ -3116,6 +3201,7 @@ module Aws::DeviceFarm
|
|
3116
3201
|
#
|
3117
3202
|
class ListUploadsRequest < Struct.new(
|
3118
3203
|
:arn,
|
3204
|
+
:type,
|
3119
3205
|
:next_token)
|
3120
3206
|
include Aws::Structure
|
3121
3207
|
end
|
@@ -4160,6 +4246,10 @@ module Aws::DeviceFarm
|
|
4160
4246
|
# [1]: https://aws.amazon.com/device-farm/faq/
|
4161
4247
|
# @return [Boolean]
|
4162
4248
|
#
|
4249
|
+
# @!attribute [rw] test_spec_arn
|
4250
|
+
# The ARN of the YAML-formatted test specification for the run.
|
4251
|
+
# @return [String]
|
4252
|
+
#
|
4163
4253
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Run AWS API Documentation
|
4164
4254
|
#
|
4165
4255
|
class Run < Struct.new(
|
@@ -4191,7 +4281,8 @@ module Aws::DeviceFarm
|
|
4191
4281
|
:location,
|
4192
4282
|
:customer_artifact_paths,
|
4193
4283
|
:web_url,
|
4194
|
-
:skip_app_resign
|
4284
|
+
:skip_app_resign,
|
4285
|
+
:test_spec_arn)
|
4195
4286
|
include Aws::Structure
|
4196
4287
|
end
|
4197
4288
|
|
@@ -4361,6 +4452,7 @@ module Aws::DeviceFarm
|
|
4361
4452
|
# test: { # required
|
4362
4453
|
# type: "BUILTIN_FUZZ", # required, accepts 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
|
4363
4454
|
# test_package_arn: "AmazonResourceName",
|
4455
|
+
# test_spec_arn: "AmazonResourceName",
|
4364
4456
|
# filter: "Filter",
|
4365
4457
|
# parameters: {
|
4366
4458
|
# "String" => "String",
|
@@ -4393,6 +4485,7 @@ module Aws::DeviceFarm
|
|
4393
4485
|
# job_timeout_minutes: 1,
|
4394
4486
|
# accounts_cleanup: false,
|
4395
4487
|
# app_packages_cleanup: false,
|
4488
|
+
# video_capture: false,
|
4396
4489
|
# skip_app_resign: false,
|
4397
4490
|
# },
|
4398
4491
|
# }
|
@@ -4460,6 +4553,7 @@ module Aws::DeviceFarm
|
|
4460
4553
|
# {
|
4461
4554
|
# type: "BUILTIN_FUZZ", # required, accepts 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
|
4462
4555
|
# test_package_arn: "AmazonResourceName",
|
4556
|
+
# test_spec_arn: "AmazonResourceName",
|
4463
4557
|
# filter: "Filter",
|
4464
4558
|
# parameters: {
|
4465
4559
|
# "String" => "String",
|
@@ -4507,6 +4601,10 @@ module Aws::DeviceFarm
|
|
4507
4601
|
# The ARN of the uploaded test that will be run.
|
4508
4602
|
# @return [String]
|
4509
4603
|
#
|
4604
|
+
# @!attribute [rw] test_spec_arn
|
4605
|
+
# The ARN of the YAML-formatted test specification.
|
4606
|
+
# @return [String]
|
4607
|
+
#
|
4510
4608
|
# @!attribute [rw] filter
|
4511
4609
|
# The test's filter.
|
4512
4610
|
# @return [String]
|
@@ -4598,11 +4696,42 @@ module Aws::DeviceFarm
|
|
4598
4696
|
class ScheduleRunTest < Struct.new(
|
4599
4697
|
:type,
|
4600
4698
|
:test_package_arn,
|
4699
|
+
:test_spec_arn,
|
4601
4700
|
:filter,
|
4602
4701
|
:parameters)
|
4603
4702
|
include Aws::Structure
|
4604
4703
|
end
|
4605
4704
|
|
4705
|
+
# @note When making an API call, you may pass StopJobRequest
|
4706
|
+
# data as a hash:
|
4707
|
+
#
|
4708
|
+
# {
|
4709
|
+
# arn: "AmazonResourceName", # required
|
4710
|
+
# }
|
4711
|
+
#
|
4712
|
+
# @!attribute [rw] arn
|
4713
|
+
# Represents the Amazon Resource Name (ARN) of the Device Farm job you
|
4714
|
+
# wish to stop.
|
4715
|
+
# @return [String]
|
4716
|
+
#
|
4717
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopJobRequest AWS API Documentation
|
4718
|
+
#
|
4719
|
+
class StopJobRequest < Struct.new(
|
4720
|
+
:arn)
|
4721
|
+
include Aws::Structure
|
4722
|
+
end
|
4723
|
+
|
4724
|
+
# @!attribute [rw] job
|
4725
|
+
# The job that was stopped.
|
4726
|
+
# @return [Types::Job]
|
4727
|
+
#
|
4728
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopJobResult AWS API Documentation
|
4729
|
+
#
|
4730
|
+
class StopJobResult < Struct.new(
|
4731
|
+
:job)
|
4732
|
+
include Aws::Structure
|
4733
|
+
end
|
4734
|
+
|
4606
4735
|
# Represents the request to stop the remote access session.
|
4607
4736
|
#
|
4608
4737
|
# @note When making an API call, you may pass StopRemoteAccessSessionRequest
|
@@ -5301,6 +5430,56 @@ module Aws::DeviceFarm
|
|
5301
5430
|
include Aws::Structure
|
5302
5431
|
end
|
5303
5432
|
|
5433
|
+
# @note When making an API call, you may pass UpdateUploadRequest
|
5434
|
+
# data as a hash:
|
5435
|
+
#
|
5436
|
+
# {
|
5437
|
+
# arn: "AmazonResourceName", # required
|
5438
|
+
# name: "Name",
|
5439
|
+
# content_type: "ContentType",
|
5440
|
+
# edit_content: false,
|
5441
|
+
# }
|
5442
|
+
#
|
5443
|
+
# @!attribute [rw] arn
|
5444
|
+
# The Amazon Resource Name (ARN) of the uploaded test spec.
|
5445
|
+
# @return [String]
|
5446
|
+
#
|
5447
|
+
# @!attribute [rw] name
|
5448
|
+
# The upload's test spec file name. The name should not contain the
|
5449
|
+
# '/' character. The test spec file name must end with the `.yaml`
|
5450
|
+
# or `.yml` file extension.
|
5451
|
+
# @return [String]
|
5452
|
+
#
|
5453
|
+
# @!attribute [rw] content_type
|
5454
|
+
# The upload's content type (for example, "application/x-yaml").
|
5455
|
+
# @return [String]
|
5456
|
+
#
|
5457
|
+
# @!attribute [rw] edit_content
|
5458
|
+
# Set to true if the YAML file has changed and needs to be updated;
|
5459
|
+
# otherwise, set to false.
|
5460
|
+
# @return [Boolean]
|
5461
|
+
#
|
5462
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateUploadRequest AWS API Documentation
|
5463
|
+
#
|
5464
|
+
class UpdateUploadRequest < Struct.new(
|
5465
|
+
:arn,
|
5466
|
+
:name,
|
5467
|
+
:content_type,
|
5468
|
+
:edit_content)
|
5469
|
+
include Aws::Structure
|
5470
|
+
end
|
5471
|
+
|
5472
|
+
# @!attribute [rw] upload
|
5473
|
+
# A test spec uploaded to Device Farm.
|
5474
|
+
# @return [Types::Upload]
|
5475
|
+
#
|
5476
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateUploadResult AWS API Documentation
|
5477
|
+
#
|
5478
|
+
class UpdateUploadResult < Struct.new(
|
5479
|
+
:upload)
|
5480
|
+
include Aws::Structure
|
5481
|
+
end
|
5482
|
+
|
5304
5483
|
# @note When making an API call, you may pass UpdateVPCEConfigurationRequest
|
5305
5484
|
# data as a hash:
|
5306
5485
|
#
|
@@ -5454,6 +5633,14 @@ module Aws::DeviceFarm
|
|
5454
5633
|
# A message about the upload's result.
|
5455
5634
|
# @return [String]
|
5456
5635
|
#
|
5636
|
+
# @!attribute [rw] category
|
5637
|
+
# The upload's category. Allowed values include:
|
5638
|
+
#
|
5639
|
+
# * CURATED: An upload managed by AWS Device Farm.
|
5640
|
+
#
|
5641
|
+
# * PRIVATE: An upload managed by the AWS Device Farm customer.
|
5642
|
+
# @return [String]
|
5643
|
+
#
|
5457
5644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Upload AWS API Documentation
|
5458
5645
|
#
|
5459
5646
|
class Upload < Struct.new(
|
@@ -5465,7 +5652,8 @@ module Aws::DeviceFarm
|
|
5465
5652
|
:url,
|
5466
5653
|
:metadata,
|
5467
5654
|
:content_type,
|
5468
|
-
:message
|
5655
|
+
:message,
|
5656
|
+
:category)
|
5469
5657
|
include Aws::Structure
|
5470
5658
|
end
|
5471
5659
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-devicefarm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|