@aws-sdk/client-device-farm 3.1173.0 → 3.1174.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 (27) hide show
  1. package/dist-cjs/index.js +10 -3
  2. package/dist-es/models/enums.js +6 -0
  3. package/dist-es/schemas/schemas_0.js +2 -2
  4. package/dist-types/commands/CreateDevicePoolCommand.d.ts +2 -2
  5. package/dist-types/commands/CreateRemoteAccessSessionCommand.d.ts +1 -0
  6. package/dist-types/commands/GetDeviceCommand.d.ts +3 -1
  7. package/dist-types/commands/GetDevicePoolCommand.d.ts +1 -1
  8. package/dist-types/commands/GetDevicePoolCompatibilityCommand.d.ts +4 -2
  9. package/dist-types/commands/GetJobCommand.d.ts +1 -0
  10. package/dist-types/commands/GetRemoteAccessSessionCommand.d.ts +1 -0
  11. package/dist-types/commands/GetRunCommand.d.ts +1 -1
  12. package/dist-types/commands/ListDevicePoolsCommand.d.ts +1 -1
  13. package/dist-types/commands/ListDevicesCommand.d.ts +2 -1
  14. package/dist-types/commands/ListJobsCommand.d.ts +1 -0
  15. package/dist-types/commands/ListRemoteAccessSessionsCommand.d.ts +1 -0
  16. package/dist-types/commands/ListRunsCommand.d.ts +1 -1
  17. package/dist-types/commands/ListUniqueProblemsCommand.d.ts +1 -0
  18. package/dist-types/commands/ScheduleRunCommand.d.ts +2 -2
  19. package/dist-types/commands/StopJobCommand.d.ts +1 -0
  20. package/dist-types/commands/StopRemoteAccessSessionCommand.d.ts +1 -0
  21. package/dist-types/commands/StopRunCommand.d.ts +1 -1
  22. package/dist-types/commands/UpdateDevicePoolCommand.d.ts +2 -2
  23. package/dist-types/models/enums.d.ts +14 -0
  24. package/dist-types/models/models_0.d.ts +77 -2
  25. package/dist-types/ts3.4/models/enums.d.ts +7 -0
  26. package/dist-types/ts3.4/models/models_0.d.ts +2 -0
  27. package/package.json +1 -1
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1172.0";
72
+ var version = "3.1173.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -1196,8 +1196,8 @@ var DeleteVPCEConfigurationResult$ = [3, n0, _DVPCECRe,
1196
1196
  ];
1197
1197
  var Device$ = [3, n0, _D,
1198
1198
  0,
1199
- [_a, _n, _ma, _mo, _mI, _fF, _pl, _o, _cp, _re, _hS, _me, _i, _ca, _ra, _rAE, _rDE, _fT, _fN, _in, _av],
1200
- [0, 0, 0, 0, 0, 0, 0, 0, () => CPU$, () => Resolution$, 1, 1, 0, 0, 0, 2, 2, 0, 0, () => DeviceInstances, 0]
1199
+ [_a, _n, _ma, _mo, _mI, _fF, _pl, _t, _o, _cp, _re, _hS, _me, _i, _ca, _ra, _rAE, _rDE, _fT, _fN, _in, _av],
1200
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, () => CPU$, () => Resolution$, 1, 1, 0, 0, 0, 2, 2, 0, 0, () => DeviceInstances, 0]
1201
1201
  ];
