aws-sdk-devicefarm 1.3.0 → 1.4.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.
@@ -46,6 +46,19 @@ module Aws::DeviceFarm
46
46
  # execute before it times out. Default value is 60 minutes.
47
47
  # @return [Integer]
48
48
  #
49
+ # @!attribute [rw] skip_app_resign
50
+ # When set to `true`, for private devices, Device Farm will not sign
51
+ # your app again. For public devices, Device Farm always signs your
52
+ # apps again and this parameter has no effect.
53
+ #
54
+ # For more information about how Device Farm re-signs your app(s), see
55
+ # [Do you modify my app?][1] in the *AWS Device Farm FAQs*.
56
+ #
57
+ #
58
+ #
59
+ # [1]: https://aws.amazon.com/device-farm/faq/
60
+ # @return [Boolean]
61
+ #
49
62
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/AccountSettings AWS API Documentation
50
63
  #
51
64
  class AccountSettings < Struct.new(
@@ -55,7 +68,8 @@ module Aws::DeviceFarm
55
68
  :max_job_timeout_minutes,
56
69
  :trial_minutes,
57
70
  :max_slots,
58
- :default_job_timeout_minutes)
71
+ :default_job_timeout_minutes,
72
+ :skip_app_resign)
59
73
  include Aws::Structure
60
74
  end
61
75
 
@@ -225,7 +239,7 @@ module Aws::DeviceFarm
225
239
  # description: "Message",
226
240
  # rules: [ # required
227
241
  # {
228
- # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION
242
+ # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION, INSTANCE_ARN, INSTANCE_LABELS
229
243
  # operator: "EQUALS", # accepts EQUALS, LESS_THAN, GREATER_THAN, IN, NOT_IN, CONTAINS
230
244
  # value: "String",
231
245
  # },
@@ -271,6 +285,65 @@ module Aws::DeviceFarm
271
285
  include Aws::Structure
272
286
  end
273
287
 
288
+ # @note When making an API call, you may pass CreateInstanceProfileRequest
289
+ # data as a hash:
290
+ #
291
+ # {
292
+ # name: "Name", # required
293
+ # description: "Message",
294
+ # package_cleanup: false,
295
+ # exclude_app_packages_from_cleanup: ["String"],
296
+ # reboot_after_use: false,
297
+ # }
298
+ #
299
+ # @!attribute [rw] name
300
+ # The name of your instance profile.
301
+ # @return [String]
302
+ #
303
+ # @!attribute [rw] description
304
+ # The description of your instance profile.
305
+ # @return [String]
306
+ #
307
+ # @!attribute [rw] package_cleanup
308
+ # When set to `true`, Device Farm will remove app packages after a
309
+ # test run. The default value is `false` for private devices.
310
+ # @return [Boolean]
311
+ #
312
+ # @!attribute [rw] exclude_app_packages_from_cleanup
313
+ # An array of strings specifying the list of app packages that should
314
+ # not be cleaned up from the device after a test run is over.
315
+ #
316
+ # The list of packages is only considered if you set `packageCleanup`
317
+ # to `true`.
318
+ # @return [Array<String>]
319
+ #
320
+ # @!attribute [rw] reboot_after_use
321
+ # When set to `true`, Device Farm will reboot the instance after a
322
+ # test run. The default value is `true`.
323
+ # @return [Boolean]
324
+ #
325
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateInstanceProfileRequest AWS API Documentation
326
+ #
327
+ class CreateInstanceProfileRequest < Struct.new(
328
+ :name,
329
+ :description,
330
+ :package_cleanup,
331
+ :exclude_app_packages_from_cleanup,
332
+ :reboot_after_use)
333
+ include Aws::Structure
334
+ end
335
+
336
+ # @!attribute [rw] instance_profile
337
+ # An object containing information about your instance profile.
338
+ # @return [Types::InstanceProfile]
339
+ #
340
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateInstanceProfileResult AWS API Documentation
341
+ #
342
+ class CreateInstanceProfileResult < Struct.new(
343
+ :instance_profile)
344
+ include Aws::Structure
345
+ end
346
+
274
347
  # @note When making an API call, you may pass CreateNetworkProfileRequest
