aws-sdk-devicefarm 1.96.0 → 1.98.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: e66f1c0999be41d7357f3c0b3fb2dc24d9818575610f4813f64a3757663facd9
4
- data.tar.gz: 375e18ec072c55b0a802a0fe28cf065cf3fc5ce401bb0b9f8002ad68d134b584
3
+ metadata.gz: 81b449dbe880e3dd168d68c5517d1e98600057010a84d388bcf5e5d78fe3ce96
4
+ data.tar.gz: fd9121551032663b8e145463699509bcb5d8b4379d147a34c02f6f4b9f74e6b6
5
5
  SHA512:
6
- metadata.gz: 2070c5d3f8a3cbd539cae39e91d5e24c602b8efd5eb4decadb9718b45f65b29a02b8c0fbb3d7ccff28c88ac46eced3be8de453325426c12fadb116dd668c596c
7
- data.tar.gz: ab31f0c49454503c2fd66928fc17d1021209b6a0859d7da833413d4b75fa9d6ca056b37e5e9819f32facf748c48e9801568804058fc10f29f965ea0b4e62c753
6
+ metadata.gz: 8010c377913c33d64424e2d0b5aafba1ef76eea6d2e1eb9c9ae09272c095244b6f163438bf37bcd8ca8ec473af027ff043962d57d7498ff7cd2b5b7d9d28732c
7
+ data.tar.gz: 23e88d4cf5a0cbaafbdd38201721efb0217593f4b26aaf9ac96120270cdaaa2382c5f4df802948a35c427f833cd35f7e50cfaacd3e44529532fb511aab3a3644
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.98.0 (2025-11-20)
5
+ ------------------
6
+
7
+ * Feature - Add support for environment variables and an IAM execution role.
8
+
9
+ 1.97.0 (2025-11-17)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for interacting with devices during a remote access session using the remoteDriverEndpoint interface
13
+
4
14
  1.96.0 (2025-10-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.96.0
1
+ 1.98.0
@@ -729,6 +729,22 @@ module Aws::DeviceFarm
729
729
  # @option params [Types::VpcConfig] :vpc_config
730
730
  # The VPC security groups and subnets that are attached to a project.
731
731
  #
732
+ # @option params [Array<Types::EnvironmentVariable>] :environment_variables
733
+ # A set of environment variables which are used by default for all runs
734
+ # in the project. These environment variables are applied to the test
735
+ # run during the execution of a test spec file.
736
+ #
737
+ # For more information about using test spec files, please see [Custom
738
+ # test environments ][1] in *AWS Device Farm.*
739
+ #
740
+ #
741
+ #
742
+ # [1]: https://docs.aws.amazon.com/devicefarm/latest/developerguide/custom-test-environments.html
743
+ #
744
+ # @option params [String] :execution_role_arn
745
+ # An IAM role to be assumed by the test host for all runs in the
746
+ # project.
747
+ #
732
748
  # @return [Types::CreateProjectResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
733
749
  #
734
750
  # * {Types::CreateProjectResult#project #project} => Types::Project
@@ -761,6 +777,13 @@ module Aws::DeviceFarm
761
777
  # subnet_ids: ["SubnetId"], # required
762
778
  # vpc_id: "NonEmptyString", # required
763
779
  # },
780
+ # environment_variables: [
781
+ # {
782
+ # name: "EnvironmentVariableName", # required
783
+ # value: "EnvironmentVariableValue", # required
784
+ # },
785
+ # ],
786
+ # execution_role_arn: "AmazonRoleResourceName",
764
787
  # })
765
788
  #
766
789
  # @example Response structure
@@ -774,6 +797,10 @@ module Aws::DeviceFarm
774
797
  # resp.project.vpc_config.subnet_ids #=> Array
775
798
  # resp.project.vpc_config.subnet_ids[0] #=> String
776
799
  # resp.project.vpc_config.vpc_id #=> String
800
+ # resp.project.environment_variables #=> Array
801
+ # resp.project.environment_variables[0].name #=> String
802
+ # resp.project.environment_variables[0].value #=> String
803
+ # resp.project.execution_role_arn #=> String
777
804
  #
778
805
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateProject AWS API Documentation
779
806
  #
@@ -802,67 +829,15 @@ module Aws::DeviceFarm
802
829
  # The Amazon Resource Name (ARN) of the device instance for which you
803
830
  # want to create a remote access session.
804
831
  #
805
- # @option params [String] :ssh_public_key
806
- # Ignored. The public key of the `ssh` key pair you want to use for
807
- # connecting to remote devices in your remote debugging session. This
808
- # key is required only if `remoteDebugEnabled` is set to `true`.
809
- #
810
- # Remote debugging is [no longer supported][1].
811
- #
812
- #
813
- #
814
- # [1]: https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html
815
- #
816
- # @option params [Boolean] :remote_debug_enabled
817
- # Set to `true` if you want to access devices remotely for debugging in
818
- # your remote access session.
819
- #
820
- # Remote debugging is [no longer supported][1].
821
- #
822
- #
823
- #
824
- # [1]: https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html
825
- #
826
- # @option params [Boolean] :remote_record_enabled
827
- # Set to `true` to enable remote recording for the remote access
828
- # session.
829
- #
830
- # @option params [String] :remote_record_app_arn
831
- # The Amazon Resource Name (ARN) for the app to be recorded in the
832
- # remote access session.
833
- #
834
832
  # @option params [String] :name
835
833
  # The name of the remote access session to create.
836
834
  #
837
- # @option params [String] :client_id
838
- # Unique identifier for the client. If you want access to multiple
839
- # devices on the same client, you should pass the same `clientId` value
840
- # in each call to `CreateRemoteAccessSession`. This identifier is
841
- # required only if `remoteDebugEnabled` is set to `true`.
842
- #
843
- # Remote debugging is [no longer supported][1].
844
- #
845
- #
846
- #
847
- # [1]: https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html
848
- #
849
835
  # @option params [Types::CreateRemoteAccessSessionConfiguration] :configuration
850
836
  # The configuration information for the remote access session request.
851
837
  #
852
838
  # @option params [String] :interaction_mode
853
- # The interaction mode of the remote access session. Valid values are:
854
- #
855
- # * INTERACTIVE: You can interact with the iOS device by viewing,
856
- # touching, and rotating the screen. You cannot run XCUITest
857
- # framework-based tests in this mode.
858
- #
859
- # * NO\_VIDEO: You are connected to the device, but cannot interact with
860
- # it or view the screen. This mode has the fastest test execution
861
- # speed. You can run XCUITest framework-based tests in this mode.
862
- #
863
- # * VIDEO\_ONLY: You can view the screen, but cannot touch or rotate it.
864
- # You can run XCUITest framework-based tests and watch the screen in
865
- # this mode.
839
+ # The interaction mode of the remote access session. Changing the
840
+ # interactive mode of remote access sessions is no longer available.
866
841
  #
867
842
  # @option params [Boolean] :skip_app_resign
868
843
  # When set to `true`, for private devices, Device Farm does not sign
@@ -907,12 +882,7 @@ module Aws::DeviceFarm
907
882
  # device_arn: "AmazonResourceName", # required
908
883
  # app_arn: "AmazonResourceName",
909
884
  # instance_arn: "AmazonResourceName",
910
- # ssh_public_key: "SshPublicKey",
911
- # remote_debug_enabled: false,
912
- # remote_record_enabled: false,
913
- # remote_record_app_arn: "AmazonResourceName",
914
885
  # name: "Name",
915
- # client_id: "ClientId",
916
886
  # configuration: {
917
887
  # auxiliary_apps: ["AmazonResourceName"],
918
888
  # billing_method: "METERED", # accepts METERED, UNMETERED
@@ -974,11 +944,6 @@ module Aws::DeviceFarm
974
944
  # resp.remote_access_session.device.instances[0].instance_profile.description #=> String
975
945
  # resp.remote_access_session.device.availability #=> String, one of "TEMPORARY_NOT_AVAILABLE", "BUSY", "AVAILABLE", "HIGHLY_AVAILABLE"
976
946
  # resp.remote_access_session.instance_arn #=> String
977
- # resp.remote_access_session.remote_debug_enabled #=> Boolean
978
- # resp.remote_access_session.remote_record_enabled #=> Boolean
979
- # resp.remote_access_session.remote_record_app_arn #=> String
980
- # resp.remote_access_session.host_address #=> String
981
- # resp.remote_access_session.client_id #=> String
982
947
  # resp.remote_access_session.billing_method #=> String, one of "METERED", "UNMETERED"
983
948
  # resp.remote_access_session.device_minutes.total #=> Float
984
949
  # resp.remote_access_session.device_minutes.metered #=> Float
@@ -995,6 +960,8 @@ module Aws::DeviceFarm
995
960
  # resp.remote_access_session.device_proxy.host #=> String
996
961
  # resp.remote_access_session.device_proxy.port #=> Integer
997
962
  # resp.remote_access_session.app_upload #=> String
963
+ # resp.remote_access_session.endpoints.remote_driver_endpoint #=> String
964
+ # resp.remote_access_session.endpoints.interactive_endpoint #=> String
998
965
  #
999
966
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSession AWS API Documentation
1000
967
  #
@@ -1361,9 +1328,10 @@ module Aws::DeviceFarm
1361
1328
  req.send_request(options)
1362
1329
  end
1363
1330
 
1364
- # Deletes an AWS Device Farm project, given the project ARN.
1331
+ # Deletes an AWS Device Farm project, given the project ARN. You cannot
1332
+ # delete a project if it has an active run or session.
1365
1333
  #
1366
- # Deleting this resource does not stop an in-progress run.
1334
+ # You cannot undo this operation.
1367
1335
  #
1368
1336
  # @option params [required, String] :arn
1369
1337
  # Represents the Amazon Resource Name (ARN) of the Device Farm project
@@ -1399,7 +1367,10 @@ module Aws::DeviceFarm
1399
1367
  req.send_request(options)
1400
1368
  end
1401
1369
 
1402
- # Deletes a completed remote access session and its results.
1370
+ # Deletes a completed remote access session and its results. You cannot
1371
+ # delete a remote access session if it is still active.
1372
+ #
1373
+ # You cannot undo this operation.
1403
1374
  #
1404
1375
  # @option params [required, String] :arn
1405
1376
  # The Amazon Resource Name (ARN) of the session for which you want to
@@ -1435,9 +1406,10 @@ module Aws::DeviceFarm
1435
1406
  req.send_request(options)
1436
1407
  end
1437
1408
 
1438
- # Deletes the run, given the run ARN.
1409
+ # Deletes the run, given the run ARN. You cannot delete a run if it is
1410
+ # still active.
1439
1411
  #
1440
- # Deleting this resource does not stop an in-progress run.
1412
+ # You cannot undo this operation.
1441
1413
  #
1442
1414
  # @option params [required, String] :arn
1443
1415
  # The Amazon Resource Name (ARN) for the run to delete.
@@ -1473,13 +1445,10 @@ module Aws::DeviceFarm
1473
1445
  end
1474
1446
 
1475
1447
  # Deletes a Selenium testing project and all content generated under it.
1448
+ # You cannot delete a project if it has active sessions.
1476
1449
  #
1477
1450
  # You cannot undo this operation.
1478
1451
  #
1479
- # <note markdown="1"> You cannot delete a project if it has active sessions.
1480
- #
1481
- # </note>
1482
- #
1483
1452
  # @option params [required, String] :project_arn
1484
1453
  # The ARN of the project to delete, from CreateTestGridProject or
1485
1454
  # ListTestGridProjects.
@@ -1918,6 +1887,13 @@ module Aws::DeviceFarm
1918
1887
  # },
1919
1888
  # auxiliary_apps: ["AmazonResourceName"],
1920
1889
  # billing_method: "METERED", # accepts METERED, UNMETERED
1890
+ # environment_variables: [
1891
+ # {
1892
+ # name: "EnvironmentVariableName", # required
1893
+ # value: "EnvironmentVariableValue", # required
1894
+ # },
1895
+ # ],
1896
+ # execution_role_arn: "AmazonRoleResourceName",
1921
1897
  # },
1922
1898
  # project_arn: "AmazonResourceName",
1923
1899
  # })
@@ -2336,6 +2312,10 @@ module Aws::DeviceFarm
2336
2312
  # resp.project.vpc_config.subnet_ids #=> Array
2337
2313
  # resp.project.vpc_config.subnet_ids[0] #=> String
2338
2314
  # resp.project.vpc_config.vpc_id #=> String
2315
+ # resp.project.environment_variables #=> Array
2316
+ # resp.project.environment_variables[0].name #=> String
2317
+ # resp.project.environment_variables[0].value #=> String
2318
+ # resp.project.execution_role_arn #=> String
2339
2319
  #
2340
2320
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetProject AWS API Documentation
2341
2321
  #
@@ -2425,11 +2405,6 @@ module Aws::DeviceFarm
2425
2405
  # resp.remote_access_session.device.instances[0].instance_profile.description #=> String
2426
2406
  # resp.remote_access_session.device.availability #=> String, one of "TEMPORARY_NOT_AVAILABLE", "BUSY", "AVAILABLE", "HIGHLY_AVAILABLE"
2427
2407
  # resp.remote_access_session.instance_arn #=> String
2428
- # resp.remote_access_session.remote_debug_enabled #=> Boolean
2429
- # resp.remote_access_session.remote_record_enabled #=> Boolean
2430
- # resp.remote_access_session.remote_record_app_arn #=> String
2431
- # resp.remote_access_session.host_address #=> String
2432
- # resp.remote_access_session.client_id #=> String
2433
2408
  # resp.remote_access_session.billing_method #=> String, one of "METERED", "UNMETERED"
2434
2409
  # resp.remote_access_session.device_minutes.total #=> Float
2435
2410
  # resp.remote_access_session.device_minutes.metered #=> Float
@@ -2446,6 +2421,8 @@ module Aws::DeviceFarm
2446
2421
  # resp.remote_access_session.device_proxy.host #=> String
2447
2422
  # resp.remote_access_session.device_proxy.port #=> Integer
2448
2423
  # resp.remote_access_session.app_upload #=> String
2424
+ # resp.remote_access_session.endpoints.remote_driver_endpoint #=> String
2425
+ # resp.remote_access_session.endpoints.interactive_endpoint #=> String
2449
2426
  #
2450
2427
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRemoteAccessSession AWS API Documentation
2451
2428
  #
@@ -2583,6 +2560,10 @@ module Aws::DeviceFarm
2583
2560
  # resp.run.vpc_config.subnet_ids #=> Array
2584
2561
  # resp.run.vpc_config.subnet_ids[0] #=> String
2585
2562
  # resp.run.vpc_config.vpc_id #=> String
2563
+ # resp.run.execution_role_arn #=> String
2564
+ # resp.run.environment_variables #=> Array
2565
+ # resp.run.environment_variables[0].name #=> String
2566
+ # resp.run.environment_variables[0].value #=> String
2586
2567
  #
2587
2568
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRun AWS API Documentation
2588
2569
  #
@@ -3903,6 +3884,10 @@ module Aws::DeviceFarm
3903
3884
  # resp.projects[0].vpc_config.subnet_ids #=> Array
3904
3885
  # resp.projects[0].vpc_config.subnet_ids[0] #=> String
3905
3886
  # resp.projects[0].vpc_config.vpc_id #=> String
3887
+ # resp.projects[0].environment_variables #=> Array
3888
+ # resp.projects[0].environment_variables[0].name #=> String
3889
+ # resp.projects[0].environment_variables[0].value #=> String
3890
+ # resp.projects[0].execution_role_arn #=> String
3906
3891
  # resp.next_token #=> String
3907
3892
  #
3908
3893
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListProjects AWS API Documentation
@@ -4002,11 +3987,6 @@ module Aws::DeviceFarm
4002
3987
  # resp.remote_access_sessions[0].device.instances[0].instance_profile.description #=> String
4003
3988
  # resp.remote_access_sessions[0].device.availability #=> String, one of "TEMPORARY_NOT_AVAILABLE", "BUSY", "AVAILABLE", "HIGHLY_AVAILABLE"
4004
3989
  # resp.remote_access_sessions[0].instance_arn #=> String
4005
- # resp.remote_access_sessions[0].remote_debug_enabled #=> Boolean
4006
- # resp.remote_access_sessions[0].remote_record_enabled #=> Boolean
4007
- # resp.remote_access_sessions[0].remote_record_app_arn #=> String
4008
- # resp.remote_access_sessions[0].host_address #=> String
4009
- # resp.remote_access_sessions[0].client_id #=> String
4010
3990
  # resp.remote_access_sessions[0].billing_method #=> String, one of "METERED", "UNMETERED"
4011
3991
  # resp.remote_access_sessions[0].device_minutes.total #=> Float
4012
3992
  # resp.remote_access_sessions[0].device_minutes.metered #=> Float
@@ -4023,6 +4003,8 @@ module Aws::DeviceFarm
4023
4003
  # resp.remote_access_sessions[0].device_proxy.host #=> String
4024
4004
  # resp.remote_access_sessions[0].device_proxy.port #=> Integer
4025
4005
  # resp.remote_access_sessions[0].app_upload #=> String
4006
+ # resp.remote_access_sessions[0].endpoints.remote_driver_endpoint #=> String
4007
+ # resp.remote_access_sessions[0].endpoints.interactive_endpoint #=> String
4026
4008
  # resp.next_token #=> String
4027
4009
  #
4028
4010
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRemoteAccessSessions AWS API Documentation
@@ -4175,6 +4157,10 @@ module Aws::DeviceFarm
4175
4157
  # resp.runs[0].vpc_config.subnet_ids #=> Array
4176
4158
  # resp.runs[0].vpc_config.subnet_ids[0] #=> String
4177
4159
  # resp.runs[0].vpc_config.vpc_id #=> String
4160
+ # resp.runs[0].execution_role_arn #=> String
4161
+ # resp.runs[0].environment_variables #=> Array
4162
+ # resp.runs[0].environment_variables[0].name #=> String
4163
+ # resp.runs[0].environment_variables[0].value #=> String
4178
4164
  # resp.next_token #=> String
4179
4165
  #
4180
4166
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRuns AWS API Documentation
@@ -4321,9 +4307,9 @@ module Aws::DeviceFarm
4321
4307
  # @option params [required, String] :resource_arn
4322
4308
  # The Amazon Resource Name (ARN) of the resource or resources for which
4323
4309
  # to list tags. You can associate tags with the following Device Farm
4324
- # resources: `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
4325
- # `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`, `DEVICE`, and
4326
- # `VPCE_CONFIGURATION`.
4310
+ # resources: `PROJECT`, `TESTGRID_PROJECT`, `RUN`, `NETWORK_PROFILE`,
4311
+ # `INSTANCE_PROFILE`, `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`,
4312
+ # `DEVICE`, and `VPCE_CONFIGURATION`.
4327
4313
  #
4328
4314
  # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4329
4315
  #
@@ -5191,6 +5177,13 @@ module Aws::DeviceFarm
5191
5177
  # },
5192
5178
  # auxiliary_apps: ["AmazonResourceName"],
5193
5179
  # billing_method: "METERED", # accepts METERED, UNMETERED
5180
+ # environment_variables: [
5181
+ # {
5182
+ # name: "EnvironmentVariableName", # required
5183
+ # value: "EnvironmentVariableValue", # required
5184
+ # },
5185
+ # ],
5186
+ # execution_role_arn: "AmazonRoleResourceName",
5194
5187
  # },
5195
5188
  # execution_configuration: {
5196
5189
  # job_timeout_minutes: 1,
@@ -5275,6 +5268,10 @@ module Aws::DeviceFarm
5275
5268
  # resp.run.vpc_config.subnet_ids #=> Array
5276
5269
  # resp.run.vpc_config.subnet_ids[0] #=> String
5277
5270
  # resp.run.vpc_config.vpc_id #=> String
5271
+ # resp.run.execution_role_arn #=> String
5272
+ # resp.run.environment_variables #=> Array
5273
+ # resp.run.environment_variables[0].name #=> String
5274
+ # resp.run.environment_variables[0].value #=> String
5278
5275
  #
5279
5276
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRun AWS API Documentation
5280
5277
  #
@@ -5440,11 +5437,6 @@ module Aws::DeviceFarm
5440
5437
  # resp.remote_access_session.device.instances[0].instance_profile.description #=> String
5441
5438
  # resp.remote_access_session.device.availability #=> String, one of "TEMPORARY_NOT_AVAILABLE", "BUSY", "AVAILABLE", "HIGHLY_AVAILABLE"
5442
5439
  # resp.remote_access_session.instance_arn #=> String
5443
- # resp.remote_access_session.remote_debug_enabled #=> Boolean
5444
- # resp.remote_access_session.remote_record_enabled #=> Boolean
5445
- # resp.remote_access_session.remote_record_app_arn #=> String
5446
- # resp.remote_access_session.host_address #=> String
5447
- # resp.remote_access_session.client_id #=> String
5448
5440
  # resp.remote_access_session.billing_method #=> String, one of "METERED", "UNMETERED"
5449
5441
  # resp.remote_access_session.device_minutes.total #=> Float
5450
5442
  # resp.remote_access_session.device_minutes.metered #=> Float
@@ -5461,6 +5453,8 @@ module Aws::DeviceFarm
5461
5453
  # resp.remote_access_session.device_proxy.host #=> String
5462
5454
  # resp.remote_access_session.device_proxy.port #=> Integer
5463
5455
  # resp.remote_access_session.app_upload #=> String
5456
+ # resp.remote_access_session.endpoints.remote_driver_endpoint #=> String
5457
+ # resp.remote_access_session.endpoints.interactive_endpoint #=> String
5464
5458
  #
5465
5459
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRemoteAccessSession AWS API Documentation
5466
5460
  #
@@ -5581,6 +5575,10 @@ module Aws::DeviceFarm
5581
5575
  # resp.run.vpc_config.subnet_ids #=> Array
5582
5576
  # resp.run.vpc_config.subnet_ids[0] #=> String
5583
5577
  # resp.run.vpc_config.vpc_id #=> String
5578
+ # resp.run.execution_role_arn #=> String
5579
+ # resp.run.environment_variables #=> Array
5580
+ # resp.run.environment_variables[0].name #=> String
5581
+ # resp.run.environment_variables[0].value #=> String
5584
5582
  #
5585
5583
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRun AWS API Documentation
5586
5584
  #
@@ -5599,9 +5597,9 @@ module Aws::DeviceFarm
5599
5597
  # @option params [required, String] :resource_arn
5600
5598
  # The Amazon Resource Name (ARN) of the resource or resources to which
5601
5599
  # to add tags. You can associate tags with the following Device Farm
5602
- # resources: `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
5603
- # `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`, `DEVICE`, and
5604
- # `VPCE_CONFIGURATION`.
5600
+ # resources: `PROJECT`, `TESTGRID_PROJECT`, `RUN`, `NETWORK_PROFILE`,
5601
+ # `INSTANCE_PROFILE`, `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`,
5602
+ # `DEVICE`, and `VPCE_CONFIGURATION`.
5605
5603
  #
5606
5604
  # @option params [required, Array<Types::Tag>] :tags
5607
5605
  # The tags to add to the resource. A tag is an array of key-value pairs.
@@ -5636,9 +5634,9 @@ module Aws::DeviceFarm
5636
5634
  # @option params [required, String] :resource_arn
5637
5635
  # The Amazon Resource Name (ARN) of the resource or resources from which
5638
5636
  # to delete tags. You can associate tags with the following Device Farm
5639
- # resources: `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
5640
- # `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`, `DEVICE`, and
5641
- # `VPCE_CONFIGURATION`.
5637
+ # resources: `PROJECT`, `TESTGRID_PROJECT`, `RUN`, `NETWORK_PROFILE`,
5638
+ # `INSTANCE_PROFILE`, `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`,
5639
+ # `DEVICE`, and `VPCE_CONFIGURATION`.
5642
5640
  #
5643
5641
  # @option params [required, Array<String>] :tag_keys
5644
5642
  # The keys of the tags to be removed.
@@ -5993,6 +5991,22 @@ module Aws::DeviceFarm
5993
5991
  # @option params [Types::VpcConfig] :vpc_config
5994
5992
  # The VPC security groups and subnets that are attached to a project.
5995
5993
  #
5994
+ # @option params [Array<Types::EnvironmentVariable>] :environment_variables
5995
+ # A set of environment variables which are used by default for all runs
5996
+ # in the project. These environment variables are applied to the test
5997
+ # run during the execution of a test spec file.
5998
+ #
5999
+ # For more information about using test spec files, please see [Custom
6000
+ # test environments ][1] in *AWS Device Farm.*
6001
+ #
6002
+ #
6003
+ #
6004
+ # [1]: https://docs.aws.amazon.com/devicefarm/latest/developerguide/custom-test-environments.html
6005
+ #
6006
+ # @option params [String] :execution_role_arn
6007
+ # An IAM role to be assumed by the test host for all runs in the
6008
+ # project.
6009
+ #
5996
6010
  # @return [Types::UpdateProjectResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5997
6011
  #
5998
6012
  # * {Types::UpdateProjectResult#project #project} => Types::Project
@@ -6027,6 +6041,13 @@ module Aws::DeviceFarm
6027
6041
  # subnet_ids: ["SubnetId"], # required
6028
6042
  # vpc_id: "NonEmptyString", # required
6029
6043
  # },
6044
+ # environment_variables: [
6045
+ # {
6046
+ # name: "EnvironmentVariableName", # required
6047
+ # value: "EnvironmentVariableValue", # required
6048
+ # },
6049
+ # ],
6050
+ # execution_role_arn: "AmazonRoleResourceName",
6030
6051
  # })
6031
6052
  #
6032
6053
  # @example Response structure
@@ -6040,6 +6061,10 @@ module Aws::DeviceFarm
6040
6061
  # resp.project.vpc_config.subnet_ids #=> Array
6041
6062
  # resp.project.vpc_config.subnet_ids[0] #=> String
6042
6063
  # resp.project.vpc_config.vpc_id #=> String
6064
+ # resp.project.environment_variables #=> Array
6065
+ # resp.project.environment_variables[0].name #=> String
6066
+ # resp.project.environment_variables[0].value #=> String
6067
+ # resp.project.execution_role_arn #=> String
6043
6068
  #
6044
6069
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateProject AWS API Documentation
6045
6070
  #
@@ -6226,7 +6251,7 @@ module Aws::DeviceFarm
6226
6251
  tracer: tracer
6227
6252
  )
