@aws-sdk/client-device-farm 3.427.0 → 3.429.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.
@@ -44,13 +44,13 @@ export interface AccountSettings {
44
44
  * @public
45
45
  * <p>Returns the unmetered devices you have purchased or want to purchase.</p>
46
46
  */
47
- unmeteredDevices?: Record<string, number>;
47
+ unmeteredDevices?: Record<DevicePlatform, number>;
48
48
  /**
49
49
  * @public
50
50
  * <p>Returns the unmetered remote access devices you have purchased or want to
51
51
  * purchase.</p>
52
52
  */
53
- unmeteredRemoteAccessDevices?: Record<string, number>;
53
+ unmeteredRemoteAccessDevices?: Record<DevicePlatform, number>;
54
54
  /**
55
55
  * @public
56
56
  * <p>The maximum number of minutes a test run executes before it times out.</p>
@@ -241,7 +241,7 @@ export interface Artifact {
241
241
  * </li>
242
242
  * </ul>
243
243
  */
244
- type?: ArtifactType | string;
244
+ type?: ArtifactType;
245
245
  /**
246
246
  * @public
247
247
  * <p>The artifact's file extension.</p>
@@ -503,14 +503,14 @@ export interface Rule {
503
503
  * </dd>
504
504
  * </dl>
505
505
  */
506
- attribute?: DeviceAttribute | string;
506
+ attribute?: DeviceAttribute;
507
507
  /**
508
508
  * @public
509
509
  * <p>Specifies how Device Farm compares the rule's attribute to the value. For the
510
510
  * operators that are supported by each attribute, see the attribute
511
511
  * descriptions.</p>
512
512
  */
513
- operator?: RuleOperator | string;
513
+ operator?: RuleOperator;
514
514
  /**
515
515
  * @public
516
516
  * <p>The rule's value.</p>
@@ -600,7 +600,7 @@ export interface DevicePool {
600
600
  * </li>
601
601
  * </ul>
602
602
  */
603
- type?: DevicePoolType | string;
603
+ type?: DevicePoolType;
604
604
  /**
605
605
  * @public
606
606
  * <p>Information about the device pool's rules.</p>
@@ -786,7 +786,7 @@ export interface CreateNetworkProfileRequest {
786
786
  * @public
787
787
  * <p>The type of network profile to create. Valid values are listed here.</p>
788
788
  */
789
- type?: NetworkProfileType | string;
789
+ type?: NetworkProfileType;
790
790
  /**
791
791
  * @public
792
792
  * <p>The data throughput rate in bits per second, as an integer from 0 to
@@ -859,7 +859,7 @@ export interface NetworkProfile {
859
859
  * @public
860
860
  * <p>The type of network profile. Valid values are listed here.</p>
861
861
  */
862
- type?: NetworkProfileType | string;
862
+ type?: NetworkProfileType;
863
863
  /**
864
864
  * @public
865
865
  * <p>The data throughput rate in bits per second, as an integer from 0 to
@@ -1029,7 +1029,7 @@ export interface CreateRemoteAccessSessionConfiguration {
1029
1029
  * @public
1030
1030
  * <p>The billing method for the remote access session.</p>
1031
1031
  */
1032
- billingMethod?: BillingMethod | string;
1032
+ billingMethod?: BillingMethod;
1033
1033
  /**
1034
1034
  * @public
1035
1035
  * <p>An array of ARNs included in the VPC endpoint configuration.</p>
@@ -1139,7 +1139,7 @@ export interface CreateRemoteAccessSessionRequest {
1139
1139
  * </li>
1140
1140
  * </ul>
1141
1141
  */
1142
- interactionMode?: InteractionMode | string;
1142
+ interactionMode?: InteractionMode;
1143
1143
  /**
1144
1144
  * @public
1145
1145
  * <p>When set to <code>true</code>, for private devices, Device Farm does not sign your app again. For public
@@ -1213,7 +1213,7 @@ export interface DeviceInstance {
1213
1213
  * @public
1214
1214
  * <p>The status of the device instance. Valid values are listed here.</p>
1215
1215
  */
1216
- status?: InstanceStatus | string;
1216
+ status?: InstanceStatus;
1217
1217
  /**
1218
1218
  * @public
1219
1219
  * <p>Unique device identifier for the device instance.</p>
@@ -1285,7 +1285,7 @@ export interface Device {
1285
1285
  * </li>
1286
1286
  * </ul>
1287
1287
  */
1288
- formFactor?: DeviceFormFactor | string;
1288
+ formFactor?: DeviceFormFactor;
1289
1289
  /**
1290
1290
  * @public
1291
1291
  * <p>The device's platform.</p>
@@ -1299,7 +1299,7 @@ export interface Device {
1299
1299
  * </li>
1300
1300
  * </ul>
1301
1301
  */
1302
- platform?: DevicePlatform | string;
1302
+ platform?: DevicePlatform;
1303
1303
  /**
1304
1304
  * @public
1305
1305
  * <p>The device's operating system type.</p>
@@ -1373,7 +1373,7 @@ export interface Device {
1373
1373
  * @public
1374
1374
  * <p>Indicates how likely a device is available for a test run. Currently available in the <a>ListDevices</a> and GetDevice API methods.</p>
1375
1375
  */
1376
- availability?: DeviceAvailability | string;
1376
+ availability?: DeviceAvailability;
1377
1377
  }
