aws-sdk-devicefarm 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: abfec090c911d38b9df883d3759ddd67ddcc6426
4
- data.tar.gz: c613922ec73601c144a6a7980e79b198702e8d33
3
+ metadata.gz: 1c256ab0b76ab0c2aa01fa7d13f4c1f4825dc71a
4
+ data.tar.gz: 241dc083fdaaf1cf3c02c39ee94dadef8af55c7e
5
5
  SHA512:
6
- metadata.gz: 879e2d572eedc950b5ae357ec0f1031714eb0457f9609b8473e4d8c6a3e59e44f536d5ecbf36107b000b470e0607f8be2f08eace3f47a81b7c08aaa4538a832b
7
- data.tar.gz: 640dfdf2f3dfbb9b482e738b9bde7a7469c5822c78864fb4d52619441b3fcde4710c0397ef136b94e308487ddb473498c15b0b36c07d0f718f1af4b3717ca535
6
+ metadata.gz: bc83271d5fb8c49a54cec8c1b38ecde25d0049ac0b43669e180f0bb31b1c04630cd18dfbdbc8493482a71455e50299cf5d040e3d24a2151beb9e7665aa2d7b01
7
+ data.tar.gz: 1048ec60464e0cdcd2f5b41e6f663ac779f17d74b8bee56be1d80449ec91a58a5e0a9b9de14c76fd9a4ba2a41d2c584bc4449ee02d2c636d534022408a6f680b
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-devicefarm/customizations'
42
42
  # @service
43
43
  module Aws::DeviceFarm
44
44
 
45
- GEM_VERSION = '1.3.0'
45
+ GEM_VERSION = '1.4.0'
46
46
 
47
47
  end
@@ -200,7 +200,7 @@ module Aws::DeviceFarm
200
200
  # description: "Message",
201
201
  # rules: [ # required
202
202
  # {
203
- # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION
203
+ # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION, INSTANCE_ARN, INSTANCE_LABELS
204
204
  # operator: "EQUALS", # accepts EQUALS, LESS_THAN, GREATER_THAN, IN, NOT_IN, CONTAINS
205
205
  # value: "String",
206
206
  # },
@@ -214,7 +214,7 @@ module Aws::DeviceFarm
214
214
  # resp.device_pool.description #=> String
215
215
  # resp.device_pool.type #=> String, one of "CURATED", "PRIVATE"
216
216
  # resp.device_pool.rules #=> Array
217
- # resp.device_pool.rules[0].attribute #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION"
217
+ # resp.device_pool.rules[0].attribute #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS"
218
218
  # resp.device_pool.rules[0].operator #=> String, one of "EQUALS", "LESS_THAN", "GREATER_THAN", "IN", "NOT_IN", "CONTAINS"
219
219
  # resp.device_pool.rules[0].value #=> String
220
220
  #
@@ -227,6 +227,63 @@ module Aws::DeviceFarm
227
227
  req.send_request(options)
228
228
  end
229
229
 
230
+ # Creates a profile that can be applied to one or more private fleet
231
+ # device instances.
232
+ #
233
+ # @option params [required, String] :name
234
+ # The name of your instance profile.
235
+ #
236
+ # @option params [String] :description
237
+ # The description of your instance profile.
238
+ #
239
+ # @option params [Boolean] :package_cleanup
240
+ # When set to `true`, Device Farm will remove app packages after a test
241
+ # run. The default value is `false` for private devices.
242
+ #
243
+ # @option params [Array<String>] :exclude_app_packages_from_cleanup
244
+ # An array of strings specifying the list of app packages that should
245
+ # not be cleaned up from the device after a test run is over.
246
+ #
247
+ # The list of packages is only considered if you set `packageCleanup` to
248
+ # `true`.
249
+ #
250
+ # @option params [Boolean] :reboot_after_use
251
+ # When set to `true`, Device Farm will reboot the instance after a test
252
+ # run. The default value is `true`.
253
+ #
254
+ # @return [Types::CreateInstanceProfileResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
255
+ #
256
+ # * {Types::CreateInstanceProfileResult#instance_profile #instance_profile} => Types::InstanceProfile
257
+ #
258
+ # @example Request syntax with placeholder values
259
+ #
260
+ # resp = client.create_instance_profile({
261
+ # name: "Name", # required
262
+ # description: "Message",
263
+ # package_cleanup: false,
264
+ # exclude_app_packages_from_cleanup: ["String"],
265
+ # reboot_after_use: false,
266
+ # })
267
+ #
268
+ # @example Response structure
269
+ #
270
+ # resp.instance_profile.arn #=> String
271
+ # resp.instance_profile.package_cleanup #=> Boolean
272
+ # resp.instance_profile.exclude_app_packages_from_cleanup #=> Array
273
+ # resp.instance_profile.exclude_app_packages_from_cleanup[0] #=> String
274
+ # resp.instance_profile.reboot_after_use #=> Boolean
275
+ # resp.instance_profile.name #=> String
276
+ # resp.instance_profile.description #=> String
277
+ #
278
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateInstanceProfile AWS API Documentation
279
+ #
280
+ # @overload create_instance_profile(params = {})
281
+ # @param [Hash] params ({})
282
+ def create_instance_profile(params = {}, options = {})
283
+ req = build_request(:create_instance_profile, params)
284
+ req.send_request(options)
285
+ end
286
+
230
287
  # Creates a network profile.
231
288
  #
232
289
  # @option params [required, String] :project_arn
@@ -385,6 +442,10 @@ module Aws::DeviceFarm
385
442
  # The Amazon Resource Name (ARN) of the device for which you want to
386
443
  # create a remote access session.
387
444
  #
445
+ # @option params [String] :instance_arn
446
+ # The Amazon Resource Name (ARN) of the device instance for which you
447
+ # want to create a remote access session.
448
+ #
388
449
  # @option params [String] :ssh_public_key
389
450
  # The public key of the `ssh` key pair you want to use for connecting to
390
451
  # remote devices in your remote debugging session. This is only required
@@ -429,6 +490,18 @@ module Aws::DeviceFarm
429
490
  # You **can** run XCUITest framework-based tests and watch the screen
430
491
  # in this mode.
431
492
  #
493
+ # @option params [Boolean] :skip_app_resign
494
+ # When set to `true`, for private devices, Device Farm will not sign
495
+ # your app again. For public devices, Device Farm always signs your apps
496
+ # again and this parameter has no effect.
497
+ #
498
+ # For more information about how Device Farm re-signs your app(s), see
499
+ # [Do you modify my app?][1] in the *AWS Device Farm FAQs*.
500
+ #
501
+ #
502
+ #
503
+ # [1]: https://aws.amazon.com/device-farm/faq/
504
+ #
432
505
  # @return [Types::CreateRemoteAccessSessionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
433
506
  #