275
348
  # data as a hash:
276
349
  #
@@ -418,8 +491,8 @@ module Aws::DeviceFarm
418
491
  include Aws::Structure
419
492
  end
420
493
 
421
- # Creates the configuration settings for a remote access session,
422
- # including the device model and type.
494
+ # Configuration settings for a remote access session, including billing
495
+ # method.
423
496
  #
424
497
  # @note When making an API call, you may pass CreateRemoteAccessSessionConfiguration
425
498
  # data as a hash:
@@ -429,8 +502,7 @@ module Aws::DeviceFarm
429
502
  # }
430
503
  #
431
504
  # @!attribute [rw] billing_method
432
- # Returns the billing method for purposes of configuring a remote
433
- # access session.
505
+ # The billing method for the remote access session.
434
506
  # @return [String]
435
507
  #
436
508
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSessionConfiguration AWS API Documentation
@@ -448,6 +520,7 @@ module Aws::DeviceFarm
448
520
  # {
449
521
  # project_arn: "AmazonResourceName", # required
450
522
  # device_arn: "AmazonResourceName", # required
523
+ # instance_arn: "AmazonResourceName",
451
524
  # ssh_public_key: "SshPublicKey",
452
525
  # remote_debug_enabled: false,
453
526
  # remote_record_enabled: false,
@@ -458,6 +531,7 @@ module Aws::DeviceFarm
458
531
  # billing_method: "METERED", # accepts METERED, UNMETERED
459
532
  # },
460
533
  # interaction_mode: "INTERACTIVE", # accepts INTERACTIVE, NO_VIDEO, VIDEO_ONLY
534
+ # skip_app_resign: false,
461
535
  # }
462
536
  #
463
537
  # @!attribute [rw] project_arn
@@ -470,6 +544,11 @@ module Aws::DeviceFarm
470
544
  # create a remote access session.
471
545
  # @return [String]
472
546
  #
547
+ # @!attribute [rw] instance_arn
548
+ # The Amazon Resource Name (ARN) of the device instance for which you
549
+ # want to create a remote access session.
550
+ # @return [String]
551
+ #
473
552
  # @!attribute [rw] ssh_public_key
474
553
  # The public key of the `ssh` key pair you want to use for connecting
475
554
  # to remote devices in your remote debugging session. This is only
@@ -523,11 +602,25 @@ module Aws::DeviceFarm
523
602
  # screen in this mode.
524
603
  # @return [String]
525
604
  #
605
+ # @!attribute [rw] skip_app_resign
606
+ # When set to `true`, for private devices, Device Farm will not sign
607
+ # your app again. For public devices, Device Farm always signs your
608
+ # apps again and this parameter has no effect.
609
+ #
610
+ # For more information about how Device Farm re-signs your app(s), see
611
+ # [Do you modify my app?][1] in the *AWS Device Farm FAQs*.
612
+ #
613
+ #
614
+ #
615
+ # [1]: https://aws.amazon.com/device-farm/faq/
616
+ # @return [Boolean]
617
+ #
526
618
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSessionRequest AWS API Documentation
527
619
  #
528
620
  class CreateRemoteAccessSessionRequest < Struct.new(
529
621
  :project_arn,
530
622
  :device_arn,
623
+ :instance_arn,
531
624
  :ssh_public_key,
532
625
  :remote_debug_enabled,
533
626
  :remote_record_enabled,
@@ -535,7 +628,8 @@ module Aws::DeviceFarm
535
628
  :name,
536
629
  :client_id,
537
630
  :configuration,
538
- :interaction_mode)
631
+ :interaction_mode,
632
+ :skip_app_resign)
539
633
  include Aws::Structure
540
634
  end
541
635
 
@@ -723,6 +817,29 @@ module Aws::DeviceFarm
723
817
  #
724
818
  class DeleteDevicePoolResult < Aws::EmptyStructure; end
725
819
 