6228
6253
  context[:gem_name] = 'aws-sdk-devicefarm'
6229
- context[:gem_version] = '1.96.0'
6254
+ context[:gem_version] = '1.98.0'
6230
6255
  Seahorse::Client::Request.new(handlers, context)
6231
6256
  end
6232
6257
 
@@ -19,6 +19,7 @@ module Aws::DeviceFarm
19
19
  AccountsCleanup = Shapes::BooleanShape.new(name: 'AccountsCleanup')
20
20
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
21
21
  AmazonResourceNames = Shapes::ListShape.new(name: 'AmazonResourceNames')
22
+ AmazonRoleResourceName = Shapes::StringShape.new(name: 'AmazonRoleResourceName')
22
23
  AndroidPaths = Shapes::ListShape.new(name: 'AndroidPaths')
23
24
  AppPackagesCleanup = Shapes::BooleanShape.new(name: 'AppPackagesCleanup')
24
25
  ArgumentException = Shapes::StructureShape.new(name: 'ArgumentException')
@@ -31,7 +32,6 @@ module Aws::DeviceFarm
31
32
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
32
33
  CPU = Shapes::StructureShape.new(name: 'CPU')
33
34
  CannotDeleteException = Shapes::StructureShape.new(name: 'CannotDeleteException')