1378
1378
  /**
1379
1379
  * @public
@@ -1489,7 +1489,7 @@ export interface RemoteAccessSession {
1489
1489
  * </li>
1490
1490
  * </ul>
1491
1491
  */
1492
- status?: ExecutionStatus | string;
1492
+ status?: ExecutionStatus;
1493
1493
  /**
1494
1494
  * @public
1495
1495
  * <p>The result of the remote access session. Can be any of the following:</p>
@@ -1517,7 +1517,7 @@ export interface RemoteAccessSession {
1517
1517
  * </li>
1518
1518
  * </ul>
1519
1519
  */
1520
- result?: ExecutionResult | string;
1520
+ result?: ExecutionResult;
1521
1521
  /**
1522
1522
  * @public
1523
1523
  * <p>A message about the remote access session.</p>
@@ -1584,7 +1584,7 @@ export interface RemoteAccessSession {
1584
1584
  * <code>UNMETERED</code>. For more information about metered devices, see <a href="https://docs.aws.amazon.com/devicefarm/latest/developerguide/welcome.html#welcome-terminology">AWS Device Farm
1585
1585
  * terminology</a>.</p>
1586
1586
  */
1587
- billingMethod?: BillingMethod | string;
1587
+ billingMethod?: BillingMethod;
1588
1588
  /**
1589
1589
  * @public
1590
1590
  * <p>The number of minutes a device is used in a remote access session (including setup
@@ -1624,7 +1624,7 @@ export interface RemoteAccessSession {
1624
1624
  * </li>
1625
1625
  * </ul>
1626
1626
  */
1627
- interactionMode?: InteractionMode | string;
1627
+ interactionMode?: InteractionMode;
1628
1628
  /**
1629
1629
  * @public
1630
1630
  * <p>When set to <code>true</code>, for private devices, Device Farm does not sign your app again. For public
@@ -1944,7 +1944,7 @@ export interface CreateUploadRequest {
1944
1944
  * <p> If you call <code>CreateUpload</code> with <code>WEB_APP</code> specified, AWS
1945
1945
  * Device Farm throws an <code>ArgumentException</code> error.</p>
1946
1946
  */
1947
- type: UploadType | string | undefined;
1947
+ type: UploadType | undefined;
1948
1948
  /**
1949
1949
  * @public
1950
1950
  * <p>The upload's content type (for example, <code>application/octet-stream</code>).</p>
@@ -2101,7 +2101,7 @@ export interface Upload {
2101
2101
  * </li>
2102
2102
  * </ul>
2103
2103
  */
2104
- type?: UploadType | string;
2104
+ type?: UploadType;
2105
2105
  /**
2106
2106
  * @public
2107
2107
  * <p>The upload's status.</p>
@@ -2121,7 +2121,7 @@ export interface Upload {
2121
2121
  * </li>
2122
2122
  * </ul>
2123
2123
  */
2124
- status?: UploadStatus | string;
2124
+ status?: UploadStatus;
2125
2125
  /**
2126
2126
  * @public
2127
2127
  * <p>The presigned Amazon S3 URL that was used to store a file using a PUT request.</p>
@@ -2156,7 +2156,7 @@ export interface Upload {
2156
2156
  * </li>
2157
2157
  * </ul>
2158
2158
  */
2159
- category?: UploadCategory | string;
2159
+ category?: UploadCategory;
2160
2160
  }
2161
2161
  /**
2162
2162
  * @public
@@ -2627,7 +2627,7 @@ export interface ScheduleRunConfiguration {
2627
2627
  * make use of them. Otherwise, your run counts against your metered time.</p>
2628
2628
  * </note>
2629
2629
  */
2630
- billingMethod?: BillingMethod | string;
2630
+ billingMethod?: BillingMethod;
2631
2631
  }
2632
2632
  /**
2633
2633
  * @public
@@ -2729,7 +2729,7 @@ export interface ScheduleRunTest {
2729
2729
  * </li>
2730
2730
  * </ul>
2731
2731
  */
2732
- type: TestType | string | undefined;
2732
+ type: TestType | undefined;
2733
2733
  /**
2734
2734
  * @public
2735
2735
  * <p>The ARN of the uploaded test to be run.</p>
@@ -2962,7 +2962,7 @@ export interface GetDevicePoolCompatibilityRequest {
2962
2962
  * </li>
2963
2963
  * </ul>
2964
2964
  */
2965
- testType?: TestType | string;
2965
+ testType?: TestType;
2966
2966
  /**
2967
2967
  * @public
2968
2968
  * <p>Information about the uploaded test to be run against the device pool.</p>
@@ -3009,7 +3009,7 @@ export interface IncompatibilityMessage {
3009
3009
  * </li>
3010
3010
  * </ul>
3011
3011
  */
3012
- type?: DeviceAttribute | string;
3012
+ type?: DeviceAttribute;
3013
3013
  }
3014
3014
  /**
3015
3015
  * @public
@@ -3156,7 +3156,7 @@ export interface Job {
3156
3156
  * </li>
3157
3157
  * </ul>
3158
3158
  */
