aws-sdk-devicefarm 1.108.0 → 1.109.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5cf504eeb05f46d46b1fc70e5adf3bb4f3ac8612b0d3c12ffbd4d766770febdb
4
- data.tar.gz: ba52dae34ef12b46df3bfb146f03ae7120d89be60d87a9dce5f997e9871e3af0
3
+ metadata.gz: 93807df636feb6420a6a986fbae75bde9cac3491a7e9e9e1f726cf5120c52dd7
4
+ data.tar.gz: e12906db0529e613338b7674985538cf5046fc4c227ab9012bb8165889108016
5
5
  SHA512:
6
- metadata.gz: 06de7f49542877948aa40ecc02c18f6b3fc0dc606e49dbe330535320b2b7943c2374626328dac970ddfb219788d8d2f00e4f4667c812f1f7b5db4fb9795042d4
7
- data.tar.gz: e51556fd43c2b66220c8c4e7f300b3770bc5fde3ea6953dcc1c3a5aebe5b4bcd9fa1d27ade450eab5312a863743bb85a9e1a0cb59487e38cf4fca082d602c59c
6
+ metadata.gz: 3a383ceab747935f99e8f4cc26b764b62dd279bdd136a6162b7bab5f605a79e096fe49509be63d13b801a97e617e7826ce3611c1dcfcd20dc84ebc98f04b75dc
7
+ data.tar.gz: 89e5db8993ae81f5b2e45af8cf06e54f4e43b56f632c1590c5959fc47a7f2d207405e1b4b8793e170390d233a163e9dee065b66750c08834cfeba891245b8080
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.109.0 (2026-08-06)
5
+ ------------------
6
+
7
+ * Feature - Adds support for service generated insights across runs, jobs, and tests.
8
+
4
9
  1.108.0 (2026-07-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.108.0
1
+ 1.109.0
@@ -1892,6 +1892,7 @@ module Aws::DeviceFarm
1892
1892
  # },
1893
1893
  # ],
1894
1894
  # execution_role_arn: "AmazonRoleResourceName",
1895
+ # insights_types: ["TEST_REPORT"], # accepts TEST_REPORT
1895
1896
  # },
1896
1897
  # project_arn: "AmazonResourceName",
1897
1898
  # })
@@ -2117,6 +2118,18 @@ module Aws::DeviceFarm
2117
2118
  # resp.job.device_minutes.unmetered #=> Float
2118
2119
  # resp.job.video_endpoint #=> String
2119
2120
  # resp.job.video_capture #=> Boolean
2121
+ # resp.job.insights.status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "SKIPPED", "ERRORED"
2122
+ # resp.job.insights.test_report.message #=> String
2123
+ # resp.job.insights.test_report.metrics.tests_total #=> Integer
2124
+ # resp.job.insights.test_report.metrics.tests_passed #=> Integer
2125
+ # resp.job.insights.test_report.metrics.tests_failed #=> Integer
2126
+ # resp.job.insights.test_report.metrics.tests_skipped #=> Integer
2127
+ # resp.job.insights.test_report.metrics.tests_errored #=> Integer
2128
+ # resp.job.insights.test_report.metrics.tests_other #=> Integer
2129
+ # resp.job.insights.test_report.metrics.tests_passed_percentage #=> Float
2130
+ # resp.job.insights.test_report.metrics.total_test_execution_duration_seconds #=> Float
2131
+ # resp.job.insights.test_report.metrics.median_test_execution_duration_seconds #=> Float
2132
+ # resp.job.insights.test_report.test_details_url #=> String
2120
2133
  #
2121
2134
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetJob AWS API Documentation
2122
2135
  #
@@ -2562,6 +2575,21 @@ module Aws::DeviceFarm
2562
2575
  # resp.run.environment_variables #=> Array
2563
2576
  # resp.run.environment_variables[0].name #=> String
2564
2577
  # resp.run.environment_variables[0].value #=> String
2578
+ # resp.run.insights_types #=> Array
2579
+ # resp.run.insights_types[0] #=> String, one of "TEST_REPORT"
2580
+ # resp.run.insights.status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "SKIPPED", "ERRORED"
2581
+ # resp.run.insights.job_report.message #=> String
2582
+ # resp.run.insights.job_report.metrics.jobs_total #=> Integer
2583
+ # resp.run.insights.job_report.metrics.jobs_passed #=> Integer
2584
+ # resp.run.insights.job_report.metrics.jobs_failed #=> Integer
2585
+ # resp.run.insights.job_report.metrics.jobs_skipped #=> Integer
2586
+ # resp.run.insights.job_report.metrics.jobs_errored #=> Integer
2587
+ # resp.run.insights.job_report.metrics.jobs_stopped #=> Integer
2588
+ # resp.run.insights.job_report.metrics.jobs_passed_percentage #=> Float
2589
+ # resp.run.insights.job_report.metrics.total_job_execution_duration_seconds #=> Float
2590
+ # resp.run.insights.job_report.metrics.average_job_execution_duration_seconds #=> Float
2591
+ # resp.run.insights.job_report.metrics.median_job_execution_duration_seconds #=> Float
2592
+ # resp.run.insights.job_report.job_details_url #=> String
2565
2593
  #
2566
2594
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRun AWS API Documentation
2567
2595
  #
@@ -3445,6 +3473,18 @@ module Aws::DeviceFarm
3445
3473
  # resp.jobs[0].device_minutes.unmetered #=> Float
3446
3474
  # resp.jobs[0].video_endpoint #=> String
3447
3475
  # resp.jobs[0].video_capture #=> Boolean
3476
+ # resp.jobs[0].insights.status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "SKIPPED", "ERRORED"
3477
+ # resp.jobs[0].insights.test_report.message #=> String
3478
+ # resp.jobs[0].insights.test_report.metrics.tests_total #=> Integer
3479
+ # resp.jobs[0].insights.test_report.metrics.tests_passed #=> Integer
3480
+ # resp.jobs[0].insights.test_report.metrics.tests_failed #=> Integer
3481
+ # resp.jobs[0].insights.test_report.metrics.tests_skipped #=> Integer
3482
+ # resp.jobs[0].insights.test_report.metrics.tests_errored #=> Integer
3483
+ # resp.jobs[0].insights.test_report.metrics.tests_other #=> Integer
3484
+ # resp.jobs[0].insights.test_report.metrics.tests_passed_percentage #=> Float
3485
+ # resp.jobs[0].insights.test_report.metrics.total_test_execution_duration_seconds #=> Float
3486
+ # resp.jobs[0].insights.test_report.metrics.median_test_execution_duration_seconds #=> Float
3487
+ # resp.jobs[0].insights.test_report.test_details_url #=> String
3448
3488
  # resp.next_token #=> String
3449
3489
  #
3450
3490
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListJobs AWS API Documentation
@@ -4159,6 +4199,21 @@ module Aws::DeviceFarm
4159
4199
  # resp.runs[0].environment_variables #=> Array
4160
4200
  # resp.runs[0].environment_variables[0].name #=> String
4161
4201
  # resp.runs[0].environment_variables[0].value #=> String
4202
+ # resp.runs[0].insights_types #=> Array
4203
+ # resp.runs[0].insights_types[0] #=> String, one of "TEST_REPORT"
4204
+ # resp.runs[0].insights.status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "SKIPPED", "ERRORED"
4205
+ # resp.runs[0].insights.job_report.message #=> String
4206
+ # resp.runs[0].insights.job_report.metrics.jobs_total #=> Integer
4207
+ # resp.runs[0].insights.job_report.metrics.jobs_passed #=> Integer
4208
+ # resp.runs[0].insights.job_report.metrics.jobs_failed #=> Integer
4209
+ # resp.runs[0].insights.job_report.metrics.jobs_skipped #=> Integer
4210
+ # resp.runs[0].insights.job_report.metrics.jobs_errored #=> Integer
4211
+ # resp.runs[0].insights.job_report.metrics.jobs_stopped #=> Integer
4212
+ # resp.runs[0].insights.job_report.metrics.jobs_passed_percentage #=> Float
4213
+ # resp.runs[0].insights.job_report.metrics.total_job_execution_duration_seconds #=> Float
4214
+ # resp.runs[0].insights.job_report.metrics.average_job_execution_duration_seconds #=> Float
4215
+ # resp.runs[0].insights.job_report.metrics.median_job_execution_duration_seconds #=> Float
4216
+ # resp.runs[0].insights.job_report.job_details_url #=> String
4162
4217
  # resp.next_token #=> String
4163
4218
  #
4164
4219
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRuns AWS API Documentation
@@ -5182,6 +5237,7 @@ module Aws::DeviceFarm
5182
5237
  # },
5183
5238
  # ],
5184
5239
  # execution_role_arn: "AmazonRoleResourceName",
5240
+ # insights_types: ["TEST_REPORT"], # accepts TEST_REPORT
5185
5241
  # },
5186
5242
  # execution_configuration: {
5187
5243
  # job_timeout_minutes: 1,
@@ -5270,6 +5326,21 @@ module Aws::DeviceFarm
5270
5326
  # resp.run.environment_variables #=> Array
5271
5327
  # resp.run.environment_variables[0].name #=> String
5272
5328
  # resp.run.environment_variables[0].value #=> String
5329
+ # resp.run.insights_types #=> Array
5330
+ # resp.run.insights_types[0] #=> String, one of "TEST_REPORT"
5331
+ # resp.run.insights.status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "SKIPPED", "ERRORED"
5332
+ # resp.run.insights.job_report.message #=> String
5333
+ # resp.run.insights.job_report.metrics.jobs_total #=> Integer
5334
+ # resp.run.insights.job_report.metrics.jobs_passed #=> Integer
5335
+ # resp.run.insights.job_report.metrics.jobs_failed #=> Integer
5336
+ # resp.run.insights.job_report.metrics.jobs_skipped #=> Integer
5337
+ # resp.run.insights.job_report.metrics.jobs_errored #=> Integer
5338
+ # resp.run.insights.job_report.metrics.jobs_stopped #=> Integer
5339
+ # resp.run.insights.job_report.metrics.jobs_passed_percentage #=> Float
5340
+ # resp.run.insights.job_report.metrics.total_job_execution_duration_seconds #=> Float
5341
+ # resp.run.insights.job_report.metrics.average_job_execution_duration_seconds #=> Float
5342
+ # resp.run.insights.job_report.metrics.median_job_execution_duration_seconds #=> Float
5343
+ # resp.run.insights.job_report.job_details_url #=> String
5273
5344
  #
5274
5345
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRun AWS API Documentation
5275
5346
  #
@@ -5362,6 +5433,18 @@ module Aws::DeviceFarm
5362
5433
  # resp.job.device_minutes.unmetered #=> Float
5363
5434
  # resp.job.video_endpoint #=> String
5364
5435
  # resp.job.video_capture #=> Boolean
5436
+ # resp.job.insights.status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "SKIPPED", "ERRORED"
5437
+ # resp.job.insights.test_report.message #=> String
5438
+ # resp.job.insights.test_report.metrics.tests_total #=> Integer
5439
+ # resp.job.insights.test_report.metrics.tests_passed #=> Integer
5440
+ # resp.job.insights.test_report.metrics.tests_failed #=> Integer
5441
+ # resp.job.insights.test_report.metrics.tests_skipped #=> Integer
5442
+ # resp.job.insights.test_report.metrics.tests_errored #=> Integer
5443
+ # resp.job.insights.test_report.metrics.tests_other #=> Integer
5444
+ # resp.job.insights.test_report.metrics.tests_passed_percentage #=> Float
5445
+ # resp.job.insights.test_report.metrics.total_test_execution_duration_seconds #=> Float
5446
+ # resp.job.insights.test_report.metrics.median_test_execution_duration_seconds #=> Float
5447
+ # resp.job.insights.test_report.test_details_url #=> String
5365
5448
  #
5366
5449
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopJob AWS API Documentation
5367
5450
  #
@@ -5577,6 +5660,21 @@ module Aws::DeviceFarm
5577
5660
  # resp.run.environment_variables #=> Array
5578
5661
  # resp.run.environment_variables[0].name #=> String
5579
5662
  # resp.run.environment_variables[0].value #=> String
5663
+ # resp.run.insights_types #=> Array
5664
+ # resp.run.insights_types[0] #=> String, one of "TEST_REPORT"
5665
+ # resp.run.insights.status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "SKIPPED", "ERRORED"
5666
+ # resp.run.insights.job_report.message #=> String
5667
+ # resp.run.insights.job_report.metrics.jobs_total #=> Integer
5668
+ # resp.run.insights.job_report.metrics.jobs_passed #=> Integer
5669
+ # resp.run.insights.job_report.metrics.jobs_failed #=> Integer
5670
+ # resp.run.insights.job_report.metrics.jobs_skipped #=> Integer
5671
+ # resp.run.insights.job_report.metrics.jobs_errored #=> Integer
5672
+ # resp.run.insights.job_report.metrics.jobs_stopped #=> Integer
5673
+ # resp.run.insights.job_report.metrics.jobs_passed_percentage #=> Float
5674
+ # resp.run.insights.job_report.metrics.total_job_execution_duration_seconds #=> Float
5675
+ # resp.run.insights.job_report.metrics.average_job_execution_duration_seconds #=> Float
5676
+ # resp.run.insights.job_report.metrics.median_job_execution_duration_seconds #=> Float
5677
+ # resp.run.insights.job_report.job_details_url #=> String
5580
5678
  #
5581
5679
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRun AWS API Documentation
5582
5680
  #
@@ -6249,7 +6347,7 @@ module Aws::DeviceFarm
6249
6347
  tracer: tracer
6250
6348
  )