820
+ # @note When making an API call, you may pass DeleteInstanceProfileRequest
821
+ # data as a hash:
822
+ #
823
+ # {
824
+ # arn: "AmazonResourceName", # required
825
+ # }
826
+ #
827
+ # @!attribute [rw] arn
828
+ # The Amazon Resource Name (ARN) of the instance profile you are
829
+ # requesting to delete.
830
+ # @return [String]
831
+ #
832
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteInstanceProfileRequest AWS API Documentation
833
+ #
834
+ class DeleteInstanceProfileRequest < Struct.new(
835
+ :arn)
836
+ include Aws::Structure
837
+ end
838
+
839
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteInstanceProfileResult AWS API Documentation
840
+ #
841
+ class DeleteInstanceProfileResult < Aws::EmptyStructure; end
842
+
726
843
  # @note When making an API call, you may pass DeleteNetworkProfileRequest
727
844
  # data as a hash:
728
845
  #
@@ -947,6 +1064,10 @@ module Aws::DeviceFarm
947
1064
  # The name of the fleet to which this device belongs.
948
1065
  # @return [String]
949
1066
  #
1067
+ # @!attribute [rw] instances
1068
+ # The instances belonging to this device.
1069
+ # @return [Array<Types::DeviceInstance>]
1070
+ #
950
1071
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Device AWS API Documentation
951
1072
  #
952
1073
  class Device < Struct.new(
@@ -968,7 +1089,46 @@ module Aws::DeviceFarm
968
1089
  :remote_access_enabled,
969
1090
  :remote_debug_enabled,
970
1091
  :fleet_type,
971
- :fleet_name)
1092
+ :fleet_name,
1093
+ :instances)
1094
+ include Aws::Structure
1095
+ end
1096
+
1097
+ # Represents the device instance.
1098
+ #
1099
+ # @!attribute [rw] arn
1100
+ # The Amazon Resource Name (ARN) of the device instance.
1101
+ # @return [String]
1102
+ #
1103
+ # @!attribute [rw] device_arn
1104
+ # The Amazon Resource Name (ARN) of the device.
1105
+ # @return [String]
1106
+ #
1107
+ # @!attribute [rw] labels
1108
+ # An array of strings describing the device instance.
1109
+ # @return [Array<String>]
1110
+ #
1111
+ # @!attribute [rw] status
1112
+ # The status of the device instance. Valid values are listed below.
1113
+ # @return [String]
1114
+ #
1115
+ # @!attribute [rw] udid
1116
+ # Unique device identifier for the device instance.
1117
+ # @return [String]
1118
+ #
1119
+ # @!attribute [rw] instance_profile
1120
+ # A object containing information about the instance profile.
1121
+ # @return [Types::InstanceProfile]
1122
+ #
1123
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeviceInstance AWS API Documentation
1124
+ #
1125
+ class DeviceInstance < Struct.new(
1126
+ :arn,
1127
+ :device_arn,
1128
+ :labels,
1129
+ :status,
1130
+ :udid,
1131
+ :instance_profile)
972
1132
  include Aws::Structure
973
1133
  end
974
1134
 
@@ -1075,6 +1235,7 @@ module Aws::DeviceFarm
1075
1235
  # job_timeout_minutes: 1,
1076
1236
  # accounts_cleanup: false,
1077
1237
  # app_packages_cleanup: false,
1238
+ # skip_app_resign: false,
1078
1239
  # }
1079
1240
  #
1080
1241
  # @!attribute [rw] job_timeout_minutes
@@ -1091,12 +1252,26 @@ module Aws::DeviceFarm
1091
1252
  # otherwise, false.
1092
1253
  # @return [Boolean]
1093
1254
  #
1255
+ # @!attribute [rw] skip_app_resign
1256
+ # When set to `true`, for private devices, Device Farm will not sign
1257
+ # your app again. For public devices, Device Farm always signs your
1258
+ # apps again and this parameter has no effect.
1259
+ #
1260
+ # For more information about how Device Farm re-signs your app(s), see
1261
+ # [Do you modify my app?][1] in the *AWS Device Farm FAQs*.
1262
+ #
1263
+ #
1264
+ #
1265
+ # [1]: https://aws.amazon.com/device-farm/faq/
1266
+ # @return [Boolean]
1267
+ #
1094
1268
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ExecutionConfiguration AWS API Documentation
1095
1269
  #
