@aws-sdk/client-device-farm 3.913.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.
@@ -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": "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" }];
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": "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" }];
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
  *
@@ -130,6 +130,7 @@ declare const GetRemoteAccessSessionCommand_base: {
130
130
  * // host: "STRING_VALUE", // required
131
131
  * // port: Number("int"), // required
132
132
  * // },
133
+ * // appUpload: "STRING_VALUE",
133
134
  * // },
134
135
  * // };
135
136
  *
@@ -132,6 +132,7 @@ declare const ListRemoteAccessSessionsCommand_base: {
132
132
  * // host: "STRING_VALUE", // required
133
133
  * // port: Number("int"), // required
134
134
  * // },
135
+ * // appUpload: "STRING_VALUE",
135
136
  * // },
136
137
  * // ],
137
138
  * // nextToken: "STRING_VALUE",
@@ -130,6 +130,7 @@ declare const StopRemoteAccessSessionCommand_base: {
130
130
  * // host: "STRING_VALUE", // required
131
131
  * // port: Number("int"), // required
132
132
  * // },
133
+ * // appUpload: "STRING_VALUE",
133
134
  * // },
134
135
  * // };
135
136
  *
@@ -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.913.0",
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",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.911.0",
24
- "@aws-sdk/credential-provider-node": "3.913.0",
25
- "@aws-sdk/middleware-host-header": "3.910.0",
26
- "@aws-sdk/middleware-logger": "3.910.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.910.0",
28
- "@aws-sdk/middleware-user-agent": "3.911.0",
29
- "@aws-sdk/region-config-resolver": "3.910.0",
30
- "@aws-sdk/types": "3.910.0",
31
- "@aws-sdk/util-endpoints": "3.910.0",
32
- "@aws-sdk/util-user-agent-browser": "3.910.0",
33
- "@aws-sdk/util-user-agent-node": "3.911.0",
34
- "@smithy/config-resolver": "^4.3.2",
35
- "@smithy/core": "^3.16.1",
36
- "@smithy/fetch-http-handler": "^5.3.3",
37
- "@smithy/hash-node": "^4.2.2",
38
- "@smithy/invalid-dependency": "^4.2.2",
39
- "@smithy/middleware-content-length": "^4.2.2",
40
- "@smithy/middleware-endpoint": "^4.3.3",
41
- "@smithy/middleware-retry": "^4.4.3",
42
- "@smithy/middleware-serde": "^4.2.2",
43
- "@smithy/middleware-stack": "^4.2.2",
44
- "@smithy/node-config-provider": "^4.3.2",
45
- "@smithy/node-http-handler": "^4.4.1",
46
- "@smithy/protocol-http": "^5.3.2",
47
- "@smithy/smithy-client": "^4.8.1",
48
- "@smithy/types": "^4.7.1",
49
- "@smithy/url-parser": "^4.2.2",
23
+ "@aws-sdk/core": "3.914.0",
24
+ "@aws-sdk/credential-provider-node": "3.914.0",
25
+ "@aws-sdk/middleware-host-header": "3.914.0",
26
+ "@aws-sdk/middleware-logger": "3.914.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.914.0",
28
+ "@aws-sdk/middleware-user-agent": "3.914.0",
29
+ "@aws-sdk/region-config-resolver": "3.914.0",
30
+ "@aws-sdk/types": "3.914.0",
31
+ "@aws-sdk/util-endpoints": "3.914.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.914.0",
33
+ "@aws-sdk/util-user-agent-node": "3.914.0",
34
+ "@smithy/config-resolver": "^4.4.0",
35
+ "@smithy/core": "^3.17.0",
36
+ "@smithy/fetch-http-handler": "^5.3.4",
37
+ "@smithy/hash-node": "^4.2.3",
38
+ "@smithy/invalid-dependency": "^4.2.3",
39
+ "@smithy/middleware-content-length": "^4.2.3",
40
+ "@smithy/middleware-endpoint": "^4.3.4",
41
+ "@smithy/middleware-retry": "^4.4.4",
42
+ "@smithy/middleware-serde": "^4.2.3",
43
+ "@smithy/middleware-stack": "^4.2.3",
44
+ "@smithy/node-config-provider": "^4.3.3",
45
+ "@smithy/node-http-handler": "^4.4.2",
46
+ "@smithy/protocol-http": "^5.3.3",
47
+ "@smithy/smithy-client": "^4.9.0",
48
+ "@smithy/types": "^4.8.0",
49
+ "@smithy/url-parser": "^4.2.3",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.2",
54
- "@smithy/util-defaults-mode-node": "^4.2.3",
55
- "@smithy/util-endpoints": "^3.2.2",
56
- "@smithy/util-middleware": "^4.2.2",
57
- "@smithy/util-retry": "^4.2.2",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.3",
54
+ "@smithy/util-defaults-mode-node": "^4.2.5",
55
+ "@smithy/util-endpoints": "^3.2.3",
56
+ "@smithy/util-middleware": "^4.2.3",
57
+ "@smithy/util-retry": "^4.2.3",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },