@aws-sdk/client-device-farm 3.914.0 → 3.915.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/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/protocols/Aws_json1_1.js +1 -0
- package/dist-types/commands/CreateRemoteAccessSessionCommand.d.ts +5 -0
- package/dist-types/commands/GetRemoteAccessSessionCommand.d.ts +1 -0
- package/dist-types/commands/ListRemoteAccessSessionsCommand.d.ts +1 -0
- package/dist-types/commands/StopRemoteAccessSessionCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +15 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +1 -1
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
6
6
|
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://devicefarm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://devicefarm-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://devicefarm.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://devicefarm.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|
package/dist-cjs/index.js
CHANGED
|
@@ -2627,6 +2627,7 @@ const de_RecurringCharges = (output, context) => {
|
|
|
2627
2627
|
};
|
|
2628
2628
|
const de_RemoteAccessSession = (output, context) => {
|
|
2629
2629
|
return smithyClient.take(output, {
|
|
2630
|
+
appUpload: smithyClient.expectString,
|
|
2630
2631
|
arn: smithyClient.expectString,
|
|
2631
2632
|
billingMethod: smithyClient.expectString,
|
|
2632
2633
|
clientId: smithyClient.expectString,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
3
|
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://devicefarm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://devicefarm-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://devicefarm.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://devicefarm.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -2084,6 +2084,7 @@ const de_RecurringCharges = (output, context) => {
|
|
|
2084
2084
|
};
|
|
2085
2085
|
const de_RemoteAccessSession = (output, context) => {
|
|
2086
2086
|
return take(output, {
|
|
2087
|
+
appUpload: __expectString,
|
|
2087
2088
|
arn: __expectString,
|
|
2088
2089
|
billingMethod: __expectString,
|
|
2089
2090
|
clientId: __expectString,
|
|
@@ -39,6 +39,7 @@ declare const CreateRemoteAccessSessionCommand_base: {
|
|
|
39
39
|
* const input = { // CreateRemoteAccessSessionRequest
|
|
40
40
|
* projectArn: "STRING_VALUE", // required
|
|
41
41
|
* deviceArn: "STRING_VALUE", // required
|
|
42
|
+
* appArn: "STRING_VALUE",
|
|
42
43
|
* instanceArn: "STRING_VALUE",
|
|
43
44
|
* sshPublicKey: "STRING_VALUE",
|
|
44
45
|
* remoteDebugEnabled: true || false,
|
|
@@ -47,6 +48,9 @@ declare const CreateRemoteAccessSessionCommand_base: {
|
|
|
47
48
|
* name: "STRING_VALUE",
|
|
48
49
|
* clientId: "STRING_VALUE",
|
|
49
50
|
* configuration: { // CreateRemoteAccessSessionConfiguration
|
|
51
|
+
* auxiliaryApps: [ // AuxiliaryAppArnList
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
50
54
|
* billingMethod: "METERED" || "UNMETERED",
|
|
51
55
|
* vpceConfigurationArns: [ // AmazonResourceNames
|
|
52
56
|
* "STRING_VALUE",
|
|
@@ -150,6 +154,7 @@ declare const CreateRemoteAccessSessionCommand_base: {
|
|
|
150
154
|
* // host: "STRING_VALUE", // required
|
|
151
155
|
* // port: Number("int"), // required
|
|
152
156
|
* // },
|
|
157
|
+
* // appUpload: "STRING_VALUE",
|
|
153
158
|
* // },
|
|
154
159
|
* // };
|
|
155
160
|
*
|
|
@@ -1020,6 +1020,11 @@ export interface DeviceProxy {
|
|
|
1020
1020
|
* @public
|
|
1021
1021
|
*/
|
|
1022
1022
|
export interface CreateRemoteAccessSessionConfiguration {
|
|
1023
|
+
/**
|
|
1024
|
+
* <p>A list of upload ARNs for app packages to be installed onto your device. (Maximum 3)</p>
|
|
1025
|
+
* @public
|
|
1026
|
+
*/
|
|
1027
|
+
auxiliaryApps?: string[] | undefined;
|
|
1023
1028
|
/**
|
|
1024
1029
|
* <p>The billing method for the remote access session.</p>
|
|
1025
1030
|
* @public
|
|
@@ -1065,6 +1070,11 @@ export interface CreateRemoteAccessSessionRequest {
|
|
|
1065
1070
|
* @public
|
|
1066
1071
|
*/
|
|
1067
1072
|
deviceArn: string | undefined;
|
|
1073
|
+
/**
|
|
1074
|
+
* <p>The Amazon Resource Name (ARN) of the app to create the remote access session.</p>
|
|
1075
|
+
* @public
|
|
1076
|
+
*/
|
|
1077
|
+
appArn?: string | undefined;
|
|
1068
1078
|
/**
|
|
1069
1079
|
* <p>The Amazon Resource Name (ARN) of the device instance for which you want to create a
|
|
1070
1080
|
* remote access session.</p>
|
|
@@ -1643,6 +1653,11 @@ export interface RemoteAccessSession {
|
|
|
1643
1653
|
* @public
|
|
1644
1654
|
*/
|
|
1645
1655
|
deviceProxy?: DeviceProxy | undefined;
|
|
1656
|
+
/**
|
|
1657
|
+
* <p>The ARN for the app to be installed onto your device.</p>
|
|
1658
|
+
* @public
|
|
1659
|
+
*/
|
|
1660
|
+
appUpload?: string | undefined;
|
|
1646
1661
|
}
|
|
1647
1662
|
/**
|
|
1648
1663
|
* <p>Represents the server response from a request to create a remote access
|
|
@@ -262,6 +262,7 @@ export interface DeviceProxy {
|
|
|
262
262
|
port: number | undefined;
|
|
263
263
|
}
|
|
264
264
|
export interface CreateRemoteAccessSessionConfiguration {
|
|
265
|
+
auxiliaryApps?: string[] | undefined;
|
|
265
266
|
billingMethod?: BillingMethod | undefined;
|
|
266
267
|
vpceConfigurationArns?: string[] | undefined;
|
|
267
268
|
deviceProxy?: DeviceProxy | undefined;
|
|
@@ -276,6 +277,7 @@ export type InteractionMode =
|
|
|
276
277
|
export interface CreateRemoteAccessSessionRequest {
|
|
277
278
|
projectArn: string | undefined;
|
|
278
279
|
deviceArn: string | undefined;
|
|
280
|
+
appArn?: string | undefined;
|
|
279
281
|
instanceArn?: string | undefined;
|
|
280
282
|
sshPublicKey?: string | undefined;
|
|
281
283
|
remoteDebugEnabled?: boolean | undefined;
|
|
@@ -397,6 +399,7 @@ export interface RemoteAccessSession {
|
|
|
397
399
|
skipAppResign?: boolean | undefined;
|
|
398
400
|
vpcConfig?: VpcConfig | undefined;
|
|
399
401
|
deviceProxy?: DeviceProxy | undefined;
|
|
402
|
+
appUpload?: string | undefined;
|
|
400
403
|
}
|
|
401
404
|
export interface CreateRemoteAccessSessionResult {
|
|
402
405
|
remoteAccessSession?: RemoteAccessSession | 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.
|
|
4
|
+
"version": "3.915.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",
|