434
507
  # * {Types::CreateRemoteAccessSessionResult#remote_access_session #remote_access_session} => Types::RemoteAccessSession
@@ -458,6 +531,7 @@ module Aws::DeviceFarm
458
531
  # resp = client.create_remote_access_session({
459
532
  # project_arn: "AmazonResourceName", # required
460
533
  # device_arn: "AmazonResourceName", # required
534
+ # instance_arn: "AmazonResourceName",
461
535
  # ssh_public_key: "SshPublicKey",
462
536
  # remote_debug_enabled: false,
463
537
  # remote_record_enabled: false,
@@ -468,6 +542,7 @@ module Aws::DeviceFarm
468
542
  # billing_method: "METERED", # accepts METERED, UNMETERED
469
543
  # },
470
544
  # interaction_mode: "INTERACTIVE", # accepts INTERACTIVE, NO_VIDEO, VIDEO_ONLY
545
+ # skip_app_resign: false,
471
546
  # })
472
547
  #
473
548
  # @example Response structure
@@ -502,6 +577,21 @@ module Aws::DeviceFarm
502
577
  # resp.remote_access_session.device.remote_debug_enabled #=> Boolean
503
578
  # resp.remote_access_session.device.fleet_type #=> String
504
579
  # resp.remote_access_session.device.fleet_name #=> String
580
+ # resp.remote_access_session.device.instances #=> Array
581
+ # resp.remote_access_session.device.instances[0].arn #=> String
582
+ # resp.remote_access_session.device.instances[0].device_arn #=> String
583
+ # resp.remote_access_session.device.instances[0].labels #=> Array
584
+ # resp.remote_access_session.device.instances[0].labels[0] #=> String
585
+ # resp.remote_access_session.device.instances[0].status #=> String, one of "IN_USE", "PREPARING", "AVAILABLE", "NOT_AVAILABLE"
586
+ # resp.remote_access_session.device.instances[0].udid #=> String
587
+ # resp.remote_access_session.device.instances[0].instance_profile.arn #=> String
588
+ # resp.remote_access_session.device.instances[0].instance_profile.package_cleanup #=> Boolean
589
+ # resp.remote_access_session.device.instances[0].instance_profile.exclude_app_packages_from_cleanup #=> Array
590
+ # resp.remote_access_session.device.instances[0].instance_profile.exclude_app_packages_from_cleanup[0] #=> String
591
+ # resp.remote_access_session.device.instances[0].instance_profile.reboot_after_use #=> Boolean
592
+ # resp.remote_access_session.device.instances[0].instance_profile.name #=> String
593
+ # resp.remote_access_session.device.instances[0].instance_profile.description #=> String
594
+ # resp.remote_access_session.instance_arn #=> String
505
595
  # resp.remote_access_session.remote_debug_enabled #=> Boolean
506
596
  # resp.remote_access_session.remote_record_enabled #=> Boolean
507
597
  # resp.remote_access_session.remote_record_app_arn #=> String
@@ -514,6 +604,7 @@ module Aws::DeviceFarm
514
604
  # resp.remote_access_session.endpoint #=> String
515
605
  # resp.remote_access_session.device_udid #=> String
516
606
  # resp.remote_access_session.interaction_mode #=> String, one of "INTERACTIVE", "NO_VIDEO", "VIDEO_ONLY"
607
+ # resp.remote_access_session.skip_app_resign #=> Boolean
517
608
  #
518
609
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSession AWS API Documentation
519
610
  #
@@ -679,6 +770,30 @@ module Aws::DeviceFarm
679
770
  req.send_request(options)
680
771
  end
681
772
 
773
+ # Deletes a profile that can be applied to one or more private device
774
+ # instances.
775
+ #
776
+ # @option params [required, String] :arn
777
+ # The Amazon Resource Name (ARN) of the instance profile you are
778
+ # requesting to delete.
779
+ #
780
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
781
+ #
782
+ # @example Request syntax with placeholder values
783
+ #
784
+ # resp = client.delete_instance_profile({
785
+ # arn: "AmazonResourceName", # required
786
+ # })
787
+ #
788
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteInstanceProfile AWS API Documentation
789
+ #
790
+ # @overload delete_instance_profile(params = {})
791
+ # @param [Hash] params ({})
792
+ def delete_instance_profile(params = {}, options = {})
793
+ req = build_request(:delete_instance_profile, params)
794
+ req.send_request(options)
795
+ end
796
+
682
797
  # Deletes a network profile.
683
798
  #
684
799
  # @option params [required, String] :arn
@@ -888,6 +1003,7 @@ module Aws::DeviceFarm
888
1003
  # resp.account_settings.max_slots #=> Hash
889
1004
  # resp.account_settings.max_slots["String"] #=> Integer
890
1005
  # resp.account_settings.default_job_timeout_minutes #=> Integer
1006
+ # resp.account_settings.skip_app_resign #=> Boolean
891
1007
  #
892
1008
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetAccountSettings AWS API Documentation
893
1009
  #
@@ -971,6 +1087,20 @@ module Aws::DeviceFarm
971
1087
  # resp.device.remote_debug_enabled #=> Boolean
972
1088
  # resp.device.fleet_type #=> String
973
1089
  # resp.device.fleet_name #=> String
1090
+ # resp.device.instances #=> Array
1091
+ # resp.device.instances[0].arn #=> String
1092
+ # resp.device.instances[0].device_arn #=> String
1093
+ # resp.device.instances[0].labels #=> Array
1094
+ # resp.device.instances[0].labels[0] #=> String
1095
+ # resp.device.instances[0].status #=> String, one of "IN_USE", "PREPARING", "AVAILABLE", "NOT_AVAILABLE"
1096
+ # resp.device.instances[0].udid #=> String
1097
+ # resp.device.instances[0].instance_profile.arn #=> String
1098
+ # resp.device.instances[0].instance_profile.package_cleanup #=> Boolean
1099
+ # resp.device.instances[0].instance_profile.exclude_app_packages_from_cleanup #=> Array
1100
+ # resp.device.instances[0].instance_profile.exclude_app_packages_from_cleanup[0] #=> String
1101
+ # resp.device.instances[0].instance_profile.reboot_after_use #=> Boolean
1102
+ # resp.device.instances[0].instance_profile.name #=> String
1103
+ # resp.device.instances[0].instance_profile.description #=> String
974
1104
  #
975
1105
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevice AWS API Documentation
976
1106
  #
@@ -981,6 +1111,48 @@ module Aws::DeviceFarm
981
1111
  req.send_request(options)
982
1112
  end
983
1113
 