6251
6349
  context[:gem_name] = 'aws-sdk-devicefarm'
6252
- context[:gem_version] = '1.108.0'
6350
+ context[:gem_version] = '1.109.0'
6253
6351
  Seahorse::Client::Request.new(handlers, context)
6254
6352
  end
6255
6353
 
@@ -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')
@@ -258,6 +263,8 @@ module Aws::DeviceFarm
258
263
  RemoteAccessSessions = Shapes::ListShape.new(name: 'RemoteAccessSessions')
259
264
  RenewOfferingRequest = Shapes::StructureShape.new(name: 'RenewOfferingRequest')
260
265
  RenewOfferingResult = Shapes::StructureShape.new(name: 'RenewOfferingResult')
266
+ ReportMessage = Shapes::StringShape.new(name: 'ReportMessage')
267
+ ReportStatus = Shapes::StringShape.new(name: 'ReportStatus')
261
268
  Resolution = Shapes::StructureShape.new(name: 'Resolution')
262
269
  ResourceDescription = Shapes::StringShape.new(name: 'ResourceDescription')
263
270
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
@@ -266,6 +273,7 @@ module Aws::DeviceFarm
266
273
  RuleOperator = Shapes::StringShape.new(name: 'RuleOperator')
267
274
  Rules = Shapes::ListShape.new(name: 'Rules')
