aws-sdk-devicefarm 1.13.0 → 1.14.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 +9 -142
- data/lib/aws-sdk-devicefarm/client_api.rb +1 -31
- data/lib/aws-sdk-devicefarm/types.rb +11 -375
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbb2d611a2672eae535fc94f67d53372443b9acb
|
4
|
+
data.tar.gz: c92cace7ce315d2f8dd0a305d7d22b6f7d4295a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1452619c7b745948914926d0c9ff7fd36fc495d343ae903e48a5be09235081229d2cc35eaaaa03906ae0647485cf1ba656842a97107f236219cfb15ef6e5c5e3
|
7
|
+
data.tar.gz: 906dd698d74b5bd3b0e5d593dbb32aa0881cceca2765d9fcfd9f5a17f120ebcba8b3c7253fbbef33c8ac23c62283b75ef8dca3b88eea6e3eb29d454f244595fb
|
data/lib/aws-sdk-devicefarm.rb
CHANGED
@@ -16,6 +16,7 @@ require 'aws-sdk-core/plugins/retry_errors.rb'
|
|
16
16
|
require 'aws-sdk-core/plugins/global_configuration.rb'
|
17
17
|
require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
18
18
|
require 'aws-sdk-core/plugins/endpoint_discovery.rb'
|
19
|
+
require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
19
20
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
20
21
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
21
22
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
@@ -47,6 +48,7 @@ module Aws::DeviceFarm
|
|
47
48
|
add_plugin(Aws::Plugins::GlobalConfiguration)
|
48
49
|
add_plugin(Aws::Plugins::RegionalEndpoint)
|
49
50
|
add_plugin(Aws::Plugins::EndpointDiscovery)
|
51
|
+
add_plugin(Aws::Plugins::EndpointPattern)
|
50
52
|
add_plugin(Aws::Plugins::ResponsePaging)
|
51
53
|
add_plugin(Aws::Plugins::StubResponses)
|
52
54
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
@@ -124,6 +126,10 @@ module Aws::DeviceFarm
|
|
124
126
|
# When `true`, an attempt is made to coerce request parameters into
|
125
127
|
# the required types.
|
126
128
|
#
|
129
|
+
# @option options [Boolean] :disable_host_prefix_injection (false)
|
130
|
+
# Set to true to disable SDK automatically adding host prefix
|
131
|
+
# to default service endpoint when available.
|
132
|
+
#
|
127
133
|
# @option options [String] :endpoint
|
128
134
|
# The client endpoint is normally constructed from the `:region`
|
129
135
|
# option. You should only configure an `:endpoint` when connecting
|
@@ -646,7 +652,6 @@ module Aws::DeviceFarm
|
|
646
652
|
# resp.remote_access_session.device.instances[0].instance_profile.reboot_after_use #=> Boolean
|
647
653
|
# resp.remote_access_session.device.instances[0].instance_profile.name #=> String
|
648
654
|
# resp.remote_access_session.device.instances[0].instance_profile.description #=> String
|
649
|
-
# resp.remote_access_session.device.availability #=> String, one of "TEMPORARY_NOT_AVAILABLE", "BUSY", "AVAILABLE", "HIGHLY_AVAILABLE"
|
650
655
|
# resp.remote_access_session.instance_arn #=> String
|
651
656
|
# resp.remote_access_session.remote_debug_enabled #=> Boolean
|
652
657
|
# resp.remote_access_session.remote_record_enabled #=> Boolean
|
@@ -1251,7 +1256,6 @@ module Aws::DeviceFarm
|
|
1251
1256
|
# resp.device.instances[0].instance_profile.reboot_after_use #=> Boolean
|
1252
1257
|
# resp.device.instances[0].instance_profile.name #=> String
|
1253
1258
|
# resp.device.instances[0].instance_profile.description #=> String
|
1254
|
-
# resp.device.availability #=> String, one of "TEMPORARY_NOT_AVAILABLE", "BUSY", "AVAILABLE", "HIGHLY_AVAILABLE"
|
1255
1259
|
#
|
1256
1260
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevice AWS API Documentation
|
1257
1261
|
#
|
@@ -1506,7 +1510,6 @@ module Aws::DeviceFarm
|
|
1506
1510
|
# resp.compatible_devices[0].device.instances[0].instance_profile.reboot_after_use #=> Boolean
|
1507
1511
|
# resp.compatible_devices[0].device.instances[0].instance_profile.name #=> String
|
1508
1512
|
# resp.compatible_devices[0].device.instances[0].instance_profile.description #=> String
|
1509
|
-
# resp.compatible_devices[0].device.availability #=> String, one of "TEMPORARY_NOT_AVAILABLE", "BUSY", "AVAILABLE", "HIGHLY_AVAILABLE"
|
1510
1513
|
# resp.compatible_devices[0].compatible #=> Boolean
|
1511
1514
|
# resp.compatible_devices[0].incompatibility_messages #=> Array
|
1512
1515
|
# resp.compatible_devices[0].incompatibility_messages[0].message #=> String
|
@@ -1548,7 +1551,6 @@ module Aws::DeviceFarm
|
|
1548
1551
|
# resp.incompatible_devices[0].device.instances[0].instance_profile.reboot_after_use #=> Boolean
|
1549
1552
|
# resp.incompatible_devices[0].device.instances[0].instance_profile.name #=> String
|
1550
1553
|
# resp.incompatible_devices[0].device.instances[0].instance_profile.description #=> String
|
1551
|
-
# resp.incompatible_devices[0].device.availability #=> String, one of "TEMPORARY_NOT_AVAILABLE", "BUSY", "AVAILABLE", "HIGHLY_AVAILABLE"
|
1552
1554
|
# resp.incompatible_devices[0].compatible #=> Boolean
|
1553
1555
|
# resp.incompatible_devices[0].incompatibility_messages #=> Array
|
1554
1556
|
# resp.incompatible_devices[0].incompatibility_messages[0].message #=> String
|
@@ -1681,7 +1683,6 @@ module Aws::DeviceFarm
|
|
1681
1683
|
# resp.job.device.instances[0].instance_profile.reboot_after_use #=> Boolean
|
1682
1684
|
# resp.job.device.instances[0].instance_profile.name #=> String
|
1683
1685
|
# resp.job.device.instances[0].instance_profile.description #=> String
|
1684
|
-
# resp.job.device.availability #=> String, one of "TEMPORARY_NOT_AVAILABLE", "BUSY", "AVAILABLE", "HIGHLY_AVAILABLE"
|
1685
1686
|
# resp.job.instance_arn #=> String
|
1686
1687
|
# resp.job.device_minutes.total #=> Float
|
1687
1688
|
# resp.job.device_minutes.metered #=> Float
|
@@ -1962,7 +1963,6 @@ module Aws::DeviceFarm
|
|
1962
1963
|
# resp.remote_access_session.device.instances[0].instance_profile.reboot_after_use #=> Boolean
|
1963
1964
|
# resp.remote_access_session.device.instances[0].instance_profile.name #=> String
|
1964
1965
|
# resp.remote_access_session.device.instances[0].instance_profile.description #=> String
|
1965
|
-
# resp.remote_access_session.device.availability #=> String, one of "TEMPORARY_NOT_AVAILABLE", "BUSY", "AVAILABLE", "HIGHLY_AVAILABLE"
|
1966
1966
|
# resp.remote_access_session.instance_arn #=> String
|
1967
1967
|
# resp.remote_access_session.remote_debug_enabled #=> Boolean
|
1968
1968
|
# resp.remote_access_session.remote_record_enabled #=> Boolean
|
@@ -2101,13 +2101,6 @@ module Aws::DeviceFarm
|
|
2101
2101
|
# resp.run.web_url #=> String
|
2102
2102
|
# resp.run.skip_app_resign #=> Boolean
|
2103
2103
|
# resp.run.test_spec_arn #=> String
|
2104
|
-
# resp.run.device_selection_result.filters #=> Array
|
2105
|
-
# resp.run.device_selection_result.filters[0].attribute #=> String, one of "ARN", "PLATFORM", "OS_VERSION", "MODEL", "AVAILABILITY", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "INSTANCE_ARN", "INSTANCE_LABELS", "FLEET_TYPE"
|
2106
|
-
# resp.run.device_selection_result.filters[0].operator #=> String, one of "EQUALS", "LESS_THAN", "LESS_THAN_OR_EQUALS", "GREATER_THAN", "GREATER_THAN_OR_EQUALS", "IN", "NOT_IN", "CONTAINS"
|
2107
|
-
# resp.run.device_selection_result.filters[0].values #=> Array
|
2108
|
-
# resp.run.device_selection_result.filters[0].values[0] #=> String
|
2109
|
-
# resp.run.device_selection_result.matched_devices_count #=> Integer
|
2110
|
-
# resp.run.device_selection_result.max_devices #=> Integer
|
2111
2104
|
#
|
2112
2105
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRun AWS API Documentation
|
2113
2106
|
#
|
@@ -2607,75 +2600,6 @@ module Aws::DeviceFarm
|
|
2607
2600
|
# operation, which can be used to return the next set of items in the
|
2608
2601
|
# list.
|
2609
2602
|
#
|
2610
|
-
# @option params [Array<Types::DeviceFilter>] :filters
|
2611
|
-
# Used to select a set of devices. A filter is made up of an attribute,
|
2612
|
-
# an operator, and one or more values.
|
2613
|
-
#
|
2614
|
-
# * Attribute: The aspect of a device such as platform or model used as
|
2615
|
-
# the selction criteria in a device filter.
|
2616
|
-
#
|
2617
|
-
# Allowed values include:
|
2618
|
-
#
|
2619
|
-
# * ARN: The Amazon Resource Name (ARN) of the device. For example,
|
2620
|
-
# "arn:aws:devicefarm:us-west-2::device:12345Example".
|
2621
|
-
#
|
2622
|
-
# * PLATFORM: The device platform. Valid values are "ANDROID" or
|
2623
|
-
# "IOS".
|
2624
|
-
#
|
2625
|
-
# * OS\_VERSION: The operating system version. For example,
|
2626
|
-
# "10.3.2".
|
2627
|
-
#
|
2628
|
-
# * MODEL: The device model. For example, "iPad 5th Gen".
|
2629
|
-
#
|
2630
|
-
# * AVAILABILITY: The current availability of the device. Valid values
|
2631
|
-
# are "AVAILABLE", "HIGHLY\_AVAILABLE", "BUSY", or
|
2632
|
-
# "TEMPORARY\_NOT\_AVAILABLE".
|
2633
|
-
#
|
2634
|
-
# * FORM\_FACTOR: The device form factor. Valid values are "PHONE"
|
2635
|
-
# or "TABLET".
|
2636
|
-
#
|
2637
|
-
# * MANUFACTURER: The device manufacturer. For example, "Apple".
|
2638
|
-
#
|
2639
|
-
# * REMOTE\_ACCESS\_ENABLED: Whether the device is enabled for remote
|
2640
|
-
# access.
|
2641
|
-
#
|
2642
|
-
# * REMOTE\_DEBUG\_ENABLED: Whether the device is enabled for remote
|
2643
|
-
# debugging.
|
2644
|
-
#
|
2645
|
-
# * INSTANCE\_ARN: The Amazon Resource Name (ARN) of the device
|
2646
|
-
# instance.
|
2647
|
-
#
|
2648
|
-
# * INSTANCE\_LABELS: The label of the device instance.
|
2649
|
-
#
|
2650
|
-
# * FLEET\_TYPE: The fleet type. Valid values are "PUBLIC" or
|
2651
|
-
# "PRIVATE".
|
2652
|
-
#
|
2653
|
-
# * Operator: The filter operator.
|
2654
|
-
#
|
2655
|
-
# * The EQUALS operator is available for every attribute except
|
2656
|
-
# INSTANCE\_LABELS.
|
2657
|
-
#
|
2658
|
-
# * The CONTAINS operator is available for the INSTANCE\_LABELS and
|
2659
|
-
# MODEL attributes.
|
2660
|
-
#
|
2661
|
-
# * The IN and NOT\_IN operators are available for the ARN,
|
2662
|
-
# OS\_VERSION, MODEL, MANUFACTURER, and INSTANCE\_ARN attributes.
|
2663
|
-
#
|
2664
|
-
# * The LESS\_THAN, GREATER\_THAN, LESS\_THAN\_OR\_EQUALS, and
|
2665
|
-
# GREATER\_THAN\_OR\_EQUALS operators are also available for the
|
2666
|
-
# OS\_VERSION attribute.
|
2667
|
-
#
|
2668
|
-
# * Values: An array of one or more filter values.
|
2669
|
-
#
|
2670
|
-
# * The IN and NOT operators can take a values array that has more
|
2671
|
-
# than one element.
|
2672
|
-
#
|
2673
|
-
# * The other operators require an array with a single element.
|
2674
|
-
#
|
2675
|
-
# * In a request, the AVAILABILITY attribute takes "AVAILABLE",
|
2676
|
-
# "HIGHLY\_AVAILABLE", "BUSY", or "TEMPORARY\_NOT\_AVAILABLE"
|
2677
|
-
# as values.
|
2678
|
-
#
|
2679
2603
|
# @return [Types::ListDevicesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2680
2604
|
#
|
2681
2605
|
# * {Types::ListDevicesResult#devices #devices} => Array<Types::Device>
|
@@ -2699,13 +2623,6 @@ module Aws::DeviceFarm
|
|
2699
2623
|
# resp = client.list_devices({
|
2700
2624
|
# arn: "AmazonResourceName",
|
2701
2625
|
# next_token: "PaginationToken",
|
2702
|
-
# filters: [
|
2703
|
-
# {
|
2704
|
-
# attribute: "ARN", # accepts ARN, PLATFORM, OS_VERSION, MODEL, AVAILABILITY, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, INSTANCE_ARN, INSTANCE_LABELS, FLEET_TYPE
|
2705
|
-
# operator: "EQUALS", # accepts EQUALS, LESS_THAN, LESS_THAN_OR_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS, IN, NOT_IN, CONTAINS
|
2706
|
-
# values: ["String"],
|
2707
|
-
# },
|
2708
|
-
# ],
|
2709
2626
|
# })
|
2710
2627
|
#
|
2711
2628
|
# @example Response structure
|
@@ -2747,7 +2664,6 @@ module Aws::DeviceFarm
|
|
2747
2664
|
# resp.devices[0].instances[0].instance_profile.reboot_after_use #=> Boolean
|
2748
2665
|
# resp.devices[0].instances[0].instance_profile.name #=> String
|
2749
2666
|
# resp.devices[0].instances[0].instance_profile.description #=> String
|
2750
|
-
# resp.devices[0].availability #=> String, one of "TEMPORARY_NOT_AVAILABLE", "BUSY", "AVAILABLE", "HIGHLY_AVAILABLE"
|
2751
2667
|
# resp.next_token #=> String
|
2752
2668
|
#
|
2753
2669
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevices AWS API Documentation
|
@@ -2889,7 +2805,6 @@ module Aws::DeviceFarm
|
|
2889
2805
|
# resp.jobs[0].device.instances[0].instance_profile.reboot_after_use #=> Boolean
|
2890
2806
|
# resp.jobs[0].device.instances[0].instance_profile.name #=> String
|
2891
2807
|
# resp.jobs[0].device.instances[0].instance_profile.description #=> String
|
2892
|
-
# resp.jobs[0].device.availability #=> String, one of "TEMPORARY_NOT_AVAILABLE", "BUSY", "AVAILABLE", "HIGHLY_AVAILABLE"
|
2893
2808
|
# resp.jobs[0].instance_arn #=> String
|
2894
2809
|
# resp.jobs[0].device_minutes.total #=> Float
|
2895
2810
|
# resp.jobs[0].device_minutes.metered #=> Float
|
@@ -3420,7 +3335,6 @@ module Aws::DeviceFarm
|
|
3420
3335
|
# resp.remote_access_sessions[0].device.instances[0].instance_profile.reboot_after_use #=> Boolean
|
3421
3336
|
# resp.remote_access_sessions[0].device.instances[0].instance_profile.name #=> String
|
3422
3337
|
# resp.remote_access_sessions[0].device.instances[0].instance_profile.description #=> String
|
3423
|
-
# resp.remote_access_sessions[0].device.availability #=> String, one of "TEMPORARY_NOT_AVAILABLE", "BUSY", "AVAILABLE", "HIGHLY_AVAILABLE"
|
3424
3338
|
# resp.remote_access_sessions[0].instance_arn #=> String
|
3425
3339
|
# resp.remote_access_sessions[0].remote_debug_enabled #=> Boolean
|
3426
3340
|
# resp.remote_access_sessions[0].remote_record_enabled #=> Boolean
|
@@ -3572,13 +3486,6 @@ module Aws::DeviceFarm
|
|
3572
3486
|
# resp.runs[0].web_url #=> String
|
3573
3487
|
# resp.runs[0].skip_app_resign #=> Boolean
|
3574
3488
|
# resp.runs[0].test_spec_arn #=> String
|
3575
|
-
# resp.runs[0].device_selection_result.filters #=> Array
|
3576
|
-
# resp.runs[0].device_selection_result.filters[0].attribute #=> String, one of "ARN", "PLATFORM", "OS_VERSION", "MODEL", "AVAILABILITY", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "INSTANCE_ARN", "INSTANCE_LABELS", "FLEET_TYPE"
|
3577
|
-
# resp.runs[0].device_selection_result.filters[0].operator #=> String, one of "EQUALS", "LESS_THAN", "LESS_THAN_OR_EQUALS", "GREATER_THAN", "GREATER_THAN_OR_EQUALS", "IN", "NOT_IN", "CONTAINS"
|
3578
|
-
# resp.runs[0].device_selection_result.filters[0].values #=> Array
|
3579
|
-
# resp.runs[0].device_selection_result.filters[0].values[0] #=> String
|
3580
|
-
# resp.runs[0].device_selection_result.matched_devices_count #=> Integer
|
3581
|
-
# resp.runs[0].device_selection_result.max_devices #=> Integer
|
3582
3489
|
# resp.next_token #=> String
|
3583
3490
|
#
|
3584
3491
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRuns AWS API Documentation
|
@@ -3875,7 +3782,6 @@ module Aws::DeviceFarm
|
|
3875
3782
|
# resp.unique_problems["ExecutionResult"][0].problems[0].device.instances[0].instance_profile.reboot_after_use #=> Boolean
|
3876
3783
|
# resp.unique_problems["ExecutionResult"][0].problems[0].device.instances[0].instance_profile.name #=> String
|
3877
3784
|
# resp.unique_problems["ExecutionResult"][0].problems[0].device.instances[0].instance_profile.description #=> String
|
3878
|
-
# resp.unique_problems["ExecutionResult"][0].problems[0].device.availability #=> String, one of "TEMPORARY_NOT_AVAILABLE", "BUSY", "AVAILABLE", "HIGHLY_AVAILABLE"
|
3879
3785
|
# resp.unique_problems["ExecutionResult"][0].problems[0].result #=> String, one of "PENDING", "PASSED", "WARNED", "FAILED", "SKIPPED", "ERRORED", "STOPPED"
|
3880
3786
|
# resp.unique_problems["ExecutionResult"][0].problems[0].message #=> String
|
3881
3787
|
# resp.next_token #=> String
|
@@ -4241,22 +4147,9 @@ module Aws::DeviceFarm
|
|
4241
4147
|
# @option params [String] :app_arn
|
4242
4148
|
# The ARN of the app to schedule a run.
|
4243
4149
|
#
|
4244
|
-
# @option params [String] :device_pool_arn
|
4150
|
+
# @option params [required, String] :device_pool_arn
|
4245
4151
|
# The ARN of the device pool for the run to be scheduled.
|
4246
4152
|
#
|
4247
|
-
# Either <b> <code>devicePoolArn</code> </b> or <b>
|
4248
|
-
# <code>deviceSelectionConfiguration</code> </b> are required in a
|
4249
|
-
# request.
|
4250
|
-
#
|
4251
|
-
# @option params [Types::DeviceSelectionConfiguration] :device_selection_configuration
|
4252
|
-
# The filter criteria used to dynamically select a set of devices for a
|
4253
|
-
# test run, as well as the maximum number of devices to be included in
|
4254
|
-
# the run.
|
4255
|
-
#
|
4256
|
-
# Either <b> <code>devicePoolArn</code> </b> or <b>
|
4257
|
-
# <code>deviceSelectionConfiguration</code> </b> are required in a
|
4258
|
-
# request.
|
4259
|
-
#
|
4260
4153
|
# @option params [String] :name
|
4261
4154
|
# The name for the run to be scheduled.
|
4262
4155
|
#
|
@@ -4300,17 +4193,7 @@ module Aws::DeviceFarm
|
|
4300
4193
|
# resp = client.schedule_run({
|
4301
4194
|
# project_arn: "AmazonResourceName", # required
|
4302
4195
|
# app_arn: "AmazonResourceName",
|
4303
|
-
# device_pool_arn: "AmazonResourceName",
|
4304
|
-
# device_selection_configuration: {
|
4305
|
-
# filters: [ # required
|
4306
|
-
# {
|
4307
|
-
# attribute: "ARN", # accepts ARN, PLATFORM, OS_VERSION, MODEL, AVAILABILITY, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, INSTANCE_ARN, INSTANCE_LABELS, FLEET_TYPE
|
4308
|
-
# operator: "EQUALS", # accepts EQUALS, LESS_THAN, LESS_THAN_OR_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS, IN, NOT_IN, CONTAINS
|
4309
|
-
# values: ["String"],
|
4310
|
-
# },
|
4311
|
-
# ],
|
4312
|
-
# max_devices: 1, # required
|
4313
|
-
# },
|
4196
|
+
# device_pool_arn: "AmazonResourceName", # required
|
4314
4197
|
# name: "Name",
|
4315
4198
|
# test: { # required
|
4316
4199
|
# 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
|
@@ -4413,13 +4296,6 @@ module Aws::DeviceFarm
|
|
4413
4296
|
# resp.run.web_url #=> String
|
4414
4297
|
# resp.run.skip_app_resign #=> Boolean
|
4415
4298
|
# resp.run.test_spec_arn #=> String
|
4416
|
-
# resp.run.device_selection_result.filters #=> Array
|
4417
|
-
# resp.run.device_selection_result.filters[0].attribute #=> String, one of "ARN", "PLATFORM", "OS_VERSION", "MODEL", "AVAILABILITY", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "INSTANCE_ARN", "INSTANCE_LABELS", "FLEET_TYPE"
|
4418
|
-
# resp.run.device_selection_result.filters[0].operator #=> String, one of "EQUALS", "LESS_THAN", "LESS_THAN_OR_EQUALS", "GREATER_THAN", "GREATER_THAN_OR_EQUALS", "IN", "NOT_IN", "CONTAINS"
|
4419
|
-
# resp.run.device_selection_result.filters[0].values #=> Array
|
4420
|
-
# resp.run.device_selection_result.filters[0].values[0] #=> String
|
4421
|
-
# resp.run.device_selection_result.matched_devices_count #=> Integer
|
4422
|
-
# resp.run.device_selection_result.max_devices #=> Integer
|
4423
4299
|
#
|
4424
4300
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRun AWS API Documentation
|
4425
4301
|
#
|
@@ -4506,7 +4382,6 @@ module Aws::DeviceFarm
|
|
4506
4382
|
# resp.job.device.instances[0].instance_profile.reboot_after_use #=> Boolean
|
4507
4383
|
# resp.job.device.instances[0].instance_profile.name #=> String
|
4508
4384
|
# resp.job.device.instances[0].instance_profile.description #=> String
|
4509
|
-
# resp.job.device.availability #=> String, one of "TEMPORARY_NOT_AVAILABLE", "BUSY", "AVAILABLE", "HIGHLY_AVAILABLE"
|
4510
4385
|
# resp.job.instance_arn #=> String
|
4511
4386
|
# resp.job.device_minutes.total #=> Float
|
4512
4387
|
# resp.job.device_minutes.metered #=> Float
|
@@ -4585,7 +4460,6 @@ module Aws::DeviceFarm
|
|
4585
4460
|
# resp.remote_access_session.device.instances[0].instance_profile.reboot_after_use #=> Boolean
|
4586
4461
|
# resp.remote_access_session.device.instances[0].instance_profile.name #=> String
|
4587
4462
|
# resp.remote_access_session.device.instances[0].instance_profile.description #=> String
|
4588
|
-
# resp.remote_access_session.device.availability #=> String, one of "TEMPORARY_NOT_AVAILABLE", "BUSY", "AVAILABLE", "HIGHLY_AVAILABLE"
|
4589
4463
|
# resp.remote_access_session.instance_arn #=> String
|
4590
4464
|
# resp.remote_access_session.remote_debug_enabled #=> Boolean
|
4591
4465
|
# resp.remote_access_session.remote_record_enabled #=> Boolean
|
@@ -4707,13 +4581,6 @@ module Aws::DeviceFarm
|
|
4707
4581
|
# resp.run.web_url #=> String
|
4708
4582
|
# resp.run.skip_app_resign #=> Boolean
|
4709
4583
|
# resp.run.test_spec_arn #=> String
|
4710
|
-
# resp.run.device_selection_result.filters #=> Array
|
4711
|
-
# resp.run.device_selection_result.filters[0].attribute #=> String, one of "ARN", "PLATFORM", "OS_VERSION", "MODEL", "AVAILABILITY", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "INSTANCE_ARN", "INSTANCE_LABELS", "FLEET_TYPE"
|
4712
|
-
# resp.run.device_selection_result.filters[0].operator #=> String, one of "EQUALS", "LESS_THAN", "LESS_THAN_OR_EQUALS", "GREATER_THAN", "GREATER_THAN_OR_EQUALS", "IN", "NOT_IN", "CONTAINS"
|
4713
|
-
# resp.run.device_selection_result.filters[0].values #=> Array
|
4714
|
-
# resp.run.device_selection_result.filters[0].values[0] #=> String
|
4715
|
-
# resp.run.device_selection_result.matched_devices_count #=> Integer
|
4716
|
-
# resp.run.device_selection_result.max_devices #=> Integer
|
4717
4584
|
#
|
4718
4585
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRun AWS API Documentation
|
4719
4586
|
#
|
@@ -5193,7 +5060,7 @@ module Aws::DeviceFarm
|
|
5193
5060
|
params: params,
|
5194
5061
|
config: config)
|
5195
5062
|
context[:gem_name] = 'aws-sdk-devicefarm'
|
5196
|
-
context[:gem_version] = '1.
|
5063
|
+
context[:gem_version] = '1.14.0'
|
5197
5064
|
Seahorse::Client::Request.new(handlers, context)
|
5198
5065
|
end
|
5199
5066
|
|
@@ -65,12 +65,6 @@ module Aws::DeviceFarm
|
|
65
65
|
DeleteVPCEConfigurationResult = Shapes::StructureShape.new(name: 'DeleteVPCEConfigurationResult')
|
66
66
|
Device = Shapes::StructureShape.new(name: 'Device')
|
67
67
|
DeviceAttribute = Shapes::StringShape.new(name: 'DeviceAttribute')
|
68
|
-
DeviceAvailability = Shapes::StringShape.new(name: 'DeviceAvailability')
|
69
|
-
DeviceFilter = Shapes::StructureShape.new(name: 'DeviceFilter')
|
70
|
-
DeviceFilterAttribute = Shapes::StringShape.new(name: 'DeviceFilterAttribute')
|
71
|
-
DeviceFilterOperator = Shapes::StringShape.new(name: 'DeviceFilterOperator')
|
72
|
-
DeviceFilterValues = Shapes::ListShape.new(name: 'DeviceFilterValues')
|
73
|
-
DeviceFilters = Shapes::ListShape.new(name: 'DeviceFilters')
|
74
68
|
DeviceFormFactor = Shapes::StringShape.new(name: 'DeviceFormFactor')
|
75
69
|
DeviceHostPaths = Shapes::ListShape.new(name: 'DeviceHostPaths')
|
76
70
|
DeviceInstance = Shapes::StructureShape.new(name: 'DeviceInstance')
|
@@ -82,8 +76,6 @@ module Aws::DeviceFarm
|
|
82
76
|
DevicePoolCompatibilityResults = Shapes::ListShape.new(name: 'DevicePoolCompatibilityResults')
|
83
77
|
DevicePoolType = Shapes::StringShape.new(name: 'DevicePoolType')
|
84
78
|
DevicePools = Shapes::ListShape.new(name: 'DevicePools')
|
85
|
-
DeviceSelectionConfiguration = Shapes::StructureShape.new(name: 'DeviceSelectionConfiguration')
|
86
|
-
DeviceSelectionResult = Shapes::StructureShape.new(name: 'DeviceSelectionResult')
|
87
79
|
Devices = Shapes::ListShape.new(name: 'Devices')
|
88
80
|
Double = Shapes::FloatShape.new(name: 'Double')
|
89
81
|
ExecutionConfiguration = Shapes::StructureShape.new(name: 'ExecutionConfiguration')
|
@@ -468,18 +460,8 @@ module Aws::DeviceFarm
|
|
468
460
|
Device.add_member(:fleet_type, Shapes::ShapeRef.new(shape: String, location_name: "fleetType"))
|
469
461
|
Device.add_member(:fleet_name, Shapes::ShapeRef.new(shape: String, location_name: "fleetName"))
|
470
462
|
Device.add_member(:instances, Shapes::ShapeRef.new(shape: DeviceInstances, location_name: "instances"))
|
471
|
-
Device.add_member(:availability, Shapes::ShapeRef.new(shape: DeviceAvailability, location_name: "availability"))
|
472
463
|
Device.struct_class = Types::Device
|
473
464
|
|
474
|
-
DeviceFilter.add_member(:attribute, Shapes::ShapeRef.new(shape: DeviceFilterAttribute, location_name: "attribute"))
|
475
|
-
DeviceFilter.add_member(:operator, Shapes::ShapeRef.new(shape: DeviceFilterOperator, location_name: "operator"))
|
476
|
-
DeviceFilter.add_member(:values, Shapes::ShapeRef.new(shape: DeviceFilterValues, location_name: "values"))
|
477
|
-
DeviceFilter.struct_class = Types::DeviceFilter
|
478
|
-
|
479
|
-
DeviceFilterValues.member = Shapes::ShapeRef.new(shape: String)
|
480
|
-
|
481
|
-
DeviceFilters.member = Shapes::ShapeRef.new(shape: DeviceFilter)
|
482
|
-
|
483
465
|
DeviceHostPaths.member = Shapes::ShapeRef.new(shape: String)
|
484
466
|
|
485
467
|
DeviceInstance.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "arn"))
|
@@ -513,15 +495,6 @@ module Aws::DeviceFarm
|
|
513
495
|
|
514
496
|
DevicePools.member = Shapes::ShapeRef.new(shape: DevicePool)
|
515
497
|
|
516
|
-
DeviceSelectionConfiguration.add_member(:filters, Shapes::ShapeRef.new(shape: DeviceFilters, required: true, location_name: "filters"))
|
517
|
-
DeviceSelectionConfiguration.add_member(:max_devices, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "maxDevices"))
|
518
|
-
DeviceSelectionConfiguration.struct_class = Types::DeviceSelectionConfiguration
|
519
|
-
|
520
|
-
DeviceSelectionResult.add_member(:filters, Shapes::ShapeRef.new(shape: DeviceFilters, location_name: "filters"))
|
521
|
-
DeviceSelectionResult.add_member(:matched_devices_count, Shapes::ShapeRef.new(shape: Integer, location_name: "matchedDevicesCount"))
|
522
|
-
DeviceSelectionResult.add_member(:max_devices, Shapes::ShapeRef.new(shape: Integer, location_name: "maxDevices"))
|
523
|
-
DeviceSelectionResult.struct_class = Types::DeviceSelectionResult
|
524
|
-
|
525
498
|
Devices.member = Shapes::ShapeRef.new(shape: Device)
|
526
499
|
|
527
500
|
ExecutionConfiguration.add_member(:job_timeout_minutes, Shapes::ShapeRef.new(shape: JobTimeoutMinutes, location_name: "jobTimeoutMinutes"))
|
@@ -707,7 +680,6 @@ module Aws::DeviceFarm
|
|
707
680
|
|
708
681
|
ListDevicesRequest.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "arn"))
|
709
682
|
ListDevicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
710
|
-
ListDevicesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: DeviceFilters, location_name: "filters"))
|
711
683
|
ListDevicesRequest.struct_class = Types::ListDevicesRequest
|
712
684
|
|
713
685
|
ListDevicesResult.add_member(:devices, Shapes::ShapeRef.new(shape: Devices, location_name: "devices"))
|
@@ -1014,7 +986,6 @@ module Aws::DeviceFarm
|
|
1014
986
|
Run.add_member(:web_url, Shapes::ShapeRef.new(shape: String, location_name: "webUrl"))
|
1015
987
|
Run.add_member(:skip_app_resign, Shapes::ShapeRef.new(shape: SkipAppResign, location_name: "skipAppResign"))
|
1016
988
|
Run.add_member(:test_spec_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "testSpecArn"))
|
1017
|
-
Run.add_member(:device_selection_result, Shapes::ShapeRef.new(shape: DeviceSelectionResult, location_name: "deviceSelectionResult"))
|
1018
989
|
Run.struct_class = Types::Run
|
1019
990
|
|
1020
991
|
Runs.member = Shapes::ShapeRef.new(shape: Run)
|
@@ -1039,8 +1010,7 @@ module Aws::DeviceFarm
|
|
1039
1010
|
|
1040
1011
|
ScheduleRunRequest.add_member(:project_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "projectArn"))
|
1041
1012
|
ScheduleRunRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "appArn"))
|
1042
|
-
ScheduleRunRequest.add_member(:device_pool_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "devicePoolArn"))
|
1043
|
-
ScheduleRunRequest.add_member(:device_selection_configuration, Shapes::ShapeRef.new(shape: DeviceSelectionConfiguration, location_name: "deviceSelectionConfiguration"))
|
1013
|
+
ScheduleRunRequest.add_member(:device_pool_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "devicePoolArn"))
|
1044
1014
|
ScheduleRunRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
1045
1015
|
ScheduleRunRequest.add_member(:test, Shapes::ShapeRef.new(shape: ScheduleRunTest, required: true, location_name: "test"))
|
1046
1016
|
ScheduleRunRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: ScheduleRunConfiguration, location_name: "configuration"))
|
@@ -1172,10 +1172,6 @@ module Aws::DeviceFarm
|
|
1172
1172
|
# The instances belonging to this device.
|
1173
1173
|
# @return [Array<Types::DeviceInstance>]
|
1174
1174
|
#
|
1175
|
-
# @!attribute [rw] availability
|
1176
|
-
# Reflects how likely a device will be available for a test run.
|
1177
|
-
# @return [String]
|
1178
|
-
#
|
1179
1175
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Device AWS API Documentation
|
1180
1176
|
#
|
1181
1177
|
class Device < Struct.new(
|
@@ -1198,114 +1194,7 @@ module Aws::DeviceFarm
|
|
1198
1194
|
:remote_debug_enabled,
|
1199
1195
|
:fleet_type,
|
1200
1196
|
:fleet_name,
|
1201
|
-
:instances
|
1202
|
-
:availability)
|
1203
|
-
include Aws::Structure
|
1204
|
-
end
|
1205
|
-
|
1206
|
-
# Represents a device filter used to select a set of devices to be
|
1207
|
-
# included in a test run. This data structure is passed in as the
|
1208
|
-
# "deviceSelectionConfiguration" parameter to ScheduleRun. For an
|
1209
|
-
# example of the JSON request syntax, see ScheduleRun.
|
1210
|
-
#
|
1211
|
-
# It is also passed in as the "filters" parameter to ListDevices. For
|
1212
|
-
# an example of the JSON request syntax, see ListDevices.
|
1213
|
-
#
|
1214
|
-
# @note When making an API call, you may pass DeviceFilter
|
1215
|
-
# data as a hash:
|
1216
|
-
#
|
1217
|
-
# {
|
1218
|
-
# attribute: "ARN", # accepts ARN, PLATFORM, OS_VERSION, MODEL, AVAILABILITY, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, INSTANCE_ARN, INSTANCE_LABELS, FLEET_TYPE
|
1219
|
-
# operator: "EQUALS", # accepts EQUALS, LESS_THAN, LESS_THAN_OR_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS, IN, NOT_IN, CONTAINS
|
1220
|
-
# values: ["String"],
|
1221
|
-
# }
|
1222
|
-
#
|
1223
|
-
# @!attribute [rw] attribute
|
1224
|
-
# The aspect of a device such as platform or model used as the
|
1225
|
-
# selection criteria in a device filter.
|
1226
|
-
#
|
1227
|
-
# Allowed values include:
|
1228
|
-
#
|
1229
|
-
# * ARN: The Amazon Resource Name (ARN) of the device. For example,
|
1230
|
-
# "arn:aws:devicefarm:us-west-2::device:12345Example".
|
1231
|
-
#
|
1232
|
-
# * PLATFORM: The device platform. Valid values are "ANDROID" or
|
1233
|
-
# "IOS".
|
1234
|
-
#
|
1235
|
-
# * OS\_VERSION: The operating system version. For example,
|
1236
|
-
# "10.3.2".
|
1237
|
-
#
|
1238
|
-
# * MODEL: The device model. For example, "iPad 5th Gen".
|
1239
|
-
#
|
1240
|
-
# * AVAILABILITY: The current availability of the device. Valid values
|
1241
|
-
# are "AVAILABLE", "HIGHLY\_AVAILABLE", "BUSY", or
|
1242
|
-
# "TEMPORARY\_NOT\_AVAILABLE".
|
1243
|
-
#
|
1244
|
-
# * FORM\_FACTOR: The device form factor. Valid values are "PHONE"
|
1245
|
-
# or "TABLET".
|
1246
|
-
#
|
1247
|
-
# * MANUFACTURER: The device manufacturer. For example, "Apple".
|
1248
|
-
#
|
1249
|
-
# * REMOTE\_ACCESS\_ENABLED: Whether the device is enabled for remote
|
1250
|
-
# access.
|
1251
|
-
#
|
1252
|
-
# * REMOTE\_DEBUG\_ENABLED: Whether the device is enabled for remote
|
1253
|
-
# debugging.
|
1254
|
-
#
|
1255
|
-
# * INSTANCE\_ARN: The Amazon Resource Name (ARN) of the device
|
1256
|
-
# instance.
|
1257
|
-
#
|
1258
|
-
# * INSTANCE\_LABELS: The label of the device instance.
|
1259
|
-
#
|
1260
|
-
# * FLEET\_TYPE: The fleet type. Valid values are "PUBLIC" or
|
1261
|
-
# "PRIVATE".
|
1262
|
-
# @return [String]
|
1263
|
-
#
|
1264
|
-
# @!attribute [rw] operator
|
1265
|
-
# The filter operator.
|
1266
|
-
#
|
1267
|
-
# * The EQUALS operator is available for every attribute except
|
1268
|
-
# INSTANCE\_LABELS.
|
1269
|
-
#
|
1270
|
-
# * The CONTAINS operator is available for the INSTANCE\_LABELS and
|
1271
|
-
# MODEL attributes.
|
1272
|
-
#
|
1273
|
-
# * The IN and NOT\_IN operators are available for the ARN,
|
1274
|
-
# OS\_VERSION, MODEL, MANUFACTURER, and INSTANCE\_ARN attributes.
|
1275
|
-
#
|
1276
|
-
# * The LESS\_THAN, GREATER\_THAN, LESS\_THAN\_OR\_EQUALS, and
|
1277
|
-
# GREATER\_THAN\_OR\_EQUALS operators are also available for the
|
1278
|
-
# OS\_VERSION attribute.
|
1279
|
-
# @return [String]
|
1280
|
-
#
|
1281
|
-
# @!attribute [rw] values
|
1282
|
-
# An array of one or more filter values used in a device filter.
|
1283
|
-
#
|
1284
|
-
# **Operator Values**
|
1285
|
-
#
|
1286
|
-
# * The IN and NOT operators can take a values array that has more
|
1287
|
-
# than one element.
|
1288
|
-
#
|
1289
|
-
# * The other operators require an array with a single element.
|
1290
|
-
#
|
1291
|
-
# **Attribute Values**
|
1292
|
-
#
|
1293
|
-
# * The PLATFORM attribute can be set to "ANDROID" or "IOS".
|
1294
|
-
#
|
1295
|
-
# * The AVAILABILITY attribute can be set to "AVAILABLE",
|
1296
|
-
# "HIGHLY\_AVAILABLE", "BUSY", or "TEMPORARY\_NOT\_AVAILABLE".
|
1297
|
-
#
|
1298
|
-
# * The FORM\_FACTOR attribute can be set to "PHONE" or "TABLET".
|
1299
|
-
#
|
1300
|
-
# * The FLEET\_TYPE attribute can be set to "PUBLIC" or "PRIVATE".
|
1301
|
-
# @return [Array<String>]
|
1302
|
-
#
|
1303
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeviceFilter AWS API Documentation
|
1304
|
-
#
|
1305
|
-
class DeviceFilter < Struct.new(
|
1306
|
-
:attribute,
|
1307
|
-
:operator,
|
1308
|
-
:values)
|
1197
|
+
:instances)
|
1309
1198
|
include Aws::Structure
|
1310
1199
|
end
|
1311
1200
|
|
@@ -1440,133 +1329,6 @@ module Aws::DeviceFarm
|
|
1440
1329
|
include Aws::Structure
|
1441
1330
|
end
|
1442
1331
|
|
1443
|
-
# Represents the device filters used in a test run as well as the
|
1444
|
-
# maximum number of devices to be included in the run. It is passed in
|
1445
|
-
# as the deviceSelectionConfiguration request parameter in ScheduleRun.
|
1446
|
-
#
|
1447
|
-
# @note When making an API call, you may pass DeviceSelectionConfiguration
|
1448
|
-
# data as a hash:
|
1449
|
-
#
|
1450
|
-
# {
|
1451
|
-
# filters: [ # required
|
1452
|
-
# {
|
1453
|
-
# attribute: "ARN", # accepts ARN, PLATFORM, OS_VERSION, MODEL, AVAILABILITY, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, INSTANCE_ARN, INSTANCE_LABELS, FLEET_TYPE
|
1454
|
-
# operator: "EQUALS", # accepts EQUALS, LESS_THAN, LESS_THAN_OR_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS, IN, NOT_IN, CONTAINS
|
1455
|
-
# values: ["String"],
|
1456
|
-
# },
|
1457
|
-
# ],
|
1458
|
-
# max_devices: 1, # required
|
1459
|
-
# }
|
1460
|
-
#
|
1461
|
-
# @!attribute [rw] filters
|
1462
|
-
# Used to dynamically select a set of devices for a test run. A filter
|
1463
|
-
# is made up of an attribute, an operator, and one or more values.
|
1464
|
-
#
|
1465
|
-
# * Attribute: The aspect of a device such as platform or model used
|
1466
|
-
# as the selection criteria in a device filter.
|
1467
|
-
#
|
1468
|
-
# Allowed values include:
|
1469
|
-
#
|
1470
|
-
# * ARN: The Amazon Resource Name (ARN) of the device. For example,
|
1471
|
-
# "arn:aws:devicefarm:us-west-2::device:12345Example".
|
1472
|
-
#
|
1473
|
-
# * PLATFORM: The device platform. Valid values are "ANDROID" or
|
1474
|
-
# "IOS".
|
1475
|
-
#
|
1476
|
-
# * OS\_VERSION: The operating system version. For example,
|
1477
|
-
# "10.3.2".
|
1478
|
-
#
|
1479
|
-
# * MODEL: The device model. For example, "iPad 5th Gen".
|
1480
|
-
#
|
1481
|
-
# * AVAILABILITY: The current availability of the device. Valid
|
1482
|
-
# values are "AVAILABLE", "HIGHLY\_AVAILABLE", "BUSY", or
|
1483
|
-
# "TEMPORARY\_NOT\_AVAILABLE".
|
1484
|
-
#
|
1485
|
-
# * FORM\_FACTOR: The device form factor. Valid values are "PHONE"
|
1486
|
-
# or "TABLET".
|
1487
|
-
#
|
1488
|
-
# * MANUFACTURER: The device manufacturer. For example, "Apple".
|
1489
|
-
#
|
1490
|
-
# * REMOTE\_ACCESS\_ENABLED: Whether the device is enabled for
|
1491
|
-
# remote access.
|
1492
|
-
#
|
1493
|
-
# * REMOTE\_DEBUG\_ENABLED: Whether the device is enabled for remote
|
1494
|
-
# debugging.
|
1495
|
-
#
|
1496
|
-
# * INSTANCE\_ARN: The Amazon Resource Name (ARN) of the device
|
1497
|
-
# instance.
|
1498
|
-
#
|
1499
|
-
# * INSTANCE\_LABELS: The label of the device instance.
|
1500
|
-
#
|
1501
|
-
# * FLEET\_TYPE: The fleet type. Valid values are "PUBLIC" or
|
1502
|
-
# "PRIVATE".
|
1503
|
-
#
|
1504
|
-
# * Operator: The filter operator.
|
1505
|
-
#
|
1506
|
-
# * The EQUALS operator is available for every attribute except
|
1507
|
-
# INSTANCE\_LABELS.
|
1508
|
-
#
|
1509
|
-
# * The CONTAINS operator is available for the INSTANCE\_LABELS and
|
1510
|
-
# MODEL attributes.
|
1511
|
-
#
|
1512
|
-
# * The IN and NOT\_IN operators are available for the ARN,
|
1513
|
-
# OS\_VERSION, MODEL, MANUFACTURER, and INSTANCE\_ARN attributes.
|
1514
|
-
#
|
1515
|
-
# * The LESS\_THAN, GREATER\_THAN, LESS\_THAN\_OR\_EQUALS, and
|
1516
|
-
# GREATER\_THAN\_OR\_EQUALS operators are also available for the
|
1517
|
-
# OS\_VERSION attribute.
|
1518
|
-
#
|
1519
|
-
# * Values: An array of one or more filter values.
|
1520
|
-
#
|
1521
|
-
# * The IN and NOT operators can take a values array that has more
|
1522
|
-
# than one element.
|
1523
|
-
#
|
1524
|
-
# * The other operators require an array with a single element.
|
1525
|
-
#
|
1526
|
-
# * In a request, the AVAILABILITY attribute takes "AVAILABLE",
|
1527
|
-
# "HIGHLY\_AVAILABLE", "BUSY", or
|
1528
|
-
# "TEMPORARY\_NOT\_AVAILABLE" as values.
|
1529
|
-
# @return [Array<Types::DeviceFilter>]
|
1530
|
-
#
|
1531
|
-
# @!attribute [rw] max_devices
|
1532
|
-
# The maximum number of devices to be included in a test run.
|
1533
|
-
# @return [Integer]
|
1534
|
-
#
|
1535
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeviceSelectionConfiguration AWS API Documentation
|
1536
|
-
#
|
1537
|
-
class DeviceSelectionConfiguration < Struct.new(
|
1538
|
-
:filters,
|
1539
|
-
:max_devices)
|
1540
|
-
include Aws::Structure
|
1541
|
-
end
|
1542
|
-
|
1543
|
-
# Contains the run results requested by the device selection
|
1544
|
-
# configuration as well as how many devices were returned. For an
|
1545
|
-
# example of the JSON response syntax, see ScheduleRun.
|
1546
|
-
#
|
1547
|
-
# @!attribute [rw] filters
|
1548
|
-
# The filters in a device selection result.
|
1549
|
-
# @return [Array<Types::DeviceFilter>]
|
1550
|
-
#
|
1551
|
-
# @!attribute [rw] matched_devices_count
|
1552
|
-
# The number of devices that matched the device filter selection
|
1553
|
-
# criteria.
|
1554
|
-
# @return [Integer]
|
1555
|
-
#
|
1556
|
-
# @!attribute [rw] max_devices
|
1557
|
-
# The maximum number of devices to be selected by a device filter and
|
1558
|
-
# included in a test run.
|
1559
|
-
# @return [Integer]
|
1560
|
-
#
|
1561
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeviceSelectionResult AWS API Documentation
|
1562
|
-
#
|
1563
|
-
class DeviceSelectionResult < Struct.new(
|
1564
|
-
:filters,
|
1565
|
-
:matched_devices_count,
|
1566
|
-
:max_devices)
|
1567
|
-
include Aws::Structure
|
1568
|
-
end
|
1569
|
-
|
1570
1332
|
# Represents configuration information about a test run, such as the
|
1571
1333
|
# execution timeout (in minutes).
|
1572
1334
|
#
|
@@ -2695,13 +2457,6 @@ module Aws::DeviceFarm
|
|
2695
2457
|
# {
|
2696
2458
|
# arn: "AmazonResourceName",
|
2697
2459
|
# next_token: "PaginationToken",
|
2698
|
-
# filters: [
|
2699
|
-
# {
|
2700
|
-
# attribute: "ARN", # accepts ARN, PLATFORM, OS_VERSION, MODEL, AVAILABILITY, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, INSTANCE_ARN, INSTANCE_LABELS, FLEET_TYPE
|
2701
|
-
# operator: "EQUALS", # accepts EQUALS, LESS_THAN, LESS_THAN_OR_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS, IN, NOT_IN, CONTAINS
|
2702
|
-
# values: ["String"],
|
2703
|
-
# },
|
2704
|
-
# ],
|
2705
2460
|
# }
|
2706
2461
|
#
|
2707
2462
|
# @!attribute [rw] arn
|
@@ -2714,82 +2469,11 @@ module Aws::DeviceFarm
|
|
2714
2469
|
# list.
|
2715
2470
|
# @return [String]
|
2716
2471
|
#
|
2717
|
-
# @!attribute [rw] filters
|
2718
|
-
# Used to select a set of devices. A filter is made up of an
|
2719
|
-
# attribute, an operator, and one or more values.
|
2720
|
-
#
|
2721
|
-
# * Attribute: The aspect of a device such as platform or model used
|
2722
|
-
# as the selction criteria in a device filter.
|
2723
|
-
#
|
2724
|
-
# Allowed values include:
|
2725
|
-
#
|
2726
|
-
# * ARN: The Amazon Resource Name (ARN) of the device. For example,
|
2727
|
-
# "arn:aws:devicefarm:us-west-2::device:12345Example".
|
2728
|
-
#
|
2729
|
-
# * PLATFORM: The device platform. Valid values are "ANDROID" or
|
2730
|
-
# "IOS".
|
2731
|
-
#
|
2732
|
-
# * OS\_VERSION: The operating system version. For example,
|
2733
|
-
# "10.3.2".
|
2734
|
-
#
|
2735
|
-
# * MODEL: The device model. For example, "iPad 5th Gen".
|
2736
|
-
#
|
2737
|
-
# * AVAILABILITY: The current availability of the device. Valid
|
2738
|
-
# values are "AVAILABLE", "HIGHLY\_AVAILABLE", "BUSY", or
|
2739
|
-
# "TEMPORARY\_NOT\_AVAILABLE".
|
2740
|
-
#
|
2741
|
-
# * FORM\_FACTOR: The device form factor. Valid values are "PHONE"
|
2742
|
-
# or "TABLET".
|
2743
|
-
#
|
2744
|
-
# * MANUFACTURER: The device manufacturer. For example, "Apple".
|
2745
|
-
#
|
2746
|
-
# * REMOTE\_ACCESS\_ENABLED: Whether the device is enabled for
|
2747
|
-
# remote access.
|
2748
|
-
#
|
2749
|
-
# * REMOTE\_DEBUG\_ENABLED: Whether the device is enabled for remote
|
2750
|
-
# debugging.
|
2751
|
-
#
|
2752
|
-
# * INSTANCE\_ARN: The Amazon Resource Name (ARN) of the device
|
2753
|
-
# instance.
|
2754
|
-
#
|
2755
|
-
# * INSTANCE\_LABELS: The label of the device instance.
|
2756
|
-
#
|
2757
|
-
# * FLEET\_TYPE: The fleet type. Valid values are "PUBLIC" or
|
2758
|
-
# "PRIVATE".
|
2759
|
-
#
|
2760
|
-
# * Operator: The filter operator.
|
2761
|
-
#
|
2762
|
-
# * The EQUALS operator is available for every attribute except
|
2763
|
-
# INSTANCE\_LABELS.
|
2764
|
-
#
|
2765
|
-
# * The CONTAINS operator is available for the INSTANCE\_LABELS and
|
2766
|
-
# MODEL attributes.
|
2767
|
-
#
|
2768
|
-
# * The IN and NOT\_IN operators are available for the ARN,
|
2769
|
-
# OS\_VERSION, MODEL, MANUFACTURER, and INSTANCE\_ARN attributes.
|
2770
|
-
#
|
2771
|
-
# * The LESS\_THAN, GREATER\_THAN, LESS\_THAN\_OR\_EQUALS, and
|
2772
|
-
# GREATER\_THAN\_OR\_EQUALS operators are also available for the
|
2773
|
-
# OS\_VERSION attribute.
|
2774
|
-
#
|
2775
|
-
# * Values: An array of one or more filter values.
|
2776
|
-
#
|
2777
|
-
# * The IN and NOT operators can take a values array that has more
|
2778
|
-
# than one element.
|
2779
|
-
#
|
2780
|
-
# * The other operators require an array with a single element.
|
2781
|
-
#
|
2782
|
-
# * In a request, the AVAILABILITY attribute takes "AVAILABLE",
|
2783
|
-
# "HIGHLY\_AVAILABLE", "BUSY", or
|
2784
|
-
# "TEMPORARY\_NOT\_AVAILABLE" as values.
|
2785
|
-
# @return [Array<Types::DeviceFilter>]
|
2786
|
-
#
|
2787
2472
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicesRequest AWS API Documentation
|
2788
2473
|
#
|
2789
2474
|
class ListDevicesRequest < Struct.new(
|
2790
2475
|
:arn,
|
2791
|
-
:next_token
|
2792
|
-
:filters)
|
2476
|
+
:next_token)
|
2793
2477
|
include Aws::Structure
|
2794
2478
|
end
|
2795
2479
|
|
@@ -4303,8 +3987,7 @@ module Aws::DeviceFarm
|
|
4303
3987
|
include Aws::Structure
|
4304
3988
|
end
|
4305
3989
|
|
4306
|
-
# Represents a condition for a device pool.
|
4307
|
-
# `rules` parameter to CreateDevicePool and UpdateDevicePool.
|
3990
|
+
# Represents a condition for a device pool.
|
4308
3991
|
#
|
4309
3992
|
# @note When making an API call, you may pass Rule
|
4310
3993
|
# data as a hash:
|
@@ -4316,38 +3999,28 @@ module Aws::DeviceFarm
|
|
4316
3999
|
# }
|
4317
4000
|
#
|
4318
4001
|
# @!attribute [rw] attribute
|
4319
|
-
# The rule's attribute.
|
4320
|
-
#
|
4321
|
-
# pool.
|
4002
|
+
# The rule's stringified attribute. For example, specify the value as
|
4003
|
+
# `""abc""`.
|
4322
4004
|
#
|
4323
4005
|
# Allowed values include:
|
4324
4006
|
#
|
4325
|
-
# * ARN: The
|
4326
|
-
# "arn:aws:devicefarm:us-west-2::device:12345Example".
|
4007
|
+
# * ARN: The ARN.
|
4327
4008
|
#
|
4328
|
-
# *
|
4329
|
-
# "IOS".
|
4009
|
+
# * FORM\_FACTOR: The form factor (for example, phone or tablet).
|
4330
4010
|
#
|
4331
|
-
# *
|
4332
|
-
# or "TABLET".
|
4011
|
+
# * MANUFACTURER: The manufacturer.
|
4333
4012
|
#
|
4334
|
-
# *
|
4013
|
+
# * PLATFORM: The platform (for example, Android or iOS).
|
4335
4014
|
#
|
4336
4015
|
# * REMOTE\_ACCESS\_ENABLED: Whether the device is enabled for remote
|
4337
4016
|
# access.
|
4338
4017
|
#
|
4339
|
-
# * REMOTE\_DEBUG\_ENABLED: Whether the device is enabled for remote
|
4340
|
-
# debugging.
|
4341
|
-
#
|
4342
4018
|
# * APPIUM\_VERSION: The Appium version for the test.
|
4343
4019
|
#
|
4344
4020
|
# * INSTANCE\_ARN: The Amazon Resource Name (ARN) of the device
|
4345
4021
|
# instance.
|
4346
4022
|
#
|
4347
4023
|
# * INSTANCE\_LABELS: The label of the device instance.
|
4348
|
-
#
|
4349
|
-
# * FLEET\_TYPE: The fleet type. Valid values are "PUBLIC" or
|
4350
|
-
# "PRIVATE".
|
4351
4024
|
# @return [String]
|
4352
4025
|
#
|
4353
4026
|
# @!attribute [rw] operator
|
@@ -4368,12 +4041,6 @@ module Aws::DeviceFarm
|
|
4368
4041
|
#
|
4369
4042
|
# @!attribute [rw] value
|
4370
4043
|
# The rule's value.
|
4371
|
-
#
|
4372
|
-
# The value must be passed in as a string using escaped quotes.
|
4373
|
-
#
|
4374
|
-
# For example:
|
4375
|
-
#
|
4376
|
-
# "value": "\\"ANDROID\\""
|
4377
4044
|
# @return [String]
|
4378
4045
|
#
|
4379
4046
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Rule AWS API Documentation
|
@@ -4603,11 +4270,6 @@ module Aws::DeviceFarm
|
|
4603
4270
|
# The ARN of the YAML-formatted test specification for the run.
|
4604
4271
|
# @return [String]
|
4605
4272
|
#
|
4606
|
-
# @!attribute [rw] device_selection_result
|
4607
|
-
# The results of a device filter used to select the devices for a test
|
4608
|
-
# run.
|
4609
|
-
# @return [Types::DeviceSelectionResult]
|
4610
|
-
#
|
4611
4273
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Run AWS API Documentation
|
4612
4274
|
#
|
4613
4275
|
class Run < Struct.new(
|
@@ -4640,8 +4302,7 @@ module Aws::DeviceFarm
|
|
4640
4302
|
:customer_artifact_paths,
|
4641
4303
|
:web_url,
|
4642
4304
|
:skip_app_resign,
|
4643
|
-
:test_spec_arn
|
4644
|
-
:device_selection_result)
|
4305
|
+
:test_spec_arn)
|
4645
4306
|
include Aws::Structure
|
4646
4307
|
end
|
4647
4308
|
|
@@ -4806,17 +4467,7 @@ module Aws::DeviceFarm
|
|
4806
4467
|
# {
|
4807
4468
|
# project_arn: "AmazonResourceName", # required
|
4808
4469
|
# app_arn: "AmazonResourceName",
|
4809
|
-
# device_pool_arn: "AmazonResourceName",
|
4810
|
-
# device_selection_configuration: {
|
4811
|
-
# filters: [ # required
|
4812
|
-
# {
|
4813
|
-
# attribute: "ARN", # accepts ARN, PLATFORM, OS_VERSION, MODEL, AVAILABILITY, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, INSTANCE_ARN, INSTANCE_LABELS, FLEET_TYPE
|
4814
|
-
# operator: "EQUALS", # accepts EQUALS, LESS_THAN, LESS_THAN_OR_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS, IN, NOT_IN, CONTAINS
|
4815
|
-
# values: ["String"],
|
4816
|
-
# },
|
4817
|
-
# ],
|
4818
|
-
# max_devices: 1, # required
|
4819
|
-
# },
|
4470
|
+
# device_pool_arn: "AmazonResourceName", # required
|
4820
4471
|
# name: "Name",
|
4821
4472
|
# test: { # required
|
4822
4473
|
# 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
|
@@ -4869,22 +4520,8 @@ module Aws::DeviceFarm
|
|
4869
4520
|
#
|
4870
4521
|
# @!attribute [rw] device_pool_arn
|
4871
4522
|
# The ARN of the device pool for the run to be scheduled.
|
4872
|
-
#
|
4873
|
-
# Either <b> <code>devicePoolArn</code> </b> or <b>
|
4874
|
-
# <code>deviceSelectionConfiguration</code> </b> are required in a
|
4875
|
-
# request.
|
4876
4523
|
# @return [String]
|
4877
4524
|
#
|
4878
|
-
# @!attribute [rw] device_selection_configuration
|
4879
|
-
# The filter criteria used to dynamically select a set of devices for
|
4880
|
-
# a test run, as well as the maximum number of devices to be included
|
4881
|
-
# in the run.
|
4882
|
-
#
|
4883
|
-
# Either <b> <code>devicePoolArn</code> </b> or <b>
|
4884
|
-
# <code>deviceSelectionConfiguration</code> </b> are required in a
|
4885
|
-
# request.
|
4886
|
-
# @return [Types::DeviceSelectionConfiguration]
|
4887
|
-
#
|
4888
4525
|
# @!attribute [rw] name
|
4889
4526
|
# The name for the run to be scheduled.
|
4890
4527
|
# @return [String]
|
@@ -4908,7 +4545,6 @@ module Aws::DeviceFarm
|
|
4908
4545
|
:project_arn,
|
4909
4546
|
:app_arn,
|
4910
4547
|
:device_pool_arn,
|
4911
|
-
:device_selection_configuration,
|
4912
4548
|
:name,
|
4913
4549
|
:test,
|
4914
4550
|
:configuration,
|
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.14.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-
|
11
|
+
date: 2018-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.39.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.39.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|