3159
- type?: TestType | string;
3159
+ type?: TestType;
3160
3160
  /**
3161
3161
  * @public
3162
3162
  * <p>When the job was created.</p>
@@ -3196,7 +3196,7 @@ export interface Job {
3196
3196
  * </li>
3197
3197
  * </ul>
3198
3198
  */
3199
- status?: ExecutionStatus | string;
3199
+ status?: ExecutionStatus;
3200
3200
  /**
3201
3201
  * @public
3202
3202
  * <p>The job's result.</p>
@@ -3225,7 +3225,7 @@ export interface Job {
3225
3225
  * </li>
3226
3226
  * </ul>
3227
3227
  */
3228
- result?: ExecutionResult | string;
3228
+ result?: ExecutionResult;
3229
3229
  /**
3230
3230
  * @public
3231
3231
  * <p>The job's start time.</p>
@@ -3330,7 +3330,7 @@ export interface MonetaryAmount {
3330
3330
  * @public
3331
3331
  * <p>The currency code of a monetary amount. For example, <code>USD</code> means U.S. dollars.</p>
3332
3332
  */
3333
- currencyCode?: CurrencyCode | string;
3333
+ currencyCode?: CurrencyCode;
3334
3334
  }
3335
3335
  /**
3336
3336
  * @public
@@ -3357,7 +3357,7 @@ export interface RecurringCharge {
3357
3357
  * @public
3358
3358
  * <p>The frequency in which charges recur.</p>
3359
3359
  */
3360
- frequency?: RecurringChargeFrequency | string;
3360
+ frequency?: RecurringChargeFrequency;
3361
3361
  }
3362
3362
  /**
3363
3363
  * @public
@@ -3389,12 +3389,12 @@ export interface Offering {
3389
3389
  * @public
3390
3390
  * <p>The type of offering (for example, <code>RECURRING</code>) for a device.</p>
3391
3391
  */
3392
- type?: OfferingType | string;
3392
+ type?: OfferingType;
3393
3393
  /**
3394
3394
  * @public
3395
3395
  * <p>The platform of the device (for example, <code>ANDROID</code> or <code>IOS</code>).</p>
3396
3396
  */
3397
- platform?: DevicePlatform | string;
3397
+ platform?: DevicePlatform;
3398
3398
  /**
3399
3399
  * @public
3400
3400
  * <p>Specifies whether there are recurring charges for the offering.</p>
@@ -3423,7 +3423,7 @@ export interface OfferingStatus {
3423
3423
  * @public
3424
3424
  * <p>The type specified for the offering status.</p>
3425
3425
  */
3426
- type?: OfferingTransactionType | string;
3426
+ type?: OfferingTransactionType;
3427
3427
  /**
3428
3428
  * @public
3429
3429
  * <p>Represents the metadata of an offering status.</p>
@@ -3657,13 +3657,13 @@ export interface DeviceFilter {
3657
3657
  * </dd>
3658
3658
  * </dl>
3659
3659
  */
3660
- attribute: DeviceFilterAttribute | string | undefined;
3660
+ attribute: DeviceFilterAttribute | undefined;
3661
3661
  /**
3662
3662
  * @public
3663
3663
  * <p>Specifies how Device Farm compares the filter's attribute to the value. See the attribute
3664
3664
  * descriptions.</p>
3665
3665
  */
3666
- operator: RuleOperator | string | undefined;
3666
+ operator: RuleOperator | undefined;
3667
3667
  /**
3668
3668
  * @public
3669
3669
  * <p>An array of one or more filter values used in a device filter.</p>
@@ -3816,7 +3816,7 @@ export interface Run {
3816
3816
  * </li>
3817
3817
  * </ul>
3818
3818
  */
3819
- type?: TestType | string;
3819
+ type?: TestType;
3820
3820
  /**
3821
3821
  * @public
3822
3822
  * <p>The run's platform.</p>
@@ -3830,7 +3830,7 @@ export interface Run {
3830
3830
  * </li>
3831
3831
  * </ul>
3832
3832
  */
3833
- platform?: DevicePlatform | string;
3833
+ platform?: DevicePlatform;
3834
3834
  /**
3835
3835
  * @public
3836
3836
  * <p>When the run was created.</p>
@@ -3870,7 +3870,7 @@ export interface Run {
3870
3870
  * </li>
3871
3871
  * </ul>
3872
3872
  */
3873
- status?: ExecutionStatus | string;
3873
+ status?: ExecutionStatus;
3874
3874
  /**
3875
3875
  * @public
3876
3876
  * <p>The run's result.</p>
@@ -3899,7 +3899,7 @@ export interface Run {
3899
3899
  * </li>
3900
3900
  * </ul>
3901
3901
  */
3902
- result?: ExecutionResult | string;
3902
+ result?: ExecutionResult;
3903
3903
  /**
3904
3904
  * @public
3905
3905
  * <p>The run's start time.</p>
@@ -3940,7 +3940,7 @@ export interface Run {
3940
3940
  * Otherwise, the run is counted toward metered device minutes.</p>
3941
3941
  * </note>
3942
3942
  */
3943
- billingMethod?: BillingMethod | string;
3943
+ billingMethod?: BillingMethod;
3944
3944
  /**
3945
3945
  * @public
3946
3946
  * <p>Represents the total (metered or unmetered) minutes used by the test run.</p>
@@ -3963,7 +3963,7 @@ export interface Run {
3963
3963
  * <p>Supporting field for the result field. Set only if <code>result</code> is <code>SKIPPED</code>.
3964
3964
  * <code>PARSING_FAILED</code> if the result is skipped because of test package parsing failure.</p>
3965
3965
  */