1096
1270
  class ExecutionConfiguration < Struct.new(
1097
1271
  :job_timeout_minutes,
1098
1272
  :accounts_cleanup,
1099
- :app_packages_cleanup)
1273
+ :app_packages_cleanup,
1274
+ :skip_app_resign)
1100
1275
  include Aws::Structure
1101
1276
  end
1102
1277
 
@@ -1122,6 +1297,36 @@ module Aws::DeviceFarm
1122
1297
  include Aws::Structure
1123
1298
  end
1124
1299
 
1300
+ # @note When making an API call, you may pass GetDeviceInstanceRequest
1301
+ # data as a hash:
1302
+ #
1303
+ # {
1304
+ # arn: "AmazonResourceName", # required
1305
+ # }
1306
+ #
1307
+ # @!attribute [rw] arn
1308
+ # The Amazon Resource Name (ARN) of the instance you're requesting
1309
+ # information about.
1310
+ # @return [String]
1311
+ #
1312
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDeviceInstanceRequest AWS API Documentation
1313
+ #
1314
+ class GetDeviceInstanceRequest < Struct.new(
1315
+ :arn)
1316
+ include Aws::Structure
1317
+ end
1318
+
1319
+ # @!attribute [rw] device_instance
1320
+ # An object containing information about your device instance.
1321
+ # @return [Types::DeviceInstance]
1322
+ #
1323
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDeviceInstanceResult AWS API Documentation
1324
+ #
1325
+ class GetDeviceInstanceResult < Struct.new(
1326
+ :device_instance)
1327
+ include Aws::Structure
1328
+ end
1329
+
1125
1330
  # Represents a request to the get device pool compatibility operation.
1126
1331
  #
1127
1332
  # @note When making an API call, you may pass GetDevicePoolCompatibilityRequest
@@ -1286,6 +1491,35 @@ module Aws::DeviceFarm
1286
1491
  include Aws::Structure
1287
1492
  end
1288
1493
 
1494
+ # @note When making an API call, you may pass GetInstanceProfileRequest
1495
+ # data as a hash:
1496
+ #
1497
+ # {
1498
+ # arn: "AmazonResourceName", # required
1499
+ # }
1500
+ #
1501
+ # @!attribute [rw] arn
1502
+ # The Amazon Resource Name (ARN) of your instance profile.
1503
+ # @return [String]
1504
+ #
1505
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetInstanceProfileRequest AWS API Documentation
1506
+ #
1507
+ class GetInstanceProfileRequest < Struct.new(
1508
+ :arn)
1509
+ include Aws::Structure
1510
+ end
1511
+
1512
+ # @!attribute [rw] instance_profile
1513
+ # An object containing information about your instance profile.
1514
+ # @return [Types::InstanceProfile]
1515
+ #
1516
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetInstanceProfileResult AWS API Documentation
1517
+ #
1518
+ class GetInstanceProfileResult < Struct.new(
1519
+ :instance_profile)
1520
+ include Aws::Structure
1521
+ end
1522
+
1289
1523
  # Represents a request to the get job operation.
1290
1524
  #
1291
1525
  # @note When making an API call, you may pass GetJobRequest
@@ -1677,6 +1911,50 @@ module Aws::DeviceFarm
1677
1911
  include Aws::Structure
1678
1912
  end
1679
1913
 