268
275
  Run = Shapes::StructureShape.new(name: 'Run')
276
+ RunInsights = Shapes::StructureShape.new(name: 'RunInsights')
269
277
  Runs = Shapes::ListShape.new(name: 'Runs')
270
278
  Sample = Shapes::StructureShape.new(name: 'Sample')
271
279
  SampleType = Shapes::StringShape.new(name: 'SampleType')
@@ -316,6 +324,8 @@ module Aws::DeviceFarm
316
324
  TestGridUrlExpiresInSecondsInput = Shapes::IntegerShape.new(name: 'TestGridUrlExpiresInSecondsInput')
317
325
  TestGridVpcConfig = Shapes::StructureShape.new(name: 'TestGridVpcConfig')
318
326
  TestParameters = Shapes::MapShape.new(name: 'TestParameters')
327
+ TestReport = Shapes::StructureShape.new(name: 'TestReport')
328
+ TestReportMetrics = Shapes::StructureShape.new(name: 'TestReportMetrics')
319
329
  TestType = Shapes::StringShape.new(name: 'TestType')
320
330
  Tests = Shapes::ListShape.new(name: 'Tests')
321
331
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
@@ -773,6 +783,8 @@ module Aws::DeviceFarm
773
783
 
774
784
  IncompatibilityMessages.member = Shapes::ShapeRef.new(shape: IncompatibilityMessage)
