aws-sdk-devicefarm 1.29.0 → 1.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-devicefarm.rb +1 -1
- data/lib/aws-sdk-devicefarm/client.rb +678 -303
- data/lib/aws-sdk-devicefarm/client_api.rb +300 -3
- data/lib/aws-sdk-devicefarm/errors.rb +32 -0
- data/lib/aws-sdk-devicefarm/types.rb +1361 -839
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f66577057c7fdf55b3b5bb1f8b99a9dad584a5c
|
4
|
+
data.tar.gz: 3399c43a8d26aad047ab1b052f6db63afc94f7d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4c72022390206b4977dbd181651119d4edf02632583985d7753f47db593e686a9e2d888b7fd46364e35c3b8a63a14fc21de5a31005eb61327c224a7a2130fad
|
7
|
+
data.tar.gz: 074a97d358027d02e18ed63d0157e779827485e934d82d346ed8794103d207c2ca6c4dfaf55302891b16bb8c2825244795bdd21597c41824aa4048b22ad2c6a9
|
data/lib/aws-sdk-devicefarm.rb
CHANGED
@@ -280,10 +280,10 @@ module Aws::DeviceFarm
|
|
280
280
|
#
|
281
281
|
# @option params [Integer] :max_devices
|
282
282
|
# The number of devices that Device Farm can add to your device pool.
|
283
|
-
# Device Farm adds devices that are available and
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
283
|
+
# Device Farm adds devices that are available and meet the criteria that
|
284
|
+
# you assign for the `rules` parameter. Depending on how many devices
|
285
|
+
# meet these constraints, your device pool might contain fewer devices
|
286
|
+
# than the value for this parameter.
|
287
287
|
#
|
288
288
|
# By specifying the maximum number of devices, you can control the costs
|
289
289
|
# that you incur by running tests.
|
@@ -358,19 +358,19 @@ module Aws::DeviceFarm
|
|
358
358
|
# The description of your instance profile.
|
359
359
|
#
|
360
360
|
# @option params [Boolean] :package_cleanup
|
361
|
-
# When set to `true`, Device Farm
|
362
|
-
#
|
361
|
+
# When set to `true`, Device Farm removes app packages after a test run.
|
362
|
+
# The default value is `false` for private devices.
|
363
363
|
#
|
364
364
|
# @option params [Array<String>] :exclude_app_packages_from_cleanup
|
365
|
-
# An array of strings
|
366
|
-
# not be cleaned up from the device after a test run
|
365
|
+
# An array of strings that specifies the list of app packages that
|
366
|
+
# should not be cleaned up from the device after a test run.
|
367
367
|
#
|
368
|
-
# The list of packages is only
|
368
|
+
# The list of packages is considered only if you set `packageCleanup` to
|
369
369
|
# `true`.
|
370
370
|
#
|
371
371
|
# @option params [Boolean] :reboot_after_use
|
372
|
-
# When set to `true`, Device Farm
|
373
|
-
#
|
372
|
+
# When set to `true`, Device Farm reboots the instance after a test run.
|
373
|
+
# The default value is `true`.
|
374
374
|
#
|
375
375
|
# @return [Types::CreateInstanceProfileResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
376
376
|
#
|
@@ -412,14 +412,13 @@ module Aws::DeviceFarm
|
|
412
412
|
# create a network profile.
|
413
413
|
#
|
414
414
|
# @option params [required, String] :name
|
415
|
-
# The name
|
415
|
+
# The name for the new network profile.
|
416
416
|
#
|
417
417
|
# @option params [String] :description
|
418
418
|
# The description of the network profile.
|
419
419
|
#
|
420
420
|
# @option params [String] :type
|
421
|
-
# The type of network profile
|
422
|
-
# listed below.
|
421
|
+
# The type of network profile to create. Valid values are listed here.
|
423
422
|
#
|
424
423
|
# @option params [Integer] :uplink_bandwidth_bits
|
425
424
|
# The data throughput rate in bits per second, as an integer from 0 to
|
@@ -498,15 +497,15 @@ module Aws::DeviceFarm
|
|
498
497
|
req.send_request(options)
|
499
498
|
end
|
500
499
|
|
501
|
-
# Creates a
|
500
|
+
# Creates a project.
|
502
501
|
#
|
503
502
|
# @option params [required, String] :name
|
504
503
|
# The project's name.
|
505
504
|
#
|
506
505
|
# @option params [Integer] :default_job_timeout_minutes
|
507
506
|
# Sets the execution timeout value (in minutes) for a project. All test
|
508
|
-
# runs in this project
|
509
|
-
#
|
507
|
+
# runs in this project use the specified execution timeout value unless
|
508
|
+
# overridden when scheduling a run.
|
510
509
|
#
|
511
510
|
# @return [Types::CreateProjectResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
512
511
|
#
|
@@ -560,19 +559,19 @@ module Aws::DeviceFarm
|
|
560
559
|
# create a remote access session.
|
561
560
|
#
|
562
561
|
# @option params [required, String] :device_arn
|
563
|
-
# The
|
564
|
-
#
|
562
|
+
# The ARN of the device for which you want to create a remote access
|
563
|
+
# session.
|
565
564
|
#
|
566
565
|
# @option params [String] :instance_arn
|
567
566
|
# The Amazon Resource Name (ARN) of the device instance for which you
|
568
567
|
# want to create a remote access session.
|
569
568
|
#
|
570
569
|
# @option params [String] :ssh_public_key
|
571
|
-
#
|
572
|
-
# connecting to remote devices in your remote debugging session. This
|
573
|
-
#
|
570
|
+
# Ignored. The public key of the `ssh` key pair you want to use for
|
571
|
+
# connecting to remote devices in your remote debugging session. This
|
572
|
+
# key is required only if `remoteDebugEnabled` is set to `true`.
|
574
573
|
#
|
575
|
-
#
|
574
|
+
# Remote debugging is [no longer supported][1].
|
576
575
|
#
|
577
576
|
#
|
578
577
|
#
|
@@ -582,7 +581,7 @@ module Aws::DeviceFarm
|
|
582
581
|
# Set to `true` if you want to access devices remotely for debugging in
|
583
582
|
# your remote access session.
|
584
583
|
#
|
585
|
-
#
|
584
|
+
# Remote debugging is [no longer supported][1].
|
586
585
|
#
|
587
586
|
#
|
588
587
|
#
|
@@ -597,15 +596,15 @@ module Aws::DeviceFarm
|
|
597
596
|
# remote access session.
|
598
597
|
#
|
599
598
|
# @option params [String] :name
|
600
|
-
# The name of the remote access session
|
599
|
+
# The name of the remote access session to create.
|
601
600
|
#
|
602
601
|
# @option params [String] :client_id
|
603
602
|
# Unique identifier for the client. If you want access to multiple
|
604
603
|
# devices on the same client, you should pass the same `clientId` value
|
605
|
-
# in each call to `CreateRemoteAccessSession`. This is
|
606
|
-
# `remoteDebugEnabled` is set to `true`.
|
604
|
+
# in each call to `CreateRemoteAccessSession`. This identifier is
|
605
|
+
# required only if `remoteDebugEnabled` is set to `true`.
|
607
606
|
#
|
608
|
-
#
|
607
|
+
# Remote debugging is [no longer supported][1].
|
609
608
|
#
|
610
609
|
#
|
611
610
|
#
|
@@ -618,24 +617,24 @@ module Aws::DeviceFarm
|
|
618
617
|
# The interaction mode of the remote access session. Valid values are:
|
619
618
|
#
|
620
619
|
# * INTERACTIVE: You can interact with the iOS device by viewing,
|
621
|
-
# touching, and rotating the screen. You
|
620
|
+
# touching, and rotating the screen. You cannot run XCUITest
|
622
621
|
# framework-based tests in this mode.
|
623
622
|
#
|
624
|
-
# * NO\_VIDEO: You are connected to the device but cannot interact with
|
623
|
+
# * NO\_VIDEO: You are connected to the device, but cannot interact with
|
625
624
|
# it or view the screen. This mode has the fastest test execution
|
626
|
-
# speed. You
|
625
|
+
# speed. You can run XCUITest framework-based tests in this mode.
|
627
626
|
#
|
628
|
-
# * VIDEO\_ONLY: You can view the screen but cannot touch or rotate it.
|
629
|
-
# You
|
630
|
-
#
|
627
|
+
# * VIDEO\_ONLY: You can view the screen, but cannot touch or rotate it.
|
628
|
+
# You can run XCUITest framework-based tests and watch the screen in
|
629
|
+
# this mode.
|
631
630
|
#
|
632
631
|
# @option params [Boolean] :skip_app_resign
|
633
|
-
# When set to `true`, for private devices, Device Farm
|
632
|
+
# When set to `true`, for private devices, Device Farm does not sign
|
634
633
|
# your app again. For public devices, Device Farm always signs your apps
|
635
|
-
# again
|
634
|
+
# again.
|
636
635
|
#
|
637
|
-
# For more information
|
638
|
-
# [Do you modify my app?][1]
|
636
|
+
# For more information on how Device Farm modifies your uploads during
|
637
|
+
# tests, see [Do you modify my app?][1]
|
639
638
|
#
|
640
639
|
#
|
641
640
|
#
|
@@ -756,107 +755,164 @@ module Aws::DeviceFarm
|
|
756
755
|
req.send_request(options)
|
757
756
|
end
|
758
757
|
|
758
|
+
# Creates a Selenium testing project. Projects are used to track
|
759
|
+
# TestGridSession instances.
|
760
|
+
#
|
761
|
+
# @option params [required, String] :name
|
762
|
+
# Human-readable name of the Selenium testing project.
|
763
|
+
#
|
764
|
+
# @option params [String] :description
|
765
|
+
# Human-readable description of the project.
|
766
|
+
#
|
767
|
+
# @return [Types::CreateTestGridProjectResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
768
|
+
#
|
769
|
+
# * {Types::CreateTestGridProjectResult#test_grid_project #test_grid_project} => Types::TestGridProject
|
770
|
+
#
|
771
|
+
# @example Request syntax with placeholder values
|
772
|
+
#
|
773
|
+
# resp = client.create_test_grid_project({
|
774
|
+
# name: "ResourceName", # required
|
775
|
+
# description: "ResourceDescription",
|
776
|
+
# })
|
777
|
+
#
|
778
|
+
# @example Response structure
|
779
|
+
#
|
780
|
+
# resp.test_grid_project.arn #=> String
|
781
|
+
# resp.test_grid_project.name #=> String
|
782
|
+
# resp.test_grid_project.description #=> String
|
783
|
+
# resp.test_grid_project.created #=> Time
|
784
|
+
#
|
785
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateTestGridProject AWS API Documentation
|
786
|
+
#
|
787
|
+
# @overload create_test_grid_project(params = {})
|
788
|
+
# @param [Hash] params ({})
|
789
|
+
def create_test_grid_project(params = {}, options = {})
|
790
|
+
req = build_request(:create_test_grid_project, params)
|
791
|
+
req.send_request(options)
|
792
|
+
end
|
793
|
+
|
794
|
+
# Creates a signed, short-term URL that can be passed to a Selenium
|
795
|
+
# `RemoteWebDriver` constructor.
|
796
|
+
#
|
797
|
+
# @option params [required, String] :project_arn
|
798
|
+
# ARN (from CreateTestGridProject or ListTestGridProjects) to associate
|
799
|
+
# with the short-term URL.
|
800
|
+
#
|
801
|
+
# @option params [required, Integer] :expires_in_seconds
|
802
|
+
# Lifetime, in seconds, of the URL.
|
803
|
+
#
|
804
|
+
# @return [Types::CreateTestGridUrlResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
805
|
+
#
|
806
|
+
# * {Types::CreateTestGridUrlResult#url #url} => String
|
807
|
+
# * {Types::CreateTestGridUrlResult#expires #expires} => Time
|
808
|
+
#
|
809
|
+
# @example Request syntax with placeholder values
|
810
|
+
#
|
811
|
+
# resp = client.create_test_grid_url({
|
812
|
+
# project_arn: "DeviceFarmArn", # required
|
813
|
+
# expires_in_seconds: 1, # required
|
814
|
+
# })
|
815
|
+
#
|
816
|
+
# @example Response structure
|
817
|
+
#
|
818
|
+
# resp.url #=> String
|
819
|
+
# resp.expires #=> Time
|
820
|
+
#
|
821
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateTestGridUrl AWS API Documentation
|
822
|
+
#
|
823
|
+
# @overload create_test_grid_url(params = {})
|
824
|
+
# @param [Hash] params ({})
|
825
|
+
def create_test_grid_url(params = {}, options = {})
|
826
|
+
req = build_request(:create_test_grid_url, params)
|
827
|
+
req.send_request(options)
|
828
|
+
end
|
829
|
+
|
759
830
|
# Uploads an app or test scripts.
|
760
831
|
#
|
761
832
|
# @option params [required, String] :project_arn
|
762
833
|
# The ARN of the project for the upload.
|
763
834
|
#
|
764
835
|
# @option params [required, String] :name
|
765
|
-
# The upload's file name. The name should not contain
|
766
|
-
#
|
767
|
-
# the `.ipa` extension. If uploading an Android app, the
|
768
|
-
#
|
769
|
-
# end with the `.zip` file extension.
|
836
|
+
# The upload's file name. The name should not contain any forward
|
837
|
+
# slashes (`/`). If you are uploading an iOS app, the file name must end
|
838
|
+
# with the `.ipa` extension. If you are uploading an Android app, the
|
839
|
+
# file name must end with the `.apk` extension. For all others, the file
|
840
|
+
# name must end with the `.zip` file extension.
|
770
841
|
#
|
771
842
|
# @option params [required, String] :type
|
772
843
|
# The upload's upload type.
|
773
844
|
#
|
774
845
|
# Must be one of the following values:
|
775
846
|
#
|
776
|
-
# * ANDROID\_APP
|
847
|
+
# * ANDROID\_APP
|
777
848
|
#
|
778
|
-
# * IOS\_APP
|
849
|
+
# * IOS\_APP
|
779
850
|
#
|
780
|
-
# * WEB\_APP
|
851
|
+
# * WEB\_APP
|
781
852
|
#
|
782
|
-
# * EXTERNAL\_DATA
|
853
|
+
# * EXTERNAL\_DATA
|
783
854
|
#
|
784
|
-
# * APPIUM\_JAVA\_JUNIT\_TEST\_PACKAGE
|
785
|
-
# package upload.
|
855
|
+
# * APPIUM\_JAVA\_JUNIT\_TEST\_PACKAGE
|
786
856
|
#
|
787
|
-
# * APPIUM\_JAVA\_TESTNG\_TEST\_PACKAGE
|
788
|
-
# package upload.
|
857
|
+
# * APPIUM\_JAVA\_TESTNG\_TEST\_PACKAGE
|
789
858
|
#
|
790
|
-
# * APPIUM\_PYTHON\_TEST\_PACKAGE
|
859
|
+
# * APPIUM\_PYTHON\_TEST\_PACKAGE
|
791
860
|
#
|
792
|
-
# * APPIUM\_NODE\_TEST\_PACKAGE
|
861
|
+
# * APPIUM\_NODE\_TEST\_PACKAGE
|
793
862
|
#
|
794
|
-
# * APPIUM\_RUBY\_TEST\_PACKAGE
|
863
|
+
# * APPIUM\_RUBY\_TEST\_PACKAGE
|
795
864
|
#
|
796
|
-
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_PACKAGE
|
797
|
-
# package upload for a web app.
|
865
|
+
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_PACKAGE
|
798
866
|
#
|
799
|
-
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_PACKAGE
|
800
|
-
# package upload for a web app.
|
867
|
+
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_PACKAGE
|
801
868
|
#
|
802
|
-
# * APPIUM\_WEB\_PYTHON\_TEST\_PACKAGE
|
803
|
-
# upload for a web app.
|
869
|
+
# * APPIUM\_WEB\_PYTHON\_TEST\_PACKAGE
|
804
870
|
#
|
805
|
-
# * APPIUM\_WEB\_NODE\_TEST\_PACKAGE
|
806
|
-
# upload for a web app.
|
871
|
+
# * APPIUM\_WEB\_NODE\_TEST\_PACKAGE
|
807
872
|
#
|
808
|
-
# * APPIUM\_WEB\_RUBY\_TEST\_PACKAGE
|
809
|
-
# for a web app.
|
873
|
+
# * APPIUM\_WEB\_RUBY\_TEST\_PACKAGE
|
810
874
|
#
|
811
|
-
# * CALABASH\_TEST\_PACKAGE
|
875
|
+
# * CALABASH\_TEST\_PACKAGE
|
812
876
|
#
|
813
|
-
# * INSTRUMENTATION\_TEST\_PACKAGE
|
877
|
+
# * INSTRUMENTATION\_TEST\_PACKAGE
|
814
878
|
#
|
815
|
-
# * UIAUTOMATION\_TEST\_PACKAGE
|
879
|
+
# * UIAUTOMATION\_TEST\_PACKAGE
|
816
880
|
#
|
817
|
-
# * UIAUTOMATOR\_TEST\_PACKAGE
|
881
|
+
# * UIAUTOMATOR\_TEST\_PACKAGE
|
818
882
|
#
|
819
|
-
# * XCTEST\_TEST\_PACKAGE
|
883
|
+
# * XCTEST\_TEST\_PACKAGE
|
820
884
|
#
|
821
|
-
# * XCTEST\_UI\_TEST\_PACKAGE
|
885
|
+
# * XCTEST\_UI\_TEST\_PACKAGE
|
822
886
|
#
|
823
|
-
# * APPIUM\_JAVA\_JUNIT\_TEST\_SPEC
|
824
|
-
# upload.
|
887
|
+
# * APPIUM\_JAVA\_JUNIT\_TEST\_SPEC
|
825
888
|
#
|
826
|
-
# * APPIUM\_JAVA\_TESTNG\_TEST\_SPEC
|
827
|
-
# upload.
|
889
|
+
# * APPIUM\_JAVA\_TESTNG\_TEST\_SPEC
|
828
890
|
#
|
829
|
-
# * APPIUM\_PYTHON\_TEST\_SPEC
|
891
|
+
# * APPIUM\_PYTHON\_TEST\_SPEC
|
830
892
|
#
|
831
|
-
# * APPIUM\_NODE\_TEST\_SPEC
|
893
|
+
# * APPIUM\_NODE\_TEST\_SPEC
|
832
894
|
#
|
833
|
-
# * APPIUM\_RUBY\_TEST\_SPEC
|
895
|
+
# * APPIUM\_RUBY\_TEST\_SPEC
|
834
896
|
#
|
835
|
-
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_SPEC
|
836
|
-
# upload for a web app.
|
897
|
+
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_SPEC
|
837
898
|
#
|
838
|
-
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_SPEC
|
839
|
-
# spec upload for a web app.
|
899
|
+
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_SPEC
|
840
900
|
#
|
841
|
-
# * APPIUM\_WEB\_PYTHON\_TEST\_SPEC
|
842
|
-
# for a web app.
|
901
|
+
# * APPIUM\_WEB\_PYTHON\_TEST\_SPEC
|
843
902
|
#
|
844
|
-
# * APPIUM\_WEB\_NODE\_TEST\_SPEC
|
845
|
-
# for a web app.
|
903
|
+
# * APPIUM\_WEB\_NODE\_TEST\_SPEC
|
846
904
|
#
|
847
|
-
# * APPIUM\_WEB\_RUBY\_TEST\_SPEC
|
848
|
-
# web app.
|
905
|
+
# * APPIUM\_WEB\_RUBY\_TEST\_SPEC
|
849
906
|
#
|
850
|
-
# * INSTRUMENTATION\_TEST\_SPEC
|
907
|
+
# * INSTRUMENTATION\_TEST\_SPEC
|
851
908
|
#
|
852
|
-
# * XCTEST\_UI\_TEST\_SPEC
|
909
|
+
# * XCTEST\_UI\_TEST\_SPEC
|
853
910
|
#
|
854
|
-
#
|
855
|
-
#
|
911
|
+
# If you call `CreateUpload` with `WEB_APP` specified, AWS Device Farm
|
912
|
+
# throws an `ArgumentException` error.
|
856
913
|
#
|
857
914
|
# @option params [String] :content_type
|
858
|
-
# The upload's content type (for example,
|
859
|
-
# "application/octet-stream").
|
915
|
+
# The upload's content type (for example, `application/octet-stream`).
|
860
916
|
#
|
861
917
|
# @return [Types::CreateUploadResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
862
918
|
#
|
@@ -924,16 +980,16 @@ module Aws::DeviceFarm
|
|
924
980
|
# manage your configurations more easily.
|
925
981
|
#
|
926
982
|
# @option params [required, String] :vpce_service_name
|
927
|
-
# The name of the VPC endpoint service running
|
928
|
-
#
|
983
|
+
# The name of the VPC endpoint service running in your AWS account that
|
984
|
+
# you want Device Farm to test.
|
929
985
|
#
|
930
986
|
# @option params [required, String] :service_dns_name
|
931
987
|
# The DNS name of the service running in your VPC that you want Device
|
932
988
|
# Farm to test.
|
933
989
|
#
|
934
990
|
# @option params [String] :vpce_configuration_description
|
935
|
-
# An optional description
|
936
|
-
#
|
991
|
+
# An optional description that provides details about your VPC endpoint
|
992
|
+
# configuration.
|
937
993
|
#
|
938
994
|
# @return [Types::CreateVPCEConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
939
995
|
#
|
@@ -970,7 +1026,7 @@ module Aws::DeviceFarm
|
|
970
1026
|
#
|
971
1027
|
# @option params [required, String] :arn
|
972
1028
|
# Represents the Amazon Resource Name (ARN) of the Device Farm device
|
973
|
-
# pool
|
1029
|
+
# pool to delete.
|
974
1030
|
#
|
975
1031
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
976
1032
|
#
|
@@ -1029,8 +1085,7 @@ module Aws::DeviceFarm
|
|
1029
1085
|
# Deletes a network profile.
|
1030
1086
|
#
|
1031
1087
|
# @option params [required, String] :arn
|
1032
|
-
# The
|
1033
|
-
# delete.
|
1088
|
+
# The ARN of the network profile to delete.
|
1034
1089
|
#
|
1035
1090
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1036
1091
|
#
|
@@ -1051,11 +1106,11 @@ module Aws::DeviceFarm
|
|
1051
1106
|
|
1052
1107
|
# Deletes an AWS Device Farm project, given the project ARN.
|
1053
1108
|
#
|
1054
|
-
#
|
1109
|
+
# Deleting this resource does not stop an in-progress run.
|
1055
1110
|
#
|
1056
1111
|
# @option params [required, String] :arn
|
1057
1112
|
# Represents the Amazon Resource Name (ARN) of the Device Farm project
|
1058
|
-
#
|
1113
|
+
# to delete.
|
1059
1114
|
#
|
1060
1115
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1061
1116
|
#
|
@@ -1125,10 +1180,10 @@ module Aws::DeviceFarm
|
|
1125
1180
|
|
1126
1181
|
# Deletes the run, given the run ARN.
|
1127
1182
|
#
|
1128
|
-
#
|
1183
|
+
# Deleting this resource does not stop an in-progress run.
|
1129
1184
|
#
|
1130
1185
|
# @option params [required, String] :arn
|
1131
|
-
# The Amazon Resource Name (ARN) for the run
|
1186
|
+
# The Amazon Resource Name (ARN) for the run to delete.
|
1132
1187
|
#
|
1133
1188
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1134
1189
|
#
|
@@ -1160,11 +1215,40 @@ module Aws::DeviceFarm
|
|
1160
1215
|
req.send_request(options)
|
1161
1216
|
end
|
1162
1217
|
|
1218
|
+
# Deletes a Selenium testing project and all content generated under it.
|
1219
|
+
#
|
1220
|
+
# You cannot undo this operation.
|
1221
|
+
#
|
1222
|
+
# <note markdown="1"> You cannot delete a project if it has active sessions.
|
1223
|
+
#
|
1224
|
+
# </note>
|
1225
|
+
#
|
1226
|
+
# @option params [required, String] :project_arn
|
1227
|
+
# The ARN of the project to delete, from CreateTestGridProject or
|
1228
|
+
# ListTestGridProjects.
|
1229
|
+
#
|
1230
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1231
|
+
#
|
1232
|
+
# @example Request syntax with placeholder values
|
1233
|
+
#
|
1234
|
+
# resp = client.delete_test_grid_project({
|
1235
|
+
# project_arn: "DeviceFarmArn", # required
|
1236
|
+
# })
|
1237
|
+
#
|
1238
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteTestGridProject AWS API Documentation
|
1239
|
+
#
|
1240
|
+
# @overload delete_test_grid_project(params = {})
|
1241
|
+
# @param [Hash] params ({})
|
1242
|
+
def delete_test_grid_project(params = {}, options = {})
|
1243
|
+
req = build_request(:delete_test_grid_project, params)
|
1244
|
+
req.send_request(options)
|
1245
|
+
end
|
1246
|
+
|
1163
1247
|
# Deletes an upload given the upload ARN.
|
1164
1248
|
#
|
1165
1249
|
# @option params [required, String] :arn
|
1166
|
-
# Represents the Amazon Resource Name (ARN) of the Device Farm upload
|
1167
|
-
#
|
1250
|
+
# Represents the Amazon Resource Name (ARN) of the Device Farm upload to
|
1251
|
+
# delete.
|
1168
1252
|
#
|
1169
1253
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1170
1254
|
#
|
@@ -1220,8 +1304,8 @@ module Aws::DeviceFarm
|
|
1220
1304
|
req.send_request(options)
|
1221
1305
|
end
|
1222
1306
|
|
1223
|
-
# Returns the number of unmetered iOS
|
1224
|
-
#
|
1307
|
+
# Returns the number of unmetered iOS or unmetered Android devices that
|
1308
|
+
# have been purchased by the account.
|
1225
1309
|
#
|
1226
1310
|
# @return [Types::GetAccountSettingsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1227
1311
|
#
|
@@ -1368,7 +1452,7 @@ module Aws::DeviceFarm
|
|
1368
1452
|
req.send_request(options)
|
1369
1453
|
end
|
1370
1454
|
|
1371
|
-
# Returns information about a device instance
|
1455
|
+
# Returns information about a device instance that belongs to a private
|
1372
1456
|
# device fleet.
|
1373
1457
|
#
|
1374
1458
|
# @option params [required, String] :arn
|
@@ -1474,49 +1558,49 @@ module Aws::DeviceFarm
|
|
1474
1558
|
#
|
1475
1559
|
# Allowed values include the following:
|
1476
1560
|
#
|
1477
|
-
# * BUILTIN\_FUZZ
|
1561
|
+
# * BUILTIN\_FUZZ.
|
1478
1562
|
#
|
1479
|
-
# * BUILTIN\_EXPLORER
|
1480
|
-
#
|
1563
|
+
# * BUILTIN\_EXPLORER. For Android, an app explorer that traverses an
|
1564
|
+
# Android app, interacting with it and capturing screenshots at the
|
1481
1565
|
# same time.
|
1482
1566
|
#
|
1483
|
-
# * APPIUM\_JAVA\_JUNIT
|
1567
|
+
# * APPIUM\_JAVA\_JUNIT.
|
1484
1568
|
#
|
1485
|
-
# * APPIUM\_JAVA\_TESTNG
|
1569
|
+
# * APPIUM\_JAVA\_TESTNG.
|
1486
1570
|
#
|
1487
|
-
# * APPIUM\_PYTHON
|
1571
|
+
# * APPIUM\_PYTHON.
|
1488
1572
|
#
|
1489
|
-
# * APPIUM\_NODE
|
1573
|
+
# * APPIUM\_NODE.
|
1490
1574
|
#
|
1491
|
-
# * APPIUM\_RUBY
|
1575
|
+
# * APPIUM\_RUBY.
|
1492
1576
|
#
|
1493
|
-
# * APPIUM\_WEB\_JAVA\_JUNIT
|
1577
|
+
# * APPIUM\_WEB\_JAVA\_JUNIT.
|
1494
1578
|
#
|
1495
|
-
# * APPIUM\_WEB\_JAVA\_TESTNG
|
1579
|
+
# * APPIUM\_WEB\_JAVA\_TESTNG.
|
1496
1580
|
#
|
1497
|
-
# * APPIUM\_WEB\_PYTHON
|
1581
|
+
# * APPIUM\_WEB\_PYTHON.
|
1498
1582
|
#
|
1499
|
-
# * APPIUM\_WEB\_NODE
|
1583
|
+
# * APPIUM\_WEB\_NODE.
|
1500
1584
|
#
|
1501
|
-
# * APPIUM\_WEB\_RUBY
|
1585
|
+
# * APPIUM\_WEB\_RUBY.
|
1502
1586
|
#
|
1503
|
-
# * CALABASH
|
1587
|
+
# * CALABASH.
|
1504
1588
|
#
|
1505
|
-
# * INSTRUMENTATION
|
1589
|
+
# * INSTRUMENTATION.
|
1506
1590
|
#
|
1507
|
-
# * UIAUTOMATION
|
1591
|
+
# * UIAUTOMATION.
|
1508
1592
|
#
|
1509
|
-
# * UIAUTOMATOR
|
1593
|
+
# * UIAUTOMATOR.
|
1510
1594
|
#
|
1511
|
-
# * XCTEST
|
1595
|
+
# * XCTEST.
|
1512
1596
|
#
|
1513
|
-
# * XCTEST\_UI
|
1597
|
+
# * XCTEST\_UI.
|
1514
1598
|
#
|
1515
1599
|
# @option params [Types::ScheduleRunTest] :test
|
1516
1600
|
# Information about the uploaded test to be run against the device pool.
|
1517
1601
|
#
|
1518
1602
|
# @option params [Types::ScheduleRunConfiguration] :configuration
|
1519
|
-
# An object
|
1603
|
+
# An object that contains information about the settings for a run.
|
1520
1604
|
#
|
1521
1605
|
# @return [Types::GetDevicePoolCompatibilityResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1522
1606
|
#
|
@@ -1681,7 +1765,7 @@ module Aws::DeviceFarm
|
|
1681
1765
|
# Returns information about the specified instance profile.
|
1682
1766
|
#
|
1683
1767
|
# @option params [required, String] :arn
|
1684
|
-
# The Amazon Resource Name (ARN) of
|
1768
|
+
# The Amazon Resource Name (ARN) of an instance profile.
|
1685
1769
|
#
|
1686
1770
|
# @return [Types::GetInstanceProfileResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1687
1771
|
#
|
@@ -1816,8 +1900,7 @@ module Aws::DeviceFarm
|
|
1816
1900
|
# Returns information about a network profile.
|
1817
1901
|
#
|
1818
1902
|
# @option params [required, String] :arn
|
1819
|
-
# The
|
1820
|
-
# return information about.
|
1903
|
+
# The ARN of the network profile to return information about.
|
1821
1904
|
#
|
1822
1905
|
# @return [Types::GetNetworkProfileResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1823
1906
|
#
|
@@ -1857,9 +1940,9 @@ module Aws::DeviceFarm
|
|
1857
1940
|
# by an AWS account. The response indicates how many offerings are
|
1858
1941
|
# currently available and the offerings that will be available in the
|
1859
1942
|
# next period. The API returns a `NotEligible` error if the user is not
|
1860
|
-
# permitted to invoke the operation.
|
1861
|
-
#
|
1862
|
-
#
|
1943
|
+
# permitted to invoke the operation. If you must be able to invoke this
|
1944
|
+
# operation, contact
|
1945
|
+
# [aws-devicefarm-support@amazon.com](mailto:aws-devicefarm-support@amazon.com).
|
1863
1946
|
#
|
1864
1947
|
# @option params [String] :next_token
|
1865
1948
|
# An identifier that was returned from the previous call to this
|
@@ -2355,6 +2438,88 @@ module Aws::DeviceFarm
|
|
2355
2438
|
req.send_request(options)
|
2356
2439
|
end
|
2357
2440
|
|
2441
|
+
# Retrieves information about a Selenium testing project.
|
2442
|
+
#
|
2443
|
+
# @option params [required, String] :project_arn
|
2444
|
+
# The ARN of the Selenium testing project, from either
|
2445
|
+
# CreateTestGridProject or ListTestGridProjects.
|
2446
|
+
#
|
2447
|
+
# @return [Types::GetTestGridProjectResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2448
|
+
#
|
2449
|
+
# * {Types::GetTestGridProjectResult#test_grid_project #test_grid_project} => Types::TestGridProject
|
2450
|
+
#
|
2451
|
+
# @example Request syntax with placeholder values
|
2452
|
+
#
|
2453
|
+
# resp = client.get_test_grid_project({
|
2454
|
+
# project_arn: "DeviceFarmArn", # required
|
2455
|
+
# })
|
2456
|
+
#
|
2457
|
+
# @example Response structure
|
2458
|
+
#
|
2459
|
+
# resp.test_grid_project.arn #=> String
|
2460
|
+
# resp.test_grid_project.name #=> String
|
2461
|
+
# resp.test_grid_project.description #=> String
|
2462
|
+
# resp.test_grid_project.created #=> Time
|
2463
|
+
#
|
2464
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTestGridProject AWS API Documentation
|
2465
|
+
#
|
2466
|
+
# @overload get_test_grid_project(params = {})
|
2467
|
+
# @param [Hash] params ({})
|
2468
|
+
def get_test_grid_project(params = {}, options = {})
|
2469
|
+
req = build_request(:get_test_grid_project, params)
|
2470
|
+
req.send_request(options)
|
2471
|
+
end
|
2472
|
+
|
2473
|
+
# A session is an instance of a browser created through a
|
2474
|
+
# `RemoteWebDriver` with the URL from CreateTestGridUrlResult$url. You
|
2475
|
+
# can use the following to look up sessions:
|
2476
|
+
#
|
2477
|
+
# * The session ARN (GetTestGridSessionRequest$sessionArn).
|
2478
|
+
#
|
2479
|
+
# * The project ARN and a session ID
|
2480
|
+
# (GetTestGridSessionRequest$projectArn and
|
2481
|
+
# GetTestGridSessionRequest$sessionId).
|
2482
|
+
#
|
2483
|
+
# @option params [String] :project_arn
|
2484
|
+
# The ARN for the project that this session belongs to. See
|
2485
|
+
# CreateTestGridProject and ListTestGridProjects.
|
2486
|
+
#
|
2487
|
+
# @option params [String] :session_id
|
2488
|
+
# An ID associated with this session.
|
2489
|
+
#
|
2490
|
+
# @option params [String] :session_arn
|
2491
|
+
# An ARN that uniquely identifies a TestGridSession.
|
2492
|
+
#
|
2493
|
+
# @return [Types::GetTestGridSessionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2494
|
+
#
|
2495
|
+
# * {Types::GetTestGridSessionResult#test_grid_session #test_grid_session} => Types::TestGridSession
|
2496
|
+
#
|
2497
|
+
# @example Request syntax with placeholder values
|
2498
|
+
#
|
2499
|
+
# resp = client.get_test_grid_session({
|
2500
|
+
# project_arn: "DeviceFarmArn",
|
2501
|
+
# session_id: "ResourceId",
|
2502
|
+
# session_arn: "DeviceFarmArn",
|
2503
|
+
# })
|
2504
|
+
#
|
2505
|
+
# @example Response structure
|
2506
|
+
#
|
2507
|
+
# resp.test_grid_session.arn #=> String
|
2508
|
+
# resp.test_grid_session.status #=> String, one of "ACTIVE", "CLOSED", "ERRORED"
|
2509
|
+
# resp.test_grid_session.created #=> Time
|
2510
|
+
# resp.test_grid_session.ended #=> Time
|
2511
|
+
# resp.test_grid_session.billing_minutes #=> Float
|
2512
|
+
# resp.test_grid_session.selenium_properties #=> String
|
2513
|
+
#
|
2514
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTestGridSession AWS API Documentation
|
2515
|
+
#
|
2516
|
+
# @overload get_test_grid_session(params = {})
|
2517
|
+
# @param [Hash] params ({})
|
2518
|
+
def get_test_grid_session(params = {}, options = {})
|
2519
|
+
req = build_request(:get_test_grid_session, params)
|
2520
|
+
req.send_request(options)
|
2521
|
+
end
|
2522
|
+
|
2358
2523
|
# Gets information about an upload.
|
2359
2524
|
#
|
2360
2525
|
# @option params [required, String] :arn
|
@@ -2450,8 +2615,7 @@ module Aws::DeviceFarm
|
|
2450
2615
|
# which you are requesting information.
|
2451
2616
|
#
|
2452
2617
|
# @option params [required, String] :app_arn
|
2453
|
-
# The
|
2454
|
-
# requesting information.
|
2618
|
+
# The ARN of the app about which you are requesting information.
|
2455
2619
|
#
|
2456
2620
|
# @return [Types::InstallToRemoteAccessSessionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2457
2621
|
#
|
@@ -2505,18 +2669,18 @@ module Aws::DeviceFarm
|
|
2505
2669
|
# Gets information about artifacts.
|
2506
2670
|
#
|
2507
2671
|
# @option params [required, String] :arn
|
2508
|
-
# The
|
2672
|
+
# The run, job, suite, or test ARN.
|
2509
2673
|
#
|
2510
2674
|
# @option params [required, String] :type
|
2511
2675
|
# The artifacts' type.
|
2512
2676
|
#
|
2513
2677
|
# Allowed values include:
|
2514
2678
|
#
|
2515
|
-
# * FILE
|
2679
|
+
# * FILE
|
2516
2680
|
#
|
2517
|
-
# * LOG
|
2681
|
+
# * LOG
|
2518
2682
|
#
|
2519
|
-
# * SCREENSHOT
|
2683
|
+
# * SCREENSHOT
|
2520
2684
|
#
|
2521
2685
|
# @option params [String] :next_token
|
2522
2686
|
# An identifier that was returned from the previous call to this
|
@@ -2569,8 +2733,8 @@ module Aws::DeviceFarm
|
|
2569
2733
|
# one or more AWS accounts.
|
2570
2734
|
#
|
2571
2735
|
# @option params [Integer] :max_results
|
2572
|
-
# An integer
|
2573
|
-
# in the API response.
|
2736
|
+
# An integer that specifies the maximum number of items you want to
|
2737
|
+
# return in the API response.
|
2574
2738
|
#
|
2575
2739
|
# @option params [String] :next_token
|
2576
2740
|
# An identifier that was returned from the previous call to this
|
@@ -2732,40 +2896,37 @@ module Aws::DeviceFarm
|
|
2732
2896
|
#
|
2733
2897
|
# Allowed values include:
|
2734
2898
|
#
|
2735
|
-
# * ARN: The Amazon Resource Name (ARN) of the device
|
2736
|
-
#
|
2899
|
+
# * ARN: The Amazon Resource Name (ARN) of the device (for example,
|
2900
|
+
# `arn:aws:devicefarm:us-west-2::device:12345Example`).
|
2737
2901
|
#
|
2738
|
-
# * PLATFORM: The device platform. Valid values are
|
2739
|
-
# "IOS".
|
2902
|
+
# * PLATFORM: The device platform. Valid values are ANDROID or IOS.
|
2740
2903
|
#
|
2741
|
-
# * OS\_VERSION: The operating system version
|
2742
|
-
# "10.3.2".
|
2904
|
+
# * OS\_VERSION: The operating system version (for example, 10.3.2).
|
2743
2905
|
#
|
2744
|
-
# * MODEL: The device model
|
2906
|
+
# * MODEL: The device model (for example, iPad 5th Gen).
|
2745
2907
|
#
|
2746
2908
|
# * AVAILABILITY: The current availability of the device. Valid values
|
2747
|
-
# are
|
2748
|
-
#
|
2909
|
+
# are AVAILABLE, HIGHLY\_AVAILABLE, BUSY, or
|
2910
|
+
# TEMPORARY\_NOT\_AVAILABLE.
|
2749
2911
|
#
|
2750
|
-
# * FORM\_FACTOR: The device form factor. Valid values are
|
2751
|
-
#
|
2912
|
+
# * FORM\_FACTOR: The device form factor. Valid values are PHONE or
|
2913
|
+
# TABLET.
|
2752
2914
|
#
|
2753
|
-
# * MANUFACTURER: The device manufacturer
|
2915
|
+
# * MANUFACTURER: The device manufacturer (for example, Apple).
|
2754
2916
|
#
|
2755
2917
|
# * REMOTE\_ACCESS\_ENABLED: Whether the device is enabled for remote
|
2756
|
-
# access. Valid values are
|
2918
|
+
# access. Valid values are TRUE or FALSE.
|
2757
2919
|
#
|
2758
2920
|
# * REMOTE\_DEBUG\_ENABLED: Whether the device is enabled for remote
|
2759
|
-
# debugging. Valid values are
|
2760
|
-
#
|
2921
|
+
# debugging. Valid values are TRUE or FALSE. Because remote
|
2922
|
+
# debugging is [no longer supported][1], this attribute is ignored.
|
2761
2923
|
#
|
2762
2924
|
# * INSTANCE\_ARN: The Amazon Resource Name (ARN) of the device
|
2763
2925
|
# instance.
|
2764
2926
|
#
|
2765
2927
|
# * INSTANCE\_LABELS: The label of the device instance.
|
2766
2928
|
#
|
2767
|
-
# * FLEET\_TYPE: The fleet type. Valid values are
|
2768
|
-
# "PRIVATE".
|
2929
|
+
# * FLEET\_TYPE: The fleet type. Valid values are PUBLIC or PRIVATE.
|
2769
2930
|
#
|
2770
2931
|
# * Operator: The filter operator.
|
2771
2932
|
#
|
@@ -2789,9 +2950,9 @@ module Aws::DeviceFarm
|
|
2789
2950
|
#
|
2790
2951
|
# * The other operators require an array with a single element.
|
2791
2952
|
#
|
2792
|
-
# * In a request, the AVAILABILITY attribute takes
|
2793
|
-
#
|
2794
|
-
#
|
2953
|
+
# * In a request, the AVAILABILITY attribute takes the following
|
2954
|
+
# values: AVAILABLE, HIGHLY\_AVAILABLE, BUSY, or
|
2955
|
+
# TEMPORARY\_NOT\_AVAILABLE.
|
2795
2956
|
#
|
2796
2957
|
#
|
2797
2958
|
#
|
@@ -2883,8 +3044,8 @@ module Aws::DeviceFarm
|
|
2883
3044
|
# Returns information about all the instance profiles in an AWS account.
|
2884
3045
|
#
|
2885
3046
|
# @option params [Integer] :max_results
|
2886
|
-
# An integer
|
2887
|
-
# in the API response.
|
3047
|
+
# An integer that specifies the maximum number of items you want to
|
3048
|
+
# return in the API response.
|
2888
3049
|
#
|
2889
3050
|
# @option params [String] :next_token
|
2890
3051
|
# An identifier that was returned from the previous call to this
|
@@ -3035,8 +3196,8 @@ module Aws::DeviceFarm
|
|
3035
3196
|
# list network profiles.
|
3036
3197
|
#
|
3037
3198
|
# @option params [String] :type
|
3038
|
-
# The type of network profile
|
3039
|
-
#
|
3199
|
+
# The type of network profile to return information about. Valid values
|
3200
|
+
# are listed here.
|
3040
3201
|
#
|
3041
3202
|
# @option params [String] :next_token
|
3042
3203
|
# An identifier that was returned from the previous call to this
|
@@ -3087,7 +3248,7 @@ module Aws::DeviceFarm
|
|
3087
3248
|
# `NotEligible` error if the caller is not permitted to invoke the
|
3088
3249
|
# operation. Contact
|
3089
3250
|
# [aws-devicefarm-support@amazon.com](mailto:aws-devicefarm-support@amazon.com)
|
3090
|
-
# if you
|
3251
|
+
# if you must be able to invoke this operation.
|
3091
3252
|
#
|
3092
3253
|
# @option params [String] :next_token
|
3093
3254
|
# An identifier that was returned from the previous call to this
|
@@ -3125,9 +3286,9 @@ module Aws::DeviceFarm
|
|
3125
3286
|
# renewal transactions for an AWS account. The list is paginated and
|
3126
3287
|
# ordered by a descending timestamp (most recent transactions are
|
3127
3288
|
# first). The API returns a `NotEligible` error if the user is not
|
3128
|
-
# permitted to invoke the operation.
|
3129
|
-
#
|
3130
|
-
#
|
3289
|
+
# permitted to invoke the operation. If you must be able to invoke this
|
3290
|
+
# operation, contact
|
3291
|
+
# [aws-devicefarm-support@amazon.com](mailto:aws-devicefarm-support@amazon.com).
|
3131
3292
|
#
|
3132
3293
|
# @option params [String] :next_token
|
3133
3294
|
# An identifier that was returned from the previous call to this
|
@@ -3270,9 +3431,8 @@ module Aws::DeviceFarm
|
|
3270
3431
|
# through the API. Each offering record indicates the recurring price
|
3271
3432
|
# per unit and the frequency for that offering. The API returns a
|
3272
3433
|
# `NotEligible` error if the user is not permitted to invoke the
|
3273
|
-
# operation.
|
3274
|
-
# [aws-devicefarm-support@amazon.com](mailto:aws-devicefarm-support@amazon.com)
|
3275
|
-
# if you believe that you should be able to invoke this operation.
|
3434
|
+
# operation. If you must be able to invoke this operation, contact
|
3435
|
+
# [aws-devicefarm-support@amazon.com](mailto:aws-devicefarm-support@amazon.com).
|
3276
3436
|
#
|
3277
3437
|
# @option params [String] :next_token
|
3278
3438
|
# An identifier that was returned from the previous call to this
|
@@ -3840,9 +4000,9 @@ module Aws::DeviceFarm
|
|
3840
4000
|
# List the tags for an AWS Device Farm resource.
|
3841
4001
|
#
|
3842
4002
|
# @option params [required, String] :resource_arn
|
3843
|
-
# The Amazon Resource Name (ARN) of the resource
|
3844
|
-
# tags. You can associate tags with the following Device Farm
|
3845
|
-
# `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
|
4003
|
+
# The Amazon Resource Name (ARN) of the resource or resources for which
|
4004
|
+
# to list tags. You can associate tags with the following Device Farm
|
4005
|
+
# resources: `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
|
3846
4006
|
# `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`, `DEVICE`, and
|
3847
4007
|
# `VPCE_CONFIGURATION`.
|
3848
4008
|
#
|
@@ -3853,7 +4013,7 @@ module Aws::DeviceFarm
|
|
3853
4013
|
# @example Request syntax with placeholder values
|
3854
4014
|
#
|
3855
4015
|
# resp = client.list_tags_for_resource({
|
3856
|
-
# resource_arn: "
|
4016
|
+
# resource_arn: "DeviceFarmArn", # required
|
3857
4017
|
# })
|
3858
4018
|
#
|
3859
4019
|
# @example Response structure
|
@@ -3871,6 +4031,196 @@ module Aws::DeviceFarm
|
|
3871
4031
|
req.send_request(options)
|
3872
4032
|
end
|
3873
4033
|
|
4034
|
+
# Gets a list of all Selenium testing projects in your account.
|
4035
|
+
#
|
4036
|
+
# @option params [Integer] :max_result
|
4037
|
+
# Return no more than this number of results.
|
4038
|
+
#
|
4039
|
+
# @option params [String] :next_token
|
4040
|
+
# From a response, used to continue a paginated listing.
|
4041
|
+
#
|
4042
|
+
# @return [Types::ListTestGridProjectsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4043
|
+
#
|
4044
|
+
# * {Types::ListTestGridProjectsResult#test_grid_projects #test_grid_projects} => Array<Types::TestGridProject>
|
4045
|
+
# * {Types::ListTestGridProjectsResult#next_token #next_token} => String
|
4046
|
+
#
|
4047
|
+
# @example Request syntax with placeholder values
|
4048
|
+
#
|
4049
|
+
# resp = client.list_test_grid_projects({
|
4050
|
+
# max_result: 1,
|
4051
|
+
# next_token: "PaginationToken",
|
4052
|
+
# })
|
4053
|
+
#
|
4054
|
+
# @example Response structure
|
4055
|
+
#
|
4056
|
+
# resp.test_grid_projects #=> Array
|
4057
|
+
# resp.test_grid_projects[0].arn #=> String
|
4058
|
+
# resp.test_grid_projects[0].name #=> String
|
4059
|
+
# resp.test_grid_projects[0].description #=> String
|
4060
|
+
# resp.test_grid_projects[0].created #=> Time
|
4061
|
+
# resp.next_token #=> String
|
4062
|
+
#
|
4063
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestGridProjects AWS API Documentation
|
4064
|
+
#
|
4065
|
+
# @overload list_test_grid_projects(params = {})
|
4066
|
+
# @param [Hash] params ({})
|
4067
|
+
def list_test_grid_projects(params = {}, options = {})
|
4068
|
+
req = build_request(:list_test_grid_projects, params)
|
4069
|
+
req.send_request(options)
|
4070
|
+
end
|
4071
|
+
|
4072
|
+
# Returns a list of the actions taken in a TestGridSession.
|
4073
|
+
#
|
4074
|
+
# @option params [required, String] :session_arn
|
4075
|
+
# The ARN of the session to retrieve.
|
4076
|
+
#
|
4077
|
+
# @option params [Integer] :max_result
|
4078
|
+
# The maximum number of sessions to return per response.
|
4079
|
+
#
|
4080
|
+
# @option params [String] :next_token
|
4081
|
+
# Pagination token.
|
4082
|
+
#
|
4083
|
+
# @return [Types::ListTestGridSessionActionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4084
|
+
#
|
4085
|
+
# * {Types::ListTestGridSessionActionsResult#actions #actions} => Array<Types::TestGridSessionAction>
|
4086
|
+
# * {Types::ListTestGridSessionActionsResult#next_token #next_token} => String
|
4087
|
+
#
|
4088
|
+
# @example Request syntax with placeholder values
|
4089
|
+
#
|
4090
|
+
# resp = client.list_test_grid_session_actions({
|
4091
|
+
# session_arn: "DeviceFarmArn", # required
|
4092
|
+
# max_result: 1,
|
4093
|
+
# next_token: "PaginationToken",
|
4094
|
+
# })
|
4095
|
+
#
|
4096
|
+
# @example Response structure
|
4097
|
+
#
|
4098
|
+
# resp.actions #=> Array
|
4099
|
+
# resp.actions[0].action #=> String
|
4100
|
+
# resp.actions[0].started #=> Time
|
4101
|
+
# resp.actions[0].duration #=> Integer
|
4102
|
+
# resp.actions[0].status_code #=> String
|
4103
|
+
# resp.actions[0].request_method #=> String
|
4104
|
+
# resp.next_token #=> String
|
4105
|
+
#
|
4106
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestGridSessionActions AWS API Documentation
|
4107
|
+
#
|
4108
|
+
# @overload list_test_grid_session_actions(params = {})
|
4109
|
+
# @param [Hash] params ({})
|
4110
|
+
def list_test_grid_session_actions(params = {}, options = {})
|
4111
|
+
req = build_request(:list_test_grid_session_actions, params)
|
4112
|
+
req.send_request(options)
|
4113
|
+
end
|
4114
|
+
|
4115
|
+
# Retrieves a list of artifacts created during the session.
|
4116
|
+
#
|
4117
|
+
# @option params [required, String] :session_arn
|
4118
|
+
# The ARN of a TestGridSession.
|
4119
|
+
#
|
4120
|
+
# @option params [String] :type
|
4121
|
+
# Limit results to a specified type of artifact.
|
4122
|
+
#
|
4123
|
+
# @option params [Integer] :max_result
|
4124
|
+
# The maximum number of results to be returned by a request.
|
4125
|
+
#
|
4126
|
+
# @option params [String] :next_token
|
4127
|
+
# Pagination token.
|
4128
|
+
#
|
4129
|
+
# @return [Types::ListTestGridSessionArtifactsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4130
|
+
#
|
4131
|
+
# * {Types::ListTestGridSessionArtifactsResult#artifacts #artifacts} => Array<Types::TestGridSessionArtifact>
|
4132
|
+
# * {Types::ListTestGridSessionArtifactsResult#next_token #next_token} => String
|
4133
|
+
#
|
4134
|
+
# @example Request syntax with placeholder values
|
4135
|
+
#
|
4136
|
+
# resp = client.list_test_grid_session_artifacts({
|
4137
|
+
# session_arn: "DeviceFarmArn", # required
|
4138
|
+
# type: "VIDEO", # accepts VIDEO, LOG
|
4139
|
+
# max_result: 1,
|
4140
|
+
# next_token: "PaginationToken",
|
4141
|
+
# })
|
4142
|
+
#
|
4143
|
+
# @example Response structure
|
4144
|
+
#
|
4145
|
+
# resp.artifacts #=> Array
|
4146
|
+
# resp.artifacts[0].filename #=> String
|
4147
|
+
# resp.artifacts[0].type #=> String, one of "UNKNOWN", "VIDEO", "SELENIUM_LOG"
|
4148
|
+
# resp.artifacts[0].url #=> String
|
4149
|
+
# resp.next_token #=> String
|
4150
|
+
#
|
4151
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestGridSessionArtifacts AWS API Documentation
|
4152
|
+
#
|
4153
|
+
# @overload list_test_grid_session_artifacts(params = {})
|
4154
|
+
# @param [Hash] params ({})
|
4155
|
+
def list_test_grid_session_artifacts(params = {}, options = {})
|
4156
|
+
req = build_request(:list_test_grid_session_artifacts, params)
|
4157
|
+
req.send_request(options)
|
4158
|
+
end
|
4159
|
+
|
4160
|
+
# Retrieves a list of sessions for a TestGridProject.
|
4161
|
+
#
|
4162
|
+
# @option params [required, String] :project_arn
|
4163
|
+
# ARN of a TestGridProject.
|
4164
|
+
#
|
4165
|
+
# @option params [String] :status
|
4166
|
+
# Return only sessions in this state.
|
4167
|
+
#
|
4168
|
+
# @option params [Time,DateTime,Date,Integer,String] :creation_time_after
|
4169
|
+
# Return only sessions created after this time.
|
4170
|
+
#
|
4171
|
+
# @option params [Time,DateTime,Date,Integer,String] :creation_time_before
|
4172
|
+
# Return only sessions created before this time.
|
4173
|
+
#
|
4174
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_time_after
|
4175
|
+
# Return only sessions that ended after this time.
|
4176
|
+
#
|
4177
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_time_before
|
4178
|
+
# Return only sessions that ended before this time.
|
4179
|
+
#
|
4180
|
+
# @option params [Integer] :max_result
|
4181
|
+
# Return only this many results at a time.
|
4182
|
+
#
|
4183
|
+
# @option params [String] :next_token
|
4184
|
+
# Pagination token.
|
4185
|
+
#
|
4186
|
+
# @return [Types::ListTestGridSessionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4187
|
+
#
|
4188
|
+
# * {Types::ListTestGridSessionsResult#test_grid_sessions #test_grid_sessions} => Array<Types::TestGridSession>
|
4189
|
+
# * {Types::ListTestGridSessionsResult#next_token #next_token} => String
|
4190
|
+
#
|
4191
|
+
# @example Request syntax with placeholder values
|
4192
|
+
#
|
4193
|
+
# resp = client.list_test_grid_sessions({
|
4194
|
+
# project_arn: "DeviceFarmArn", # required
|
4195
|
+
# status: "ACTIVE", # accepts ACTIVE, CLOSED, ERRORED
|
4196
|
+
# creation_time_after: Time.now,
|
4197
|
+
# creation_time_before: Time.now,
|
4198
|
+
# end_time_after: Time.now,
|
4199
|
+
# end_time_before: Time.now,
|
4200
|
+
# max_result: 1,
|
4201
|
+
# next_token: "PaginationToken",
|
4202
|
+
# })
|
4203
|
+
#
|
4204
|
+
# @example Response structure
|
4205
|
+
#
|
4206
|
+
# resp.test_grid_sessions #=> Array
|
4207
|
+
# resp.test_grid_sessions[0].arn #=> String
|
4208
|
+
# resp.test_grid_sessions[0].status #=> String, one of "ACTIVE", "CLOSED", "ERRORED"
|
4209
|
+
# resp.test_grid_sessions[0].created #=> Time
|
4210
|
+
# resp.test_grid_sessions[0].ended #=> Time
|
4211
|
+
# resp.test_grid_sessions[0].billing_minutes #=> Float
|
4212
|
+
# resp.test_grid_sessions[0].selenium_properties #=> String
|
4213
|
+
# resp.next_token #=> String
|
4214
|
+
#
|
4215
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestGridSessions AWS API Documentation
|
4216
|
+
#
|
4217
|
+
# @overload list_test_grid_sessions(params = {})
|
4218
|
+
# @param [Hash] params ({})
|
4219
|
+
def list_test_grid_sessions(params = {}, options = {})
|
4220
|
+
req = build_request(:list_test_grid_sessions, params)
|
4221
|
+
req.send_request(options)
|
4222
|
+
end
|
4223
|
+
|
3874
4224
|
# Gets information about tests in a given test suite.
|
3875
4225
|
#
|
3876
4226
|
# @option params [required, String] :arn
|
@@ -3942,7 +4292,13 @@ module Aws::DeviceFarm
|
|
3942
4292
|
req.send_request(options)
|
3943
4293
|
end
|
3944
4294
|
|
3945
|
-
# Gets information about unique problems.
|
4295
|
+
# Gets information about unique problems, such as exceptions or crashes.
|
4296
|
+
#
|
4297
|
+
# Unique problems are defined as a single instance of an error across a
|
4298
|
+
# run, job, or suite. For example, if a call in your application
|
4299
|
+
# consistently raises an exception (`OutOfBoundsException in
|
4300
|
+
# MyActivity.java:386`), `ListUniqueProblems` returns a single entry
|
4301
|
+
# instead of many individual entries for that exception.
|
3946
4302
|
#
|
3947
4303
|
# @option params [required, String] :arn
|
3948
4304
|
# The unique problems' ARNs.
|
@@ -4055,83 +4411,69 @@ module Aws::DeviceFarm
|
|
4055
4411
|
#
|
4056
4412
|
# Must be one of the following values:
|
4057
4413
|
#
|
4058
|
-
# * ANDROID\_APP
|
4414
|
+
# * ANDROID\_APP
|
4059
4415
|
#
|
4060
|
-
# * IOS\_APP
|
4416
|
+
# * IOS\_APP
|
4061
4417
|
#
|
4062
|
-
# * WEB\_APP
|
4418
|
+
# * WEB\_APP
|
4063
4419
|
#
|
4064
|
-
# * EXTERNAL\_DATA
|
4420
|
+
# * EXTERNAL\_DATA
|
4065
4421
|
#
|
4066
|
-
# * APPIUM\_JAVA\_JUNIT\_TEST\_PACKAGE
|
4067
|
-
# package upload.
|
4422
|
+
# * APPIUM\_JAVA\_JUNIT\_TEST\_PACKAGE
|
4068
4423
|
#
|
4069
|
-
# * APPIUM\_JAVA\_TESTNG\_TEST\_PACKAGE
|
4070
|
-
# package upload.
|
4424
|
+
# * APPIUM\_JAVA\_TESTNG\_TEST\_PACKAGE
|
4071
4425
|
#
|
4072
|
-
# * APPIUM\_PYTHON\_TEST\_PACKAGE
|
4426
|
+
# * APPIUM\_PYTHON\_TEST\_PACKAGE
|
4073
4427
|
#
|
4074
|
-
# * APPIUM\_NODE\_TEST\_PACKAGE
|
4428
|
+
# * APPIUM\_NODE\_TEST\_PACKAGE
|
4075
4429
|
#
|
4076
|
-
# * APPIUM\_RUBY\_TEST\_PACKAGE
|
4430
|
+
# * APPIUM\_RUBY\_TEST\_PACKAGE
|
4077
4431
|
#
|
4078
|
-
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_PACKAGE
|
4079
|
-
# package upload for a web app.
|
4432
|
+
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_PACKAGE
|
4080
4433
|
#
|
4081
|
-
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_PACKAGE
|
4082
|
-
# package upload for a web app.
|
4434
|
+
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_PACKAGE
|
4083
4435
|
#
|
4084
|
-
# * APPIUM\_WEB\_PYTHON\_TEST\_PACKAGE
|
4085
|
-
# upload for a web app.
|
4436
|
+
# * APPIUM\_WEB\_PYTHON\_TEST\_PACKAGE
|
4086
4437
|
#
|
4087
|
-
# * APPIUM\_WEB\_NODE\_TEST\_PACKAGE
|
4088
|
-
# upload for a web app.
|
4438
|
+
# * APPIUM\_WEB\_NODE\_TEST\_PACKAGE
|
4089
4439
|
#
|
4090
|
-
# * APPIUM\_WEB\_RUBY\_TEST\_PACKAGE
|
4091
|
-
# for a web app.
|
4440
|
+
# * APPIUM\_WEB\_RUBY\_TEST\_PACKAGE
|
4092
4441
|
#
|
4093
|
-
# * CALABASH\_TEST\_PACKAGE
|
4442
|
+
# * CALABASH\_TEST\_PACKAGE
|
4094
4443
|
#
|
4095
|
-
# * INSTRUMENTATION\_TEST\_PACKAGE
|
4444
|
+
# * INSTRUMENTATION\_TEST\_PACKAGE
|
4096
4445
|
#
|
4097
|
-
# * UIAUTOMATION\_TEST\_PACKAGE
|
4446
|
+
# * UIAUTOMATION\_TEST\_PACKAGE
|
4098
4447
|
#
|
4099
|
-
# * UIAUTOMATOR\_TEST\_PACKAGE
|
4448
|
+
# * UIAUTOMATOR\_TEST\_PACKAGE
|
4100
4449
|
#
|
4101
|
-
# * XCTEST\_TEST\_PACKAGE
|
4450
|
+
# * XCTEST\_TEST\_PACKAGE
|
4102
4451
|
#
|
4103
|
-
# * XCTEST\_UI\_TEST\_PACKAGE
|
4452
|
+
# * XCTEST\_UI\_TEST\_PACKAGE
|
4104
4453
|
#
|
4105
|
-
# * APPIUM\_JAVA\_JUNIT\_TEST\_SPEC
|
4106
|
-
# upload.
|
4454
|
+
# * APPIUM\_JAVA\_JUNIT\_TEST\_SPEC
|
4107
4455
|
#
|
4108
|
-
# * APPIUM\_JAVA\_TESTNG\_TEST\_SPEC
|
4109
|
-
# upload.
|
4456
|
+
# * APPIUM\_JAVA\_TESTNG\_TEST\_SPEC
|
4110
4457
|
#
|
4111
|
-
# * APPIUM\_PYTHON\_TEST\_SPEC
|
4458
|
+
# * APPIUM\_PYTHON\_TEST\_SPEC
|
4112
4459
|
#
|
4113
|
-
# * APPIUM\_NODE\_TEST\_SPEC
|
4460
|
+
# * APPIUM\_NODE\_TEST\_SPEC
|
4114
4461
|
#
|
4115
|
-
# * APPIUM\_RUBY\_TEST\_SPEC
|
4462
|
+
# * APPIUM\_RUBY\_TEST\_SPEC
|
4116
4463
|
#
|
4117
|
-
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_SPEC
|
4118
|
-
# upload for a web app.
|
4464
|
+
# * APPIUM\_WEB\_JAVA\_JUNIT\_TEST\_SPEC
|
4119
4465
|
#
|
4120
|
-
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_SPEC
|
4121
|
-
# spec upload for a web app.
|
4466
|
+
# * APPIUM\_WEB\_JAVA\_TESTNG\_TEST\_SPEC
|
4122
4467
|
#
|
4123
|
-
# * APPIUM\_WEB\_PYTHON\_TEST\_SPEC
|
4124
|
-
# for a web app.
|
4468
|
+
# * APPIUM\_WEB\_PYTHON\_TEST\_SPEC
|
4125
4469
|
#
|
4126
|
-
# * APPIUM\_WEB\_NODE\_TEST\_SPEC
|
4127
|
-
# for a web app.
|
4470
|
+
# * APPIUM\_WEB\_NODE\_TEST\_SPEC
|
4128
4471
|
#
|
4129
|
-
# * APPIUM\_WEB\_RUBY\_TEST\_SPEC
|
4130
|
-
# web app.
|
4472
|
+
# * APPIUM\_WEB\_RUBY\_TEST\_SPEC
|
4131
4473
|
#
|
4132
|
-
# * INSTRUMENTATION\_TEST\_SPEC
|
4474
|
+
# * INSTRUMENTATION\_TEST\_SPEC
|
4133
4475
|
#
|
4134
|
-
# * XCTEST\_UI\_TEST\_SPEC
|
4476
|
+
# * XCTEST\_UI\_TEST\_SPEC
|
4135
4477
|
#
|
4136
4478
|
# @option params [String] :next_token
|
4137
4479
|
# An identifier that was returned from the previous call to this
|
@@ -4195,8 +4537,8 @@ module Aws::DeviceFarm
|
|
4195
4537
|
# endpoint configurations in the AWS account.
|
4196
4538
|
#
|
4197
4539
|
# @option params [Integer] :max_results
|
4198
|
-
# An integer
|
4199
|
-
# in the API response.
|
4540
|
+
# An integer that specifies the maximum number of items you want to
|
4541
|
+
# return in the API response.
|
4200
4542
|
#
|
4201
4543
|
# @option params [String] :next_token
|
4202
4544
|
# An identifier that was returned from the previous call to this
|
@@ -4237,16 +4579,15 @@ module Aws::DeviceFarm
|
|
4237
4579
|
# Immediately purchases offerings for an AWS account. Offerings renew
|
4238
4580
|
# with the latest total purchased quantity for an offering, unless the
|
4239
4581
|
# renewal was overridden. The API returns a `NotEligible` error if the
|
4240
|
-
# user is not permitted to invoke the operation.
|
4241
|
-
#
|
4242
|
-
#
|
4582
|
+
# user is not permitted to invoke the operation. If you must be able to
|
4583
|
+
# invoke this operation, contact
|
4584
|
+
# [aws-devicefarm-support@amazon.com](mailto:aws-devicefarm-support@amazon.com).
|
4243
4585
|
#
|
4244
4586
|
# @option params [String] :offering_id
|
4245
4587
|
# The ID of the offering.
|
4246
4588
|
#
|
4247
4589
|
# @option params [Integer] :quantity
|
4248
|
-
# The number of device slots
|
4249
|
-
# request.
|
4590
|
+
# The number of device slots to purchase in an offering request.
|
4250
4591
|
#
|
4251
4592
|
# @option params [String] :offering_promotion_id
|
4252
4593
|
# The ID of the offering promotion to be applied to the purchase.
|
@@ -4327,9 +4668,8 @@ module Aws::DeviceFarm
|
|
4327
4668
|
# Explicitly sets the quantity of devices to renew for an offering,
|
4328
4669
|
# starting from the `effectiveDate` of the next period. The API returns
|
4329
4670
|
# a `NotEligible` error if the user is not permitted to invoke the
|
4330
|
-
# operation.
|
4331
|
-
# [aws-devicefarm-support@amazon.com](mailto:aws-devicefarm-support@amazon.com)
|
4332
|
-
# if you believe that you should be able to invoke this operation.
|
4671
|
+
# operation. If you must be able to invoke this operation, contact
|
4672
|
+
# [aws-devicefarm-support@amazon.com](mailto:aws-devicefarm-support@amazon.com).
|
4333
4673
|
#
|
4334
4674
|
# @option params [String] :offering_id
|
4335
4675
|
# The ID of a request to renew an offering.
|
@@ -4415,15 +4755,15 @@ module Aws::DeviceFarm
|
|
4415
4755
|
# The ARN of the project for the run to be scheduled.
|
4416
4756
|
#
|
4417
4757
|
# @option params [String] :app_arn
|
4418
|
-
# The ARN of
|
4758
|
+
# The ARN of an application package to run tests against, created with
|
4759
|
+
# CreateUpload. See ListUploads.
|
4419
4760
|
#
|
4420
4761
|
# @option params [String] :device_pool_arn
|
4421
4762
|
# The ARN of the device pool for the run to be scheduled.
|
4422
4763
|
#
|
4423
4764
|
# @option params [Types::DeviceSelectionConfiguration] :device_selection_configuration
|
4424
4765
|
# The filter criteria used to dynamically select a set of devices for a
|
4425
|
-
# test run
|
4426
|
-
# the run.
|
4766
|
+
# test run and the maximum number of devices to be included in the run.
|
4427
4767
|
#
|
4428
4768
|
# Either <b> <code>devicePoolArn</code> </b> or <b>
|
4429
4769
|
# <code>deviceSelectionConfiguration</code> </b> is required in a
|
@@ -4602,17 +4942,16 @@ module Aws::DeviceFarm
|
|
4602
4942
|
req.send_request(options)
|
4603
4943
|
end
|
4604
4944
|
|
4605
|
-
# Initiates a stop request for the current job. AWS Device Farm
|
4606
|
-
# immediately
|
4607
|
-
#
|
4608
|
-
#
|
4609
|
-
#
|
4610
|
-
# You will be billed for Setup, Teardown, and any tests that were in
|
4945
|
+
# Initiates a stop request for the current job. AWS Device Farm
|
4946
|
+
# immediately stops the job on the device where tests have not started.
|
4947
|
+
# You are not billed for this device. On the device where tests have
|
4948
|
+
# started, setup suite and teardown suite tests run to completion on the
|
4949
|
+
# device. You are billed for setup, teardown, and any tests that were in
|
4611
4950
|
# progress or already completed.
|
4612
4951
|
#
|
4613
4952
|
# @option params [required, String] :arn
|
4614
|
-
# Represents the Amazon Resource Name (ARN) of the Device Farm job
|
4615
|
-
#
|
4953
|
+
# Represents the Amazon Resource Name (ARN) of the Device Farm job to
|
4954
|
+
# stop.
|
4616
4955
|
#
|
4617
4956
|
# @return [Types::StopJobResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4618
4957
|
#
|
@@ -4698,8 +5037,7 @@ module Aws::DeviceFarm
|
|
4698
5037
|
# Ends a specified remote access session.
|
4699
5038
|
#
|
4700
5039
|
# @option params [required, String] :arn
|
4701
|
-
# The Amazon Resource Name (ARN) of the remote access session
|
4702
|
-
# to stop.
|
5040
|
+
# The Amazon Resource Name (ARN) of the remote access session to stop.
|
4703
5041
|
#
|
4704
5042
|
# @return [Types::StopRemoteAccessSessionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4705
5043
|
#
|
@@ -4783,16 +5121,15 @@ module Aws::DeviceFarm
|
|
4783
5121
|
end
|
4784
5122
|
|
4785
5123
|
# Initiates a stop request for the current test run. AWS Device Farm
|
4786
|
-
#
|
4787
|
-
#
|
4788
|
-
#
|
4789
|
-
#
|
4790
|
-
# devices. You will be billed for Setup, Teardown, and any tests that
|
5124
|
+
# immediately stops the run on devices where tests have not started. You
|
5125
|
+
# are not billed for these devices. On devices where tests have started
|
5126
|
+
# executing, setup suite and teardown suite tests run to completion on
|
5127
|
+
# those devices. You are billed for setup, teardown, and any tests that
|
4791
5128
|
# were in progress or already completed.
|
4792
5129
|
#
|
4793
5130
|
# @option params [required, String] :arn
|
4794
|
-
# Represents the Amazon Resource Name (ARN) of the Device Farm run
|
4795
|
-
#
|
5131
|
+
# Represents the Amazon Resource Name (ARN) of the Device Farm run to
|
5132
|
+
# stop.
|
4796
5133
|
#
|
4797
5134
|
# @return [Types::StopRunResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4798
5135
|
#
|
@@ -4899,26 +5236,26 @@ module Aws::DeviceFarm
|
|
4899
5236
|
# Associates the specified tags to a resource with the specified
|
4900
5237
|
# `resourceArn`. If existing tags on a resource are not specified in the
|
4901
5238
|
# request parameters, they are not changed. When a resource is deleted,
|
4902
|
-
# the tags associated with that resource are deleted
|
5239
|
+
# the tags associated with that resource are also deleted.
|
4903
5240
|
#
|
4904
5241
|
# @option params [required, String] :resource_arn
|
4905
|
-
# The Amazon Resource Name (ARN) of the resource
|
4906
|
-
# tags. You can associate tags with the following Device Farm
|
4907
|
-
# `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
|
5242
|
+
# The Amazon Resource Name (ARN) of the resource or resources to which
|
5243
|
+
# to add tags. You can associate tags with the following Device Farm
|
5244
|
+
# resources: `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
|
4908
5245
|
# `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`, `DEVICE`, and
|
4909
5246
|
# `VPCE_CONFIGURATION`.
|
4910
5247
|
#
|
4911
5248
|
# @option params [required, Array<Types::Tag>] :tags
|
4912
5249
|
# The tags to add to the resource. A tag is an array of key-value pairs.
|
4913
|
-
# Tag keys can have a maximum character length of 128 characters
|
4914
|
-
#
|
5250
|
+
# Tag keys can have a maximum character length of 128 characters. Tag
|
5251
|
+
# values can have a maximum length of 256 characters.
|
4915
5252
|
#
|
4916
5253
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4917
5254
|
#
|
4918
5255
|
# @example Request syntax with placeholder values
|
4919
5256
|
#
|
4920
5257
|
# resp = client.tag_resource({
|
4921
|
-
# resource_arn: "
|
5258
|
+
# resource_arn: "DeviceFarmArn", # required
|
4922
5259
|
# tags: [ # required
|
4923
5260
|
# {
|
4924
5261
|
# key: "TagKey", # required
|
@@ -4939,9 +5276,9 @@ module Aws::DeviceFarm
|
|
4939
5276
|
# Deletes the specified tags from a resource.
|
4940
5277
|
#
|
4941
5278
|
# @option params [required, String] :resource_arn
|
4942
|
-
# The Amazon Resource Name (ARN) of the resource
|
4943
|
-
# tags. You can associate tags with the following Device Farm
|
4944
|
-
# `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
|
5279
|
+
# The Amazon Resource Name (ARN) of the resource or resources from which
|
5280
|
+
# to delete tags. You can associate tags with the following Device Farm
|
5281
|
+
# resources: `PROJECT`, `RUN`, `NETWORK_PROFILE`, `INSTANCE_PROFILE`,
|
4945
5282
|
# `DEVICE_INSTANCE`, `SESSION`, `DEVICE_POOL`, `DEVICE`, and
|
4946
5283
|
# `VPCE_CONFIGURATION`.
|
4947
5284
|
#
|
@@ -4953,7 +5290,7 @@ module Aws::DeviceFarm
|
|
4953
5290
|
# @example Request syntax with placeholder values
|
4954
5291
|
#
|
4955
5292
|
# resp = client.untag_resource({
|
4956
|
-
# resource_arn: "
|
5293
|
+
# resource_arn: "DeviceFarmArn", # required
|
4957
5294
|
# tag_keys: ["TagKey"], # required
|
4958
5295
|
# })
|
4959
5296
|
#
|
@@ -4966,14 +5303,14 @@ module Aws::DeviceFarm
|
|
4966
5303
|
req.send_request(options)
|
4967
5304
|
end
|
4968
5305
|
|
4969
|
-
# Updates information about
|
5306
|
+
# Updates information about a private device instance.
|
4970
5307
|
#
|
4971
5308
|
# @option params [required, String] :arn
|
4972
5309
|
# The Amazon Resource Name (ARN) of the device instance.
|
4973
5310
|
#
|
4974
5311
|
# @option params [String] :profile_arn
|
4975
|
-
# The
|
4976
|
-
#
|
5312
|
+
# The ARN of the profile that you want to associate with the device
|
5313
|
+
# instance.
|
4977
5314
|
#
|
4978
5315
|
# @option params [Array<String>] :labels
|
4979
5316
|
# An array of strings that you want to associate with the device
|
@@ -5021,19 +5358,19 @@ module Aws::DeviceFarm
|
|
5021
5358
|
# they can only be updated as a whole (or not at all).
|
5022
5359
|
#
|
5023
5360
|
# @option params [required, String] :arn
|
5024
|
-
# The Amazon Resource Name (ARN) of the Device Farm device pool
|
5025
|
-
#
|
5361
|
+
# The Amazon Resource Name (ARN) of the Device Farm device pool to
|
5362
|
+
# update.
|
5026
5363
|
#
|
5027
5364
|
# @option params [String] :name
|
5028
|
-
# A string
|
5365
|
+
# A string that represents the name of the device pool to update.
|
5029
5366
|
#
|
5030
5367
|
# @option params [String] :description
|
5031
|
-
# A description of the device pool
|
5368
|
+
# A description of the device pool to update.
|
5032
5369
|
#
|
5033
5370
|
# @option params [Array<Types::Rule>] :rules
|
5034
|
-
# Represents the rules
|
5035
|
-
#
|
5036
|
-
#
|
5371
|
+
# Represents the rules to modify for the device pool. Updating rules is
|
5372
|
+
# optional. If you update rules for your request, the update replaces
|
5373
|
+
# the existing rules.
|
5037
5374
|
#
|
5038
5375
|
# @option params [Integer] :max_devices
|
5039
5376
|
# The number of devices that Device Farm can add to your device pool.
|
@@ -5053,8 +5390,8 @@ module Aws::DeviceFarm
|
|
5053
5390
|
# If you set this parameter to `true`, the `maxDevices` parameter does
|
5054
5391
|
# not apply, and Device Farm does not limit the number of devices that
|
5055
5392
|
# it adds to your device pool. In this case, Device Farm adds all
|
5056
|
-
# available devices that meet the criteria
|
5057
|
-
#
|
5393
|
+
# available devices that meet the criteria specified in the `rules`
|
5394
|
+
# parameter.
|
5058
5395
|
#
|
5059
5396
|
# If you use this parameter in your request, you cannot use the
|
5060
5397
|
# `maxDevices` parameter in the same request.
|
@@ -5142,8 +5479,8 @@ module Aws::DeviceFarm
|
|
5142
5479
|
# The default value is `false` for private devices.
|
5143
5480
|
#
|
5144
5481
|
# @option params [Array<String>] :exclude_app_packages_from_cleanup
|
5145
|
-
# An array of strings
|
5146
|
-
# not be cleaned up from the device after a test run is over.
|
5482
|
+
# An array of strings that specifies the list of app packages that
|
5483
|
+
# should not be cleaned up from the device after a test run is over.
|
5147
5484
|
#
|
5148
5485
|
# The list of packages is only considered if you set `packageCleanup` to
|
5149
5486
|
# `true`.
|
@@ -5186,7 +5523,7 @@ module Aws::DeviceFarm
|
|
5186
5523
|
req.send_request(options)
|
5187
5524
|
end
|
5188
5525
|
|
5189
|
-
# Updates the network profile
|
5526
|
+
# Updates the network profile.
|
5190
5527
|
#
|
5191
5528
|
# @option params [required, String] :arn
|
5192
5529
|
# The Amazon Resource Name (ARN) of the project for which you want to
|
@@ -5201,8 +5538,8 @@ module Aws::DeviceFarm
|
|
5201
5538
|
# information.
|
5202
5539
|
#
|
5203
5540
|
# @option params [String] :type
|
5204
|
-
# The type of network profile
|
5205
|
-
#
|
5541
|
+
# The type of network profile to return information about. Valid values
|
5542
|
+
# are listed here.
|
5206
5543
|
#
|
5207
5544
|
# @option params [Integer] :uplink_bandwidth_bits
|
5208
5545
|
# The data throughput rate in bits per second, as an integer from 0 to
|
@@ -5285,15 +5622,14 @@ module Aws::DeviceFarm
|
|
5285
5622
|
# name.
|
5286
5623
|
#
|
5287
5624
|
# @option params [required, String] :arn
|
5288
|
-
# The Amazon Resource Name (ARN) of the project whose name
|
5289
|
-
# update.
|
5625
|
+
# The Amazon Resource Name (ARN) of the project whose name to update.
|
5290
5626
|
#
|
5291
5627
|
# @option params [String] :name
|
5292
|
-
# A string
|
5628
|
+
# A string that represents the new name of the project that you are
|
5293
5629
|
# updating.
|
5294
5630
|
#
|
5295
5631
|
# @option params [Integer] :default_job_timeout_minutes
|
5296
|
-
# The number of minutes a test run in the project
|
5632
|
+
# The number of minutes a test run in the project executes before it
|
5297
5633
|
# times out.
|
5298
5634
|
#
|
5299
5635
|
# @return [Types::UpdateProjectResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -5343,22 +5679,61 @@ module Aws::DeviceFarm
|
|
5343
5679
|
req.send_request(options)
|
5344
5680
|
end
|
5345
5681
|
|
5346
|
-
#
|
5682
|
+
# Change details of a project.
|
5683
|
+
#
|
5684
|
+
# @option params [required, String] :project_arn
|
5685
|
+
# ARN of the project to update.
|
5686
|
+
#
|
5687
|
+
# @option params [String] :name
|
5688
|
+
# Human-readable name for the project.
|
5689
|
+
#
|
5690
|
+
# @option params [String] :description
|
5691
|
+
# Human-readable description for the project.
|
5692
|
+
#
|
5693
|
+
# @return [Types::UpdateTestGridProjectResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5694
|
+
#
|
5695
|
+
# * {Types::UpdateTestGridProjectResult#test_grid_project #test_grid_project} => Types::TestGridProject
|
5696
|
+
#
|
5697
|
+
# @example Request syntax with placeholder values
|
5698
|
+
#
|
5699
|
+
# resp = client.update_test_grid_project({
|
5700
|
+
# project_arn: "DeviceFarmArn", # required
|
5701
|
+
# name: "ResourceName",
|
5702
|
+
# description: "ResourceDescription",
|
5703
|
+
# })
|
5704
|
+
#
|
5705
|
+
# @example Response structure
|
5706
|
+
#
|
5707
|
+
# resp.test_grid_project.arn #=> String
|
5708
|
+
# resp.test_grid_project.name #=> String
|
5709
|
+
# resp.test_grid_project.description #=> String
|
5710
|
+
# resp.test_grid_project.created #=> Time
|
5711
|
+
#
|
5712
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateTestGridProject AWS API Documentation
|
5713
|
+
#
|
5714
|
+
# @overload update_test_grid_project(params = {})
|
5715
|
+
# @param [Hash] params ({})
|
5716
|
+
def update_test_grid_project(params = {}, options = {})
|
5717
|
+
req = build_request(:update_test_grid_project, params)
|
5718
|
+
req.send_request(options)
|
5719
|
+
end
|
5720
|
+
|
5721
|
+
# Updates an uploaded test spec.
|
5347
5722
|
#
|
5348
5723
|
# @option params [required, String] :arn
|
5349
5724
|
# The Amazon Resource Name (ARN) of the uploaded test spec.
|
5350
5725
|
#
|
5351
5726
|
# @option params [String] :name
|
5352
|
-
# The upload's test spec file name. The name
|
5353
|
-
#
|
5354
|
-
# `.yml` file extension.
|
5727
|
+
# The upload's test spec file name. The name must not contain any
|
5728
|
+
# forward slashes (/). The test spec file name must end with the `.yaml`
|
5729
|
+
# or `.yml` file extension.
|
5355
5730
|
#
|
5356
5731
|
# @option params [String] :content_type
|
5357
|
-
# The upload's content type (for example,
|
5732
|
+
# The upload's content type (for example, `application/x-yaml`).
|
5358
5733
|
#
|
5359
5734
|
# @option params [Boolean] :edit_content
|
5360
|
-
# Set to true if the YAML file has changed and
|
5361
|
-
#
|
5735
|
+
# Set to true if the YAML file has changed and must be updated.
|
5736
|
+
# Otherwise, set to false.
|
5362
5737
|
#
|
5363
5738
|
# @return [Types::UpdateUploadResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5364
5739
|
#
|
@@ -5395,28 +5770,28 @@ module Aws::DeviceFarm
|
|
5395
5770
|
req.send_request(options)
|
5396
5771
|
end
|
5397
5772
|
|
5398
|
-
# Updates information about an
|
5399
|
-
#
|
5773
|
+
# Updates information about an Amazon Virtual Private Cloud (VPC)
|
5774
|
+
# endpoint configuration.
|
5400
5775
|
#
|
5401
5776
|
# @option params [required, String] :arn
|
5402
5777
|
# The Amazon Resource Name (ARN) of the VPC endpoint configuration you
|
5403
5778
|
# want to update.
|
5404
5779
|
#
|
5405
5780
|
# @option params [String] :vpce_configuration_name
|
5406
|
-
# The friendly name you give to your VPC endpoint configuration
|
5781
|
+
# The friendly name you give to your VPC endpoint configuration to
|
5407
5782
|
# manage your configurations more easily.
|
5408
5783
|
#
|
5409
5784
|
# @option params [String] :vpce_service_name
|
5410
|
-
# The name of the VPC endpoint service running
|
5411
|
-
#
|
5785
|
+
# The name of the VPC endpoint service running in your AWS account that
|
5786
|
+
# you want Device Farm to test.
|
5412
5787
|
#
|
5413
5788
|
# @option params [String] :service_dns_name
|
5414
5789
|
# The DNS (domain) name used to connect to your private service in your
|
5415
|
-
#
|
5790
|
+
# VPC. The DNS name must not already be in use on the internet.
|
5416
5791
|
#
|
5417
5792
|
# @option params [String] :vpce_configuration_description
|
5418
|
-
# An optional description
|
5419
|
-
#
|
5793
|
+
# An optional description that provides details about your VPC endpoint
|
5794
|
+
# configuration.
|
5420
5795
|
#
|
5421
5796
|
# @return [Types::UpdateVPCEConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5422
5797
|
#
|
@@ -5462,7 +5837,7 @@ module Aws::DeviceFarm
|
|
5462
5837
|
params: params,
|
5463
5838
|
config: config)
|
5464
5839
|
context[:gem_name] = 'aws-sdk-devicefarm'
|
5465
|
-
context[:gem_version] = '1.
|
5840
|
+
context[:gem_version] = '1.30.0'
|
5466
5841
|
Seahorse::Client::Request.new(handlers, context)
|
5467
5842
|
end
|
5468
5843
|
|