@aws-sdk/client-device-farm 3.50.0 → 3.53.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 (123) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/DeviceFarmServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +165 -5
  5. package/dist-cjs/protocols/Aws_json1_1.js +724 -2680
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/DeviceFarmServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +149 -1
  9. package/dist-es/protocols/Aws_json1_1.js +1643 -2965
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/DeviceFarmServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +74 -55
  13. package/dist-types/ts3.4/DeviceFarm.d.ts +390 -0
  14. package/dist-types/ts3.4/DeviceFarmClient.d.ts +150 -0
  15. package/dist-types/ts3.4/commands/CreateDevicePoolCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CreateInstanceProfileCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateNetworkProfileCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateRemoteAccessSessionCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateTestGridProjectCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/CreateTestGridUrlCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/CreateUploadCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/CreateVPCEConfigurationCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/DeleteDevicePoolCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/DeleteInstanceProfileCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DeleteNetworkProfileCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/DeleteRemoteAccessSessionCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/DeleteRunCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/DeleteTestGridProjectCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DeleteUploadCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/DeleteVPCEConfigurationCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/GetDeviceInstanceCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/GetDevicePoolCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/GetDevicePoolCompatibilityCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/GetInstanceProfileCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/GetJobCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/GetNetworkProfileCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/GetOfferingStatusCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/GetProjectCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/GetRemoteAccessSessionCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/GetRunCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/GetSuiteCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/GetTestCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/GetTestGridProjectCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/GetTestGridSessionCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/GetUploadCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/GetVPCEConfigurationCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/InstallToRemoteAccessSessionCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/ListArtifactsCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/ListDeviceInstancesCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/ListDevicePoolsCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/ListInstanceProfilesCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/ListNetworkProfilesCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/ListOfferingPromotionsCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/ListOfferingTransactionsCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/ListOfferingsCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/ListRemoteAccessSessionsCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/ListRunsCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/ListSamplesCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/ListSuitesCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/ListTestGridProjectsCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/ListTestGridSessionActionsCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/ListTestGridSessionArtifactsCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/ListTestGridSessionsCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/ListTestsCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/ListUniqueProblemsCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/ListUploadsCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/ListVPCEConfigurationsCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/PurchaseOfferingCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/RenewOfferingCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/ScheduleRunCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/StopJobCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/StopRemoteAccessSessionCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/StopRunCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/UpdateDeviceInstanceCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/UpdateDevicePoolCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/UpdateInstanceProfileCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/UpdateNetworkProfileCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/UpdateTestGridProjectCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/UpdateUploadCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/UpdateVPCEConfigurationCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/index.d.ts +77 -0
  93. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  94. package/dist-types/ts3.4/index.d.ts +6 -0
  95. package/dist-types/ts3.4/models/DeviceFarmServiceException.d.ts +6 -0
  96. package/dist-types/ts3.4/models/index.d.ts +1 -0
  97. package/dist-types/ts3.4/models/models_0.d.ts +2885 -0
  98. package/dist-types/ts3.4/pagination/GetOfferingStatusPaginator.d.ts +4 -0
  99. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  100. package/dist-types/ts3.4/pagination/ListArtifactsPaginator.d.ts +4 -0
  101. package/dist-types/ts3.4/pagination/ListDevicePoolsPaginator.d.ts +4 -0
  102. package/dist-types/ts3.4/pagination/ListDevicesPaginator.d.ts +4 -0
  103. package/dist-types/ts3.4/pagination/ListJobsPaginator.d.ts +4 -0
  104. package/dist-types/ts3.4/pagination/ListOfferingTransactionsPaginator.d.ts +4 -0
  105. package/dist-types/ts3.4/pagination/ListOfferingsPaginator.d.ts +4 -0
  106. package/dist-types/ts3.4/pagination/ListProjectsPaginator.d.ts +4 -0
  107. package/dist-types/ts3.4/pagination/ListRunsPaginator.d.ts +4 -0
  108. package/dist-types/ts3.4/pagination/ListSamplesPaginator.d.ts +4 -0
  109. package/dist-types/ts3.4/pagination/ListSuitesPaginator.d.ts +4 -0
  110. package/dist-types/ts3.4/pagination/ListTestGridProjectsPaginator.d.ts +4 -0
  111. package/dist-types/ts3.4/pagination/ListTestGridSessionActionsPaginator.d.ts +4 -0
  112. package/dist-types/ts3.4/pagination/ListTestGridSessionArtifactsPaginator.d.ts +4 -0
  113. package/dist-types/ts3.4/pagination/ListTestGridSessionsPaginator.d.ts +4 -0
  114. package/dist-types/ts3.4/pagination/ListTestsPaginator.d.ts +4 -0
  115. package/dist-types/ts3.4/pagination/ListUniqueProblemsPaginator.d.ts +4 -0
  116. package/dist-types/ts3.4/pagination/ListUploadsPaginator.d.ts +4 -0
  117. package/dist-types/ts3.4/pagination/index.d.ts +19 -0
  118. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +233 -0
  119. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  120. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  121. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  122. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  123. package/package.json +33 -33