775
785
 
786
+ InsightsTypes.member = Shapes::ShapeRef.new(shape: InsightsType)
787
+
776
788
  InstallToRemoteAccessSessionRequest.add_member(:remote_access_session_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "remoteAccessSessionArn"))
777
789
  InstallToRemoteAccessSessionRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "appArn"))
778
790
  InstallToRemoteAccessSessionRequest.struct_class = Types::InstallToRemoteAccessSessionRequest
@@ -815,8 +827,30 @@ module Aws::DeviceFarm
815
827
  Job.add_member(:device_minutes, Shapes::ShapeRef.new(shape: DeviceMinutes, location_name: "deviceMinutes"))
816
828
  Job.add_member(:video_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "videoEndpoint"))
817
829
  Job.add_member(:video_capture, Shapes::ShapeRef.new(shape: VideoCapture, location_name: "videoCapture"))
830
+ Job.add_member(:insights, Shapes::ShapeRef.new(shape: JobInsights, location_name: "insights"))
818
831
  Job.struct_class = Types::Job
819
832
 
833
+ JobInsights.add_member(:status, Shapes::ShapeRef.new(shape: ReportStatus, location_name: "status"))
834
+ JobInsights.add_member(:test_report, Shapes::ShapeRef.new(shape: TestReport, location_name: "testReport"))
835
+ JobInsights.struct_class = Types::JobInsights
836
+
837
+ JobReport.add_member(:message, Shapes::ShapeRef.new(shape: ReportMessage, location_name: "message"))
838
+ JobReport.add_member(:metrics, Shapes::ShapeRef.new(shape: JobReportMetrics, location_name: "metrics"))
839
+ JobReport.add_member(:job_details_url, Shapes::ShapeRef.new(shape: SensitiveURL, location_name: "jobDetailsUrl"))
840
+ JobReport.struct_class = Types::JobReport
841
+
842
+ JobReportMetrics.add_member(:jobs_total, Shapes::ShapeRef.new(shape: Integer, location_name: "jobsTotal"))
843
+ JobReportMetrics.add_member(:jobs_passed, Shapes::ShapeRef.new(shape: Integer, location_name: "jobsPassed"))
844
+ JobReportMetrics.add_member(:jobs_failed, Shapes::ShapeRef.new(shape: Integer, location_name: "jobsFailed"))
845
+ JobReportMetrics.add_member(:jobs_skipped, Shapes::ShapeRef.new(shape: Integer, location_name: "jobsSkipped"))
846
+ JobReportMetrics.add_member(:jobs_errored, Shapes::ShapeRef.new(shape: Integer, location_name: "jobsErrored"))
847
+ JobReportMetrics.add_member(:jobs_stopped, Shapes::ShapeRef.new(shape: Integer, location_name: "jobsStopped"))
848
+ JobReportMetrics.add_member(:jobs_passed_percentage, Shapes::ShapeRef.new(shape: Double, location_name: "jobsPassedPercentage"))
849
+ JobReportMetrics.add_member(:total_job_execution_duration_seconds, Shapes::ShapeRef.new(shape: Double, location_name: "totalJobExecutionDurationSeconds"))
850
+ JobReportMetrics.add_member(:average_job_execution_duration_seconds, Shapes::ShapeRef.new(shape: Double, location_name: "averageJobExecutionDurationSeconds"))
851
+ JobReportMetrics.add_member(:median_job_execution_duration_seconds, Shapes::ShapeRef.new(shape: Double, location_name: "medianJobExecutionDurationSeconds"))
852
+ JobReportMetrics.struct_class = Types::JobReportMetrics
853
+
820
854
  Jobs.member = Shapes::ShapeRef.new(shape: Job)
821
855
 
822
856
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
@@ -1221,8 +1255,14 @@ module Aws::DeviceFarm
1221
1255
  Run.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