1114
+ # Returns information about a device instance belonging to a private
1115
+ # device fleet.
1116
+ #
1117
+ # @option params [required, String] :arn
1118
+ # The Amazon Resource Name (ARN) of the instance you're requesting
1119
+ # information about.
1120
+ #
1121
+ # @return [Types::GetDeviceInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1122
+ #
1123
+ # * {Types::GetDeviceInstanceResult#device_instance #device_instance} => Types::DeviceInstance
1124
+ #
1125
+ # @example Request syntax with placeholder values
1126
+ #
1127
+ # resp = client.get_device_instance({
1128
+ # arn: "AmazonResourceName", # required
1129
+ # })
1130
+ #
1131
+ # @example Response structure
1132
+ #
1133
+ # resp.device_instance.arn #=> String
1134
+ # resp.device_instance.device_arn #=> String
1135
+ # resp.device_instance.labels #=> Array
1136
+ # resp.device_instance.labels[0] #=> String
1137
+ # resp.device_instance.status #=> String, one of "IN_USE", "PREPARING", "AVAILABLE", "NOT_AVAILABLE"
1138
+ # resp.device_instance.udid #=> String
1139
+ # resp.device_instance.instance_profile.arn #=> String
1140
+ # resp.device_instance.instance_profile.package_cleanup #=> Boolean
1141
+ # resp.device_instance.instance_profile.exclude_app_packages_from_cleanup #=> Array
1142
+ # resp.device_instance.instance_profile.exclude_app_packages_from_cleanup[0] #=> String
1143
+ # resp.device_instance.instance_profile.reboot_after_use #=> Boolean
1144
+ # resp.device_instance.instance_profile.name #=> String
1145
+ # resp.device_instance.instance_profile.description #=> String
1146
+ #
1147
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDeviceInstance AWS API Documentation
1148
+ #
1149
+ # @overload get_device_instance(params = {})
1150
+ # @param [Hash] params ({})
1151
+ def get_device_instance(params = {}, options = {})
1152
+ req = build_request(:get_device_instance, params)
1153
+ req.send_request(options)
1154
+ end
1155
+
984
1156
  # Gets information about a device pool.
985
1157
  #
986
1158
  # @option params [required, String] :arn
@@ -1018,7 +1190,7 @@ module Aws::DeviceFarm
1018
1190
  # resp.device_pool.description #=> String
1019
1191
  # resp.device_pool.type #=> String, one of "CURATED", "PRIVATE"
1020
1192
  # resp.device_pool.rules #=> Array
1021
- # resp.device_pool.rules[0].attribute #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION"
1193
+ # resp.device_pool.rules[0].attribute #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS"
1022
1194
  # resp.device_pool.rules[0].operator #=> String, one of "EQUALS", "LESS_THAN", "GREATER_THAN", "IN", "NOT_IN", "CONTAINS"
1023
1195
  # resp.device_pool.rules[0].value #=> String
1024
1196
  #
@@ -1142,10 +1314,24 @@ module Aws::DeviceFarm
1142
1314
  # resp.compatible_devices[0].device.remote_debug_enabled #=> Boolean
1143
1315
  # resp.compatible_devices[0].device.fleet_type #=> String
1144
1316
  # resp.compatible_devices[0].device.fleet_name #=> String
1317
+ # resp.compatible_devices[0].device.instances #=> Array
1318
+ # resp.compatible_devices[0].device.instances[0].arn #=> String
1319
+ # resp.compatible_devices[0].device.instances[0].device_arn #=> String
1320
+ # resp.compatible_devices[0].device.instances[0].labels #=> Array
1321
+ # resp.compatible_devices[0].device.instances[0].labels[0] #=> String
1322
+ # resp.compatible_devices[0].device.instances[0].status #=> String, one of "IN_USE", "PREPARING", "AVAILABLE", "NOT_AVAILABLE"
1323
+ # resp.compatible_devices[0].device.instances[0].udid #=> String
1324
+ # resp.compatible_devices[0].device.instances[0].instance_profile.arn #=> String
1325
+ # resp.compatible_devices[0].device.instances[0].instance_profile.package_cleanup #=> Boolean
1326
+ # resp.compatible_devices[0].device.instances[0].instance_profile.exclude_app_packages_from_cleanup #=> Array
1327
+ # resp.compatible_devices[0].device.instances[0].instance_profile.exclude_app_packages_from_cleanup[0] #=> String
1328
+ # resp.compatible_devices[0].device.instances[0].instance_profile.reboot_after_use #=> Boolean
1329
+ # resp.compatible_devices[0].device.instances[0].instance_profile.name #=> String
1330
+ # resp.compatible_devices[0].device.instances[0].instance_profile.description #=> String
1145
1331
  # resp.compatible_devices[0].compatible #=> Boolean
1146
1332
  # resp.compatible_devices[0].incompatibility_messages #=> Array
1147
1333
  # resp.compatible_devices[0].incompatibility_messages[0].message #=> String
1148
- # resp.compatible_devices[0].incompatibility_messages[0].type #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION"
1334
+ # resp.compatible_devices[0].incompatibility_messages[0].type #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS"
1149
1335
  # resp.incompatible_devices #=> Array
1150
1336
  # resp.incompatible_devices[0].device.arn #=> String
1151
1337
  # resp.incompatible_devices[0].device.name #=> String
@@ -1169,10 +1355,24 @@ module Aws::DeviceFarm
1169
1355
  # resp.incompatible_devices[0].device.remote_debug_enabled #=> Boolean
1170
1356
  # resp.incompatible_devices[0].device.fleet_type #=> String
1171
1357
  # resp.incompatible_devices[0].device.fleet_name #=> String
1358
+ # resp.incompatible_devices[0].device.instances #=> Array
1359
+ # resp.incompatible_devices[0].device.instances[0].arn #=> String
1360
+ # resp.incompatible_devices[0].device.instances[0].device_arn #=> String
1361
+ # resp.incompatible_devices[0].device.instances[0].labels #=> Array
1362
+ # resp.incompatible_devices[0].device.instances[0].labels[0] #=> String
1363
+ # resp.incompatible_devices[0].device.instances[0].status #=> String, one of "IN_USE", "PREPARING", "AVAILABLE", "NOT_AVAILABLE"
1364
+ # resp.incompatible_devices[0].device.instances[0].udid #=> String
1365
+ # resp.incompatible_devices[0].device.instances[0].instance_profile.arn #=> String
1366
+ # resp.incompatible_devices[0].device.instances[0].instance_profile.package_cleanup #=> Boolean
1367
+ # resp.incompatible_devices[0].device.instances[0].instance_profile.exclude_app_packages_from_cleanup #=> Array
1368
+ # resp.incompatible_devices[0].device.instances[0].instance_profile.exclude_app_packages_from_cleanup[0] #=> String
1369
+ # resp.incompatible_devices[0].device.instances[0].instance_profile.reboot_after_use #=> Boolean
1370
+ # resp.incompatible_devices[0].device.instances[0].instance_profile.name #=> String
1371
+ # resp.incompatible_devices[0].device.instances[0].instance_profile.description #=> String
1172
1372
  # resp.incompatible_devices[0].compatible #=> Boolean