@@ -3,3 +3,4 @@ export * from "./DeviceFarmClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { DeviceFarmServiceException } from "./models/DeviceFarmServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from DeviceFarm service.
4
+ */
5
+ export declare class DeviceFarmServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { DeviceFarmServiceException as __BaseException } from "./DeviceFarmServiceException";
2
3
  /**
3
4
  * <p>Represents information about free trial device minutes for an AWS
4
5
  * account.</p>
@@ -84,13 +85,13 @@ export declare namespace AccountSettings {
84
85
  /**
85
86
  * <p>An invalid argument was specified.</p>
86
87
  */
87
- export interface ArgumentException extends __SmithyException, $MetadataBearer {
88
- name: "ArgumentException";
89
- $fault: "client";
88
+ export declare class ArgumentException extends __BaseException {
89
+ readonly name: "ArgumentException";
90
+ readonly $fault: "client";
90
91
  /**
91
- * <p>Any additional information about the exception.</p>
92
+ * @internal
92
93
  */
93
- message?: string;
94
+ constructor(opts: __ExceptionOptionType<ArgumentException, __BaseException>);
94
95
  }
95
96
  export declare enum ArtifactType {
96
97
  APPIUM_JAVA_OUTPUT = "APPIUM_JAVA_OUTPUT",
@@ -254,10 +255,13 @@ export declare enum BillingMethod {
254
255
  /**
255
256
  * <p>The requested object could not be deleted.</p>
256
257
  */
257
- export interface CannotDeleteException extends __SmithyException, $MetadataBearer {
258
- name: "CannotDeleteException";
259
- $fault: "client";
260
- message?: string;
258
+ export declare class CannotDeleteException extends __BaseException {
259
+ readonly name: "CannotDeleteException";
260
+ readonly $fault: "client";
261
+ /**
262
+ * @internal
263
+ */
264
+ constructor(opts: __ExceptionOptionType<CannotDeleteException, __BaseException>);
261
265
  }
262
266
  /**
263
267
  * <p>Represents entity counters.</p>
@@ -580,35 +584,35 @@ export declare namespace CreateDevicePoolResult {
580
584
  /**
581
585
  * <p>A limit was exceeded.</p>
582
586
  */
583
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
584
- name: "LimitExceededException";
585
- $fault: "client";
587
+ export declare class LimitExceededException extends __BaseException {
588
+ readonly name: "LimitExceededException";
589
+ readonly $fault: "client";
586
590
  /**
587
- * <p>Any additional information about the exception.</p>
591
+ * @internal
588
592
  */
589
- message?: string;
593
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
590
594
  }
591
595
  /**
592
596
  * <p>The specified entity was not found.</p>
593
597
  */
594
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
595
- name: "NotFoundException";
596
- $fault: "client";
598
+ export declare class NotFoundException extends __BaseException {
599
+ readonly name: "NotFoundException";
600
+ readonly $fault: "client";
597
601
  /**
598
- * <p>Any additional information about the exception.</p>
602
+ * @internal
599
603
  */
600
- message?: string;
604
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
601
605
  }
602
606
  /**
603
607
  * <p>There was a problem with the service account.</p>
604
608
  */
605
- export interface ServiceAccountException extends __SmithyException, $MetadataBearer {
606
- name: "ServiceAccountException";
607
- $fault: "client";
609
+ export declare class ServiceAccountException extends __BaseException {
610
+ readonly name: "ServiceAccountException";
611
+ readonly $fault: "client";
608
612
  /**
609
- * <p>Any additional information about the exception.</p>
613
+ * @internal
610
614
  */
611
- message?: string;
615
+ constructor(opts: __ExceptionOptionType<ServiceAccountException, __BaseException>);
612
616
  }
613
617
  export interface CreateInstanceProfileRequest {
614
618
  /**
@@ -909,11 +913,14 @@ export declare namespace CreateProjectResult {
909
913
  /**
910
914
  * <p>The operation was not successful. Try again.</p>
911
915
  */
912
- export interface TagOperationException extends __SmithyException, $MetadataBearer {
913
- name: "TagOperationException";
914
- $fault: "client";
915
- message?: string;
916
+ export declare class TagOperationException extends __BaseException {
917
+ readonly name: "TagOperationException";
918
+ readonly $fault: "client";
916
919
  resourceName?: string;
920
+ /**
921
+ * @internal
922
+ */
923
+ constructor(opts: __ExceptionOptionType<TagOperationException, __BaseException>);
917
924
  }
918
925
  /**
919
926
  * <p>Configuration settings for a remote access session, including billing
@@ -1557,10 +1564,13 @@ export declare namespace CreateTestGridProjectResult {
1557
1564
  * <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
1558
1565
  * error. </p>
1559
1566
  */
1560
- export interface InternalServiceException extends __SmithyException, $MetadataBearer {
1561
- name: "InternalServiceException";
1562
- $fault: "server";
1563
- message?: string;
1567
+ export declare class InternalServiceException extends __BaseException {
1568
+ readonly name: "InternalServiceException";
1569
+ readonly $fault: "server";
1570
+ /**
1571
+ * @internal
1572
+ */
1573
+ constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
1564
1574
  }
1565
1575
  export interface CreateTestGridUrlRequest {
1566
1576
  /**
@@ -2285,10 +2295,13 @@ export declare namespace DeleteVPCEConfigurationResult {
2285
2295
  * <p>There was an error with the update request, or you do not have sufficient permissions
2286
2296
  * to update this VPC endpoint configuration.</p>
2287
2297
  */
2288
- export interface InvalidOperationException extends __SmithyException, $MetadataBearer {
2289
- name: "InvalidOperationException";
2290
- $fault: "client";
2291
- message?: string;
2298
+ export declare class InvalidOperationException extends __BaseException {
2299
+ readonly name: "InvalidOperationException";
2300
+ readonly $fault: "client";
2301
+ /**
2302
+ * @internal
2303
+ */
2304
+ constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
2292
2305
  }
2293
2306
  /**
2294
2307
  * <p>Represents the request sent to retrieve the account settings.</p>
@@ -3345,13 +3358,13 @@ export declare namespace GetOfferingStatusResult {
3345
3358
  * <p>Exception gets thrown when a user is not eligible to perform the specified
3346
3359
  * transaction.</p>
3347
3360
  */
3348
- export interface NotEligibleException extends __SmithyException, $MetadataBearer {
3349
- name: "NotEligibleException";
3350
- $fault: "client";
3361
+ export declare class NotEligibleException extends __BaseException {
3362
+ readonly name: "NotEligibleException";
3363
+ readonly $fault: "client";
3351
3364
  /**
3352
- * <p>The HTTP response code of a Not Eligible exception.</p>
3365
+ * @internal
3353
3366
  */
3354
- message?: string;
3367
+ constructor(opts: __ExceptionOptionType<NotEligibleException, __BaseException>);
3355
3368
  }
3356
3369
  /**
3357
3370
  * <p>Represents a request to the get project operation.</p>
@@ -6111,13 +6124,13 @@ export declare namespace RenewOfferingResult {
6111
6124
  /**
6112
6125
  * <p>An entity with the same name already exists.</p>
6113
6126
  */
6114
- export interface IdempotencyException extends __SmithyException, $MetadataBearer {
6115
- name: "IdempotencyException";
6116
- $fault: "client";
6127
+ export declare class IdempotencyException extends __BaseException {
6128
+ readonly name: "IdempotencyException";
6129
+ readonly $fault: "client";
6117
6130
  /**
6118
- * <p>Any additional information about the exception.</p>
6131
+ * @internal
6119
6132
  */
6120
- message?: string;
6133
+ constructor(opts: __ExceptionOptionType<IdempotencyException, __BaseException>);
6121
6134
  }
6122
6135
  /**
6123
6136
  * <p>Represents the device filters used in a test run and the maximum number of devices to be included in the
@@ -6452,11 +6465,14 @@ export declare namespace StopRunResult {
6452
6465
  * <p>The request doesn't comply with the AWS Identity and Access Management (IAM) tag
6453
6466
  * policy. Correct your request and then retry it.</p>
6454
6467
  */
6455
- export interface TagPolicyException extends __SmithyException, $MetadataBearer {
6456
- name: "TagPolicyException";
6457
- $fault: "client";
6458
- message?: string;
6468
+ export declare class TagPolicyException extends __BaseException {
6469
+ readonly name: "TagPolicyException";
6470
+ readonly $fault: "client";
6459
6471
  resourceName?: string;
6472
+ /**
6473
+ * @internal
6474
+ */
6475
+ constructor(opts: __ExceptionOptionType<TagPolicyException, __BaseException>);
6460
6476
  }
6461
6477
  export interface TagResourceRequest {
6462
6478
  /**
@@ -6491,11 +6507,14 @@ export declare namespace TagResourceResponse {
6491
6507
  * <p>The list of tags on the repository is over the limit. The maximum number of tags that
6492
6508
  * can be applied to a repository is 50. </p>
6493
6509
  */
6494
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
6495
- name: "TooManyTagsException";
6496
- $fault: "client";
6497
- message?: string;
6510
+ export declare class TooManyTagsException extends __BaseException {
6511
+ readonly name: "TooManyTagsException";
6512
+ readonly $fault: "client";
6498
6513
  resourceName?: string;
6514
+ /**
6515
+ * @internal
6516
+ */
6517
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
6499
6518
  }
6500
6519
  export interface UntagResourceRequest {
6501
6520
  /**