@aws-sdk/client-device-farm 3.288.0 → 3.290.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.
Files changed (78) hide show
  1. package/dist-types/commands/CreateDevicePoolCommand.d.ts +32 -0
  2. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +13 -0
  3. package/dist-types/commands/CreateNetworkProfileCommand.d.ts +13 -0
  4. package/dist-types/commands/CreateProjectCommand.d.ts +36 -0
  5. package/dist-types/commands/CreateRemoteAccessSessionCommand.d.ts +34 -0
  6. package/dist-types/commands/CreateTestGridProjectCommand.d.ts +11 -0
  7. package/dist-types/commands/CreateTestGridUrlCommand.d.ts +11 -0
  8. package/dist-types/commands/CreateUploadCommand.d.ts +38 -0
  9. package/dist-types/commands/CreateVPCEConfigurationCommand.d.ts +10 -0
  10. package/dist-types/commands/DeleteDevicePoolCommand.d.ts +24 -0
  11. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +13 -0
  12. package/dist-types/commands/DeleteNetworkProfileCommand.d.ts +13 -0
  13. package/dist-types/commands/DeleteProjectCommand.d.ts +24 -0
  14. package/dist-types/commands/DeleteRemoteAccessSessionCommand.d.ts +24 -0
  15. package/dist-types/commands/DeleteRunCommand.d.ts +24 -0
  16. package/dist-types/commands/DeleteTestGridProjectCommand.d.ts +14 -0
  17. package/dist-types/commands/DeleteUploadCommand.d.ts +24 -0
  18. package/dist-types/commands/DeleteVPCEConfigurationCommand.d.ts +14 -0
  19. package/dist-types/commands/GetAccountSettingsCommand.d.ts +33 -0
  20. package/dist-types/commands/GetDeviceCommand.d.ts +49 -0
  21. package/dist-types/commands/GetDeviceInstanceCommand.d.ts +13 -0
  22. package/dist-types/commands/GetDevicePoolCommand.d.ts +29 -0
  23. package/dist-types/commands/GetDevicePoolCompatibilityCommand.d.ts +32 -0
  24. package/dist-types/commands/GetInstanceProfileCommand.d.ts +13 -0
  25. package/dist-types/commands/GetJobCommand.d.ts +29 -0
  26. package/dist-types/commands/GetNetworkProfileCommand.d.ts +13 -0
  27. package/dist-types/commands/GetOfferingStatusCommand.d.ts +55 -0
  28. package/dist-types/commands/GetProjectCommand.d.ts +33 -0
  29. package/dist-types/commands/GetRemoteAccessSessionCommand.d.ts +29 -0
  30. package/dist-types/commands/GetRunCommand.d.ts +54 -0
  31. package/dist-types/commands/GetSuiteCommand.d.ts +29 -0
  32. package/dist-types/commands/GetTestCommand.d.ts +29 -0
  33. package/dist-types/commands/GetTestGridProjectCommand.d.ts +11 -0
  34. package/dist-types/commands/GetTestGridSessionCommand.d.ts +11 -0
  35. package/dist-types/commands/GetUploadCommand.d.ts +29 -0
  36. package/dist-types/commands/GetVPCEConfigurationCommand.d.ts +10 -0
  37. package/dist-types/commands/InstallToRemoteAccessSessionCommand.d.ts +30 -0
  38. package/dist-types/commands/ListArtifactsCommand.d.ts +25 -0
  39. package/dist-types/commands/ListDeviceInstancesCommand.d.ts +13 -0
  40. package/dist-types/commands/ListDevicePoolsCommand.d.ts +55 -0
  41. package/dist-types/commands/ListDevicesCommand.d.ts +24 -0
  42. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +13 -0
  43. package/dist-types/commands/ListJobsCommand.d.ts +24 -0
  44. package/dist-types/commands/ListNetworkProfilesCommand.d.ts +13 -0
  45. package/dist-types/commands/ListOfferingPromotionsCommand.d.ts +17 -0
  46. package/dist-types/commands/ListOfferingTransactionsCommand.d.ts +110 -0
  47. package/dist-types/commands/ListOfferingsCommand.d.ts +94 -0
  48. package/dist-types/commands/ListProjectsCommand.d.ts +41 -0
  49. package/dist-types/commands/ListRemoteAccessSessionsCommand.d.ts +30 -0
  50. package/dist-types/commands/ListRunsCommand.d.ts +57 -0
  51. package/dist-types/commands/ListSamplesCommand.d.ts +30 -0
  52. package/dist-types/commands/ListSuitesCommand.d.ts +30 -0
  53. package/dist-types/commands/ListTagsForResourceCommand.d.ts +10 -0
  54. package/dist-types/commands/ListTestGridProjectsCommand.d.ts +8 -0
  55. package/dist-types/commands/ListTestGridSessionActionsCommand.d.ts +11 -0
  56. package/dist-types/commands/ListTestGridSessionArtifactsCommand.d.ts +11 -0
  57. package/dist-types/commands/ListTestGridSessionsCommand.d.ts +11 -0
  58. package/dist-types/commands/ListTestsCommand.d.ts +30 -0
  59. package/dist-types/commands/ListUniqueProblemsCommand.d.ts +30 -0
  60. package/dist-types/commands/ListUploadsCommand.d.ts +30 -0
  61. package/dist-types/commands/ListVPCEConfigurationsCommand.d.ts +7 -0
  62. package/dist-types/commands/PurchaseOfferingCommand.d.ts +52 -0
  63. package/dist-types/commands/RenewOfferingCommand.d.ts +52 -0
  64. package/dist-types/commands/ScheduleRunCommand.d.ts +38 -0
  65. package/dist-types/commands/StopJobCommand.d.ts +13 -0
  66. package/dist-types/commands/StopRemoteAccessSessionCommand.d.ts +13 -0
  67. package/dist-types/commands/StopRunCommand.d.ts +29 -0
  68. package/dist-types/commands/TagResourceCommand.d.ts +18 -0
  69. package/dist-types/commands/UntagResourceCommand.d.ts +10 -0
  70. package/dist-types/commands/UpdateDeviceInstanceCommand.d.ts +13 -0
  71. package/dist-types/commands/UpdateDevicePoolCommand.d.ts +38 -0
  72. package/dist-types/commands/UpdateInstanceProfileCommand.d.ts +13 -0
  73. package/dist-types/commands/UpdateNetworkProfileCommand.d.ts +13 -0
  74. package/dist-types/commands/UpdateProjectCommand.d.ts +34 -0
  75. package/dist-types/commands/UpdateTestGridProjectCommand.d.ts +14 -0
  76. package/dist-types/commands/UpdateUploadCommand.d.ts +13 -0
  77. package/dist-types/commands/UpdateVPCEConfigurationCommand.d.ts +14 -0
  78. package/package.json +29 -29