1173
1373
  # resp.incompatible_devices[0].incompatibility_messages #=> Array
1174
1374
  # resp.incompatible_devices[0].incompatibility_messages[0].message #=> String
1175
- # resp.incompatible_devices[0].incompatibility_messages[0].type #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION"
1375
+ # resp.incompatible_devices[0].incompatibility_messages[0].type #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS"
1176
1376
  #
1177
1377
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolCompatibility AWS API Documentation
1178
1378
  #
@@ -1183,6 +1383,40 @@ module Aws::DeviceFarm
1183
1383
  req.send_request(options)
1184
1384
  end
1185
1385
 
1386
+ # Returns information about the specified instance profile.
1387
+ #
1388
+ # @option params [required, String] :arn
1389
+ # The Amazon Resource Name (ARN) of your instance profile.
1390
+ #
1391
+ # @return [Types::GetInstanceProfileResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1392
+ #
1393
+ # * {Types::GetInstanceProfileResult#instance_profile #instance_profile} => Types::InstanceProfile
1394
+ #
1395
+ # @example Request syntax with placeholder values
1396
+ #
1397
+ # resp = client.get_instance_profile({
1398
+ # arn: "AmazonResourceName", # required
1399
+ # })
1400
+ #
1401
+ # @example Response structure
1402
+ #
1403
+ # resp.instance_profile.arn #=> String
1404
+ # resp.instance_profile.package_cleanup #=> Boolean
1405
+ # resp.instance_profile.exclude_app_packages_from_cleanup #=> Array
1406
+ # resp.instance_profile.exclude_app_packages_from_cleanup[0] #=> String
1407
+ # resp.instance_profile.reboot_after_use #=> Boolean
1408
+ # resp.instance_profile.name #=> String
1409
+ # resp.instance_profile.description #=> String
1410
+ #
1411
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetInstanceProfile AWS API Documentation
1412
+ #
1413
+ # @overload get_instance_profile(params = {})
1414
+ # @param [Hash] params ({})
1415
+ def get_instance_profile(params = {}, options = {})
1416
+ req = build_request(:get_instance_profile, params)
1417
+ req.send_request(options)
1418
+ end
1419
+
1186
1420
  # Gets information about a job.
1187
1421
  #
1188
1422
  # @option params [required, String] :arn
@@ -1253,6 +1487,21 @@ module Aws::DeviceFarm
1253
1487
  # resp.job.device.remote_debug_enabled #=> Boolean
1254
1488
  # resp.job.device.fleet_type #=> String
1255
1489
  # resp.job.device.fleet_name #=> String
1490
+ # resp.job.device.instances #=> Array
1491
+ # resp.job.device.instances[0].arn #=> String
1492
+ # resp.job.device.instances[0].device_arn #=> String
1493
+ # resp.job.device.instances[0].labels #=> Array
1494
+ # resp.job.device.instances[0].labels[0] #=> String
1495
+ # resp.job.device.instances[0].status #=> String, one of "IN_USE", "PREPARING", "AVAILABLE", "NOT_AVAILABLE"
1496
+ # resp.job.device.instances[0].udid #=> String
1497
+ # resp.job.device.instances[0].instance_profile.arn #=> String
1498
+ # resp.job.device.instances[0].instance_profile.package_cleanup #=> Boolean
1499
+ # resp.job.device.instances[0].instance_profile.exclude_app_packages_from_cleanup #=> Array
1500
+ # resp.job.device.instances[0].instance_profile.exclude_app_packages_from_cleanup[0] #=> String
1501
+ # resp.job.device.instances[0].instance_profile.reboot_after_use #=> Boolean
1502
+ # resp.job.device.instances[0].instance_profile.name #=> String
1503
+ # resp.job.device.instances[0].instance_profile.description #=> String
1504
+ # resp.job.instance_arn #=> String
1256
1505
  # resp.job.device_minutes.total #=> Float
1257
1506
  # resp.job.device_minutes.metered #=> Float
1258
1507
  # resp.job.device_minutes.unmetered #=> Float
@@ -1516,6 +1765,21 @@ module Aws::DeviceFarm
1516
1765
  # resp.remote_access_session.device.remote_debug_enabled #=> Boolean
1517
1766
  # resp.remote_access_session.device.fleet_type #=> String
1518
1767
  # resp.remote_access_session.device.fleet_name #=> String
1768
+ # resp.remote_access_session.device.instances #=> Array
1769
+ # resp.remote_access_session.device.instances[0].arn #=> String
1770
+ # resp.remote_access_session.device.instances[0].device_arn #=> String
1771
+ # resp.remote_access_session.device.instances[0].labels #=> Array
1772
+ # resp.remote_access_session.device.instances[0].labels[0] #=> String
1773
+ # resp.remote_access_session.device.instances[0].status #=> String, one of "IN_USE", "PREPARING", "AVAILABLE", "NOT_AVAILABLE"
1774
+ # resp.remote_access_session.device.instances[0].udid #=> String
1775
+ # resp.remote_access_session.device.instances[0].instance_profile.arn #=> String
1776
+ # resp.remote_access_session.device.instances[0].instance_profile.package_cleanup #=> Boolean
1777
+ # resp.remote_access_session.device.instances[0].instance_profile.exclude_app_packages_from_cleanup #=> Array
1778
+ # resp.remote_access_session.device.instances[0].instance_profile.exclude_app_packages_from_cleanup[0] #=> String
1779
+ # resp.remote_access_session.device.instances[0].instance_profile.reboot_after_use #=> Boolean
1780
+ # resp.remote_access_session.device.instances[0].instance_profile.name #=> String
1781
+ # resp.remote_access_session.device.instances[0].instance_profile.description #=> String
1782
+ # resp.remote_access_session.instance_arn #=> String
1519
1783
  # resp.remote_access_session.remote_debug_enabled #=> Boolean
1520
1784
  # resp.remote_access_session.remote_record_enabled #=> Boolean
1521
1785
  # resp.remote_access_session.remote_record_app_arn #=> String
@@ -1528,6 +1792,7 @@ module Aws::DeviceFarm
1528
1792
  # resp.remote_access_session.endpoint #=> String
1529
1793
  # resp.remote_access_session.device_udid #=> String
1530
1794
  # resp.remote_access_session.interaction_mode #=> String, one of "INTERACTIVE", "NO_VIDEO", "VIDEO_ONLY"
1795
+ # resp.remote_access_session.skip_app_resign #=> Boolean
1531
1796
  #
1532
1797
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRemoteAccessSession AWS API Documentation
1533
1798
  #
@@ -1650,6 +1915,7 @@ module Aws::DeviceFarm
1650
1915
  # resp.run.customer_artifact_paths.device_host_paths #=> Array
1651
1916
  # resp.run.customer_artifact_paths.device_host_paths[0] #=> String