1914
+ # Represents the instance profile.
1915
+ #
1916
+ # @!attribute [rw] arn
1917
+ # The Amazon Resource Name (ARN) of the instance profile.
1918
+ # @return [String]
1919
+ #
1920
+ # @!attribute [rw] package_cleanup
1921
+ # When set to `true`, Device Farm will remove app packages after a
1922
+ # test run. The default value is `false` for private devices.
1923
+ # @return [Boolean]
1924
+ #
1925
+ # @!attribute [rw] exclude_app_packages_from_cleanup
1926
+ # An array of strings specifying the list of app packages that should
1927
+ # not be cleaned up from the device after a test run is over.
1928
+ #
1929
+ # The list of packages is only considered if you set `packageCleanup`
1930
+ # to `true`.
1931
+ # @return [Array<String>]
1932
+ #
1933
+ # @!attribute [rw] reboot_after_use
1934
+ # When set to `true`, Device Farm will reboot the instance after a
1935
+ # test run. The default value is `true`.
1936
+ # @return [Boolean]
1937
+ #
1938
+ # @!attribute [rw] name
1939
+ # The name of the instance profile.
1940
+ # @return [String]
1941
+ #
1942
+ # @!attribute [rw] description
1943
+ # The description of the instance profile.
1944
+ # @return [String]
1945
+ #
1946
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/InstanceProfile AWS API Documentation
1947
+ #
1948
+ class InstanceProfile < Struct.new(
1949
+ :arn,
1950
+ :package_cleanup,
1951
+ :exclude_app_packages_from_cleanup,
1952
+ :reboot_after_use,
1953
+ :name,
1954
+ :description)
1955
+ include Aws::Structure
1956
+ end
1957
+
1680
1958
  # Represents a device.
1681
1959
  #
1682
1960
  # @!attribute [rw] arn
@@ -1792,6 +2070,10 @@ module Aws::DeviceFarm
1792
2070
  # The device (phone or tablet).
1793
2071
  # @return [Types::Device]
1794
2072
  #
2073
+ # @!attribute [rw] instance_arn
2074
+ # The Amazon Resource Name (ARN) of the instance.
2075
+ # @return [String]
2076
+ #
1795
2077
  # @!attribute [rw] device_minutes
1796
2078
  # Represents the total (metered or unmetered) minutes used by the job.
1797
2079
  # @return [Types::DeviceMinutes]
@@ -1810,6 +2092,7 @@ module Aws::DeviceFarm
1810
2092
  :counters,
1811
2093
  :message,
1812
2094
  :device,
2095
+ :instance_arn,
1813
2096
  :device_minutes)
1814
2097
  include Aws::Structure
1815
2098
  end
@@ -1877,6 +2160,50 @@ module Aws::DeviceFarm
1877
2160
  include Aws::Structure
1878
2161
  end
1879
2162
 
2163
+ # @note When making an API call, you may pass ListDeviceInstancesRequest
2164
+ # data as a hash:
2165
+ #
2166
+ # {
2167
+ # max_results: 1,
2168
+ # next_token: "PaginationToken",
2169
+ # }
2170
+ #
2171
+ # @!attribute [rw] max_results
2172
+ # An integer specifying the maximum number of items you want to return
2173
+ # in the API response.
2174
+ # @return [Integer]
2175
+ #
2176
+ # @!attribute [rw] next_token
2177
+ # An identifier that was returned from the previous call to this
2178
+ # operation, which can be used to return the next set of items in the
2179
+ # list.
2180
+ # @return [String]
2181
+ #
2182
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDeviceInstancesRequest AWS API Documentation
2183
+ #
2184
+ class ListDeviceInstancesRequest < Struct.new(
2185
+ :max_results,
2186
+ :next_token)
2187
+ include Aws::Structure
2188
+ end
2189
+
2190
+ # @!attribute [rw] device_instances
2191
+ # An object containing information about your device instances.
2192
+ # @return [Array<Types::DeviceInstance>]
2193
+ #
2194
+ # @!attribute [rw] next_token
2195
+ # An identifier that can be used in the next call to this operation to
2196
+ # return the next set of items in the list.
2197
+ # @return [String]
2198
+ #
2199
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDeviceInstancesResult AWS API Documentation
2200
+ #
2201
+ class ListDeviceInstancesResult < Struct.new(
2202
+ :device_instances,
2203
+ :next_token)
2204
+ include Aws::Structure
2205
+ end
2206
+
1880
2207
  # Represents the result of a list device pools request.
1881
2208
  #
1882
2209
  # @note When making an API call, you may pass ListDevicePoolsRequest
@@ -1989,6 +2316,50 @@ module Aws::DeviceFarm
1989
2316
  include Aws::Structure