34
- ClientId = Shapes::StringShape.new(name: 'ClientId')
35
35
  ContentType = Shapes::StringShape.new(name: 'ContentType')
36
36
  Counters = Shapes::StructureShape.new(name: 'Counters')
37
37
  CreateDevicePoolRequest = Shapes::StructureShape.new(name: 'CreateDevicePoolRequest')
@@ -100,6 +100,10 @@ module Aws::DeviceFarm
100
100
  DeviceSelectionResult = Shapes::StructureShape.new(name: 'DeviceSelectionResult')
101
101
  Devices = Shapes::ListShape.new(name: 'Devices')
102
102
  Double = Shapes::FloatShape.new(name: 'Double')
103
+ EnvironmentVariable = Shapes::StructureShape.new(name: 'EnvironmentVariable')
104
+ EnvironmentVariableName = Shapes::StringShape.new(name: 'EnvironmentVariableName')
105
+ EnvironmentVariableValue = Shapes::StringShape.new(name: 'EnvironmentVariableValue')
106
+ EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
103
107
  ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
104
108
  ExecutionConfiguration = Shapes::StructureShape.new(name: 'ExecutionConfiguration')
105
109
  ExecutionResult = Shapes::StringShape.new(name: 'ExecutionResult')
@@ -142,7 +146,6 @@ module Aws::DeviceFarm
142
146
  GetUploadResult = Shapes::StructureShape.new(name: 'GetUploadResult')