@@ -29,6 +29,17 @@ export interface ListTestGridSessionActionsCommandOutput extends ListTestGridSes
29
29
  * @see {@link ListTestGridSessionActionsCommandOutput} for command's `response` shape.
30
30
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
31
31
  *
32
+ * @throws {@link ArgumentException} (client fault)
33
+ * <p>An invalid argument was specified.</p>
34
+ *
35
+ * @throws {@link InternalServiceException} (server fault)
36
+ * <p>An internal exception was raised in the service. Contact <a href="mailto:aws-devicefarm-support@amazon.com">aws-devicefarm-support@amazon.com</a> if you see this
37
+ * error. </p>
38
+ *
39
+ * @throws {@link NotFoundException} (client fault)
40
+ * <p>The specified entity was not found.</p>
41
+ *
42
+ *
32
43
  */
33
44
  export declare class ListTestGridSessionActionsCommand extends $Command<ListTestGridSessionActionsCommandInput, ListTestGridSessionActionsCommandOutput, DeviceFarmClientResolvedConfig> {
34
45
  readonly input: ListTestGridSessionActionsCommandInput;
@@ -29,6 +29,17 @@ export interface ListTestGridSessionArtifactsCommandOutput extends ListTestGridS
29
29
  * @see {@link ListTestGridSessionArtifactsCommandOutput} for command's `response` shape.
30
30
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
31
31
  *
32
+ * @throws {@link ArgumentException} (client fault)
33
+ * <p>An invalid argument was specified.</p>
34
+ *
35
+ * @throws {@link InternalServiceException} (server fault)
36
+ * <p>An internal exception was raised in the service. Contact <a href="mailto:aws-devicefarm-support@amazon.com">aws-devicefarm-support@amazon.com</a> if you see this
37
+ * error. </p>
38
+ *
39
+ * @throws {@link NotFoundException} (client fault)
40
+ * <p>The specified entity was not found.</p>
41
+ *
42
+ *
32
43
  */
33
44
  export declare class ListTestGridSessionArtifactsCommand extends $Command<ListTestGridSessionArtifactsCommandInput, ListTestGridSessionArtifactsCommandOutput, DeviceFarmClientResolvedConfig> {
34
45
  readonly input: ListTestGridSessionArtifactsCommandInput;
@@ -29,6 +29,17 @@ export interface ListTestGridSessionsCommandOutput extends ListTestGridSessionsR
29
29
  * @see {@link ListTestGridSessionsCommandOutput} for command's `response` shape.
30
30
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
31
31
  *
32
+ * @throws {@link ArgumentException} (client fault)
33
+ * <p>An invalid argument was specified.</p>
34
+ *
35
+ * @throws {@link InternalServiceException} (server fault)
36
+ * <p>An internal exception was raised in the service. Contact <a href="mailto:aws-devicefarm-support@amazon.com">aws-devicefarm-support@amazon.com</a> if you see this
37
+ * error. </p>
38
+ *
39
+ * @throws {@link NotFoundException} (client fault)
40
+ * <p>The specified entity was not found.</p>
41
+ *
42
+ *
32
43
  */
33
44
  export declare class ListTestGridSessionsCommand extends $Command<ListTestGridSessionsCommandInput, ListTestGridSessionsCommandOutput, DeviceFarmClientResolvedConfig> {
34
45
  readonly input: ListTestGridSessionsCommandInput;
@@ -29,6 +29,36 @@ export interface ListTestsCommandOutput extends ListTestsResult, __MetadataBeare
29
29
  * @see {@link ListTestsCommandOutput} for command's `response` shape.
30
30
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
31
31
  *
32
+ * @throws {@link ArgumentException} (client fault)
33
+ * <p>An invalid argument was specified.</p>
34
+ *
35
+ * @throws {@link LimitExceededException} (client fault)
36
+ * <p>A limit was exceeded.</p>
37
+ *
38
+ * @throws {@link NotFoundException} (client fault)
39
+ * <p>The specified entity was not found.</p>
40
+ *
41
+ * @throws {@link ServiceAccountException} (client fault)
42
+ * <p>There was a problem with the service account.</p>
43
+ *
44
+ *
45
+ * @example To get information about tests
46
+ * ```javascript
47
+ * // The following example returns information about tests, given a specific Device Farm project.
48
+ * const input = {
49
+ * "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456",
50
+ * "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE"
51
+ * };
52
+ * const command = new ListTestsCommand(input);
53
+ * const response = await client.send(command);
54
+ * /* response ==
55
+ * {
56
+ * "tests": []
57
+ * }
58
+ * *\/
59
+ * // example id: to-get-information-about-tests-1472617372212
60
+ * ```
61
+ *
32
62
  */
33
63
  export declare class ListTestsCommand extends $Command<ListTestsCommandInput, ListTestsCommandOutput, DeviceFarmClientResolvedConfig> {
34
64
  readonly input: ListTestsCommandInput;
@@ -33,6 +33,36 @@ export interface ListUniqueProblemsCommandOutput extends ListUniqueProblemsResul
33
33
  * @see {@link ListUniqueProblemsCommandOutput} for command's `response` shape.
34
34
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
35
35
  *
36
+ * @throws {@link ArgumentException} (client fault)
37
+ * <p>An invalid argument was specified.</p>
38
+ *
39
+ * @throws {@link LimitExceededException} (client fault)
40
+ * <p>A limit was exceeded.</p>
41
+ *
42
+ * @throws {@link NotFoundException} (client fault)
43
+ * <p>The specified entity was not found.</p>
44
+ *
45
+ * @throws {@link ServiceAccountException} (client fault)
46
+ * <p>There was a problem with the service account.</p>
47
+ *
48
+ *
49
+ * @example To get information about unique problems
50
+ * ```javascript
51
+ * // The following example returns information about unique problems, given a specific Device Farm project.
52
+ * const input = {
53
+ * "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456",
54
+ * "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE"
55
+ * };
56
+ * const command = new ListUniqueProblemsCommand(input);
57
+ * const response = await client.send(command);
58
+ * /* response ==
59
+ * {
60
+ * "uniqueProblems": {}
61
+ * }
62
+ * *\/
63
+ * // example id: to-get-information-about-unique-problems-1472617781008
64
+ * ```
65
+ *
36
66
  */
37
67
  export declare class ListUniqueProblemsCommand extends $Command<ListUniqueProblemsCommandInput, ListUniqueProblemsCommandOutput, DeviceFarmClientResolvedConfig> {
38
68
  readonly input: ListUniqueProblemsCommandInput;
@@ -29,6 +29,36 @@ export interface ListUploadsCommandOutput extends ListUploadsResult, __MetadataB
29
29
  * @see {@link ListUploadsCommandOutput} for command's `response` shape.
30
30
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
31
31
  *
32
+ * @throws {@link ArgumentException} (client fault)
33
+ * <p>An invalid argument was specified.</p>
34
+ *
35
+ * @throws {@link LimitExceededException} (client fault)
36
+ * <p>A limit was exceeded.</p>
37
+ *
38
+ * @throws {@link NotFoundException} (client fault)
39
+ * <p>The specified entity was not found.</p>
40
+ *
41
+ * @throws {@link ServiceAccountException} (client fault)
42
+ * <p>There was a problem with the service account.</p>
43
+ *
44
+ *
45
+ * @example To get information about uploads
46
+ * ```javascript
47
+ * // The following example returns information about uploads, given a specific Device Farm project.
48
+ * const input = {
49
+ * "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456",
50
+ * "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE"
51
+ * };
52
+ * const command = new ListUploadsCommand(input);
53
+ * const response = await client.send(command);
54
+ * /* response ==
55
+ * {
56
+ * "uploads": []
57
+ * }
58
+ * *\/
59
+ * // example id: to-get-information-about-uploads-1472617943090
60
+ * ```
61
+ *
32
62
  */
33
63
  export declare class ListUploadsCommand extends $Command<ListUploadsCommandInput, ListUploadsCommandOutput, DeviceFarmClientResolvedConfig> {
34
64
  readonly input: ListUploadsCommandInput;
@@ -30,6 +30,13 @@ export interface ListVPCEConfigurationsCommandOutput extends ListVPCEConfigurati
30
30
  * @see {@link ListVPCEConfigurationsCommandOutput} for command's `response` shape.
31
31
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
32
32
  *
33
+ * @throws {@link ArgumentException} (client fault)
34
+ * <p>An invalid argument was specified.</p>
35
+ *
36
+ * @throws {@link ServiceAccountException} (client fault)
37
+ * <p>There was a problem with the service account.</p>
38
+ *
39
+ *
33
40
  */
34
41
  export declare class ListVPCEConfigurationsCommand extends $Command<ListVPCEConfigurationsCommandInput, ListVPCEConfigurationsCommandOutput, DeviceFarmClientResolvedConfig> {
35
42
  readonly input: ListVPCEConfigurationsCommandInput;
@@ -32,6 +32,58 @@ export interface PurchaseOfferingCommandOutput extends PurchaseOfferingResult, _
32
32
  * @see {@link PurchaseOfferingCommandOutput} for command's `response` shape.
33
33
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
34
34
  *
35
+ * @throws {@link ArgumentException} (client fault)
36
+ * <p>An invalid argument was specified.</p>
37
+ *
38
+ * @throws {@link LimitExceededException} (client fault)
39
+ * <p>A limit was exceeded.</p>
40
+ *
41
+ * @throws {@link NotEligibleException} (client fault)
42
+ * <p>Exception gets thrown when a user is not eligible to perform the specified
43
+ * transaction.</p>
44
+ *
45
+ * @throws {@link NotFoundException} (client fault)
46
+ * <p>The specified entity was not found.</p>
47
+ *
48
+ * @throws {@link ServiceAccountException} (client fault)
49
+ * <p>There was a problem with the service account.</p>
50
+ *
51
+ *
52
+ * @example To purchase a device slot offering
53
+ * ```javascript
54
+ * // The following example purchases a specific device slot offering.
55
+ * const input = {
56
+ * "offeringId": "D68B3C05-1BA6-4360-BC69-12345EXAMPLE",
57
+ * "quantity": 1
58
+ * };
59
+ * const command = new PurchaseOfferingCommand(input);
60
+ * const response = await client.send(command);
61
+ * /* response ==
62
+ * {
63
+ * "offeringTransaction": {
64
+ * "cost": {
65
+ * "amount": 8.07,
66
+ * "currencyCode": "USD"
67
+ * },
68
+ * "createdOn": "1472648340",
69
+ * "offeringStatus": {
70
+ * "type": "PURCHASE",
71
+ * "effectiveOn": "1472648340",
72
+ * "offering": {
73
+ * "type": "RECURRING",
74
+ * "description": "Android Remote Access Unmetered Device Slot",
75
+ * "id": "D68B3C05-1BA6-4360-BC69-12345EXAMPLE",
76
+ * "platform": "ANDROID"
77
+ * },
78
+ * "quantity": 1
79
+ * },
80
+ * "transactionId": "d30614ed-1b03-404c-9893-12345EXAMPLE"
81
+ * }
82
+ * }
83
+ * *\/
84
+ * // example id: to-purchase-a-device-slot-offering-1472648146343
85
+ * ```
86
+ *
35
87
  */
36
88
  export declare class PurchaseOfferingCommand extends $Command<PurchaseOfferingCommandInput, PurchaseOfferingCommandOutput, DeviceFarmClientResolvedConfig> {
37
89
  readonly input: PurchaseOfferingCommandInput;
@@ -31,6 +31,58 @@ export interface RenewOfferingCommandOutput extends RenewOfferingResult, __Metad
31
31
  * @see {@link RenewOfferingCommandOutput} for command's `response` shape.
32
32
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
33
33
  *
34
+ * @throws {@link ArgumentException} (client fault)
35
+ * <p>An invalid argument was specified.</p>
36
+ *
37
+ * @throws {@link LimitExceededException} (client fault)
38
+ * <p>A limit was exceeded.</p>
39
+ *
40
+ * @throws {@link NotEligibleException} (client fault)
41
+ * <p>Exception gets thrown when a user is not eligible to perform the specified
42
+ * transaction.</p>
43
+ *
44
+ * @throws {@link NotFoundException} (client fault)
45
+ * <p>The specified entity was not found.</p>
46
+ *
47
+ * @throws {@link ServiceAccountException} (client fault)
48
+ * <p>There was a problem with the service account.</p>
49
+ *
50
+ *
51
+ * @example To renew a device slot offering
52
+ * ```javascript
53
+ * // The following example renews a specific device slot offering.
54
+ * const input = {
55
+ * "offeringId": "D68B3C05-1BA6-4360-BC69-12345EXAMPLE",
56
+ * "quantity": 1
57
+ * };
58
+ * const command = new RenewOfferingCommand(input);
59
+ * const response = await client.send(command);
60
+ * /* response ==
61
+ * {
62
+ * "offeringTransaction": {
63
+ * "cost": {
64
+ * "amount": 250,
65
+ * "currencyCode": "USD"
66
+ * },
67
+ * "createdOn": "1472648880",
68
+ * "offeringStatus": {
69
+ * "type": "RENEW",
70
+ * "effectiveOn": "1472688000",
71
+ * "offering": {
72
+ * "type": "RECURRING",
73
+ * "description": "Android Remote Access Unmetered Device Slot",
74
+ * "id": "D68B3C05-1BA6-4360-BC69-12345EXAMPLE",
75
+ * "platform": "ANDROID"
76
+ * },
77
+ * "quantity": 1
78
+ * },
79
+ * "transactionId": "e90f1405-8c35-4561-be43-12345EXAMPLE"
80
+ * }
81
+ * }
82
+ * *\/
83
+ * // example id: to-renew-a-device-slot-offering-1472648899785
84
+ * ```
85
+ *
34
86
  */
35
87
  export declare class RenewOfferingCommand extends $Command<RenewOfferingCommandInput, RenewOfferingCommandOutput, DeviceFarmClientResolvedConfig> {
36
88
  readonly input: RenewOfferingCommandInput;
@@ -29,6 +29,44 @@ export interface ScheduleRunCommandOutput extends ScheduleRunResult, __MetadataB
29
29
  * @see {@link ScheduleRunCommandOutput} for command's `response` shape.
30
30
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
31
31
  *
32
+ * @throws {@link ArgumentException} (client fault)
33
+ * <p>An invalid argument was specified.</p>
34
+ *
35
+ * @throws {@link IdempotencyException} (client fault)
36
+ * <p>An entity with the same name already exists.</p>
37
+ *
38
+ * @throws {@link LimitExceededException} (client fault)
39
+ * <p>A limit was exceeded.</p>
40
+ *
41
+ * @throws {@link NotFoundException} (client fault)
42
+ * <p>The specified entity was not found.</p>
43
+ *
44
+ * @throws {@link ServiceAccountException} (client fault)
45
+ * <p>There was a problem with the service account.</p>
46
+ *
47
+ *
48
+ * @example To schedule a test run
49
+ * ```javascript
50
+ * // The following example schedules a test run named MyRun.
51
+ * const input = {
52
+ * "name": "MyRun",
53
+ * "devicePoolArn": "arn:aws:devicefarm:us-west-2:123456789101:pool:EXAMPLE-GUID-123-456",
54
+ * "projectArn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456",
55
+ * "test": {
56
+ * "type": "APPIUM_JAVA_JUNIT",
57
+ * "testPackageArn": "arn:aws:devicefarm:us-west-2:123456789101:test:EXAMPLE-GUID-123-456"
58
+ * }
59
+ * };
60
+ * const command = new ScheduleRunCommand(input);
61
+ * const response = await client.send(command);
62
+ * /* response ==
63
+ * {
64
+ * "run": {}
65
+ * }
66
+ * *\/
67
+ * // example id: to-schedule-a-test-run-1472652429636
68
+ * ```
69
+ *
32
70
  */
33
71
  export declare class ScheduleRunCommand extends $Command<ScheduleRunCommandInput, ScheduleRunCommandOutput, DeviceFarmClientResolvedConfig> {
34
72
  readonly input: ScheduleRunCommandInput;
@@ -32,6 +32,19 @@ export interface StopJobCommandOutput extends StopJobResult, __MetadataBearer {
32
32
  * @see {@link StopJobCommandOutput} for command's `response` shape.
33
33
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
34
34
  *
35
+ * @throws {@link ArgumentException} (client fault)
36
+ * <p>An invalid argument was specified.</p>
37
+ *
38
+ * @throws {@link LimitExceededException} (client fault)
39
+ * <p>A limit was exceeded.</p>
40
+ *
41
+ * @throws {@link NotFoundException} (client fault)
42
+ * <p>The specified entity was not found.</p>
43
+ *
44
+ * @throws {@link ServiceAccountException} (client fault)
45
+ * <p>There was a problem with the service account.</p>
46
+ *
47
+ *
35
48
  */
36
49
  export declare class StopJobCommand extends $Command<StopJobCommandInput, StopJobCommandOutput, DeviceFarmClientResolvedConfig> {
37
50
  readonly input: StopJobCommandInput;
@@ -29,6 +29,19 @@ export interface StopRemoteAccessSessionCommandOutput extends StopRemoteAccessSe
29
29
  * @see {@link StopRemoteAccessSessionCommandOutput} for command's `response` shape.
30
30
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
31
31
  *
32
+ * @throws {@link ArgumentException} (client fault)
33
+ * <p>An invalid argument was specified.</p>
34
+ *
35
+ * @throws {@link LimitExceededException} (client fault)
36
+ * <p>A limit was exceeded.</p>
37
+ *
38
+ * @throws {@link NotFoundException} (client fault)
39
+ * <p>The specified entity was not found.</p>
40
+ *
41
+ * @throws {@link ServiceAccountException} (client fault)
42
+ * <p>There was a problem with the service account.</p>
43
+ *
44
+ *
32
45
  */
33
46
  export declare class StopRemoteAccessSessionCommand extends $Command<StopRemoteAccessSessionCommandInput, StopRemoteAccessSessionCommandOutput, DeviceFarmClientResolvedConfig> {
34
47
  readonly input: StopRemoteAccessSessionCommandInput;
@@ -32,6 +32,35 @@ export interface StopRunCommandOutput extends StopRunResult, __MetadataBearer {
32
32
  * @see {@link StopRunCommandOutput} for command's `response` shape.
33
33
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
34
34
  *
35
+ * @throws {@link ArgumentException} (client fault)
36
+ * <p>An invalid argument was specified.</p>
37
+ *
38
+ * @throws {@link LimitExceededException} (client fault)
39
+ * <p>A limit was exceeded.</p>
40
+ *
41
+ * @throws {@link NotFoundException} (client fault)
42
+ * <p>The specified entity was not found.</p>
43
+ *
44
+ * @throws {@link ServiceAccountException} (client fault)
45
+ * <p>There was a problem with the service account.</p>
46
+ *
47
+ *
48
+ * @example To stop a test run
49
+ * ```javascript
50
+ * // The following example stops a specific test run.
51
+ * const input = {
52
+ * "arn": "arn:aws:devicefarm:us-west-2:123456789101:run:EXAMPLE-GUID-123-456"
53
+ * };
54
+ * const command = new StopRunCommand(input);
55
+ * const response = await client.send(command);
56
+ * /* response ==
57
+ * {
58
+ * "run": {}
59
+ * }
60
+ * *\/
61
+ * // example id: to-stop-a-test-run-1472653770340
62
+ * ```
63
+ *
35
64
  */
36
65
  export declare class StopRunCommand extends $Command<StopRunCommandInput, StopRunCommandOutput, DeviceFarmClientResolvedConfig> {
37
66
  readonly input: StopRunCommandInput;
@@ -31,6 +31,24 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
31
31
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
32
32
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
33
33
  *
34
+ * @throws {@link ArgumentException} (client fault)
35
+ * <p>An invalid argument was specified.</p>
36
+ *
37
+ * @throws {@link NotFoundException} (client fault)
38
+ * <p>The specified entity was not found.</p>
39
+ *
40
+ * @throws {@link TagOperationException} (client fault)
41
+ * <p>The operation was not successful. Try again.</p>
42
+ *
43
+ * @throws {@link TagPolicyException} (client fault)
44
+ * <p>The request doesn't comply with the AWS Identity and Access Management (IAM) tag
45
+ * policy. Correct your request and then retry it.</p>
46
+ *
47
+ * @throws {@link TooManyTagsException} (client fault)
48
+ * <p>The list of tags on the repository is over the limit. The maximum number of tags that
49
+ * can be applied to a repository is 50. </p>
50
+ *
51
+ *
34
52
  */
35
53
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, DeviceFarmClientResolvedConfig> {
36
54
  readonly input: TagResourceCommandInput;
@@ -29,6 +29,16 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
29
29
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
31
31
  *
32
+ * @throws {@link ArgumentException} (client fault)
33
+ * <p>An invalid argument was specified.</p>
34
+ *
35
+ * @throws {@link NotFoundException} (client fault)
36
+ * <p>The specified entity was not found.</p>
37
+ *
38
+ * @throws {@link TagOperationException} (client fault)
39
+ * <p>The operation was not successful. Try again.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, DeviceFarmClientResolvedConfig> {
34
44
  readonly input: UntagResourceCommandInput;
@@ -29,6 +29,19 @@ export interface UpdateDeviceInstanceCommandOutput extends UpdateDeviceInstanceR
29
29
  * @see {@link UpdateDeviceInstanceCommandOutput} for command's `response` shape.
30
30
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
31
31
  *
32
+ * @throws {@link ArgumentException} (client fault)
33
+ * <p>An invalid argument was specified.</p>
34
+ *
35
+ * @throws {@link LimitExceededException} (client fault)
36
+ * <p>A limit was exceeded.</p>
37
+ *
38
+ * @throws {@link NotFoundException} (client fault)
39
+ * <p>The specified entity was not found.</p>
40
+ *
41
+ * @throws {@link ServiceAccountException} (client fault)
42
+ * <p>There was a problem with the service account.</p>
43
+ *
44
+ *
32
45
  */
33
46
  export declare class UpdateDeviceInstanceCommand extends $Command<UpdateDeviceInstanceCommandInput, UpdateDeviceInstanceCommandOutput, DeviceFarmClientResolvedConfig> {
34
47
  readonly input: UpdateDeviceInstanceCommandInput;
@@ -31,6 +31,44 @@ export interface UpdateDevicePoolCommandOutput extends UpdateDevicePoolResult, _
31
31
  * @see {@link UpdateDevicePoolCommandOutput} for command's `response` shape.
32
32
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
33
33
  *
34
+ * @throws {@link ArgumentException} (client fault)
35
+ * <p>An invalid argument was specified.</p>
36
+ *
37
+ * @throws {@link LimitExceededException} (client fault)
38
+ * <p>A limit was exceeded.</p>
39
+ *
40
+ * @throws {@link NotFoundException} (client fault)
41
+ * <p>The specified entity was not found.</p>
42
+ *
43
+ * @throws {@link ServiceAccountException} (client fault)
44
+ * <p>There was a problem with the service account.</p>
45
+ *
46
+ *
47
+ * @example To update a device pool
48
+ * ```javascript
49
+ * // The following example updates the specified device pool with a new name and description. It also enables remote access of devices in the device pool.
50
+ * const input = {
51
+ * "name": "NewName",
52
+ * "arn": "arn:aws:devicefarm:us-west-2::devicepool:082d10e5-d7d7-48a5-ba5c-12345EXAMPLE",
53
+ * "description": "NewDescription",
54
+ * "rules": [
55
+ * {
56
+ * "value": "True",
57
+ * "attribute": "REMOTE_ACCESS_ENABLED",
58
+ * "operator": "EQUALS"
59
+ * }
60
+ * ]
61
+ * };
62
+ * const command = new UpdateDevicePoolCommand(input);
63
+ * const response = await client.send(command);
64
+ * /* response ==
65
+ * {
66
+ * "devicePool": {}
67
+ * }
68
+ * *\/
69
+ * // example id: to-update-a-device-pool-1472653887677
70
+ * ```
71
+ *
34
72
  */
35
73
  export declare class UpdateDevicePoolCommand extends $Command<UpdateDevicePoolCommandInput, UpdateDevicePoolCommandOutput, DeviceFarmClientResolvedConfig> {
36
74
  readonly input: UpdateDevicePoolCommandInput;
@@ -29,6 +29,19 @@ export interface UpdateInstanceProfileCommandOutput extends UpdateInstanceProfil
29
29
  * @see {@link UpdateInstanceProfileCommandOutput} for command's `response` shape.
30
30
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
31
31
  *
32
+ * @throws {@link ArgumentException} (client fault)
33
+ * <p>An invalid argument was specified.</p>
34
+ *
35
+ * @throws {@link LimitExceededException} (client fault)
36
+ * <p>A limit was exceeded.</p>
37
+ *
38
+ * @throws {@link NotFoundException} (client fault)
39
+ * <p>The specified entity was not found.</p>
40
+ *
41
+ * @throws {@link ServiceAccountException} (client fault)
42
+ * <p>There was a problem with the service account.</p>
43
+ *
44
+ *
32
45
  */
33
46
  export declare class UpdateInstanceProfileCommand extends $Command<UpdateInstanceProfileCommandInput, UpdateInstanceProfileCommandOutput, DeviceFarmClientResolvedConfig> {
34
47
  readonly input: UpdateInstanceProfileCommandInput;
@@ -29,6 +29,19 @@ export interface UpdateNetworkProfileCommandOutput extends UpdateNetworkProfileR
29
29
  * @see {@link UpdateNetworkProfileCommandOutput} for command's `response` shape.
30
30
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
31
31
  *
32
+ * @throws {@link ArgumentException} (client fault)
33
+ * <p>An invalid argument was specified.</p>
34
+ *
35
+ * @throws {@link LimitExceededException} (client fault)
36
+ * <p>A limit was exceeded.</p>
37
+ *
38
+ * @throws {@link NotFoundException} (client fault)
39
+ * <p>The specified entity was not found.</p>
40
+ *
41
+ * @throws {@link ServiceAccountException} (client fault)
42
+ * <p>There was a problem with the service account.</p>
43
+ *
44
+ *
32
45
  */
33
46
  export declare class UpdateNetworkProfileCommand extends $Command<UpdateNetworkProfileCommandInput, UpdateNetworkProfileCommandOutput, DeviceFarmClientResolvedConfig> {
34
47
  readonly input: UpdateNetworkProfileCommandInput;
@@ -30,6 +30,40 @@ export interface UpdateProjectCommandOutput extends UpdateProjectResult, __Metad
30
30
  * @see {@link UpdateProjectCommandOutput} for command's `response` shape.
31
31
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
32
32
  *
33
+ * @throws {@link ArgumentException} (client fault)
34
+ * <p>An invalid argument was specified.</p>
35
+ *
36
+ * @throws {@link LimitExceededException} (client fault)
37
+ * <p>A limit was exceeded.</p>
38
+ *
39
+ * @throws {@link NotFoundException} (client fault)
40
+ * <p>The specified entity was not found.</p>
41
+ *
42
+ * @throws {@link ServiceAccountException} (client fault)
43
+ * <p>There was a problem with the service account.</p>
44
+ *
45
+ *
46
+ * @example To update a device pool
47
+ * ```javascript
48
+ * // The following example updates the specified project with a new name.
49
+ * const input = {
50
+ * "name": "NewName",
51
+ * "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:8f75187d-101e-4625-accc-12345EXAMPLE"
52
+ * };
53
+ * const command = new UpdateProjectCommand(input);
54
+ * const response = await client.send(command);
55
+ * /* response ==
56
+ * {
57
+ * "project": {
58
+ * "name": "NewName",
59
+ * "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:8f75187d-101e-4625-accc-12345EXAMPLE",
60
+ * "created": "1448400709.927"
61
+ * }
62
+ * }
63
+ * *\/
64
+ * // example id: to-update-a-device-pool-1472653887677
65
+ * ```
66
+ *
33
67
  */
34
68
  export declare class UpdateProjectCommand extends $Command<UpdateProjectCommandInput, UpdateProjectCommandOutput, DeviceFarmClientResolvedConfig> {
35
69
  readonly input: UpdateProjectCommandInput;
@@ -29,6 +29,20 @@ export interface UpdateTestGridProjectCommandOutput extends UpdateTestGridProjec
29
29
  * @see {@link UpdateTestGridProjectCommandOutput} for command's `response` shape.
30
30
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
31
31
  *
32
+ * @throws {@link ArgumentException} (client fault)
33
+ * <p>An invalid argument was specified.</p>
34
+ *
35
+ * @throws {@link InternalServiceException} (server fault)
36
+ * <p>An internal exception was raised in the service. Contact <a href="mailto:aws-devicefarm-support@amazon.com">aws-devicefarm-support@amazon.com</a> if you see this
37
+ * error. </p>
38
+ *
39
+ * @throws {@link LimitExceededException} (client fault)
40
+ * <p>A limit was exceeded.</p>
41
+ *
42
+ * @throws {@link NotFoundException} (client fault)
43
+ * <p>The specified entity was not found.</p>
44
+ *
45
+ *
32
46
  */
33
47
  export declare class UpdateTestGridProjectCommand extends $Command<UpdateTestGridProjectCommandInput, UpdateTestGridProjectCommandOutput, DeviceFarmClientResolvedConfig> {
34
48
  readonly input: UpdateTestGridProjectCommandInput;
@@ -29,6 +29,19 @@ export interface UpdateUploadCommandOutput extends UpdateUploadResult, __Metadat
29
29
  * @see {@link UpdateUploadCommandOutput} for command's `response` shape.
30
30
  * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
31
31
  *
32
+ * @throws {@link ArgumentException} (client fault)
33
+ * <p>An invalid argument was specified.</p>
34
+ *
35
+ * @throws {@link LimitExceededException} (client fault)
36
+ * <p>A limit was exceeded.</p>
37
+ *
38
+ * @throws {@link NotFoundException} (client fault)
39
+ * <p>The specified entity was not found.</p>
40
+ *
41
+ * @throws {@link ServiceAccountException} (client fault)
42
+ * <p>There was a problem with the service account.</p>
43
+ *
44
+ *
32
45
  */
33
46
  export declare class UpdateUploadCommand extends $Command<UpdateUploadCommandInput, UpdateUploadCommandOutput, DeviceFarmClientResolvedConfig> {
34
47
  readonly input: UpdateUploadCommandInput;