1222
1256
  Run.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: AmazonRoleResourceName, location_name: "executionRoleArn"))
1223
1257
  Run.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
1258
+ Run.add_member(:insights_types, Shapes::ShapeRef.new(shape: InsightsTypes, location_name: "insightsTypes"))
1259
+ Run.add_member(:insights, Shapes::ShapeRef.new(shape: RunInsights, location_name: "insights"))
1224
1260
  Run.struct_class = Types::Run
1225
1261
 
1262
+ RunInsights.add_member(:status, Shapes::ShapeRef.new(shape: ReportStatus, location_name: "status"))
1263
+ RunInsights.add_member(:job_report, Shapes::ShapeRef.new(shape: JobReport, location_name: "jobReport"))
1264
+ RunInsights.struct_class = Types::RunInsights
1265
+
1226
1266
  Runs.member = Shapes::ShapeRef.new(shape: Run)
1227
1267
 
1228
1268
  Sample.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "arn"))
@@ -1244,6 +1284,7 @@ module Aws::DeviceFarm
1244
1284
  ScheduleRunConfiguration.add_member(:billing_method, Shapes::ShapeRef.new(shape: BillingMethod, location_name: "billingMethod"))
1245
1285
  ScheduleRunConfiguration.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
1246
1286
  ScheduleRunConfiguration.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: AmazonRoleResourceName, location_name: "executionRoleArn"))
1287
+ ScheduleRunConfiguration.add_member(:insights_types, Shapes::ShapeRef.new(shape: InsightsTypes, location_name: "insightsTypes"))
1247
1288
  ScheduleRunConfiguration.struct_class = Types::ScheduleRunConfiguration
1248
1289
 
1249
1290
  ScheduleRunRequest.add_member(:project_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "projectArn"))
@@ -1384,6 +1425,22 @@ module Aws::DeviceFarm
1384
1425
  TestParameters.key = Shapes::ShapeRef.new(shape: String)
1385
1426
  TestParameters.value = Shapes::ShapeRef.new(shape: String)
1386
1427
 
1428
+ TestReport.add_member(:message, Shapes::ShapeRef.new(shape: ReportMessage, location_name: "message"))
1429
+ TestReport.add_member(:metrics, Shapes::ShapeRef.new(shape: TestReportMetrics, location_name: "metrics"))
1430
+ TestReport.add_member(:test_details_url, Shapes::ShapeRef.new(shape: SensitiveURL, location_name: "testDetailsUrl"))
1431
+ TestReport.struct_class = Types::TestReport
1432
+
1433
+ TestReportMetrics.add_member(:tests_total, Shapes::ShapeRef.new(shape: Integer, location_name: "testsTotal"))
1434
+ TestReportMetrics.add_member(:tests_passed, Shapes::ShapeRef.new(shape: Integer, location_name: "testsPassed"))
1435
+ TestReportMetrics.add_member(:tests_failed, Shapes::ShapeRef.new(shape: Integer, location_name: "testsFailed"))
1436
+ TestReportMetrics.add_member(:tests_skipped, Shapes::ShapeRef.new(shape: Integer, location_name: "testsSkipped"))
1437
+ TestReportMetrics.add_member(:tests_errored, Shapes::ShapeRef.new(shape: Integer, location_name: "testsErrored"))
1438
+ TestReportMetrics.add_member(:tests_other, Shapes::ShapeRef.new(shape: Integer, location_name: "testsOther"))
1439
+ TestReportMetrics.add_member(:tests_passed_percentage, Shapes::ShapeRef.new(shape: Double, location_name: "testsPassedPercentage"))
1440
+ TestReportMetrics.add_member(:total_test_execution_duration_seconds, Shapes::ShapeRef.new(shape: Double, location_name: "totalTestExecutionDurationSeconds"))
1441
+ TestReportMetrics.add_member(:median_test_execution_duration_seconds, Shapes::ShapeRef.new(shape: Double, location_name: "medianTestExecutionDurationSeconds"))
1442
+ TestReportMetrics.struct_class = Types::TestReportMetrics
1443
+
1387
1444
  Tests.member = Shapes::ShapeRef.new(shape: Test)
1388
1445
 
1389
1446
  TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
@@ -2547,6 +2547,12 @@ module Aws::DeviceFarm
2547
2547
  # is set to false.
2548
2548
  # @return [Boolean]
2549
2549
  #
2550
+ # @!attribute [rw] insights
2551
+ # The insights for the job, including the report status and test-level
2552
+ # metrics. This field contains data only if you specified
2553
+ # `insightsTypes` when you scheduled the run.
2554
+ # @return [Types::JobInsights]
2555
+ #
2550
2556
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Job AWS API Documentation
2551
2557
  #