143
147
  GetVPCEConfigurationRequest = Shapes::StructureShape.new(name: 'GetVPCEConfigurationRequest')
144
148
  GetVPCEConfigurationResult = Shapes::StructureShape.new(name: 'GetVPCEConfigurationResult')
145
- HostAddress = Shapes::StringShape.new(name: 'HostAddress')
146
149
  IdempotencyException = Shapes::StructureShape.new(name: 'IdempotencyException')
147
150
  IncompatibilityMessage = Shapes::StructureShape.new(name: 'IncompatibilityMessage')
148
151
  IncompatibilityMessages = Shapes::ListShape.new(name: 'IncompatibilityMessages')
@@ -250,6 +253,7 @@ module Aws::DeviceFarm
250
253
  RecurringCharge = Shapes::StructureShape.new(name: 'RecurringCharge')
251
254
  RecurringChargeFrequency = Shapes::StringShape.new(name: 'RecurringChargeFrequency')
252
255
  RecurringCharges = Shapes::ListShape.new(name: 'RecurringCharges')
256
+ RemoteAccessEndpoints = Shapes::StructureShape.new(name: 'RemoteAccessEndpoints')
253
257
  RemoteAccessSession = Shapes::StructureShape.new(name: 'RemoteAccessSession')
254
258
  RemoteAccessSessions = Shapes::ListShape.new(name: 'RemoteAccessSessions')
255
259
  RenewOfferingRequest = Shapes::StructureShape.new(name: 'RenewOfferingRequest')
@@ -277,7 +281,6 @@ module Aws::DeviceFarm
277
281
  ServiceAccountException = Shapes::StructureShape.new(name: 'ServiceAccountException')
278
282
  ServiceDnsName = Shapes::StringShape.new(name: 'ServiceDnsName')
279
283
  SkipAppResign = Shapes::BooleanShape.new(name: 'SkipAppResign')
280
- SshPublicKey = Shapes::StringShape.new(name: 'SshPublicKey')
281
284
  StopJobRequest = Shapes::StructureShape.new(name: 'StopJobRequest')
282
285
  StopJobResult = Shapes::StructureShape.new(name: 'StopJobResult')
283
286
  StopRemoteAccessSessionRequest = Shapes::StructureShape.new(name: 'StopRemoteAccessSessionRequest')
@@ -440,6 +443,8 @@ module Aws::DeviceFarm
440
443
  CreateProjectRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
441
444
  CreateProjectRequest.add_member(:default_job_timeout_minutes, Shapes::ShapeRef.new(shape: JobTimeoutMinutes, location_name: "defaultJobTimeoutMinutes"))
442
445
  CreateProjectRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
446
+ CreateProjectRequest.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
447
+ CreateProjectRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: AmazonRoleResourceName, location_name: "executionRoleArn"))
443
448
  CreateProjectRequest.struct_class = Types::CreateProjectRequest
444
449
 
445
450
  CreateProjectResult.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
@@ -455,14 +460,9 @@ module Aws::DeviceFarm
455
460
  CreateRemoteAccessSessionRequest.add_member(:device_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "deviceArn"))
456
461
  CreateRemoteAccessSessionRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "appArn"))
457
462
  CreateRemoteAccessSessionRequest.add_member(:instance_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "instanceArn"))
458
- CreateRemoteAccessSessionRequest.add_member(:ssh_public_key, Shapes::ShapeRef.new(shape: SshPublicKey, location_name: "sshPublicKey"))
459
- CreateRemoteAccessSessionRequest.add_member(:remote_debug_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "remoteDebugEnabled"))
460
- CreateRemoteAccessSessionRequest.add_member(:remote_record_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "remoteRecordEnabled"))
461
- CreateRemoteAccessSessionRequest.add_member(:remote_record_app_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "remoteRecordAppArn"))
462
463
  CreateRemoteAccessSessionRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
463
- CreateRemoteAccessSessionRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientId, location_name: "clientId"))
464
464
  CreateRemoteAccessSessionRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: CreateRemoteAccessSessionConfiguration, location_name: "configuration"))
465
- CreateRemoteAccessSessionRequest.add_member(:interaction_mode, Shapes::ShapeRef.new(shape: InteractionMode, location_name: "interactionMode"))
465
+ CreateRemoteAccessSessionRequest.add_member(:interaction_mode, Shapes::ShapeRef.new(shape: InteractionMode, deprecated: true, location_name: "interactionMode", metadata: {"deprecatedMessage" => "Changing the interactive mode of Remote Access sessions is no longer available.", "deprecatedSince" => "2019-09-09"}))
466
466
  CreateRemoteAccessSessionRequest.add_member(:skip_app_resign, Shapes::ShapeRef.new(shape: Boolean, location_name: "skipAppResign"))
467
467
  CreateRemoteAccessSessionRequest.struct_class = Types::CreateRemoteAccessSessionRequest
468
468
 
@@ -569,7 +569,7 @@ module Aws::DeviceFarm
569
569
  Device.add_member(:carrier, Shapes::ShapeRef.new(shape: String, location_name: "carrier"))
570
570
  Device.add_member(:radio, Shapes::ShapeRef.new(shape: String, location_name: "radio"))
571
571
  Device.add_member(:remote_access_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "remoteAccessEnabled"))
572
- Device.add_member(:remote_debug_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "remoteDebugEnabled"))
572
+ Device.add_member(:remote_debug_enabled, Shapes::ShapeRef.new(shape: Boolean, deprecated: true, location_name: "remoteDebugEnabled", metadata: {"deprecatedMessage" => "Direct Device Access is no longer available.", "deprecatedSince" => "2019-09-09"}))
573
573
  Device.add_member(:fleet_type, Shapes::ShapeRef.new(shape: String, location_name: "fleetType"))
574
574
  Device.add_member(:fleet_name, Shapes::ShapeRef.new(shape: String, location_name: "fleetName"))
575
575
  Device.add_member(:instances, Shapes::ShapeRef.new(shape: DeviceInstances, location_name: "instances"))
@@ -634,6 +634,12 @@ module Aws::DeviceFarm
634
634
 
635
635
  Devices.member = Shapes::ShapeRef.new(shape: Device)
636
636
 
