aws-sdk-devicefarm 1.108.0 → 1.110.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-devicefarm/client.rb +108 -6
- data/lib/aws-sdk-devicefarm/client_api.rb +64 -0
- data/lib/aws-sdk-devicefarm/types.rb +253 -29
- data/lib/aws-sdk-devicefarm.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/params.rbs +2 -1
- data/sig/types.rbs +58 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b4155461771bb66dcd95cc905ae6bdfde68bb33e7d99343423e437273b5f3d5
|
|
4
|
+
data.tar.gz: 0c53eda43c04610c9fbeb64a98963b9eaac62e7eff8e1809577bff7e49ea2e4e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a75794fb68c48932ce068033c8254968ffcb9c3e5e82f9ba2af7645d0fc245bd90fb093fe7c5e940dc7cc030a431b26f0e11db742dc5276ac9bd91ce1ef1c8d9
|
|
7
|
+
data.tar.gz: cfc4d774e406ee728e1320897806335ed0f61dc329ec0dc447e4eead472141fa59821e202cb5eccf7d8b9b93b6f25632b71aacc28f49507e6cb33462f9b7e790
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.110.0 (2026-08-21)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Added support to CreateRemoveAccessSession for selecting a server version on the mobile WebDriver endpoint.
|
|
8
|
+
|
|
9
|
+
1.109.0 (2026-08-06)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adds support for service generated insights across runs, jobs, and tests.
|
|
13
|
+
|
|
4
14
|
1.108.0 (2026-07-09)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.110.0
|
|
@@ -889,6 +889,9 @@ module Aws::DeviceFarm
|
|
|
889
889
|
# host: "DeviceProxyHost", # required
|
|
890
890
|
# port: 1, # required
|
|
891
891
|
# },
|
|
892
|
+
# parameters: {
|
|
893
|
+
# "RemoteAccessParameterKey" => "RemoteAccessParameterValue",
|
|
894
|
+
# },
|
|
892
895
|
# },
|
|
893
896
|
# interaction_mode: "INTERACTIVE", # accepts INTERACTIVE, NO_VIDEO, VIDEO_ONLY
|
|
894
897
|
# skip_app_resign: false,
|
|
@@ -1892,6 +1895,7 @@ module Aws::DeviceFarm
|
|
|
1892
1895
|
# },
|
|
1893
1896
|
# ],
|
|
1894
1897
|
# execution_role_arn: "AmazonRoleResourceName",
|
|
1898
|
+
# insights_types: ["TEST_REPORT"], # accepts TEST_REPORT
|
|
1895
1899
|
# },
|
|
1896
1900
|
# project_arn: "AmazonResourceName",
|
|
1897
1901
|
# })
|
|
@@ -2117,6 +2121,18 @@ module Aws::DeviceFarm
|
|
|
2117
2121
|
# resp.job.device_minutes.unmetered #=> Float
|
|
2118
2122
|
# resp.job.video_endpoint #=> String
|
|
2119
2123
|
# resp.job.video_capture #=> Boolean
|
|
2124
|
+
# resp.job.insights.status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "SKIPPED", "ERRORED"
|
|
2125
|
+
# resp.job.insights.test_report.message #=> String
|
|
2126
|
+
# resp.job.insights.test_report.metrics.tests_total #=> Integer
|
|
2127
|
+
# resp.job.insights.test_report.metrics.tests_passed #=> Integer
|
|
2128
|
+
# resp.job.insights.test_report.metrics.tests_failed #=> Integer
|
|
2129
|
+
# resp.job.insights.test_report.metrics.tests_skipped #=> Integer
|
|
2130
|
+
# resp.job.insights.test_report.metrics.tests_errored #=> Integer
|
|
2131
|
+
# resp.job.insights.test_report.metrics.tests_other #=> Integer
|
|
2132
|
+
# resp.job.insights.test_report.metrics.tests_passed_percentage #=> Float
|
|
2133
|
+
# resp.job.insights.test_report.metrics.total_test_execution_duration_seconds #=> Float
|
|
2134
|
+
# resp.job.insights.test_report.metrics.median_test_execution_duration_seconds #=> Float
|
|
2135
|
+
# resp.job.insights.test_report.test_details_url #=> String
|
|
2120
2136
|
#
|
|
2121
2137
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetJob AWS API Documentation
|
|
2122
2138
|
#
|
|
@@ -2562,6 +2578,21 @@ module Aws::DeviceFarm
|
|
|
2562
2578
|
# resp.run.environment_variables #=> Array
|
|
2563
2579
|
# resp.run.environment_variables[0].name #=> String
|
|
2564
2580
|
# resp.run.environment_variables[0].value #=> String
|
|
2581
|
+
# resp.run.insights_types #=> Array
|
|
2582
|
+
# resp.run.insights_types[0] #=> String, one of "TEST_REPORT"
|
|
2583
|
+
# resp.run.insights.status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "SKIPPED", "ERRORED"
|
|
2584
|
+
# resp.run.insights.job_report.message #=> String
|
|
2585
|
+
# resp.run.insights.job_report.metrics.jobs_total #=> Integer
|
|
2586
|
+
# resp.run.insights.job_report.metrics.jobs_passed #=> Integer
|
|
2587
|
+
# resp.run.insights.job_report.metrics.jobs_failed #=> Integer
|
|
2588
|
+
# resp.run.insights.job_report.metrics.jobs_skipped #=> Integer
|
|
2589
|
+
# resp.run.insights.job_report.metrics.jobs_errored #=> Integer
|
|
2590
|
+
# resp.run.insights.job_report.metrics.jobs_stopped #=> Integer
|
|
2591
|
+
# resp.run.insights.job_report.metrics.jobs_passed_percentage #=> Float
|
|
2592
|
+
# resp.run.insights.job_report.metrics.total_job_execution_duration_seconds #=> Float
|
|
2593
|
+
# resp.run.insights.job_report.metrics.average_job_execution_duration_seconds #=> Float
|
|
2594
|
+
# resp.run.insights.job_report.metrics.median_job_execution_duration_seconds #=> Float
|
|
2595
|
+
# resp.run.insights.job_report.job_details_url #=> String
|
|
2565
2596
|
#
|
|
2566
2597
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRun AWS API Documentation
|
|
2567
2598
|
#
|
|
@@ -2732,14 +2763,12 @@ module Aws::DeviceFarm
|
|
|
2732
2763
|
end
|
|
2733
2764
|
|
|
2734
2765
|
# A session is an instance of a browser created through a
|
|
2735
|
-
# `RemoteWebDriver` with the URL from CreateTestGridUrlResult
|
|
2766
|
+
# `RemoteWebDriver` with the URL from ` CreateTestGridUrlResult`. You
|
|
2736
2767
|
# can use the following to look up sessions:
|
|
2737
2768
|
#
|
|
2738
|
-
# * The session ARN
|
|
2769
|
+
# * The session ARN.
|
|
2739
2770
|
#
|
|
2740
|
-
# * The project ARN and a session ID
|
|
2741
|
-
# (GetTestGridSessionRequest$projectArn and
|
|
2742
|
-
# GetTestGridSessionRequest$sessionId).
|
|
2771
|
+
# * The project ARN and a session ID.
|
|
2743
2772
|
#
|
|
2744
2773
|
# @option params [String] :project_arn
|
|
2745
2774
|
# The ARN for the project that this session belongs to. See
|
|
@@ -3445,6 +3474,18 @@ module Aws::DeviceFarm
|
|
|
3445
3474
|
# resp.jobs[0].device_minutes.unmetered #=> Float
|
|
3446
3475
|
# resp.jobs[0].video_endpoint #=> String
|
|
3447
3476
|
# resp.jobs[0].video_capture #=> Boolean
|
|
3477
|
+
# resp.jobs[0].insights.status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "SKIPPED", "ERRORED"
|
|
3478
|
+
# resp.jobs[0].insights.test_report.message #=> String
|
|
3479
|
+
# resp.jobs[0].insights.test_report.metrics.tests_total #=> Integer
|
|
3480
|
+
# resp.jobs[0].insights.test_report.metrics.tests_passed #=> Integer
|
|
3481
|
+
# resp.jobs[0].insights.test_report.metrics.tests_failed #=> Integer
|
|
3482
|
+
# resp.jobs[0].insights.test_report.metrics.tests_skipped #=> Integer
|
|
3483
|
+
# resp.jobs[0].insights.test_report.metrics.tests_errored #=> Integer
|
|
3484
|
+
# resp.jobs[0].insights.test_report.metrics.tests_other #=> Integer
|
|
3485
|
+
# resp.jobs[0].insights.test_report.metrics.tests_passed_percentage #=> Float
|
|
3486
|
+
# resp.jobs[0].insights.test_report.metrics.total_test_execution_duration_seconds #=> Float
|
|
3487
|
+
# resp.jobs[0].insights.test_report.metrics.median_test_execution_duration_seconds #=> Float
|
|
3488
|
+
# resp.jobs[0].insights.test_report.test_details_url #=> String
|
|
3448
3489
|
# resp.next_token #=> String
|
|
3449
3490
|
#
|
|
3450
3491
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListJobs AWS API Documentation
|
|
@@ -4159,6 +4200,21 @@ module Aws::DeviceFarm
|
|
|
4159
4200
|
# resp.runs[0].environment_variables #=> Array
|
|
4160
4201
|
# resp.runs[0].environment_variables[0].name #=> String
|
|
4161
4202
|
# resp.runs[0].environment_variables[0].value #=> String
|
|
4203
|
+
# resp.runs[0].insights_types #=> Array
|
|
4204
|
+
# resp.runs[0].insights_types[0] #=> String, one of "TEST_REPORT"
|
|
4205
|
+
# resp.runs[0].insights.status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "SKIPPED", "ERRORED"
|
|
4206
|
+
# resp.runs[0].insights.job_report.message #=> String
|
|
4207
|
+
# resp.runs[0].insights.job_report.metrics.jobs_total #=> Integer
|
|
4208
|
+
# resp.runs[0].insights.job_report.metrics.jobs_passed #=> Integer
|
|
4209
|
+
# resp.runs[0].insights.job_report.metrics.jobs_failed #=> Integer
|
|
4210
|
+
# resp.runs[0].insights.job_report.metrics.jobs_skipped #=> Integer
|
|
4211
|
+
# resp.runs[0].insights.job_report.metrics.jobs_errored #=> Integer
|
|
4212
|
+
# resp.runs[0].insights.job_report.metrics.jobs_stopped #=> Integer
|
|
4213
|
+
# resp.runs[0].insights.job_report.metrics.jobs_passed_percentage #=> Float
|
|
4214
|
+
# resp.runs[0].insights.job_report.metrics.total_job_execution_duration_seconds #=> Float
|
|
4215
|
+
# resp.runs[0].insights.job_report.metrics.average_job_execution_duration_seconds #=> Float
|
|
4216
|
+
# resp.runs[0].insights.job_report.metrics.median_job_execution_duration_seconds #=> Float
|
|
4217
|
+
# resp.runs[0].insights.job_report.job_details_url #=> String
|
|
4162
4218
|
# resp.next_token #=> String
|
|
4163
4219
|
#
|
|
4164
4220
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRuns AWS API Documentation
|
|
@@ -4172,6 +4228,9 @@ module Aws::DeviceFarm
|
|
|
4172
4228
|
|
|
4173
4229
|
# Gets information about samples, given an AWS Device Farm job ARN.
|
|
4174
4230
|
#
|
|
4231
|
+
# Device Farm does not support performance data samples during test
|
|
4232
|
+
# executions.
|
|
4233
|
+
#
|
|
4175
4234
|
# @option params [required, String] :arn
|
|
4176
4235
|
# The Amazon Resource Name (ARN) of the job used to list samples.
|
|
4177
4236
|
#
|
|
@@ -5182,6 +5241,7 @@ module Aws::DeviceFarm
|
|
|
5182
5241
|
# },
|
|
5183
5242
|
# ],
|
|
5184
5243
|
# execution_role_arn: "AmazonRoleResourceName",
|
|
5244
|
+
# insights_types: ["TEST_REPORT"], # accepts TEST_REPORT
|
|
5185
5245
|
# },
|
|
5186
5246
|
# execution_configuration: {
|
|
5187
5247
|
# job_timeout_minutes: 1,
|
|
@@ -5270,6 +5330,21 @@ module Aws::DeviceFarm
|
|
|
5270
5330
|
# resp.run.environment_variables #=> Array
|
|
5271
5331
|
# resp.run.environment_variables[0].name #=> String
|
|
5272
5332
|
# resp.run.environment_variables[0].value #=> String
|
|
5333
|
+
# resp.run.insights_types #=> Array
|
|
5334
|
+
# resp.run.insights_types[0] #=> String, one of "TEST_REPORT"
|
|
5335
|
+
# resp.run.insights.status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "SKIPPED", "ERRORED"
|
|
5336
|
+
# resp.run.insights.job_report.message #=> String
|
|
5337
|
+
# resp.run.insights.job_report.metrics.jobs_total #=> Integer
|
|
5338
|
+
# resp.run.insights.job_report.metrics.jobs_passed #=> Integer
|
|
5339
|
+
# resp.run.insights.job_report.metrics.jobs_failed #=> Integer
|
|
5340
|
+
# resp.run.insights.job_report.metrics.jobs_skipped #=> Integer
|
|
5341
|
+
# resp.run.insights.job_report.metrics.jobs_errored #=> Integer
|
|
5342
|
+
# resp.run.insights.job_report.metrics.jobs_stopped #=> Integer
|
|
5343
|
+
# resp.run.insights.job_report.metrics.jobs_passed_percentage #=> Float
|
|
5344
|
+
# resp.run.insights.job_report.metrics.total_job_execution_duration_seconds #=> Float
|
|
5345
|
+
# resp.run.insights.job_report.metrics.average_job_execution_duration_seconds #=> Float
|
|
5346
|
+
# resp.run.insights.job_report.metrics.median_job_execution_duration_seconds #=> Float
|
|
5347
|
+
# resp.run.insights.job_report.job_details_url #=> String
|
|
5273
5348
|
#
|
|
5274
5349
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRun AWS API Documentation
|
|
5275
5350
|
#
|
|
@@ -5362,6 +5437,18 @@ module Aws::DeviceFarm
|
|
|
5362
5437
|
# resp.job.device_minutes.unmetered #=> Float
|
|
5363
5438
|
# resp.job.video_endpoint #=> String
|
|
5364
5439
|
# resp.job.video_capture #=> Boolean
|
|
5440
|
+
# resp.job.insights.status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "SKIPPED", "ERRORED"
|
|
5441
|
+
# resp.job.insights.test_report.message #=> String
|
|
5442
|
+
# resp.job.insights.test_report.metrics.tests_total #=> Integer
|
|
5443
|
+
# resp.job.insights.test_report.metrics.tests_passed #=> Integer
|
|
5444
|
+
# resp.job.insights.test_report.metrics.tests_failed #=> Integer
|
|
5445
|
+
# resp.job.insights.test_report.metrics.tests_skipped #=> Integer
|
|
5446
|
+
# resp.job.insights.test_report.metrics.tests_errored #=> Integer
|
|
5447
|
+
# resp.job.insights.test_report.metrics.tests_other #=> Integer
|
|
5448
|
+
# resp.job.insights.test_report.metrics.tests_passed_percentage #=> Float
|
|
5449
|
+
# resp.job.insights.test_report.metrics.total_test_execution_duration_seconds #=> Float
|
|
5450
|
+
# resp.job.insights.test_report.metrics.median_test_execution_duration_seconds #=> Float
|
|
5451
|
+
# resp.job.insights.test_report.test_details_url #=> String
|
|
5365
5452
|
#
|
|
5366
5453
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopJob AWS API Documentation
|
|
5367
5454
|
#
|
|
@@ -5577,6 +5664,21 @@ module Aws::DeviceFarm
|
|
|
5577
5664
|
# resp.run.environment_variables #=> Array
|
|
5578
5665
|
# resp.run.environment_variables[0].name #=> String
|
|
5579
5666
|
# resp.run.environment_variables[0].value #=> String
|
|
5667
|
+
# resp.run.insights_types #=> Array
|
|
5668
|
+
# resp.run.insights_types[0] #=> String, one of "TEST_REPORT"
|
|
5669
|
+
# resp.run.insights.status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "SKIPPED", "ERRORED"
|
|
5670
|
+
# resp.run.insights.job_report.message #=> String
|
|
5671
|
+
# resp.run.insights.job_report.metrics.jobs_total #=> Integer
|
|
5672
|
+
# resp.run.insights.job_report.metrics.jobs_passed #=> Integer
|
|
5673
|
+
# resp.run.insights.job_report.metrics.jobs_failed #=> Integer
|
|
5674
|
+
# resp.run.insights.job_report.metrics.jobs_skipped #=> Integer
|
|
5675
|
+
# resp.run.insights.job_report.metrics.jobs_errored #=> Integer
|
|
5676
|
+
# resp.run.insights.job_report.metrics.jobs_stopped #=> Integer
|
|
5677
|
+
# resp.run.insights.job_report.metrics.jobs_passed_percentage #=> Float
|
|
5678
|
+
# resp.run.insights.job_report.metrics.total_job_execution_duration_seconds #=> Float
|
|
5679
|
+
# resp.run.insights.job_report.metrics.average_job_execution_duration_seconds #=> Float
|
|
5680
|
+
# resp.run.insights.job_report.metrics.median_job_execution_duration_seconds #=> Float
|
|
5681
|
+
# resp.run.insights.job_report.job_details_url #=> String
|
|
5580
5682
|
#
|
|
5581
5683
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRun AWS API Documentation
|
|
5582
5684
|
#
|
|
@@ -6249,7 +6351,7 @@ module Aws::DeviceFarm
|
|
|
6249
6351
|
tracer: tracer
|
|
6250
6352
|
)
|
|
6251
6353
|
context[:gem_name] = 'aws-sdk-devicefarm'
|
|
6252
|
-
context[:gem_version] = '1.
|
|
6354
|
+
context[:gem_version] = '1.110.0'
|
|
6253
6355
|
Seahorse::Client::Request.new(handlers, context)
|
|
6254
6356
|
end
|
|
6255
6357
|
|
|
@@ -149,6 +149,8 @@ module Aws::DeviceFarm
|
|
|
149
149
|
IdempotencyException = Shapes::StructureShape.new(name: 'IdempotencyException')
|
|
150
150
|
IncompatibilityMessage = Shapes::StructureShape.new(name: 'IncompatibilityMessage')
|
|
151
151
|
IncompatibilityMessages = Shapes::ListShape.new(name: 'IncompatibilityMessages')
|
|
152
|
+
InsightsType = Shapes::StringShape.new(name: 'InsightsType')
|
|
153
|
+
InsightsTypes = Shapes::ListShape.new(name: 'InsightsTypes')
|
|
152
154
|
InstallToRemoteAccessSessionRequest = Shapes::StructureShape.new(name: 'InstallToRemoteAccessSessionRequest')
|
|
153
155
|
InstallToRemoteAccessSessionResult = Shapes::StructureShape.new(name: 'InstallToRemoteAccessSessionResult')
|
|
154
156
|
InstanceLabels = Shapes::ListShape.new(name: 'InstanceLabels')
|
|
@@ -161,6 +163,9 @@ module Aws::DeviceFarm
|
|
|
161
163
|
InvalidOperationException = Shapes::StructureShape.new(name: 'InvalidOperationException')
|
|
162
164
|
IosPaths = Shapes::ListShape.new(name: 'IosPaths')
|
|
163
165
|
Job = Shapes::StructureShape.new(name: 'Job')
|
|
166
|
+
JobInsights = Shapes::StructureShape.new(name: 'JobInsights')
|
|
167
|
+
JobReport = Shapes::StructureShape.new(name: 'JobReport')
|
|
168
|
+
JobReportMetrics = Shapes::StructureShape.new(name: 'JobReportMetrics')
|
|
164
169
|
JobTimeoutMinutes = Shapes::IntegerShape.new(name: 'JobTimeoutMinutes')
|
|
165
170
|
Jobs = Shapes::ListShape.new(name: 'Jobs')
|
|
166
171
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
|
@@ -254,10 +259,15 @@ module Aws::DeviceFarm
|
|
|
254
259
|
RecurringChargeFrequency = Shapes::StringShape.new(name: 'RecurringChargeFrequency')
|
|
255
260
|
RecurringCharges = Shapes::ListShape.new(name: 'RecurringCharges')
|
|
256
261
|
RemoteAccessEndpoints = Shapes::StructureShape.new(name: 'RemoteAccessEndpoints')
|
|
262
|
+
RemoteAccessParameterKey = Shapes::StringShape.new(name: 'RemoteAccessParameterKey')
|
|
263
|
+
RemoteAccessParameterValue = Shapes::StringShape.new(name: 'RemoteAccessParameterValue')
|
|
264
|
+
RemoteAccessParameters = Shapes::MapShape.new(name: 'RemoteAccessParameters')
|
|
257
265
|
RemoteAccessSession = Shapes::StructureShape.new(name: 'RemoteAccessSession')
|
|
258
266
|
RemoteAccessSessions = Shapes::ListShape.new(name: 'RemoteAccessSessions')
|
|
259
267
|
RenewOfferingRequest = Shapes::StructureShape.new(name: 'RenewOfferingRequest')
|
|
260
268
|
RenewOfferingResult = Shapes::StructureShape.new(name: 'RenewOfferingResult')
|
|
269
|
+
ReportMessage = Shapes::StringShape.new(name: 'ReportMessage')
|
|
270
|
+
ReportStatus = Shapes::StringShape.new(name: 'ReportStatus')
|
|
261
271
|
Resolution = Shapes::StructureShape.new(name: 'Resolution')
|
|
262
272
|
ResourceDescription = Shapes::StringShape.new(name: 'ResourceDescription')
|
|
263
273
|
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
|
@@ -266,6 +276,7 @@ module Aws::DeviceFarm
|
|
|
266
276
|
RuleOperator = Shapes::StringShape.new(name: 'RuleOperator')
|
|
267
277
|
Rules = Shapes::ListShape.new(name: 'Rules')
|
|
268
278
|
Run = Shapes::StructureShape.new(name: 'Run')
|
|
279
|
+
RunInsights = Shapes::StructureShape.new(name: 'RunInsights')
|
|
269
280
|
Runs = Shapes::ListShape.new(name: 'Runs')
|
|
270
281
|
Sample = Shapes::StructureShape.new(name: 'Sample')
|
|
271
282
|
SampleType = Shapes::StringShape.new(name: 'SampleType')
|
|
@@ -316,6 +327,8 @@ module Aws::DeviceFarm
|
|
|
316
327
|
TestGridUrlExpiresInSecondsInput = Shapes::IntegerShape.new(name: 'TestGridUrlExpiresInSecondsInput')
|
|
317
328
|
TestGridVpcConfig = Shapes::StructureShape.new(name: 'TestGridVpcConfig')
|
|
318
329
|
TestParameters = Shapes::MapShape.new(name: 'TestParameters')
|
|
330
|
+
TestReport = Shapes::StructureShape.new(name: 'TestReport')
|
|
331
|
+
TestReportMetrics = Shapes::StructureShape.new(name: 'TestReportMetrics')
|
|
319
332
|
TestType = Shapes::StringShape.new(name: 'TestType')
|
|
320
333
|
Tests = Shapes::ListShape.new(name: 'Tests')
|
|
321
334
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
|
@@ -454,6 +467,7 @@ module Aws::DeviceFarm
|
|
|
454
467
|
CreateRemoteAccessSessionConfiguration.add_member(:billing_method, Shapes::ShapeRef.new(shape: BillingMethod, location_name: "billingMethod"))
|
|
455
468
|
CreateRemoteAccessSessionConfiguration.add_member(:vpce_configuration_arns, Shapes::ShapeRef.new(shape: AmazonResourceNames, location_name: "vpceConfigurationArns"))
|
|
456
469
|
CreateRemoteAccessSessionConfiguration.add_member(:device_proxy, Shapes::ShapeRef.new(shape: DeviceProxy, location_name: "deviceProxy"))
|
|
470
|
+
CreateRemoteAccessSessionConfiguration.add_member(:parameters, Shapes::ShapeRef.new(shape: RemoteAccessParameters, location_name: "parameters"))
|
|
457
471
|
CreateRemoteAccessSessionConfiguration.struct_class = Types::CreateRemoteAccessSessionConfiguration
|
|
458
472
|
|
|
459
473
|
CreateRemoteAccessSessionRequest.add_member(:project_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "projectArn"))
|
|
@@ -773,6 +787,8 @@ module Aws::DeviceFarm
|
|
|
773
787
|
|
|
774
788
|
IncompatibilityMessages.member = Shapes::ShapeRef.new(shape: IncompatibilityMessage)
|
|
775
789
|
|
|
790
|
+
InsightsTypes.member = Shapes::ShapeRef.new(shape: InsightsType)
|
|
791
|
+
|
|
776
792
|
InstallToRemoteAccessSessionRequest.add_member(:remote_access_session_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "remoteAccessSessionArn"))
|
|
777
793
|
InstallToRemoteAccessSessionRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "appArn"))
|
|
778
794
|
InstallToRemoteAccessSessionRequest.struct_class = Types::InstallToRemoteAccessSessionRequest
|
|
@@ -815,8 +831,30 @@ module Aws::DeviceFarm
|
|
|
815
831
|
Job.add_member(:device_minutes, Shapes::ShapeRef.new(shape: DeviceMinutes, location_name: "deviceMinutes"))
|
|
816
832
|
Job.add_member(:video_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "videoEndpoint"))
|
|
817
833
|
Job.add_member(:video_capture, Shapes::ShapeRef.new(shape: VideoCapture, location_name: "videoCapture"))
|
|
834
|
+
Job.add_member(:insights, Shapes::ShapeRef.new(shape: JobInsights, location_name: "insights"))
|
|
818
835
|
Job.struct_class = Types::Job
|
|
819
836
|
|
|
837
|
+
JobInsights.add_member(:status, Shapes::ShapeRef.new(shape: ReportStatus, location_name: "status"))
|
|
838
|
+
JobInsights.add_member(:test_report, Shapes::ShapeRef.new(shape: TestReport, location_name: "testReport"))
|
|
839
|
+
JobInsights.struct_class = Types::JobInsights
|
|
840
|
+
|
|
841
|
+
JobReport.add_member(:message, Shapes::ShapeRef.new(shape: ReportMessage, location_name: "message"))
|
|
842
|
+
JobReport.add_member(:metrics, Shapes::ShapeRef.new(shape: JobReportMetrics, location_name: "metrics"))
|
|
843
|
+
JobReport.add_member(:job_details_url, Shapes::ShapeRef.new(shape: SensitiveURL, location_name: "jobDetailsUrl"))
|
|
844
|
+
JobReport.struct_class = Types::JobReport
|
|
845
|
+
|
|
846
|
+
JobReportMetrics.add_member(:jobs_total, Shapes::ShapeRef.new(shape: Integer, location_name: "jobsTotal"))
|
|
847
|
+
JobReportMetrics.add_member(:jobs_passed, Shapes::ShapeRef.new(shape: Integer, location_name: "jobsPassed"))
|
|
848
|
+
JobReportMetrics.add_member(:jobs_failed, Shapes::ShapeRef.new(shape: Integer, location_name: "jobsFailed"))
|
|
849
|
+
JobReportMetrics.add_member(:jobs_skipped, Shapes::ShapeRef.new(shape: Integer, location_name: "jobsSkipped"))
|
|
850
|
+
JobReportMetrics.add_member(:jobs_errored, Shapes::ShapeRef.new(shape: Integer, location_name: "jobsErrored"))
|
|
851
|
+
JobReportMetrics.add_member(:jobs_stopped, Shapes::ShapeRef.new(shape: Integer, location_name: "jobsStopped"))
|
|
852
|
+
JobReportMetrics.add_member(:jobs_passed_percentage, Shapes::ShapeRef.new(shape: Double, location_name: "jobsPassedPercentage"))
|
|
853
|
+
JobReportMetrics.add_member(:total_job_execution_duration_seconds, Shapes::ShapeRef.new(shape: Double, location_name: "totalJobExecutionDurationSeconds"))
|
|
854
|
+
JobReportMetrics.add_member(:average_job_execution_duration_seconds, Shapes::ShapeRef.new(shape: Double, location_name: "averageJobExecutionDurationSeconds"))
|
|
855
|
+
JobReportMetrics.add_member(:median_job_execution_duration_seconds, Shapes::ShapeRef.new(shape: Double, location_name: "medianJobExecutionDurationSeconds"))
|
|
856
|
+
JobReportMetrics.struct_class = Types::JobReportMetrics
|
|
857
|
+
|
|
820
858
|
Jobs.member = Shapes::ShapeRef.new(shape: Job)
|
|
821
859
|
|
|
822
860
|
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
|
@@ -1144,6 +1182,9 @@ module Aws::DeviceFarm
|
|
|
1144
1182
|
RemoteAccessEndpoints.add_member(:interactive_endpoint, Shapes::ShapeRef.new(shape: SensitiveURL, location_name: "interactiveEndpoint"))
|
|
1145
1183
|
RemoteAccessEndpoints.struct_class = Types::RemoteAccessEndpoints
|
|
1146
1184
|
|
|
1185
|
+
RemoteAccessParameters.key = Shapes::ShapeRef.new(shape: RemoteAccessParameterKey)
|
|
1186
|
+
RemoteAccessParameters.value = Shapes::ShapeRef.new(shape: RemoteAccessParameterValue)
|
|
1187
|
+
|
|
1147
1188
|
RemoteAccessSession.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "arn"))
|
|
1148
1189
|
RemoteAccessSession.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
|
1149
1190
|
RemoteAccessSession.add_member(:created, Shapes::ShapeRef.new(shape: DateTime, location_name: "created"))
|
|
@@ -1221,8 +1262,14 @@ module Aws::DeviceFarm
|
|
|
1221
1262
|
Run.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
|
1222
1263
|
Run.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: AmazonRoleResourceName, location_name: "executionRoleArn"))
|
|
1223
1264
|
Run.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
|
|
1265
|
+
Run.add_member(:insights_types, Shapes::ShapeRef.new(shape: InsightsTypes, location_name: "insightsTypes"))
|
|
1266
|
+
Run.add_member(:insights, Shapes::ShapeRef.new(shape: RunInsights, location_name: "insights"))
|
|
1224
1267
|
Run.struct_class = Types::Run
|
|
1225
1268
|
|
|
1269
|
+
RunInsights.add_member(:status, Shapes::ShapeRef.new(shape: ReportStatus, location_name: "status"))
|
|
1270
|
+
RunInsights.add_member(:job_report, Shapes::ShapeRef.new(shape: JobReport, location_name: "jobReport"))
|
|
1271
|
+
RunInsights.struct_class = Types::RunInsights
|
|
1272
|
+
|
|
1226
1273
|
Runs.member = Shapes::ShapeRef.new(shape: Run)
|
|
1227
1274
|
|
|
1228
1275
|
Sample.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "arn"))
|
|
@@ -1244,6 +1291,7 @@ module Aws::DeviceFarm
|
|
|
1244
1291
|
ScheduleRunConfiguration.add_member(:billing_method, Shapes::ShapeRef.new(shape: BillingMethod, location_name: "billingMethod"))
|
|
1245
1292
|
ScheduleRunConfiguration.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
|
|
1246
1293
|
ScheduleRunConfiguration.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: AmazonRoleResourceName, location_name: "executionRoleArn"))
|
|
1294
|
+
ScheduleRunConfiguration.add_member(:insights_types, Shapes::ShapeRef.new(shape: InsightsTypes, location_name: "insightsTypes"))
|
|
1247
1295
|
ScheduleRunConfiguration.struct_class = Types::ScheduleRunConfiguration
|
|
1248
1296
|
|
|
1249
1297
|
ScheduleRunRequest.add_member(:project_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "projectArn"))
|
|
@@ -1384,6 +1432,22 @@ module Aws::DeviceFarm
|
|
|
1384
1432
|
TestParameters.key = Shapes::ShapeRef.new(shape: String)
|
|
1385
1433
|
TestParameters.value = Shapes::ShapeRef.new(shape: String)
|
|
1386
1434
|
|
|
1435
|
+
TestReport.add_member(:message, Shapes::ShapeRef.new(shape: ReportMessage, location_name: "message"))
|
|
1436
|
+
TestReport.add_member(:metrics, Shapes::ShapeRef.new(shape: TestReportMetrics, location_name: "metrics"))
|
|
1437
|
+
TestReport.add_member(:test_details_url, Shapes::ShapeRef.new(shape: SensitiveURL, location_name: "testDetailsUrl"))
|
|
1438
|
+
TestReport.struct_class = Types::TestReport
|
|
1439
|
+
|
|
1440
|
+
TestReportMetrics.add_member(:tests_total, Shapes::ShapeRef.new(shape: Integer, location_name: "testsTotal"))
|
|
1441
|
+
TestReportMetrics.add_member(:tests_passed, Shapes::ShapeRef.new(shape: Integer, location_name: "testsPassed"))
|
|
1442
|
+
TestReportMetrics.add_member(:tests_failed, Shapes::ShapeRef.new(shape: Integer, location_name: "testsFailed"))
|
|
1443
|
+
TestReportMetrics.add_member(:tests_skipped, Shapes::ShapeRef.new(shape: Integer, location_name: "testsSkipped"))
|
|
1444
|
+
TestReportMetrics.add_member(:tests_errored, Shapes::ShapeRef.new(shape: Integer, location_name: "testsErrored"))
|
|
1445
|
+
TestReportMetrics.add_member(:tests_other, Shapes::ShapeRef.new(shape: Integer, location_name: "testsOther"))
|
|
1446
|
+
TestReportMetrics.add_member(:tests_passed_percentage, Shapes::ShapeRef.new(shape: Double, location_name: "testsPassedPercentage"))
|
|
1447
|
+
TestReportMetrics.add_member(:total_test_execution_duration_seconds, Shapes::ShapeRef.new(shape: Double, location_name: "totalTestExecutionDurationSeconds"))
|
|
1448
|
+
TestReportMetrics.add_member(:median_test_execution_duration_seconds, Shapes::ShapeRef.new(shape: Double, location_name: "medianTestExecutionDurationSeconds"))
|
|
1449
|
+
TestReportMetrics.struct_class = Types::TestReportMetrics
|
|
1450
|
+
|
|
1387
1451
|
Tests.member = Shapes::ShapeRef.new(shape: Test)
|
|
1388
1452
|
|
|
1389
1453
|
TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
|
@@ -529,13 +529,25 @@ module Aws::DeviceFarm
|
|
|
529
529
|
# access session.
|
|
530
530
|
# @return [Types::DeviceProxy]
|
|
531
531
|
#
|
|
532
|
+
# @!attribute [rw] parameters
|
|
533
|
+
# The name-value string pairs that specify additional settings for the
|
|
534
|
+
# remote access session.
|
|
535
|
+
#
|
|
536
|
+
# * `appium:version`: The major version of the Appium server to use
|
|
537
|
+
# for the session (for example, 2 or 3). The service may reject the
|
|
538
|
+
# selected version if it is not available for the selected device.
|
|
539
|
+
#
|
|
540
|
+
# ^
|
|
541
|
+
# @return [Hash<String,String>]
|
|
542
|
+
#
|
|
532
543
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSessionConfiguration AWS API Documentation
|
|
533
544
|
#
|
|
534
545
|
class CreateRemoteAccessSessionConfiguration < Struct.new(
|
|
535
546
|
:auxiliary_apps,
|
|
536
547
|
:billing_method,
|
|
537
548
|
:vpce_configuration_arns,
|
|
538
|
-
:device_proxy
|
|
549
|
+
:device_proxy,
|
|
550
|
+
:parameters)
|
|
539
551
|
SENSITIVE = []
|
|
540
552
|
include Aws::Structure
|
|
541
553
|
end
|
|
@@ -672,13 +684,12 @@ module Aws::DeviceFarm
|
|
|
672
684
|
end
|
|
673
685
|
|
|
674
686
|
# @!attribute [rw] url
|
|
675
|
-
# A signed URL, expiring in
|
|
676
|
-
#
|
|
687
|
+
# A signed URL, expiring in the time specified by the
|
|
688
|
+
# `CreateTestGridUrlRequest`, to be passed to a `RemoteWebDriver`.
|
|
677
689
|
# @return [String]
|
|
678
690
|
#
|
|
679
691
|
# @!attribute [rw] expires
|
|
680
|
-
# The number of seconds the URL from
|
|
681
|
-
# active.
|
|
692
|
+
# The number of seconds the URL stays active from creation.
|
|
682
693
|
# @return [Time]
|
|
683
694
|
#
|
|
684
695
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateTestGridUrlResult AWS API Documentation
|
|
@@ -2547,6 +2558,12 @@ module Aws::DeviceFarm
|
|
|
2547
2558
|
# is set to false.
|
|
2548
2559
|
# @return [Boolean]
|
|
2549
2560
|
#
|
|
2561
|
+
# @!attribute [rw] insights
|
|
2562
|
+
# The insights for the job, including the report status and test-level
|
|
2563
|
+
# metrics. This field contains data only if you specified
|
|
2564
|
+
# `insightsTypes` when you scheduled the run.
|
|
2565
|
+
# @return [Types::JobInsights]
|
|
2566
|
+
#
|
|
2550
2567
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Job AWS API Documentation
|
|
2551
2568
|
#
|
|
2552
2569
|
class Job < Struct.new(
|
|
@@ -2564,7 +2581,112 @@ module Aws::DeviceFarm
|
|
|
2564
2581
|
:instance_arn,
|
|
2565
2582
|
:device_minutes,
|
|
2566
2583
|
:video_endpoint,
|
|
2567
|
-
:video_capture
|
|
2584
|
+
:video_capture,
|
|
2585
|
+
:insights)
|
|
2586
|
+
SENSITIVE = []
|
|
2587
|
+
include Aws::Structure
|
|
2588
|
+
end
|
|
2589
|
+
|
|
2590
|
+
# Contains insights for a job, including report status, and test-level
|
|
2591
|
+
# aggregated metrics such as per test execution time and median test
|
|
2592
|
+
# execution time.
|
|
2593
|
+
#
|
|
2594
|
+
# @!attribute [rw] status
|
|
2595
|
+
# The status of the insights report for the job.
|
|
2596
|
+
# @return [String]
|
|
2597
|
+
#
|
|
2598
|
+
# @!attribute [rw] test_report
|
|
2599
|
+
# The test-level aggregated report for the job.
|
|
2600
|
+
# @return [Types::TestReport]
|
|
2601
|
+
#
|
|
2602
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/JobInsights AWS API Documentation
|
|
2603
|
+
#
|
|
2604
|
+
class JobInsights < Struct.new(
|
|
2605
|
+
:status,
|
|
2606
|
+
:test_report)
|
|
2607
|
+
SENSITIVE = []
|
|
2608
|
+
include Aws::Structure
|
|
2609
|
+
end
|
|
2610
|
+
|
|
2611
|
+
# Contains aggregated job-level metrics for a run.
|
|
2612
|
+
#
|
|
2613
|
+
# @!attribute [rw] message
|
|
2614
|
+
# A message associated with the job report.
|
|
2615
|
+
# @return [String]
|
|
2616
|
+
#
|
|
2617
|
+
# @!attribute [rw] metrics
|
|
2618
|
+
# The aggregated job-level metrics for the run.
|
|
2619
|
+
# @return [Types::JobReportMetrics]
|
|
2620
|
+
#
|
|
2621
|
+
# @!attribute [rw] job_details_url
|
|
2622
|
+
# A URL to the detailed job results.
|
|
2623
|
+
# @return [String]
|
|
2624
|
+
#
|
|
2625
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/JobReport AWS API Documentation
|
|
2626
|
+
#
|
|
2627
|
+
class JobReport < Struct.new(
|
|
2628
|
+
:message,
|
|
2629
|
+
:metrics,
|
|
2630
|
+
:job_details_url)
|
|
2631
|
+
SENSITIVE = [:job_details_url]
|
|
2632
|
+
include Aws::Structure
|
|
2633
|
+
end
|
|
2634
|
+
|
|
2635
|
+
# Contains aggregated metrics across all jobs in a run.
|
|
2636
|
+
#
|
|
2637
|
+
# @!attribute [rw] jobs_total
|
|
2638
|
+
# The total number of jobs in the run.
|
|
2639
|
+
# @return [Integer]
|
|
2640
|
+
#
|
|
2641
|
+
# @!attribute [rw] jobs_passed
|
|
2642
|
+
# The number of jobs that passed.
|
|
2643
|
+
# @return [Integer]
|
|
2644
|
+
#
|
|
2645
|
+
# @!attribute [rw] jobs_failed
|
|
2646
|
+
# The number of jobs that failed.
|
|
2647
|
+
# @return [Integer]
|
|
2648
|
+
#
|
|
2649
|
+
# @!attribute [rw] jobs_skipped
|
|
2650
|
+
# The number of jobs that were skipped.
|
|
2651
|
+
# @return [Integer]
|
|
2652
|
+
#
|
|
2653
|
+
# @!attribute [rw] jobs_errored
|
|
2654
|
+
# The number of jobs that errored.
|
|
2655
|
+
# @return [Integer]
|
|
2656
|
+
#
|
|
2657
|
+
# @!attribute [rw] jobs_stopped
|
|
2658
|
+
# The number of jobs that were stopped.
|
|
2659
|
+
# @return [Integer]
|
|
2660
|
+
#
|
|
2661
|
+
# @!attribute [rw] jobs_passed_percentage
|
|
2662
|
+
# The percentage of jobs that passed.
|
|
2663
|
+
# @return [Float]
|
|
2664
|
+
#
|
|
2665
|
+
# @!attribute [rw] total_job_execution_duration_seconds
|
|
2666
|
+
# The total execution duration of all jobs in the run, in seconds.
|
|
2667
|
+
# @return [Float]
|
|
2668
|
+
#
|
|
2669
|
+
# @!attribute [rw] average_job_execution_duration_seconds
|
|
2670
|
+
# The average execution duration of jobs in the run, in seconds.
|
|
2671
|
+
# @return [Float]
|
|
2672
|
+
#
|
|
2673
|
+
# @!attribute [rw] median_job_execution_duration_seconds
|
|
2674
|
+
# The median execution duration of jobs in the run, in seconds.
|
|
2675
|
+
# @return [Float]
|
|
2676
|
+
#
|
|
2677
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/JobReportMetrics AWS API Documentation
|
|
2678
|
+
#
|
|
2679
|
+
class JobReportMetrics < Struct.new(
|
|
2680
|
+
:jobs_total,
|
|
2681
|
+
:jobs_passed,
|
|
2682
|
+
:jobs_failed,
|
|
2683
|
+
:jobs_skipped,
|
|
2684
|
+
:jobs_errored,
|
|
2685
|
+
:jobs_stopped,
|
|
2686
|
+
:jobs_passed_percentage,
|
|
2687
|
+
:total_job_execution_duration_seconds,
|
|
2688
|
+
:average_job_execution_duration_seconds,
|
|
2689
|
+
:median_job_execution_duration_seconds)
|
|
2568
2690
|
SENSITIVE = []
|
|
2569
2691
|
include Aws::Structure
|
|
2570
2692
|
end
|
|
@@ -4857,6 +4979,16 @@ module Aws::DeviceFarm
|
|
|
4857
4979
|
# Environment variables associated with the run.
|
|
4858
4980
|
# @return [Array<Types::EnvironmentVariable>]
|
|
4859
4981
|
#
|
|
4982
|
+
# @!attribute [rw] insights_types
|
|
4983
|
+
# The types of insights requested for the run.
|
|
4984
|
+
# @return [Array<String>]
|
|
4985
|
+
#
|
|
4986
|
+
# @!attribute [rw] insights
|
|
4987
|
+
# The insights for the run, including the report status and job-level
|
|
4988
|
+
# metrics. This field contains data only if you specified
|
|
4989
|
+
# `insightsTypes` when you scheduled the run.
|
|
4990
|
+
# @return [Types::RunInsights]
|
|
4991
|
+
#
|
|
4860
4992
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Run AWS API Documentation
|
|
4861
4993
|
#
|
|
4862
4994
|
class Run < Struct.new(
|
|
@@ -4894,13 +5026,39 @@ module Aws::DeviceFarm
|
|
|
4894
5026
|
:device_selection_result,
|
|
4895
5027
|
:vpc_config,
|
|
4896
5028
|
:execution_role_arn,
|
|
4897
|
-
:environment_variables
|
|
5029
|
+
:environment_variables,
|
|
5030
|
+
:insights_types,
|
|
5031
|
+
:insights)
|
|
5032
|
+
SENSITIVE = []
|
|
5033
|
+
include Aws::Structure
|
|
5034
|
+
end
|
|
5035
|
+
|
|
5036
|
+
# Contains insights for a run, including report status, and job-level
|
|
5037
|
+
# aggregated metrics such as per job execution time and median job
|
|
5038
|
+
# execution time.
|
|
5039
|
+
#
|
|
5040
|
+
# @!attribute [rw] status
|
|
5041
|
+
# The status of the insights report for the run.
|
|
5042
|
+
# @return [String]
|
|
5043
|
+
#
|
|
5044
|
+
# @!attribute [rw] job_report
|
|
5045
|
+
# The job-level aggregated report for the run.
|
|
5046
|
+
# @return [Types::JobReport]
|
|
5047
|
+
#
|
|
5048
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RunInsights AWS API Documentation
|
|
5049
|
+
#
|
|
5050
|
+
class RunInsights < Struct.new(
|
|
5051
|
+
:status,
|
|
5052
|
+
:job_report)
|
|
4898
5053
|
SENSITIVE = []
|
|
4899
5054
|
include Aws::Structure
|
|
4900
5055
|
end
|
|
4901
5056
|
|
|
4902
5057
|
# Represents a sample of performance data.
|
|
4903
5058
|
#
|
|
5059
|
+
# Device Farm does not support performance data samples during test
|
|
5060
|
+
# executions.
|
|
5061
|
+
#
|
|
4904
5062
|
# @!attribute [rw] arn
|
|
4905
5063
|
# The sample's ARN.
|
|
4906
5064
|
# @return [String]
|
|
@@ -5029,6 +5187,14 @@ module Aws::DeviceFarm
|
|
|
5029
5187
|
# An IAM role to be assumed by the test host for the run.
|
|
5030
5188
|
# @return [String]
|
|
5031
5189
|
#
|
|
5190
|
+
# @!attribute [rw] insights_types
|
|
5191
|
+
# The types of insights to generate for a run. Specify one or more
|
|
5192
|
+
# values to opt in to insights generation when scheduling a run.
|
|
5193
|
+
#
|
|
5194
|
+
# Insights are currently supported for custom mode runs with
|
|
5195
|
+
# Instrumentation, Appium Java TestNG, and XCTest UI test types.
|
|
5196
|
+
# @return [Array<String>]
|
|
5197
|
+
#
|
|
5032
5198
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRunConfiguration AWS API Documentation
|
|
5033
5199
|
#
|
|
5034
5200
|
class ScheduleRunConfiguration < Struct.new(
|
|
@@ -5043,7 +5209,8 @@ module Aws::DeviceFarm
|
|
|
5043
5209
|
:auxiliary_apps,
|
|
5044
5210
|
:billing_method,
|
|
5045
5211
|
:environment_variables,
|
|
5046
|
-
:execution_role_arn
|
|
5212
|
+
:execution_role_arn,
|
|
5213
|
+
:insights_types)
|
|
5047
5214
|
SENSITIVE = []
|
|
5048
5215
|
include Aws::Structure
|
|
5049
5216
|
end
|
|
@@ -5174,27 +5341,6 @@ module Aws::DeviceFarm
|
|
|
5174
5341
|
# fixture settings. Parameters are represented by name-value pairs of
|
|
5175
5342
|
# strings.
|
|
5176
5343
|
#
|
|
5177
|
-
# For all tests:
|
|
5178
|
-
#
|
|
5179
|
-
# * `app_performance_monitoring`: Performance monitoring is enabled by
|
|
5180
|
-
# default. Set this parameter to false to disable it.
|
|
5181
|
-
#
|
|
5182
|
-
# ^
|
|
5183
|
-
#
|
|
5184
|
-
# For Appium tests (all types):
|
|
5185
|
-
#
|
|
5186
|
-
# * appium\_version: The Appium version. Currently supported values
|
|
5187
|
-
# are 1.6.5 (and later), latest, and default.
|
|
5188
|
-
#
|
|
5189
|
-
# * latest runs the latest Appium version supported by Device Farm
|
|
5190
|
-
# (1.9.1).
|
|
5191
|
-
#
|
|
5192
|
-
# * For default, Device Farm selects a compatible version of Appium
|
|
5193
|
-
# for the device. The current behavior is to run 1.7.2 on Android
|
|
5194
|
-
# devices and iOS 9 and earlier and 1.7.2 for iOS 10 and later.
|
|
5195
|
-
#
|
|
5196
|
-
# * This behavior is subject to change.
|
|
5197
|
-
#
|
|
5198
5344
|
# For fuzz tests (Android only):
|
|
5199
5345
|
#
|
|
5200
5346
|
# * event\_count: The number of events, between 1 and 10000, that the
|
|
@@ -5855,6 +6001,84 @@ module Aws::DeviceFarm
|
|
|
5855
6001
|
include Aws::Structure
|
|
5856
6002
|
end
|
|
5857
6003
|
|
|
6004
|
+
# Contains aggregated test-level metrics for a job.
|
|
6005
|
+
#
|
|
6006
|
+
# @!attribute [rw] message
|
|
6007
|
+
# A message associated with the test report.
|
|
6008
|
+
# @return [String]
|
|
6009
|
+
#
|
|
6010
|
+
# @!attribute [rw] metrics
|
|
6011
|
+
# The aggregated test-level metrics for the job.
|
|
6012
|
+
# @return [Types::TestReportMetrics]
|
|
6013
|
+
#
|
|
6014
|
+
# @!attribute [rw] test_details_url
|
|
6015
|
+
# A URL to the detailed test results.
|
|
6016
|
+
# @return [String]
|
|
6017
|
+
#
|
|
6018
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/TestReport AWS API Documentation
|
|
6019
|
+
#
|
|
6020
|
+
class TestReport < Struct.new(
|
|
6021
|
+
:message,
|
|
6022
|
+
:metrics,
|
|
6023
|
+
:test_details_url)
|
|
6024
|
+
SENSITIVE = [:test_details_url]
|
|
6025
|
+
include Aws::Structure
|
|
6026
|
+
end
|
|
6027
|
+
|
|
6028
|
+
# Contains aggregated metrics across all tests in a job.
|
|
6029
|
+
#
|
|
6030
|
+
# @!attribute [rw] tests_total
|
|
6031
|
+
# The total number of tests in the job.
|
|
6032
|
+
# @return [Integer]
|
|
6033
|
+
#
|
|
6034
|
+
# @!attribute [rw] tests_passed
|
|
6035
|
+
# The number of tests that passed.
|
|
6036
|
+
# @return [Integer]
|
|
6037
|
+
#
|
|
6038
|
+
# @!attribute [rw] tests_failed
|
|
6039
|
+
# The number of tests that failed.
|
|
6040
|
+
# @return [Integer]
|
|
6041
|
+
#
|
|
6042
|
+
# @!attribute [rw] tests_skipped
|
|
6043
|
+
# The number of tests that were skipped.
|
|
6044
|
+
# @return [Integer]
|
|
6045
|
+
#
|
|
6046
|
+
# @!attribute [rw] tests_errored
|
|
6047
|
+
# The number of tests that errored.
|
|
6048
|
+
# @return [Integer]
|
|
6049
|
+
#
|
|
6050
|
+
# @!attribute [rw] tests_other
|
|
6051
|
+
# The number of tests with other result types.
|
|
6052
|
+
# @return [Integer]
|
|
6053
|
+
#
|
|
6054
|
+
# @!attribute [rw] tests_passed_percentage
|
|
6055
|
+
# The percentage of tests that passed.
|
|
6056
|
+
# @return [Float]
|
|
6057
|
+
#
|
|
6058
|
+
# @!attribute [rw] total_test_execution_duration_seconds
|
|
6059
|
+
# The total execution duration of all tests in the job, in seconds.
|
|
6060
|
+
# @return [Float]
|
|
6061
|
+
#
|
|
6062
|
+
# @!attribute [rw] median_test_execution_duration_seconds
|
|
6063
|
+
# The median execution duration of tests in the job, in seconds.
|
|
6064
|
+
# @return [Float]
|
|
6065
|
+
#
|
|
6066
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/TestReportMetrics AWS API Documentation
|
|
6067
|
+
#
|
|
6068
|
+
class TestReportMetrics < Struct.new(
|
|
6069
|
+
:tests_total,
|
|
6070
|
+
:tests_passed,
|
|
6071
|
+
:tests_failed,
|
|
6072
|
+
:tests_skipped,
|
|
6073
|
+
:tests_errored,
|
|
6074
|
+
:tests_other,
|
|
6075
|
+
:tests_passed_percentage,
|
|
6076
|
+
:total_test_execution_duration_seconds,
|
|
6077
|
+
:median_test_execution_duration_seconds)
|
|
6078
|
+
SENSITIVE = []
|
|
6079
|
+
include Aws::Structure
|
|
6080
|
+
end
|
|
6081
|
+
|
|
5858
6082
|
# The list of tags on the repository is over the limit. The maximum
|
|
5859
6083
|
# number of tags that can be applied to a repository is 50.
|
|
5860
6084
|
#
|
data/lib/aws-sdk-devicefarm.rb
CHANGED
data/sig/client.rbs
CHANGED
data/sig/params.rbs
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -125,6 +125,7 @@ module Aws::DeviceFarm
|
|
|
125
125
|
attr_accessor billing_method: ("METERED" | "UNMETERED")
|
|
126
126
|
attr_accessor vpce_configuration_arns: ::Array[::String]
|
|
127
127
|
attr_accessor device_proxy: Types::DeviceProxy
|
|
128
|
+
attr_accessor parameters: ::Hash[::String, ::String]
|
|
128
129
|
SENSITIVE: []
|
|
129
130
|
end
|
|
130
131
|
|
|
@@ -620,6 +621,34 @@ module Aws::DeviceFarm
|
|
|
620
621
|
attr_accessor device_minutes: Types::DeviceMinutes
|
|
621
622
|
attr_accessor video_endpoint: ::String
|
|
622
623
|
attr_accessor video_capture: bool
|
|
624
|
+
attr_accessor insights: Types::JobInsights
|
|
625
|
+
SENSITIVE: []
|
|
626
|
+
end
|
|
627
|
+
|
|
628
|
+
class JobInsights
|
|
629
|
+
attr_accessor status: ("PENDING" | "RUNNING" | "COMPLETED" | "SKIPPED" | "ERRORED")
|
|
630
|
+
attr_accessor test_report: Types::TestReport
|
|
631
|
+
SENSITIVE: []
|
|
632
|
+
end
|
|
633
|
+
|
|
634
|
+
class JobReport
|
|
635
|
+
attr_accessor message: ::String
|
|
636
|
+
attr_accessor metrics: Types::JobReportMetrics
|
|
637
|
+
attr_accessor job_details_url: ::String
|
|
638
|
+
SENSITIVE: [:job_details_url]
|
|
639
|
+
end
|
|
640
|
+
|
|
641
|
+
class JobReportMetrics
|
|
642
|
+
attr_accessor jobs_total: ::Integer
|
|
643
|
+
attr_accessor jobs_passed: ::Integer
|
|
644
|
+
attr_accessor jobs_failed: ::Integer
|
|
645
|
+
attr_accessor jobs_skipped: ::Integer
|
|
646
|
+
attr_accessor jobs_errored: ::Integer
|
|
647
|
+
attr_accessor jobs_stopped: ::Integer
|
|
648
|
+
attr_accessor jobs_passed_percentage: ::Float
|
|
649
|
+
attr_accessor total_job_execution_duration_seconds: ::Float
|
|
650
|
+
attr_accessor average_job_execution_duration_seconds: ::Float
|
|
651
|
+
attr_accessor median_job_execution_duration_seconds: ::Float
|
|
623
652
|
SENSITIVE: []
|
|
624
653
|
end
|
|
625
654
|
|
|
@@ -1139,6 +1168,14 @@ module Aws::DeviceFarm
|
|
|
1139
1168
|
attr_accessor vpc_config: Types::VpcConfig
|
|
1140
1169
|
attr_accessor execution_role_arn: ::String
|
|
1141
1170
|
attr_accessor environment_variables: ::Array[Types::EnvironmentVariable]
|
|
1171
|
+
attr_accessor insights_types: ::Array[("TEST_REPORT")]
|
|
1172
|
+
attr_accessor insights: Types::RunInsights
|
|
1173
|
+
SENSITIVE: []
|
|
1174
|
+
end
|
|
1175
|
+
|
|
1176
|
+
class RunInsights
|
|
1177
|
+
attr_accessor status: ("PENDING" | "RUNNING" | "COMPLETED" | "SKIPPED" | "ERRORED")
|
|
1178
|
+
attr_accessor job_report: Types::JobReport
|
|
1142
1179
|
SENSITIVE: []
|
|
1143
1180
|
end
|
|
1144
1181
|
|
|
@@ -1162,6 +1199,7 @@ module Aws::DeviceFarm
|
|
|
1162
1199
|
attr_accessor billing_method: ("METERED" | "UNMETERED")
|
|
1163
1200
|
attr_accessor environment_variables: ::Array[Types::EnvironmentVariable]
|
|
1164
1201
|
attr_accessor execution_role_arn: ::String
|
|
1202
|
+
attr_accessor insights_types: ::Array[("TEST_REPORT")]
|
|
1165
1203
|
SENSITIVE: []
|
|
1166
1204
|
end
|
|
1167
1205
|
|
|
@@ -1325,6 +1363,26 @@ module Aws::DeviceFarm
|
|
|
1325
1363
|
SENSITIVE: []
|
|
1326
1364
|
end
|
|
1327
1365
|
|
|
1366
|
+
class TestReport
|
|
1367
|
+
attr_accessor message: ::String
|
|
1368
|
+
attr_accessor metrics: Types::TestReportMetrics
|
|
1369
|
+
attr_accessor test_details_url: ::String
|
|
1370
|
+
SENSITIVE: [:test_details_url]
|
|
1371
|
+
end
|
|
1372
|
+
|
|
1373
|
+
class TestReportMetrics
|
|
1374
|
+
attr_accessor tests_total: ::Integer
|
|
1375
|
+
attr_accessor tests_passed: ::Integer
|
|
1376
|
+
attr_accessor tests_failed: ::Integer
|
|
1377
|
+
attr_accessor tests_skipped: ::Integer
|
|
1378
|
+
attr_accessor tests_errored: ::Integer
|
|
1379
|
+
attr_accessor tests_other: ::Integer
|
|
1380
|
+
attr_accessor tests_passed_percentage: ::Float
|
|
1381
|
+
attr_accessor total_test_execution_duration_seconds: ::Float
|
|
1382
|
+
attr_accessor median_test_execution_duration_seconds: ::Float
|
|
1383
|
+
SENSITIVE: []
|
|
1384
|
+
end
|
|
1385
|
+
|
|
1328
1386
|
class TooManyTagsException
|
|
1329
1387
|
attr_accessor message: ::String
|
|
1330
1388
|
attr_accessor resource_name: ::String
|