3966
- resultCode?: ExecutionResultCode | string;
3966
+ resultCode?: ExecutionResultCode;
3967
3967
  /**
3968
3968
  * @public
3969
3969
  * <p>For fuzz tests, this is a seed to use for randomizing the UI fuzz test. Using the same
@@ -4142,7 +4142,7 @@ export interface Suite {
4142
4142
  * </li>
4143
4143
  * </ul>
4144
4144
  */
4145
- type?: TestType | string;
4145
+ type?: TestType;
4146
4146
  /**
4147
4147
  * @public
4148
4148
  * <p>When the suite was created.</p>
@@ -4182,7 +4182,7 @@ export interface Suite {
4182
4182
  * </li>
4183
4183
  * </ul>
4184
4184
  */
4185
- status?: ExecutionStatus | string;
4185
+ status?: ExecutionStatus;
4186
4186
  /**
4187
4187
  * @public
4188
4188
  * <p>The suite's result.</p>
@@ -4211,7 +4211,7 @@ export interface Suite {
4211
4211
  * </li>
4212
4212
  * </ul>
4213
4213
  */
4214
- result?: ExecutionResult | string;
4214
+ result?: ExecutionResult;
4215
4215
  /**
4216
4216
  * @public
4217
4217
  * <p>The suite's start time.</p>
@@ -4341,7 +4341,7 @@ export interface Test {
4341
4341
  * </li>
4342
4342
  * </ul>
4343
4343
  */
4344
- type?: TestType | string;
4344
+ type?: TestType;
4345
4345
  /**
4346
4346
  * @public
4347
4347
  * <p>When the test was created.</p>
@@ -4381,7 +4381,7 @@ export interface Test {
4381
4381
  * </li>
4382
4382
  * </ul>
4383
4383
  */
4384
- status?: ExecutionStatus | string;
4384
+ status?: ExecutionStatus;
4385
4385
  /**
4386
4386
  * @public
4387
4387
  * <p>The test's result.</p>
@@ -4410,7 +4410,7 @@ export interface Test {
4410
4410
  * </li>
4411
4411
  * </ul>
4412
4412
  */
4413
- result?: ExecutionResult | string;
4413
+ result?: ExecutionResult;
4414
4414
  /**
4415
4415
  * @public
4416
4416
  * <p>The test's start time.</p>
@@ -4516,7 +4516,7 @@ export interface TestGridSession {
4516
4516
  * @public
4517
4517
  * <p>The state of the session.</p>
4518
4518
  */
4519
- status?: TestGridSessionStatus | string;
4519
+ status?: TestGridSessionStatus;
4520
4520
  /**
4521
4521
  * @public
4522
4522
  * <p>The time that the session was started.</p>
@@ -4648,7 +4648,7 @@ export interface ListArtifactsRequest {
4648
4648
  * </li>
4649
4649
  * </ul>
4650
4650
  */
4651
- type: ArtifactCategory | string | undefined;
4651
+ type: ArtifactCategory | undefined;
4652
4652
  /**
4653
4653
  * @public
4654
4654
  * <p>An identifier that was returned from the previous call to this operation, which can
@@ -4731,7 +4731,7 @@ export interface ListDevicePoolsRequest {
4731
4731
  * </li>
4732
4732
  * </ul>
4733
4733
  */
4734
- type?: DevicePoolType | string;
4734
+ type?: DevicePoolType;
4735
4735
  /**
4736
4736
  * @public
4737
4737
  * <p>An identifier that was returned from the previous call to this operation, which can
@@ -4968,7 +4968,7 @@ export interface ListNetworkProfilesRequest {
4968
4968
  * @public
4969
4969
  * <p>The type of network profile to return information about. Valid values are listed here.</p>
4970
4970
  */
4971
- type?: NetworkProfileType | string;
4971
+ type?: NetworkProfileType;
4972
4972
  /**
4973
4973
  * @public
4974
4974
  * <p>An identifier that was returned from the previous call to this operation, which can
@@ -5353,7 +5353,7 @@ export interface Sample {
5353
5353
  * </li>
5354
5354
  * </ul>
5355
5355
  */
5356
- type?: SampleType | string;
5356
+ type?: SampleType;
5357
5357
  /**
5358
5358
  * @public
5359
5359
  * <p>The presigned Amazon S3 URL that can be used with a GET request to download the sample's
@@ -5581,7 +5581,7 @@ export interface ListTestGridSessionArtifactsRequest {
5581
5581
  * @public
5582
5582
  * <p>Limit results to a specified type of artifact.</p>
5583
5583
  */
5584
- type?: TestGridSessionArtifactCategory | string;
5584
+ type?: TestGridSessionArtifactCategory;
5585
5585
  /**
5586
5586
  * @public
5587
5587
  * <p>The maximum number of results to be returned by a request.</p>
@@ -5624,7 +5624,7 @@ export interface TestGridSessionArtifact {
5624
5624
  * @public
5625
5625
  * <p>The kind of artifact.</p>
5626
5626
  */