2552
2558
  class Job < Struct.new(
@@ -2564,7 +2570,112 @@ module Aws::DeviceFarm
2564
2570
  :instance_arn,
2565
2571
  :device_minutes,
2566
2572
  :video_endpoint,
2567
- :video_capture)
2573
+ :video_capture,
2574
+ :insights)
2575
+ SENSITIVE = []
2576
+ include Aws::Structure
2577
+ end
2578
+
2579
+ # Contains insights for a job, including report status, and test-level
2580
+ # aggregated metrics such as per test execution time and median test
2581
+ # execution time.
2582
+ #
2583
+ # @!attribute [rw] status
2584
+ # The status of the insights report for the job.
2585
+ # @return [String]
2586
+ #
2587
+ # @!attribute [rw] test_report
2588
+ # The test-level aggregated report for the job.
2589
+ # @return [Types::TestReport]
2590
+ #
2591
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/JobInsights AWS API Documentation
2592
+ #
2593
+ class JobInsights < Struct.new(
2594
+ :status,
2595
+ :test_report)
2596
+ SENSITIVE = []
2597
+ include Aws::Structure
2598
+ end
2599
+
2600
+ # Contains aggregated job-level metrics for a run.
2601
+ #
2602
+ # @!attribute [rw] message
2603
+ # A message associated with the job report.
2604
+ # @return [String]
2605
+ #
2606
+ # @!attribute [rw] metrics
2607
+ # The aggregated job-level metrics for the run.
2608
+ # @return [Types::JobReportMetrics]
2609
+ #
2610
+ # @!attribute [rw] job_details_url
2611
+ # A URL to the detailed job results.
2612
+ # @return [String]
2613
+ #
2614
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/JobReport AWS API Documentation
2615
+ #
2616
+ class JobReport < Struct.new(
2617
+ :message,
2618
+ :metrics,
2619
+ :job_details_url)
2620
+ SENSITIVE = [:job_details_url]
2621
+ include Aws::Structure
2622
+ end
2623
+
2624
+ # Contains aggregated metrics across all jobs in a run.
2625
+ #
2626
+ # @!attribute [rw] jobs_total
2627
+ # The total number of jobs in the run.
2628
+ # @return [Integer]
2629
+ #
2630
+ # @!attribute [rw] jobs_passed
2631
+ # The number of jobs that passed.
2632
+ # @return [Integer]
2633
+ #
2634
+ # @!attribute [rw] jobs_failed
2635
+ # The number of jobs that failed.
2636
+ # @return [Integer]
2637
+ #
2638
+ # @!attribute [rw] jobs_skipped
2639
+ # The number of jobs that were skipped.
2640
+ # @return [Integer]
2641
+ #
2642
+ # @!attribute [rw] jobs_errored
2643
+ # The number of jobs that errored.
2644
+ # @return [Integer]
2645
+ #
2646
+ # @!attribute [rw] jobs_stopped
2647
+ # The number of jobs that were stopped.
2648
+ # @return [Integer]
2649
+ #
2650
+ # @!attribute [rw] jobs_passed_percentage
2651
+ # The percentage of jobs that passed.
2652
+ # @return [Float]
2653
+ #
2654
+ # @!attribute [rw] total_job_execution_duration_seconds
2655
+ # The total execution duration of all jobs in the run, in seconds.
2656
+ # @return [Float]
2657
+ #
2658
+ # @!attribute [rw] average_job_execution_duration_seconds
2659
+ # The average execution duration of jobs in the run, in seconds.
2660
+ # @return [Float]
2661
+ #
2662
+ # @!attribute [rw] median_job_execution_duration_seconds
2663
+ # The median execution duration of jobs in the run, in seconds.
2664
+ # @return [Float]
2665
+ #
2666
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/JobReportMetrics AWS API Documentation
2667
+ #
2668
+ class JobReportMetrics < Struct.new(
2669
+ :jobs_total,
2670
+ :jobs_passed,
2671
+ :jobs_failed,
2672
+ :jobs_skipped,
2673
+ :jobs_errored,
2674
+ :jobs_stopped,
2675
+ :jobs_passed_percentage,
2676
+ :total_job_execution_duration_seconds,
2677
+ :average_job_execution_duration_seconds,
2678
+ :median_job_execution_duration_seconds)
2568
2679
  SENSITIVE = []
2569
2680
  include Aws::Structure
2570
2681
  end
@@ -4857,6 +4968,16 @@ module Aws::DeviceFarm
4857
4968
  # Environment variables associated with the run.
4858
4969
  # @return [Array<Types::EnvironmentVariable>]
4859
4970
  #
4971
+ # @!attribute [rw] insights_types
4972
+ # The types of insights requested for the run.
4973
+ # @return [Array<String>]
4974
+ #
4975
+ # @!attribute [rw] insights
4976
+ # The insights for the run, including the report status and job-level
4977
+ # metrics. This field contains data only if you specified
4978
+ # `insightsTypes` when you scheduled the run.
4979
+ # @return [Types::RunInsights]
4980
+ #
4860
4981
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Run AWS API Documentation
4861
4982
  #
