@aws-sdk/client-device-farm 3.287.0 → 3.289.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-types/commands/CreateDevicePoolCommand.d.ts +19 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +20 -0
- package/dist-types/commands/CreateRemoteAccessSessionCommand.d.ts +21 -0
- package/dist-types/commands/CreateUploadCommand.d.ts +25 -0
- package/dist-types/commands/DeleteDevicePoolCommand.d.ts +11 -0
- package/dist-types/commands/DeleteProjectCommand.d.ts +11 -0
- package/dist-types/commands/DeleteRemoteAccessSessionCommand.d.ts +11 -0
- package/dist-types/commands/DeleteRunCommand.d.ts +11 -0
- package/dist-types/commands/DeleteUploadCommand.d.ts +11 -0
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +20 -0
- package/dist-types/commands/GetDeviceCommand.d.ts +36 -0
- package/dist-types/commands/GetDevicePoolCommand.d.ts +16 -0
- package/dist-types/commands/GetDevicePoolCompatibilityCommand.d.ts +19 -0
- package/dist-types/commands/GetJobCommand.d.ts +16 -0
- package/dist-types/commands/GetOfferingStatusCommand.d.ts +38 -0
- package/dist-types/commands/GetProjectCommand.d.ts +20 -0
- package/dist-types/commands/GetRemoteAccessSessionCommand.d.ts +16 -0
- package/dist-types/commands/GetRunCommand.d.ts +41 -0
- package/dist-types/commands/GetSuiteCommand.d.ts +16 -0
- package/dist-types/commands/GetTestCommand.d.ts +16 -0
- package/dist-types/commands/GetUploadCommand.d.ts +16 -0
- package/dist-types/commands/InstallToRemoteAccessSessionCommand.d.ts +17 -0
- package/dist-types/commands/ListArtifactsCommand.d.ts +12 -0
- package/dist-types/commands/ListDevicePoolsCommand.d.ts +42 -0
- package/dist-types/commands/ListDevicesCommand.d.ts +11 -0
- package/dist-types/commands/ListJobsCommand.d.ts +11 -0
- package/dist-types/commands/ListOfferingTransactionsCommand.d.ts +93 -0
- package/dist-types/commands/ListOfferingsCommand.d.ts +77 -0
- package/dist-types/commands/ListProjectsCommand.d.ts +28 -0
- package/dist-types/commands/ListRemoteAccessSessionsCommand.d.ts +17 -0
- package/dist-types/commands/ListRunsCommand.d.ts +44 -0
- package/dist-types/commands/ListSamplesCommand.d.ts +17 -0
- package/dist-types/commands/ListSuitesCommand.d.ts +17 -0
- package/dist-types/commands/ListTestsCommand.d.ts +17 -0
- package/dist-types/commands/ListUniqueProblemsCommand.d.ts +17 -0
- package/dist-types/commands/ListUploadsCommand.d.ts +17 -0
- package/dist-types/commands/PurchaseOfferingCommand.d.ts +35 -0
- package/dist-types/commands/RenewOfferingCommand.d.ts +35 -0
- package/dist-types/commands/ScheduleRunCommand.d.ts +22 -0
- package/dist-types/commands/StopRunCommand.d.ts +16 -0
- package/dist-types/commands/UpdateDevicePoolCommand.d.ts +25 -0
- package/dist-types/commands/UpdateProjectCommand.d.ts +21 -0
- package/package.json +29 -29
|
@@ -31,6 +31,31 @@ export interface UpdateDevicePoolCommandOutput extends UpdateDevicePoolResult, _
|
|
|
31
31
|
* @see {@link UpdateDevicePoolCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @example To update a device pool
|
|
35
|
+
* ```javascript
|
|
36
|
+
* // The following example updates the specified device pool with a new name and description. It also enables remote access of devices in the device pool.
|
|
37
|
+
* const input = {
|
|
38
|
+
* "name": "NewName",
|
|
39
|
+
* "arn": "arn:aws:devicefarm:us-west-2::devicepool:082d10e5-d7d7-48a5-ba5c-12345EXAMPLE",
|
|
40
|
+
* "description": "NewDescription",
|
|
41
|
+
* "rules": [
|
|
42
|
+
* {
|
|
43
|
+
* "value": "True",
|
|
44
|
+
* "attribute": "REMOTE_ACCESS_ENABLED",
|
|
45
|
+
* "operator": "EQUALS"
|
|
46
|
+
* }
|
|
47
|
+
* ]
|
|
48
|
+
* };
|
|
49
|
+
* const command = new UpdateDevicePoolCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* /* response ==
|
|
52
|
+
* {
|
|
53
|
+
* "devicePool": {}
|
|
54
|
+
* }
|
|
55
|
+
* *\/
|
|
56
|
+
* // example id: to-update-a-device-pool-1472653887677
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
34
59
|
*/
|
|
35
60
|
export declare class UpdateDevicePoolCommand extends $Command<UpdateDevicePoolCommandInput, UpdateDevicePoolCommandOutput, DeviceFarmClientResolvedConfig> {
|
|
36
61
|
readonly input: UpdateDevicePoolCommandInput;
|
|
@@ -30,6 +30,27 @@ export interface UpdateProjectCommandOutput extends UpdateProjectResult, __Metad
|
|
|
30
30
|
* @see {@link UpdateProjectCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @example To update a device pool
|
|
34
|
+
* ```javascript
|
|
35
|
+
* // The following example updates the specified project with a new name.
|
|
36
|
+
* const input = {
|
|
37
|
+
* "name": "NewName",
|
|
38
|
+
* "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:8f75187d-101e-4625-accc-12345EXAMPLE"
|
|
39
|
+
* };
|
|
40
|
+
* const command = new UpdateProjectCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* /* response ==
|
|
43
|
+
* {
|
|
44
|
+
* "project": {
|
|
45
|
+
* "name": "NewName",
|
|
46
|
+
* "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:8f75187d-101e-4625-accc-12345EXAMPLE",
|
|
47
|
+
* "created": "1448400709.927"
|
|
48
|
+
* }
|
|
49
|
+
* }
|
|
50
|
+
* *\/
|
|
51
|
+
* // example id: to-update-a-device-pool-1472653887677
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
33
54
|
*/
|
|
34
55
|
export declare class UpdateProjectCommand extends $Command<UpdateProjectCommandInput, UpdateProjectCommandOutput, DeviceFarmClientResolvedConfig> {
|
|
35
56
|
readonly input: UpdateProjectCommandInput;
|
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.289.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",
|
|
@@ -20,37 +20,37 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.289.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.289.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.289.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.289.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.289.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.289.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.289.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.289.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.289.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.289.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.289.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.289.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.289.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.289.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.289.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.289.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.289.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.289.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.289.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.289.0",
|
|
43
|
+
"@aws-sdk/types": "3.289.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.289.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.289.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.289.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.289.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.289.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.289.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.289.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"tslib": "^2.3.1"
|
|
56
56
|
},
|