@aws-sdk/client-device-farm 3.750.0 → 3.756.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.
package/dist-cjs/index.js CHANGED
@@ -2501,6 +2501,7 @@ var se_ScheduleRunConfiguration = /* @__PURE__ */ __name((input, context) => {
2501
2501
  auxiliaryApps: import_smithy_client._json,
2502
2502
  billingMethod: [],
2503
2503
  customerArtifactPaths: import_smithy_client._json,
2504
+ deviceProxy: import_smithy_client._json,
2504
2505
  extraDataPackageArn: [],
2505
2506
  locale: [],
2506
2507
  location: (_) => se_Location(_, context),
@@ -2915,6 +2916,7 @@ var de_RemoteAccessSession = /* @__PURE__ */ __name((output, context) => {
2915
2916
  created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2916
2917
  device: (_) => de_Device(_, context),
2917
2918
  deviceMinutes: (_) => de_DeviceMinutes(_, context),
2919
+ deviceProxy: import_smithy_client._json,
2918
2920
  deviceUdid: import_smithy_client.expectString,
2919
2921
  endpoint: import_smithy_client.expectString,
2920
2922
  hostAddress: import_smithy_client.expectString,
@@ -2955,6 +2957,7 @@ var de_Run = /* @__PURE__ */ __name((output, context) => {
2955
2957
  customerArtifactPaths: import_smithy_client._json,
2956
2958
  deviceMinutes: (_) => de_DeviceMinutes(_, context),
2957
2959
  devicePoolArn: import_smithy_client.expectString,
2960
+ deviceProxy: import_smithy_client._json,
2958
2961
  deviceSelectionResult: import_smithy_client._json,
2959
2962
  eventCount: import_smithy_client.expectInt32,
2960
2963
  jobTimeoutMinutes: import_smithy_client.expectInt32,
@@ -1658,6 +1658,7 @@ const se_ScheduleRunConfiguration = (input, context) => {
1658
1658
  auxiliaryApps: _json,
1659
1659
  billingMethod: [],
1660
1660
  customerArtifactPaths: _json,
1661
+ deviceProxy: _json,
1661
1662
  extraDataPackageArn: [],
1662
1663
  locale: [],
1663
1664
  location: (_) => se_Location(_, context),
@@ -2088,6 +2089,7 @@ const de_RemoteAccessSession = (output, context) => {
2088
2089
  created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2089
2090
  device: (_) => de_Device(_, context),
2090
2091
  deviceMinutes: (_) => de_DeviceMinutes(_, context),
2092
+ deviceProxy: _json,
2091
2093
  deviceUdid: __expectString,
2092
2094
  endpoint: __expectString,
2093
2095
  hostAddress: __expectString,
@@ -2130,6 +2132,7 @@ const de_Run = (output, context) => {
2130
2132
  customerArtifactPaths: _json,
2131
2133
  deviceMinutes: (_) => de_DeviceMinutes(_, context),
2132
2134
  devicePoolArn: __expectString,
2135
+ deviceProxy: _json,
2133
2136
  deviceSelectionResult: _json,
2134
2137
  eventCount: __expectInt32,
2135
2138
  jobTimeoutMinutes: __expectInt32,
@@ -49,6 +49,10 @@ declare const CreateRemoteAccessSessionCommand_base: {
49
49
  * vpceConfigurationArns: [ // AmazonResourceNames
50
50
  * "STRING_VALUE",
51
51
  * ],
52
+ * deviceProxy: { // DeviceProxy
53
+ * host: "STRING_VALUE", // required
54
+ * port: Number("int"), // required
55
+ * },
52
56
  * },
53
57
  * interactionMode: "INTERACTIVE" || "NO_VIDEO" || "VIDEO_ONLY",
54
58
  * skipAppResign: true || false,
@@ -140,6 +144,10 @@ declare const CreateRemoteAccessSessionCommand_base: {
140
144
  * // ],
141
145
  * // vpcId: "STRING_VALUE", // required
142
146
  * // },
147
+ * // deviceProxy: { // DeviceProxy
148
+ * // host: "STRING_VALUE", // required
149
+ * // port: Number("int"), // required
150
+ * // },
143
151
  * // },
144
152
  * // };
145
153
  *
@@ -58,6 +58,10 @@ declare const GetDevicePoolCompatibilityCommand_base: {
58
58
  * vpceConfigurationArns: [ // AmazonResourceNames
59
59
  * "STRING_VALUE",
60
60
  * ],
61
+ * deviceProxy: { // DeviceProxy
62
+ * host: "STRING_VALUE", // required
63
+ * port: Number("int"), // required
64
+ * },
61
65
  * customerArtifactPaths: { // CustomerArtifactPaths
62
66
  * iosPaths: [ // IosPaths
63
67
  * "STRING_VALUE",
@@ -124,6 +124,10 @@ declare const GetRemoteAccessSessionCommand_base: {
124
124
  * // ],
125
125
  * // vpcId: "STRING_VALUE", // required
126
126
  * // },
127
+ * // deviceProxy: { // DeviceProxy
128
+ * // host: "STRING_VALUE", // required
129
+ * // port: Number("int"), // required
130
+ * // },
127
131
  * // },
128
132
  * // };
129
133
  *
@@ -82,6 +82,10 @@ declare const GetRunCommand_base: {
82
82
  * // uplinkLossPercent: Number("int"),
83
83
  * // downlinkLossPercent: Number("int"),
84
84
  * // },
85
+ * // deviceProxy: { // DeviceProxy
86
+ * // host: "STRING_VALUE", // required
87
+ * // port: Number("int"), // required
88
+ * // },
85
89
  * // parsingResultUrl: "STRING_VALUE",
86
90
  * // resultCode: "PARSING_FAILED" || "VPC_ENDPOINT_SETUP_FAILED",
87
91
  * // seed: Number("int"),
@@ -126,6 +126,10 @@ declare const ListRemoteAccessSessionsCommand_base: {
126
126
  * // ],
127
127
  * // vpcId: "STRING_VALUE", // required
128
128
  * // },
129
+ * // deviceProxy: { // DeviceProxy
130
+ * // host: "STRING_VALUE", // required
131
+ * // port: Number("int"), // required
132
+ * // },
129
133
  * // },
130
134
  * // ],
131
135
  * // nextToken: "STRING_VALUE",
@@ -84,6 +84,10 @@ declare const ListRunsCommand_base: {
84
84
  * // uplinkLossPercent: Number("int"),
85
85
  * // downlinkLossPercent: Number("int"),
86
86
  * // },
87
+ * // deviceProxy: { // DeviceProxy
88
+ * // host: "STRING_VALUE", // required
89
+ * // port: Number("int"), // required
90
+ * // },
87
91
  * // parsingResultUrl: "STRING_VALUE",
88
92
  * // resultCode: "PARSING_FAILED" || "VPC_ENDPOINT_SETUP_FAILED",
89
93
  * // seed: Number("int"),
@@ -71,6 +71,10 @@ declare const ScheduleRunCommand_base: {
71
71
  * vpceConfigurationArns: [ // AmazonResourceNames
72
72
  * "STRING_VALUE",
73
73
  * ],
74
+ * deviceProxy: { // DeviceProxy
75
+ * host: "STRING_VALUE", // required
76
+ * port: Number("int"), // required
77
+ * },
74
78
  * customerArtifactPaths: { // CustomerArtifactPaths
75
79
  * iosPaths: [ // IosPaths
76
80
  * "STRING_VALUE",
@@ -146,6 +150,10 @@ declare const ScheduleRunCommand_base: {
146
150
  * // uplinkLossPercent: Number("int"),
147
151
  * // downlinkLossPercent: Number("int"),
148
152
  * // },
153
+ * // deviceProxy: { // DeviceProxy
154
+ * // host: "STRING_VALUE", // required
155
+ * // port: Number("int"), // required
156
+ * // },
149
157
  * // parsingResultUrl: "STRING_VALUE",
150
158
  * // resultCode: "PARSING_FAILED" || "VPC_ENDPOINT_SETUP_FAILED",
151
159
  * // seed: Number("int"),
@@ -124,6 +124,10 @@ declare const StopRemoteAccessSessionCommand_base: {
124
124
  * // ],
125
125
  * // vpcId: "STRING_VALUE", // required
126
126
  * // },
127
+ * // deviceProxy: { // DeviceProxy
128
+ * // host: "STRING_VALUE", // required
129
+ * // port: Number("int"), // required
130
+ * // },
127
131
  * // },
128
132
  * // };
129
133
  *
@@ -85,6 +85,10 @@ declare const StopRunCommand_base: {
85
85
  * // uplinkLossPercent: Number("int"),
86
86
  * // downlinkLossPercent: Number("int"),
87
87
  * // },
88
+ * // deviceProxy: { // DeviceProxy
89
+ * // host: "STRING_VALUE", // required
90
+ * // port: Number("int"), // required
91
+ * // },
88
92
  * // parsingResultUrl: "STRING_VALUE",
89
93
  * // resultCode: "PARSING_FAILED" || "VPC_ENDPOINT_SETUP_FAILED",
90
94
  * // seed: Number("int"),
@@ -998,6 +998,22 @@ export declare class TagOperationException extends __BaseException {
998
998
  */
999
999
  constructor(opts: __ExceptionOptionType<TagOperationException, __BaseException>);
1000
1000
  }
1001
+ /**
1002
+ * <p>Represents the http/s proxy configuration that will be applied to a device during a run.</p>
1003
+ * @public
1004
+ */
1005
+ export interface DeviceProxy {
1006
+ /**
1007
+ * <p>Hostname or IPv4 address of the proxy.</p>
1008
+ * @public
1009
+ */
1010
+ host: string | undefined;
1011
+ /**
1012
+ * <p>The port number on which the http/s proxy is listening.</p>
1013
+ * @public
1014
+ */
1015
+ port: number | undefined;
1016
+ }
1001
1017
  /**
1002
1018
  * <p>Configuration settings for a remote access session, including billing
1003
1019
  * method.</p>
@@ -1014,6 +1030,11 @@ export interface CreateRemoteAccessSessionConfiguration {
1014
1030
  * @public
1015
1031
  */
1016
1032
  vpceConfigurationArns?: string[] | undefined;
1033
+ /**
1034
+ * <p>The device proxy to be configured on the device for the remote access session.</p>
1035
+ * @public
1036
+ */
1037
+ deviceProxy?: DeviceProxy | undefined;
1017
1038
  }
1018
1039
  /**
1019
1040
  * @public
@@ -1617,6 +1638,11 @@ export interface RemoteAccessSession {
1617
1638
  * @public
1618
1639
  */
1619
1640
  vpcConfig?: VpcConfig | undefined;
1641
+ /**
1642
+ * <p>The device proxy configured for the remote access session.</p>
1643
+ * @public
1644
+ */
1645
+ deviceProxy?: DeviceProxy | undefined;
1620
1646
  }
1621
1647
  /**
1622
1648
  * <p>Represents the server response from a request to create a remote access
@@ -2562,6 +2588,11 @@ export interface ScheduleRunConfiguration {
2562
2588
  * @public
2563
2589
  */
2564
2590
  vpceConfigurationArns?: string[] | undefined;
2591
+ /**
2592
+ * <p>The device proxy to be configured on the device for the run.</p>
2593
+ * @public
2594
+ */
2595
+ deviceProxy?: DeviceProxy | undefined;
2565
2596
  /**
2566
2597
  * <p>Input <code>CustomerArtifactPaths</code> object for the scheduled run
2567
2598
  * configuration.</p>
@@ -3809,6 +3840,11 @@ export interface Run {
3809
3840
  * @public
3810
3841
  */
3811
3842
  networkProfile?: NetworkProfile | undefined;
3843
+ /**
3844
+ * <p>The device proxy configured for the devices in the run.</p>
3845
+ * @public
3846
+ */
3847
+ deviceProxy?: DeviceProxy | undefined;
3812
3848
  /**
3813
3849
  * <p>Read-only URL for an object in an S3 bucket where you can get the parsing results of the test package.
3814
3850
  * If the test package doesn't parse, the reason why it doesn't parse appears in the file that this URL points
@@ -257,9 +257,14 @@ export declare class TagOperationException extends __BaseException {
257
257
  opts: __ExceptionOptionType<TagOperationException, __BaseException>
258
258
  );
259
259
  }
260
+ export interface DeviceProxy {
261
+ host: string | undefined;
262
+ port: number | undefined;
263
+ }
260
264
  export interface CreateRemoteAccessSessionConfiguration {
261
265
  billingMethod?: BillingMethod | undefined;
262
266
  vpceConfigurationArns?: string[] | undefined;
267
+ deviceProxy?: DeviceProxy | undefined;
263
268
  }
264
269
  export declare const InteractionMode: {
265
270
  readonly INTERACTIVE: "INTERACTIVE";
@@ -391,6 +396,7 @@ export interface RemoteAccessSession {
391
396
  interactionMode?: InteractionMode | undefined;
392
397
  skipAppResign?: boolean | undefined;
393
398
  vpcConfig?: VpcConfig | undefined;
399
+ deviceProxy?: DeviceProxy | undefined;
394
400
  }
395
401
  export interface CreateRemoteAccessSessionResult {
396
402
  remoteAccessSession?: RemoteAccessSession | undefined;
@@ -605,6 +611,7 @@ export interface ScheduleRunConfiguration {
605
611
  locale?: string | undefined;
606
612
  location?: Location | undefined;
607
613
  vpceConfigurationArns?: string[] | undefined;
614
+ deviceProxy?: DeviceProxy | undefined;
608
615
  customerArtifactPaths?: CustomerArtifactPaths | undefined;
609
616
  radios?: Radios | undefined;
610
617
  auxiliaryApps?: string[] | undefined;
@@ -805,6 +812,7 @@ export interface Run {
805
812
  billingMethod?: BillingMethod | undefined;
806
813
  deviceMinutes?: DeviceMinutes | undefined;
807
814
  networkProfile?: NetworkProfile | undefined;
815
+ deviceProxy?: DeviceProxy | undefined;
808
816
  parsingResultUrl?: string | undefined;
809
817
  resultCode?: ExecutionResultCode | undefined;
810
818
  seed?: number | undefined;
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.750.0",
4
+ "version": "3.756.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-device-farm",