@aws-sdk/client-device-farm 3.52.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.
@@ -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
  /**
@@ -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,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class DeviceFarmServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -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
  export interface TrialMinutes {
4
5
 
@@ -44,11 +45,11 @@ export declare namespace AccountSettings {
44
45
  const filterSensitiveLog: (obj: AccountSettings) => any;
45
46
  }
46
47
 
47
- export interface ArgumentException extends __SmithyException, $MetadataBearer {
48
- name: "ArgumentException";
49
- $fault: "client";
48
+ export declare class ArgumentException extends __BaseException {
49
+ readonly name: "ArgumentException";
50
+ readonly $fault: "client";
50
51
 
51
- message?: string;
52
+ constructor(opts: __ExceptionOptionType<ArgumentException, __BaseException>);
52
53
  }
53
54
  export declare enum ArtifactType {
54
55
  APPIUM_JAVA_OUTPUT = "APPIUM_JAVA_OUTPUT",
@@ -107,10 +108,11 @@ export declare enum BillingMethod {
107
108
  UNMETERED = "UNMETERED"
108
109
  }
109
110
 
110
- export interface CannotDeleteException extends __SmithyException, $MetadataBearer {
111
- name: "CannotDeleteException";
112
- $fault: "client";
113
- message?: string;
111
+ export declare class CannotDeleteException extends __BaseException {
112
+ readonly name: "CannotDeleteException";
113
+ readonly $fault: "client";
114
+
115
+ constructor(opts: __ExceptionOptionType<CannotDeleteException, __BaseException>);
114
116
  }
115
117
 
116
118
  export interface Counters {
@@ -234,25 +236,25 @@ export declare namespace CreateDevicePoolResult {
234
236
  const filterSensitiveLog: (obj: CreateDevicePoolResult) => any;
235
237
  }
236
238
 
237
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
238
- name: "LimitExceededException";
239
- $fault: "client";
239
+ export declare class LimitExceededException extends __BaseException {
240
+ readonly name: "LimitExceededException";
241
+ readonly $fault: "client";
240
242
 
241
- message?: string;
243
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
242
244
  }
243
245
 
244
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
245
- name: "NotFoundException";
246
- $fault: "client";
246
+ export declare class NotFoundException extends __BaseException {
247
+ readonly name: "NotFoundException";
248
+ readonly $fault: "client";
247
249
 
248
- message?: string;
250
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
249
251
  }
250
252
 
251
- export interface ServiceAccountException extends __SmithyException, $MetadataBearer {
252
- name: "ServiceAccountException";
253
- $fault: "client";
253
+ export declare class ServiceAccountException extends __BaseException {
254
+ readonly name: "ServiceAccountException";
255
+ readonly $fault: "client";
254
256
 
255
- message?: string;
257
+ constructor(opts: __ExceptionOptionType<ServiceAccountException, __BaseException>);
256
258
  }
257
259
  export interface CreateInstanceProfileRequest {
258
260
 
@@ -406,11 +408,12 @@ export declare namespace CreateProjectResult {
406
408
  const filterSensitiveLog: (obj: CreateProjectResult) => any;
407
409
  }
408
410
 
409
- export interface TagOperationException extends __SmithyException, $MetadataBearer {
410
- name: "TagOperationException";
411
- $fault: "client";
412
- message?: string;
411
+ export declare class TagOperationException extends __BaseException {
412
+ readonly name: "TagOperationException";
413
+ readonly $fault: "client";
413
414
  resourceName?: string;
415
+
416
+ constructor(opts: __ExceptionOptionType<TagOperationException, __BaseException>);
414
417
  }
415
418
 
416
419
  export interface CreateRemoteAccessSessionConfiguration {
@@ -696,10 +699,11 @@ export declare namespace CreateTestGridProjectResult {
696
699
  const filterSensitiveLog: (obj: CreateTestGridProjectResult) => any;
697
700
  }
698
701
 
699
- export interface InternalServiceException extends __SmithyException, $MetadataBearer {
700
- name: "InternalServiceException";
701
- $fault: "server";
702
- message?: string;
702
+ export declare class InternalServiceException extends __BaseException {
703
+ readonly name: "InternalServiceException";
704
+ readonly $fault: "server";
705
+
706
+ constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
703
707
  }
704
708
  export interface CreateTestGridUrlRequest {
705
709
 
@@ -1008,10 +1012,11 @@ export declare namespace DeleteVPCEConfigurationResult {
1008
1012
  const filterSensitiveLog: (obj: DeleteVPCEConfigurationResult) => any;
1009
1013
  }
1010
1014
 
1011
- export interface InvalidOperationException extends __SmithyException, $MetadataBearer {
1012
- name: "InvalidOperationException";
1013
- $fault: "client";
1014
- message?: string;
1015
+ export declare class InvalidOperationException extends __BaseException {
1016
+ readonly name: "InvalidOperationException";
1017
+ readonly $fault: "client";
1018
+
1019
+ constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
1015
1020
  }
1016
1021
 
1017
1022
  export interface GetAccountSettingsRequest {
@@ -1405,11 +1410,11 @@ export declare namespace GetOfferingStatusResult {
1405
1410
  const filterSensitiveLog: (obj: GetOfferingStatusResult) => any;
1406
1411
  }
1407
1412
 
1408
- export interface NotEligibleException extends __SmithyException, $MetadataBearer {
1409
- name: "NotEligibleException";
1410
- $fault: "client";
1413
+ export declare class NotEligibleException extends __BaseException {
1414
+ readonly name: "NotEligibleException";
1415
+ readonly $fault: "client";
1411
1416
 
1412
- message?: string;
1417
+ constructor(opts: __ExceptionOptionType<NotEligibleException, __BaseException>);
1413
1418
  }
1414
1419
 
1415
1420
  export interface GetProjectRequest {
@@ -2510,11 +2515,11 @@ export declare namespace RenewOfferingResult {
2510
2515
  const filterSensitiveLog: (obj: RenewOfferingResult) => any;
2511
2516
  }
2512
2517
 
2513
- export interface IdempotencyException extends __SmithyException, $MetadataBearer {
2514
- name: "IdempotencyException";
2515
- $fault: "client";
2518
+ export declare class IdempotencyException extends __BaseException {
2519
+ readonly name: "IdempotencyException";
2520
+ readonly $fault: "client";
2516
2521
 
2517
- message?: string;
2522
+ constructor(opts: __ExceptionOptionType<IdempotencyException, __BaseException>);
2518
2523
  }
2519
2524
 
2520
2525
  export interface DeviceSelectionConfiguration {
@@ -2629,11 +2634,12 @@ export declare namespace StopRunResult {
2629
2634
  const filterSensitiveLog: (obj: StopRunResult) => any;
2630
2635
  }
2631
2636
 
2632
- export interface TagPolicyException extends __SmithyException, $MetadataBearer {
2633
- name: "TagPolicyException";
2634
- $fault: "client";
2635
- message?: string;
2637
+ export declare class TagPolicyException extends __BaseException {
2638
+ readonly name: "TagPolicyException";
2639
+ readonly $fault: "client";
2636
2640
  resourceName?: string;
2641
+
2642
+ constructor(opts: __ExceptionOptionType<TagPolicyException, __BaseException>);
2637
2643
  }
2638
2644
  export interface TagResourceRequest {
2639
2645
 
@@ -2652,11 +2658,12 @@ export declare namespace TagResourceResponse {
2652
2658
  const filterSensitiveLog: (obj: TagResourceResponse) => any;
2653
2659
  }
2654
2660
 
2655
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
2656
- name: "TooManyTagsException";
2657
- $fault: "client";
2658
- message?: string;
2661
+ export declare class TooManyTagsException extends __BaseException {
2662
+ readonly name: "TooManyTagsException";
2663
+ readonly $fault: "client";
2659
2664
  resourceName?: string;
2665
+
2666
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
2660
2667
  }
2661
2668
  export interface UntagResourceRequest {
2662
2669
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-device-farm",
3
3
  "description": "AWS SDK for JavaScript Device Farm Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.53.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"