5627
- type?: TestGridSessionArtifactType | string;
5627
+ type?: TestGridSessionArtifactType;
5628
5628
  /**
5629
5629
  * @public
5630
5630
  * <p>A semi-stable URL to the content of the object.</p>
@@ -5659,7 +5659,7 @@ export interface ListTestGridSessionsRequest {
5659
5659
  * @public
5660
5660
  * <p>Return only sessions in this state.</p>
5661
5661
  */
5662
- status?: TestGridSessionStatus | string;
5662
+ status?: TestGridSessionStatus;
5663
5663
  /**
5664
5664
  * @public
5665
5665
  * <p>Return only sessions created after this time.</p>
@@ -5832,7 +5832,7 @@ export interface Problem {
5832
5832
  * </li>
5833
5833
  * </ul>
5834
5834
  */
5835
- result?: ExecutionResult | string;
5835
+ result?: ExecutionResult;
5836
5836
  /**
5837
5837
  * @public
5838
5838
  * <p>A message about the problem's result.</p>
@@ -5888,7 +5888,7 @@ export interface ListUniqueProblemsResult {
5888
5888
  * </li>
5889
5889
  * </ul>
5890
5890
  */
5891
- uniqueProblems?: Record<string, UniqueProblem[]>;
5891
+ uniqueProblems?: Record<ExecutionResult, UniqueProblem[]>;
5892
5892
  /**
5893
5893
  * @public
5894
5894
  * <p>If the number of items that are returned is significantly large, this is an identifier that is also
@@ -6011,7 +6011,7 @@ export interface ListUploadsRequest {
6011
6011
  * </li>
6012
6012
  * </ul>
6013
6013
  */
6014
- type?: UploadType | string;
6014
+ type?: UploadType;
6015
6015
  /**
6016
6016
  * @public
6017
6017
  * <p>An identifier that was returned from the previous call to this operation, which can
@@ -6689,7 +6689,7 @@ export interface UpdateNetworkProfileRequest {
6689
6689
  * @public
6690
6690
  * <p>The type of network profile to return information about. Valid values are listed here.</p>
6691
6691
  */