1652
1917
  # resp.run.web_url #=> String
1918
+ # resp.run.skip_app_resign #=> Boolean
1653
1919
  #
1654
1920
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRun AWS API Documentation
1655
1921
  #
@@ -1956,6 +2222,57 @@ module Aws::DeviceFarm
1956
2222
  req.send_request(options)
1957
2223
  end
1958
2224
 
2225
+ # Returns information about the private device instances associated with
2226
+ # one or more AWS accounts.
2227
+ #
2228
+ # @option params [Integer] :max_results
2229
+ # An integer specifying the maximum number of items you want to return
2230
+ # in the API response.
2231
+ #
2232
+ # @option params [String] :next_token
2233
+ # An identifier that was returned from the previous call to this
2234
+ # operation, which can be used to return the next set of items in the
2235
+ # list.
2236
+ #
2237
+ # @return [Types::ListDeviceInstancesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2238
+ #
2239
+ # * {Types::ListDeviceInstancesResult#device_instances #device_instances} => Array&lt;Types::DeviceInstance&gt;
2240
+ # * {Types::ListDeviceInstancesResult#next_token #next_token} => String
2241
+ #
2242
+ # @example Request syntax with placeholder values
2243
+ #
2244
+ # resp = client.list_device_instances({
2245
+ # max_results: 1,
2246
+ # next_token: "PaginationToken",
2247
+ # })
2248
+ #
2249
+ # @example Response structure
2250
+ #
2251
+ # resp.device_instances #=> Array
2252
+ # resp.device_instances[0].arn #=> String
2253
+ # resp.device_instances[0].device_arn #=> String
2254
+ # resp.device_instances[0].labels #=> Array
2255
+ # resp.device_instances[0].labels[0] #=> String
2256
+ # resp.device_instances[0].status #=> String, one of "IN_USE", "PREPARING", "AVAILABLE", "NOT_AVAILABLE"
2257
+ # resp.device_instances[0].udid #=> String
2258
+ # resp.device_instances[0].instance_profile.arn #=> String
2259
+ # resp.device_instances[0].instance_profile.package_cleanup #=> Boolean
2260
+ # resp.device_instances[0].instance_profile.exclude_app_packages_from_cleanup #=> Array
2261
+ # resp.device_instances[0].instance_profile.exclude_app_packages_from_cleanup[0] #=> String
2262
+ # resp.device_instances[0].instance_profile.reboot_after_use #=> Boolean
2263
+ # resp.device_instances[0].instance_profile.name #=> String
2264
+ # resp.device_instances[0].instance_profile.description #=> String
2265
+ # resp.next_token #=> String
2266
+ #
2267
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDeviceInstances AWS API Documentation
2268
+ #
2269
+ # @overload list_device_instances(params = {})
2270
+ # @param [Hash] params ({})
2271
+ def list_device_instances(params = {}, options = {})
2272
+ req = build_request(:list_device_instances, params)
2273
+ req.send_request(options)
2274
+ end
2275
+
1959
2276
  # Gets information about device pools.
1960
2277
  #
1961
2278
  # @option params [required, String] :arn
@@ -2038,7 +2355,7 @@ module Aws::DeviceFarm
2038
2355
  # resp.device_pools[0].description #=> String
2039
2356
  # resp.device_pools[0].type #=> String, one of "CURATED", "PRIVATE"
2040
2357
  # resp.device_pools[0].rules #=> Array
2041
- # resp.device_pools[0].rules[0].attribute #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION"
2358
+ # resp.device_pools[0].rules[0].attribute #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS"
2042
2359
  # resp.device_pools[0].rules[0].operator #=> String, one of "EQUALS", "LESS_THAN", "GREATER_THAN", "IN", "NOT_IN", "CONTAINS"
2043
2360
  # resp.device_pools[0].rules[0].value #=> String
2044
2361
  # resp.next_token #=> String
@@ -2112,6 +2429,20 @@ module Aws::DeviceFarm
2112
2429
  # resp.devices[0].remote_debug_enabled #=> Boolean
2113
2430
  # resp.devices[0].fleet_type #=> String
2114
2431
  # resp.devices[0].fleet_name #=> String
2432
+ # resp.devices[0].instances #=> Array
2433
+ # resp.devices[0].instances[0].arn #=> String
2434
+ # resp.devices[0].instances[0].device_arn #=> String
2435
+ # resp.devices[0].instances[0].labels #=> Array
2436
+ # resp.devices[0].instances[0].labels[0] #=> String
2437
+ # resp.devices[0].instances[0].status #=> String, one of "IN_USE", "PREPARING", "AVAILABLE", "NOT_AVAILABLE"
2438
+ # resp.devices[0].instances[0].udid #=> String
2439
+ # resp.devices[0].instances[0].instance_profile.arn #=> String
2440
+ # resp.devices[0].instances[0].instance_profile.package_cleanup #=> Boolean
2441
+ # resp.devices[0].instances[0].instance_profile.exclude_app_packages_from_cleanup #=> Array
2442
+ # resp.devices[0].instances[0].instance_profile.exclude_app_packages_from_cleanup[0] #=> String
2443
+ # resp.devices[0].instances[0].instance_profile.reboot_after_use #=> Boolean
2444
+ # resp.devices[0].instances[0].instance_profile.name #=> String
2445
+ # resp.devices[0].instances[0].instance_profile.description #=> String
2115
2446
  # resp.next_token #=> String
2116
2447
  #
2117
2448
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevices AWS API Documentation
@@ -2123,6 +2454,50 @@ module Aws::DeviceFarm
2123
2454
  req.send_request(options)
2124
2455
  end
2125
2456
 
2457
+ # Returns information about all the instance profiles in an AWS account.
2458
+ #
2459
+ # @option params [Integer] :max_results
2460
+ # An integer specifying the maximum number of items you want to return
2461
+ # in the API response.
2462
+ #
2463
+ # @option params [String] :next_token
2464
+ # An identifier that was returned from the previous call to this
2465
+ # operation, which can be used to return the next set of items in the
2466
+ # list.
2467
+ #
2468
+ # @return [Types::ListInstanceProfilesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2469
+ #
2470
+ # * {Types::ListInstanceProfilesResult#instance_profiles #instance_profiles} => Array&lt;Types::InstanceProfile&gt;
2471
+ # * {Types::ListInstanceProfilesResult#next_token #next_token} => String
2472
+ #
2473
+ # @example Request syntax with placeholder values
2474
+ #
2475
+ # resp = client.list_instance_profiles({
2476
+ # max_results: 1,
2477
+ # next_token: "PaginationToken",
2478
+ # })
2479
+ #
2480
+ # @example Response structure
2481
+ #
2482
+ # resp.instance_profiles #=> Array
2483
+ # resp.instance_profiles[0].arn #=> String
2484
+ # resp.instance_profiles[0].package_cleanup #=> Boolean
2485
+ # resp.instance_profiles[0].exclude_app_packages_from_cleanup #=> Array
2486
+ # resp.instance_profiles[0].exclude_app_packages_from_cleanup[0] #=> String
2487
+ # resp.instance_profiles[0].reboot_after_use #=> Boolean
2488
+ # resp.instance_profiles[0].name #=> String
2489
+ # resp.instance_profiles[0].description #=> String
2490
+ # resp.next_token #=> String
2491
+ #
2492
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListInstanceProfiles AWS API Documentation
2493
+ #
2494
+ # @overload list_instance_profiles(params = {})
2495
+ # @param [Hash] params ({})
2496
+ def list_instance_profiles(params = {}, options = {})
2497
+ req = build_request(:list_instance_profiles, params)
2498
+ req.send_request(options)
2499
+ end
2500
+
2126
2501
  # Gets information about jobs for a given test run.