4862
4983
  class Run < Struct.new(
@@ -4894,7 +5015,30 @@ module Aws::DeviceFarm
4894
5015
  :device_selection_result,
4895
5016
  :vpc_config,
4896
5017
  :execution_role_arn,
4897
- :environment_variables)
5018
+ :environment_variables,
5019
+ :insights_types,
5020
+ :insights)
5021
+ SENSITIVE = []
5022
+ include Aws::Structure
5023
+ end
5024
+
5025
+ # Contains insights for a run, including report status, and job-level
5026
+ # aggregated metrics such as per job execution time and median job
5027
+ # execution time.
5028
+ #
5029
+ # @!attribute [rw] status
5030
+ # The status of the insights report for the run.
5031
+ # @return [String]
5032
+ #
5033
+ # @!attribute [rw] job_report
5034
+ # The job-level aggregated report for the run.
5035
+ # @return [Types::JobReport]
5036
+ #
5037
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RunInsights AWS API Documentation
5038
+ #
5039
+ class RunInsights < Struct.new(
5040
+ :status,
5041
+ :job_report)
4898
5042
  SENSITIVE = []
4899
5043
  include Aws::Structure
4900
5044
  end
@@ -5029,6 +5173,14 @@ module Aws::DeviceFarm
5029
5173
  # An IAM role to be assumed by the test host for the run.
5030
5174
  # @return [String]
5031
5175
  #
5176
+ # @!attribute [rw] insights_types
5177
+ # The types of insights to generate for a run. Specify one or more
5178
+ # values to opt in to insights generation when scheduling a run.
5179
+ #
5180
+ # Insights are currently supported for custom mode runs with
5181
+ # Instrumentation, Appium Java TestNG, and XCTest UI test types.
5182
+ # @return [Array<String>]
5183
+ #
5032
5184
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRunConfiguration AWS API Documentation
5033
5185
  #
5034
5186
  class ScheduleRunConfiguration < Struct.new(
@@ -5043,7 +5195,8 @@ module Aws::DeviceFarm
5043
5195
  :auxiliary_apps,
5044
5196
  :billing_method,
5045
5197
  :environment_variables,
5046
- :execution_role_arn)
5198
+ :execution_role_arn,
5199
+ :insights_types)
5047
5200
  SENSITIVE = []
5048
5201
  include Aws::Structure
5049
5202
  end
@@ -5855,6 +6008,84 @@ module Aws::DeviceFarm
5855
6008
  include Aws::Structure
5856
6009
  end
5857
6010
 
6011
+ # Contains aggregated test-level metrics for a job.
6012
+ #
6013
+ # @!attribute [rw] message
6014
+ # A message associated with the test report.
6015
+ # @return [String]
6016
+ #
6017
+ # @!attribute [rw] metrics
6018
+ # The aggregated test-level metrics for the job.
6019
+ # @return [Types::TestReportMetrics]
6020
+ #
6021
+ # @!attribute [rw] test_details_url
6022
+ # A URL to the detailed test results.
6023
+ # @return [String]
6024
+ #
6025
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/TestReport AWS API Documentation
6026
+ #
6027
+ class TestReport < Struct.new(
6028
+ :message,
6029
+ :metrics,
6030
+ :test_details_url)
6031
+ SENSITIVE = [:test_details_url]
6032
+ include Aws::Structure
6033
+ end
6034
+
6035
+ # Contains aggregated metrics across all tests in a job.
6036
+ #
6037
+ # @!attribute [rw] tests_total
6038
+ # The total number of tests in the job.
6039
+ # @return [Integer]
6040
+ #
6041
+ # @!attribute [rw] tests_passed
6042
+ # The number of tests that passed.
6043
+ # @return [Integer]
6044
+ #
6045
+ # @!attribute [rw] tests_failed
6046
+ # The number of tests that failed.
6047
+ # @return [Integer]
6048
+ #
6049
+ # @!attribute [rw] tests_skipped
6050
+ # The number of tests that were skipped.
6051
+ # @return [Integer]
6052
+ #
6053
+ # @!attribute [rw] tests_errored
6054
+ # The number of tests that errored.
6055
+ # @return [Integer]
6056
+ #
6057
+ # @!attribute [rw] tests_other
6058
+ # The number of tests with other result types.
6059
+ # @return [Integer]
6060
+ #
6061
+ # @!attribute [rw] tests_passed_percentage
6062
+ # The percentage of tests that passed.
6063
+ # @return [Float]
6064
+ #
6065
+ # @!attribute [rw] total_test_execution_duration_seconds
6066
+ # The total execution duration of all tests in the job, in seconds.
6067
+ # @return [Float]
6068
+ #
6069
+ # @!attribute [rw] median_test_execution_duration_seconds
6070
+ # The median execution duration of tests in the job, in seconds.
6071
+ # @return [Float]
6072
+ #
6073
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/TestReportMetrics AWS API Documentation
6074
+ #
6075
+ class TestReportMetrics < Struct.new(
6076
+ :tests_total,
6077
+ :tests_passed,
6078
+ :tests_failed,
6079
+ :tests_skipped,
6080
+ :tests_errored,
6081
+ :tests_other,
6082
+ :tests_passed_percentage,
6083
+ :total_test_execution_duration_seconds,
6084
+ :median_test_execution_duration_seconds)
6085
+ SENSITIVE = []
6086
+ include Aws::Structure
6087
+ end
6088
+
5858
6089
  # The list of tags on the repository is over the limit. The maximum
5859
6090
  # number of tags that can be applied to a repository is 50.
5860
6091
  #
@@ -54,7 +54,7 @@ module Aws::DeviceFarm
54
54
  autoload :EndpointProvider, 'aws-sdk-devicefarm/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-devicefarm/endpoints'
56
56
 
57
- GEM_VERSION = '1.108.0'
57
+ GEM_VERSION = '1.109.0'
58
58
 
59
59
  end
60
60
 
data/sig/params.rbs CHANGED
@@ -40,7 +40,8 @@ module Aws
40
40
  value: ::String
41
41
  }
42
42
  ]?,
43
- execution_role_arn: ::String?
43
+ execution_role_arn: ::String?,
44
+ insights_types: Array[("TEST_REPORT")]?
44
45
  }
45
46
 
46
47
  end
data/sig/types.rbs CHANGED
@@ -620,6 +620,34 @@ module Aws::DeviceFarm
620
620
  attr_accessor device_minutes: Types::DeviceMinutes
621
621
  attr_accessor video_endpoint: ::String
622
622
  attr_accessor video_capture: bool
623
+ attr_accessor insights: Types::JobInsights
624
+ SENSITIVE: []
625
+ end
626
+
627
+ class JobInsights
628
+ attr_accessor status: ("PENDING" | "RUNNING" | "COMPLETED" | "SKIPPED" | "ERRORED")
629
+ attr_accessor test_report: Types::TestReport
630
+ SENSITIVE: []
631
+ end
632
+
633
+ class JobReport
634
+ attr_accessor message: ::String
635
+ attr_accessor metrics: Types::JobReportMetrics
636
+ attr_accessor job_details_url: ::String
637
+ SENSITIVE: [:job_details_url]
638
+ end
639
+
640
+ class JobReportMetrics
641
+ attr_accessor jobs_total: ::Integer
642
+ attr_accessor jobs_passed: ::Integer
643
+ attr_accessor jobs_failed: ::Integer
644
+ attr_accessor jobs_skipped: ::Integer
645
+ attr_accessor jobs_errored: ::Integer
646
+ attr_accessor jobs_stopped: ::Integer
647
+ attr_accessor jobs_passed_percentage: ::Float
648
+ attr_accessor total_job_execution_duration_seconds: ::Float
649
+ attr_accessor average_job_execution_duration_seconds: ::Float
650
+ attr_accessor median_job_execution_duration_seconds: ::Float
623
651
  SENSITIVE: []
624
652
  end
625
653
 
@@ -1139,6 +1167,14 @@ module Aws::DeviceFarm
1139
1167
  attr_accessor vpc_config: Types::VpcConfig
1140
1168
  attr_accessor execution_role_arn: ::String
1141
1169
  attr_accessor environment_variables: ::Array[Types::EnvironmentVariable]
1170
+ attr_accessor insights_types: ::Array[("TEST_REPORT")]
1171
+ attr_accessor insights: Types::RunInsights
1172
+ SENSITIVE: []
1173
+ end
1174
+
1175
+ class RunInsights
1176
+ attr_accessor status: ("PENDING" | "RUNNING" | "COMPLETED" | "SKIPPED" | "ERRORED")
1177
+ attr_accessor job_report: Types::JobReport
1142
1178
  SENSITIVE: []
1143
1179
  end
1144
1180
 
@@ -1162,6 +1198,7 @@ module Aws::DeviceFarm
1162
1198
  attr_accessor billing_method: ("METERED" | "UNMETERED")
1163
1199
  attr_accessor environment_variables: ::Array[Types::EnvironmentVariable]
1164
1200
  attr_accessor execution_role_arn: ::String
1201
+ attr_accessor insights_types: ::Array[("TEST_REPORT")]
1165
1202
  SENSITIVE: []
1166
1203
  end
1167
1204
 
@@ -1325,6 +1362,26 @@ module Aws::DeviceFarm
1325
1362
  SENSITIVE: []
1326
1363
  end
1327
1364
 
1365
+ class TestReport
1366
+ attr_accessor message: ::String
1367
+ attr_accessor metrics: Types::TestReportMetrics
1368
+ attr_accessor test_details_url: ::String
1369
+ SENSITIVE: [:test_details_url]
1370
+ end
1371
+
1372
+ class TestReportMetrics
1373
+ attr_accessor tests_total: ::Integer
1374
+ attr_accessor tests_passed: ::Integer
1375
+ attr_accessor tests_failed: ::Integer
1376
+ attr_accessor tests_skipped: ::Integer
1377
+ attr_accessor tests_errored: ::Integer
1378
+ attr_accessor tests_other: ::Integer
1379
+ attr_accessor tests_passed_percentage: ::Float
1380
+ attr_accessor total_test_execution_duration_seconds: ::Float
1381
+ attr_accessor median_test_execution_duration_seconds: ::Float
1382
+ SENSITIVE: []
1383
+ end
1384
+
1328
1385
  class TooManyTagsException
1329
1386
  attr_accessor message: ::String
1330
1387
  attr_accessor resource_name: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-devicefarm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.108.0
4
+ version: 1.109.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services