637
+ EnvironmentVariable.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentVariableName, required: true, location_name: "name"))
638
+ EnvironmentVariable.add_member(:value, Shapes::ShapeRef.new(shape: EnvironmentVariableValue, required: true, location_name: "value"))
639
+ EnvironmentVariable.struct_class = Types::EnvironmentVariable
640
+
641
+ EnvironmentVariables.member = Shapes::ShapeRef.new(shape: EnvironmentVariable)
642
+
637
643
  ExecutionConfiguration.add_member(:job_timeout_minutes, Shapes::ShapeRef.new(shape: JobTimeoutMinutes, location_name: "jobTimeoutMinutes"))
638
644
  ExecutionConfiguration.add_member(:accounts_cleanup, Shapes::ShapeRef.new(shape: AccountsCleanup, location_name: "accountsCleanup"))
639
645
  ExecutionConfiguration.add_member(:app_packages_cleanup, Shapes::ShapeRef.new(shape: AppPackagesCleanup, location_name: "appPackagesCleanup"))
@@ -1105,6 +1111,8 @@ module Aws::DeviceFarm
1105
1111
  Project.add_member(:default_job_timeout_minutes, Shapes::ShapeRef.new(shape: JobTimeoutMinutes, location_name: "defaultJobTimeoutMinutes"))
1106
1112
  Project.add_member(:created, Shapes::ShapeRef.new(shape: DateTime, location_name: "created"))
1107
1113
  Project.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
1114
+ Project.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
1115
+ Project.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: AmazonRoleResourceName, location_name: "executionRoleArn"))
1108
1116
  Project.struct_class = Types::Project
1109
1117
 
1110
1118
  Projects.member = Shapes::ShapeRef.new(shape: Project)
@@ -1132,6 +1140,10 @@ module Aws::DeviceFarm
1132
1140
 
1133
1141
  RecurringCharges.member = Shapes::ShapeRef.new(shape: RecurringCharge)
1134
1142
 
1143
+ RemoteAccessEndpoints.add_member(:remote_driver_endpoint, Shapes::ShapeRef.new(shape: SensitiveURL, location_name: "remoteDriverEndpoint"))
1144
+ RemoteAccessEndpoints.add_member(:interactive_endpoint, Shapes::ShapeRef.new(shape: SensitiveURL, location_name: "interactiveEndpoint"))
1145
+ RemoteAccessEndpoints.struct_class = Types::RemoteAccessEndpoints
1146
+
1135
1147
  RemoteAccessSession.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "arn"))
1136
1148
  RemoteAccessSession.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
1137
1149
  RemoteAccessSession.add_member(:created, Shapes::ShapeRef.new(shape: DateTime, location_name: "created"))
@@ -1142,20 +1154,16 @@ module Aws::DeviceFarm
1142
1154
  RemoteAccessSession.add_member(:stopped, Shapes::ShapeRef.new(shape: DateTime, location_name: "stopped"))
1143
1155
  RemoteAccessSession.add_member(:device, Shapes::ShapeRef.new(shape: Device, location_name: "device"))
1144
1156
  RemoteAccessSession.add_member(:instance_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "instanceArn"))
1145
- RemoteAccessSession.add_member(:remote_debug_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "remoteDebugEnabled"))
1146
- RemoteAccessSession.add_member(:remote_record_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "remoteRecordEnabled"))
1147
- RemoteAccessSession.add_member(:remote_record_app_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "remoteRecordAppArn"))
1148
- RemoteAccessSession.add_member(:host_address, Shapes::ShapeRef.new(shape: HostAddress, location_name: "hostAddress"))
1149
- RemoteAccessSession.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientId, location_name: "clientId"))
1150
1157
  RemoteAccessSession.add_member(:billing_method, Shapes::ShapeRef.new(shape: BillingMethod, location_name: "billingMethod"))
1151
1158
  RemoteAccessSession.add_member(:device_minutes, Shapes::ShapeRef.new(shape: DeviceMinutes, location_name: "deviceMinutes"))
1152
- RemoteAccessSession.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "endpoint"))
1159
+ RemoteAccessSession.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, deprecated: true, location_name: "endpoint", metadata: {"deprecatedMessage" => "This field is deprecated, and is replaced by the new endpoints.interactiveEndpoint field.", "deprecatedSince" => "2025-11-17"}))
1153
1160
  RemoteAccessSession.add_member(:device_udid, Shapes::ShapeRef.new(shape: String, location_name: "deviceUdid"))
1154
- RemoteAccessSession.add_member(:interaction_mode, Shapes::ShapeRef.new(shape: InteractionMode, location_name: "interactionMode"))
1161
+ RemoteAccessSession.add_member(:interaction_mode, Shapes::ShapeRef.new(shape: InteractionMode, deprecated: true, location_name: "interactionMode", metadata: {"deprecatedMessage" => "Changing the interactive mode of Remote Access sessions is no longer available.", "deprecatedSince" => "2019-09-09"}))
1155
1162
  RemoteAccessSession.add_member(:skip_app_resign, Shapes::ShapeRef.new(shape: SkipAppResign, location_name: "skipAppResign"))
1156
1163
  RemoteAccessSession.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
1157
1164
  RemoteAccessSession.add_member(:device_proxy, Shapes::ShapeRef.new(shape: DeviceProxy, location_name: "deviceProxy"))
1158
1165
  RemoteAccessSession.add_member(:app_upload, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "appUpload"))
1166
+ RemoteAccessSession.add_member(:endpoints, Shapes::ShapeRef.new(shape: RemoteAccessEndpoints, location_name: "endpoints"))
1159
1167
  RemoteAccessSession.struct_class = Types::RemoteAccessSession
1160
1168
 
1161
1169
  RemoteAccessSessions.member = Shapes::ShapeRef.new(shape: RemoteAccessSession)
@@ -1211,6 +1219,8 @@ module Aws::DeviceFarm
1211
1219
  Run.add_member(:test_spec_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "testSpecArn"))
1212
1220
  Run.add_member(:device_selection_result, Shapes::ShapeRef.new(shape: DeviceSelectionResult, location_name: "deviceSelectionResult"))
1213
1221
  Run.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
1222
+ Run.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: AmazonRoleResourceName, location_name: "executionRoleArn"))
1223
+ Run.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
1214
1224
  Run.struct_class = Types::Run
1215
1225
 
1216
1226
  Runs.member = Shapes::ShapeRef.new(shape: Run)
@@ -1232,6 +1242,8 @@ module Aws::DeviceFarm
1232
1242
  ScheduleRunConfiguration.add_member(:radios, Shapes::ShapeRef.new(shape: Radios, location_name: "radios"))
1233
1243
  ScheduleRunConfiguration.add_member(:auxiliary_apps, Shapes::ShapeRef.new(shape: AmazonResourceNames, location_name: "auxiliaryApps"))
1234
1244
  ScheduleRunConfiguration.add_member(:billing_method, Shapes::ShapeRef.new(shape: BillingMethod, location_name: "billingMethod"))
1245
+ ScheduleRunConfiguration.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
1246
+ ScheduleRunConfiguration.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: AmazonRoleResourceName, location_name: "executionRoleArn"))
1235
1247
  ScheduleRunConfiguration.struct_class = Types::ScheduleRunConfiguration
1236
1248
 
1237
1249
  ScheduleRunRequest.add_member(:project_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "projectArn"))
@@ -1448,6 +1460,8 @@ module Aws::DeviceFarm
1448
1460
  UpdateProjectRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
1449
1461
  UpdateProjectRequest.add_member(:default_job_timeout_minutes, Shapes::ShapeRef.new(shape: JobTimeoutMinutes, location_name: "defaultJobTimeoutMinutes"))
1450
1462
  UpdateProjectRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
1463
+ UpdateProjectRequest.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
1464
+ UpdateProjectRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: AmazonRoleResourceName, location_name: "executionRoleArn"))
1451
1465
  UpdateProjectRequest.struct_class = Types::UpdateProjectRequest
1452
1466
 
1453
1467
  UpdateProjectResult.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
@@ -464,12 +464,32 @@ module Aws::DeviceFarm
464
464
  # The VPC security groups and subnets that are attached to a project.
465
465
  # @return [Types::VpcConfig]
466
466
  #
467
+ # @!attribute [rw] environment_variables
468
+ # A set of environment variables which are used by default for all
469
+ # runs in the project. These environment variables are applied to the
470
+ # test run during the execution of a test spec file.
471
+ #
472
+ # For more information about using test spec files, please see [Custom
473
+ # test environments ][1] in *AWS Device Farm.*
474
+ #
475
+ #
476
+ #
477
+ # [1]: https://docs.aws.amazon.com/devicefarm/latest/developerguide/custom-test-environments.html
478
+ # @return [Array<Types::EnvironmentVariable>]
479
+ #
480
+ # @!attribute [rw] execution_role_arn
481
+ # An IAM role to be assumed by the test host for all runs in the
482
+ # project.
483
+ # @return [String]
484
+ #
467
485
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateProjectRequest AWS API Documentation
468
486
  #