2127
2502
  #
2128
2503
  # @option params [required, String] :arn
@@ -2195,6 +2570,21 @@ module Aws::DeviceFarm
2195
2570
  # resp.jobs[0].device.remote_debug_enabled #=> Boolean
2196
2571
  # resp.jobs[0].device.fleet_type #=> String
2197
2572
  # resp.jobs[0].device.fleet_name #=> String
2573
+ # resp.jobs[0].device.instances #=> Array
2574
+ # resp.jobs[0].device.instances[0].arn #=> String
2575
+ # resp.jobs[0].device.instances[0].device_arn #=> String
2576
+ # resp.jobs[0].device.instances[0].labels #=> Array
2577
+ # resp.jobs[0].device.instances[0].labels[0] #=> String
2578
+ # resp.jobs[0].device.instances[0].status #=> String, one of "IN_USE", "PREPARING", "AVAILABLE", "NOT_AVAILABLE"
2579
+ # resp.jobs[0].device.instances[0].udid #=> String
2580
+ # resp.jobs[0].device.instances[0].instance_profile.arn #=> String
2581
+ # resp.jobs[0].device.instances[0].instance_profile.package_cleanup #=> Boolean
2582
+ # resp.jobs[0].device.instances[0].instance_profile.exclude_app_packages_from_cleanup #=> Array
2583
+ # resp.jobs[0].device.instances[0].instance_profile.exclude_app_packages_from_cleanup[0] #=> String
2584
+ # resp.jobs[0].device.instances[0].instance_profile.reboot_after_use #=> Boolean
2585
+ # resp.jobs[0].device.instances[0].instance_profile.name #=> String
2586
+ # resp.jobs[0].device.instances[0].instance_profile.description #=> String
2587
+ # resp.jobs[0].instance_arn #=> String
2198
2588
  # resp.jobs[0].device_minutes.total #=> Float
2199
2589
  # resp.jobs[0].device_minutes.metered #=> Float
2200
2590
  # resp.jobs[0].device_minutes.unmetered #=> Float
@@ -2708,6 +3098,21 @@ module Aws::DeviceFarm
2708
3098
  # resp.remote_access_sessions[0].device.remote_debug_enabled #=> Boolean
2709
3099
  # resp.remote_access_sessions[0].device.fleet_type #=> String
2710
3100
  # resp.remote_access_sessions[0].device.fleet_name #=> String
3101
+ # resp.remote_access_sessions[0].device.instances #=> Array
3102
+ # resp.remote_access_sessions[0].device.instances[0].arn #=> String
3103
+ # resp.remote_access_sessions[0].device.instances[0].device_arn #=> String
3104
+ # resp.remote_access_sessions[0].device.instances[0].labels #=> Array
3105
+ # resp.remote_access_sessions[0].device.instances[0].labels[0] #=> String
3106
+ # resp.remote_access_sessions[0].device.instances[0].status #=> String, one of "IN_USE", "PREPARING", "AVAILABLE", "NOT_AVAILABLE"
3107
+ # resp.remote_access_sessions[0].device.instances[0].udid #=> String
3108
+ # resp.remote_access_sessions[0].device.instances[0].instance_profile.arn #=> String
3109
+ # resp.remote_access_sessions[0].device.instances[0].instance_profile.package_cleanup #=> Boolean
3110
+ # resp.remote_access_sessions[0].device.instances[0].instance_profile.exclude_app_packages_from_cleanup #=> Array
3111
+ # resp.remote_access_sessions[0].device.instances[0].instance_profile.exclude_app_packages_from_cleanup[0] #=> String
3112
+ # resp.remote_access_sessions[0].device.instances[0].instance_profile.reboot_after_use #=> Boolean
3113
+ # resp.remote_access_sessions[0].device.instances[0].instance_profile.name #=> String
3114
+ # resp.remote_access_sessions[0].device.instances[0].instance_profile.description #=> String
3115
+ # resp.remote_access_sessions[0].instance_arn #=> String
2711
3116
  # resp.remote_access_sessions[0].remote_debug_enabled #=> Boolean
2712
3117
  # resp.remote_access_sessions[0].remote_record_enabled #=> Boolean
2713
3118
  # resp.remote_access_sessions[0].remote_record_app_arn #=> String
@@ -2720,6 +3125,7 @@ module Aws::DeviceFarm
2720
3125
  # resp.remote_access_sessions[0].endpoint #=> String
2721
3126
  # resp.remote_access_sessions[0].device_udid #=> String
2722
3127
  # resp.remote_access_sessions[0].interaction_mode #=> String, one of "INTERACTIVE", "NO_VIDEO", "VIDEO_ONLY"
3128
+ # resp.remote_access_sessions[0].skip_app_resign #=> Boolean
2723
3129
  # resp.next_token #=> String
2724
3130
  #
2725
3131
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRemoteAccessSessions AWS API Documentation
@@ -2855,6 +3261,7 @@ module Aws::DeviceFarm
2855
3261
  # resp.runs[0].customer_artifact_paths.device_host_paths #=> Array
2856
3262
  # resp.runs[0].customer_artifact_paths.device_host_paths[0] #=> String
2857
3263
  # resp.runs[0].web_url #=> String
3264
+ # resp.runs[0].skip_app_resign #=> Boolean
2858
3265
  # resp.next_token #=> String
2859
3266
  #
2860
3267
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRuns AWS API Documentation
@@ -3138,6 +3545,20 @@ module Aws::DeviceFarm
3138
3545
  # resp.unique_problems["ExecutionResult"][0].problems[0].device.remote_debug_enabled #=> Boolean
3139
3546
  # resp.unique_problems["ExecutionResult"][0].problems[0].device.fleet_type #=> String
3140
3547
  # resp.unique_problems["ExecutionResult"][0].problems[0].device.fleet_name #=> String
