@aws-sdk/client-device-farm 3.927.0 → 3.929.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 +2140 -3002
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/DeviceFarmClient.js +2 -0
- package/dist-es/commands/CreateDevicePoolCommand.js +3 -9
- package/dist-es/commands/CreateInstanceProfileCommand.js +3 -9
- package/dist-es/commands/CreateNetworkProfileCommand.js +3 -9
- package/dist-es/commands/CreateProjectCommand.js +3 -9
- package/dist-es/commands/CreateRemoteAccessSessionCommand.js +3 -9
- package/dist-es/commands/CreateTestGridProjectCommand.js +3 -9
- package/dist-es/commands/CreateTestGridUrlCommand.js +3 -10
- package/dist-es/commands/CreateUploadCommand.js +3 -10
- package/dist-es/commands/CreateVPCEConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteDevicePoolCommand.js +3 -9
- package/dist-es/commands/DeleteInstanceProfileCommand.js +3 -9
- package/dist-es/commands/DeleteNetworkProfileCommand.js +3 -9
- package/dist-es/commands/DeleteProjectCommand.js +3 -9
- package/dist-es/commands/DeleteRemoteAccessSessionCommand.js +3 -9
- package/dist-es/commands/DeleteRunCommand.js +3 -9
- package/dist-es/commands/DeleteTestGridProjectCommand.js +3 -9
- package/dist-es/commands/DeleteUploadCommand.js +3 -9
- package/dist-es/commands/DeleteVPCEConfigurationCommand.js +3 -9
- package/dist-es/commands/GetAccountSettingsCommand.js +3 -9
- package/dist-es/commands/GetDeviceCommand.js +3 -9
- package/dist-es/commands/GetDeviceInstanceCommand.js +3 -9
- package/dist-es/commands/GetDevicePoolCommand.js +3 -9
- package/dist-es/commands/GetDevicePoolCompatibilityCommand.js +3 -9
- package/dist-es/commands/GetInstanceProfileCommand.js +3 -9
- package/dist-es/commands/GetJobCommand.js +3 -9
- package/dist-es/commands/GetNetworkProfileCommand.js +3 -9
- package/dist-es/commands/GetOfferingStatusCommand.js +3 -9
- package/dist-es/commands/GetProjectCommand.js +3 -9
- package/dist-es/commands/GetRemoteAccessSessionCommand.js +3 -9
- package/dist-es/commands/GetRunCommand.js +3 -9
- package/dist-es/commands/GetSuiteCommand.js +3 -9
- package/dist-es/commands/GetTestCommand.js +3 -9
- package/dist-es/commands/GetTestGridProjectCommand.js +3 -9
- package/dist-es/commands/GetTestGridSessionCommand.js +3 -9
- package/dist-es/commands/GetUploadCommand.js +3 -10
- package/dist-es/commands/GetVPCEConfigurationCommand.js +3 -9
- package/dist-es/commands/InstallToRemoteAccessSessionCommand.js +3 -10
- package/dist-es/commands/ListArtifactsCommand.js +3 -9
- package/dist-es/commands/ListDeviceInstancesCommand.js +3 -9
- package/dist-es/commands/ListDevicePoolsCommand.js +3 -9
- package/dist-es/commands/ListDevicesCommand.js +3 -9
- package/dist-es/commands/ListInstanceProfilesCommand.js +3 -9
- package/dist-es/commands/ListJobsCommand.js +3 -9
- package/dist-es/commands/ListNetworkProfilesCommand.js +3 -9
- package/dist-es/commands/ListOfferingPromotionsCommand.js +3 -9
- package/dist-es/commands/ListOfferingTransactionsCommand.js +3 -9
- package/dist-es/commands/ListOfferingsCommand.js +3 -9
- package/dist-es/commands/ListProjectsCommand.js +3 -9
- package/dist-es/commands/ListRemoteAccessSessionsCommand.js +3 -9
- package/dist-es/commands/ListRunsCommand.js +3 -9
- package/dist-es/commands/ListSamplesCommand.js +3 -9
- package/dist-es/commands/ListSuitesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTestGridProjectsCommand.js +3 -9
- package/dist-es/commands/ListTestGridSessionActionsCommand.js +3 -9
- package/dist-es/commands/ListTestGridSessionArtifactsCommand.js +3 -10
- package/dist-es/commands/ListTestGridSessionsCommand.js +3 -9
- package/dist-es/commands/ListTestsCommand.js +3 -9
- package/dist-es/commands/ListUniqueProblemsCommand.js +3 -9
- package/dist-es/commands/ListUploadsCommand.js +3 -10
- package/dist-es/commands/ListVPCEConfigurationsCommand.js +3 -9
- package/dist-es/commands/PurchaseOfferingCommand.js +3 -9
- package/dist-es/commands/RenewOfferingCommand.js +3 -9
- package/dist-es/commands/ScheduleRunCommand.js +3 -9
- package/dist-es/commands/StopJobCommand.js +3 -9
- package/dist-es/commands/StopRemoteAccessSessionCommand.js +3 -9
- package/dist-es/commands/StopRunCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateDeviceInstanceCommand.js +3 -9
- package/dist-es/commands/UpdateDevicePoolCommand.js +3 -9
- package/dist-es/commands/UpdateInstanceProfileCommand.js +3 -9
- package/dist-es/commands/UpdateNetworkProfileCommand.js +3 -9
- package/dist-es/commands/UpdateProjectCommand.js +3 -9
- package/dist-es/commands/UpdateTestGridProjectCommand.js +3 -9
- package/dist-es/commands/UpdateUploadCommand.js +3 -10
- package/dist-es/commands/UpdateVPCEConfigurationCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -37
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +1965 -0
- package/dist-types/DeviceFarmClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -36
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +347 -0
- package/dist-types/ts3.4/DeviceFarmClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -25
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +354 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -2386
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -695
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -929
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DeviceFarm_20150623", "UntagResource", {})
|
|
17
13
|
.n("DeviceFarmClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDeviceInstance } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDeviceInstanceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DeviceFarm_20150623", "UpdateDeviceInstance", {})
|
|
17
13
|
.n("DeviceFarmClient", "UpdateDeviceInstanceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDeviceInstanceCommand)
|
|
20
|
-
.de(de_UpdateDeviceInstanceCommand)
|
|
14
|
+
.sc(UpdateDeviceInstance)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDevicePool } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDevicePoolCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DeviceFarm_20150623", "UpdateDevicePool", {})
|
|
17
13
|
.n("DeviceFarmClient", "UpdateDevicePoolCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDevicePoolCommand)
|
|
20
|
-
.de(de_UpdateDevicePoolCommand)
|
|
14
|
+
.sc(UpdateDevicePool)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateInstanceProfile } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateInstanceProfileCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DeviceFarm_20150623", "UpdateInstanceProfile", {})
|
|
17
13
|
.n("DeviceFarmClient", "UpdateInstanceProfileCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateInstanceProfileCommand)
|
|
20
|
-
.de(de_UpdateInstanceProfileCommand)
|
|
14
|
+
.sc(UpdateInstanceProfile)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateNetworkProfile } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateNetworkProfileCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DeviceFarm_20150623", "UpdateNetworkProfile", {})
|
|
17
13
|
.n("DeviceFarmClient", "UpdateNetworkProfileCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateNetworkProfileCommand)
|
|
20
|
-
.de(de_UpdateNetworkProfileCommand)
|
|
14
|
+
.sc(UpdateNetworkProfile)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateProject } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateProjectCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DeviceFarm_20150623", "UpdateProject", {})
|
|
17
13
|
.n("DeviceFarmClient", "UpdateProjectCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateProjectCommand)
|
|
20
|
-
.de(de_UpdateProjectCommand)
|
|
14
|
+
.sc(UpdateProject)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateTestGridProject } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateTestGridProjectCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DeviceFarm_20150623", "UpdateTestGridProject", {})
|
|
17
13
|
.n("DeviceFarmClient", "UpdateTestGridProjectCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateTestGridProjectCommand)
|
|
20
|
-
.de(de_UpdateTestGridProjectCommand)
|
|
14
|
+
.sc(UpdateTestGridProject)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateUploadCommand, se_UpdateUploadCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { UpdateUpload } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateUploadCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("DeviceFarm_20150623", "UpdateUpload", {})
|
|
18
13
|
.n("DeviceFarmClient", "UpdateUploadCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateUploadCommand)
|
|
21
|
-
.de(de_UpdateUploadCommand)
|
|
14
|
+
.sc(UpdateUpload)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateVPCEConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateVPCEConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DeviceFarm_20150623", "UpdateVPCEConfiguration", {})
|
|
17
13
|
.n("DeviceFarmClient", "UpdateVPCEConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateVPCEConfigurationCommand)
|
|
20
|
-
.de(de_UpdateVPCEConfigurationCommand)
|
|
14
|
+
.sc(UpdateVPCEConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { DeviceFarmServiceException as __BaseException } from "./DeviceFarmServiceException";
|
|
3
2
|
export const DevicePlatform = {
|
|
4
3
|
ANDROID: "ANDROID",
|
|
@@ -392,39 +391,3 @@ export class TooManyTagsException extends __BaseException {
|
|
|
392
391
|
this.resourceName = opts.resourceName;
|
|
393
392
|
}
|
|
394
393
|
}
|
|
395
|
-
export const CreateTestGridUrlResultFilterSensitiveLog = (obj) => ({
|
|
396
|
-
...obj,
|
|
397
|
-
...(obj.url && { url: SENSITIVE_STRING }),
|
|
398
|
-
});
|
|
399
|
-
export const UploadFilterSensitiveLog = (obj) => ({
|
|
400
|
-
...obj,
|
|
401
|
-
...(obj.url && { url: SENSITIVE_STRING }),
|
|
402
|
-
});
|
|
403
|
-
export const CreateUploadResultFilterSensitiveLog = (obj) => ({
|
|
404
|
-
...obj,
|
|
405
|
-
...(obj.upload && { upload: UploadFilterSensitiveLog(obj.upload) }),
|
|
406
|
-
});
|
|
407
|
-
export const GetUploadResultFilterSensitiveLog = (obj) => ({
|
|
408
|
-
...obj,
|
|
409
|
-
...(obj.upload && { upload: UploadFilterSensitiveLog(obj.upload) }),
|
|
410
|
-
});
|
|
411
|
-
export const InstallToRemoteAccessSessionResultFilterSensitiveLog = (obj) => ({
|
|
412
|
-
...obj,
|
|
413
|
-
...(obj.appUpload && { appUpload: UploadFilterSensitiveLog(obj.appUpload) }),
|
|
414
|
-
});
|
|
415
|
-
export const TestGridSessionArtifactFilterSensitiveLog = (obj) => ({
|
|
416
|
-
...obj,
|
|
417
|
-
...(obj.url && { url: SENSITIVE_STRING }),
|
|
418
|
-
});
|
|
419
|
-
export const ListTestGridSessionArtifactsResultFilterSensitiveLog = (obj) => ({
|
|
420
|
-
...obj,
|
|
421
|
-
...(obj.artifacts && { artifacts: obj.artifacts.map((item) => TestGridSessionArtifactFilterSensitiveLog(item)) }),
|
|
422
|
-
});
|
|
423
|
-
export const ListUploadsResultFilterSensitiveLog = (obj) => ({
|
|
424
|
-
...obj,
|
|
425
|
-
...(obj.uploads && { uploads: obj.uploads.map((item) => UploadFilterSensitiveLog(item)) }),
|
|
426
|
-
});
|
|
427
|
-
export const UpdateUploadResultFilterSensitiveLog = (obj) => ({
|
|
428
|
-
...obj,
|
|
429
|
-
...(obj.upload && { upload: UploadFilterSensitiveLog(obj.upload) }),
|
|
430
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.devicefarm",
|
|
29
|
+
serviceTarget: "DeviceFarm_20150623",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "Device Farm",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|