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