3548
+ # resp.unique_problems["ExecutionResult"][0].problems[0].device.instances #=> Array
3549
+ # resp.unique_problems["ExecutionResult"][0].problems[0].device.instances[0].arn #=> String
3550
+ # resp.unique_problems["ExecutionResult"][0].problems[0].device.instances[0].device_arn #=> String
3551
+ # resp.unique_problems["ExecutionResult"][0].problems[0].device.instances[0].labels #=> Array
3552
+ # resp.unique_problems["ExecutionResult"][0].problems[0].device.instances[0].labels[0] #=> String
3553
+ # resp.unique_problems["ExecutionResult"][0].problems[0].device.instances[0].status #=> String, one of "IN_USE", "PREPARING", "AVAILABLE", "NOT_AVAILABLE"
3554
+ # resp.unique_problems["ExecutionResult"][0].problems[0].device.instances[0].udid #=> String
3555
+ # resp.unique_problems["ExecutionResult"][0].problems[0].device.instances[0].instance_profile.arn #=> String
3556
+ # resp.unique_problems["ExecutionResult"][0].problems[0].device.instances[0].instance_profile.package_cleanup #=> Boolean
3557
+ # resp.unique_problems["ExecutionResult"][0].problems[0].device.instances[0].instance_profile.exclude_app_packages_from_cleanup #=> Array
3558
+ # resp.unique_problems["ExecutionResult"][0].problems[0].device.instances[0].instance_profile.exclude_app_packages_from_cleanup[0] #=> String
3559
+ # resp.unique_problems["ExecutionResult"][0].problems[0].device.instances[0].instance_profile.reboot_after_use #=> Boolean
3560
+ # resp.unique_problems["ExecutionResult"][0].problems[0].device.instances[0].instance_profile.name #=> String
3561
+ # resp.unique_problems["ExecutionResult"][0].problems[0].device.instances[0].instance_profile.description #=> String
3141
3562
  # resp.unique_problems["ExecutionResult"][0].problems[0].result #=> String, one of "PENDING", "PASSED", "WARNED", "FAILED", "SKIPPED", "ERRORED", "STOPPED"
3142
3563
  # resp.unique_problems["ExecutionResult"][0].problems[0].message #=> String
3143
3564
  # resp.next_token #=> String
@@ -3478,6 +3899,7 @@ module Aws::DeviceFarm
3478
3899
  # job_timeout_minutes: 1,
3479
3900
  # accounts_cleanup: false,
3480
3901
  # app_packages_cleanup: false,
3902
+ # skip_app_resign: false,
3481
3903
  # },
3482
3904
  # })
3483
3905
  #
@@ -3539,6 +3961,7 @@ module Aws::DeviceFarm
3539
3961
  # resp.run.customer_artifact_paths.device_host_paths #=> Array
3540
3962
  # resp.run.customer_artifact_paths.device_host_paths[0] #=> String
3541
3963
  # resp.run.web_url #=> String
3964
+ # resp.run.skip_app_resign #=> Boolean
3542
3965
  #
3543
3966
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRun AWS API Documentation
3544
3967
  #
@@ -3597,6 +4020,21 @@ module Aws::DeviceFarm
3597
4020
  # resp.remote_access_session.device.remote_debug_enabled #=> Boolean
3598
4021
  # resp.remote_access_session.device.fleet_type #=> String
3599
4022
  # resp.remote_access_session.device.fleet_name #=> String
4023
+ # resp.remote_access_session.device.instances #=> Array
4024
+ # resp.remote_access_session.device.instances[0].arn #=> String
4025
+ # resp.remote_access_session.device.instances[0].device_arn #=> String
4026
+ # resp.remote_access_session.device.instances[0].labels #=> Array
4027
+ # resp.remote_access_session.device.instances[0].labels[0] #=> String
4028
+ # resp.remote_access_session.device.instances[0].status #=> String, one of "IN_USE", "PREPARING", "AVAILABLE", "NOT_AVAILABLE"
4029
+ # resp.remote_access_session.device.instances[0].udid #=> String
4030
+ # resp.remote_access_session.device.instances[0].instance_profile.arn #=> String
4031
+ # resp.remote_access_session.device.instances[0].instance_profile.package_cleanup #=> Boolean
4032
+ # resp.remote_access_session.device.instances[0].instance_profile.exclude_app_packages_from_cleanup #=> Array
4033
+ # resp.remote_access_session.device.instances[0].instance_profile.exclude_app_packages_from_cleanup[0] #=> String
4034
+ # resp.remote_access_session.device.instances[0].instance_profile.reboot_after_use #=> Boolean
4035
+ # resp.remote_access_session.device.instances[0].instance_profile.name #=> String
4036
+ # resp.remote_access_session.device.instances[0].instance_profile.description #=> String
4037
+ # resp.remote_access_session.instance_arn #=> String
3600
4038
  # resp.remote_access_session.remote_debug_enabled #=> Boolean
3601
4039
  # resp.remote_access_session.remote_record_enabled #=> Boolean
3602
4040
  # resp.remote_access_session.remote_record_app_arn #=> String
@@ -3609,6 +4047,7 @@ module Aws::DeviceFarm
3609
4047
  # resp.remote_access_session.endpoint #=> String
3610
4048
  # resp.remote_access_session.device_udid #=> String
3611
4049
  # resp.remote_access_session.interaction_mode #=> String, one of "INTERACTIVE", "NO_VIDEO", "VIDEO_ONLY"
4050
+ # resp.remote_access_session.skip_app_resign #=> Boolean
3612
4051
  #
3613
4052
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRemoteAccessSession AWS API Documentation
3614
4053
  #
@@ -3714,6 +4153,7 @@ module Aws::DeviceFarm
3714
4153
  # resp.run.customer_artifact_paths.device_host_paths #=> Array
3715
4154
  # resp.run.customer_artifact_paths.device_host_paths[0] #=> String
3716
4155
  # resp.run.web_url #=> String
4156
+ # resp.run.skip_app_resign #=> Boolean
3717
4157
  #
3718
4158
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRun AWS API Documentation
3719
4159
  #
@@ -3724,6 +4164,56 @@ module Aws::DeviceFarm
3724
4164
  req.send_request(options)
3725
4165
  end
3726
4166
 