469
487
  class CreateProjectRequest < Struct.new(
470
488
  :name,
471
489
  :default_job_timeout_minutes,
472
- :vpc_config)
490
+ :vpc_config,
491
+ :environment_variables,
492
+ :execution_role_arn)
473
493
  SENSITIVE = []
474
494
  include Aws::Structure
475
495
  end
@@ -542,75 +562,17 @@ module Aws::DeviceFarm
542
562
  # want to create a remote access session.
543
563
  # @return [String]
544
564
  #
545
- # @!attribute [rw] ssh_public_key
546
- # Ignored. The public key of the `ssh` key pair you want to use for
547
- # connecting to remote devices in your remote debugging session. This
548
- # key is required only if `remoteDebugEnabled` is set to `true`.
549
- #
550
- # Remote debugging is [no longer supported][1].
551
- #
552
- #
553
- #
554
- # [1]: https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html
555
- # @return [String]
556
- #
557
- # @!attribute [rw] remote_debug_enabled
558
- # Set to `true` if you want to access devices remotely for debugging
559
- # in your remote access session.
560
- #
561
- # Remote debugging is [no longer supported][1].
562
- #
563
- #
564
- #
565
- # [1]: https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html
566
- # @return [Boolean]
567
- #
568
- # @!attribute [rw] remote_record_enabled
569
- # Set to `true` to enable remote recording for the remote access
570
- # session.
571
- # @return [Boolean]
572
- #
573
- # @!attribute [rw] remote_record_app_arn
574
- # The Amazon Resource Name (ARN) for the app to be recorded in the
575
- # remote access session.
576
- # @return [String]
577
- #
578
565
  # @!attribute [rw] name
579
566
  # The name of the remote access session to create.
580
567
  # @return [String]
581
568
  #
582
- # @!attribute [rw] client_id
583
- # Unique identifier for the client. If you want access to multiple
584
- # devices on the same client, you should pass the same `clientId`
585
- # value in each call to `CreateRemoteAccessSession`. This identifier
586
- # is required only if `remoteDebugEnabled` is set to `true`.
587
- #
588
- # Remote debugging is [no longer supported][1].
589
- #
590
- #
591
- #
592
- # [1]: https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html
593
- # @return [String]
594
- #
595
569
  # @!attribute [rw] configuration
596
570
  # The configuration information for the remote access session request.
597
571
  # @return [Types::CreateRemoteAccessSessionConfiguration]
598
572
  #
599
573
  # @!attribute [rw] interaction_mode
600
- # The interaction mode of the remote access session. Valid values are:
601
- #
602
- # * INTERACTIVE: You can interact with the iOS device by viewing,
603
- # touching, and rotating the screen. You cannot run XCUITest
604
- # framework-based tests in this mode.
605
- #
606
- # * NO\_VIDEO: You are connected to the device, but cannot interact
607
- # with it or view the screen. This mode has the fastest test
608
- # execution speed. You can run XCUITest framework-based tests in
609
- # this mode.
610
- #
611
- # * VIDEO\_ONLY: You can view the screen, but cannot touch or rotate
612
- # it. You can run XCUITest framework-based tests and watch the
613
- # screen in this mode.
574
+ # The interaction mode of the remote access session. Changing the
575
+ # interactive mode of remote access sessions is no longer available.
614
576
  # @return [String]
615
577
  #
616
578
  # @!attribute [rw] skip_app_resign
@@ -633,12 +595,7 @@ module Aws::DeviceFarm
633
595
  :device_arn,
634
596
  :app_arn,
635
597
  :instance_arn,
636
- :ssh_public_key,
637
- :remote_debug_enabled,
638
- :remote_record_enabled,
639
- :remote_record_app_arn,
640
598
  :name,
641
- :client_id,
642
599
  :configuration,
643
600
  :interaction_mode,
644
601
  :skip_app_resign)
@@ -1664,6 +1621,25 @@ module Aws::DeviceFarm
1664
1621
  include Aws::Structure
1665
1622
  end
1666
1623
 
1624
+ # Information about an environment variable for a project or a run.
1625
+ #
1626
+ # @!attribute [rw] name
1627
+ # The name of the environment variable.
1628
+ # @return [String]
1629
+ #
1630
+ # @!attribute [rw] value
1631
+ # The value of the environment variable.
1632
+ # @return [String]
1633
+ #
1634
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/EnvironmentVariable AWS API Documentation
1635
+ #
1636
+ class EnvironmentVariable < Struct.new(
1637
+ :name,
1638
+ :value)
1639
+ SENSITIVE = []
1640
+ include Aws::Structure
1641
+ end
1642
+
1667
1643
  # Represents configuration information about a test run, such as the
1668
1644
  # execution timeout (in minutes).
1669
1645
  #
@@ -3329,9 +3305,9 @@ module Aws::DeviceFarm
3329
3305
  # @!attribute [rw] resource_arn
3330
3306
  # The Amazon Resource Name (ARN) of the resource or resources for
3331
3307
  # which to list tags. You can associate tags with the following Device
3332
- # Farm resources: `PROJECT`, `RUN`, `NETWORK_PROFILE`,
3333
- # `INSTANCE_PROFILE`, `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`,
3334
- # `DEVICE`, and `VPCE_CONFIGURATION`.
3308
+ # Farm resources: `PROJECT`, `TESTGRID_PROJECT`, `RUN`,
3309
+ # `NETWORK_PROFILE`, `INSTANCE_PROFILE`, `DEVICE_INSTANCE`, `SESSION`,
3310
+ # `DEVICE_POOL`, `DEVICE`, and `VPCE_CONFIGURATION`.
3335
3311
  # @return [String]
3336
3312
  #
3337
3313
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTagsForResourceRequest AWS API Documentation
@@ -4160,6 +4136,14 @@ module Aws::DeviceFarm
4160
4136
  # The VPC security groups and subnets that are attached to a project.
4161
4137
  # @return [Types::VpcConfig]
4162
4138
  #
4139
+ # @!attribute [rw] environment_variables
4140
+ # Environment variables associated with the project.
4141
+ # @return [Array<Types::EnvironmentVariable>]
4142
+ #
4143
+ # @!attribute [rw] execution_role_arn
4144
+ # The IAM execution role associated with the project.
4145
+ # @return [String]
4146
+ #
4163
4147
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Project AWS API Documentation
4164
4148
  #
4165
4149
  class Project < Struct.new(
@@ -4167,7 +4151,9 @@ module Aws::DeviceFarm
4167
4151
  :name,
4168
4152
  :default_job_timeout_minutes,
4169
4153
  :created,
4170
- :vpc_config)
4154
+ :vpc_config,
4155
+ :environment_variables,
4156
+ :execution_role_arn)
4171
4157
  SENSITIVE = []
4172
4158
  include Aws::Structure
4173
4159
  end
@@ -4263,6 +4249,28 @@ module Aws::DeviceFarm
4263
4249
  include Aws::Structure
4264
4250
  end
4265
4251
 
4252
+ # Represents the remote endpoints for viewing and controlling a device
4253
+ # during a remote access session.
4254
+ #
4255
+ # @!attribute [rw] remote_driver_endpoint
4256
+ # URL for controlling the device using WebDriver-compliant clients,
4257
+ # like Appium, during the remote access session.
4258
+ # @return [String]
4259
+ #
4260
+ # @!attribute [rw] interactive_endpoint
4261
+ # URL for viewing and interacting with the device during the remote
4262
+ # access session.
4263
+ # @return [String]
4264
+ #
4265
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RemoteAccessEndpoints AWS API Documentation
4266
+ #
4267
+ class RemoteAccessEndpoints < Struct.new(
4268
+ :remote_driver_endpoint,
4269
+ :interactive_endpoint)
4270
+ SENSITIVE = [:remote_driver_endpoint, :interactive_endpoint]
4271
+ include Aws::Structure
4272
+ end
4273
+
4266
4274
  # Represents information about the remote access session.
4267
4275
  #
4268
4276
  # @!attribute [rw] arn
@@ -4339,50 +4347,6 @@ module Aws::DeviceFarm
4339
4347
  # The ARN of the instance.
4340
4348
  # @return [String]
4341
4349
  #
4342
- # @!attribute [rw] remote_debug_enabled
4343
- # This flag is set to `true` if remote debugging is enabled for the
4344
- # remote access session.
4345
- #
4346
- # Remote debugging is [no longer supported][1].
4347
- #
4348
- #
4349
- #
4350
- # [1]: https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html
4351
- # @return [Boolean]
4352
- #
4353
- # @!attribute [rw] remote_record_enabled
4354
- # This flag is set to `true` if remote recording is enabled for the
4355
- # remote access session.
4356
- # @return [Boolean]
4357
- #
4358
- # @!attribute [rw] remote_record_app_arn
4359
- # The ARN for the app to be recorded in the remote access session.
4360
- # @return [String]
4361
- #
4362
- # @!attribute [rw] host_address
4363
- # IP address of the EC2 host where you need to connect to remotely
4364
- # debug devices. Only returned if remote debugging is enabled for the
4365
- # remote access session.
4366
- #
4367
- # Remote debugging is [no longer supported][1].
4368
- #
4369
- #
4370
- #
4371
- # [1]: https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html
4372
- # @return [String]
4373
- #
4374
- # @!attribute [rw] client_id
4375
- # Unique identifier of your client for the remote access session. Only
4376
- # returned if remote debugging is enabled for the remote access
4377
- # session.
4378
- #
4379
- # Remote debugging is [no longer supported][1].
4380
- #
4381
- #
4382
- #
4383
- # [1]: https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html
4384
- # @return [String]
4385
- #
4386
4350
  # @!attribute [rw] billing_method