1990
2317
  end
1991
2318
 
2319
+ # @note When making an API call, you may pass ListInstanceProfilesRequest
2320
+ # data as a hash:
2321
+ #
2322
+ # {
2323
+ # max_results: 1,
2324
+ # next_token: "PaginationToken",
2325
+ # }
2326
+ #
2327
+ # @!attribute [rw] max_results
2328
+ # An integer specifying the maximum number of items you want to return
2329
+ # in the API response.
2330
+ # @return [Integer]
2331
+ #
2332
+ # @!attribute [rw] next_token
2333
+ # An identifier that was returned from the previous call to this
2334
+ # operation, which can be used to return the next set of items in the
2335
+ # list.
2336
+ # @return [String]
2337
+ #
2338
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListInstanceProfilesRequest AWS API Documentation
2339
+ #
2340
+ class ListInstanceProfilesRequest < Struct.new(
2341
+ :max_results,
2342
+ :next_token)
2343
+ include Aws::Structure
2344
+ end
2345
+
2346
+ # @!attribute [rw] instance_profiles
2347
+ # An object containing information about your instance profiles.
2348
+ # @return [Array<Types::InstanceProfile>]
2349
+ #
2350
+ # @!attribute [rw] next_token
2351
+ # An identifier that can be used in the next call to this operation to
2352
+ # return the next set of items in the list.
2353
+ # @return [String]
2354
+ #
2355
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListInstanceProfilesResult AWS API Documentation
2356
+ #
2357
+ class ListInstanceProfilesResult < Struct.new(
2358
+ :instance_profiles,
2359
+ :next_token)
2360
+ include Aws::Structure
2361
+ end
2362
+
1992
2363
  # Represents a request to the list jobs operation.
1993
2364
  #
1994
2365
  # @note When making an API call, you may pass ListJobsRequest
@@ -3152,6 +3523,10 @@ module Aws::DeviceFarm
3152
3523
  # The device (phone or tablet) used in the remote access session.
3153
3524
  # @return [Types::Device]
3154
3525
  #
3526
+ # @!attribute [rw] instance_arn
3527
+ # The Amazon Resource Name (ARN) of the instance.
3528
+ # @return [String]
3529
+ #
3155
3530
  # @!attribute [rw] remote_debug_enabled
3156
3531
  # This flag is set to `true` if remote debugging is enabled for the
3157
3532
  # remote access session.
@@ -3220,6 +3595,19 @@ module Aws::DeviceFarm
3220
3595
  # screen in this mode.
3221
3596
  # @return [String]
3222
3597
  #
3598
+ # @!attribute [rw] skip_app_resign
3599
+ # When set to `true`, for private devices, Device Farm will not sign
3600
+ # your app again. For public devices, Device Farm always signs your
3601
+ # apps again and this parameter has no effect.
3602
+ #
3603
+ # For more information about how Device Farm re-signs your app(s), see
3604
+ # [Do you modify my app?][1] in the *AWS Device Farm FAQs*.
3605
+ #
3606
+ #
3607
+ #
3608
+ # [1]: https://aws.amazon.com/device-farm/faq/
3609
+ # @return [Boolean]
3610
+ #
3223
3611
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RemoteAccessSession AWS API Documentation
3224
3612
  #
3225
3613
  class RemoteAccessSession < Struct.new(
@@ -3232,6 +3620,7 @@ module Aws::DeviceFarm
3232
3620
  :started,
3233
3621
  :stopped,
3234
3622
  :device,
3623
+ :instance_arn,
3235
3624
  :remote_debug_enabled,
3236
3625
  :remote_record_enabled,
3237
3626
  :remote_record_app_arn,
@@ -3241,7 +3630,8 @@ module Aws::DeviceFarm
3241
3630
  :device_minutes,
3242
3631
  :endpoint,
3243
3632
  :device_udid,
3244
- :interaction_mode)
3633
+ :interaction_mode,
3634
+ :skip_app_resign)
3245
3635
  include Aws::Structure
3246
3636
  end
3247
3637
 