1202
1202
  var DeviceFilter$ = [3, n0, _DF,
1203
1203
  0,
@@ -2955,6 +2955,7 @@ const DeviceAttribute = {
2955
2955
  APPIUM_VERSION: "APPIUM_VERSION",
2956
2956
  ARN: "ARN",
2957
2957
  AVAILABILITY: "AVAILABILITY",
2958
+ DEVICE_TYPE: "DEVICE_TYPE",
2958
2959
  FLEET_TYPE: "FLEET_TYPE",
2959
2960
  FORM_FACTOR: "FORM_FACTOR",
2960
2961
  INSTANCE_ARN: "INSTANCE_ARN",
@@ -3005,6 +3006,10 @@ const InstanceStatus = {
3005
3006
  NOT_AVAILABLE: "NOT_AVAILABLE",
3006
3007
  PREPARING: "PREPARING",
3007
3008
  };
3009
+ const DeviceType = {
3010
+ PHYSICAL: "PHYSICAL",
3011
+ VIRTUAL: "VIRTUAL",
3012
+ };
3008
3013
  const ExecutionResult = {
3009
3014
  ERRORED: "ERRORED",
3010
3015
  FAILED: "FAILED",
@@ -3113,6 +3118,7 @@ const OfferingTransactionType = {
3113
3118
  const DeviceFilterAttribute = {
3114
3119
  ARN: "ARN",
3115
3120
  AVAILABILITY: "AVAILABILITY",
3121
+ DEVICE_TYPE: "DEVICE_TYPE",
3116
3122
  FLEET_TYPE: "FLEET_TYPE",
3117
3123
  FORM_FACTOR: "FORM_FACTOR",
3118
3124
  INSTANCE_ARN: "INSTANCE_ARN",
@@ -3267,6 +3273,7 @@ exports.DevicePoolType = DevicePoolType;
3267
3273
  exports.DeviceProxy$ = DeviceProxy$;
3268
3274
  exports.DeviceSelectionConfiguration$ = DeviceSelectionConfiguration$;
3269
3275
  exports.DeviceSelectionResult$ = DeviceSelectionResult$;
3276
+ exports.DeviceType = DeviceType;
3270
3277
  exports.EnvironmentVariable$ = EnvironmentVariable$;
3271
3278
  exports.ExecutionConfiguration$ = ExecutionConfiguration$;
3272
3279
  exports.ExecutionResult = ExecutionResult;
@@ -46,6 +46,7 @@ export const DeviceAttribute = {
46
46
  APPIUM_VERSION: "APPIUM_VERSION",
47
47
  ARN: "ARN",
48
48
  AVAILABILITY: "AVAILABILITY",
49
+ DEVICE_TYPE: "DEVICE_TYPE",
49
50
  FLEET_TYPE: "FLEET_TYPE",
50
51
  FORM_FACTOR: "FORM_FACTOR",
51
52
  INSTANCE_ARN: "INSTANCE_ARN",
@@ -96,6 +97,10 @@ export const InstanceStatus = {
96
97
  NOT_AVAILABLE: "NOT_AVAILABLE",
97
98
  PREPARING: "PREPARING",
98
99
  };
100
+ export const DeviceType = {
101
+ PHYSICAL: "PHYSICAL",
102
+ VIRTUAL: "VIRTUAL",
103
+ };
99
104
  export const ExecutionResult = {
100
105
  ERRORED: "ERRORED",
101
106
  FAILED: "FAILED",
@@ -204,6 +209,7 @@ export const OfferingTransactionType = {
204
209
  export const DeviceFilterAttribute = {
205
210
  ARN: "ARN",
206
211
  AVAILABILITY: "AVAILABILITY",
212
+ DEVICE_TYPE: "DEVICE_TYPE",
207
213
  FLEET_TYPE: "FLEET_TYPE",
208
214
  FORM_FACTOR: "FORM_FACTOR",
209
215
  INSTANCE_ARN: "INSTANCE_ARN",
@@ -895,8 +895,8 @@ export var DeleteVPCEConfigurationResult$ = [3, n0, _DVPCECRe,
895
895
  ];
896
896
  export var Device$ = [3, n0, _D,
897
897
  0,
898
- [_a, _n, _ma, _mo, _mI, _fF, _pl, _o, _cp, _re, _hS, _me, _i, _ca, _ra, _rAE, _rDE, _fT, _fN, _in, _av],
899
- [0, 0, 0, 0, 0, 0, 0, 0, () => CPU$, () => Resolution$, 1, 1, 0, 0, 0, 2, 2, 0, 0, () => DeviceInstances, 0]
898
+ [_a, _n, _ma, _mo, _mI, _fF, _pl, _t, _o, _cp, _re, _hS, _me, _i, _ca, _ra, _rAE, _rDE, _fT, _fN, _in, _av],
899
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, () => CPU$, () => Resolution$, 1, 1, 0, 0, 0, 2, 2, 0, 0, () => DeviceInstances, 0]
900
900
  ];
901
901
  export var DeviceFilter$ = [3, n0, _DF,
902
902
  0,
@@ -39,7 +39,7 @@ declare const CreateDevicePoolCommand_base: {
39
39
  * description: "STRING_VALUE",
40
40
  * rules: [ // Rules // required
41
41
  * { // Rule
42
- * attribute: "ARN" || "PLATFORM" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
42
+ * attribute: "ARN" || "PLATFORM" || "FORM_FACTOR" || "DEVICE_TYPE" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
43
43
  * operator: "EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "IN" || "NOT_IN" || "CONTAINS",
44
44
  * value: "STRING_VALUE",
45
45
  * },
@@ -56,7 +56,7 @@ declare const CreateDevicePoolCommand_base: {
56
56
  * // type: "CURATED" || "PRIVATE",
57
57
  * // rules: [ // Rules
58
58
  * // { // Rule
59
- * // attribute: "ARN" || "PLATFORM" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
59
+ * // attribute: "ARN" || "PLATFORM" || "FORM_FACTOR" || "DEVICE_TYPE" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
60
60
  * // operator: "EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "IN" || "NOT_IN" || "CONTAINS",
61
61
  * // value: "STRING_VALUE",
62
62
  * // },
@@ -78,6 +78,7 @@ declare const CreateRemoteAccessSessionCommand_base: {
78
78
  * // modelId: "STRING_VALUE",
79
79
  * // formFactor: "PHONE" || "TABLET",
80
80
  * // platform: "ANDROID" || "IOS",
81
+ * // type: "PHYSICAL" || "VIRTUAL",
81
82
  * // os: "STRING_VALUE",
82
83
  * // cpu: { // CPU
83
84
  * // frequency: "STRING_VALUE",
@@ -47,6 +47,7 @@ declare const GetDeviceCommand_base: {
47
47
  * // modelId: "STRING_VALUE",
48
48
  * // formFactor: "PHONE" || "TABLET",
49
49
  * // platform: "ANDROID" || "IOS",
50
+ * // type: "PHYSICAL" || "VIRTUAL",
50
51
  * // os: "STRING_VALUE",
51
52
  * // cpu: { // CPU
52
53
  * // frequency: "STRING_VALUE",
@@ -144,7 +145,8 @@ declare const GetDeviceCommand_base: {
144
145
  * resolution: {
145
146
  * height: 1920,
146
147
  * width: 1080
147
- * }
148
+ * },
149
+ * type: "PHYSICAL"
148
150
  * }
149
151
  * }
150
152
  * *\/
@@ -46,7 +46,7 @@ declare const GetDevicePoolCommand_base: {
46
46
  * // type: "CURATED" || "PRIVATE",
47
47
  * // rules: [ // Rules
48
48
  * // { // Rule
49
- * // attribute: "ARN" || "PLATFORM" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
49
+ * // attribute: "ARN" || "PLATFORM" || "FORM_FACTOR" || "DEVICE_TYPE" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
50
50
  * // operator: "EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "IN" || "NOT_IN" || "CONTAINS",
51
51
  * // value: "STRING_VALUE",
52
52
  * // },
@@ -108,6 +108,7 @@ declare const GetDevicePoolCompatibilityCommand_base: {
108
108
  * // modelId: "STRING_VALUE",
109
109
  * // formFactor: "PHONE" || "TABLET",
110
110
  * // platform: "ANDROID" || "IOS",
111
+ * // type: "PHYSICAL" || "VIRTUAL",
111
112
  * // os: "STRING_VALUE",
112
113
  * // cpu: { // CPU
113
114
  * // frequency: "STRING_VALUE",
@@ -154,7 +155,7 @@ declare const GetDevicePoolCompatibilityCommand_base: {
154
155
  * // incompatibilityMessages: [ // IncompatibilityMessages
155
156
  * // { // IncompatibilityMessage
156
157
  * // message: "STRING_VALUE",
157
- * // type: "ARN" || "PLATFORM" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
158
+ * // type: "ARN" || "PLATFORM" || "FORM_FACTOR" || "DEVICE_TYPE" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
158
159
  * // },
159
160
  * // ],
160
161
  * // },
@@ -169,6 +170,7 @@ declare const GetDevicePoolCompatibilityCommand_base: {
169
170
  * // modelId: "STRING_VALUE",
170
171
  * // formFactor: "PHONE" || "TABLET",
171
172
  * // platform: "ANDROID" || "IOS",
173
+ * // type: "PHYSICAL" || "VIRTUAL",
172
174
  * // os: "STRING_VALUE",
173
175
  * // cpu: {
174
176
  * // frequency: "STRING_VALUE",
@@ -215,7 +217,7 @@ declare const GetDevicePoolCompatibilityCommand_base: {
215
217
  * // incompatibilityMessages: [
216
218
  * // {
217
219
  * // message: "STRING_VALUE",
218
- * // type: "ARN" || "PLATFORM" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
220
+ * // type: "ARN" || "PLATFORM" || "FORM_FACTOR" || "DEVICE_TYPE" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
219
221
  * // },
220
222
  * // ],
221
223
  * // },
@@ -66,6 +66,7 @@ declare const GetJobCommand_base: {
66
66
  * // modelId: "STRING_VALUE",
67
67
  * // formFactor: "PHONE" || "TABLET",
68
68
  * // platform: "ANDROID" || "IOS",
69
+ * // type: "PHYSICAL" || "VIRTUAL",
69
70
  * // os: "STRING_VALUE",
70
71
  * // cpu: { // CPU
71
72
  * // frequency: "STRING_VALUE",
@@ -56,6 +56,7 @@ declare const GetRemoteAccessSessionCommand_base: {
56
56
  * // modelId: "STRING_VALUE",
57
57
  * // formFactor: "PHONE" || "TABLET",
58
58
  * // platform: "ANDROID" || "IOS",
59
+ * // type: "PHYSICAL" || "VIRTUAL",
59
60
  * // os: "STRING_VALUE",
60
61
  * // cpu: { // CPU
61
62
  * // frequency: "STRING_VALUE",
@@ -121,7 +121,7 @@ declare const GetRunCommand_base: {
121
121
  * // deviceSelectionResult: { // DeviceSelectionResult
122
122
  * // filters: [ // DeviceFilters
123
123
  * // { // DeviceFilter
124
- * // attribute: "ARN" || "PLATFORM" || "OS_VERSION" || "MODEL" || "AVAILABILITY" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE", // required
124
+ * // attribute: "ARN" || "PLATFORM" || "OS_VERSION" || "MODEL" || "AVAILABILITY" || "FORM_FACTOR" || "DEVICE_TYPE" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE", // required
125
125
  * // operator: "EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "IN" || "NOT_IN" || "CONTAINS", // required
126
126
  * // values: [ // DeviceFilterValues // required
127
127
  * // "STRING_VALUE",
@@ -49,7 +49,7 @@ declare const ListDevicePoolsCommand_base: {
49
49
  * // type: "CURATED" || "PRIVATE",
50
50
  * // rules: [ // Rules
51
51
  * // { // Rule
52
- * // attribute: "ARN" || "PLATFORM" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
52
+ * // attribute: "ARN" || "PLATFORM" || "FORM_FACTOR" || "DEVICE_TYPE" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
53
53
  * // operator: "EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "IN" || "NOT_IN" || "CONTAINS",
54
54
  * // value: "STRING_VALUE",
55
55
  * // },
@@ -38,7 +38,7 @@ declare const ListDevicesCommand_base: {
38
38
  * nextToken: "STRING_VALUE",
39
39
  * filters: [ // DeviceFilters
40
40
  * { // DeviceFilter
41
- * attribute: "ARN" || "PLATFORM" || "OS_VERSION" || "MODEL" || "AVAILABILITY" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE", // required
41
+ * attribute: "ARN" || "PLATFORM" || "OS_VERSION" || "MODEL" || "AVAILABILITY" || "FORM_FACTOR" || "DEVICE_TYPE" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE", // required
42
42
  * operator: "EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "IN" || "NOT_IN" || "CONTAINS", // required
43
43
  * values: [ // DeviceFilterValues // required
44
44
  * "STRING_VALUE",
@@ -58,6 +58,7 @@ declare const ListDevicesCommand_base: {
58
58
  * // modelId: "STRING_VALUE",
59
59
  * // formFactor: "PHONE" || "TABLET",
60
60
  * // platform: "ANDROID" || "IOS",
61
+ * // type: "PHYSICAL" || "VIRTUAL",
61
62
  * // os: "STRING_VALUE",
62
63
  * // cpu: { // CPU
63
64
  * // frequency: "STRING_VALUE",
@@ -68,6 +68,7 @@ declare const ListJobsCommand_base: {
68
68
  * // modelId: "STRING_VALUE",
69
69
  * // formFactor: "PHONE" || "TABLET",
70
70
  * // platform: "ANDROID" || "IOS",
71
+ * // type: "PHYSICAL" || "VIRTUAL",
71
72
  * // os: "STRING_VALUE",
72
73
  * // cpu: { // CPU
73
74
  * // frequency: "STRING_VALUE",
@@ -58,6 +58,7 @@ declare const ListRemoteAccessSessionsCommand_base: {
58
58
  * // modelId: "STRING_VALUE",
59
59
  * // formFactor: "PHONE" || "TABLET",
60
60
  * // platform: "ANDROID" || "IOS",
61
+ * // type: "PHYSICAL" || "VIRTUAL",
61
62
  * // os: "STRING_VALUE",
62
63
  * // cpu: { // CPU
63
64
  * // frequency: "STRING_VALUE",
@@ -123,7 +123,7 @@ declare const ListRunsCommand_base: {
123
123
  * // deviceSelectionResult: { // DeviceSelectionResult
124
124
  * // filters: [ // DeviceFilters
125
125
  * // { // DeviceFilter
126
- * // attribute: "ARN" || "PLATFORM" || "OS_VERSION" || "MODEL" || "AVAILABILITY" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE", // required
126
+ * // attribute: "ARN" || "PLATFORM" || "OS_VERSION" || "MODEL" || "AVAILABILITY" || "FORM_FACTOR" || "DEVICE_TYPE" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE", // required
127
127
  * // operator: "EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "IN" || "NOT_IN" || "CONTAINS", // required
128
128
  * // values: [ // DeviceFilterValues // required
129
129
  * // "STRING_VALUE",
@@ -74,6 +74,7 @@ declare const ListUniqueProblemsCommand_base: {
74
74
  * // modelId: "STRING_VALUE",
75
75
  * // formFactor: "PHONE" || "TABLET",
76
76
  * // platform: "ANDROID" || "IOS",
77
+ * // type: "PHYSICAL" || "VIRTUAL",
77
78
  * // os: "STRING_VALUE",
78
79
  * // cpu: { // CPU
79
80
  * // frequency: "STRING_VALUE",
@@ -40,7 +40,7 @@ declare const ScheduleRunCommand_base: {
40
40
  * deviceSelectionConfiguration: { // DeviceSelectionConfiguration
41
41
  * filters: [ // DeviceFilters // required
42
42
  * { // DeviceFilter
43
- * attribute: "ARN" || "PLATFORM" || "OS_VERSION" || "MODEL" || "AVAILABILITY" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE", // required
43
+ * attribute: "ARN" || "PLATFORM" || "OS_VERSION" || "MODEL" || "AVAILABILITY" || "FORM_FACTOR" || "DEVICE_TYPE" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE", // required
44
44
  * operator: "EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "IN" || "NOT_IN" || "CONTAINS", // required
45
45
  * values: [ // DeviceFilterValues // required
46
46
  * "STRING_VALUE",
@@ -199,7 +199,7 @@ declare const ScheduleRunCommand_base: {
199
199
  * // deviceSelectionResult: { // DeviceSelectionResult
200
200
  * // filters: [ // DeviceFilters
201
201
  * // { // DeviceFilter
202
- * // attribute: "ARN" || "PLATFORM" || "OS_VERSION" || "MODEL" || "AVAILABILITY" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE", // required
202
+ * // attribute: "ARN" || "PLATFORM" || "OS_VERSION" || "MODEL" || "AVAILABILITY" || "FORM_FACTOR" || "DEVICE_TYPE" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE", // required
203
203
  * // operator: "EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "IN" || "NOT_IN" || "CONTAINS", // required
204
204
  * // values: [ // DeviceFilterValues // required
205
205
  * // "STRING_VALUE",
@@ -69,6 +69,7 @@ declare const StopJobCommand_base: {
69
69
  * // modelId: "STRING_VALUE",
70
70
  * // formFactor: "PHONE" || "TABLET",
71
71
  * // platform: "ANDROID" || "IOS",
72
+ * // type: "PHYSICAL" || "VIRTUAL",
72
73
  * // os: "STRING_VALUE",
73
74
  * // cpu: { // CPU
74
75
  * // frequency: "STRING_VALUE",
@@ -56,6 +56,7 @@ declare const StopRemoteAccessSessionCommand_base: {
56
56
  * // modelId: "STRING_VALUE",
57
57
  * // formFactor: "PHONE" || "TABLET",
58
58
  * // platform: "ANDROID" || "IOS",
59
+ * // type: "PHYSICAL" || "VIRTUAL",
59
60
  * // os: "STRING_VALUE",
60
61
  * // cpu: { // CPU
61
62
  * // frequency: "STRING_VALUE",
@@ -124,7 +124,7 @@ declare const StopRunCommand_base: {
124
124
  * // deviceSelectionResult: { // DeviceSelectionResult
125
125
  * // filters: [ // DeviceFilters
126
126
  * // { // DeviceFilter
127
- * // attribute: "ARN" || "PLATFORM" || "OS_VERSION" || "MODEL" || "AVAILABILITY" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE", // required
127
+ * // attribute: "ARN" || "PLATFORM" || "OS_VERSION" || "MODEL" || "AVAILABILITY" || "FORM_FACTOR" || "DEVICE_TYPE" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE", // required
128
128
  * // operator: "EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "IN" || "NOT_IN" || "CONTAINS", // required
129
129
  * // values: [ // DeviceFilterValues // required
130
130
  * // "STRING_VALUE",
@@ -41,7 +41,7 @@ declare const UpdateDevicePoolCommand_base: {
41
41
  * description: "STRING_VALUE",
42
42
  * rules: [ // Rules
43
43
  * { // Rule
44
- * attribute: "ARN" || "PLATFORM" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
44
+ * attribute: "ARN" || "PLATFORM" || "FORM_FACTOR" || "DEVICE_TYPE" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
45
45
  * operator: "EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "IN" || "NOT_IN" || "CONTAINS",
46
46
  * value: "STRING_VALUE",
47
47
  * },
@@ -59,7 +59,7 @@ declare const UpdateDevicePoolCommand_base: {
59
59
  * // type: "CURATED" || "PRIVATE",
60
60
  * // rules: [ // Rules
61
61
  * // { // Rule
62
- * // attribute: "ARN" || "PLATFORM" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
62
+ * // attribute: "ARN" || "PLATFORM" || "FORM_FACTOR" || "DEVICE_TYPE" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
63
63
  * // operator: "EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "IN" || "NOT_IN" || "CONTAINS",
64
64
  * // value: "STRING_VALUE",
65
65
  * // },
@@ -82,6 +82,7 @@ export declare const DeviceAttribute: {
82
82
  readonly APPIUM_VERSION: "APPIUM_VERSION";
83
83
  readonly ARN: "ARN";
84
84
  readonly AVAILABILITY: "AVAILABILITY";
85
+ readonly DEVICE_TYPE: "DEVICE_TYPE";
85
86
  readonly FLEET_TYPE: "FLEET_TYPE";
86
87
  readonly FORM_FACTOR: "FORM_FACTOR";
87
88
  readonly INSTANCE_ARN: "INSTANCE_ARN";
@@ -192,6 +193,18 @@ export declare const InstanceStatus: {
192
193
  * @public
193
194
  */
194
195
  export type InstanceStatus = (typeof InstanceStatus)[keyof typeof InstanceStatus];
196
+ /**
197
+ * @public
198
+ * @enum
199
+ */
200
+ export declare const DeviceType: {
201
+ readonly PHYSICAL: "PHYSICAL";
202
+ readonly VIRTUAL: "VIRTUAL";
203
+ };
204
+ /**
205
+ * @public
206
+ */
207
+ export type DeviceType = (typeof DeviceType)[keyof typeof DeviceType];
195
208
  /**
196
209
  * @public
197
210
  * @enum
@@ -400,6 +413,7 @@ export type OfferingTransactionType = (typeof OfferingTransactionType)[keyof typ
400
413
  export declare const DeviceFilterAttribute: {
401
414
  readonly ARN: "ARN";
402
415
  readonly AVAILABILITY: "AVAILABILITY";
416
+ readonly DEVICE_TYPE: "DEVICE_TYPE";
403
417
  readonly FLEET_TYPE: "FLEET_TYPE";
404
418
  readonly FORM_FACTOR: "FORM_FACTOR";
405
419
  readonly INSTANCE_ARN: "INSTANCE_ARN";
@@ -1,4 +1,4 @@
1
- import type { ArtifactCategory, ArtifactType, BillingMethod, CurrencyCode, DeviceAttribute, DeviceAvailability, DeviceFilterAttribute, DeviceFormFactor, DevicePlatform, DevicePoolType, ExecutionResult, ExecutionResultCode, ExecutionStatus, InsightsType, InstanceStatus, InteractionMode, NetworkProfileType, OfferingTransactionType, OfferingType, RecurringChargeFrequency, ReportStatus, RuleOperator, SampleType, TestGridSessionArtifactCategory, TestGridSessionArtifactType, TestGridSessionStatus, TestType, UploadCategory, UploadStatus, UploadType } from "./enums";
1
+ import type { ArtifactCategory, ArtifactType, BillingMethod, CurrencyCode, DeviceAttribute, DeviceAvailability, DeviceFilterAttribute, DeviceFormFactor, DevicePlatform, DevicePoolType, DeviceType, ExecutionResult, ExecutionResultCode, ExecutionStatus, InsightsType, InstanceStatus, InteractionMode, NetworkProfileType, OfferingTransactionType, OfferingType, RecurringChargeFrequency, ReportStatus, RuleOperator, SampleType, TestGridSessionArtifactCategory, TestGridSessionArtifactType, TestGridSessionStatus, TestType, UploadCategory, UploadStatus, UploadType } from "./enums";
2
2
  /**
3
3
  * <p>Represents information about free trial device minutes for an AWS
4
4
  * account.</p>
@@ -269,6 +269,12 @@ export interface Rule {
269
269
  * <p>Supported operators: <code>EQUALS</code>
270
270
  * </p>
271
271
  * </dd>
272
+ * <dt>DEVICE_TYPE</dt>
273
+ * <dd>
274
+ * <p>The device type. Valid values are PHYSICAL or VIRTUAL.</p>
275
+ * <p>Supported operators: <code>EQUALS</code>
276
+ * </p>
277
+ * </dd>
272
278
  * <dt>FLEET_TYPE</dt>
273
279
  * <dd>
274
280
  * <p>The fleet type. Valid values are PUBLIC or PRIVATE.</p>
@@ -380,6 +386,12 @@ export interface CreateDevicePoolRequest {
380
386
  description?: string | undefined;
381
387
  /**
382
388
  * <p>The device pool's rules.</p>
389
+ * <note>
390
+ * <p>A device pool contains either physical devices or virtual devices, but not both. If you define the
391
+ * pool with attribute rules and those rules do not include a <code>DEVICE_TYPE</code> rule, the pool
392
+ * contains only physical devices. If you define the pool by listing device ARNs, the pool contains the
393
+ * devices you list.</p>
394
+ * </note>
383
395
  * @public
384
396
  */
385
397
  rules: Rule[] | undefined;
@@ -432,6 +444,12 @@ export interface DevicePool {
432
444
  type?: DevicePoolType | undefined;
433
445
  /**
434
446
  * <p>Information about the device pool's rules.</p>
447
+ * <note>
448
+ * <p>A device pool contains either physical devices or virtual devices, but not both. If you define the
449
+ * pool with attribute rules and those rules do not include a <code>DEVICE_TYPE</code> rule, the pool
450
+ * contains only physical devices. If you define the pool by listing device ARNs, the pool contains the
451
+ * devices you list.</p>
452
+ * </note>
435
453
  * @public
436
454
  */
437
455
  rules?: Rule[] | undefined;
@@ -995,7 +1013,7 @@ export interface Resolution {
995
1013
  height?: number | undefined;
996
1014
  }
997
1015
  /**
998
- * <p>Represents a device type that an app is tested against.</p>
1016
+ * <p>Represents a device that an app is tested against.</p>
999
1017
  * @public
1000
1018
  */
1001
1019
  export interface Device {
@@ -1052,6 +1070,25 @@ export interface Device {
1052
1070
  * @public
1053
1071
  */
1054
1072
  platform?: DevicePlatform | undefined;
1073
+ /**
1074
+ * <p>The device type.</p>
1075
+ * <p>Allowed values include:</p>
1076
+ * <ul>
1077
+ * <li>
1078
+ * <p>PHYSICAL: A physical device.</p>
1079
+ * </li>
1080
+ * <li>
1081
+ * <p>VIRTUAL: An emulator or simulator hosted by Device Farm.</p>
1082
+ * </li>
1083
+ * </ul>
1084
+ * <note>
1085
+ * <p>For iOS, a virtual device requires a simulator build of your app, and a physical device requires a
1086
+ * device build. If the app does not match the device type, the device is reported as incompatible with a
1087
+ * <code>DEVICE_TYPE</code> incompatibility message.</p>
1088
+ * </note>
1089
+ * @public
1090
+ */
1091
+ type?: DeviceType | undefined;
1055
1092
  /**
1056
1093
  * <p>The device's operating system type.</p>
1057
1094
  * @public
@@ -2472,6 +2509,9 @@ export interface IncompatibilityMessage {
2472
2509
  * <p>ARN</p>
2473
2510
  * </li>
2474
2511
  * <li>
2512
+ * <p>DEVICE_TYPE (for example, physical or virtual)</p>
2513
+ * </li>
2514
+ * <li>
2475
2515
  * <p>FORM_FACTOR (for example, phone or tablet)</p>
2476
2516
  * </li>
2477
2517
  * <li>
@@ -3103,6 +3143,12 @@ export interface DeviceFilter {
3103
3143
  * <p>Supported operators: <code>EQUALS</code>
3104
3144
  * </p>
3105
3145
  * </dd>
3146
+ * <dt>DEVICE_TYPE</dt>
3147
+ * <dd>
3148
+ * <p>The device type. Valid values are PHYSICAL or VIRTUAL.</p>
3149
+ * <p>Supported operators: <code>EQUALS</code>
3150
+ * </p>
3151
+ * </dd>
3106
3152
  * <dt>MANUFACTURER</dt>
3107
3153
  * <dd>
3108
3154
  * <p>The device manufacturer (for example, Apple).</p>
@@ -3183,6 +3229,9 @@ export interface DeviceFilter {
3183
3229
  * <p>The FORM_FACTOR attribute can be set to PHONE or TABLET.</p>
3184
3230
  * </li>
3185
3231
  * <li>
3232
+ * <p>The DEVICE_TYPE attribute can be set to PHYSICAL or VIRTUAL.</p>
3233
+ * </li>
3234
+ * <li>
3186
3235
  * <p>The FLEET_TYPE attribute can be set to PUBLIC or PRIVATE.</p>
3187
3236
  * </li>
3188
3237
  * </ul>
@@ -4344,6 +4393,9 @@ export interface ListDevicesRequest {
4344
4393
  * <p>FORM_FACTOR: The device form factor. Valid values are PHONE or TABLET.</p>
4345
4394
  * </li>
4346
4395
  * <li>
4396
+ * <p>DEVICE_TYPE: The device type. Valid values are PHYSICAL or VIRTUAL.</p>
4397
+ * </li>
4398
+ * <li>
4347
4399
  * <p>MANUFACTURER: The device manufacturer (for example, Apple).</p>
4348
4400
  * </li>
4349
4401
  * <li>
@@ -5655,6 +5707,10 @@ export interface DeviceSelectionConfiguration {
5655
5707
  * TABLET.</p>
5656
5708
  * </li>
5657
5709
  * <li>
5710
+ * <p>DEVICE_TYPE: The device type. Valid values are PHYSICAL or
5711
+ * VIRTUAL.</p>
5712
+ * </li>
5713
+ * <li>
5658
5714
  * <p>MANUFACTURER: The device manufacturer (for example,
5659
5715
  * Apple).</p>
5660
5716
  * </li>
@@ -5736,11 +5792,19 @@ export interface DeviceSelectionConfiguration {
5736
5792
  * <p>The FORM_FACTOR attribute can be set to PHONE or TABLET.</p>
5737
5793
  * </li>
5738
5794
  * <li>
5795
+ * <p>The DEVICE_TYPE attribute can be set to PHYSICAL or VIRTUAL.</p>
5796
+ * </li>
5797
+ * <li>
5739
5798
  * <p>The FLEET_TYPE attribute can be set to PUBLIC or PRIVATE.</p>
5740
5799
  * </li>
5741
5800
  * </ul>
5742
5801
  * </li>
5743
5802
  * </ul>
5803
+ * <note>
5804
+ * <p>If the filters select devices by attribute and do not include a <code>DEVICE_TYPE</code> filter, only
5805
+ * physical devices are selected. If the filters select devices by ARN, the run uses the devices you
5806
+ * list.</p>
5807
+ * </note>
5744
5808
  * @public
5745
5809
  */
5746
5810
  filters: DeviceFilter[] | undefined;
@@ -5815,6 +5879,11 @@ export interface ScheduleRunRequest {
5815
5879
  * <code>deviceSelectionConfiguration</code>
5816
5880
  * </b> is required in a
5817
5881
  * request.</p>
5882
+ * <note>
5883
+ * <p>If the filters select devices by attribute and do not include a <code>DEVICE_TYPE</code> filter, only
5884
+ * physical devices are selected. If the filters select devices by ARN, the run uses the devices you
5885
+ * list.</p>
5886
+ * </note>
5818
5887
  * @public
5819
5888
  */
5820
5889
  deviceSelectionConfiguration?: DeviceSelectionConfiguration | undefined;
@@ -6019,6 +6088,12 @@ export interface UpdateDevicePoolRequest {
6019
6088
  /**
6020
6089
  * <p>Represents the rules to modify for the device pool. Updating rules is optional. If you update rules for
6021
6090
  * your request, the update replaces the existing rules.</p>
6091
+ * <note>
6092
+ * <p>A device pool contains either physical devices or virtual devices, but not both. If you define the
6093
+ * pool with attribute rules and those rules do not include a <code>DEVICE_TYPE</code> rule, the pool
6094
+ * contains only physical devices. If you define the pool by listing device ARNs, the pool contains the
6095
+ * devices you list.</p>
6096
+ * </note>
6022
6097
  * @public
6023
6098
  */
6024
6099
  rules?: Rule[] | undefined;
@@ -50,6 +50,7 @@ export declare const DeviceAttribute: {
50
50
  readonly APPIUM_VERSION: "APPIUM_VERSION";
51
51
  readonly ARN: "ARN";
52
52
  readonly AVAILABILITY: "AVAILABILITY";
53
+ readonly DEVICE_TYPE: "DEVICE_TYPE";
53
54
  readonly FLEET_TYPE: "FLEET_TYPE";
54
55
  readonly FORM_FACTOR: "FORM_FACTOR";
55
56
  readonly INSTANCE_ARN: "INSTANCE_ARN";
@@ -108,6 +109,11 @@ export declare const InstanceStatus: {
108
109
  readonly PREPARING: "PREPARING";
109
110
  };
110
111
  export type InstanceStatus = (typeof InstanceStatus)[keyof typeof InstanceStatus];
112
+ export declare const DeviceType: {
113
+ readonly PHYSICAL: "PHYSICAL";
114
+ readonly VIRTUAL: "VIRTUAL";
115
+ };
116
+ export type DeviceType = (typeof DeviceType)[keyof typeof DeviceType];
111
117
  export declare const ExecutionResult: {
112
118
  readonly ERRORED: "ERRORED";
113
119
  readonly FAILED: "FAILED";
@@ -230,6 +236,7 @@ export type OfferingTransactionType =
230
236
  export declare const DeviceFilterAttribute: {
231
237
  readonly ARN: "ARN";
232
238
  readonly AVAILABILITY: "AVAILABILITY";
239
+ readonly DEVICE_TYPE: "DEVICE_TYPE";
233
240
  readonly FLEET_TYPE: "FLEET_TYPE";
234
241
  readonly FORM_FACTOR: "FORM_FACTOR";
235
242
  readonly INSTANCE_ARN: "INSTANCE_ARN";
@@ -9,6 +9,7 @@ import {
9
9
  DeviceFormFactor,
10
10
  DevicePlatform,
11
11
  DevicePoolType,
12
+ DeviceType,
12
13
  ExecutionResult,
13
14
  ExecutionResultCode,
14
15
  ExecutionStatus,
@@ -206,6 +207,7 @@ export interface Device {
206
207
  modelId?: string | undefined;
207
208
  formFactor?: DeviceFormFactor | undefined;
208
209
  platform?: DevicePlatform | undefined;
210
+ type?: DeviceType | undefined;
209
211
  os?: string | undefined;
210
212
  cpu?: CPU | undefined;
211
213
  resolution?: Resolution | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-device-farm",
3
- "version": "3.1173.0",
3
+ "version": "3.1174.0",
4
4
  "description": "AWS SDK for JavaScript Device Farm Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-device-farm",
6
6
  "license": "Apache-2.0",