4387
4351
  # The billing method of the remote access session. Possible values
4388
4352
  # include `METERED` or `UNMETERED`. For more information about metered
@@ -4399,7 +4363,9 @@ module Aws::DeviceFarm
4399
4363
  # @return [Types::DeviceMinutes]
4400
4364
  #
4401
4365
  # @!attribute [rw] endpoint
4402
- # The endpoint for the remote access sesssion.
4366
+ # The endpoint for the remote access session. This field is
4367
+ # deprecated, and is replaced by the new
4368
+ # `endpoints.interactiveEndpoint` field.
4403
4369
  # @return [String]
4404
4370
  #
4405
4371
  # @!attribute [rw] device_udid
@@ -4414,20 +4380,8 @@ module Aws::DeviceFarm
4414
4380
  # @return [String]
4415
4381
  #
4416
4382
  # @!attribute [rw] interaction_mode
4417
- # The interaction mode of the remote access session. Valid values are:
4418
- #
4419
- # * INTERACTIVE: You can interact with the iOS device by viewing,
4420
- # touching, and rotating the screen. You cannot run XCUITest
4421
- # framework-based tests in this mode.
4422
- #
4423
- # * NO\_VIDEO: You are connected to the device, but cannot interact
4424
- # with it or view the screen. This mode has the fastest test
4425
- # execution speed. You can run XCUITest framework-based tests in
4426
- # this mode.
4427
- #
4428
- # * VIDEO\_ONLY: You can view the screen, but cannot touch or rotate
4429
- # it. You can run XCUITest framework-based tests and watch the
4430
- # screen in this mode.
4383
+ # The interaction mode of the remote access session. Changing the
4384
+ # interactive mode of remote access sessions is no longer available.
4431
4385
  # @return [String]
4432
4386
  #
4433
4387
  # @!attribute [rw] skip_app_resign
@@ -4455,6 +4409,11 @@ module Aws::DeviceFarm
4455
4409
  # The ARN for the app to be installed onto your device.
4456
4410
  # @return [String]
4457
4411
  #
4412
+ # @!attribute [rw] endpoints
4413
+ # Represents the remote endpoints for viewing and controlling a device
4414
+ # during a remote access session.
4415
+ # @return [Types::RemoteAccessEndpoints]
4416
+ #
4458
4417
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RemoteAccessSession AWS API Documentation
4459
4418
  #
4460
4419
  class RemoteAccessSession < Struct.new(
@@ -4468,11 +4427,6 @@ module Aws::DeviceFarm
4468
4427
  :stopped,
4469
4428
  :device,
4470
4429
  :instance_arn,
4471
- :remote_debug_enabled,
4472
- :remote_record_enabled,
4473
- :remote_record_app_arn,
4474
- :host_address,
4475
- :client_id,
4476
4430
  :billing_method,
4477
4431
  :device_minutes,
4478
4432
  :endpoint,
@@ -4481,7 +4435,8 @@ module Aws::DeviceFarm
4481
4435
  :skip_app_resign,
4482
4436
  :vpc_config,
4483
4437
  :device_proxy,
4484
- :app_upload)
4438
+ :app_upload,
4439
+ :endpoints)
4485
4440
  SENSITIVE = []
4486
4441
  include Aws::Structure
4487
4442
  end
@@ -4894,6 +4849,14 @@ module Aws::DeviceFarm
4894
4849
  # The VPC security groups and subnets that are attached to a project.
4895
4850
  # @return [Types::VpcConfig]
4896
4851
  #
4852
+ # @!attribute [rw] execution_role_arn
4853
+ # The IAM role associated with the run.
4854
+ # @return [String]
4855
+ #
4856
+ # @!attribute [rw] environment_variables
4857
+ # Environment variables associated with the run.
4858
+ # @return [Array<Types::EnvironmentVariable>]
4859
+ #
4897
4860
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Run AWS API Documentation
4898
4861
  #
4899
4862
  class Run < Struct.new(
@@ -4929,7 +4892,9 @@ module Aws::DeviceFarm
4929
4892
  :skip_app_resign,
4930
4893
  :test_spec_arn,
4931
4894
  :device_selection_result,
4932
- :vpc_config)
4895
+ :vpc_config,
4896
+ :execution_role_arn,
4897
+ :environment_variables)
4933
4898
  SENSITIVE = []
4934
4899
  include Aws::Structure
4935
4900
  end
@@ -5056,6 +5021,14 @@ module Aws::DeviceFarm
5056
5021
  # </note>
5057
5022
  # @return [String]
5058
5023
  #
5024
+ # @!attribute [rw] environment_variables
5025
+ # Environment variables associated with the run.
5026
+ # @return [Array<Types::EnvironmentVariable>]
5027
+ #
5028
+ # @!attribute [rw] execution_role_arn
5029
+ # An IAM role to be assumed by the test host for the run.
5030
+ # @return [String]
5031
+ #
5059
5032
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRunConfiguration AWS API Documentation
5060
5033
  #
5061
5034
  class ScheduleRunConfiguration < Struct.new(
@@ -5068,7 +5041,9 @@ module Aws::DeviceFarm
5068
5041
  :customer_artifact_paths,
5069
5042
  :radios,
5070
5043
  :auxiliary_apps,
5071
- :billing_method)
5044
+ :billing_method,
5045
+ :environment_variables,
5046
+ :execution_role_arn)
5072
5047
  SENSITIVE = []
5073
5048
  include Aws::Structure
5074
5049
  end
@@ -5560,9 +5535,9 @@ module Aws::DeviceFarm
5560
5535
  # @!attribute [rw] resource_arn
5561
5536
  # The Amazon Resource Name (ARN) of the resource or resources to which
5562
5537
  # to add tags. You can associate tags with the following Device Farm
5563
- # resources: `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
5564
- # `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`, `DEVICE`, and
5565
- # `VPCE_CONFIGURATION`.
5538
+ # resources: `PROJECT`, `TESTGRID_PROJECT`, `RUN`, `NETWORK_PROFILE`,
5539
+ # `INSTANCE_PROFILE`, `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`,
5540
+ # `DEVICE`, and `VPCE_CONFIGURATION`.
5566
5541
  # @return [String]
5567
5542
  #
5568
5543
  # @!attribute [rw] tags
@@ -5941,9 +5916,9 @@ module Aws::DeviceFarm
5941
5916
  # @!attribute [rw] resource_arn
5942
5917
  # The Amazon Resource Name (ARN) of the resource or resources from
5943
5918
  # which to delete tags. You can associate tags with the following
5944
- # Device Farm resources: `PROJECT`, `RUN`, `NETWORK_PROFILE`,
5945
- # `INSTANCE_PROFILE`, `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`,
5946
- # `DEVICE`, and `VPCE_CONFIGURATION`.
5919
+ # Device Farm resources: `PROJECT`, `TESTGRID_PROJECT`, `RUN`,
5920
+ # `NETWORK_PROFILE`, `INSTANCE_PROFILE`, `DEVICE_INSTANCE`, `SESSION`,
5921
+ # `DEVICE_POOL`, `DEVICE`, and `VPCE_CONFIGURATION`.
5947
5922
  # @return [String]
5948
5923
  #
5949
5924
  # @!attribute [rw] tag_keys
@@ -6239,13 +6214,33 @@ module Aws::DeviceFarm
6239
6214
  # The VPC security groups and subnets that are attached to a project.
6240
6215
  # @return [Types::VpcConfig]
6241
6216
  #
6217
+ # @!attribute [rw] environment_variables
6218
+ # A set of environment variables which are used by default for all
6219
+ # runs in the project. These environment variables are applied to the
6220
+ # test run during the execution of a test spec file.
6221
+ #
6222
+ # For more information about using test spec files, please see [Custom
6223
+ # test environments ][1] in *AWS Device Farm.*
6224
+ #
6225
+ #
6226
+ #
6227
+ # [1]: https://docs.aws.amazon.com/devicefarm/latest/developerguide/custom-test-environments.html
6228
+ # @return [Array<Types::EnvironmentVariable>]
6229
+ #
6230
+ # @!attribute [rw] execution_role_arn
6231
+ # An IAM role to be assumed by the test host for all runs in the
6232
+ # project.
6233
+ # @return [String]
6234
+ #
6242
6235
  # @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateProjectRequest AWS API Documentation
6243
6236
  #