@@ -3309,7 +3699,7 @@ module Aws::DeviceFarm
3309
3699
  # data as a hash:
3310
3700
  #
3311
3701
  # {
3312
- # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION
3702
+ # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION, INSTANCE_ARN, INSTANCE_LABELS
3313
3703
  # operator: "EQUALS", # accepts EQUALS, LESS_THAN, GREATER_THAN, IN, NOT_IN, CONTAINS
3314
3704
  # value: "String",
3315
3705
  # }
@@ -3332,6 +3722,11 @@ module Aws::DeviceFarm
3332
3722
  # access.
3333
3723
  #
3334
3724
  # * APPIUM\_VERSION: The Appium version for the test.
3725
+ #
3726
+ # * INSTANCE\_ARN: The Amazon Resource Name (ARN) of the device
3727
+ # instance.
3728
+ #
3729
+ # * INSTANCE\_LABELS: The label of the device instance.
3335
3730
  # @return [String]
3336
3731
  #
3337
3732
  # @!attribute [rw] operator
@@ -3561,10 +3956,22 @@ module Aws::DeviceFarm
3561
3956
  # @return [Types::CustomerArtifactPaths]
3562
3957
  #
3563
3958
  # @!attribute [rw] web_url
3564
- # A pre-signed Amazon S3 URL that can be used with a corresponding GET
3565
- # request to download the symbol file for the run.
3959
+ # The Device Farm console URL for the recording of the run.
3566
3960
  # @return [String]
3567
3961
  #
3962
+ # @!attribute [rw] skip_app_resign
3963
+ # When set to `true`, for private devices, Device Farm will not sign
3964
+ # your app again. For public devices, Device Farm always signs your
3965
+ # apps again and this parameter has no effect.
3966
+ #
3967
+ # For more information about how Device Farm re-signs your app(s), see
3968
+ # [Do you modify my app?][1] in the *AWS Device Farm FAQs*.
3969
+ #
3970
+ #
3971
+ #
3972
+ # [1]: https://aws.amazon.com/device-farm/faq/
3973
+ # @return [Boolean]
3974
+ #
3568
3975
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Run AWS API Documentation
3569
3976
  #
3570
3977
  class Run < Struct.new(
@@ -3595,7 +4002,8 @@ module Aws::DeviceFarm
3595
4002
  :radios,
3596
4003
  :location,
3597
4004
  :customer_artifact_paths,
3598
- :web_url)
4005
+ :web_url,
4006
+ :skip_app_resign)
3599
4007
  include Aws::Structure
3600
4008
  end
3601
4009
 
@@ -3789,6 +4197,7 @@ module Aws::DeviceFarm
3789
4197
  # job_timeout_minutes: 1,
3790
4198
  # accounts_cleanup: false,
3791
4199
  # app_packages_cleanup: false,
4200
+ # skip_app_resign: false,
3792
4201
  # },
3793
4202
  # }
3794
4203
  #
@@ -4372,6 +4781,49 @@ module Aws::DeviceFarm
4372
4781
  include Aws::Structure
4373
4782
  end
4374
4783
 
4784
+ # @note When making an API call, you may pass UpdateDeviceInstanceRequest
4785
+ # data as a hash:
4786
+ #
4787
+ # {
4788
+ # arn: "AmazonResourceName", # required
4789
+ # profile_arn: "AmazonResourceName",
4790
+ # labels: ["String"],
4791
+ # }
4792
+ #
4793
+ # @!attribute [rw] arn
4794
+ # The Amazon Resource Name (ARN) of the device instance.
4795
+ # @return [String]
4796
+ #
4797
+ # @!attribute [rw] profile_arn
4798
+ # The Amazon Resource Name (ARN) of the profile that you want to
4799
+ # associate with the device instance.
4800
+ # @return [String]
4801
+ #
4802
+ # @!attribute [rw] labels
4803
+ # An array of strings that you want to associate with the device
4804
+ # instance.
4805
+ # @return [Array<String>]
4806
+ #
4807
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateDeviceInstanceRequest AWS API Documentation
4808
+ #
4809
+ class UpdateDeviceInstanceRequest < Struct.new(
4810
+ :arn,
4811
+ :profile_arn,
4812
+ :labels)
4813
+ include Aws::Structure
4814
+ end
4815
+
4816
+ # @!attribute [rw] device_instance
4817
+ # An object containing information about your device instance.
4818
+ # @return [Types::DeviceInstance]
4819
+ #
4820
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateDeviceInstanceResult AWS API Documentation
4821
+ #
4822
+ class UpdateDeviceInstanceResult < Struct.new(
4823
+ :device_instance)
4824
+ include Aws::Structure
4825
+ end
4826
+
4375
4827
  # Represents a request to the update device pool operation.