6692
- type?: NetworkProfileType | string;
6692
+ type?: NetworkProfileType;
6693
6693
  /**
6694
6694
  * @public
6695
6695
  * <p>The data throughput rate in bits per second, as an integer from 0 to
@@ -12,8 +12,8 @@ export type DevicePlatform =
12
12
  (typeof DevicePlatform)[keyof typeof DevicePlatform];
13
13
  export interface AccountSettings {
14
14
  awsAccountNumber?: string;
15
- unmeteredDevices?: Record<string, number>;
16
- unmeteredRemoteAccessDevices?: Record<string, number>;
15
+ unmeteredDevices?: Record<DevicePlatform, number>;
16
+ unmeteredRemoteAccessDevices?: Record<DevicePlatform, number>;
17
17
  maxJobTimeoutMinutes?: number;
18
18
  trialMinutes?: TrialMinutes;
19
19
  maxSlots?: Record<string, number>;
@@ -59,7 +59,7 @@ export type ArtifactType = (typeof ArtifactType)[keyof typeof ArtifactType];
59
59
  export interface Artifact {
60
60
  arn?: string;
61
61
  name?: string;
62
- type?: ArtifactType | string;
62
+ type?: ArtifactType;
63
63
  extension?: string;
64
64
  url?: string;
65
65
  }
@@ -125,8 +125,8 @@ export declare const RuleOperator: {
125
125
  };
126
126
  export type RuleOperator = (typeof RuleOperator)[keyof typeof RuleOperator];
127
127
  export interface Rule {
128
- attribute?: DeviceAttribute | string;
129
- operator?: RuleOperator | string;
128
+ attribute?: DeviceAttribute;
129
+ operator?: RuleOperator;
130
130
  value?: string;
131
131
  }
132
132
  export interface CreateDevicePoolRequest {
@@ -146,7 +146,7 @@ export interface DevicePool {
146
146
  arn?: string;
147
147
  name?: string;
148
148
  description?: string;
149
- type?: DevicePoolType | string;
149
+ type?: DevicePoolType;
150
150
  rules?: Rule[];
151
151
  maxDevices?: number;
152
152
  }
@@ -200,7 +200,7 @@ export interface CreateNetworkProfileRequest {
200
200
  projectArn: string | undefined;
201
201
  name: string | undefined;
202
202
  description?: string;
203
- type?: NetworkProfileType | string;
203
+ type?: NetworkProfileType;
204
204
  uplinkBandwidthBits?: number;
205
205
  downlinkBandwidthBits?: number;
206
206
  uplinkDelayMs?: number;
@@ -214,7 +214,7 @@ export interface NetworkProfile {
214
214
  arn?: string;
215
215
  name?: string;
216
216
  description?: string;
217
- type?: NetworkProfileType | string;
217
+ type?: NetworkProfileType;
218
218
  uplinkBandwidthBits?: number;
219
219
  downlinkBandwidthBits?: number;
220
220
  uplinkDelayMs?: number;
@@ -256,7 +256,7 @@ export declare class TagOperationException extends __BaseException {
256
256
  );
257
257
  }
258
258
  export interface CreateRemoteAccessSessionConfiguration {
259
- billingMethod?: BillingMethod | string;
259
+ billingMethod?: BillingMethod;
260
260
  vpceConfigurationArns?: string[];
261
261
  }
262
262
  export declare const InteractionMode: {
@@ -277,7 +277,7 @@ export interface CreateRemoteAccessSessionRequest {
277
277
  name?: string;
278
278
  clientId?: string;
279
279
  configuration?: CreateRemoteAccessSessionConfiguration;
280
- interactionMode?: InteractionMode | string;
280
+ interactionMode?: InteractionMode;
281
281
  skipAppResign?: boolean;
282
282
  }
283
283
  export declare const DeviceAvailability: {
@@ -306,7 +306,7 @@ export interface DeviceInstance {
306
306
  arn?: string;
307
307
  deviceArn?: string;
308
308
  labels?: string[];
309
- status?: InstanceStatus | string;
309
+ status?: InstanceStatus;
310
310
  udid?: string;
311
311
  instanceProfile?: InstanceProfile;
312
312
  }
@@ -320,8 +320,8 @@ export interface Device {
320
320
  manufacturer?: string;
321
321
  model?: string;
322
322
  modelId?: string;
323
- formFactor?: DeviceFormFactor | string;
324
- platform?: DevicePlatform | string;
323
+ formFactor?: DeviceFormFactor;
324
+ platform?: DevicePlatform;
325
325
  os?: string;
326
326
  cpu?: CPU;
327
327
  resolution?: Resolution;
@@ -335,7 +335,7 @@ export interface Device {
335
335
  fleetType?: string;
336
336
  fleetName?: string;
337
337
  instances?: DeviceInstance[];
338
- availability?: DeviceAvailability | string;
338
+ availability?: DeviceAvailability;
339
339
  }
340
340
  export interface DeviceMinutes {
341
341
  total?: number;
@@ -370,8 +370,8 @@ export interface RemoteAccessSession {
370
370
  arn?: string;
371
371
  name?: string;
372
372
  created?: Date;
373
- status?: ExecutionStatus | string;
374
- result?: ExecutionResult | string;
373
+ status?: ExecutionStatus;
374
+ result?: ExecutionResult;
375
375
  message?: string;
376
376
  started?: Date;
377
377
  stopped?: Date;
@@ -382,11 +382,11 @@ export interface RemoteAccessSession {
382
382
  remoteRecordAppArn?: string;
383
383
  hostAddress?: string;
384
384
  clientId?: string;
385
- billingMethod?: BillingMethod | string;
385
+ billingMethod?: BillingMethod;
386
386
  deviceMinutes?: DeviceMinutes;
387
387
  endpoint?: string;
388
388
  deviceUdid?: string;
389
- interactionMode?: InteractionMode | string;
389
+ interactionMode?: InteractionMode;
390
390
  skipAppResign?: boolean;
391
391
  vpcConfig?: VpcConfig;
392
392
  }
@@ -466,7 +466,7 @@ export type UploadType = (typeof UploadType)[keyof typeof UploadType];
466
466
  export interface CreateUploadRequest {
467
467
  projectArn: string | undefined;
468
468
  name: string | undefined;
469
- type: UploadType | string | undefined;
469
+ type: UploadType | undefined;
470
470
  contentType?: string;
471
471
  }
472
472
  export declare const UploadCategory: {
@@ -486,13 +486,13 @@ export interface Upload {
486
486
  arn?: string;
487
487
  name?: string;
488
488
  created?: Date;
489
- type?: UploadType | string;
490
- status?: UploadStatus | string;
489
+ type?: UploadType;
490
+ status?: UploadStatus;
491
491
  url?: string;
492
492
  metadata?: string;
493
493
  contentType?: string;
494
494
  message?: string;
495
- category?: UploadCategory | string;
495
+ category?: UploadCategory;
496
496
  }
497
497
  export interface CreateUploadResult {
498
498
  upload?: Upload;
@@ -606,7 +606,7 @@ export interface ScheduleRunConfiguration {
606
606
  customerArtifactPaths?: CustomerArtifactPaths;
607
607
  radios?: Radios;
608
608
  auxiliaryApps?: string[];
609
- billingMethod?: BillingMethod | string;
609
+ billingMethod?: BillingMethod;
610
610
  }
611
611
  export declare const TestType: {
612
612
  readonly APPIUM_JAVA_JUNIT: "APPIUM_JAVA_JUNIT";
@@ -633,7 +633,7 @@ export declare const TestType: {
633
633
  };
634
634
  export type TestType = (typeof TestType)[keyof typeof TestType];
635
635
  export interface ScheduleRunTest {
636
- type: TestType | string | undefined;
636
+ type: TestType | undefined;
637
637
  testPackageArn?: string;
638
638
  testSpecArn?: string;
639
639
  filter?: string;
@@ -642,13 +642,13 @@ export interface ScheduleRunTest {
642
642
  export interface GetDevicePoolCompatibilityRequest {
643
643
  devicePoolArn: string | undefined;
644
644
  appArn?: string;
645
- testType?: TestType | string;
645
+ testType?: TestType;
646
646
  test?: ScheduleRunTest;
647
647
  configuration?: ScheduleRunConfiguration;
648
648
  }
649
649
  export interface IncompatibilityMessage {
650
650
  message?: string;
651
- type?: DeviceAttribute | string;
651
+ type?: DeviceAttribute;
652
652
  }
653
653
  export interface DevicePoolCompatibilityResult {
654
654
  device?: Device;
@@ -671,10 +671,10 @@ export interface GetJobRequest {
671
671
  export interface Job {
672
672
  arn?: string;
673
673
  name?: string;
674
- type?: TestType | string;
674
+ type?: TestType;
675
675
  created?: Date;
676
- status?: ExecutionStatus | string;
677
- result?: ExecutionResult | string;
676
+ status?: ExecutionStatus;
677
+ result?: ExecutionResult;
678
678
  started?: Date;
679
679
  stopped?: Date;
680
680
  counters?: Counters;
@@ -699,7 +699,7 @@ export interface GetOfferingStatusRequest {
699
699
  }
700
700
  export interface MonetaryAmount {
701
701
  amount?: number;
702
- currencyCode?: CurrencyCode | string;
702
+ currencyCode?: CurrencyCode;
703
703
  }
704
704
  export declare const RecurringChargeFrequency: {
705
705
  readonly MONTHLY: "MONTHLY";
@@ -708,7 +708,7 @@ export type RecurringChargeFrequency =
708
708
  (typeof RecurringChargeFrequency)[keyof typeof RecurringChargeFrequency];
709
709
  export interface RecurringCharge {
710
710
  cost?: MonetaryAmount;
711
- frequency?: RecurringChargeFrequency | string;
711
+ frequency?: RecurringChargeFrequency;
712
712
  }
713
713
  export declare const OfferingType: {
714
714
  readonly RECURRING: "RECURRING";
@@ -717,8 +717,8 @@ export type OfferingType = (typeof OfferingType)[keyof typeof OfferingType];
717
717
  export interface Offering {
718
718
  id?: string;
719
719
  description?: string;
720
- type?: OfferingType | string;
721
- platform?: DevicePlatform | string;
720
+ type?: OfferingType;
721
+ platform?: DevicePlatform;
722
722
  recurringCharges?: RecurringCharge[];
723
723
  }
724
724
  export declare const OfferingTransactionType: {
@@ -729,7 +729,7 @@ export declare const OfferingTransactionType: {
729
729
  export type OfferingTransactionType =
730
730
  (typeof OfferingTransactionType)[keyof typeof OfferingTransactionType];
731
731
  export interface OfferingStatus {
732
- type?: OfferingTransactionType | string;
732
+ type?: OfferingTransactionType;
733
733
  offering?: Offering;
734
734
  quantity?: number;
735
735
  effectiveOn?: Date;
@@ -778,8 +778,8 @@ export declare const DeviceFilterAttribute: {
778
778
  export type DeviceFilterAttribute =
779
779
  (typeof DeviceFilterAttribute)[keyof typeof DeviceFilterAttribute];
780
780
  export interface DeviceFilter {
781
- attribute: DeviceFilterAttribute | string | undefined;
782
- operator: RuleOperator | string | undefined;
781
+ attribute: DeviceFilterAttribute | undefined;
782
+ operator: RuleOperator | undefined;
783
783
  values: string[] | undefined;
784
784
  }
785
785
  export interface DeviceSelectionResult {
@@ -796,22 +796,22 @@ export type ExecutionResultCode =
796
796
  export interface Run {
797
797
  arn?: string;
798
798
  name?: string;
799
- type?: TestType | string;
800
- platform?: DevicePlatform | string;
799
+ type?: TestType;
800
+ platform?: DevicePlatform;
801
801
  created?: Date;
802
- status?: ExecutionStatus | string;
803
- result?: ExecutionResult | string;
802
+ status?: ExecutionStatus;
803
+ result?: ExecutionResult;
804
804
  started?: Date;
805
805
  stopped?: Date;
806
806
  counters?: Counters;
807
807
  message?: string;
808
808
  totalJobs?: number;
809
809
  completedJobs?: number;
810
- billingMethod?: BillingMethod | string;
810
+ billingMethod?: BillingMethod;
811
811
  deviceMinutes?: DeviceMinutes;
812
812
  networkProfile?: NetworkProfile;
813
813
  parsingResultUrl?: string;
814
- resultCode?: ExecutionResultCode | string;
814
+ resultCode?: ExecutionResultCode;
815
815
  seed?: number;
816
816
  appUpload?: string;
817
817
  eventCount?: number;
@@ -836,10 +836,10 @@ export interface GetSuiteRequest {
836
836
  export interface Suite {
837
837
  arn?: string;
838
838
  name?: string;
839
- type?: TestType | string;
839
+ type?: TestType;
840
840
  created?: Date;
841
- status?: ExecutionStatus | string;
842
- result?: ExecutionResult | string;
841
+ status?: ExecutionStatus;
842
+ result?: ExecutionResult;
843
843
  started?: Date;
844
844
  stopped?: Date;
845
845
  counters?: Counters;
@@ -855,10 +855,10 @@ export interface GetTestRequest {
855
855
  export interface Test {
856
856
  arn?: string;
857
857
  name?: string;
858
- type?: TestType | string;
858
+ type?: TestType;
859
859
  created?: Date;
860
- status?: ExecutionStatus | string;
861
- result?: ExecutionResult | string;
860
+ status?: ExecutionStatus;
861
+ result?: ExecutionResult;
862
862
  started?: Date;
863
863
  stopped?: Date;
864
864
  counters?: Counters;
@@ -888,7 +888,7 @@ export type TestGridSessionStatus =
888
888
  (typeof TestGridSessionStatus)[keyof typeof TestGridSessionStatus];
889
889
  export interface TestGridSession {
890
890
  arn?: string;
891
- status?: TestGridSessionStatus | string;
891
+ status?: TestGridSessionStatus;
892
892
  created?: Date;
893
893
  ended?: Date;
894
894
  billingMinutes?: number;
@@ -918,7 +918,7 @@ export interface InstallToRemoteAccessSessionResult {
918
918
  }
919
919
  export interface ListArtifactsRequest {
920
920
  arn: string | undefined;
921
- type: ArtifactCategory | string | undefined;
921
+ type: ArtifactCategory | undefined;
922
922
  nextToken?: string;
923
923
  }
924
924
  export interface ListArtifactsResult {
@@ -935,7 +935,7 @@ export interface ListDeviceInstancesResult {
935
935
  }
936
936
  export interface ListDevicePoolsRequest {
937
937
  arn: string | undefined;
938
- type?: DevicePoolType | string;
938
+ type?: DevicePoolType;
939
939
  nextToken?: string;
940
940
  }
941
941
  export interface ListDevicePoolsResult {
@@ -969,7 +969,7 @@ export interface ListJobsResult {
969
969
  }
970
970
  export interface ListNetworkProfilesRequest {
971
971
  arn: string | undefined;
972
- type?: NetworkProfileType | string;
972
+ type?: NetworkProfileType;
973
973
  nextToken?: string;
974
974
  }
975
975
  export interface ListNetworkProfilesResult {
@@ -1058,7 +1058,7 @@ export declare const SampleType: {
1058
1058
  export type SampleType = (typeof SampleType)[keyof typeof SampleType];
1059
1059
  export interface Sample {
1060
1060
  arn?: string;
1061
- type?: SampleType | string;
1061
+ type?: SampleType;
1062
1062
  url?: string;
1063
1063
  }
1064
1064
  export interface ListSamplesResult {
@@ -1115,7 +1115,7 @@ export type TestGridSessionArtifactCategory =
1115
1115
  (typeof TestGridSessionArtifactCategory)[keyof typeof TestGridSessionArtifactCategory];
1116
1116
  export interface ListTestGridSessionArtifactsRequest {
1117
1117
  sessionArn: string | undefined;
1118
- type?: TestGridSessionArtifactCategory | string;
1118
+ type?: TestGridSessionArtifactCategory;
1119
1119
  maxResult?: number;
1120
1120
  nextToken?: string;
1121
1121
  }
@@ -1128,7 +1128,7 @@ export type TestGridSessionArtifactType =
1128
1128
  (typeof TestGridSessionArtifactType)[keyof typeof TestGridSessionArtifactType];
1129
1129
  export interface TestGridSessionArtifact {
1130
1130
  filename?: string;
1131
- type?: TestGridSessionArtifactType | string;
1131
+ type?: TestGridSessionArtifactType;
1132
1132
  url?: string;
1133
1133
  }
1134
1134
  export interface ListTestGridSessionArtifactsResult {
@@ -1137,7 +1137,7 @@ export interface ListTestGridSessionArtifactsResult {
1137
1137
  }
1138
1138
  export interface ListTestGridSessionsRequest {
1139
1139
  projectArn: string | undefined;
1140
- status?: TestGridSessionStatus | string;
1140
+ status?: TestGridSessionStatus;
1141
1141
  creationTimeAfter?: Date;
1142
1142
  creationTimeBefore?: Date;
1143
1143
  endTimeAfter?: Date;
@@ -1171,7 +1171,7 @@ export interface Problem {
1171
1171
  suite?: ProblemDetail;
1172
1172
  test?: ProblemDetail;
1173
1173
  device?: Device;
1174
- result?: ExecutionResult | string;
1174
+ result?: ExecutionResult;
1175
1175
  message?: string;
1176
1176
  }
1177
1177
  export interface UniqueProblem {
@@ -1179,12 +1179,12 @@ export interface UniqueProblem {
1179
1179
  problems?: Problem[];
1180
1180
  }
1181
1181
  export interface ListUniqueProblemsResult {
1182
- uniqueProblems?: Record<string, UniqueProblem[]>;
1182
+ uniqueProblems?: Record<ExecutionResult, UniqueProblem[]>;
1183
1183
  nextToken?: string;
1184
1184
  }
1185
1185
  export interface ListUploadsRequest {
1186
1186
  arn: string | undefined;
1187
- type?: UploadType | string;
1187
+ type?: UploadType;
1188
1188
  nextToken?: string;
1189
1189
  }
1190
1190
  export interface ListUploadsResult {
@@ -1321,7 +1321,7 @@ export interface UpdateNetworkProfileRequest {
1321
1321
  arn: string | undefined;
1322
1322
  name?: string;
1323
1323
  description?: string;
1324
- type?: NetworkProfileType | string;
1324
+ type?: NetworkProfileType;
1325
1325
  uplinkBandwidthBits?: number;
1326
1326
  downlinkBandwidthBits?: number;
1327
1327
  uplinkDelayMs?: number;
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.427.0",
4
+ "version": "3.429.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",
@@ -21,39 +21,39 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"
59
59
  },