aws-sdk-devicefarm 1.28.0 → 1.33.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 +5 -5
- data/lib/aws-sdk-devicefarm.rb +7 -4
- data/lib/aws-sdk-devicefarm/client.rb +781 -316
- data/lib/aws-sdk-devicefarm/client_api.rb +300 -3
- data/lib/aws-sdk-devicefarm/errors.rb +62 -8
- data/lib/aws-sdk-devicefarm/resource.rb +1 -0
- data/lib/aws-sdk-devicefarm/types.rb +1361 -839
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 12dbf5091cf7e4ab893ed0315e59f4fd847f65714904d9054581bf465ea5d552
|
4
|
+
data.tar.gz: 7fd140d513bfc73dea9a8971c7e78e33c1b38b28bdbfe2c2c90cdae8cb3c4c15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13e76097a969dacca80bc5b75b24399bbeb9dc6cd867b4311fea6af7d5daa257332235c8288586c32b05aebbf5c23750f011432d2782a0d18b067839ff92574a
|
7
|
+
data.tar.gz: be17b5fc0a9625cb788b0c4e33f327c6e0b7d1d128d1b02fe082fe9b024284f79d0f13887ec7d49f285b96c2adaee6a1c397c9344f5e872fc32cd7d6d7959475
|
data/lib/aws-sdk-devicefarm.rb
CHANGED
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-devicefarm/customizations'
|
|
24
24
|
# methods each accept a hash of request parameters and return a response
|
25
25
|
# structure.
|
26
26
|
#
|
27
|
+
# device_farm = Aws::DeviceFarm::Client.new
|
28
|
+
# resp = device_farm.create_device_pool(params)
|
29
|
+
#
|
27
30
|
# See {Client} for more information.
|
28
31
|
#
|
29
32
|
# # Errors
|
30
33
|
#
|
31
|
-
# Errors returned from AWS Device Farm
|
32
|
-
# extend {Errors::ServiceError}.
|
34
|
+
# Errors returned from AWS Device Farm are defined in the
|
35
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
36
|
#
|
34
37
|
# begin
|
35
38
|
# # do stuff
|
36
39
|
# rescue Aws::DeviceFarm::Errors::ServiceError
|
37
|
-
# # rescues all
|
40
|
+
# # rescues all AWS Device Farm API errors
|
38
41
|
# end
|
39
42
|
#
|
40
43
|
# See {Errors} for more information.
|
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-devicefarm/customizations'
|
|
42
45
|
# @service
|
43
46
|
module Aws::DeviceFarm
|
44
47
|
|
45
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.33.0'
|
46
49
|
|
47
50
|
end
|
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:devicefarm)
|
31
31
|
|
32
32
|
module Aws::DeviceFarm
|
33
|
+
# An API client for DeviceFarm. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::DeviceFarm::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -93,7 +105,7 @@ module Aws::DeviceFarm
|
|
93
105
|
# @option options [required, String] :region
|
94
106
|
# The AWS region to connect to. The configured `:region` is
|
95
107
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
97
109
|
#
|
98
110
|
# * `Aws.config[:region]`
|
99
111
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +120,12 @@ module Aws::DeviceFarm
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::DeviceFarm
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -139,7 +161,7 @@ module Aws::DeviceFarm
|
|
139
161
|
# @option options [String] :endpoint
|
140
162
|
# The client endpoint is normally constructed from the `:region`
|
141
163
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
143
165
|
#
|
144
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +176,7 @@ module Aws::DeviceFarm
|
|
154
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
177
|
#
|
156
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
180
|
#
|
159
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
182
|
# The log formatter.
|
@@ -166,15 +188,29 @@ module Aws::DeviceFarm
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,30 @@ module Aws::DeviceFarm
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
190
245
|
#
|
191
246
|
# @option options [String] :secret_access_key
|
192
247
|
#
|
@@ -219,16 +274,15 @@ module Aws::DeviceFarm
|
|
219
274
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
275
|
#
|
221
276
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
277
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
278
|
# `Timeout::Error`.
|
224
279
|
#
|
225
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
281
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
282
|
+
# safely be set per-request on the session.
|
229
283
|
#
|
230
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
285
|
+
# seconds a connection is allowed to sit idle before it is
|
232
286
|
# considered stale. Stale connections are closed and removed
|
233
287
|
# from the pool before making a request.
|
234
288
|
#
|
@@ -237,7 +291,7 @@ module Aws::DeviceFarm
|
|
237
291
|
# request body. This option has no effect unless the request has
|
238
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
293
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
294
|
+
# request on the session.
|
241
295
|
#
|
242
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -280,10 +334,10 @@ module Aws::DeviceFarm
|
|
280
334
|
#
|
281
335
|
# @option params [Integer] :max_devices
|
282
336
|
# The number of devices that Device Farm can add to your device pool.
|
283
|
-
# Device Farm adds devices that are available and
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
337
|
+
# Device Farm adds devices that are available and meet the criteria that
|
338
|
+
# you assign for the `rules` parameter. Depending on how many devices
|
339
|
+
# meet these constraints, your device pool might contain fewer devices
|
340
|
+
# than the value for this parameter.
|
287
341
|
#
|
288
342
|
# By specifying the maximum number of devices, you can control the costs
|
289
343
|
# that you incur by running tests.
|
@@ -358,19 +412,19 @@ module Aws::DeviceFarm
|
|
358
412
|
# The description of your instance profile.
|
359
413
|
#
|
360
414
|
# @option params [Boolean] :package_cleanup
|
361
|
-
# When set to `true`, Device Farm
|
362
|
-
#
|
415
|
+
# When set to `true`, Device Farm removes app packages after a test run.
|
416
|
+
# The default value is `false` for private devices.
|
363
417
|
#
|
364
418
|
# @option params [Array<String>] :exclude_app_packages_from_cleanup
|
365
|
-
# An array of strings
|
366
|
-
# not be cleaned up from the device after a test run
|
419
|
+
# An array of strings that specifies the list of app packages that
|
420
|
+
# should not be cleaned up from the device after a test run.
|
367
421
|
#
|
368
|
-
# The list of packages is only
|
422
|
+
# The list of packages is considered only if you set `packageCleanup` to
|
369
423
|
# `true`.
|
370
424
|
#
|
371
425
|
# @option params [Boolean] :reboot_after_use
|
372
|
-
# When set to `true`, Device Farm
|
373
|
-
#
|
426
|
+
# When set to `true`, Device Farm reboots the instance after a test run.
|
427
|
+
# The default value is `true`.
|
374
428
|
#
|
375
429
|
# @return [Types::CreateInstanceProfileResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
376
430
|
#
|
@@ -412,14 +466,13 @@ module Aws::DeviceFarm
|
|
412
466
|
# create a network profile.
|
413
467
|
#
|
414
468
|
# @option params [required, String] :name
|
415
|
-
# The name
|
469
|
+
# The name for the new network profile.
|
416
470
|
#
|
417
471
|
# @option params [String] :description
|
418
472
|
# The description of the network profile.
|
419
473
|
#
|
420
474
|
# @option params [String] :type
|
421
|
-
# The type of network profile
|
422
|
-
# listed below.
|
475
|
+
# The type of network profile to create. Valid values are listed here.
|
423
476
|
#
|
424
477
|
# @option params [Integer] :uplink_bandwidth_bits
|
425
478
|
# The data throughput rate in bits per second, as an integer from 0 to
|
@@ -498,15 +551,15 @@ module Aws::DeviceFarm
|
|
498
551
|
req.send_request(options)
|
499
552
|
end
|
500
553
|
|
501
|
-
# Creates a
|
554
|
+
# Creates a project.
|
502
555
|
#
|
503
556
|
# @option params [required, String] :name
|
504
557
|
# The project's name.
|
505
558
|
#
|
506
559
|
# @option params [Integer] :default_job_timeout_minutes
|
507
560
|
# Sets the execution timeout value (in minutes) for a project. All test
|
508
|
-
# runs in this project
|
509
|
-
#
|
561
|
+
# runs in this project use the specified execution timeout value unless
|
562
|
+
# overridden when scheduling a run.
|
510
563
|
#
|
511
564
|
# @return [Types::CreateProjectResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
512
565
|
#
|
@@ -560,19 +613,19 @@ module Aws::DeviceFarm
|
|
560
613
|
# create a remote access session.
|
561
614
|
#
|
562
615
|
# @option params [required, String] :device_arn
|
563
|
-
# The
|
564
|
-
#
|
616
|
+
# The ARN of the device for which you want to create a remote access
|
617
|
+
# session.
|
565
618
|
#
|
566
619
|
# @option params [String] :instance_arn
|
567
620
|
# The Amazon Resource Name (ARN) of the device instance for which you
|
568
621
|
# want to create a remote access session.
|
569
622
|
#
|
570
623
|
# @option params [String] :ssh_public_key
|
571
|
-
#
|
572
|
-
# connecting to remote devices in your remote debugging session. This
|
573
|
-
#
|
624
|
+
# Ignored. The public key of the `ssh` key pair you want to use for
|
625
|
+
# connecting to remote devices in your remote debugging session. This
|
626
|
+
# key is required only if `remoteDebugEnabled` is set to `true`.
|
574
627
|
#
|
575
|
-
#
|
628
|
+
# Remote debugging is [no longer supported][1].
|
576
629
|
#
|
577
630
|
#
|
578
631
|
#
|
@@ -582,7 +635,7 @@ module Aws::DeviceFarm
|
|
582
635
|
# Set to `true` if you want to access devices remotely for debugging in
|
583
636
|
# your remote access session.
|
584
637
|
#
|
585
|
-
#
|
638
|
+
# Remote debugging is [no longer supported][1].
|
586
639
|
#
|
587
640
|
#
|
588
641
|
#
|
@@ -597,15 +650,15 @@ module Aws::DeviceFarm
|
|
597
650
|
# remote access session.
|
598
651
|
#
|
599
652
|
# @option params [String] :name
|
600
|
-
# The name of the remote access session
|
653
|
+
# The name of the remote access session to create.
|
601
654
|
#
|
602
655
|
# @option params [String] :client_id
|
603
656
|
# Unique identifier for the client. If you want access to multiple
|
604
657
|
# devices on the same client, you should pass the same `clientId` value
|
605
|
-
# in each call to `CreateRemoteAccessSession`. This is
|
606
|
-
# `remoteDebugEnabled` is set to `true`.
|
658
|
+
# in each call to `CreateRemoteAccessSession`. This identifier is
|
659
|
+
# required only if `remoteDebugEnabled` is set to `true`.
|
607
660
|
#
|
608
|
-
#
|
661
|
+
# Remote debugging is [no longer supported][1].
|
609
662
|
#
|
610
663
|
#
|
611
664
|
#
|
@@ -618,24 +671,24 @@ module Aws::DeviceFarm
|
|
618
671
|
# The interaction mode of the remote access session. Valid values are:
|
619
672
|
#
|
620
673
|
# * INTERACTIVE: You can interact with the iOS device by viewing,
|
621
|
-
# touching, and rotating the screen. You
|
674
|
+
# touching, and rotating the screen. You cannot run XCUITest
|
622
675
|
# framework-based tests in this mode.
|
623
676
|
#
|
624
|
-
# * NO\_VIDEO: You are connected to the device but cannot interact with
|
677
|
+
# * NO\_VIDEO: You are connected to the device, but cannot interact with
|
625
678
|
# it or view the screen. This mode has the fastest test execution
|
626
|
-
# speed. You
|
679
|
+
# speed. You can run XCUITest framework-based tests in this mode.
|
627
680
|
#
|
628
|
-
# * VIDEO\_ONLY: You can view the screen but cannot touch or rotate it.
|
629
|
-
# You
|
630
|
-
#
|
681
|
+
# * VIDEO\_ONLY: You can view the screen, but cannot touch or rotate it.
|
682
|
+
# You can run XCUITest framework-based tests and watch the screen in
|
683
|
+
# this mode.
|
631
684
|
#
|
632
685
|
# @option params [Boolean] :skip_app_resign
|
633
|
-
# When set to `true`, for private devices, Device Farm
|
686
|
+
# When set to `true`, for private devices, Device Farm does not sign
|
634
687
|
# your app again. For public devices, Device Farm always signs your apps
|
635
|
-
# again
|
688
|
+
# again.
|
636
689
|
#
|
637
|
-
# For more information
|
638
|
-
# [Do you modify my app?][1]
|
690
|
+
# For more information on how Device Farm modifies your uploads during
|
691
|
+
# tests, see [Do you modify my app?][1]
|
639
692
|
#
|
640
693
|
#
|
641
694
|
#
|
@@ -756,107 +809,164 @@ module Aws::DeviceFarm
|
|
756
809
|
req.send_request(options)
|
757
810
|
end
|
758
811
|
|
812
|
+
# Creates a Selenium testing project. Projects are used to track
|
813
|
+
# TestGridSession instances.
|
814
|
+
#
|
815
|
+
# @option params [required, String] :name
|
816
|
+
# Human-readable name of the Selenium testing project.
|
817
|
+
#
|
818
|
+
# @option params [String] :description
|
819
|
+
# Human-readable description of the project.
|
820
|
+
#
|
821
|
+
# @return [Types::CreateTestGridProjectResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
822
|
+
#
|
823
|
+
# * {Types::CreateTestGridProjectResult#test_grid_project #test_grid_project} => Types::TestGridProject
|
824
|
+
#
|
825
|
+
# @example Request syntax with placeholder values
|
826
|
+
#
|
827
|
+
# resp = client.create_test_grid_project({
|
828
|
+
# name: "ResourceName", # required
|
829
|
+
# description: "ResourceDescription",
|
830
|
+
# })
|
831
|
+
#
|
832
|
+
# @example Response structure
|
833
|
+
#
|
834
|
+
# resp.test_grid_project.arn #=> String
|
835
|
+
# resp.test_grid_project.name #=> String
|
836
|
+
# resp.test_grid_project.description #=> String
|
837
|
+
# resp.test_grid_project.created #=> Time
|
838
|
+
#
|
839
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateTestGridProject AWS API Documentation
|
840
|
+
#
|
841
|
+
# @overload create_test_grid_project(params = {})
|
842
|
+
# @param [Hash] params ({})
|
843
|
+
def create_test_grid_project(params = {}, options = {})
|
844
|
+
req = build_request(:create_test_grid_project, params)
|
845
|
+
req.send_request(options)
|
846
|
+
end
|
847
|
+
|
848
|
+
# Creates a signed, short-term URL that can be passed to a Selenium
|
849
|
+
# `RemoteWebDriver` constructor.
|
850
|
+
#
|
851
|
+
# @option params [required, String] :project_arn
|
852
|
+
# ARN (from CreateTestGridProject or ListTestGridProjects) to associate
|
853
|
+
# with the short-term URL.
|
854
|
+
#
|
855
|
+
# @option params [required, Integer] :expires_in_seconds
|
856
|
+
# Lifetime, in seconds, of the URL.
|
857
|
+
#
|
858
|
+
# @return [Types::CreateTestGridUrlResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
859
|
+
#
|
860
|
+
# * {Types::CreateTestGridUrlResult#url #url} => String
|
861
|
+
# * {Types::CreateTestGridUrlResult#expires #expires} => Time
|
862
|
+
#
|
863
|
+
# @example Request syntax with placeholder values
|
864
|
+
#
|
865
|
+
# resp = client.create_test_grid_url({
|
866
|
+
# project_arn: "DeviceFarmArn", # required
|
867
|
+
# expires_in_seconds: 1, # required
|
868
|
+
# })
|
869
|
+
#
|
870
|
+
# @example Response structure
|
871
|
+
#
|
872
|
+
# resp.url #=> String
|
873
|
+
# resp.expires #=> Time
|
874
|
+
#
|
875
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateTestGridUrl AWS API Documentation
|
876
|
+
#
|
877
|
+
# @overload create_test_grid_url(params = {})
|
878
|
+
# @param [Hash] params ({})
|
879
|
+
def create_test_grid_url(params = {}, options = {})
|
880
|
+
req = build_request(:create_test_grid_url, params)
|
881
|
+
req.send_request(options)
|
882
|
+
end
|
883
|
+
|
759
884
|
# Uploads an app or test scripts.
|
760
885
|
#
|
761
886
|
# @option params [required, String] :project_arn
|
762
887
|
# The ARN of the project for the upload.
|
763
888
|
#
|
764
889
|
# @option params [required, String] :name
|
765
|
-
# The upload's file name. The name should not contain
|
766
|
-
#
|
767
|
-
# the `.ipa` extension. If uploading an Android app, the
|
768
|
-
#
|
769
|
-
# end with the `.zip` file extension.
|
890
|
+
# The upload's file name. The name should not contain any forward
|
891
|
+
# slashes (`/`). If you are uploading an iOS app, the file name must end
|
892
|
+
# with the `.ipa` extension. If you are uploading an Android app, the
|
893
|
+
# file name must end with the `.apk` extension. For all others, the file
|
894
|
+
# name must end with the `.zip` file extension.
|
770
895
|
#
|
771
896
|
# @option params [required, String] :type
|
772
897
|
# The upload's upload type.
|
773
898
|
#
|
774
899
|
# Must be one of the following values:
|
775
900
|
#
|
776
|
-
# * ANDROID\_APP
|
901
|
+
# * ANDROID\_APP
|
777
902
|
#
|
778
|
-
# * IOS\_APP
|
903
|
+
# * IOS\_APP
|
779
904
|
#
|
780
|
-
# * WEB\_APP
|
905
|
+
# * WEB\_APP
|
781
906
|
#
|
782
|
-
# * EXTERNAL\_DATA
|
907
|
+
# * EXTERNAL\_DATA
|
783
908
|
#
|
784
|
-
# * APPIUM\_JAVA\_JUNIT\_TEST\_PACKAGE
|
785
|
-
# package upload.
|
909
|
+
# * APPIUM\_JAVA\_JUNIT\_TEST\_PACKAGE
|
786
910
|
#
|
787
|
-
# * APPIUM\_JAVA\_TESTNG\_TEST\_PACKAGE
|
788
|
-
# package upload.
|
911
|
+
# * APPIUM\_JAVA\_TESTNG\_TEST\_PACKAGE
|
789
912
|
#
|
790
|
-
# * APPIUM\_PYTHON\_TEST\_PACKAGE
|
913
|
+
# * APPIUM\_PYTHON\_TEST\_PACKAGE
|
791
914
|
#
|
792
|
-
# * APPIUM\_NODE\_TEST\_PACKAGE
|
915
|
+
# * APPIUM\_NODE\_TEST\_PACKAGE
|
793
916
|
#
|
794
|
-
# * APPIUM\_RUBY\_TEST\_PACKAGE
|
917
|
+
# * APPIUM\_RUBY\_TEST\_PACKAGE
|
795
918
|
#
|
796
|
-
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_PACKAGE
|
797
|
-
# package upload for a web app.
|
919
|
+
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_PACKAGE
|
798
920
|
#
|
799
|
-
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_PACKAGE
|
800
|
-
# package upload for a web app.
|
921
|
+
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_PACKAGE
|
801
922
|
#
|
802
|
-
# * APPIUM\_WEB\_PYTHON\_TEST\_PACKAGE
|
803
|
-
# upload for a web app.
|
923
|
+
# * APPIUM\_WEB\_PYTHON\_TEST\_PACKAGE
|
804
924
|
#
|
805
|
-
# * APPIUM\_WEB\_NODE\_TEST\_PACKAGE
|
806
|
-
# upload for a web app.
|
925
|
+
# * APPIUM\_WEB\_NODE\_TEST\_PACKAGE
|
807
926
|
#
|
808
|
-
# * APPIUM\_WEB\_RUBY\_TEST\_PACKAGE
|
809
|
-
# for a web app.
|
927
|
+
# * APPIUM\_WEB\_RUBY\_TEST\_PACKAGE
|
810
928
|
#
|
811
|
-
# * CALABASH\_TEST\_PACKAGE
|
929
|
+
# * CALABASH\_TEST\_PACKAGE
|
812
930
|
#
|
813
|
-
# * INSTRUMENTATION\_TEST\_PACKAGE
|
931
|
+
# * INSTRUMENTATION\_TEST\_PACKAGE
|
814
932
|
#
|
815
|
-
# * UIAUTOMATION\_TEST\_PACKAGE
|
933
|
+
# * UIAUTOMATION\_TEST\_PACKAGE
|
816
934
|
#
|
817
|
-
# * UIAUTOMATOR\_TEST\_PACKAGE
|
935
|
+
# * UIAUTOMATOR\_TEST\_PACKAGE
|
818
936
|
#
|
819
|
-
# * XCTEST\_TEST\_PACKAGE
|
937
|
+
# * XCTEST\_TEST\_PACKAGE
|
820
938
|
#
|
821
|
-
# * XCTEST\_UI\_TEST\_PACKAGE
|
939
|
+
# * XCTEST\_UI\_TEST\_PACKAGE
|
822
940
|
#
|
823
|
-
# * APPIUM\_JAVA\_JUNIT\_TEST\_SPEC
|
824
|
-
# upload.
|
941
|
+
# * APPIUM\_JAVA\_JUNIT\_TEST\_SPEC
|
825
942
|
#
|
826
|
-
# * APPIUM\_JAVA\_TESTNG\_TEST\_SPEC
|
827
|
-
# upload.
|
943
|
+
# * APPIUM\_JAVA\_TESTNG\_TEST\_SPEC
|
828
944
|
#
|
829
|
-
# * APPIUM\_PYTHON\_TEST\_SPEC
|
945
|
+
# * APPIUM\_PYTHON\_TEST\_SPEC
|
830
946
|
#
|
831
|
-
# * APPIUM\_NODE\_TEST\_SPEC
|
947
|
+
# * APPIUM\_NODE\_TEST\_SPEC
|
832
948
|
#
|
833
|
-
# * APPIUM\_RUBY\_TEST\_SPEC
|
949
|
+
# * APPIUM\_RUBY\_TEST\_SPEC
|
834
950
|
#
|
835
|
-
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_SPEC
|
836
|
-
# upload for a web app.
|
951
|
+
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_SPEC
|
837
952
|
#
|
838
|
-
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_SPEC
|
839
|
-
# spec upload for a web app.
|
953
|
+
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_SPEC
|
840
954
|
#
|
841
|
-
# * APPIUM\_WEB\_PYTHON\_TEST\_SPEC
|
842
|
-
# for a web app.
|
955
|
+
# * APPIUM\_WEB\_PYTHON\_TEST\_SPEC
|
843
956
|
#
|
844
|
-
# * APPIUM\_WEB\_NODE\_TEST\_SPEC
|
845
|
-
# for a web app.
|
957
|
+
# * APPIUM\_WEB\_NODE\_TEST\_SPEC
|
846
958
|
#
|
847
|
-
# * APPIUM\_WEB\_RUBY\_TEST\_SPEC
|
848
|
-
# web app.
|
959
|
+
# * APPIUM\_WEB\_RUBY\_TEST\_SPEC
|
849
960
|
#
|
850
|
-
# * INSTRUMENTATION\_TEST\_SPEC
|
961
|
+
# * INSTRUMENTATION\_TEST\_SPEC
|
851
962
|
#
|
852
|
-
# * XCTEST\_UI\_TEST\_SPEC
|
963
|
+
# * XCTEST\_UI\_TEST\_SPEC
|
853
964
|
#
|
854
|
-
#
|
855
|
-
#
|
965
|
+
# If you call `CreateUpload` with `WEB_APP` specified, AWS Device Farm
|
966
|
+
# throws an `ArgumentException` error.
|
856
967
|
#
|
857
968
|
# @option params [String] :content_type
|
858
|
-
# The upload's content type (for example,
|
859
|
-
# "application/octet-stream").
|
969
|
+
# The upload's content type (for example, `application/octet-stream`).
|
860
970
|
#
|
861
971
|
# @return [Types::CreateUploadResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
862
972
|
#
|
@@ -924,16 +1034,16 @@ module Aws::DeviceFarm
|
|
924
1034
|
# manage your configurations more easily.
|
925
1035
|
#
|
926
1036
|
# @option params [required, String] :vpce_service_name
|
927
|
-
# The name of the VPC endpoint service running
|
928
|
-
#
|
1037
|
+
# The name of the VPC endpoint service running in your AWS account that
|
1038
|
+
# you want Device Farm to test.
|
929
1039
|
#
|
930
1040
|
# @option params [required, String] :service_dns_name
|
931
1041
|
# The DNS name of the service running in your VPC that you want Device
|
932
1042
|
# Farm to test.
|
933
1043
|
#
|
934
1044
|
# @option params [String] :vpce_configuration_description
|
935
|
-
# An optional description
|
936
|
-
#
|
1045
|
+
# An optional description that provides details about your VPC endpoint
|
1046
|
+
# configuration.
|
937
1047
|
#
|
938
1048
|
# @return [Types::CreateVPCEConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
939
1049
|
#
|
@@ -970,7 +1080,7 @@ module Aws::DeviceFarm
|
|
970
1080
|
#
|
971
1081
|
# @option params [required, String] :arn
|
972
1082
|
# Represents the Amazon Resource Name (ARN) of the Device Farm device
|
973
|
-
# pool
|
1083
|
+
# pool to delete.
|
974
1084
|
#
|
975
1085
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
976
1086
|
#
|
@@ -1029,8 +1139,7 @@ module Aws::DeviceFarm
|
|
1029
1139
|
# Deletes a network profile.
|
1030
1140
|
#
|
1031
1141
|
# @option params [required, String] :arn
|
1032
|
-
# The
|
1033
|
-
# delete.
|
1142
|
+
# The ARN of the network profile to delete.
|
1034
1143
|
#
|
1035
1144
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1036
1145
|
#
|
@@ -1051,11 +1160,11 @@ module Aws::DeviceFarm
|
|
1051
1160
|
|
1052
1161
|
# Deletes an AWS Device Farm project, given the project ARN.
|
1053
1162
|
#
|
1054
|
-
#
|
1163
|
+
# Deleting this resource does not stop an in-progress run.
|
1055
1164
|
#
|
1056
1165
|
# @option params [required, String] :arn
|
1057
1166
|
# Represents the Amazon Resource Name (ARN) of the Device Farm project
|
1058
|
-
#
|
1167
|
+
# to delete.
|
1059
1168
|
#
|
1060
1169
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1061
1170
|
#
|
@@ -1125,10 +1234,10 @@ module Aws::DeviceFarm
|
|
1125
1234
|
|
1126
1235
|
# Deletes the run, given the run ARN.
|
1127
1236
|
#
|
1128
|
-
#
|
1237
|
+
# Deleting this resource does not stop an in-progress run.
|
1129
1238
|
#
|
1130
1239
|
# @option params [required, String] :arn
|
1131
|
-
# The Amazon Resource Name (ARN) for the run
|
1240
|
+
# The Amazon Resource Name (ARN) for the run to delete.
|
1132
1241
|
#
|
1133
1242
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1134
1243
|
#
|
@@ -1160,11 +1269,40 @@ module Aws::DeviceFarm
|
|
1160
1269
|
req.send_request(options)
|
1161
1270
|
end
|
1162
1271
|
|
1272
|
+
# Deletes a Selenium testing project and all content generated under it.
|
1273
|
+
#
|
1274
|
+
# You cannot undo this operation.
|
1275
|
+
#
|
1276
|
+
# <note markdown="1"> You cannot delete a project if it has active sessions.
|
1277
|
+
#
|
1278
|
+
# </note>
|
1279
|
+
#
|
1280
|
+
# @option params [required, String] :project_arn
|
1281
|
+
# The ARN of the project to delete, from CreateTestGridProject or
|
1282
|
+
# ListTestGridProjects.
|
1283
|
+
#
|
1284
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1285
|
+
#
|
1286
|
+
# @example Request syntax with placeholder values
|
1287
|
+
#
|
1288
|
+
# resp = client.delete_test_grid_project({
|
1289
|
+
# project_arn: "DeviceFarmArn", # required
|
1290
|
+
# })
|
1291
|
+
#
|
1292
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteTestGridProject AWS API Documentation
|
1293
|
+
#
|
1294
|
+
# @overload delete_test_grid_project(params = {})
|
1295
|
+
# @param [Hash] params ({})
|
1296
|
+
def delete_test_grid_project(params = {}, options = {})
|
1297
|
+
req = build_request(:delete_test_grid_project, params)
|
1298
|
+
req.send_request(options)
|
1299
|
+
end
|
1300
|
+
|
1163
1301
|
# Deletes an upload given the upload ARN.
|
1164
1302
|
#
|
1165
1303
|
# @option params [required, String] :arn
|
1166
|
-
# Represents the Amazon Resource Name (ARN) of the Device Farm upload
|
1167
|
-
#
|
1304
|
+
# Represents the Amazon Resource Name (ARN) of the Device Farm upload to
|
1305
|
+
# delete.
|
1168
1306
|
#
|
1169
1307
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1170
1308
|
#
|
@@ -1220,8 +1358,8 @@ module Aws::DeviceFarm
|
|
1220
1358
|
req.send_request(options)
|
1221
1359
|
end
|
1222
1360
|
|
1223
|
-
# Returns the number of unmetered iOS
|
1224
|
-
#
|
1361
|
+
# Returns the number of unmetered iOS or unmetered Android devices that
|
1362
|
+
# have been purchased by the account.
|
1225
1363
|
#
|
1226
1364
|
# @return [Types::GetAccountSettingsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1227
1365
|
#
|
@@ -1368,7 +1506,7 @@ module Aws::DeviceFarm
|
|
1368
1506
|
req.send_request(options)
|
1369
1507
|
end
|
1370
1508
|
|
1371
|
-
# Returns information about a device instance
|
1509
|
+
# Returns information about a device instance that belongs to a private
|
1372
1510
|
# device fleet.
|
1373
1511
|
#
|
1374
1512
|
# @option params [required, String] :arn
|
@@ -1474,49 +1612,49 @@ module Aws::DeviceFarm
|
|
1474
1612
|
#
|
1475
1613
|
# Allowed values include the following:
|
1476
1614
|
#
|
1477
|
-
# * BUILTIN\_FUZZ
|
1615
|
+
# * BUILTIN\_FUZZ.
|
1478
1616
|
#
|
1479
|
-
# * BUILTIN\_EXPLORER
|
1480
|
-
#
|
1617
|
+
# * BUILTIN\_EXPLORER. For Android, an app explorer that traverses an
|
1618
|
+
# Android app, interacting with it and capturing screenshots at the
|
1481
1619
|
# same time.
|
1482
1620
|
#
|
1483
|
-
# * APPIUM\_JAVA\_JUNIT
|
1621
|
+
# * APPIUM\_JAVA\_JUNIT.
|
1484
1622
|
#
|
1485
|
-
# * APPIUM\_JAVA\_TESTNG
|
1623
|
+
# * APPIUM\_JAVA\_TESTNG.
|
1486
1624
|
#
|
1487
|
-
# * APPIUM\_PYTHON
|
1625
|
+
# * APPIUM\_PYTHON.
|
1488
1626
|
#
|
1489
|
-
# * APPIUM\_NODE
|
1627
|
+
# * APPIUM\_NODE.
|
1490
1628
|
#
|
1491
|
-
# * APPIUM\_RUBY
|
1629
|
+
# * APPIUM\_RUBY.
|
1492
1630
|
#
|
1493
|
-
# * APPIUM\_WEB\_JAVA\_JUNIT
|
1631
|
+
# * APPIUM\_WEB\_JAVA\_JUNIT.
|
1494
1632
|
#
|
1495
|
-
# * APPIUM\_WEB\_JAVA\_TESTNG
|
1633
|
+
# * APPIUM\_WEB\_JAVA\_TESTNG.
|
1496
1634
|
#
|
1497
|
-
# * APPIUM\_WEB\_PYTHON
|
1635
|
+
# * APPIUM\_WEB\_PYTHON.
|
1498
1636
|
#
|
1499
|
-
# * APPIUM\_WEB\_NODE
|
1637
|
+
# * APPIUM\_WEB\_NODE.
|
1500
1638
|
#
|
1501
|
-
# * APPIUM\_WEB\_RUBY
|
1639
|
+
# * APPIUM\_WEB\_RUBY.
|
1502
1640
|
#
|
1503
|
-
# * CALABASH
|
1641
|
+
# * CALABASH.
|
1504
1642
|
#
|
1505
|
-
# * INSTRUMENTATION
|
1643
|
+
# * INSTRUMENTATION.
|
1506
1644
|
#
|
1507
|
-
# * UIAUTOMATION
|
1645
|
+
# * UIAUTOMATION.
|
1508
1646
|
#
|
1509
|
-
# * UIAUTOMATOR
|
1647
|
+
# * UIAUTOMATOR.
|
1510
1648
|
#
|
1511
|
-
# * XCTEST
|
1649
|
+
# * XCTEST.
|
1512
1650
|
#
|
1513
|
-
# * XCTEST\_UI
|
1651
|
+
# * XCTEST\_UI.
|
1514
1652
|
#
|
1515
1653
|
# @option params [Types::ScheduleRunTest] :test
|
1516
1654
|
# Information about the uploaded test to be run against the device pool.
|
1517
1655
|
#
|
1518
1656
|
# @option params [Types::ScheduleRunConfiguration] :configuration
|
1519
|
-
# An object
|
1657
|
+
# An object that contains information about the settings for a run.
|
1520
1658
|
#
|
1521
1659
|
# @return [Types::GetDevicePoolCompatibilityResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1522
1660
|
#
|
@@ -1681,7 +1819,7 @@ module Aws::DeviceFarm
|
|
1681
1819
|
# Returns information about the specified instance profile.
|
1682
1820
|
#
|
1683
1821
|
# @option params [required, String] :arn
|
1684
|
-
# The Amazon Resource Name (ARN) of
|
1822
|
+
# The Amazon Resource Name (ARN) of an instance profile.
|
1685
1823
|
#
|
1686
1824
|
# @return [Types::GetInstanceProfileResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1687
1825
|
#
|
@@ -1816,8 +1954,7 @@ module Aws::DeviceFarm
|
|
1816
1954
|
# Returns information about a network profile.
|
1817
1955
|
#
|
1818
1956
|
# @option params [required, String] :arn
|
1819
|
-
# The
|
1820
|
-
# return information about.
|
1957
|
+
# The ARN of the network profile to return information about.
|
1821
1958
|
#
|
1822
1959
|
# @return [Types::GetNetworkProfileResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1823
1960
|
#
|
@@ -1857,9 +1994,9 @@ module Aws::DeviceFarm
|
|
1857
1994
|
# by an AWS account. The response indicates how many offerings are
|
1858
1995
|
# currently available and the offerings that will be available in the
|
1859
1996
|
# next period. The API returns a `NotEligible` error if the user is not
|
1860
|
-
# permitted to invoke the operation.
|
1861
|
-
#
|
1862
|
-
#
|
1997
|
+
# permitted to invoke the operation. If you must be able to invoke this
|
1998
|
+
# operation, contact
|
1999
|
+
# [aws-devicefarm-support@amazon.com](mailto:aws-devicefarm-support@amazon.com).
|
1863
2000
|
#
|
1864
2001
|
# @option params [String] :next_token
|
1865
2002
|
# An identifier that was returned from the previous call to this
|
@@ -1872,6 +2009,8 @@ module Aws::DeviceFarm
|
|
1872
2009
|
# * {Types::GetOfferingStatusResult#next_period #next_period} => Hash<String,Types::OfferingStatus>
|
1873
2010
|
# * {Types::GetOfferingStatusResult#next_token #next_token} => String
|
1874
2011
|
#
|
2012
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2013
|
+
#
|
1875
2014
|
#
|
1876
2015
|
# @example Example: To get status information about device offerings
|
1877
2016
|
#
|
@@ -2355,6 +2494,88 @@ module Aws::DeviceFarm
|
|
2355
2494
|
req.send_request(options)
|
2356
2495
|
end
|
2357
2496
|
|
2497
|
+
# Retrieves information about a Selenium testing project.
|
2498
|
+
#
|
2499
|
+
# @option params [required, String] :project_arn
|
2500
|
+
# The ARN of the Selenium testing project, from either
|
2501
|
+
# CreateTestGridProject or ListTestGridProjects.
|
2502
|
+
#
|
2503
|
+
# @return [Types::GetTestGridProjectResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2504
|
+
#
|
2505
|
+
# * {Types::GetTestGridProjectResult#test_grid_project #test_grid_project} => Types::TestGridProject
|
2506
|
+
#
|
2507
|
+
# @example Request syntax with placeholder values
|
2508
|
+
#
|
2509
|
+
# resp = client.get_test_grid_project({
|
2510
|
+
# project_arn: "DeviceFarmArn", # required
|
2511
|
+
# })
|
2512
|
+
#
|
2513
|
+
# @example Response structure
|
2514
|
+
#
|
2515
|
+
# resp.test_grid_project.arn #=> String
|
2516
|
+
# resp.test_grid_project.name #=> String
|
2517
|
+
# resp.test_grid_project.description #=> String
|
2518
|
+
# resp.test_grid_project.created #=> Time
|
2519
|
+
#
|
2520
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTestGridProject AWS API Documentation
|
2521
|
+
#
|
2522
|
+
# @overload get_test_grid_project(params = {})
|
2523
|
+
# @param [Hash] params ({})
|
2524
|
+
def get_test_grid_project(params = {}, options = {})
|
2525
|
+
req = build_request(:get_test_grid_project, params)
|
2526
|
+
req.send_request(options)
|
2527
|
+
end
|
2528
|
+
|
2529
|
+
# A session is an instance of a browser created through a
|
2530
|
+
# `RemoteWebDriver` with the URL from CreateTestGridUrlResult$url. You
|
2531
|
+
# can use the following to look up sessions:
|
2532
|
+
#
|
2533
|
+
# * The session ARN (GetTestGridSessionRequest$sessionArn).
|
2534
|
+
#
|
2535
|
+
# * The project ARN and a session ID
|
2536
|
+
# (GetTestGridSessionRequest$projectArn and
|
2537
|
+
# GetTestGridSessionRequest$sessionId).
|
2538
|
+
#
|
2539
|
+
# @option params [String] :project_arn
|
2540
|
+
# The ARN for the project that this session belongs to. See
|
2541
|
+
# CreateTestGridProject and ListTestGridProjects.
|
2542
|
+
#
|
2543
|
+
# @option params [String] :session_id
|
2544
|
+
# An ID associated with this session.
|
2545
|
+
#
|
2546
|
+
# @option params [String] :session_arn
|
2547
|
+
# An ARN that uniquely identifies a TestGridSession.
|
2548
|
+
#
|
2549
|
+
# @return [Types::GetTestGridSessionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2550
|
+
#
|
2551
|
+
# * {Types::GetTestGridSessionResult#test_grid_session #test_grid_session} => Types::TestGridSession
|
2552
|
+
#
|
2553
|
+
# @example Request syntax with placeholder values
|
2554
|
+
#
|
2555
|
+
# resp = client.get_test_grid_session({
|
2556
|
+
# project_arn: "DeviceFarmArn",
|
2557
|
+
# session_id: "ResourceId",
|
2558
|
+
# session_arn: "DeviceFarmArn",
|
2559
|
+
# })
|
2560
|
+
#
|
2561
|
+
# @example Response structure
|
2562
|
+
#
|
2563
|
+
# resp.test_grid_session.arn #=> String
|
2564
|
+
# resp.test_grid_session.status #=> String, one of "ACTIVE", "CLOSED", "ERRORED"
|
2565
|
+
# resp.test_grid_session.created #=> Time
|
2566
|
+
# resp.test_grid_session.ended #=> Time
|
2567
|
+
# resp.test_grid_session.billing_minutes #=> Float
|
2568
|
+
# resp.test_grid_session.selenium_properties #=> String
|
2569
|
+
#
|
2570
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTestGridSession AWS API Documentation
|
2571
|
+
#
|
2572
|
+
# @overload get_test_grid_session(params = {})
|
2573
|
+
# @param [Hash] params ({})
|
2574
|
+
def get_test_grid_session(params = {}, options = {})
|
2575
|
+
req = build_request(:get_test_grid_session, params)
|
2576
|
+
req.send_request(options)
|
2577
|
+
end
|
2578
|
+
|
2358
2579
|
# Gets information about an upload.
|
2359
2580
|
#
|
2360
2581
|
# @option params [required, String] :arn
|
@@ -2450,8 +2671,7 @@ module Aws::DeviceFarm
|
|
2450
2671
|
# which you are requesting information.
|
2451
2672
|
#
|
2452
2673
|
# @option params [required, String] :app_arn
|
2453
|
-
# The
|
2454
|
-
# requesting information.
|
2674
|
+
# The ARN of the app about which you are requesting information.
|
2455
2675
|
#
|
2456
2676
|
# @return [Types::InstallToRemoteAccessSessionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2457
2677
|
#
|
@@ -2505,18 +2725,18 @@ module Aws::DeviceFarm
|
|
2505
2725
|
# Gets information about artifacts.
|
2506
2726
|
#
|
2507
2727
|
# @option params [required, String] :arn
|
2508
|
-
# The
|
2728
|
+
# The run, job, suite, or test ARN.
|
2509
2729
|
#
|
2510
2730
|
# @option params [required, String] :type
|
2511
2731
|
# The artifacts' type.
|
2512
2732
|
#
|
2513
2733
|
# Allowed values include:
|
2514
2734
|
#
|
2515
|
-
# * FILE
|
2735
|
+
# * FILE
|
2516
2736
|
#
|
2517
|
-
# * LOG
|
2737
|
+
# * LOG
|
2518
2738
|
#
|
2519
|
-
# * SCREENSHOT
|
2739
|
+
# * SCREENSHOT
|
2520
2740
|
#
|
2521
2741
|
# @option params [String] :next_token
|
2522
2742
|
# An identifier that was returned from the previous call to this
|
@@ -2528,6 +2748,8 @@ module Aws::DeviceFarm
|
|
2528
2748
|
# * {Types::ListArtifactsResult#artifacts #artifacts} => Array<Types::Artifact>
|
2529
2749
|
# * {Types::ListArtifactsResult#next_token #next_token} => String
|
2530
2750
|
#
|
2751
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2752
|
+
#
|
2531
2753
|
#
|
2532
2754
|
# @example Example: To list artifacts for a resource
|
2533
2755
|
#
|
@@ -2569,8 +2791,8 @@ module Aws::DeviceFarm
|
|
2569
2791
|
# one or more AWS accounts.
|
2570
2792
|
#
|
2571
2793
|
# @option params [Integer] :max_results
|
2572
|
-
# An integer
|
2573
|
-
# in the API response.
|
2794
|
+
# An integer that specifies the maximum number of items you want to
|
2795
|
+
# return in the API response.
|
2574
2796
|
#
|
2575
2797
|
# @option params [String] :next_token
|
2576
2798
|
# An identifier that was returned from the previous call to this
|
@@ -2642,6 +2864,8 @@ module Aws::DeviceFarm
|
|
2642
2864
|
# * {Types::ListDevicePoolsResult#device_pools #device_pools} => Array<Types::DevicePool>
|
2643
2865
|
# * {Types::ListDevicePoolsResult#next_token #next_token} => String
|
2644
2866
|
#
|
2867
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2868
|
+
#
|
2645
2869
|
#
|
2646
2870
|
# @example Example: To get information about device pools
|
2647
2871
|
#
|
@@ -2732,40 +2956,37 @@ module Aws::DeviceFarm
|
|
2732
2956
|
#
|
2733
2957
|
# Allowed values include:
|
2734
2958
|
#
|
2735
|
-
# * ARN: The Amazon Resource Name (ARN) of the device
|
2736
|
-
#
|
2959
|
+
# * ARN: The Amazon Resource Name (ARN) of the device (for example,
|
2960
|
+
# `arn:aws:devicefarm:us-west-2::device:12345Example`).
|
2737
2961
|
#
|
2738
|
-
# * PLATFORM: The device platform. Valid values are
|
2739
|
-
# "IOS".
|
2962
|
+
# * PLATFORM: The device platform. Valid values are ANDROID or IOS.
|
2740
2963
|
#
|
2741
|
-
# * OS\_VERSION: The operating system version
|
2742
|
-
# "10.3.2".
|
2964
|
+
# * OS\_VERSION: The operating system version (for example, 10.3.2).
|
2743
2965
|
#
|
2744
|
-
# * MODEL: The device model
|
2966
|
+
# * MODEL: The device model (for example, iPad 5th Gen).
|
2745
2967
|
#
|
2746
2968
|
# * AVAILABILITY: The current availability of the device. Valid values
|
2747
|
-
# are
|
2748
|
-
#
|
2969
|
+
# are AVAILABLE, HIGHLY\_AVAILABLE, BUSY, or
|
2970
|
+
# TEMPORARY\_NOT\_AVAILABLE.
|
2749
2971
|
#
|
2750
|
-
# * FORM\_FACTOR: The device form factor. Valid values are
|
2751
|
-
#
|
2972
|
+
# * FORM\_FACTOR: The device form factor. Valid values are PHONE or
|
2973
|
+
# TABLET.
|
2752
2974
|
#
|
2753
|
-
# * MANUFACTURER: The device manufacturer
|
2975
|
+
# * MANUFACTURER: The device manufacturer (for example, Apple).
|
2754
2976
|
#
|
2755
2977
|
# * REMOTE\_ACCESS\_ENABLED: Whether the device is enabled for remote
|
2756
|
-
# access. Valid values are
|
2978
|
+
# access. Valid values are TRUE or FALSE.
|
2757
2979
|
#
|
2758
2980
|
# * REMOTE\_DEBUG\_ENABLED: Whether the device is enabled for remote
|
2759
|
-
# debugging. Valid values are
|
2760
|
-
#
|
2981
|
+
# debugging. Valid values are TRUE or FALSE. Because remote
|
2982
|
+
# debugging is [no longer supported][1], this attribute is ignored.
|
2761
2983
|
#
|
2762
2984
|
# * INSTANCE\_ARN: The Amazon Resource Name (ARN) of the device
|
2763
2985
|
# instance.
|
2764
2986
|
#
|
2765
2987
|
# * INSTANCE\_LABELS: The label of the device instance.
|
2766
2988
|
#
|
2767
|
-
# * FLEET\_TYPE: The fleet type. Valid values are
|
2768
|
-
# "PRIVATE".
|
2989
|
+
# * FLEET\_TYPE: The fleet type. Valid values are PUBLIC or PRIVATE.
|
2769
2990
|
#
|
2770
2991
|
# * Operator: The filter operator.
|
2771
2992
|
#
|
@@ -2789,9 +3010,9 @@ module Aws::DeviceFarm
|
|
2789
3010
|
#
|
2790
3011
|
# * The other operators require an array with a single element.
|
2791
3012
|
#
|
2792
|
-
# * In a request, the AVAILABILITY attribute takes
|
2793
|
-
#
|
2794
|
-
#
|
3013
|
+
# * In a request, the AVAILABILITY attribute takes the following
|
3014
|
+
# values: AVAILABLE, HIGHLY\_AVAILABLE, BUSY, or
|
3015
|
+
# TEMPORARY\_NOT\_AVAILABLE.
|
2795
3016
|
#
|
2796
3017
|
#
|
2797
3018
|
#
|
@@ -2802,6 +3023,8 @@ module Aws::DeviceFarm
|
|
2802
3023
|
# * {Types::ListDevicesResult#devices #devices} => Array<Types::Device>
|
2803
3024
|
# * {Types::ListDevicesResult#next_token #next_token} => String
|
2804
3025
|
#
|
3026
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3027
|
+
#
|
2805
3028
|
#
|
2806
3029
|
# @example Example: To get information about devices
|
2807
3030
|
#
|
@@ -2883,8 +3106,8 @@ module Aws::DeviceFarm
|
|
2883
3106
|
# Returns information about all the instance profiles in an AWS account.
|
2884
3107
|
#
|
2885
3108
|
# @option params [Integer] :max_results
|
2886
|
-
# An integer
|
2887
|
-
# in the API response.
|
3109
|
+
# An integer that specifies the maximum number of items you want to
|
3110
|
+
# return in the API response.
|
2888
3111
|
#
|
2889
3112
|
# @option params [String] :next_token
|
2890
3113
|
# An identifier that was returned from the previous call to this
|
@@ -2939,6 +3162,8 @@ module Aws::DeviceFarm
|
|
2939
3162
|
# * {Types::ListJobsResult#jobs #jobs} => Array<Types::Job>
|
2940
3163
|
# * {Types::ListJobsResult#next_token #next_token} => String
|
2941
3164
|
#
|
3165
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3166
|
+
#
|
2942
3167
|
#
|
2943
3168
|
# @example Example: To get information about jobs
|
2944
3169
|
#
|
@@ -3035,8 +3260,8 @@ module Aws::DeviceFarm
|
|
3035
3260
|
# list network profiles.
|
3036
3261
|
#
|
3037
3262
|
# @option params [String] :type
|
3038
|
-
# The type of network profile
|
3039
|
-
#
|
3263
|
+
# The type of network profile to return information about. Valid values
|
3264
|
+
# are listed here.
|
3040
3265
|
#
|
3041
3266
|
# @option params [String] :next_token
|
3042
3267
|
# An identifier that was returned from the previous call to this
|
@@ -3087,7 +3312,7 @@ module Aws::DeviceFarm
|
|
3087
3312
|
# `NotEligible` error if the caller is not permitted to invoke the
|
3088
3313
|
# operation. Contact
|
3089
3314
|
# [aws-devicefarm-support@amazon.com](mailto:aws-devicefarm-support@amazon.com)
|
3090
|
-
# if you
|
3315
|
+
# if you must be able to invoke this operation.
|
3091
3316
|
#
|
3092
3317
|
# @option params [String] :next_token
|
3093
3318
|
# An identifier that was returned from the previous call to this
|
@@ -3125,9 +3350,9 @@ module Aws::DeviceFarm
|
|
3125
3350
|
# renewal transactions for an AWS account. The list is paginated and
|
3126
3351
|
# ordered by a descending timestamp (most recent transactions are
|
3127
3352
|
# first). The API returns a `NotEligible` error if the user is not
|
3128
|
-
# permitted to invoke the operation.
|
3129
|
-
#
|
3130
|
-
#
|
3353
|
+
# permitted to invoke the operation. If you must be able to invoke this
|
3354
|
+
# operation, contact
|
3355
|
+
# [aws-devicefarm-support@amazon.com](mailto:aws-devicefarm-support@amazon.com).
|
3131
3356
|
#
|
3132
3357
|
# @option params [String] :next_token
|
3133
3358
|
# An identifier that was returned from the previous call to this
|
@@ -3139,6 +3364,8 @@ module Aws::DeviceFarm
|
|
3139
3364
|
# * {Types::ListOfferingTransactionsResult#offering_transactions #offering_transactions} => Array<Types::OfferingTransaction>
|
3140
3365
|
# * {Types::ListOfferingTransactionsResult#next_token #next_token} => String
|
3141
3366
|
#
|
3367
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3368
|
+
#
|
3142
3369
|
#
|
3143
3370
|
# @example Example: To get information about device offering transactions
|
3144
3371
|
#
|
@@ -3270,9 +3497,8 @@ module Aws::DeviceFarm
|
|
3270
3497
|
# through the API. Each offering record indicates the recurring price
|
3271
3498
|
# per unit and the frequency for that offering. The API returns a
|
3272
3499
|
# `NotEligible` error if the user is not permitted to invoke the
|
3273
|
-
# operation.
|
3274
|
-
# [aws-devicefarm-support@amazon.com](mailto:aws-devicefarm-support@amazon.com)
|
3275
|
-
# if you believe that you should be able to invoke this operation.
|
3500
|
+
# operation. If you must be able to invoke this operation, contact
|
3501
|
+
# [aws-devicefarm-support@amazon.com](mailto:aws-devicefarm-support@amazon.com).
|
3276
3502
|
#
|
3277
3503
|
# @option params [String] :next_token
|
3278
3504
|
# An identifier that was returned from the previous call to this
|
@@ -3284,6 +3510,8 @@ module Aws::DeviceFarm
|
|
3284
3510
|
# * {Types::ListOfferingsResult#offerings #offerings} => Array<Types::Offering>
|
3285
3511
|
# * {Types::ListOfferingsResult#next_token #next_token} => String
|
3286
3512
|
#
|
3513
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3514
|
+
#
|
3287
3515
|
#
|
3288
3516
|
# @example Example: To get information about device offerings
|
3289
3517
|
#
|
@@ -3404,6 +3632,8 @@ module Aws::DeviceFarm
|
|
3404
3632
|
# * {Types::ListProjectsResult#projects #projects} => Array<Types::Project>
|
3405
3633
|
# * {Types::ListProjectsResult#next_token #next_token} => String
|
3406
3634
|
#
|
3635
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3636
|
+
#
|
3407
3637
|
#
|
3408
3638
|
# @example Example: To get information about a Device Farm project
|
3409
3639
|
#
|
@@ -3583,6 +3813,8 @@ module Aws::DeviceFarm
|
|
3583
3813
|
# * {Types::ListRunsResult#runs #runs} => Array<Types::Run>
|
3584
3814
|
# * {Types::ListRunsResult#next_token #next_token} => String
|
3585
3815
|
#
|
3816
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3817
|
+
#
|
3586
3818
|
#
|
3587
3819
|
# @example Example: To get information about a test run
|
3588
3820
|
#
|
@@ -3726,6 +3958,8 @@ module Aws::DeviceFarm
|
|
3726
3958
|
# * {Types::ListSamplesResult#samples #samples} => Array<Types::Sample>
|
3727
3959
|
# * {Types::ListSamplesResult#next_token #next_token} => String
|
3728
3960
|
#
|
3961
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3962
|
+
#
|
3729
3963
|
#
|
3730
3964
|
# @example Example: To get information about samples
|
3731
3965
|
#
|
@@ -3781,6 +4015,8 @@ module Aws::DeviceFarm
|
|
3781
4015
|
# * {Types::ListSuitesResult#suites #suites} => Array<Types::Suite>
|
3782
4016
|
# * {Types::ListSuitesResult#next_token #next_token} => String
|
3783
4017
|
#
|
4018
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4019
|
+
#
|
3784
4020
|
#
|
3785
4021
|
# @example Example: To get information about suites
|
3786
4022
|
#
|
@@ -3840,9 +4076,9 @@ module Aws::DeviceFarm
|
|
3840
4076
|
# List the tags for an AWS Device Farm resource.
|
3841
4077
|
#
|
3842
4078
|
# @option params [required, String] :resource_arn
|
3843
|
-
# The Amazon Resource Name (ARN) of the resource
|
3844
|
-
# tags. You can associate tags with the following Device Farm
|
3845
|
-
# `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
|
4079
|
+
# The Amazon Resource Name (ARN) of the resource or resources for which
|
4080
|
+
# to list tags. You can associate tags with the following Device Farm
|
4081
|
+
# resources: `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
|
3846
4082
|
# `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`, `DEVICE`, and
|
3847
4083
|
# `VPCE_CONFIGURATION`.
|
3848
4084
|
#
|
@@ -3853,7 +4089,7 @@ module Aws::DeviceFarm
|
|
3853
4089
|
# @example Request syntax with placeholder values
|
3854
4090
|
#
|
3855
4091
|
# resp = client.list_tags_for_resource({
|
3856
|
-
# resource_arn: "
|
4092
|
+
# resource_arn: "DeviceFarmArn", # required
|
3857
4093
|
# })
|
3858
4094
|
#
|
3859
4095
|
# @example Response structure
|
@@ -3871,6 +4107,204 @@ module Aws::DeviceFarm
|
|
3871
4107
|
req.send_request(options)
|
3872
4108
|
end
|
3873
4109
|
|
4110
|
+
# Gets a list of all Selenium testing projects in your account.
|
4111
|
+
#
|
4112
|
+
# @option params [Integer] :max_result
|
4113
|
+
# Return no more than this number of results.
|
4114
|
+
#
|
4115
|
+
# @option params [String] :next_token
|
4116
|
+
# From a response, used to continue a paginated listing.
|
4117
|
+
#
|
4118
|
+
# @return [Types::ListTestGridProjectsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4119
|
+
#
|
4120
|
+
# * {Types::ListTestGridProjectsResult#test_grid_projects #test_grid_projects} => Array<Types::TestGridProject>
|
4121
|
+
# * {Types::ListTestGridProjectsResult#next_token #next_token} => String
|
4122
|
+
#
|
4123
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4124
|
+
#
|
4125
|
+
# @example Request syntax with placeholder values
|
4126
|
+
#
|
4127
|
+
# resp = client.list_test_grid_projects({
|
4128
|
+
# max_result: 1,
|
4129
|
+
# next_token: "PaginationToken",
|
4130
|
+
# })
|
4131
|
+
#
|
4132
|
+
# @example Response structure
|
4133
|
+
#
|
4134
|
+
# resp.test_grid_projects #=> Array
|
4135
|
+
# resp.test_grid_projects[0].arn #=> String
|
4136
|
+
# resp.test_grid_projects[0].name #=> String
|
4137
|
+
# resp.test_grid_projects[0].description #=> String
|
4138
|
+
# resp.test_grid_projects[0].created #=> Time
|
4139
|
+
# resp.next_token #=> String
|
4140
|
+
#
|
4141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestGridProjects AWS API Documentation
|
4142
|
+
#
|
4143
|
+
# @overload list_test_grid_projects(params = {})
|
4144
|
+
# @param [Hash] params ({})
|
4145
|
+
def list_test_grid_projects(params = {}, options = {})
|
4146
|
+
req = build_request(:list_test_grid_projects, params)
|
4147
|
+
req.send_request(options)
|
4148
|
+
end
|
4149
|
+
|
4150
|
+
# Returns a list of the actions taken in a TestGridSession.
|
4151
|
+
#
|
4152
|
+
# @option params [required, String] :session_arn
|
4153
|
+
# The ARN of the session to retrieve.
|
4154
|
+
#
|
4155
|
+
# @option params [Integer] :max_result
|
4156
|
+
# The maximum number of sessions to return per response.
|
4157
|
+
#
|
4158
|
+
# @option params [String] :next_token
|
4159
|
+
# Pagination token.
|
4160
|
+
#
|
4161
|
+
# @return [Types::ListTestGridSessionActionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4162
|
+
#
|
4163
|
+
# * {Types::ListTestGridSessionActionsResult#actions #actions} => Array<Types::TestGridSessionAction>
|
4164
|
+
# * {Types::ListTestGridSessionActionsResult#next_token #next_token} => String
|
4165
|
+
#
|
4166
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4167
|
+
#
|
4168
|
+
# @example Request syntax with placeholder values
|
4169
|
+
#
|
4170
|
+
# resp = client.list_test_grid_session_actions({
|
4171
|
+
# session_arn: "DeviceFarmArn", # required
|
4172
|
+
# max_result: 1,
|
4173
|
+
# next_token: "PaginationToken",
|
4174
|
+
# })
|
4175
|
+
#
|
4176
|
+
# @example Response structure
|
4177
|
+
#
|
4178
|
+
# resp.actions #=> Array
|
4179
|
+
# resp.actions[0].action #=> String
|
4180
|
+
# resp.actions[0].started #=> Time
|
4181
|
+
# resp.actions[0].duration #=> Integer
|
4182
|
+
# resp.actions[0].status_code #=> String
|
4183
|
+
# resp.actions[0].request_method #=> String
|
4184
|
+
# resp.next_token #=> String
|
4185
|
+
#
|
4186
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestGridSessionActions AWS API Documentation
|
4187
|
+
#
|
4188
|
+
# @overload list_test_grid_session_actions(params = {})
|
4189
|
+
# @param [Hash] params ({})
|
4190
|
+
def list_test_grid_session_actions(params = {}, options = {})
|
4191
|
+
req = build_request(:list_test_grid_session_actions, params)
|
4192
|
+
req.send_request(options)
|
4193
|
+
end
|
4194
|
+
|
4195
|
+
# Retrieves a list of artifacts created during the session.
|
4196
|
+
#
|
4197
|
+
# @option params [required, String] :session_arn
|
4198
|
+
# The ARN of a TestGridSession.
|
4199
|
+
#
|
4200
|
+
# @option params [String] :type
|
4201
|
+
# Limit results to a specified type of artifact.
|
4202
|
+
#
|
4203
|
+
# @option params [Integer] :max_result
|
4204
|
+
# The maximum number of results to be returned by a request.
|
4205
|
+
#
|
4206
|
+
# @option params [String] :next_token
|
4207
|
+
# Pagination token.
|
4208
|
+
#
|
4209
|
+
# @return [Types::ListTestGridSessionArtifactsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4210
|
+
#
|
4211
|
+
# * {Types::ListTestGridSessionArtifactsResult#artifacts #artifacts} => Array<Types::TestGridSessionArtifact>
|
4212
|
+
# * {Types::ListTestGridSessionArtifactsResult#next_token #next_token} => String
|
4213
|
+
#
|
4214
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4215
|
+
#
|
4216
|
+
# @example Request syntax with placeholder values
|
4217
|
+
#
|
4218
|
+
# resp = client.list_test_grid_session_artifacts({
|
4219
|
+
# session_arn: "DeviceFarmArn", # required
|
4220
|
+
# type: "VIDEO", # accepts VIDEO, LOG
|
4221
|
+
# max_result: 1,
|
4222
|
+
# next_token: "PaginationToken",
|
4223
|
+
# })
|
4224
|
+
#
|
4225
|
+
# @example Response structure
|
4226
|
+
#
|
4227
|
+
# resp.artifacts #=> Array
|
4228
|
+
# resp.artifacts[0].filename #=> String
|
4229
|
+
# resp.artifacts[0].type #=> String, one of "UNKNOWN", "VIDEO", "SELENIUM_LOG"
|
4230
|
+
# resp.artifacts[0].url #=> String
|
4231
|
+
# resp.next_token #=> String
|
4232
|
+
#
|
4233
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestGridSessionArtifacts AWS API Documentation
|
4234
|
+
#
|
4235
|
+
# @overload list_test_grid_session_artifacts(params = {})
|
4236
|
+
# @param [Hash] params ({})
|
4237
|
+
def list_test_grid_session_artifacts(params = {}, options = {})
|
4238
|
+
req = build_request(:list_test_grid_session_artifacts, params)
|
4239
|
+
req.send_request(options)
|
4240
|
+
end
|
4241
|
+
|
4242
|
+
# Retrieves a list of sessions for a TestGridProject.
|
4243
|
+
#
|
4244
|
+
# @option params [required, String] :project_arn
|
4245
|
+
# ARN of a TestGridProject.
|
4246
|
+
#
|
4247
|
+
# @option params [String] :status
|
4248
|
+
# Return only sessions in this state.
|
4249
|
+
#
|
4250
|
+
# @option params [Time,DateTime,Date,Integer,String] :creation_time_after
|
4251
|
+
# Return only sessions created after this time.
|
4252
|
+
#
|
4253
|
+
# @option params [Time,DateTime,Date,Integer,String] :creation_time_before
|
4254
|
+
# Return only sessions created before this time.
|
4255
|
+
#
|
4256
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_time_after
|
4257
|
+
# Return only sessions that ended after this time.
|
4258
|
+
#
|
4259
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_time_before
|
4260
|
+
# Return only sessions that ended before this time.
|
4261
|
+
#
|
4262
|
+
# @option params [Integer] :max_result
|
4263
|
+
# Return only this many results at a time.
|
4264
|
+
#
|
4265
|
+
# @option params [String] :next_token
|
4266
|
+
# Pagination token.
|
4267
|
+
#
|
4268
|
+
# @return [Types::ListTestGridSessionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4269
|
+
#
|
4270
|
+
# * {Types::ListTestGridSessionsResult#test_grid_sessions #test_grid_sessions} => Array<Types::TestGridSession>
|
4271
|
+
# * {Types::ListTestGridSessionsResult#next_token #next_token} => String
|
4272
|
+
#
|
4273
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4274
|
+
#
|
4275
|
+
# @example Request syntax with placeholder values
|
4276
|
+
#
|
4277
|
+
# resp = client.list_test_grid_sessions({
|
4278
|
+
# project_arn: "DeviceFarmArn", # required
|
4279
|
+
# status: "ACTIVE", # accepts ACTIVE, CLOSED, ERRORED
|
4280
|
+
# creation_time_after: Time.now,
|
4281
|
+
# creation_time_before: Time.now,
|
4282
|
+
# end_time_after: Time.now,
|
4283
|
+
# end_time_before: Time.now,
|
4284
|
+
# max_result: 1,
|
4285
|
+
# next_token: "PaginationToken",
|
4286
|
+
# })
|
4287
|
+
#
|
4288
|
+
# @example Response structure
|
4289
|
+
#
|
4290
|
+
# resp.test_grid_sessions #=> Array
|
4291
|
+
# resp.test_grid_sessions[0].arn #=> String
|
4292
|
+
# resp.test_grid_sessions[0].status #=> String, one of "ACTIVE", "CLOSED", "ERRORED"
|
4293
|
+
# resp.test_grid_sessions[0].created #=> Time
|
4294
|
+
# resp.test_grid_sessions[0].ended #=> Time
|
4295
|
+
# resp.test_grid_sessions[0].billing_minutes #=> Float
|
4296
|
+
# resp.test_grid_sessions[0].selenium_properties #=> String
|
4297
|
+
# resp.next_token #=> String
|
4298
|
+
#
|
4299
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestGridSessions AWS API Documentation
|
4300
|
+
#
|
4301
|
+
# @overload list_test_grid_sessions(params = {})
|
4302
|
+
# @param [Hash] params ({})
|
4303
|
+
def list_test_grid_sessions(params = {}, options = {})
|
4304
|
+
req = build_request(:list_test_grid_sessions, params)
|
4305
|
+
req.send_request(options)
|
4306
|
+
end
|
4307
|
+
|
3874
4308
|
# Gets information about tests in a given test suite.
|
3875
4309
|
#
|
3876
4310
|
# @option params [required, String] :arn
|
@@ -3886,6 +4320,8 @@ module Aws::DeviceFarm
|
|
3886
4320
|
# * {Types::ListTestsResult#tests #tests} => Array<Types::Test>
|
3887
4321
|
# * {Types::ListTestsResult#next_token #next_token} => String
|
3888
4322
|
#
|
4323
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4324
|
+
#
|
3889
4325
|
#
|
3890
4326
|
# @example Example: To get information about tests
|
3891
4327
|
#
|
@@ -3942,7 +4378,13 @@ module Aws::DeviceFarm
|
|
3942
4378
|
req.send_request(options)
|
3943
4379
|
end
|
3944
4380
|
|
3945
|
-
# Gets information about unique problems.
|
4381
|
+
# Gets information about unique problems, such as exceptions or crashes.
|
4382
|
+
#
|
4383
|
+
# Unique problems are defined as a single instance of an error across a
|
4384
|
+
# run, job, or suite. For example, if a call in your application
|
4385
|
+
# consistently raises an exception (`OutOfBoundsException in
|
4386
|
+
# MyActivity.java:386`), `ListUniqueProblems` returns a single entry
|
4387
|
+
# instead of many individual entries for that exception.
|
3946
4388
|
#
|
3947
4389
|
# @option params [required, String] :arn
|
3948
4390
|
# The unique problems' ARNs.
|
@@ -3957,6 +4399,8 @@ module Aws::DeviceFarm
|
|
3957
4399
|
# * {Types::ListUniqueProblemsResult#unique_problems #unique_problems} => Hash<String,Array<Types::UniqueProblem>>
|
3958
4400
|
# * {Types::ListUniqueProblemsResult#next_token #next_token} => String
|
3959
4401
|
#
|
4402
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4403
|
+
#
|
3960
4404
|
#
|
3961
4405
|
# @example Example: To get information about unique problems
|
3962
4406
|
#
|
@@ -4055,83 +4499,69 @@ module Aws::DeviceFarm
|
|
4055
4499
|
#
|
4056
4500
|
# Must be one of the following values:
|
4057
4501
|
#
|
4058
|
-
# * ANDROID\_APP
|
4502
|
+
# * ANDROID\_APP
|
4059
4503
|
#
|
4060
|
-
# * IOS\_APP
|
4504
|
+
# * IOS\_APP
|
4061
4505
|
#
|
4062
|
-
# * WEB\_APP
|
4506
|
+
# * WEB\_APP
|
4063
4507
|
#
|
4064
|
-
# * EXTERNAL\_DATA
|
4508
|
+
# * EXTERNAL\_DATA
|
4065
4509
|
#
|
4066
|
-
# * APPIUM\_JAVA\_JUNIT\_TEST\_PACKAGE
|
4067
|
-
# package upload.
|
4510
|
+
# * APPIUM\_JAVA\_JUNIT\_TEST\_PACKAGE
|
4068
4511
|
#
|
4069
|
-
# * APPIUM\_JAVA\_TESTNG\_TEST\_PACKAGE
|
4070
|
-
# package upload.
|
4512
|
+
# * APPIUM\_JAVA\_TESTNG\_TEST\_PACKAGE
|
4071
4513
|
#
|
4072
|
-
# * APPIUM\_PYTHON\_TEST\_PACKAGE
|
4514
|
+
# * APPIUM\_PYTHON\_TEST\_PACKAGE
|
4073
4515
|
#
|
4074
|
-
# * APPIUM\_NODE\_TEST\_PACKAGE
|
4516
|
+
# * APPIUM\_NODE\_TEST\_PACKAGE
|
4075
4517
|
#
|
4076
|
-
# * APPIUM\_RUBY\_TEST\_PACKAGE
|
4518
|
+
# * APPIUM\_RUBY\_TEST\_PACKAGE
|
4077
4519
|
#
|
4078
|
-
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_PACKAGE
|
4079
|
-
# package upload for a web app.
|
4520
|
+
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_PACKAGE
|
4080
4521
|
#
|
4081
|
-
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_PACKAGE
|
4082
|
-
# package upload for a web app.
|
4522
|
+
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_PACKAGE
|
4083
4523
|
#
|
4084
|
-
# * APPIUM\_WEB\_PYTHON\_TEST\_PACKAGE
|
4085
|
-
# upload for a web app.
|
4524
|
+
# * APPIUM\_WEB\_PYTHON\_TEST\_PACKAGE
|
4086
4525
|
#
|
4087
|
-
# * APPIUM\_WEB\_NODE\_TEST\_PACKAGE
|
4088
|
-
# upload for a web app.
|
4526
|
+
# * APPIUM\_WEB\_NODE\_TEST\_PACKAGE
|
4089
4527
|
#
|
4090
|
-
# * APPIUM\_WEB\_RUBY\_TEST\_PACKAGE
|
4091
|
-
# for a web app.
|
4528
|
+
# * APPIUM\_WEB\_RUBY\_TEST\_PACKAGE
|
4092
4529
|
#
|
4093
|
-
# * CALABASH\_TEST\_PACKAGE
|
4530
|
+
# * CALABASH\_TEST\_PACKAGE
|
4094
4531
|
#
|
4095
|
-
# * INSTRUMENTATION\_TEST\_PACKAGE
|
4532
|
+
# * INSTRUMENTATION\_TEST\_PACKAGE
|
4096
4533
|
#
|
4097
|
-
# * UIAUTOMATION\_TEST\_PACKAGE
|
4534
|
+
# * UIAUTOMATION\_TEST\_PACKAGE
|
4098
4535
|
#
|
4099
|
-
# * UIAUTOMATOR\_TEST\_PACKAGE
|
4536
|
+
# * UIAUTOMATOR\_TEST\_PACKAGE
|
4100
4537
|
#
|
4101
|
-
# * XCTEST\_TEST\_PACKAGE
|
4538
|
+
# * XCTEST\_TEST\_PACKAGE
|
4102
4539
|
#
|
4103
|
-
# * XCTEST\_UI\_TEST\_PACKAGE
|
4540
|
+
# * XCTEST\_UI\_TEST\_PACKAGE
|
4104
4541
|
#
|
4105
|
-
# * APPIUM\_JAVA\_JUNIT\_TEST\_SPEC
|
4106
|
-
# upload.
|
4542
|
+
# * APPIUM\_JAVA\_JUNIT\_TEST\_SPEC
|
4107
4543
|
#
|
4108
|
-
# * APPIUM\_JAVA\_TESTNG\_TEST\_SPEC
|
4109
|
-
# upload.
|
4544
|
+
# * APPIUM\_JAVA\_TESTNG\_TEST\_SPEC
|
4110
4545
|
#
|
4111
|
-
# * APPIUM\_PYTHON\_TEST\_SPEC
|
4546
|
+
# * APPIUM\_PYTHON\_TEST\_SPEC
|
4112
4547
|
#
|
4113
|
-
# * APPIUM\_NODE\_TEST\_SPEC
|
4548
|
+
# * APPIUM\_NODE\_TEST\_SPEC
|
4114
4549
|
#
|
4115
|
-
# * APPIUM\_RUBY\_TEST\_SPEC
|
4550
|
+
# * APPIUM\_RUBY\_TEST\_SPEC
|
4116
4551
|
#
|
4117
|
-
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_SPEC
|
4118
|
-
# upload for a web app.
|
4552
|
+
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_SPEC
|
4119
4553
|
#
|
4120
|
-
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_SPEC
|
4121
|
-
# spec upload for a web app.
|
4554
|
+
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_SPEC
|
4122
4555
|
#
|
4123
|
-
# * APPIUM\_WEB\_PYTHON\_TEST\_SPEC
|
4124
|
-
# for a web app.
|
4556
|
+
# * APPIUM\_WEB\_PYTHON\_TEST\_SPEC
|
4125
4557
|
#
|
4126
|
-
# * APPIUM\_WEB\_NODE\_TEST\_SPEC
|
4127
|
-
# for a web app.
|
4558
|
+
# * APPIUM\_WEB\_NODE\_TEST\_SPEC
|
4128
4559
|
#
|
4129
|
-
# * APPIUM\_WEB\_RUBY\_TEST\_SPEC
|
4130
|
-
# web app.
|
4560
|
+
# * APPIUM\_WEB\_RUBY\_TEST\_SPEC
|
4131
4561
|
#
|
4132
|
-
# * INSTRUMENTATION\_TEST\_SPEC
|
4562
|
+
# * INSTRUMENTATION\_TEST\_SPEC
|
4133
4563
|
#
|
4134
|
-
# * XCTEST\_UI\_TEST\_SPEC
|
4564
|
+
# * XCTEST\_UI\_TEST\_SPEC
|
4135
4565
|
#
|
4136
4566
|
# @option params [String] :next_token
|
4137
4567
|
# An identifier that was returned from the previous call to this
|
@@ -4143,6 +4573,8 @@ module Aws::DeviceFarm
|
|
4143
4573
|
# * {Types::ListUploadsResult#uploads #uploads} => Array<Types::Upload>
|
4144
4574
|
# * {Types::ListUploadsResult#next_token #next_token} => String
|
4145
4575
|
#
|
4576
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4577
|
+
#
|
4146
4578
|
#
|
4147
4579
|
# @example Example: To get information about uploads
|
4148
4580
|
#
|
@@ -4195,8 +4627,8 @@ module Aws::DeviceFarm
|
|
4195
4627
|
# endpoint configurations in the AWS account.
|
4196
4628
|
#
|
4197
4629
|
# @option params [Integer] :max_results
|
4198
|
-
# An integer
|
4199
|
-
# in the API response.
|
4630
|
+
# An integer that specifies the maximum number of items you want to
|
4631
|
+
# return in the API response.
|
4200
4632
|
#
|
4201
4633
|
# @option params [String] :next_token
|
4202
4634
|
# An identifier that was returned from the previous call to this
|
@@ -4237,16 +4669,15 @@ module Aws::DeviceFarm
|
|
4237
4669
|
# Immediately purchases offerings for an AWS account. Offerings renew
|
4238
4670
|
# with the latest total purchased quantity for an offering, unless the
|
4239
4671
|
# renewal was overridden. The API returns a `NotEligible` error if the
|
4240
|
-
# user is not permitted to invoke the operation.
|
4241
|
-
#
|
4242
|
-
#
|
4672
|
+
# user is not permitted to invoke the operation. If you must be able to
|
4673
|
+
# invoke this operation, contact
|
4674
|
+
# [aws-devicefarm-support@amazon.com](mailto:aws-devicefarm-support@amazon.com).
|
4243
4675
|
#
|
4244
4676
|
# @option params [String] :offering_id
|
4245
4677
|
# The ID of the offering.
|
4246
4678
|
#
|
4247
4679
|
# @option params [Integer] :quantity
|
4248
|
-
# The number of device slots
|
4249
|
-
# request.
|
4680
|
+
# The number of device slots to purchase in an offering request.
|
4250
4681
|
#
|
4251
4682
|
# @option params [String] :offering_promotion_id
|
4252
4683
|
# The ID of the offering promotion to be applied to the purchase.
|
@@ -4327,9 +4758,8 @@ module Aws::DeviceFarm
|
|
4327
4758
|
# Explicitly sets the quantity of devices to renew for an offering,
|
4328
4759
|
# starting from the `effectiveDate` of the next period. The API returns
|
4329
4760
|
# a `NotEligible` error if the user is not permitted to invoke the
|
4330
|
-
# operation.
|
4331
|
-
# [aws-devicefarm-support@amazon.com](mailto:aws-devicefarm-support@amazon.com)
|
4332
|
-
# if you believe that you should be able to invoke this operation.
|
4761
|
+
# operation. If you must be able to invoke this operation, contact
|
4762
|
+
# [aws-devicefarm-support@amazon.com](mailto:aws-devicefarm-support@amazon.com).
|
4333
4763
|
#
|
4334
4764
|
# @option params [String] :offering_id
|
4335
4765
|
# The ID of a request to renew an offering.
|
@@ -4415,15 +4845,15 @@ module Aws::DeviceFarm
|
|
4415
4845
|
# The ARN of the project for the run to be scheduled.
|
4416
4846
|
#
|
4417
4847
|
# @option params [String] :app_arn
|
4418
|
-
# The ARN of
|
4848
|
+
# The ARN of an application package to run tests against, created with
|
4849
|
+
# CreateUpload. See ListUploads.
|
4419
4850
|
#
|
4420
4851
|
# @option params [String] :device_pool_arn
|
4421
4852
|
# The ARN of the device pool for the run to be scheduled.
|
4422
4853
|
#
|
4423
4854
|
# @option params [Types::DeviceSelectionConfiguration] :device_selection_configuration
|
4424
4855
|
# The filter criteria used to dynamically select a set of devices for a
|
4425
|
-
# test run
|
4426
|
-
# the run.
|
4856
|
+
# test run and the maximum number of devices to be included in the run.
|
4427
4857
|
#
|
4428
4858
|
# Either <b> <code>devicePoolArn</code> </b> or <b>
|
4429
4859
|
# <code>deviceSelectionConfiguration</code> </b> is required in a
|
@@ -4602,17 +5032,16 @@ module Aws::DeviceFarm
|
|
4602
5032
|
req.send_request(options)
|
4603
5033
|
end
|
4604
5034
|
|
4605
|
-
# Initiates a stop request for the current job. AWS Device Farm
|
4606
|
-
# immediately
|
4607
|
-
#
|
4608
|
-
#
|
4609
|
-
#
|
4610
|
-
# You will be billed for Setup, Teardown, and any tests that were in
|
5035
|
+
# Initiates a stop request for the current job. AWS Device Farm
|
5036
|
+
# immediately stops the job on the device where tests have not started.
|
5037
|
+
# You are not billed for this device. On the device where tests have
|
5038
|
+
# started, setup suite and teardown suite tests run to completion on the
|
5039
|
+
# device. You are billed for setup, teardown, and any tests that were in
|
4611
5040
|
# progress or already completed.
|
4612
5041
|
#
|
4613
5042
|
# @option params [required, String] :arn
|
4614
|
-
# Represents the Amazon Resource Name (ARN) of the Device Farm job
|
4615
|
-
#
|
5043
|
+
# Represents the Amazon Resource Name (ARN) of the Device Farm job to
|
5044
|
+
# stop.
|
4616
5045
|
#
|
4617
5046
|
# @return [Types::StopJobResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4618
5047
|
#
|
@@ -4698,8 +5127,7 @@ module Aws::DeviceFarm
|
|
4698
5127
|
# Ends a specified remote access session.
|
4699
5128
|
#
|
4700
5129
|
# @option params [required, String] :arn
|
4701
|
-
# The Amazon Resource Name (ARN) of the remote access session
|
4702
|
-
# to stop.
|
5130
|
+
# The Amazon Resource Name (ARN) of the remote access session to stop.
|
4703
5131
|
#
|
4704
5132
|
# @return [Types::StopRemoteAccessSessionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4705
5133
|
#
|
@@ -4783,16 +5211,15 @@ module Aws::DeviceFarm
|
|
4783
5211
|
end
|
4784
5212
|
|
4785
5213
|
# Initiates a stop request for the current test run. AWS Device Farm
|
4786
|
-
#
|
4787
|
-
#
|
4788
|
-
#
|
4789
|
-
#
|
4790
|
-
# devices. You will be billed for Setup, Teardown, and any tests that
|
5214
|
+
# immediately stops the run on devices where tests have not started. You
|
5215
|
+
# are not billed for these devices. On devices where tests have started
|
5216
|
+
# executing, setup suite and teardown suite tests run to completion on
|
5217
|
+
# those devices. You are billed for setup, teardown, and any tests that
|
4791
5218
|
# were in progress or already completed.
|
4792
5219
|
#
|
4793
5220
|
# @option params [required, String] :arn
|
4794
|
-
# Represents the Amazon Resource Name (ARN) of the Device Farm run
|
4795
|
-
#
|
5221
|
+
# Represents the Amazon Resource Name (ARN) of the Device Farm run to
|
5222
|
+
# stop.
|
4796
5223
|
#
|
4797
5224
|
# @return [Types::StopRunResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4798
5225
|
#
|
@@ -4899,26 +5326,26 @@ module Aws::DeviceFarm
|
|
4899
5326
|
# Associates the specified tags to a resource with the specified
|
4900
5327
|
# `resourceArn`. If existing tags on a resource are not specified in the
|
4901
5328
|
# request parameters, they are not changed. When a resource is deleted,
|
4902
|
-
# the tags associated with that resource are deleted
|
5329
|
+
# the tags associated with that resource are also deleted.
|
4903
5330
|
#
|
4904
5331
|
# @option params [required, String] :resource_arn
|
4905
|
-
# The Amazon Resource Name (ARN) of the resource
|
4906
|
-
# tags. You can associate tags with the following Device Farm
|
4907
|
-
# `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
|
5332
|
+
# The Amazon Resource Name (ARN) of the resource or resources to which
|
5333
|
+
# to add tags. You can associate tags with the following Device Farm
|
5334
|
+
# resources: `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
|
4908
5335
|
# `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`, `DEVICE`, and
|
4909
5336
|
# `VPCE_CONFIGURATION`.
|
4910
5337
|
#
|
4911
5338
|
# @option params [required, Array<Types::Tag>] :tags
|
4912
5339
|
# The tags to add to the resource. A tag is an array of key-value pairs.
|
4913
|
-
# Tag keys can have a maximum character length of 128 characters
|
4914
|
-
#
|
5340
|
+
# Tag keys can have a maximum character length of 128 characters. Tag
|
5341
|
+
# values can have a maximum length of 256 characters.
|
4915
5342
|
#
|
4916
5343
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4917
5344
|
#
|
4918
5345
|
# @example Request syntax with placeholder values
|
4919
5346
|
#
|
4920
5347
|
# resp = client.tag_resource({
|
4921
|
-
# resource_arn: "
|
5348
|
+
# resource_arn: "DeviceFarmArn", # required
|
4922
5349
|
# tags: [ # required
|
4923
5350
|
# {
|
4924
5351
|
# key: "TagKey", # required
|
@@ -4939,9 +5366,9 @@ module Aws::DeviceFarm
|
|
4939
5366
|
# Deletes the specified tags from a resource.
|
4940
5367
|
#
|
4941
5368
|
# @option params [required, String] :resource_arn
|
4942
|
-
# The Amazon Resource Name (ARN) of the resource
|
4943
|
-
# tags. You can associate tags with the following Device Farm
|
4944
|
-
# `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
|
5369
|
+
# The Amazon Resource Name (ARN) of the resource or resources from which
|
5370
|
+
# to delete tags. You can associate tags with the following Device Farm
|
5371
|
+
# resources: `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
|
4945
5372
|
# `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`, `DEVICE`, and
|
4946
5373
|
# `VPCE_CONFIGURATION`.
|
4947
5374
|
#
|
@@ -4953,7 +5380,7 @@ module Aws::DeviceFarm
|
|
4953
5380
|
# @example Request syntax with placeholder values
|
4954
5381
|
#
|
4955
5382
|
# resp = client.untag_resource({
|
4956
|
-
# resource_arn: "
|
5383
|
+
# resource_arn: "DeviceFarmArn", # required
|
4957
5384
|
# tag_keys: ["TagKey"], # required
|
4958
5385
|
# })
|
4959
5386
|
#
|
@@ -4966,14 +5393,14 @@ module Aws::DeviceFarm
|
|
4966
5393
|
req.send_request(options)
|
4967
5394
|
end
|
4968
5395
|
|
4969
|
-
# Updates information about
|
5396
|
+
# Updates information about a private device instance.
|
4970
5397
|
#
|
4971
5398
|
# @option params [required, String] :arn
|
4972
5399
|
# The Amazon Resource Name (ARN) of the device instance.
|
4973
5400
|
#
|
4974
5401
|
# @option params [String] :profile_arn
|
4975
|
-
# The
|
4976
|
-
#
|
5402
|
+
# The ARN of the profile that you want to associate with the device
|
5403
|
+
# instance.
|
4977
5404
|
#
|
4978
5405
|
# @option params [Array<String>] :labels
|
4979
5406
|
# An array of strings that you want to associate with the device
|
@@ -5021,19 +5448,19 @@ module Aws::DeviceFarm
|
|
5021
5448
|
# they can only be updated as a whole (or not at all).
|
5022
5449
|
#
|
5023
5450
|
# @option params [required, String] :arn
|
5024
|
-
# The Amazon Resource Name (ARN) of the Device Farm device pool
|
5025
|
-
#
|
5451
|
+
# The Amazon Resource Name (ARN) of the Device Farm device pool to
|
5452
|
+
# update.
|
5026
5453
|
#
|
5027
5454
|
# @option params [String] :name
|
5028
|
-
# A string
|
5455
|
+
# A string that represents the name of the device pool to update.
|
5029
5456
|
#
|
5030
5457
|
# @option params [String] :description
|
5031
|
-
# A description of the device pool
|
5458
|
+
# A description of the device pool to update.
|
5032
5459
|
#
|
5033
5460
|
# @option params [Array<Types::Rule>] :rules
|
5034
|
-
# Represents the rules
|
5035
|
-
#
|
5036
|
-
#
|
5461
|
+
# Represents the rules to modify for the device pool. Updating rules is
|
5462
|
+
# optional. If you update rules for your request, the update replaces
|
5463
|
+
# the existing rules.
|
5037
5464
|
#
|
5038
5465
|
# @option params [Integer] :max_devices
|
5039
5466
|
# The number of devices that Device Farm can add to your device pool.
|
@@ -5053,8 +5480,8 @@ module Aws::DeviceFarm
|
|
5053
5480
|
# If you set this parameter to `true`, the `maxDevices` parameter does
|
5054
5481
|
# not apply, and Device Farm does not limit the number of devices that
|
5055
5482
|
# it adds to your device pool. In this case, Device Farm adds all
|
5056
|
-
# available devices that meet the criteria
|
5057
|
-
#
|
5483
|
+
# available devices that meet the criteria specified in the `rules`
|
5484
|
+
# parameter.
|
5058
5485
|
#
|
5059
5486
|
# If you use this parameter in your request, you cannot use the
|
5060
5487
|
# `maxDevices` parameter in the same request.
|
@@ -5142,8 +5569,8 @@ module Aws::DeviceFarm
|
|
5142
5569
|
# The default value is `false` for private devices.
|
5143
5570
|
#
|
5144
5571
|
# @option params [Array<String>] :exclude_app_packages_from_cleanup
|
5145
|
-
# An array of strings
|
5146
|
-
# not be cleaned up from the device after a test run is over.
|
5572
|
+
# An array of strings that specifies the list of app packages that
|
5573
|
+
# should not be cleaned up from the device after a test run is over.
|
5147
5574
|
#
|
5148
5575
|
# The list of packages is only considered if you set `packageCleanup` to
|
5149
5576
|
# `true`.
|
@@ -5186,7 +5613,7 @@ module Aws::DeviceFarm
|
|
5186
5613
|
req.send_request(options)
|
5187
5614
|
end
|
5188
5615
|
|
5189
|
-
# Updates the network profile
|
5616
|
+
# Updates the network profile.
|
5190
5617
|
#
|
5191
5618
|
# @option params [required, String] :arn
|
5192
5619
|
# The Amazon Resource Name (ARN) of the project for which you want to
|
@@ -5201,8 +5628,8 @@ module Aws::DeviceFarm
|
|
5201
5628
|
# information.
|
5202
5629
|
#
|
5203
5630
|
# @option params [String] :type
|
5204
|
-
# The type of network profile
|
5205
|
-
#
|
5631
|
+
# The type of network profile to return information about. Valid values
|
5632
|
+
# are listed here.
|
5206
5633
|
#
|
5207
5634
|
# @option params [Integer] :uplink_bandwidth_bits
|
5208
5635
|
# The data throughput rate in bits per second, as an integer from 0 to
|
@@ -5285,15 +5712,14 @@ module Aws::DeviceFarm
|
|
5285
5712
|
# name.
|
5286
5713
|
#
|
5287
5714
|
# @option params [required, String] :arn
|
5288
|
-
# The Amazon Resource Name (ARN) of the project whose name
|
5289
|
-
# update.
|
5715
|
+
# The Amazon Resource Name (ARN) of the project whose name to update.
|
5290
5716
|
#
|
5291
5717
|
# @option params [String] :name
|
5292
|
-
# A string
|
5718
|
+
# A string that represents the new name of the project that you are
|
5293
5719
|
# updating.
|
5294
5720
|
#
|
5295
5721
|
# @option params [Integer] :default_job_timeout_minutes
|
5296
|
-
# The number of minutes a test run in the project
|
5722
|
+
# The number of minutes a test run in the project executes before it
|
5297
5723
|
# times out.
|
5298
5724
|
#
|
5299
5725
|
# @return [Types::UpdateProjectResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -5343,22 +5769,61 @@ module Aws::DeviceFarm
|
|
5343
5769
|
req.send_request(options)
|
5344
5770
|
end
|
5345
5771
|
|
5346
|
-
#
|
5772
|
+
# Change details of a project.
|
5773
|
+
#
|
5774
|
+
# @option params [required, String] :project_arn
|
5775
|
+
# ARN of the project to update.
|
5776
|
+
#
|
5777
|
+
# @option params [String] :name
|
5778
|
+
# Human-readable name for the project.
|
5779
|
+
#
|
5780
|
+
# @option params [String] :description
|
5781
|
+
# Human-readable description for the project.
|
5782
|
+
#
|
5783
|
+
# @return [Types::UpdateTestGridProjectResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5784
|
+
#
|
5785
|
+
# * {Types::UpdateTestGridProjectResult#test_grid_project #test_grid_project} => Types::TestGridProject
|
5786
|
+
#
|
5787
|
+
# @example Request syntax with placeholder values
|
5788
|
+
#
|
5789
|
+
# resp = client.update_test_grid_project({
|
5790
|
+
# project_arn: "DeviceFarmArn", # required
|
5791
|
+
# name: "ResourceName",
|
5792
|
+
# description: "ResourceDescription",
|
5793
|
+
# })
|
5794
|
+
#
|
5795
|
+
# @example Response structure
|
5796
|
+
#
|
5797
|
+
# resp.test_grid_project.arn #=> String
|
5798
|
+
# resp.test_grid_project.name #=> String
|
5799
|
+
# resp.test_grid_project.description #=> String
|
5800
|
+
# resp.test_grid_project.created #=> Time
|
5801
|
+
#
|
5802
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateTestGridProject AWS API Documentation
|
5803
|
+
#
|
5804
|
+
# @overload update_test_grid_project(params = {})
|
5805
|
+
# @param [Hash] params ({})
|
5806
|
+
def update_test_grid_project(params = {}, options = {})
|
5807
|
+
req = build_request(:update_test_grid_project, params)
|
5808
|
+
req.send_request(options)
|
5809
|
+
end
|
5810
|
+
|
5811
|
+
# Updates an uploaded test spec.
|
5347
5812
|
#
|
5348
5813
|
# @option params [required, String] :arn
|
5349
5814
|
# The Amazon Resource Name (ARN) of the uploaded test spec.
|
5350
5815
|
#
|
5351
5816
|
# @option params [String] :name
|
5352
|
-
# The upload's test spec file name. The name
|
5353
|
-
#
|
5354
|
-
# `.yml` file extension.
|
5817
|
+
# The upload's test spec file name. The name must not contain any
|
5818
|
+
# forward slashes (/). The test spec file name must end with the `.yaml`
|
5819
|
+
# or `.yml` file extension.
|
5355
5820
|
#
|
5356
5821
|
# @option params [String] :content_type
|
5357
|
-
# The upload's content type (for example,
|
5822
|
+
# The upload's content type (for example, `application/x-yaml`).
|
5358
5823
|
#
|
5359
5824
|
# @option params [Boolean] :edit_content
|
5360
|
-
# Set to true if the YAML file has changed and
|
5361
|
-
#
|
5825
|
+
# Set to true if the YAML file has changed and must be updated.
|
5826
|
+
# Otherwise, set to false.
|
5362
5827
|
#
|
5363
5828
|
# @return [Types::UpdateUploadResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5364
5829
|
#
|
@@ -5395,28 +5860,28 @@ module Aws::DeviceFarm
|
|
5395
5860
|
req.send_request(options)
|
5396
5861
|
end
|
5397
5862
|
|
5398
|
-
# Updates information about an
|
5399
|
-
#
|
5863
|
+
# Updates information about an Amazon Virtual Private Cloud (VPC)
|
5864
|
+
# endpoint configuration.
|
5400
5865
|
#
|
5401
5866
|
# @option params [required, String] :arn
|
5402
5867
|
# The Amazon Resource Name (ARN) of the VPC endpoint configuration you
|
5403
5868
|
# want to update.
|
5404
5869
|
#
|
5405
5870
|
# @option params [String] :vpce_configuration_name
|
5406
|
-
# The friendly name you give to your VPC endpoint configuration
|
5871
|
+
# The friendly name you give to your VPC endpoint configuration to
|
5407
5872
|
# manage your configurations more easily.
|
5408
5873
|
#
|
5409
5874
|
# @option params [String] :vpce_service_name
|
5410
|
-
# The name of the VPC endpoint service running
|
5411
|
-
#
|
5875
|
+
# The name of the VPC endpoint service running in your AWS account that
|
5876
|
+
# you want Device Farm to test.
|
5412
5877
|
#
|
5413
5878
|
# @option params [String] :service_dns_name
|
5414
5879
|
# The DNS (domain) name used to connect to your private service in your
|
5415
|
-
#
|
5880
|
+
# VPC. The DNS name must not already be in use on the internet.
|
5416
5881
|
#
|
5417
5882
|
# @option params [String] :vpce_configuration_description
|
5418
|
-
# An optional description
|
5419
|
-
#
|
5883
|
+
# An optional description that provides details about your VPC endpoint
|
5884
|
+
# configuration.
|
5420
5885
|
#
|
5421
5886
|
# @return [Types::UpdateVPCEConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5422
5887
|
#
|
@@ -5462,7 +5927,7 @@ module Aws::DeviceFarm
|
|
5462
5927
|
params: params,
|
5463
5928
|
config: config)
|
5464
5929
|
context[:gem_name] = 'aws-sdk-devicefarm'
|
5465
|
-
context[:gem_version] = '1.
|
5930
|
+
context[:gem_version] = '1.33.0'
|
5466
5931
|
Seahorse::Client::Request.new(handlers, context)
|
5467
5932
|
end
|
5468
5933
|
|