4376
4828
  #
4377
4829
  # @note When making an API call, you may pass UpdateDevicePoolRequest
@@ -4383,7 +4835,7 @@ module Aws::DeviceFarm
4383
4835
  # description: "Message",
4384
4836
  # rules: [
4385
4837
  # {
4386
- # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION
4838
+ # attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION, INSTANCE_ARN, INSTANCE_LABELS
4387
4839
  # operator: "EQUALS", # accepts EQUALS, LESS_THAN, GREATER_THAN, IN, NOT_IN, CONTAINS
4388
4840
  # value: "String",
4389
4841
  # },
@@ -4433,6 +4885,71 @@ module Aws::DeviceFarm
4433
4885
  include Aws::Structure
4434
4886
  end
4435
4887
 
4888
+ # @note When making an API call, you may pass UpdateInstanceProfileRequest
4889
+ # data as a hash:
4890
+ #
4891
+ # {
4892
+ # arn: "AmazonResourceName", # required
4893
+ # name: "Name",
4894
+ # description: "Message",
4895
+ # package_cleanup: false,
4896
+ # exclude_app_packages_from_cleanup: ["String"],
4897
+ # reboot_after_use: false,
4898
+ # }
4899
+ #
4900
+ # @!attribute [rw] arn
4901
+ # The Amazon Resource Name (ARN) of the instance profile.
4902
+ # @return [String]
4903
+ #
4904
+ # @!attribute [rw] name
4905
+ # The updated name for your instance profile.
4906
+ # @return [String]
4907
+ #
4908
+ # @!attribute [rw] description
4909
+ # The updated description for your instance profile.
4910
+ # @return [String]
4911
+ #
4912
+ # @!attribute [rw] package_cleanup
4913
+ # The updated choice for whether you want to specify package cleanup.
4914
+ # The default value is `false` for private devices.
4915
+ # @return [Boolean]
4916
+ #
4917
+ # @!attribute [rw] exclude_app_packages_from_cleanup
4918
+ # An array of strings specifying the list of app packages that should
4919
+ # not be cleaned up from the device after a test run is over.
4920
+ #
4921
+ # The list of packages is only considered if you set `packageCleanup`
4922
+ # to `true`.
4923
+ # @return [Array<String>]
4924
+ #
4925
+ # @!attribute [rw] reboot_after_use
4926
+ # The updated choice for whether you want to reboot the device after
4927
+ # use. The default value is `true`.
4928
+ # @return [Boolean]
4929
+ #
4930
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateInstanceProfileRequest AWS API Documentation
4931
+ #
4932
+ class UpdateInstanceProfileRequest < Struct.new(
4933
+ :arn,
4934
+ :name,
4935
+ :description,
4936
+ :package_cleanup,
4937
+ :exclude_app_packages_from_cleanup,
4938
+ :reboot_after_use)
4939
+ include Aws::Structure
4940
+ end
4941
+
4942
+ # @!attribute [rw] instance_profile
4943
+ # An object containing information about your instance profile.
4944
+ # @return [Types::InstanceProfile]
4945
+ #
4946
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateInstanceProfileResult AWS API Documentation
4947
+ #
4948
+ class UpdateInstanceProfileResult < Struct.new(
4949
+ :instance_profile)
4950
+ include Aws::Structure
4951
+ end
4952
+
4436
4953
  # @note When making an API call, you may pass UpdateNetworkProfileRequest
4437
4954
  # data as a hash:
4438
4955
  #