4167
+ # Updates information about an existing private device instance.
4168
+ #
4169
+ # @option params [required, String] :arn
4170
+ # The Amazon Resource Name (ARN) of the device instance.
4171
+ #
4172
+ # @option params [String] :profile_arn
4173
+ # The Amazon Resource Name (ARN) of the profile that you want to
4174
+ # associate with the device instance.
4175
+ #
4176
+ # @option params [Array<String>] :labels
4177
+ # An array of strings that you want to associate with the device
4178
+ # instance.
4179
+ #
4180
+ # @return [Types::UpdateDeviceInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4181
+ #
4182
+ # * {Types::UpdateDeviceInstanceResult#device_instance #device_instance} => Types::DeviceInstance
4183
+ #
4184
+ # @example Request syntax with placeholder values
4185
+ #
4186
+ # resp = client.update_device_instance({
4187
+ # arn: "AmazonResourceName", # required
4188
+ # profile_arn: "AmazonResourceName",
4189
+ # labels: ["String"],
4190
+ # })
4191
+ #
4192
+ # @example Response structure
4193
+ #
4194
+ # resp.device_instance.arn #=> String
4195
+ # resp.device_instance.device_arn #=> String
4196
+ # resp.device_instance.labels #=> Array
4197
+ # resp.device_instance.labels[0] #=> String
4198
+ # resp.device_instance.status #=> String, one of "IN_USE", "PREPARING", "AVAILABLE", "NOT_AVAILABLE"
4199
+ # resp.device_instance.udid #=> String
4200
+ # resp.device_instance.instance_profile.arn #=> String
4201
+ # resp.device_instance.instance_profile.package_cleanup #=> Boolean
4202
+ # resp.device_instance.instance_profile.exclude_app_packages_from_cleanup #=> Array
4203
+ # resp.device_instance.instance_profile.exclude_app_packages_from_cleanup[0] #=> String
4204
+ # resp.device_instance.instance_profile.reboot_after_use #=> Boolean
4205
+ # resp.device_instance.instance_profile.name #=> String
4206
+ # resp.device_instance.instance_profile.description #=> String
4207
+ #
4208
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateDeviceInstance AWS API Documentation
4209
+ #
4210
+ # @overload update_device_instance(params = {})
4211
+ # @param [Hash] params ({})
4212
+ def update_device_instance(params = {}, options = {})
4213
+ req = build_request(:update_device_instance, params)
4214
+ req.send_request(options)
4215
+ end
4216
+
3727
4217
  # Modifies the name, description, and rules in a device pool given the
3728
4218
  # attributes and the pool ARN. Rule updates are all-or-nothing, meaning
3729
4219
  # they can only be updated as a whole (or not at all).
@@ -3780,7 +4270,7 @@ module Aws::DeviceFarm
3780
4270
  # description: "Message",
3781
4271
  # rules: [
3782
4272
  # {
3783
- # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION
4273
+ # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION, INSTANCE_ARN, INSTANCE_LABELS
3784
4274
  # operator: "EQUALS", # accepts EQUALS, LESS_THAN, GREATER_THAN, IN, NOT_IN, CONTAINS
3785
4275
  # value: "String",
3786
4276
  # },
@@ -3794,7 +4284,7 @@ module Aws::DeviceFarm
3794
4284
  # resp.device_pool.description #=> String
3795
4285
  # resp.device_pool.type #=> String, one of "CURATED", "PRIVATE"
3796
4286
  # resp.device_pool.rules #=> Array
3797
- # resp.device_pool.rules[0].attribute #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION"
4287
+ # resp.device_pool.rules[0].attribute #=> String, one of "ARN", "PLATFORM", "FORM_FACTOR", "MANUFACTURER", "REMOTE_ACCESS_ENABLED", "REMOTE_DEBUG_ENABLED", "APPIUM_VERSION", "INSTANCE_ARN", "INSTANCE_LABELS"
3798
4288
  # resp.device_pool.rules[0].operator #=> String, one of "EQUALS", "LESS_THAN", "GREATER_THAN", "IN", "NOT_IN", "CONTAINS"
3799
4289
  # resp.device_pool.rules[0].value #=> String
3800
4290
  #
@@ -3807,6 +4297,66 @@ module Aws::DeviceFarm
3807
4297
  req.send_request(options)
3808
4298
  end
3809
4299
 
4300
+ # Updates information about an existing private device instance profile.
4301
+ #
4302
+ # @option params [required, String] :arn
4303
+ # The Amazon Resource Name (ARN) of the instance profile.
4304
+ #
4305
+ # @option params [String] :name
4306
+ # The updated name for your instance profile.
4307
+ #
4308
+ # @option params [String] :description
4309
+ # The updated description for your instance profile.
4310
+ #
4311
+ # @option params [Boolean] :package_cleanup
4312
+ # The updated choice for whether you want to specify package cleanup.
4313
+ # The default value is `false` for private devices.
4314
+ #
4315
+ # @option params [Array<String>] :exclude_app_packages_from_cleanup
4316
+ # An array of strings specifying the list of app packages that should
4317
+ # not be cleaned up from the device after a test run is over.
4318
+ #
4319
+ # The list of packages is only considered if you set `packageCleanup` to
4320
+ # `true`.
4321
+ #
4322
+ # @option params [Boolean] :reboot_after_use
4323
+ # The updated choice for whether you want to reboot the device after
4324
+ # use. The default value is `true`.
4325
+ #
4326
+ # @return [Types::UpdateInstanceProfileResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4327
+ #
4328
+ # * {Types::UpdateInstanceProfileResult#instance_profile #instance_profile} => Types::InstanceProfile
4329
+ #
4330
+ # @example Request syntax with placeholder values
4331
+ #
4332
+ # resp = client.update_instance_profile({
4333
+ # arn: "AmazonResourceName", # required
4334
+ # name: "Name",
4335
+ # description: "Message",
4336
+ # package_cleanup: false,
4337
+ # exclude_app_packages_from_cleanup: ["String"],
4338
+ # reboot_after_use: false,
4339
+ # })
4340
+ #
4341
+ # @example Response structure
4342
+ #
4343
+ # resp.instance_profile.arn #=> String
4344
+ # resp.instance_profile.package_cleanup #=> Boolean
4345
+ # resp.instance_profile.exclude_app_packages_from_cleanup #=> Array
4346
+ # resp.instance_profile.exclude_app_packages_from_cleanup[0] #=> String
4347
+ # resp.instance_profile.reboot_after_use #=> Boolean
4348
+ # resp.instance_profile.name #=> String
4349
+ # resp.instance_profile.description #=> String
4350
+ #
4351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateInstanceProfile AWS API Documentation
4352
+ #
4353
+ # @overload update_instance_profile(params = {})
4354
+ # @param [Hash] params ({})
4355
+ def update_instance_profile(params = {}, options = {})
4356
+ req = build_request(:update_instance_profile, params)
4357
+ req.send_request(options)
4358
+ end
4359
+
3810
4360
  # Updates the network profile with specific settings.
3811
4361
  #
3812
4362
  # @option params [required, String] :arn
@@ -3977,7 +4527,7 @@ module Aws::DeviceFarm
3977
4527
  params: params,
3978
4528
  config: config)
3979
4529
  context[:gem_name] = 'aws-sdk-devicefarm'
3980
- context[:gem_version] = '1.3.0'
4530
+ context[:gem_version] = '1.4.0'
3981
4531
  Seahorse::Client::Request.new(handlers, context)
3982
4532
  end
3983
4533