6244
6237
  class UpdateProjectRequest < Struct.new(
6245
6238
  :arn,
6246
6239
  :name,
6247
6240
  :default_job_timeout_minutes,
6248
- :vpc_config)
6241
+ :vpc_config,
6242
+ :environment_variables,
6243
+ :execution_role_arn)
6249
6244
  SENSITIVE = []
6250
6245
  include Aws::Structure
6251
6246
  end
@@ -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.96.0'
57
+ GEM_VERSION = '1.98.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -146,7 +146,14 @@ module Aws
146
146
  security_group_ids: Array[::String],
147
147
  subnet_ids: Array[::String],
148
148
  vpc_id: ::String
149
- }
149
+ },
150
+ ?environment_variables: Array[
151
+ {
152
+ name: ::String,
153
+ value: ::String
154
+ },
155
+ ],
156
+ ?execution_role_arn: ::String
150
157
  ) -> _CreateProjectResponseSuccess
151
158
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProjectResponseSuccess
152
159
 
@@ -160,12 +167,7 @@ module Aws
160
167
  device_arn: ::String,
161
168
  ?app_arn: ::String,
162
169
  ?instance_arn: ::String,
163
- ?ssh_public_key: ::String,
164
- ?remote_debug_enabled: bool,
165
- ?remote_record_enabled: bool,
166
- ?remote_record_app_arn: ::String,
167
170
  ?name: ::String,
168
- ?client_id: ::String,
169
171
  ?configuration: {
170
172
  auxiliary_apps: Array[::String]?,
171
173
  billing_method: ("METERED" | "UNMETERED")?,
@@ -396,7 +398,14 @@ module Aws
396
398
  gps: bool?
397
399
  }?,
398
400
  auxiliary_apps: Array[::String]?,
399
- billing_method: ("METERED" | "UNMETERED")?
401
+ billing_method: ("METERED" | "UNMETERED")?,
402
+ environment_variables: Array[
403
+ {
404
+ name: ::String,
405
+ value: ::String
406
+ },
407
+ ]?,
408
+ execution_role_arn: ::String?
400
409
  },
401
410
  ?project_arn: ::String
402
411
  ) -> _GetDevicePoolCompatibilityResponseSuccess
@@ -925,7 +934,14 @@ module Aws
925
934
  gps: bool?
926
935
  }?,
927
936
  auxiliary_apps: Array[::String]?,
928
- billing_method: ("METERED" | "UNMETERED")?
937
+ billing_method: ("METERED" | "UNMETERED")?,
938
+ environment_variables: Array[
939
+ {
940
+ name: ::String,
941
+ value: ::String
942
+ },
943
+ ]?,
944
+ execution_role_arn: ::String?
929
945
  },
930
946
  ?execution_configuration: {
931
947
  job_timeout_minutes: ::Integer?,
@@ -1074,7 +1090,14 @@ module Aws
1074
1090
  security_group_ids: Array[::String],
1075
1091
  subnet_ids: Array[::String],
1076
1092
  vpc_id: ::String
1077
- }
1093
+ },
1094
+ ?environment_variables: Array[
1095
+ {
1096
+ name: ::String,
1097
+ value: ::String
1098
+ },
1099
+ ],
1100
+ ?execution_role_arn: ::String
1078
1101
  ) -> _UpdateProjectResponseSuccess
1079
1102
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProjectResponseSuccess
1080
1103
 
data/sig/types.rbs CHANGED
@@ -110,6 +110,8 @@ module Aws::DeviceFarm
110
110
  attr_accessor name: ::String
111
111
  attr_accessor default_job_timeout_minutes: ::Integer
112
112
  attr_accessor vpc_config: Types::VpcConfig
113
+ attr_accessor environment_variables: ::Array[Types::EnvironmentVariable]
114
+ attr_accessor execution_role_arn: ::String
113
115
  SENSITIVE: []
114
116
  end
115
117
 
@@ -131,12 +133,7 @@ module Aws::DeviceFarm
131
133
  attr_accessor device_arn: ::String
132
134
  attr_accessor app_arn: ::String
133
135
  attr_accessor instance_arn: ::String
134
- attr_accessor ssh_public_key: ::String
135
- attr_accessor remote_debug_enabled: bool
136
- attr_accessor remote_record_enabled: bool
137
- attr_accessor remote_record_app_arn: ::String
138
136
  attr_accessor name: ::String
139
- attr_accessor client_id: ::String
140
137
  attr_accessor configuration: Types::CreateRemoteAccessSessionConfiguration
141
138
  attr_accessor interaction_mode: ("INTERACTIVE" | "NO_VIDEO" | "VIDEO_ONLY")
142
139
  attr_accessor skip_app_resign: bool
@@ -362,6 +359,12 @@ module Aws::DeviceFarm
362
359
  SENSITIVE: []
363
360
  end
364
361
 
362
+ class EnvironmentVariable
363
+ attr_accessor name: ::String
364
+ attr_accessor value: ::String
365
+ SENSITIVE: []
366
+ end
367
+
365
368
  class ExecutionConfiguration
366
369
  attr_accessor job_timeout_minutes: ::Integer
367
370
  attr_accessor accounts_cleanup: bool
@@ -1015,6 +1018,8 @@ module Aws::DeviceFarm
1015
1018
  attr_accessor default_job_timeout_minutes: ::Integer
1016
1019
  attr_accessor created: ::Time
1017
1020
  attr_accessor vpc_config: Types::VpcConfig
1021
+ attr_accessor environment_variables: ::Array[Types::EnvironmentVariable]
1022
+ attr_accessor execution_role_arn: ::String
1018
1023
  SENSITIVE: []
1019
1024
  end
1020
1025
 
@@ -1044,6 +1049,12 @@ module Aws::DeviceFarm
1044
1049
  SENSITIVE: []
1045
1050
  end
1046
1051
 
1052
+ class RemoteAccessEndpoints
1053
+ attr_accessor remote_driver_endpoint: ::String
1054
+ attr_accessor interactive_endpoint: ::String
1055
+ SENSITIVE: [:remote_driver_endpoint, :interactive_endpoint]
1056
+ end
1057
+
1047
1058
  class RemoteAccessSession
1048
1059
  attr_accessor arn: ::String
1049
1060
  attr_accessor name: ::String
@@ -1055,11 +1066,6 @@ module Aws::DeviceFarm
1055
1066
  attr_accessor stopped: ::Time
1056
1067
  attr_accessor device: Types::Device
1057
1068
  attr_accessor instance_arn: ::String
1058
- attr_accessor remote_debug_enabled: bool
1059
- attr_accessor remote_record_enabled: bool
1060
- attr_accessor remote_record_app_arn: ::String
1061
- attr_accessor host_address: ::String
1062
- attr_accessor client_id: ::String
1063
1069
  attr_accessor billing_method: ("METERED" | "UNMETERED")
1064
1070
  attr_accessor device_minutes: Types::DeviceMinutes
1065
1071
  attr_accessor endpoint: ::String
@@ -1069,6 +1075,7 @@ module Aws::DeviceFarm
1069
1075
  attr_accessor vpc_config: Types::VpcConfig
1070
1076
  attr_accessor device_proxy: Types::DeviceProxy
1071
1077
  attr_accessor app_upload: ::String
1078
+ attr_accessor endpoints: Types::RemoteAccessEndpoints
1072
1079
  SENSITIVE: []
1073
1080
  end
1074
1081
 
@@ -1130,6 +1137,8 @@ module Aws::DeviceFarm
1130
1137
  attr_accessor test_spec_arn: ::String
1131
1138
  attr_accessor device_selection_result: Types::DeviceSelectionResult
1132
1139
  attr_accessor vpc_config: Types::VpcConfig
1140
+ attr_accessor execution_role_arn: ::String
1141
+ attr_accessor environment_variables: ::Array[Types::EnvironmentVariable]
1133
1142
  SENSITIVE: []
1134
1143
  end
1135
1144
 
@@ -1151,6 +1160,8 @@ module Aws::DeviceFarm
1151
1160
  attr_accessor radios: Types::Radios
1152
1161
  attr_accessor auxiliary_apps: ::Array[::String]
1153
1162
  attr_accessor billing_method: ("METERED" | "UNMETERED")
1163
+ attr_accessor environment_variables: ::Array[Types::EnvironmentVariable]
1164
+ attr_accessor execution_role_arn: ::String
1154
1165
  SENSITIVE: []
1155
1166
  end
1156
1167
 
@@ -1409,6 +1420,8 @@ module Aws::DeviceFarm
1409
1420
  attr_accessor name: ::String
1410
1421
  attr_accessor default_job_timeout_minutes: ::Integer
1411
1422
  attr_accessor vpc_config: Types::VpcConfig
1423
+ attr_accessor environment_variables: ::Array[Types::EnvironmentVariable]
1424
+ attr_accessor execution_role_arn: ::String
1412
1425
  SENSITIVE: []
1413
1426
  end
1414
1427
 
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.96.0
4
+ version: 1.98.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services